ports/190249: Modify chown to pass staging of self-service-password
Krzysztof Stryjek
ports at bsdserwis.com
Mon May 26 08:10:01 UTC 2014
>Number: 190249
>Category: ports
>Synopsis: Modify chown to pass staging of self-service-password
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon May 26 08:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Krzysztof Stryjek
>Release: FreeBSD 9.1-STABLE amd64
>Organization:
private
>Environment:
System: FreeBSD pp.wtp3.local 9.1-STABLE FreeBSD 9.1-STABLE #0: Mon May 20 11:38:42 CEST 2013 toor at pp.wtp3.local:/usr/obj/usr/src/sys/PP amd64
>Description:
When making SSP port as non-root there is message: Common mistake - can't install as non-root
>How-To-Repeat:
>Fix:
----------------------------------- snip -----------------------------------
diff -ruN self-service-password/Makefile self-service-password.new/Makefile
--- self-service-password/Makefile 2014-05-24 17:11:55.000000000 +0200
+++ self-service-password.new/Makefile 2014-05-26 09:59:29.000000000 +0200
@@ -3,6 +3,8 @@
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 +24,9 @@
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 +35,5 @@
do-install:
@cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/
.include <bsd.port.mk>
diff -ruN self-service-password/pkg-plist self-service-password.new/pkg-plist
--- self-service-password/pkg-plist 2014-05-24 17:11:55.000000000 +0200
+++ self-service-password.new/pkg-plist 2014-05-26 09:59:29.000000000 +0200
@@ -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
----------------------------------- snip -----------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list