Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2014 18:41:36 +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: r369195 - head/security/mailzu
Message-ID:  <201409241841.s8OIfasR030503@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Sep 24 18:41:36 2014
New Revision: 369195
URL: http://svnweb.freebsd.org/changeset/ports/369195
QAT: https://qat.redports.org/buildarchive/r369195/

Log:
  - Allow staging as a regular user
  - Bump portrevision as a directory didn't have intended owner

Modified:
  head/security/mailzu/Makefile
  head/security/mailzu/pkg-plist

Modified: head/security/mailzu/Makefile
==============================================================================
--- head/security/mailzu/Makefile	Wed Sep 24 18:35:27 2014	(r369194)
+++ head/security/mailzu/Makefile	Wed Sep 24 18:41:36 2014	(r369195)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mailzu
 DISTVERSION=	0.8rc3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	security
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/MailZu%200.8RC3
 DISTNAME=	MailZu_${DISTVERSION:S/rc/RC/}
@@ -18,6 +18,7 @@ RUN_DEPENDS=	${LOCALBASE}/sbin/amavisd:$
 		${PEARDIR}/Mail/mimeDecode.php:${PORTSDIR}/mail/pear-Mail_mimeDecode
 
 PEARDIR?=	${LOCALBASE}/share/pear
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 SUB_LIST+=	PKGNAME=${PKGNAME}
 SUB_FILES=	pkg-message
 NO_BUILD=	yes
@@ -43,13 +44,10 @@ PORTDOCS=	*
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${WWWDIR}
-	${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.php* ${WRKSRC}/*.js* ${WRKSRC}/*.css* ${STAGEDIR}${WWWDIR}
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} "config contrib img lang lib templates" \
 		${STAGEDIR}${WWWDIR} "! -name *.orig")
 	(cd ${WRKSRC} && ${COPYTREE_BIN} scripts ${STAGEDIR}${WWWDIR})
-
-post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}

Modified: head/security/mailzu/pkg-plist
==============================================================================
--- head/security/mailzu/pkg-plist	Wed Sep 24 18:35:27 2014	(r369194)
+++ head/security/mailzu/pkg-plist	Wed Sep 24 18:41:36 2014	(r369195)
@@ -171,35 +171,4 @@
 %%WWWDIR%%/templates/sendmail.template.php
 %%WWWDIR%%/templates/summary.template.php
 %%WWWDIR%%/templates/viewmail.template.php
-@dirrm %%WWWDIR%%/lib/pear/PEAR/Validator
-@dirrm %%WWWDIR%%/lib/pear/PEAR/Task/Windowseol
-@dirrm %%WWWDIR%%/lib/pear/PEAR/Task/Unixeol
-@dirrm %%WWWDIR%%/lib/pear/PEAR/Task/Replace
-@dirrm %%WWWDIR%%/lib/pear/PEAR/Task/Postinstallscript
-@dirrm %%WWWDIR%%/lib/pear/PEAR/Task
-@dirrm %%WWWDIR%%/lib/pear/PEAR/REST
-@dirrm %%WWWDIR%%/lib/pear/PEAR/PackageFile/v2
-@dirrm %%WWWDIR%%/lib/pear/PEAR/PackageFile/Parser
-@dirrm %%WWWDIR%%/lib/pear/PEAR/PackageFile/Generator
-@dirrm %%WWWDIR%%/lib/pear/PEAR/PackageFile
-@dirrm %%WWWDIR%%/lib/pear/PEAR/Installer/Role
-@dirrm %%WWWDIR%%/lib/pear/PEAR/Installer
-@dirrm %%WWWDIR%%/lib/pear/PEAR/Frontend
-@dirrm %%WWWDIR%%/lib/pear/PEAR/Downloader
-@dirrm %%WWWDIR%%/lib/pear/PEAR/Command
-@dirrm %%WWWDIR%%/lib/pear/PEAR/ChannelFile
-@dirrm %%WWWDIR%%/lib/pear/PEAR
-@dirrm %%WWWDIR%%/lib/pear/OS
-@dirrm %%WWWDIR%%/lib/pear/Net
-@dirrm %%WWWDIR%%/lib/pear/Mail
-@dirrm %%WWWDIR%%/lib/pear/DB
-@dirrm %%WWWDIR%%/lib/pear
-@dirrm %%WWWDIR%%/lib
-@dirrm %%WWWDIR%%/contrib/mysql
-@dirrm %%WWWDIR%%/contrib
-@dirrmtry %%WWWDIR%%/config
-@dirrm %%WWWDIR%%/img
-@dirrm %%WWWDIR%%/lang
-@dirrm %%WWWDIR%%/scripts
-@dirrm %%WWWDIR%%/templates
-@dirrmtry %%WWWDIR%%
+@dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%



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