Accepting request 442592 from network:dhcp
1 OBS-URL: https://build.opensuse.org/request/show/442592 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=101
This commit is contained in:
commit
e95b1d7f62
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 4 08:25:28 UTC 2016 - ralf.habacker@freenet.de
|
||||||
|
|
||||||
|
- Add config file for registering dhcp server in slp (bsc#992072)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 19 10:37:25 UTC 2016 - mchandras@suse.de
|
Thu May 19 10:37:25 UTC 2016 - mchandras@suse.de
|
||||||
|
|
||||||
|
@ -84,6 +84,7 @@ Source41: dhcp.README
|
|||||||
Source43: DDNS-howto.txt
|
Source43: DDNS-howto.txt
|
||||||
Source44: contrib.tar.gz
|
Source44: contrib.tar.gz
|
||||||
Source45: examples.tar.gz
|
Source45: examples.tar.gz
|
||||||
|
Source46: slp.reg.d.dhcp.reg
|
||||||
Patch1: 0001-dhcp-4.1.1-default-paths.patch
|
Patch1: 0001-dhcp-4.1.1-default-paths.patch
|
||||||
# paranoia patch is included now, but not the
|
# paranoia patch is included now, but not the
|
||||||
# additional patch by thomas@suse.de not ...
|
# additional patch by thomas@suse.de not ...
|
||||||
@ -458,6 +459,10 @@ install -m0755 $RPM_SOURCE_DIR/if-up.d.dhcpd-restart-hook \
|
|||||||
$RPM_BUILD_ROOT/etc/sysconfig/network/scripts/dhcpd-restart-hook
|
$RPM_BUILD_ROOT/etc/sysconfig/network/scripts/dhcpd-restart-hook
|
||||||
ln -sf ../scripts/dhcpd-restart-hook \
|
ln -sf ../scripts/dhcpd-restart-hook \
|
||||||
$RPM_BUILD_ROOT/etc/sysconfig/network/if-up.d/60-dhcpd-restart-hook
|
$RPM_BUILD_ROOT/etc/sysconfig/network/if-up.d/60-dhcpd-restart-hook
|
||||||
|
# slp support
|
||||||
|
install -d -m0755 $RPM_BUILD_ROOT%{_sysconfdir}/slp.reg.d
|
||||||
|
install -m0644 $RPM_SOURCE_DIR/slp.reg.d.dhcp.reg \
|
||||||
|
$RPM_BUILD_ROOT%{_sysconfdir}/slp.reg.d/dhcp.reg
|
||||||
# fix manual page permissions
|
# fix manual page permissions
|
||||||
find $RPM_BUILD_ROOT/%{_mandir} -type f | xargs chmod 644
|
find $RPM_BUILD_ROOT/%{_mandir} -type f | xargs chmod 644
|
||||||
# copy some documentation and examples from src dir
|
# copy some documentation and examples from src dir
|
||||||
@ -658,6 +663,8 @@ if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi
|
|||||||
%dir %{_sysconfdir}/openldap/schema
|
%dir %{_sysconfdir}/openldap/schema
|
||||||
%attr(0644, root, root) %config %{_sysconfdir}/openldap/schema/dhcp.schema
|
%attr(0644, root, root) %config %{_sysconfdir}/openldap/schema/dhcp.schema
|
||||||
%endif
|
%endif
|
||||||
|
%dir %{_sysconfdir}/slp.reg.d
|
||||||
|
%config(noreplace) %{_sysconfdir}/slp.reg.d/dhcp.reg
|
||||||
%{omc_svcdir}/dhcpd.xml
|
%{omc_svcdir}/dhcpd.xml
|
||||||
%{omc_svcdir}/dhcpd6.xml
|
%{omc_svcdir}/dhcpd6.xml
|
||||||
%{_sysconfdir}/sysconfig/network/scripts/dhcpd-restart-hook
|
%{_sysconfdir}/sysconfig/network/scripts/dhcpd-restart-hook
|
||||||
|
11
slp.reg.d.dhcp.reg
Normal file
11
slp.reg.d.dhcp.reg
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#############################################################################
|
||||||
|
#
|
||||||
|
# OpenSLP registration file
|
||||||
|
#
|
||||||
|
# register dhcp service daemon
|
||||||
|
#
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
service:dhcp://$HOSTNAME:67,en,65535
|
||||||
|
watch-port-udp=67
|
||||||
|
description=DHCP Service
|
Loading…
x
Reference in New Issue
Block a user