From owner-svn-ports-head@FreeBSD.ORG Sat Sep 13 11:43:01 2014 Return-Path: Delivered-To: svn-ports-head@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 460EE618; Sat, 13 Sep 2014 11:43:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 179DAE6E; Sat, 13 Sep 2014 11:43:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8DBh0IB071136; Sat, 13 Sep 2014 11:43:00 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8DBh0WP071133; Sat, 13 Sep 2014 11:43:00 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409131143.s8DBh0WP071133@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sat, 13 Sep 2014 11:43:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368084 - head/www/hastymail2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2014 11:43:01 -0000 Author: antoine Date: Sat Sep 13 11:43:00 2014 New Revision: 368084 URL: http://svnweb.freebsd.org/changeset/ports/368084 QAT: https://qat.redports.org/buildarchive/r368084/ Log: - Allow staging as regular user - Bump portrevision as files were not packaged with intended owner Modified: head/www/hastymail2/Makefile head/www/hastymail2/pkg-plist Modified: head/www/hastymail2/Makefile ============================================================================== --- head/www/hastymail2/Makefile Sat Sep 13 11:30:43 2014 (r368083) +++ head/www/hastymail2/Makefile Sat Sep 13 11:43:00 2014 (r368084) @@ -3,7 +3,7 @@ PORTNAME= hastymail2 PORTVERSION= 1.1 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= www mail MASTER_SITES= SF/hastymail/Hastymail2%20Stable%20Releases/Hastymail2%201.1/ @@ -26,6 +26,7 @@ WIKEDVERSION= 1_1 WRKSRC= ${WRKDIR}/${PORTNAME}_${WIKEDVERSION} NO_BUILD= yes FIND_SKIP_OPTS= -not -name hastymail2.conf.example -not -name '*.orig' +PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" OPTIONS_DEFINE= PGSQL MYSQL DB ICONV MBSTRING @@ -69,7 +70,6 @@ do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && ${FIND} . ${FIND_SKIP_OPTS} \ | ${PAX} -rwd ${STAGEDIR}${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} @${MKDIR} ${STAGEDIR}${ETCDIR} @${INSTALL_DATA} ${WRKSRC}/hastymail2.conf.example \ ${STAGEDIR}${ETCDIR}/hastymail2.conf.sample Modified: head/www/hastymail2/pkg-plist ============================================================================== --- head/www/hastymail2/pkg-plist Sat Sep 13 11:30:43 2014 (r368083) +++ head/www/hastymail2/pkg-plist Sat Sep 13 11:43:00 2014 (r368084) @@ -1,6 +1,6 @@ -@unexec if cmp -s %D/%%ETCDIR%%/hastymail2.conf.sample %D/%%ETCDIR%%/hastymail2.conf; then rm -f %D/%%ETCDIR%%/hastymail2.conf; fi -%%ETCDIR%%/hastymail2.conf.sample -@exec if [ ! -f %D/%%ETCDIR%%/hastymail2.conf ]; then cp -p %D/%F %B/hastymail2.conf; fi +@sample %%ETCDIR%%/hastymail2.conf.sample +@owner %%WWWOWN%% +@group %%WWWGRP%% %%WWWDIR%%/CHANGES %%WWWDIR%%/COPYING %%WWWDIR%%/INSTALL @@ -1616,4 +1616,6 @@ @dirrmtry %%WWWDIR%%/db @dirrmtry %%WWWDIR%%/contrib @dirrmtry %%WWWDIR%% +@owner root +@group wheel @dirrmtry %%ETCDIR%%