]>
Commit | Line | Data |
---|---|---|
3a492f21 JR |
1 | # NEWS |
2 | # | |
3 | # IMPORTANT! Tuesday, September 22, 2009: No new development will be happening on | |
4 | # this project. dhcpv6 has been obsoleted by ISC dhcp version 4.1.0 and later. | |
5 | # Previous stable versions will receive security and bug fixes and periodic new | |
6 | # releases may be made for older distributions, but as for new development, the | |
7 | # project is shut down. | |
8 | # | |
19c6526c | 9 | Summary: DHCPv6 - DHCP server and client for IPv6 |
da19069e | 10 | Summary(pl.UTF-8): DHCPv6 - serwer i klient DHCP dla IPv6 |
19c6526c | 11 | Name: dhcpv6 |
cc92f0a4 | 12 | Version: 1.2.0 |
29210ac3 | 13 | Release: 0.2 |
8a684ebd | 14 | Epoch: 1 |
f49b068f | 15 | License: GPL v2+ |
19c6526c | 16 | Group: Networking/Daemons |
54524cf8 | 17 | Source0: https://fedorahosted.org/releases/d/h/dhcpv6/%{name}-%{version}.tar.gz |
cc92f0a4 | 18 | # Source0-md5: d537416b33002f56912b7f27477d8d35 |
fb7020da | 19 | Source1: dhcp6s.init |
4c97a308 | 20 | Source2: dhcp6c.init |
29210ac3 | 21 | BuildRequires: restore-compatability |
0cc123ce | 22 | URL: https://fedorahosted.org/dhcpv6/ |
f49b068f JB |
23 | BuildRequires: autoconf >= 2.61 |
24 | BuildRequires: automake | |
5cbfb15f JB |
25 | BuildRequires: bison |
26 | BuildRequires: flex | |
cc92f0a4 | 27 | BuildRequires: libnl-devel >= 1.1 |
f49b068f | 28 | BuildRequires: libtool |
cc92f0a4 | 29 | BuildRequires: pkgconfig |
b19f7c09 | 30 | BuildRequires: rpmbuild(macros) >= 1.268 |
5cbfb15f | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19c6526c AM |
32 | |
33 | %description | |
34 | Implements the Dynamic Host Configuration Protocol (DHCP) for Internet | |
c96a4f12 | 35 | Protocol version 6 (IPv6) networks in accordance with RFC 3315: |
5f2e8ab6 | 36 | Dynamic Host Configuration Protocol for IPv6 (DHCPv6). |
5cbfb15f | 37 | |
7fcf5cd8 JR |
38 | %description -l pl.UTF-8 |
39 | Ten pakiet jest implementacją protokołu Dynamic Host Configuration | |
5cbfb15f | 40 | Protocol (DHCP) dla sieci IPv6 zgodnie z RFC 3315: Dynamic Host |
5f2e8ab6 | 41 | Configuration Protocol for IPv6 (DHCPv6). |
19c6526c | 42 | |
5f2e8ab6 | 43 | %package client |
a91e6378 | 44 | Summary: DHCPv6 client |
da19069e | 45 | Summary(pl.UTF-8): Klient DHCPv6 |
a91e6378 | 46 | Group: Applications/Networking |
b19f7c09 | 47 | Requires(post,preun): /sbin/chkconfig |
bd2e4492 | 48 | Requires: rc-scripts |
2e4b2cdd | 49 | |
5f2e8ab6 | 50 | %description client |
2e4b2cdd | 51 | Provides the client for the DHCPv6 protocol (RFC 3315) to support |
c96a4f12 | 52 | dynamic configuration of IPv6 addresses and parameters. |
2e4b2cdd | 53 | |
5f2e8ab6 | 54 | %description client -l pl.UTF-8 |
7fcf5cd8 | 55 | Ten pakiet dostarcza klienta protokołu DHCPv6 (RFC 3315) do obsługi |
c96a4f12 | 56 | dynamicznej konfiguracji adresów i parametrów sieci iPv6. |
2e4b2cdd | 57 | |
5f2e8ab6 ER |
58 | %package relay |
59 | Summary: DHCPv6 relay agent | |
b4d033f1 | 60 | Summary(pl.UTF-8): Agent przekazujący DHCPv6 |
5f2e8ab6 ER |
61 | Group: Applications/Networking |
62 | Requires(post,preun): /sbin/chkconfig | |
63 | Requires: rc-scripts | |
64 | ||
65 | %description relay | |
66 | dhcp6r acts as DHCPv6 relay agent forwarding DHCPv6 messages from | |
67 | clients to servers and vice versa. | |
68 | ||
b4d033f1 JB |
69 | %description relay -l pl.UTF-8 |
70 | dhcp6r służy jako agent przekazujący komunikaty DHCPv6 od klientów do | |
71 | serwerów i z powrotem. | |
72 | ||
5f2e8ab6 ER |
73 | %package server |
74 | Summary: DHCPv6 server daemon | |
b4d033f1 | 75 | Summary(pl.UTF-8): Demon serwera DHCPv6 |
5f2e8ab6 ER |
76 | Group: Applications/Networking |
77 | Requires(post,preun): /sbin/chkconfig | |
78 | Requires: rc-scripts | |
79 | ||
80 | %description server | |
81 | dhcp6s is an implementation of the DHCPv6 server. | |
82 | ||
b4d033f1 JB |
83 | %description server -l pl.UTF-8 |
84 | dhcp6s to implementacja serwera DHCPv6. | |
85 | ||
19c6526c | 86 | %prep |
bd2e4492 | 87 | %setup -q |
19c6526c AM |
88 | |
89 | %build | |
bd2e4492 PZ |
90 | %{__libtoolize} |
91 | %{__aclocal} -I m4 | |
47bbc57d | 92 | %{__autoconf} |
bd2e4492 | 93 | %{__automake} |
d41581a0 | 94 | %configure |
47bbc57d | 95 | |
19c6526c | 96 | %{__make} |
19c6526c AM |
97 | |
98 | %install | |
99 | rm -rf $RPM_BUILD_ROOT | |
47bbc57d | 100 | install -d $RPM_BUILD_ROOT{%{_localstatedir}/lib/dhcpv6,/etc/{rc.d/init.d,sysconfig}} |
5cbfb15f JB |
101 | |
102 | %{__make} install \ | |
47bbc57d AM |
103 | INSTALL_USER=$(id -u) \ |
104 | INSTALL_GROUP=$(id -g) \ | |
5cbfb15f | 105 | DESTDIR=$RPM_BUILD_ROOT |
19c6526c | 106 | |
fb7020da | 107 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcp6s |
4c97a308 | 108 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcp6c |
4cc522ce | 109 | |
cc92f0a4 | 110 | mkdir -p $RPM_BUILD_ROOT/var/run/dhcpv6 |
111 | ||
2e4b2cdd | 112 | %clean |
113 | rm -rf $RPM_BUILD_ROOT | |
19c6526c | 114 | |
5f2e8ab6 ER |
115 | %post client |
116 | /sbin/chkconfig --add dhcp6c | |
117 | %service dhcp6c restart | |
118 | ||
119 | %post relay | |
b19f7c09 ER |
120 | /sbin/chkconfig --add dhcp6r |
121 | %service dhcp6r restart | |
19c6526c | 122 | |
5f2e8ab6 ER |
123 | %post server |
124 | /sbin/chkconfig --add dhcp6s | |
125 | %service dhcp6s restart | |
126 | ||
127 | %preun client | |
128 | if [ "$1" = "0" ]; then | |
129 | %service dhcp6c stop | |
130 | /sbin/chkconfig --del dhcp6c | |
131 | fi | |
132 | ||
133 | %preun relay | |
5cbfb15f | 134 | if [ "$1" = "0" ]; then |
b19f7c09 ER |
135 | %service dhcp6r stop |
136 | /sbin/chkconfig --del dhcp6r | |
4f148875 | 137 | fi |
19c6526c | 138 | |
5f2e8ab6 | 139 | %preun server |
b19f7c09 | 140 | if [ "$1" = "0" ]; then |
5f2e8ab6 ER |
141 | %service dhcp6s stop |
142 | /sbin/chkconfig --del dhcp6s | |
19c6526c AM |
143 | fi |
144 | ||
5f2e8ab6 ER |
145 | %files client |
146 | %defattr(644,root,root,755) | |
147 | %attr(755,root,root) %{_sbindir}/dhcp6c | |
148 | %attr(754,root,root) /etc/rc.d/init.d/dhcp6c | |
149 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhcp6c.conf | |
150 | %{_mandir}/man8/dhcp6c.8* | |
151 | %{_mandir}/man5/dhcp6c.conf.5* | |
152 | ||
153 | %files relay | |
19c6526c | 154 | %defattr(644,root,root,755) |
bd2e4492 | 155 | %attr(755,root,root) %{_sbindir}/dhcp6r |
bd2e4492 | 156 | %attr(754,root,root) /etc/rc.d/init.d/dhcp6r |
bd2e4492 | 157 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dhcp6r |
5f2e8ab6 ER |
158 | %{_mandir}/man8/dhcp6r.8* |
159 | ||
160 | %files server | |
161 | %defattr(644,root,root,755) | |
162 | %doc AUTHORS README TODO | |
163 | %attr(755,root,root) %{_sbindir}/dhcp6s | |
164 | %attr(754,root,root) /etc/rc.d/init.d/dhcp6s | |
2e4b2cdd | 165 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dhcp6s |
b526a588 | 166 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhcp6s.conf |
5cbfb15f JB |
167 | %{_mandir}/man8/dhcp6s.8* |
168 | %{_mandir}/man5/dhcp6s.conf.5* | |
5f2e8ab6 | 169 | %attr(750,root,root) %dir %{_localstatedir}/lib/dhcpv6 |
cc92f0a4 | 170 | %attr(755,root,root) %dir %{_localstatedir}/run/dhcpv6 |