Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 17 years ago
parent
commit
f6da3819e0
2 changed files with 24 additions and 2 deletions
  1. +2
    -2
      package/base/dhcp/dhcp.conf
  2. +22
    -0
      package/base/dhcp/no-config-install.patch

+ 2
- 2
package/base/dhcp/dhcp.conf

@ -31,8 +31,8 @@ postmake_dhcp() {
cp -v doc/* client/dhclient.conf server/dhcpd.conf $docdir
install_init dhcp $confdir/dhcp.init
cp -v $confdir/dhclient-script $root/etc/dhclient-script
chmod +x $root/etc/dhclient-script
cp -v $confdir/dhclient-script $root/sbin/dhclient-script
chmod +x $root/sbin/dhclient-script
}
postmake="postmake_dhcp"

+ 22
- 0
package/base/dhcp/no-config-install.patch

@ -0,0 +1,22 @@
--- ./client/Makefile.in.orig 2007-11-19 18:32:35.000000000 +0100
+++ ./client/Makefile.in 2007-11-19 18:32:48.000000000 +0100
@@ -153,7 +153,7 @@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-dist_sysconf_DATA = dhclient.conf
+dist_sysconf_DATA =
dhclient_SOURCES = clparse.c dhclient.c dhc6.c
dhclient_LDADD = ../common/libdhcp.a ../minires/libres.a \
../omapip/libomapi.a ../dst/libdst.a
--- ./server/Makefile.in.orig 2007-11-19 18:32:51.000000000 +0100
+++ ./server/Makefile.in 2007-11-19 18:32:57.000000000 +0100
@@ -158,7 +158,7 @@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
AM_CPPFLAGS = -I.. -DLOCALSTATEDIR='"@localstatedir@"'
-dist_sysconf_DATA = dhcpd.conf
+dist_sysconf_DATA =
dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \
omapi.c mdb.c stables.c salloc.c ddns.c dhcpleasequery.c \
dhcpv6.c mdb6.c

Loading…
Cancel
Save