packages: dhcp/dhcp.spec - introduced -client-dirs subpackage that provides...

pawelz pawelz at pld-linux.org
Thu Oct 14 00:47:33 CEST 2010


Author: pawelz                       Date: Wed Oct 13 22:47:33 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- introduced -client-dirs subpackage that provides:
  /etc/dhclient-enter-hooks.d
  /etc/dhclient-exit-hooks.d
  That is because other programs like avahi-autopid or resolvconf must put
  files into these dirs, but these programs does not depend on dhcp-client.
- rel 4

---- Files affected:
packages/dhcp:
   dhcp.spec (1.178 -> 1.179) 

---- Diffs:

================================================================
Index: packages/dhcp/dhcp.spec
diff -u packages/dhcp/dhcp.spec:1.178 packages/dhcp/dhcp.spec:1.179
--- packages/dhcp/dhcp.spec:1.178	Tue May 18 14:30:10 2010
+++ packages/dhcp/dhcp.spec	Thu Oct 14 00:47:27 2010
@@ -14,7 +14,7 @@
 Name:		dhcp
 # 4.1.0a1 is on DEVEL
 Version:	4.0.2
-Release:	3
+Release:	4
 Epoch:		4
 License:	MIT
 Group:		Networking/Daemons
@@ -131,6 +131,17 @@
 %description client -l pl.UTF-8
 Klient DHCP (Dynamic Host Configuration Protocol).
 
+%package client-dirs
+Summary:	DHCP Client common dirs
+Summary(pl.UTF-8):	Katalogi klienta DHCP
+Group:		Networking/Daemons
+
+%description client-dirs
+Directories for scripts for dhcp-client.
+
+%description client -l pl.UTF-8
+Katalog przeznaczony na skrypty dla klienta dhcp.
+
 %package relay
 Summary:	DHCP Relay Agent
 Summary(pl.UTF-8):	Agent przekazywania informacji DHCP
@@ -442,8 +453,6 @@
 %defattr(644,root,root,755)
 %doc contrib/sethostname.sh client/dhclient.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhclient.conf
-%{_sysconfdir}/dhclient-enter-hooks.d
-%{_sysconfdir}/dhclient-exit-hooks.d
 %attr(755,root,root) /sbin/dhclient
 %attr(755,root,root) /sbin/dhclient-script
 %{_mandir}/man5/dhclient.conf.5*
@@ -454,6 +463,11 @@
 %ghost /var/lib/dhclient/dhclient.leases
 %ghost /var/lib/dhclient/dhclient6.leases
 
+%files client-dirs
+%defattr(644,root,root,755)
+%dir %{_sysconfdir}/dhclient-enter-hooks.d
+%dir %{_sysconfdir}/dhclient-exit-hooks.d
+
 %files relay
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dhcp-relay
@@ -501,6 +515,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.179  2010/10/13 22:47:27  pawelz
+- introduced -client-dirs subpackage that provides:
+  /etc/dhclient-enter-hooks.d
+  /etc/dhclient-exit-hooks.d
+  That is because other programs like avahi-autopid or resolvconf must put
+  files into these dirs, but these programs does not depend on dhcp-client.
+- rel 4
+
 Revision 1.178  2010/05/18 12:30:10  arekm
 - rel 3; separate dhcpd6.conf for dhcpd6
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dhcp/dhcp.spec?r1=1.178&r2=1.179&f=u



More information about the pld-cvs-commit mailing list