Date: Sun, 19 Oct 2014 16:02:26 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371196 - head/www/asterisk-stat Message-ID: <201410191602.s9JG2QrW020561@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sun Oct 19 16:02:25 2014 New Revision: 371196 URL: https://svnweb.freebsd.org/changeset/ports/371196 QAT: https://qat.redports.org/buildarchive/r371196/ Log: - Allow staging as a regular user - Bump portrevision as files were not packaged with intended owner Modified: head/www/asterisk-stat/Makefile head/www/asterisk-stat/pkg-plist Modified: head/www/asterisk-stat/Makefile ============================================================================== --- head/www/asterisk-stat/Makefile Sun Oct 19 15:59:37 2014 (r371195) +++ head/www/asterisk-stat/Makefile Sun Oct 19 16:02:25 2014 (r371196) @@ -3,7 +3,7 @@ PORTNAME= asterisk-stat PORTVERSION= 2.0.1 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= www MASTER_SITES= http://ftp.iij.ad.jp/pub/FreeBSD/distfiles/ DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g} @@ -38,7 +38,8 @@ USE_PHP+= ${ASTERISKSTATDB} EXTRA_PATCHES+= ${FILESDIR}/${ASTERISKSTATDB}__patch-cdr.php \ ${FILESDIR}/${ASTERISKSTATDB}__patch-defines.php PLIST_SUB+= ASTERISKDIR=${ASTERISKDIR:S,^${PREFIX}/,,} \ - ASTERISKSTATDB=${ASTERISKSTATDB} + ASTERISKSTATDB=${ASTERISKSTATDB} \ + WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" post-patch: @${MV} ${WRKSRC}/images/print.css ${WRKSRC}/css @@ -55,6 +56,5 @@ do-install: (cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${ASTERISKDIR}) ${MKDIR} ${STAGEDIR}${PREFIX}/etc/asterisk ${INSTALL_DATA} ${FILESDIR}/cdr_${ASTERISKSTATDB}.tbl ${STAGEDIR}${PREFIX}/etc/asterisk - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${ASTERISKDIR} .include <bsd.port.mk> Modified: head/www/asterisk-stat/pkg-plist ============================================================================== --- head/www/asterisk-stat/pkg-plist Sun Oct 19 15:59:37 2014 (r371195) +++ head/www/asterisk-stat/pkg-plist Sun Oct 19 16:02:25 2014 (r371196) @@ -1,4 +1,6 @@ etc/asterisk/cdr_%%ASTERISKSTATDB%%.tbl +@owner %%WWWOWN%% +@group %%WWWGRP%% %%ASTERISKDIR%%/CHANGELOG.txt %%ASTERISKDIR%%/call-comp.php %%ASTERISKDIR%%/call-daily-load.php @@ -121,13 +123,14 @@ etc/asterisk/cdr_%%ASTERISKSTATDB%%.tbl %%ASTERISKDIR%%/lib/fpdf.php %%ASTERISKDIR%%/lib/iam_csvdump.php %%ASTERISKDIR%%/wiki.html -@dirrmtry etc/asterisk -@dirrm %%ASTERISKDIR%%/lib/font/makefont -@dirrm %%ASTERISKDIR%%/lib/font -@dirrm %%ASTERISKDIR%%/lib/DB-modules -@dirrm %%ASTERISKDIR%%/lib -@dirrm %%ASTERISKDIR%%/jpgraph_lib -@dirrm %%ASTERISKDIR%%/images -@dirrm %%ASTERISKDIR%%/css/images -@dirrm %%ASTERISKDIR%%/css -@dirrm %%ASTERISKDIR%% +@dir %%ASTERISKDIR%%/lib/font/makefont +@dir %%ASTERISKDIR%%/lib/font +@dir %%ASTERISKDIR%%/lib/DB-modules +@dir %%ASTERISKDIR%%/lib +@dir %%ASTERISKDIR%%/jpgraph_lib +@dir %%ASTERISKDIR%%/images +@dir %%ASTERISKDIR%%/css/images +@dir %%ASTERISKDIR%%/css +@dir %%ASTERISKDIR%% +@owner +@group
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410191602.s9JG2QrW020561>