4 |
Name: dhcp |
Name: dhcp |
5 |
Epoch: 3 |
Epoch: 3 |
6 |
Version: 4.2.2 |
Version: 4.2.2 |
7 |
Release: %mkrel 1 |
Release: %mkrel 2 |
8 |
License: Distributable |
License: Distributable |
9 |
Group: System/Servers |
Group: System/Servers |
10 |
URL: http://www.isc.org/software/dhcp |
URL: http://www.isc.org/software/dhcp |
11 |
Source0: ftp://ftp.isc.org/isc/%{name}/%{name}-%{version}.tar.gz |
Source0: ftp://ftp.isc.org/isc/%{name}/%{name}-%{version}.tar.gz |
12 |
Source1: ftp://ftp.isc.org/isc/%{name}/%{name}-%{version}.tar.gz.sha512.asc |
Source1: ftp://ftp.isc.org/isc/%{name}/%{name}-%{version}.tar.gz.sha512.asc |
13 |
Source2: dhcpd.conf |
Source2: dhcpd.conf |
|
Source3: dhcpd.init |
|
14 |
Source4: dhcp-dynamic-dns-examples.tar.bz2 |
Source4: dhcp-dynamic-dns-examples.tar.bz2 |
|
Source5: dhcrelay.init |
|
15 |
Source7: dhcpreport.pl |
Source7: dhcpreport.pl |
16 |
Source8: dhcpd-chroot.sh |
Source8: dhcpd-chroot.sh |
17 |
# (eugeni) dhclient-exit-hooks script |
# (eugeni) dhclient-exit-hooks script |
18 |
Source9: dhclient-exit-hooks |
Source9: dhclient-exit-hooks |
19 |
Source12: draft-ietf-dhc-ldap-schema-01.txt |
Source10: draft-ietf-dhc-ldap-schema-01.txt |
20 |
|
Source11: dhcpd.init |
21 |
|
Source12: dhcpd.service |
22 |
|
Source13: dhcpd6.init |
23 |
|
Source14: dhcpd6.service |
24 |
|
Source15: dhcrelay.init |
25 |
|
Source16: dhcrelay.service |
26 |
# customize ifup script |
# customize ifup script |
27 |
Patch0: dhcp-4.2.2-ifup.patch |
Patch0: dhcp-4.2.2-ifup.patch |
28 |
Patch5: dhcp-4.2.2-fix-format-errors.patch |
Patch5: dhcp-4.2.2-fix-format-errors.patch |
139 |
%patch6 -p1 -b .noipv6nonfatal |
%patch6 -p1 -b .noipv6nonfatal |
140 |
%patch7 -p1 -b .prevent_wireless_deassociation |
%patch7 -p1 -b .prevent_wireless_deassociation |
141 |
|
|
142 |
install -m0644 %{SOURCE12} doc |
install -m0644 %{SOURCE10} doc |
143 |
|
|
144 |
%build |
%build |
145 |
%serverbuild |
%serverbuild |
163 |
install -d %{buildroot}%{_bindir} |
install -d %{buildroot}%{_bindir} |
164 |
install -d %{buildroot}%{_sysconfdir}/sysconfig |
install -d %{buildroot}%{_sysconfdir}/sysconfig |
165 |
install -d %{buildroot}%{_initrddir} |
install -d %{buildroot}%{_initrddir} |
166 |
|
install -d %{buildroot}/lib/systemd/system |
167 |
install -d %{buildroot}%{_var}/lib/dhcp |
install -d %{buildroot}%{_var}/lib/dhcp |
168 |
install -d %{buildroot}%{_var}/run/dhcpd |
install -d %{buildroot}%{_var}/run/dhcpd |
169 |
|
|
175 |
%{__install} -p -m 0755 client/scripts/linux %{buildroot}/sbin/dhclient-script |
%{__install} -p -m 0755 client/scripts/linux %{buildroot}/sbin/dhclient-script |
176 |
|
|
177 |
|
|
178 |
install -m0755 %{SOURCE3} %{buildroot}%{_initrddir}/dhcpd |
install -m0755 %{SOURCE11} %{buildroot}%{_initrddir}/dhcpd |
179 |
install -m0755 %{SOURCE5} %{buildroot}%{_initrddir}/dhcrelay |
install -m0755 %{SOURCE13} %{buildroot}%{_initrddir}/dhcpd6 |
180 |
|
install -m0755 %{SOURCE15} %{buildroot}%{_initrddir}/dhcrelay |
181 |
|
install -m 644 %{SOURCE12} %{buildroot}/lib/systemd/system/dhcpd |
182 |
|
install -m 644 %{SOURCE14} %{buildroot}/lib/systemd/system/dhcpd6 |
183 |
|
install -m 644 %{SOURCE16} %{buildroot}/lib/systemd/system/dhcrelay |
184 |
install -m0755 %{SOURCE7} %{SOURCE8} %{buildroot}%{_sbindir}/ |
install -m0755 %{SOURCE7} %{SOURCE8} %{buildroot}%{_sbindir}/ |
185 |
install -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/ |
install -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/ |
186 |
install -m0755 contrib/ldap/dhcpd-conf-to-ldap %{buildroot}%{_sbindir}/ |
install -m0755 contrib/ldap/dhcpd-conf-to-ldap %{buildroot}%{_sbindir}/ |
267 |
%files server |
%files server |
268 |
%doc server/dhcpd.conf tests/failover contrib/ldap/dhcp.schema |
%doc server/dhcpd.conf tests/failover contrib/ldap/dhcp.schema |
269 |
%{_initrddir}/dhcpd |
%{_initrddir}/dhcpd |
270 |
|
%{_initrddir}/dhcpd6 |
271 |
|
/lib/systemd/system/dhcpd |
272 |
|
/lib/systemd/system/dhcpd6 |
273 |
%config(noreplace) %{_sysconfdir}/dhcpd.conf |
%config(noreplace) %{_sysconfdir}/dhcpd.conf |
274 |
%config(noreplace) %{_sysconfdir}/dhclient-exit-hooks |
%config(noreplace) %{_sysconfdir}/dhclient-exit-hooks |
275 |
%config(noreplace) %{_sysconfdir}/sysconfig/dhcpd |
%config(noreplace) %{_sysconfdir}/sysconfig/dhcpd |
289 |
|
|
290 |
%files relay |
%files relay |
291 |
%{_initrddir}/dhcrelay |
%{_initrddir}/dhcrelay |
292 |
|
/lib/systemd/system/dhcrelay |
293 |
%config(noreplace) %{_sysconfdir}/sysconfig/dhcrelay |
%config(noreplace) %{_sysconfdir}/sysconfig/dhcrelay |
294 |
%{_sbindir}/dhcrelay |
%{_sbindir}/dhcrelay |
295 |
%{_mandir}/man8/dhcrelay.8* |
%{_mandir}/man8/dhcrelay.8* |
309 |
%{_libdir}/*.a |
%{_libdir}/*.a |
310 |
%{_mandir}/man3/* |
%{_mandir}/man3/* |
311 |
|
|
|
|
|