Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2014 21:12:25 +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: r368598 - head/www/serendipity
Message-ID:  <201409192112.s8JLCP5Z045957@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 @@
+@owner %%WWWOWN%%
+@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%%
+@owner root
+@group wheel



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