This commit is contained in:
parent
0341434b10
commit
7a1ce40e10
15
dhcp-3.0.6-dhclient-config-no-script.patch
Normal file
15
dhcp-3.0.6-dhclient-config-no-script.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- dhcp-3.0.6/client/dhclient.conf
|
||||||
|
+++ dhcp-3.0.6/client/dhclient.conf 2007/11/19 08:14:01
|
||||||
|
@@ -32,7 +32,11 @@
|
||||||
|
reboot 10;
|
||||||
|
select-timeout 5;
|
||||||
|
initial-interval 2;
|
||||||
|
-script "/sbin/dhclient-script";
|
||||||
|
+
|
||||||
|
+# Default location of the dhclient-script. Note: Setting
|
||||||
|
+# it in the config, disables the -sf command line option!
|
||||||
|
+#script "/sbin/dhclient-script";
|
||||||
|
|
||||||
|
#media "-link0 -link1 -link2", "link0 link1";
|
||||||
|
#reject 192.33.137.209;
|
||||||
|
+
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 19 09:43:56 CET 2007 - mt@suse.de
|
||||||
|
|
||||||
|
- Disabled script setting in the /etc/dhclient.conf,
|
||||||
|
because it overrides the -sf command line option.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 24 10:25:29 CEST 2007 - mt@suse.de
|
Fri Aug 24 10:25:29 CEST 2007 - mt@suse.de
|
||||||
|
|
||||||
|
32
dhcp.spec
32
dhcp.spec
@ -21,11 +21,11 @@ BuildRequires: CASA-devel
|
|||||||
BuildRequires: openldap2-devel
|
BuildRequires: openldap2-devel
|
||||||
License: BSD 3-Clause
|
License: BSD 3-Clause
|
||||||
Group: Productivity/Networking/Boot/Servers
|
Group: Productivity/Networking/Boot/Servers
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
Version: 3.0.6
|
Version: 3.0.6
|
||||||
Release: 14
|
Release: 37
|
||||||
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: http://ftp.isc.org/isc/dhcp/dhcp-%{version}.tar.gz
|
Source0: http://ftp.isc.org/isc/dhcp/dhcp-%{version}.tar.gz
|
||||||
Source1: http://ftp.isc.org/isc/dhcp/dhcp-%{version}.tar.gz.asc
|
Source1: http://ftp.isc.org/isc/dhcp/dhcp-%{version}.tar.gz.asc
|
||||||
Source2: rc.dhcpd
|
Source2: rc.dhcpd
|
||||||
@ -83,19 +83,20 @@ Patch81: dhcp-3.0.3-dhclient-script-dhcdbd.patch
|
|||||||
Patch83: dhcp-3.0.6-dhclient-requests-conf.patch
|
Patch83: dhcp-3.0.6-dhclient-requests-conf.patch
|
||||||
Patch84: dhcp-3.0.6-dhclient-script-ntp-runtime.patch
|
Patch84: dhcp-3.0.6-dhclient-script-ntp-runtime.patch
|
||||||
Patch85: dhcp-send-hostname-rml.patch
|
Patch85: dhcp-send-hostname-rml.patch
|
||||||
|
Patch86: dhcp-3.0.6-dhclient-config-no-script.patch
|
||||||
Obsoletes: dhcp-base
|
Obsoletes: dhcp-base
|
||||||
Provides: dhcp-base:/usr/bin/omshell
|
Provides: dhcp-base:/usr/bin/omshell
|
||||||
PreReq: /bin/touch /sbin/chkconfig
|
PreReq: /bin/touch /sbin/chkconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%package server
|
%package server
|
||||||
Summary: ISC DHCP Server
|
Summary: ISC DHCP Server
|
||||||
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 /usr/sbin/useradd
|
PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp /usr/sbin/useradd
|
||||||
Provides: dhcp_server dhcp:/usr/sbin/dhcpd
|
Provides: dhcp_server dhcp:/usr/sbin/dhcpd
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
|
|
||||||
%package client
|
%package client
|
||||||
Summary: ISC DHCP Client
|
Summary: ISC DHCP Client
|
||||||
Group: Productivity/Networking/Boot/Clients
|
Group: Productivity/Networking/Boot/Clients
|
||||||
@ -103,8 +104,8 @@ 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 dhclient
|
||||||
Obsoletes: dhclient
|
Obsoletes: dhclient
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
|
|
||||||
%package relay
|
%package relay
|
||||||
Summary: DHCP Relay Agent
|
Summary: DHCP Relay Agent
|
||||||
Group: Productivity/Networking/Boot/Servers
|
Group: Productivity/Networking/Boot/Servers
|
||||||
@ -112,13 +113,12 @@ 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 dhcrelay
|
||||||
Obsoletes: dhcrelay
|
Obsoletes: dhcrelay
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header Files and Libraries for dhcpctl API
|
Summary: Header Files and Libraries for dhcpctl API
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: dhcp = %{version}
|
Requires: dhcp = %{version}
|
||||||
|
|
||||||
%if %ul_version >= 1
|
%if %ul_version >= 1
|
||||||
%define VENDOR UnitedLinux
|
%define VENDOR UnitedLinux
|
||||||
%else
|
%else
|
||||||
@ -135,7 +135,6 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Ted Lemon <mellon@fugue.com>
|
Ted Lemon <mellon@fugue.com>
|
||||||
|
|
||||||
|
|
||||||
%description server
|
%description server
|
||||||
This package contains the ISC DHCP server.
|
This package contains the ISC DHCP server.
|
||||||
|
|
||||||
@ -151,7 +150,6 @@ Authors:
|
|||||||
This package also contains software written by Kevin C. Miller <kevinm@andrew.cmu.edu>
|
This package also contains software written by Kevin C. Miller <kevinm@andrew.cmu.edu>
|
||||||
and Jeff Wilson <wilsonj@cs.ecs.baylor.edu>.
|
and Jeff Wilson <wilsonj@cs.ecs.baylor.edu>.
|
||||||
|
|
||||||
|
|
||||||
%description client
|
%description client
|
||||||
This is an alternative DHCP client, the ISC DHCP client for Linux. Like
|
This is an alternative DHCP client, the ISC DHCP client for Linux. Like
|
||||||
"dhcpcd" (the client that is installed by default), it can be used to
|
"dhcpcd" (the client that is installed by default), it can be used to
|
||||||
@ -169,7 +167,6 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Ted Lemon <mellon@fugue.com>
|
Ted Lemon <mellon@fugue.com>
|
||||||
|
|
||||||
|
|
||||||
%description relay
|
%description relay
|
||||||
This is the ISC DHCP relay agent. It can be used as a 'gateway' for
|
This is the ISC DHCP relay agent. It can be used as a 'gateway' for
|
||||||
DHCP messages across physical network segments. This is necessary
|
DHCP messages across physical network segments. This is necessary
|
||||||
@ -178,7 +175,6 @@ routed.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains all of the libraries and headers for developing
|
This package contains all of the libraries and headers for developing
|
||||||
with the Internet Software Consortium (ISC) dhcpctl API.
|
with the Internet Software Consortium (ISC) dhcpctl API.
|
||||||
@ -215,6 +211,7 @@ Authors:
|
|||||||
%patch83 -p1
|
%patch83 -p1
|
||||||
%patch84 -p1
|
%patch84 -p1
|
||||||
%patch85 -p1
|
%patch85 -p1
|
||||||
|
%patch86 -p1
|
||||||
find . -type f -name \*.cat\* -exec rm -f {} \;
|
find . -type f -name \*.cat\* -exec rm -f {} \;
|
||||||
cp -p %{S:2} %{S:3} %{S:11} %{S:12} %{S:14} %{S:32} %{S:33} .
|
cp -p %{S:2} %{S:3} %{S:11} %{S:12} %{S:14} %{S:32} %{S:33} .
|
||||||
for i in README LIESMICH; do
|
for i in README LIESMICH; do
|
||||||
@ -261,7 +258,6 @@ echo "ddns-update-style interim;" > testconf
|
|||||||
work.linux-2.2/server/dhcpd -t -cf testconf || exit 1
|
work.linux-2.2/server/dhcpd -t -cf testconf || exit 1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
MANDIR=%{_mandir} DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} make install
|
MANDIR=%{_mandir} DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} make install
|
||||||
install -m 744 work.linux-2.2/omapip/svtest $RPM_BUILD_ROOT/usr/sbin/svtest
|
install -m 744 work.linux-2.2/omapip/svtest $RPM_BUILD_ROOT/usr/sbin/svtest
|
||||||
install -m 644 work.linux-2.2/dst/libdst.a $RPM_BUILD_ROOT/%{_libdir}
|
install -m 644 work.linux-2.2/dst/libdst.a $RPM_BUILD_ROOT/%{_libdir}
|
||||||
@ -378,7 +374,6 @@ if [ ${FIRST_ARG:-0} -gt 1 ]; then
|
|||||||
/etc/init.d/dhcpd start
|
/etc/init.d/dhcpd start
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# see comment above
|
# see comment above
|
||||||
if [ -f var/adm/dhcpd_needs_insserv ]; then
|
if [ -f var/adm/dhcpd_needs_insserv ]; then
|
||||||
sbin/insserv dhcpd
|
sbin/insserv dhcpd
|
||||||
@ -486,6 +481,9 @@ if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi
|
|||||||
%doc %{_mandir}/man3/dhcpctl.3.gz
|
%doc %{_mandir}/man3/dhcpctl.3.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 19 2007 - mt@suse.de
|
||||||
|
- Disabled script setting in the /etc/dhclient.conf,
|
||||||
|
because it overrides the -sf command line option.
|
||||||
* Fri Aug 24 2007 - mt@suse.de
|
* Fri Aug 24 2007 - mt@suse.de
|
||||||
- Removed getcfg interface config to interface name conversions
|
- Removed getcfg interface config to interface name conversions
|
||||||
* Mon Jul 30 2007 - thoenig@suse.de
|
* Mon Jul 30 2007 - thoenig@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user