SPECS: dhcpv6.spec - subpkg for relay daemon, server (to be summet...
glen
glen at pld-linux.org
Sun Apr 27 14:52:00 CEST 2008
Author: glen Date: Sun Apr 27 12:52:00 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- subpkg for relay daemon, server (to be summetric)
---- Files affected:
SPECS:
dhcpv6.spec (1.32 -> 1.33)
---- Diffs:
================================================================
Index: SPECS/dhcpv6.spec
diff -u SPECS/dhcpv6.spec:1.32 SPECS/dhcpv6.spec:1.33
--- SPECS/dhcpv6.spec:1.32 Sun Apr 27 14:41:06 2008
+++ SPECS/dhcpv6.spec Sun Apr 27 14:51:55 2008
@@ -1,11 +1,9 @@
# $Revision$, $Date$
-# TODO:
-# - subpackage for relay daemon
Summary: DHCPv6 - DHCP server and client for IPv6
Summary(pl.UTF-8): DHCPv6 - serwer i klient DHCP dla IPv6
Name: dhcpv6
Version: 1.0.15
-Release: 0.1
+Release: 1
Epoch: 1
License: GPL v2+
Group: Networking/Daemons
@@ -21,37 +19,52 @@
BuildRequires: flex
BuildRequires: libtool
BuildRequires: rpmbuild(macros) >= 1.268
-Requires(post,preun): /sbin/chkconfig
-Requires: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Implements the Dynamic Host Configuration Protocol (DHCP) for Internet
Protocol version 6 (IPv6) networks in accordance with RFC 3315:
-Dynamic Host Configuration Protocol for IPv6 (DHCPv6). Consists of
-dhcp6s(8), the server DHCP daemon.
+Dynamic Host Configuration Protocol for IPv6 (DHCPv6).
%description -l pl.UTF-8
Ten pakiet jest implementacją protokołu Dynamic Host Configuration
Protocol (DHCP) dla sieci IPv6 zgodnie z RFC 3315: Dynamic Host
-Configuration Protocol for IPv6 (DHCPv6). Zawiera demona serwera DHCP
-dhcp6s(8).
+Configuration Protocol for IPv6 (DHCPv6).
-%package -n dhcpv6-client
+%package client
Summary: DHCPv6 client
Summary(pl.UTF-8): Klient DHCPv6
Group: Applications/Networking
Requires(post,preun): /sbin/chkconfig
Requires: rc-scripts
-%description -n dhcpv6-client
+%description client
Provides the client for the DHCPv6 protocol (RFC 3315) to support
dynamic configuration of IPv6 addresses and parameters.
-%description -n dhcpv6-client -l pl.UTF-8
+%description client -l pl.UTF-8
Ten pakiet dostarcza klienta protokołu DHCPv6 (RFC 3315) do obsługi
dynamicznej konfiguracji adresów i parametrów sieci iPv6.
+%package relay
+Summary: DHCPv6 relay agent
+Group: Applications/Networking
+Requires(post,preun): /sbin/chkconfig
+Requires: rc-scripts
+
+%description relay
+dhcp6r acts as DHCPv6 relay agent forwarding DHCPv6 messages from
+clients to servers and vice versa.
+
+%package server
+Summary: DHCPv6 server daemon
+Group: Applications/Networking
+Requires(post,preun): /sbin/chkconfig
+Requires: rc-scripts
+
+%description server
+dhcp6s is an implementation of the DHCPv6 server.
+
%package -n libdhcp6client
Summary: The DHCPv6 client in a library for invocation by other programs
Summary(pl.UTF-8): Klient DHCPv6 w postaci biblioteki do wykorzystania w innych programach
@@ -120,55 +133,64 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-/sbin/chkconfig --add dhcp6s
-%service dhcp6s restart
+%post client
+/sbin/chkconfig --add dhcp6c
+%service dhcp6c restart
+
+%post relay
/sbin/chkconfig --add dhcp6r
%service dhcp6r restart
-%preun
+%post server
+/sbin/chkconfig --add dhcp6s
+%service dhcp6s restart
+
+%preun client
+if [ "$1" = "0" ]; then
+ %service dhcp6c stop
+ /sbin/chkconfig --del dhcp6c
+fi
+
+%preun relay
if [ "$1" = "0" ]; then
- %service dhcp6s stop
- /sbin/chkconfig --del dhcp6s
%service dhcp6r stop
/sbin/chkconfig --del dhcp6r
fi
-%post -n dhcpv6-client
-/sbin/chkconfig --add dhcp6c
-%service dhcp6c restart
-
-%preun -n dhcpv6-client
+%preun server
if [ "$1" = "0" ]; then
- %service dhcp6c stop
- /sbin/chkconfig --del dhcp6c
+ %service dhcp6s stop
+ /sbin/chkconfig --del dhcp6s
fi
%post -n libdhcp6client -p /sbin/ldconfig
%postun -n libdhcp6client -p /sbin/ldconfig
-%files
+%files client
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/dhcp6c
+%attr(754,root,root) /etc/rc.d/init.d/dhcp6c
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhcp6c.conf
+%{_mandir}/man8/dhcp6c.8*
+%{_mandir}/man5/dhcp6c.conf.5*
+
+%files relay
%defattr(644,root,root,755)
-%doc AUTHORS README TODO
%attr(755,root,root) %{_sbindir}/dhcp6r
-%attr(755,root,root) %{_sbindir}/dhcp6s
%attr(754,root,root) /etc/rc.d/init.d/dhcp6r
-%attr(754,root,root) /etc/rc.d/init.d/dhcp6s
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dhcp6r
+%{_mandir}/man8/dhcp6r.8*
+
+%files server
+%defattr(644,root,root,755)
+%doc AUTHORS README TODO
+%attr(755,root,root) %{_sbindir}/dhcp6s
+%attr(754,root,root) /etc/rc.d/init.d/dhcp6s
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dhcp6s
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhcp6s.conf
-%attr(750,root,root) %dir %{_localstatedir}/lib/dhcpv6
-%{_mandir}/man8/dhcp6r.8*
%{_mandir}/man8/dhcp6s.8*
%{_mandir}/man5/dhcp6s.conf.5*
-
-%files -n dhcpv6-client
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/dhcp6c
-%attr(754,root,root) /etc/rc.d/init.d/dhcp6c
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhcp6c.conf
-%{_mandir}/man8/dhcp6c.8*
-%{_mandir}/man5/dhcp6c.conf.5*
+%attr(750,root,root) %dir %{_localstatedir}/lib/dhcpv6
%files -n libdhcp6client
%defattr(644,root,root,755)
@@ -192,6 +214,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.33 2008-04-27 12:51:55 glen
+- subpkg for relay daemon, server (to be summetric)
+
Revision 1.32 2008-04-27 12:41:06 glen
- remove from %desc pointers to man and docs (obvious anyway and wrong pointers)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dhcpv6.spec?r1=1.32&r2=1.33&f=u
More information about the pld-cvs-commit
mailing list