svn commit: r368598 - head/www/serendipity
Antoine Brodin
antoine at FreeBSD.org
Fri Sep 19 21:12:26 UTC 2014
Author: antoine
Date: Fri Sep 19 21:12:25 2014
New Revision: 368598
URL: http://svnweb.freebsd.org/changeset/ports/368598
QAT: https://qat.redports.org/buildarchive/r368598/
Log:
Allow staging as a regular user
Bump portrevision as files were not packaged with intended owner
Modified:
head/www/serendipity/Makefile
head/www/serendipity/pkg-plist
Modified: head/www/serendipity/Makefile
==============================================================================
--- head/www/serendipity/Makefile Fri Sep 19 20:59:51 2014 (r368597)
+++ head/www/serendipity/Makefile Fri Sep 19 21:12:25 2014 (r368598)
@@ -3,6 +3,7 @@
PORTNAME= serendipity
PORTVERSION= 1.7.8
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= SF/php-blog/${PORTNAME}/${PORTVERSION}
@@ -15,6 +16,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= YES
SERENDIPITY?= www/${PORTNAME}
#PLIST_SUB+= SERENDIPITY=${SERENDIPITY}
+PLIST_SUB+= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
USE_PHP= session pcre gd openssl mbstring iconv zlib xml
#SUB_LIST+= SERENDIPITY=${SERENDIPITY}
SUB_FILES= pkg-message
@@ -45,6 +47,5 @@ do-install:
@-${MKDIR} ${STAGEDIR}${PREFIX}/${SERENDIPITY}
@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${SERENDIPITY}
@(cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${PREFIX}/${SERENDIPITY}/ )
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${SERENDIPITY}
.include <bsd.port.mk>
Modified: head/www/serendipity/pkg-plist
==============================================================================
--- head/www/serendipity/pkg-plist Fri Sep 19 20:59:51 2014 (r368597)
+++ head/www/serendipity/pkg-plist Fri Sep 19 21:12:25 2014 (r368598)
@@ -1,3 +1,5 @@
+ at owner %%WWWOWN%%
+ at group %%WWWGRP%%
%%WWWDIR%%/README.markdown
%%WWWDIR%%/bundled-libs/.current_version
%%WWWDIR%%/bundled-libs/Cache/BUNDLE_NOTICE
@@ -3391,3 +3393,5 @@
@dirrmtry %%WWWDIR%%/templates_c
@dirrmtry %%WWWDIR%%/uploads
@dirrmtry %%WWWDIR%%
+ at owner root
+ at group wheel
More information about the svn-ports-all
mailing list