Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 15:31:05 +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: r370721 - head/finance/ledgersmb12
Message-ID:  <201410121531.s9CFV5o3012995@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Oct 12 15:31:04 2014
New Revision: 370721
URL: https://svnweb.freebsd.org/changeset/ports/370721
QAT: https://qat.redports.org/buildarchive/r370721/

Log:
  - Allow staging as a regular user
  - Bump portrevision as some files were not packaged with intended owner

Modified:
  head/finance/ledgersmb12/Makefile
  head/finance/ledgersmb12/pkg-plist

Modified: head/finance/ledgersmb12/Makefile
==============================================================================
--- head/finance/ledgersmb12/Makefile	Sun Oct 12 15:26:29 2014	(r370720)
+++ head/finance/ledgersmb12/Makefile	Sun Oct 12 15:31:04 2014	(r370721)
@@ -3,6 +3,7 @@
 
 PORTNAME=	ledgersmb
 PORTVERSION=	1.2.17
+PORTREVISION=	1
 CATEGORIES=	finance perl5
 MASTER_SITES=	SF/ledger-smb/${PORTNAME}/${PORTVERSION}
 
@@ -20,7 +21,7 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 NO_BUILD=	yes
 USES=		perl5
 USE_PERL5=	run build patch
-
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 SUB_FILES=	pkg-message
 
 .include <bsd.port.pre.mk>
@@ -35,7 +36,6 @@ post-patch:
 do-install:
 	@${CP} -R ${WRKSRC} ${STAGEDIR}${PREFIX}
 	@cd ${STAGEDIR}${PREFIX}/${PORTNAME} ; \
-		${CHOWN} -hR ${WWWOWN}:${WWWGRP} * ; \
 		${CHMOD} 711 templates css spool
 	@${INSTALL_DATA} ${WRKDIR}/ledger-smb-httpd.conf ${STAGEDIR}${PREFIX}/etc/
 

Modified: head/finance/ledgersmb12/pkg-plist
==============================================================================
--- head/finance/ledgersmb12/pkg-plist	Sun Oct 12 15:26:29 2014	(r370720)
+++ head/finance/ledgersmb12/pkg-plist	Sun Oct 12 15:31:04 2014	(r370721)
@@ -1,4 +1,6 @@
 etc/ledger-smb-httpd.conf
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
 ledgersmb/BUGS
 ledgersmb/Build.PL
 ledgersmb/COMPATABILITY
@@ -1309,58 +1311,59 @@ ledgersmb/utils/notify_short/listener.pl
 ledgersmb/utils/pos/directnet.pl
 ledgersmb/utils/pos/pos-hardware-client-startup-script
 ledgersmb/winprint.bat
