svn commit: r421854 - in head/www/dalbum: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Sep 11 17:56:28 UTC 2016


Author: amdmi3
Date: Sun Sep 11 17:56:26 2016
New Revision: 421854
URL: https://svnweb.freebsd.org/changeset/ports/421854

Log:
  - Add LICENSE
  - Add missing USES=php
  - Move permission handling to plist
  - Regenerate patches

Modified:
  head/www/dalbum/Makefile
  head/www/dalbum/files/patch-config-config.php
  head/www/dalbum/pkg-plist

Modified: head/www/dalbum/Makefile
==============================================================================
--- head/www/dalbum/Makefile	Sun Sep 11 17:54:21 2016	(r421853)
+++ head/www/dalbum/Makefile	Sun Sep 11 17:56:26 2016	(r421854)
@@ -11,9 +11,12 @@ DISTNAME=	${PORTNAME}${PORTVERSION:S/./_
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Free, highly customizable PHP photo album
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/license.txt
+
 RUN_DEPENDS=	convert:graphics/ImageMagick
 
-USES=		cpe
+USES=		cpe php
 CPE_VERSION=	${PORTVERSION:C/^([0-9])([0-9][0-9]).*/\1.\2/}
 CPE_UPDATE=	${PORTVERSION:C/^.*\.//}
 USE_PHP=	session pcre
@@ -32,7 +35,7 @@ post-patch:
 	@${RM} ${WRKSRC}/config/config.php.*
 
 do-install:
-	@${MKDIR} -m 0775 ${STAGEDIR}${PREFIX}/${DALBUM_DIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${DALBUM_DIR}
 	@cd ${WRKSRC} && ${FIND} .htaccess .private config images include pictures *.css *.js *.php *.txt -print | \
 		${CPIO} --quiet -pdum \
 		${STAGEDIR}${PREFIX}/${DALBUM_DIR}

Modified: head/www/dalbum/files/patch-config-config.php
==============================================================================
--- head/www/dalbum/files/patch-config-config.php	Sun Sep 11 17:54:21 2016	(r421853)
+++ head/www/dalbum/files/patch-config-config.php	Sun Sep 11 17:56:26 2016	(r421854)
@@ -1,6 +1,6 @@
---- config/config.php.orig	Fri Oct 21 13:43:21 2005
-+++ config/config.php	Fri Oct 21 13:44:15 2005
-@@ -242,7 +242,7 @@
+--- config/config.php.orig	2005-09-20 21:40:56 UTC
++++ config/config.php
+@@ -242,7 +242,7 @@ $g_bGDVer2=(fixed_phpversion()>"4.3");
  $g_bGDSetMemoryLimit=true;
  
  // ImageMagick convert location and command lines (if $g_sResizeMethod="IM")

Modified: head/www/dalbum/pkg-plist
==============================================================================
--- head/www/dalbum/pkg-plist	Sun Sep 11 17:54:21 2016	(r421853)
+++ head/www/dalbum/pkg-plist	Sun Sep 11 17:56:26 2016	(r421854)
@@ -91,6 +91,6 @@
 @dir %%DALBUM_DIR%%/images
 @dir %%DALBUM_DIR%%/config
 @dir %%DALBUM_DIR%%/.private
- at dir %%DALBUM_DIR%%
+ at dir(,,775) %%DALBUM_DIR%%
 @owner
 @group


More information about the svn-ports-head mailing list