]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
[master]
authorShawn Routhier <sar@isc.org>
Mon, 19 Nov 2012 19:42:38 +0000 (11:42 -0800)
committerShawn Routhier <sar@isc.org>
Mon, 19 Nov 2012 19:42:38 +0000 (11:42 -0800)
Move the dhclient.conf and dhcpd.conf files to *.example
to avoid overwriting them during installation.

README
RELNOTES
client/Makefile.am
client/Makefile.in
client/dhclient.conf.example [moved from client/dhclient.conf with 100% similarity]
server/Makefile.am
server/Makefile.in
server/dhcpd.conf.example [moved from server/dhcpd.conf with 100% similarity]

diff --git a/README b/README
index 7e49c489969a05ce2b439950e55110347ebd5e15..592dae23c234883fa4eecaf13f9ec865830dcf3c 100644 (file)
--- a/README
+++ b/README
@@ -58,8 +58,8 @@ DHCP server documentation is in the dhcpd man page.  Information about
 the DHCP server lease database is in the dhcpd.leases man page.
 Server configuration documentation is in the dhcpd.conf man page as
 well as the dhcp-options man page.   A sample DHCP server
-configuration is in the file server/dhcpd.conf.   The source for the
-dhcpd, dhcpd.leases and dhcpd.conf man pages is in the server/ sub-
+configuration is in the file server/dhcpd.conf.example.   The source for
+the dhcpd, dhcpd.leases and dhcpd.conf man pages is in the server/ sub-
 directory in the distribution.   The source for the dhcp-options.5
 man page is in the common/ subdirectory.
 
index 40088246bdc475b291f78f7387e5b366c2e3f548..12ddfc8a6e1ae0df47b87c13df7b340e3b9aa523 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -172,6 +172,12 @@ work on other platforms. Please report any problems and suggested fixes to
 - Tidy up some compiler issues in the debug code
   [ISC-Bugs #26460]
 
+- Move the dhcpd.conf exmample file to dhcpd.conf.example to avoid
+  overwriting the dhcpd.conf file when installing a new version of
+  ISC DHCP.  The user will now need to manual copy and edit the
+  dhcpd.conf file as desired.
+  [ISC-Bugs #19337]
+
                        Changes since 4.2.3
 
 ! Add a check for a null pointer before calling the regexec function.
index 57c6ac931073d6021eaafe60965c35d37ad05911..39ddf6f65b10d3c427074bb2ae65c07f1c472711 100644 (file)
@@ -1,4 +1,4 @@
-dist_sysconf_DATA = dhclient.conf
+dist_sysconf_DATA = dhclient.conf.example
 sbin_PROGRAMS = dhclient
 dhclient_SOURCES = clparse.c dhclient.c dhc6.c \
                   scripts/bsdos scripts/freebsd scripts/linux scripts/macos \
index 961f5fa25d321e0bb185a80e8d1cbda158100f8d..1664f43b23a2d78593fcaca7718b58c6fda2d890 100644 (file)
@@ -168,7 +168,7 @@ target_alias = @target_alias@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-dist_sysconf_DATA = dhclient.conf
+dist_sysconf_DATA = dhclient.conf.example
 dhclient_SOURCES = clparse.c dhclient.c dhc6.c \
                   scripts/bsdos scripts/freebsd scripts/linux scripts/macos \
                   scripts/netbsd scripts/nextstep scripts/openbsd \
index 6cd3329f51800b89565a7b5892825742cd3ea535..dc5d4f3d593c12aac6ec992b1dfc5f87f36fe003 100644 (file)
@@ -6,7 +6,7 @@ SUBDIRS = . tests
 
 AM_CPPFLAGS = -I.. -DLOCALSTATEDIR='"@localstatedir@"'
 
-dist_sysconf_DATA = dhcpd.conf
+dist_sysconf_DATA = dhcpd.conf.example
 sbin_PROGRAMS = dhcpd
 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 \
index ba0167de2941b326f0b9274bb5ed5e953f642ee6..ea381ddfca3f1e5da37efcaff94e9352a4f8cb42 100644 (file)
@@ -195,7 +195,7 @@ top_srcdir = @top_srcdir@
 # production code. Sadly, we are not there yet.
 SUBDIRS = . tests
 AM_CPPFLAGS = -I.. -DLOCALSTATEDIR='"@localstatedir@"'
-dist_sysconf_DATA = dhcpd.conf
+dist_sysconf_DATA = dhcpd.conf.example
 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 ldap.c ldap_casa.c
similarity index 100%
rename from server/dhcpd.conf
rename to server/dhcpd.conf.example