svn commit: r355417 - head/net/self-service-password

Tim Bishop tdb at FreeBSD.org
Mon May 26 16:51:58 UTC 2014


Author: tdb
Date: Mon May 26 16:51:57 2014
New Revision: 355417
URL: http://svnweb.freebsd.org/changeset/ports/355417
QAT: https://qat.redports.org/buildarchive/r355417/

Log:
  - Set ownership with @owner and @group rather than chown.
  
  PR:		ports/190249
  Submitted by:	Krzysztof Stryjek <ports at bsdserwis.com> (maintainer)

Modified:
  head/net/self-service-password/Makefile
  head/net/self-service-password/pkg-plist

Modified: head/net/self-service-password/Makefile
==============================================================================
--- head/net/self-service-password/Makefile	Mon May 26 16:41:08 2014	(r355416)
+++ head/net/self-service-password/Makefile	Mon May 26 16:51:57 2014	(r355417)
@@ -3,6 +3,7 @@
 
 PORTNAME=	self-service-password
 PORTVERSION=	0.8
+PORTREVISION=	1
 CATEGORIES=	net www
 MASTER_SITES=	http://tools.ltb-project.org/attachments/download/497/
 DISTNAME=	ltb-project-${PORTNAME}-${PORTVERSION}
@@ -22,6 +23,9 @@ WANT_PHP_WEB=	yes
 CFGDIR=		conf
 CFGFILE=	config.inc.php
 
+PLIST_SUB+=	SSP_OWN=${WWWOWN}
+PLIST_SUB+=	SSP_GRP=${WWWGRP}
+
 SUB_LIST+=	PKGNAME=${PKGNAME}
 SUB_FILES=	pkg-message
 
@@ -30,6 +34,5 @@ post-extract:
 
 do-install:
 	@cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/
 
 .include <bsd.port.mk>

Modified: head/net/self-service-password/pkg-plist
==============================================================================
--- head/net/self-service-password/pkg-plist	Mon May 26 16:41:08 2014	(r355416)
+++ head/net/self-service-password/pkg-plist	Mon May 26 16:51:57 2014	(r355417)
@@ -1,3 +1,5 @@
+ at owner %%SSP_OWN%%
+ at group %%SSP_GRP%%
 @sample %%WWWDIR%%/conf/config.inc.php.sample
 %%WWWDIR%%/index.php
 %%WWWDIR%%/lang/ca.inc.php


More information about the svn-ports-all mailing list