Accepting request 416901 from home:rhabacker:branches:network:dhcp
Add config file for registering dhcp server in slp (bsc#992072) OBS-URL: https://build.opensuse.org/request/show/416901 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=167
This commit is contained in:
parent
2b7443fd02
commit
09799de8fb
@ -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
|
||||
|
||||
|
@ -84,6 +84,7 @@ Source41: dhcp.README
|
||||
Source43: DDNS-howto.txt
|
||||
Source44: contrib.tar.gz
|
||||
Source45: examples.tar.gz
|
||||
Source46: slp.reg.d.dhcp.reg
|
||||
Patch1: 0001-dhcp-4.1.1-default-paths.patch
|
||||
# paranoia patch is included now, but not the
|
||||
# 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
|
||||
ln -sf ../scripts/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
|
||||
find $RPM_BUILD_ROOT/%{_mandir} -type f | xargs chmod 644
|
||||
# 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
|
||||
%attr(0644, root, root) %config %{_sysconfdir}/openldap/schema/dhcp.schema
|
||||
%endif
|
||||
%dir %{_sysconfdir}/slp.reg.d
|
||||
%config(noreplace) %{_sysconfdir}/slp.reg.d/dhcp.reg
|
||||
%{omc_svcdir}/dhcpd.xml
|
||||
%{omc_svcdir}/dhcpd6.xml
|
||||
%{_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…
Reference in New Issue
Block a user