From owner-svn-ports-all@freebsd.org Sun Sep 11 17:56:27 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9B32BD76ED; Sun, 11 Sep 2016 17:56:27 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A0E528EF; Sun, 11 Sep 2016 17:56:27 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8BHuQwg099463; Sun, 11 Sep 2016 17:56:26 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8BHuQWp099459; Sun, 11 Sep 2016 17:56:26 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201609111756.u8BHuQWp099459@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 11 Sep 2016 17:56:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421854 - in head/www/dalbum: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 17:56:28 -0000 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