From owner-svn-ports-head@FreeBSD.ORG Sun Oct 19 16:02:26 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1BFD36B; Sun, 19 Oct 2014 16:02:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 84BD4687; Sun, 19 Oct 2014 16:02:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9JG2Qmt020563; Sun, 19 Oct 2014 16:02:26 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9JG2QrW020561; Sun, 19 Oct 2014 16:02:26 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201410191602.s9JG2QrW020561@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sun, 19 Oct 2014 16:02:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371196 - head/www/asterisk-stat X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2014 16:02:26 -0000 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 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