-@dirrmtry ledgersmb/utils/pos
-@dirrmtry ledgersmb/utils/notify_short
-@dirrmtry ledgersmb/utils/fixme
-@dirrmtry ledgersmb/utils/devel
-@dirrmtry ledgersmb/utils/cli
-@dirrmtry ledgersmb/utils
-@dirrmtry ledgersmb/templates/demo
-@dirrmtry ledgersmb/templates
-@dirrmtry ledgersmb/t/var
-@dirrmtry ledgersmb/t/data
-@dirrmtry ledgersmb/t
-@dirrmtry ledgersmb/sql/legacy
-@dirrmtry ledgersmb/sql/fixes
-@dirrmtry ledgersmb/sql
-@dirrmtry ledgersmb/spool
-@dirrmtry ledgersmb/locale/po
-@dirrmtry ledgersmb/locale/legacy/ua
-@dirrmtry ledgersmb/locale/legacy/tw_big5
-@dirrmtry ledgersmb/locale/legacy/ru
-@dirrmtry ledgersmb/locale/legacy/fi_utf
-@dirrmtry ledgersmb/locale/legacy/fi
-@dirrmtry ledgersmb/locale/legacy/es
-@dirrmtry ledgersmb/locale/legacy/ee
-@dirrmtry ledgersmb/locale/legacy/de
-@dirrmtry ledgersmb/locale/legacy/co
-@dirrmtry ledgersmb/locale/legacy/ch
-@dirrmtry ledgersmb/locale/legacy
-@dirrmtry ledgersmb/locale/html
-@dirrmtry ledgersmb/locale
-@dirrmtry ledgersmb/drivers
-@dirrmtry ledgersmb/doc/samples
-@dirrmtry ledgersmb/doc/manual
-@dirrmtry ledgersmb/doc/html_manual
-@dirrmtry ledgersmb/doc/database
-@dirrmtry ledgersmb/doc/API
-@dirrmtry ledgersmb/doc
-@dirrmtry ledgersmb/dists/win32/wix
-@dirrmtry ledgersmb/dists/win32
-@dirrmtry ledgersmb/dists/source
-@dirrmtry ledgersmb/dists/slackware
-@dirrmtry ledgersmb/dists/rpm
-@dirrmtry ledgersmb/dists/gentoo
-@dirrmtry ledgersmb/dists/deb
-@dirrmtry ledgersmb/dists
-@dirrmtry ledgersmb/css
-@dirrmtry ledgersmb/contrib/replication
-@dirrmtry ledgersmb/contrib
-@dirrmtry ledgersmb/bin/custom
-@dirrmtry ledgersmb/bin
-@dirrmtry ledgersmb/LedgerSMB/Taxes
-@dirrmtry ledgersmb/LedgerSMB/Session
-@dirrmtry ledgersmb/LedgerSMB/CreditCard/TrustCommerce
-@dirrmtry ledgersmb/LedgerSMB/CreditCard
-@dirrmtry ledgersmb/LedgerSMB
-@dirrmtry ledgersmb
+@dir ledgersmb/utils/pos
+@dir ledgersmb/utils/notify_short
+@dir ledgersmb/utils/fixme
+@dir ledgersmb/utils/devel
+@dir ledgersmb/utils/cli
+@dir ledgersmb/utils
+@dir ledgersmb/templates/demo
+@dir ledgersmb/templates
+@dir ledgersmb/t/var
+@dir ledgersmb/t/data
+@dir ledgersmb/t
+@dir ledgersmb/sql/legacy
+@dir ledgersmb/sql/fixes
+@dir ledgersmb/sql
+@dir ledgersmb/spool
+@dir ledgersmb/locale/po
+@dir ledgersmb/locale/legacy/ua
+@dir ledgersmb/locale/legacy/tw_big5
+@dir ledgersmb/locale/legacy/ru
+@dir ledgersmb/locale/legacy/fi_utf
+@dir ledgersmb/locale/legacy/fi
+@dir ledgersmb/locale/legacy/es
+@dir ledgersmb/locale/legacy/ee
+@dir ledgersmb/locale/legacy/de
+@dir ledgersmb/locale/legacy/co
+@dir ledgersmb/locale/legacy/ch
+@dir ledgersmb/locale/legacy
+@dir ledgersmb/locale/html
+@dir ledgersmb/locale
+@dir ledgersmb/drivers
+@dir ledgersmb/doc/samples
+@dir ledgersmb/doc/manual
+@dir ledgersmb/doc/html_manual
+@dir ledgersmb/doc/database
+@dir ledgersmb/doc/API
+@dir ledgersmb/doc
+@dir ledgersmb/dists/win32/wix
+@dir ledgersmb/dists/win32
+@dir ledgersmb/dists/source
+@dir ledgersmb/dists/slackware
+@dir ledgersmb/dists/rpm
+@dir ledgersmb/dists/gentoo
+@dir ledgersmb/dists/deb
+@dir ledgersmb/dists
+@dir ledgersmb/css
+@dir ledgersmb/contrib/replication
+@dir ledgersmb/contrib
+@dir ledgersmb/bin/custom
+@dir ledgersmb/bin
+@dir ledgersmb/LedgerSMB/Taxes
+@dir ledgersmb/LedgerSMB/Session
+@dir ledgersmb/LedgerSMB/CreditCard/TrustCommerce
+@dir ledgersmb/LedgerSMB/CreditCard
+@dir ledgersmb/LedgerSMB
+@owner
+@group



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