packages: avahi/avahi.spec - user/group deps in autoipd package as well; ad...

glen glen at pld-linux.org
Sun May 2 17:44:33 CEST 2010


Author: glen                         Date: Sun May  2 15:44:33 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- user/group deps in autoipd package as well; adapter

---- Files affected:
packages/avahi:
   avahi.spec (1.108 -> 1.109) 

---- Diffs:

================================================================
Index: packages/avahi/avahi.spec
diff -u packages/avahi/avahi.spec:1.108 packages/avahi/avahi.spec:1.109
--- packages/avahi/avahi.spec:1.108	Sun May  2 15:29:08 2010
+++ packages/avahi/avahi.spec	Sun May  2 17:44:28 2010
@@ -94,23 +94,29 @@
 Summary:	IPv4LL network address configuration daemon
 Summary(pl.UTF-8):	Demon configurujący adresy IPv4LL
 Group:		Networking/Daemons
+Requires(postun):	/usr/sbin/groupdel
+Requires(postun):	/usr/sbin/userdel
+Requires(pre):	/bin/id
+Requires(pre):	/usr/bin/getgid
+Requires(pre):	/usr/sbin/groupadd
+Requires(pre):	/usr/sbin/useradd
 Provides:	group(avahi)
 Provides:	user(avahi)
 
 %description autoipd
-avahi-autoipd  implements  IPv4LL, "Dynamic Configuration of IPv4 Link- Local
-Addresses" (IETF RFC3927), a protocol for  automatic  IP  address configuration
-from the link-local 169.254.0.0/16 range without the need for a central server.
-It is primarily intended to  be  used  in  ad-hoc networks which lack a DHCP
-server.
+avahi-autoipd implements IPv4LL, "Dynamic Configuration of IPv4 Link-
+Local Addresses" (IETF RFC3927), a protocol for automatic IP address
+configuration from the link-local 169.254.0.0/16 range without the
+need for a central server. It is primarily intended to be used in
+ad-hoc networks which lack a DHCP server.
 
 IPv4LL is part of the Zeroconf stack.
 
 %description autoipd -l pl.UTF-8
 avahi-autoipd jest implementacją IPv4LL, protokołu umożliwiającego
 automatyczną konfigurację adresu z zakresu 169.254.0.0/16 bez potrzeby
-użycia centralnego serwera. Jego głównym zastosowaniem są sieci ad-hoc, 
-w których brakuje serwera DHCP.
+użycia centralnego serwera. Jego głównym zastosowaniem są sieci
+ad-hoc, w których brakuje serwera DHCP.
 
 IPv4LL jest częścią stosu Zeroconf.
 
@@ -572,7 +578,7 @@
 	%{!?with_dotnet:--disable-monodoc} \
 	--with-avahi-priv-access-group=adm \
 	--with-autoipd-user=avahi \
-	--with-autoipd-group=avahi 
+	--with-autoipd-group=avahi
 %{__make}
 
 %install
@@ -632,7 +638,13 @@
 
 %postun
 if [ "$1" = "0" ]; then
-        %userremove avahi
+	%userremove avahi
+	%groupremove avahi
+fi
+
+%postun autoipd
+if [ "$1" = "0" ]; then
+	%userremove avahi
 	%groupremove avahi
 fi
 
@@ -936,6 +948,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.109  2010/05/02 15:44:28  glen
+- user/group deps in autoipd package as well; adapter
+
 Revision 1.108  2010/05/02 13:29:08  jajcus
 - provide /etc/dhclient-{enter,exit}-hooks.d directory not to pull dhcp-client
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/avahi/avahi.spec?r1=1.108&r2=1.109&f=u



More information about the pld-cvs-commit mailing list