20 |
# (eugeni) dhclient-exit-hooks script |
# (eugeni) dhclient-exit-hooks script |
21 |
Source9: dhclient-exit-hooks |
Source9: dhclient-exit-hooks |
22 |
Source10: draft-ietf-dhc-ldap-schema-01.txt |
Source10: draft-ietf-dhc-ldap-schema-01.txt |
|
Source11: dhcpd.init |
|
23 |
Source12: dhcpd.service |
Source12: dhcpd.service |
|
Source13: dhcpd6.init |
|
24 |
Source14: dhcpd6.service |
Source14: dhcpd6.service |
|
Source15: dhcrelay.init |
|
25 |
Source16: dhcrelay.service |
Source16: dhcrelay.service |
26 |
# mageia patches |
# mageia patches |
27 |
Patch100: dhcp-4.2.2-ifup.patch |
Patch100: dhcp-4.2.2-ifup.patch |
177 |
|
|
178 |
install -d %{buildroot}%{_bindir} |
install -d %{buildroot}%{_bindir} |
179 |
install -d %{buildroot}%{_sysconfdir}/sysconfig |
install -d %{buildroot}%{_sysconfdir}/sysconfig |
|
install -d %{buildroot}%{_initrddir} |
|
|
install -d %{buildroot}/lib/systemd/system |
|
180 |
install -d %{buildroot}%{_var}/lib/dhcp |
install -d %{buildroot}%{_var}/lib/dhcp |
181 |
install -d %{buildroot}%{_var}/run/dhcpd |
install -d %{buildroot}%{_var}/run/dhcpd |
182 |
|
|
187 |
%{__mv} %{buildroot}%{_sbindir}/dhclient %{buildroot}/sbin/dhclient |
%{__mv} %{buildroot}%{_sbindir}/dhclient %{buildroot}/sbin/dhclient |
188 |
%{__install} -p -m 0755 client/scripts/linux %{buildroot}/sbin/dhclient-script |
%{__install} -p -m 0755 client/scripts/linux %{buildroot}/sbin/dhclient-script |
189 |
|
|
190 |
|
install -d %{buildroot}%{_unitdir} |
191 |
|
install -m 644 %{SOURCE12} %{buildroot}%{_unitdir}/dhcpd.service |
192 |
|
install -m 644 %{SOURCE14} %{buildroot}%{_unitdir}/dhcpd6.service |
193 |
|
install -m 644 %{SOURCE16} %{buildroot}%{_unitdir}/dhcrelay.service |
194 |
|
|
|
install -m0755 %{SOURCE11} %{buildroot}%{_initrddir}/dhcpd |
|
|
install -m0755 %{SOURCE13} %{buildroot}%{_initrddir}/dhcpd6 |
|
|
install -m0755 %{SOURCE15} %{buildroot}%{_initrddir}/dhcrelay |
|
|
install -m 644 %{SOURCE12} %{buildroot}/lib/systemd/system/dhcpd.service |
|
|
install -m 644 %{SOURCE14} %{buildroot}/lib/systemd/system/dhcpd6.service |
|
|
install -m 644 %{SOURCE16} %{buildroot}/lib/systemd/system/dhcrelay.service |
|
195 |
install -m0755 %{SOURCE7} %{SOURCE8} %{buildroot}%{_sbindir}/ |
install -m0755 %{SOURCE7} %{SOURCE8} %{buildroot}%{_sbindir}/ |
196 |
install -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/ |
install -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/ |
197 |
install -m0755 contrib/ldap/dhcpd-conf-to-ldap %{buildroot}%{_sbindir}/ |
install -m0755 contrib/ldap/dhcpd-conf-to-ldap %{buildroot}%{_sbindir}/ |
280 |
|
|
281 |
%files server |
%files server |
282 |
%doc server/dhcpd.conf tests/failover contrib/ldap/dhcp.schema |
%doc server/dhcpd.conf tests/failover contrib/ldap/dhcp.schema |
283 |
%{_initrddir}/dhcpd |
%{_unitdir}/dhcpd.service |
284 |
%{_initrddir}/dhcpd6 |
%{_unitdir}/dhcpd6.service |
|
/lib/systemd/system/dhcpd.service |
|
|
/lib/systemd/system/dhcpd6.service |
|
285 |
%config(noreplace) %{_sysconfdir}/dhcpd.conf |
%config(noreplace) %{_sysconfdir}/dhcpd.conf |
286 |
%config(noreplace) %{_sysconfdir}/dhclient-exit-hooks |
%config(noreplace) %{_sysconfdir}/dhclient-exit-hooks |
287 |
%config(noreplace) %{_sysconfdir}/sysconfig/dhcpd |
%config(noreplace) %{_sysconfdir}/sysconfig/dhcpd |
300 |
%dir %{_var}/run/dhcpd |
%dir %{_var}/run/dhcpd |
301 |
|
|
302 |
%files relay |
%files relay |
303 |
%{_initrddir}/dhcrelay |
%{_unitdir}/dhcrelay.service |
|
/lib/systemd/system/dhcrelay.service |
|
304 |
%config(noreplace) %{_sysconfdir}/sysconfig/dhcrelay |
%config(noreplace) %{_sysconfdir}/sysconfig/dhcrelay |
305 |
%{_sbindir}/dhcrelay |
%{_sbindir}/dhcrelay |
306 |
%{_mandir}/man8/dhcrelay.8* |
%{_mandir}/man8/dhcrelay.8* |