[89580] trunk/dports/net/squid3-devel/Portfile
snc at macports.org
snc at macports.org
Fri Feb 3 08:19:27 PST 2012
Revision: 89580
http://trac.macports.org/changeset/89580
Author: snc at macports.org
Date: 2012-02-03 08:19:27 -0800 (Fri, 03 Feb 2012)
Log Message:
-----------
squid3-devel: use add_users
Modified Paths:
--------------
trunk/dports/net/squid3-devel/Portfile
Modified: trunk/dports/net/squid3-devel/Portfile
===================================================================
--- trunk/dports/net/squid3-devel/Portfile 2012-02-03 16:17:50 UTC (rev 89579)
+++ trunk/dports/net/squid3-devel/Portfile 2012-02-03 16:19:27 UTC (rev 89580)
@@ -99,9 +99,7 @@
"su -fm root -c \"exec ${prefix}/sbin/squid -k shutdown\""
pre-destroot {
- addgroup squid
- set gid [existsgroup squid]
- adduser squid gid=${gid} realname=Squid\ Proxy home=${prefix}/var/squid
+ add_users squid group=squid realname=Squid\ Proxy home=${prefix}/var/squid
}
post-destroot {
reinplace "s|/etc/squid|${prefix}/etc/squid|g" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120203/5437a5b6/attachment.html>
More information about the macports-changes
mailing list