1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Allow staging as a regular user

- Bump portrevision as some files were not packaged with intended owner
This commit is contained in:
Antoine Brodin 2014-09-18 21:34:50 +00:00
parent 1c3c69804d
commit 5603913412
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368532
2 changed files with 6 additions and 3 deletions

View File

@ -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>

View File

@ -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/selectbox/jquery.selectbox-0.6.1.js
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