SHA256
1
0
forked from pool/dhcp

Accepting request 39103 from home:mtomaschewski:dhcp

Copy from home:mtomaschewski:dhcp/isc-dhcp-31x via accept of submit request 39103 revision 5.
Request was accepted with message:
OK, seems the version is fine...

OBS-URL: https://build.opensuse.org/request/show/39103
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=13
This commit is contained in:
Marius Tomaschewski 2010-04-29 11:19:43 +00:00 committed by Git OBS Bridge
parent a7aebe65fe
commit 4eeca9a16e
5 changed files with 42 additions and 17 deletions

3
dhcp-3.1-ESV.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75faa831bcd8594c621ab48aacf0ae55f676facf205d7e0059f2a0216ac0030a
size 626100

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0010cbf3c63f33226ba7070ec108101d2760b2b2cf1313b41a10b45542256b8e
size 633520

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Thu Apr 29 11:18:20 UTC 2010 - mt@suse.de
- Updated to ISC DHCP 3.1-ESV, an extended support version release
which includes a small number of bug fixes (bnc#592178) over the
3.1.3 version:
* Modified the handling of a connection to avoid releasing the
omapi io object for the connection while it is still in use.
One symptom from this error was a segfault when a failover
secondary attempted to connect to the failover primary if
their clocks were not synchronized.
* Fix test in dhcp_interface_signal_handler to check that the
inner handler has a signal_handler before calling it.
* When using 'ignore client-updates;', the FQDN returned to the
client is no longer truncated to one octet.
* Clean up some compiler warnings - ticket 19054.
- Fixed vlan interface check in dhcpd-restart-hook if-up.d script
(bnc#599702)
- Touch dhclient.leases in post-install script instead to provide
an empty file, versioned provides/obsoletes (rpmlint warnings).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 12 15:53:09 UTC 2010 - mt@suse.de Fri Mar 12 15:53:09 UTC 2010 - mt@suse.de

View File

@ -1,5 +1,5 @@
# #
# spec file for package dhcp (Version 3.1.3) # spec file for package dhcp (Version 3.1.3.ESV)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -19,6 +19,7 @@
Name: dhcp Name: dhcp
%define isc_version 3.1-ESV
%define susefw2dir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services %define susefw2dir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
%define omc_prefix /usr/share/omc %define omc_prefix /usr/share/omc
%define omc_svcdir %{omc_prefix}/svcinfo.d %define omc_svcdir %{omc_prefix}/svcinfo.d
@ -30,13 +31,13 @@ BuildRequires: dos2unix openldap2-devel
License: BSD3c(or similar) License: BSD3c(or similar)
Group: Productivity/Networking/Boot/Servers Group: Productivity/Networking/Boot/Servers
AutoReqProv: on AutoReqProv: on
Version: 3.1.3 Version: 3.1.3.ESV
Release: 3 Release: 0
Summary: Common Files Used by ISC DHCP Software Summary: Common Files Used by ISC DHCP Software
Url: http://www.isc.org/isc/dhcp.html Url: http://www.isc.org/isc/dhcp.html
Source0: dhcp-%{version}.tar.bz2 Source0: dhcp-%{isc_version}.tar.bz2
#Source0: http://ftp.isc.org/isc/dhcp/dhcp-%{version}.tar.gz #Source0: http://ftp.isc.org/isc/dhcp/dhcp-%{isc_version}.tar.gz
#Source1: http://ftp.isc.org/isc/dhcp/dhcp-%{version}.tar.gz.asc #Source1: http://ftp.isc.org/isc/dhcp/dhcp-%{isc_version}.tar.gz.asc
Source2: rc.dhcpd Source2: rc.dhcpd
Source3: rc.dhcrelay Source3: rc.dhcrelay
Source11: sysconfig.dhcpd Source11: sysconfig.dhcpd
@ -103,8 +104,9 @@ Summary: ISC DHCP Client
Group: Productivity/Networking/Boot/Clients Group: Productivity/Networking/Boot/Clients
Requires: net-tools dhcp /usr/bin/host Requires: net-tools dhcp /usr/bin/host
PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp
Provides: dhcp_client dhclient Provides: dhcp_client
Obsoletes: dhclient Provides: dhclient = %{version}
Obsoletes: dhclient < %{version}
AutoReqProv: on AutoReqProv: on
%package relay %package relay
@ -113,8 +115,9 @@ Summary: DHCP Relay Agent
Group: Productivity/Networking/Boot/Servers Group: Productivity/Networking/Boot/Servers
Requires: net-tools dhcp Requires: net-tools dhcp
PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp
Provides: dhcp_relay dhcrelay Provides: dhcp_relay
Obsoletes: dhcrelay Provides: dhcrelay = %{version}
Obsoletes: dhcrelay < %{version}
AutoReqProv: on AutoReqProv: on
%package devel %package devel
@ -189,7 +192,7 @@ Authors:
Ted Lemon <mellon@fugue.com> Ted Lemon <mellon@fugue.com>
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{isc_version}
## ##
%patch0 -p0 %patch0 -p0
%patch1 -p0 %patch1 -p0
@ -293,7 +296,6 @@ install -m 644 sysconfig.dhcpd $RPM_BUILD_ROOT/var/adm/fillup-templates/
install -m 644 sysconfig.syslog-dhcpd $RPM_BUILD_ROOT/var/adm/fillup-templates/ install -m 644 sysconfig.syslog-dhcpd $RPM_BUILD_ROOT/var/adm/fillup-templates/
install -m 644 sysconfig.dhcrelay $RPM_BUILD_ROOT/var/adm/fillup-templates/ install -m 644 sysconfig.dhcrelay $RPM_BUILD_ROOT/var/adm/fillup-templates/
rm -f $RPM_BUILD_ROOT/var/lib/dhcp/dhcpd.leases rm -f $RPM_BUILD_ROOT/var/lib/dhcp/dhcpd.leases
touch $RPM_BUILD_ROOT/var/lib/dhcp/dhclient.leases
install -m 644 client/dhclient.conf $RPM_BUILD_ROOT/etc/dhclient.conf install -m 644 client/dhclient.conf $RPM_BUILD_ROOT/etc/dhclient.conf
sed '/^max-lease-time/ a \ sed '/^max-lease-time/ a \
\ \
@ -409,6 +411,9 @@ exit 0
%preun relay %preun relay
%stop_on_removal dhcrelay %stop_on_removal dhcrelay
%post client
touch var/lib/dhcp/dhclient.leases
%clean %clean
if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi
@ -467,7 +472,6 @@ if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi
/sbin/dhclient /sbin/dhclient
/sbin/dhclient-script /sbin/dhclient-script
%config(noreplace) /etc/dhclient.conf %config(noreplace) /etc/dhclient.conf
%config(noreplace) /var/lib/dhcp/dhclient.leases
%doc %{_mandir}/man5/dhclient.conf.5.gz %doc %{_mandir}/man5/dhclient.conf.5.gz
%doc %{_mandir}/man5/dhclient.leases.5.gz %doc %{_mandir}/man5/dhclient.leases.5.gz
%doc %{_mandir}/man8/dhclient.8.gz %doc %{_mandir}/man8/dhclient.8.gz

View File

@ -62,7 +62,7 @@ iface_needs_restart()
{ {
test -d /sys/class/net/$1/bridge -o \ test -d /sys/class/net/$1/bridge -o \
-d /sys/class/net/$1/bonding -o \ -d /sys/class/net/$1/bonding -o \
-d /proc/net/vlan/$1 -f /proc/net/vlan/$1
} }
case "$0" in case "$0" in