From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 26 08:10:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7CE1EFD for ; Mon, 26 May 2014 08:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C6CA0247E for ; Mon, 26 May 2014 08:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4Q8A0jO064048 for ; Mon, 26 May 2014 08:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4Q8A0MY064038; Mon, 26 May 2014 08:10:00 GMT (envelope-from gnats) Resent-Date: Mon, 26 May 2014 08:10:00 GMT Resent-Message-Id: <201405260810.s4Q8A0MY064038@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Krzysztof Stryjek Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B7600CED for ; Mon, 26 May 2014 08:00:39 +0000 (UTC) Received: from mx1.bsdserwis.com (ns37332.ovh.net [91.121.4.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8461923BC for ; Mon, 26 May 2014 08:00:38 +0000 (UTC) Received: by mx1.bsdserwis.com (Postfix, from userid 1000) id BB7D72CA2AB5; Mon, 26 May 2014 10:00:29 +0200 (CEST) Message-Id: <20140526080029.BB7D72CA2AB5@mx1.bsdserwis.com> Date: Mon, 26 May 2014 10:00:29 +0200 (CEST) From: Krzysztof Stryjek Reply-To: Krzysztof Stryjek To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/190249: Modify chown to pass staging of self-service-password X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2014 08:10:01 -0000 >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@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 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 @@ +@owner %%SSP_OWN%% +@group %%SSP_GRP%% @sample %%WWWDIR%%/conf/config.inc.php.sample %%WWWDIR%%/index.php %%WWWDIR%%/lang/ca.inc.php ----------------------------------- snip ----------------------------------- >Release-Note: >Audit-Trail: >Unformatted: