Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2014 21:34:50 +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: r368532 - head/net/abills
Message-ID:  <201409182134.s8ILYoZl079191@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Sep 18 21:34:50 2014
New Revision: 368532
URL: http://svnweb.freebsd.org/changeset/ports/368532
QAT: https://qat.redports.org/buildarchive/r368532/

Log:
  - Allow staging as a regular user
  - Bump portrevision as some files were not packaged with intended owner

Modified:
  head/net/abills/Makefile
  head/net/abills/pkg-plist

Modified: head/net/abills/Makefile
==============================================================================
--- head/net/abills/Makefile	Thu Sep 18 21:21:34 2014	(r368531)
+++ head/net/abills/Makefile	Thu Sep 18 21:34:50 2014	(r368532)
@@ -3,6 +3,7 @@
 
 PORTNAME=	abills
 PORTVERSION=	0.55
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF
 DIST_SUBDIR=	${PORTNAME}
@@ -24,6 +25,7 @@ NO_BUILD=	yes
 USES=		perl5 tar:tgz
 USE_PERL5=	run
 
+PLIST_SUB=	WWWOWN="${WWWOWN}"
 SUB_FILES=	pkg-message
 
 post-patch:
@@ -37,10 +39,7 @@ do-install:
 	@(${TAR} -C ${WRKSRC} --exclude "*.DS*" --exclude "*.bak" \
 		--exclude "*.orig" -cf - . | ${TAR} -C ${STAGEDIR}${PREFIX}/abills \
 		--unlink -xf -)
-	@${FIND} ${STAGEDIR}${PREFIX}/abills | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
-	@${FIND} ${STAGEDIR}${PREFIX}/abills/cgi-bin | ${XARGS} ${CHOWN} ${WWWOWN}
 	@${FIND} ${STAGEDIR}${PREFIX}/abills -type d | ${XARGS} ${CHMOD} a+rx
 	@${FIND} ${STAGEDIR}${PREFIX}/abills -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/net/abills/pkg-plist
==============================================================================
--- head/net/abills/pkg-plist	Thu Sep 18 21:21:34 2014	(r368531)
+++ head/net/abills/pkg-plist	Thu Sep 18 21:34:50 2014	(r368532)
@@ -726,6 +726,7 @@ abills/README
 abills/bin/abm_console
 abills/bin/ipn_stats.pl
 abills/bin/multi_docs.pl
+@owner %%WWWOWN%%
 abills/cgi-bin/admin/charts.swf
 abills/cgi-bin/admin/help.cgi
 abills/cgi-bin/admin/index.cgi
@@ -986,6 +987,7 @@ abills/cgi-bin/styles/default/js/selectb
 abills/cgi-bin/styles/default/js/selectbox/jquery.selectbox.css
 abills/cgi-bin/styles/default/styleIE.css
 abills/cgi-bin/styles/default/styleLib.css
+@owner root
 abills/db/Abon.sql
 abills/db/Ashield.sql
 abills/db/Bonus.sql
@@ -1209,6 +1211,7 @@ abills/update.sh
 @dirrm abills/docs/img
 @dirrm abills/docs
 @dirrm abills/db
+@owner %%WWWOWN%%
 @dirrm abills/cgi-bin/styles/default/js/selectbox
 @dirrm abills/cgi-bin/styles/default/js
 @dirrm abills/cgi-bin/styles/default/img
@@ -1235,6 +1238,7 @@ abills/update.sh
 @dirrm abills/cgi-bin/ajax
 @dirrm abills/cgi-bin/admin
 @dirrm abills/cgi-bin
+@owner root
 @dirrm abills/bin
 @dirrm abills/Abills/templates/fonts
 @dirrm abills/Abills/templates



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