Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 21:34:15 +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: r367988 - head/databases/sqlbuddy
Message-ID:  <201409112134.s8BLYFhd070472@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Sep 11 21:34:14 2014
New Revision: 367988
URL: http://svnweb.freebsd.org/changeset/ports/367988
QAT: https://qat.redports.org/buildarchive/r367988/

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

Modified:
  head/databases/sqlbuddy/Makefile
  head/databases/sqlbuddy/pkg-plist

Modified: head/databases/sqlbuddy/Makefile
==============================================================================
--- head/databases/sqlbuddy/Makefile	Thu Sep 11 21:26:06 2014	(r367987)
+++ head/databases/sqlbuddy/Makefile	Thu Sep 11 21:34:14 2014	(r367988)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sqlbuddy
 PORTVERSION=	1.3.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases www
 MASTER_SITES=	http://www.sqlbuddy.com/download/
 DISTNAME=	${PORTNAME}_1_3_3
@@ -19,6 +19,7 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 USE_PHP=	ctype pcre session mysql
 WANT_PHP_WEB=	yes
 
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 SUB_FILES=	pkg-message
 
 pre-everything::
@@ -35,6 +36,5 @@ do-install:
 	@${ECHO_MSG} "Installing SQL Buddy under ${WWWDIR}/"
 	@${MKDIR} ${STAGEDIR}${WWWDIR}
 	@cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
 
 .include <bsd.port.mk>

Modified: head/databases/sqlbuddy/pkg-plist
==============================================================================
--- head/databases/sqlbuddy/pkg-plist	Thu Sep 11 21:26:06 2014	(r367987)
+++ head/databases/sqlbuddy/pkg-plist	Thu Sep 11 21:34:14 2014	(r367988)
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
 %%WWWDIR%%/LICENSE
 %%WWWDIR%%/README
 %%WWWDIR%%/ajaxcreatetable.php
@@ -139,3 +141,5 @@
 @dirrm %%WWWDIR%%/exports
 @dirrm %%WWWDIR%%/css
 @dirrmtry %%WWWDIR%%
+@owner root
+@group wheel



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