[73361] trunk/dports/www/privoxy/Portfile
jmr at macports.org
jmr at macports.org
Wed Nov 10 19:35:32 PST 2010
Revision: 73361
http://trac.macports.org/changeset/73361
Author: jmr at macports.org
Date: 2010-11-10 19:35:28 -0800 (Wed, 10 Nov 2010)
Log Message:
-----------
privoxy: ensure user is created when installing from an archive (#20270)
Modified Paths:
--------------
trunk/dports/www/privoxy/Portfile
Modified: trunk/dports/www/privoxy/Portfile
===================================================================
--- trunk/dports/www/privoxy/Portfile 2010-11-11 02:02:55 UTC (rev 73360)
+++ trunk/dports/www/privoxy/Portfile 2010-11-11 03:35:28 UTC (rev 73361)
@@ -37,6 +37,10 @@
system "cd ${worksrcpath} && autoheader"
}
+pre-install {
+ addgroup ${privoxyGroup}
+ adduser ${privoxyUser} gid=[existsgroup ${privoxyGroup}]
+}
use_autoconf yes
configure.args --with-user=${privoxyUser} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101110/ff0b10a0/attachment.html>
More information about the macports-changes
mailing list