fix bug 143704

This commit is contained in:
jvdias 2005-01-03 22:46:19 +00:00
parent 3a422ec48e
commit f9e6e11a2c

View File

@ -2,7 +2,7 @@ Summary: A DHCP (Dynamic Host Configuration Protocol) server and relay agent.
Name: dhcp Name: dhcp
Epoch: 7 Epoch: 7
Version: 3.0.1 Version: 3.0.1
Release: 14 Release: 16
Copyright: distributable Copyright: distributable
Group: System Environment/Daemons Group: System Environment/Daemons
Source0: ftp://ftp.isc.org/isc/dhcp/dhcp-%{version}.tar.gz Source0: ftp://ftp.isc.org/isc/dhcp/dhcp-%{version}.tar.gz
@ -32,6 +32,7 @@ Patch126: dhcp-3.0.1-host_dereference.patch
Patch127: dhcp-3.0.1-restrict-unconfigured-IF.patch Patch127: dhcp-3.0.1-restrict-unconfigured-IF.patch
Patch128: dhcp-3.0.1-check-empty-new-routers.patch Patch128: dhcp-3.0.1-check-empty-new-routers.patch
Patch129: dhcp-3.0.1-fix-ntp.patch Patch129: dhcp-3.0.1-fix-ntp.patch
Patch130: dhcp-3.0.1-release-mode-ifup.patch
URL: http://isc.org/products/DHCP/ URL: http://isc.org/products/DHCP/
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -102,6 +103,7 @@ Libraries for interfacing with the ISC DHCP server.
%patch127 -p1 -b .restrict-unconfigured-IF %patch127 -p1 -b .restrict-unconfigured-IF
%patch128 -p1 -b .check-empty-new-routers %patch128 -p1 -b .check-empty-new-routers
%patch129 -p1 -b .fix-ntp %patch129 -p1 -b .fix-ntp
%patch130 -p1 -b .release-mode-ifup
cp %SOURCE1 . cp %SOURCE1 .
cat <<EOF >site.conf cat <<EOF >site.conf
@ -130,8 +132,9 @@ RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC"
%else %else
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fpic" RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fpic"
%endif %endif
#RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's/\ \-mtune\=[^\=\ ]*//'`
./configure --copts "$RPM_OPT_FLAGS" ./configure --copts "$RPM_OPT_FLAGS"
#make %{?_smp_mflags} CC="gcc33"
make %{?_smp_mflags} CC="cc" make %{?_smp_mflags} CC="cc"
%install %install
@ -221,6 +224,11 @@ fi
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Mon Jan 02 2005 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-16
- fix bug 143704: dhclient -r does not work if lease held by
- dhclient run from ifup . dhclient will now look for the pid
- files created by ifup .
* Wed Nov 17 2004 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-14 * Wed Nov 17 2004 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-14
- NTP: fix bug 139715: merge in new ntp servers only rather than replace - NTP: fix bug 139715: merge in new ntp servers only rather than replace
- all the ntp configuration files; restart ntpd if configuration changed. - all the ntp configuration files; restart ntpd if configuration changed.