diff options
author | antoine <antoine@FreeBSD.org> | 2014-06-06 05:22:29 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-06-06 05:22:29 +0800 |
commit | a9ced92fa13302bfbdeea390b3d6febd1a2e36d8 (patch) | |
tree | 9206949f942f1751c450701b260d51b7b331fda7 /www | |
parent | c86917d593830f61fbd724cd28ce5df4473e90df (diff) | |
download | freebsd-ports-gnome-a9ced92fa13302bfbdeea390b3d6febd1a2e36d8.tar.gz freebsd-ports-gnome-a9ced92fa13302bfbdeea390b3d6febd1a2e36d8.tar.zst freebsd-ports-gnome-a9ced92fa13302bfbdeea390b3d6febd1a2e36d8.zip |
- Do not copy ports cookies etc. to stagedir
- Make packaging as a regular user work
Diffstat (limited to 'www')
-rw-r--r-- | www/dalbum/Makefile | 6 | ||||
-rw-r--r-- | www/dalbum/pkg-plist | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/www/dalbum/Makefile b/www/dalbum/Makefile index afaa761a10ac..3d6df3e791a2 100644 --- a/www/dalbum/Makefile +++ b/www/dalbum/Makefile @@ -19,7 +19,7 @@ NO_BUILD= yes DALBUM_DIR?= www/photo NO_WRKSUBDIR= yes -PLIST_SUB+= DALBUM_DIR=${DALBUM_DIR} +PLIST_SUB+= DALBUM_DIR=${DALBUM_DIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} SUB_LIST+= DALBUM_DIR=${DALBUM_DIR} SUB_FILES= pkg-message @@ -29,8 +29,8 @@ post-patch: do-install: @${MKDIR} -m 0775 ${STAGEDIR}${PREFIX}/${DALBUM_DIR} - @cd ${WRKSRC} && ${FIND} . -print | \ - ${CPIO} --quiet -pdum -R ${WWWOWN}:${WWWGRP} \ + @cd ${WRKSRC} && ${FIND} .htaccess .private config images include pictures *.css *.js *.php *.txt -print | \ + ${CPIO} --quiet -pdum \ ${STAGEDIR}${PREFIX}/${DALBUM_DIR} .include <bsd.port.mk> diff --git a/www/dalbum/pkg-plist b/www/dalbum/pkg-plist index d4b433b99246..273d969b1bc7 100644 --- a/www/dalbum/pkg-plist +++ b/www/dalbum/pkg-plist @@ -1,3 +1,5 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%DALBUM_DIR%%/.htaccess %%DALBUM_DIR%%/.private/.htaccess %%DALBUM_DIR%%/.private/.htpasswd @@ -90,3 +92,5 @@ @dirrm %%DALBUM_DIR%%/config @dirrmtry %%DALBUM_DIR%%/.private @dirrm %%DALBUM_DIR%% +@owner root +@group wheel |