Date: Sat, 13 Sep 2014 13:46:53 +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: r368097 - head/dns/bindgraph Message-ID: <201409131346.s8DDkrLX028215@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sat Sep 13 13:46:52 2014 New Revision: 368097 URL: http://svnweb.freebsd.org/changeset/ports/368097 QAT: https://qat.redports.org/buildarchive/r368097/ Log: - Allow staging as a regular user - Bump portrevision as a directory was not packaged with intended owner Modified: head/dns/bindgraph/Makefile head/dns/bindgraph/pkg-plist Modified: head/dns/bindgraph/Makefile ============================================================================== --- head/dns/bindgraph/Makefile Sat Sep 13 13:33:49 2014 (r368096) +++ head/dns/bindgraph/Makefile Sat Sep 13 13:46:52 2014 (r368097) @@ -3,7 +3,7 @@ PORTNAME= bindgraph PORTVERSION= 0.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= dns MASTER_SITES= http://www.linux.it/~md/software/ @@ -24,7 +24,9 @@ BINDGRAPH_GROUP?= ${WWWGRP} USE_RC_SUBR= ${PORTNAME} SUB_LIST+= BINDGRAPH_USER=${BINDGRAPH_USER} BINDGRAPH_GROUP=${BINDGRAPH_GROUP} -PLIST_SUB= CGIDIR=${CGIDIR:S,${PREFIX}/,,} +PLIST_SUB= CGIDIR=${CGIDIR:S,${PREFIX}/,,} \ + BINDGRAPH_USER="${BINDGRAPH_USER}" \ + BINDGRAPH_GROUP="${BINDGRAPH_GROUP}" DOCS= README ChangeLog PORTDOCS= ${DOCS} @@ -46,7 +48,6 @@ post-patch: do-install: ${MKDIR} ${STAGEDIR}${CGIDIR} ${MKDIR} ${STAGEDIR}${DATADIR} - @${CHOWN} -R ${BINDGRAPH_USER}:${BINDGRAPH_GROUP} ${STAGEDIR}${DATADIR}/ @${INSTALL_SCRIPT} ${WRKSRC}/bindgraph.pl ${STAGEDIR}${PREFIX}/sbin/ @${INSTALL_SCRIPT} ${WRKSRC}/bindgraph.cgi ${STAGEDIR}${CGIDIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR} @@ -54,9 +55,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}/; \ done -post-install: - @${ECHO_MSG} "" - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} "" - .include <bsd.port.mk> Modified: head/dns/bindgraph/pkg-plist ============================================================================== --- head/dns/bindgraph/pkg-plist Sat Sep 13 13:33:49 2014 (r368096) +++ head/dns/bindgraph/pkg-plist Sat Sep 13 13:46:52 2014 (r368097) @@ -1,4 +1,4 @@ %%CGIDIR%%/bindgraph.cgi sbin/bindgraph.pl @dirrmtry %%CGIDIR%% -@dirrmtry %%DATADIR%% +@dirrmtry(%%BINDGRAPH_USER%%,%%BINDGRAPH_GROUP%%,) %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409131346.s8DDkrLX028215>