Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2016 17:56:26 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421854 - in head/www/dalbum: . files
Message-ID:  <201609111756.u8BHuQWp099459@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
-@dir %%DALBUM_DIR%%
+@dir(,,775) %%DALBUM_DIR%%
 @owner
 @group



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609111756.u8BHuQWp099459>