[29283] trunk/dports/net/avahi/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 20 01:45:48 PDT 2007


Revision: 29283
          http://trac.macosforge.org/projects/macports/changeset/29283
Author:   rhwood at macports.org
Date:     2007-09-20 01:45:48 -0700 (Thu, 20 Sep 2007)

Log Message:
-----------
Add pre-activate hook to create avahi user
Bump revision since every avahi user needs this account on thier machines

Modified Paths:
--------------
    trunk/dports/net/avahi/Portfile

Modified: trunk/dports/net/avahi/Portfile
===================================================================
--- trunk/dports/net/avahi/Portfile	2007-09-20 08:16:38 UTC (rev 29282)
+++ trunk/dports/net/avahi/Portfile	2007-09-20 08:45:48 UTC (rev 29283)
@@ -2,7 +2,7 @@
 PortSystem	1.0
 name		avahi
 version		0.6.17
-revision	0
+revision	1
 categories	net devel
 maintainers	rhwood openmaintainer at macports.org
 description	A system which facilitates service discovery on a local network
@@ -48,6 +48,11 @@
 configure.cppflags-append	"-L${prefix}/lib"
 configure.env	PYTHON=${prefix}/bin/python2.5
 
+pre-activate {
+	addgroup avahi
+	adduser avahi gid=[existsgroup avahi] realname=Avahi Service
+}
+
 platform darwin	{
 	configure.args-append	\
 		--with-distro=darwin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070920/13c4a61d/attachment.html


More information about the macports-changes mailing list