diff --git a/dhcpd/dhcpd.patch b/dhcpd/dhcpd.patch new file mode 100644 index 0000000000..63edd47214 --- /dev/null +++ b/dhcpd/dhcpd.patch @@ -0,0 +1,11 @@ +--- server/omapi.c.orig Tue Jun 4 12:02:11 2002 ++++ server/omapi.c Tue Jun 4 12:02:11 2002 +@@ -244,7 +244,7 @@ + if (lease -> binding_state != bar) { + lease -> next_binding_state = bar; + if (supersede_lease (lease, 0, 1, 1, 1)) { +- log_info ("lease %d state changed from %s to %s", ++ log_info ("lease state changed from %s to %s", + ols, nls); + return ISC_R_SUCCESS; + } diff --git a/dhcpd/dhcpd.spec b/dhcpd/dhcpd.spec index 8dc954ee58..f5ac066898 100644 --- a/dhcpd/dhcpd.spec +++ b/dhcpd/dhcpd.spec @@ -33,12 +33,13 @@ Distribution: OpenPKG [REL] Group: DNS License: ISC/BSD Version: 3.0.1rc9 -Release: 20020508 +Release: 20020604 # list of sources Source0: ftp://ftp.isc.org/isc/dhcp/dhcp-%{version}.tar.gz Source1: dhcpd.conf Source2: rc.dhcpd +Patch0: dhcpd.patch # build information Prefix: %{l_prefix} @@ -53,6 +54,7 @@ AutoReqProv: no %prep %setup -q -n dhcp-%{version} + %patch -p0 %build PATH="%{l_prefix}/bin:$PATH"; export PATH