Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Install example dhcpd.conf into /usr/share/examples/dhcp



details:   https://anonhg.NetBSD.org/src/rev/028a9761ab7e
branches:  trunk
changeset: 477062:028a9761ab7e
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Sat Oct 09 15:33:36 1999 +0000

description:
Install example dhcpd.conf into /usr/share/examples/dhcp

diffstat:

 distrib/sets/lists/base/mi    |  3 ++-
 distrib/sets/lists/misc/mi    |  3 ++-
 etc/mtree/NetBSD.dist         |  7 ++++++-
 usr.sbin/dhcp/server/Makefile |  9 +++++++++
 4 files changed, 19 insertions(+), 3 deletions(-)

diffs (80 lines):

diff -r 0125848eae59 -r 028a9761ab7e distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Sat Oct 09 14:29:36 1999 +0000
+++ b/distrib/sets/lists/base/mi        Sat Oct 09 15:33:36 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.128 1999/09/29 15:46:15 jdolecek Exp $
+# $NetBSD: mi,v 1.129 1999/10/09 15:33:38 hubertf Exp $
 .
 ./altroot
 ./bin
@@ -767,6 +767,7 @@
 ./usr/share/doc/usd/31.trek
 ./usr/share/examples
 ./usr/share/examples/amd
+./usr/share/examples/dhcp
 ./usr/share/examples/emul
 ./usr/share/examples/emul/svr4
 ./usr/share/examples/emul/svr4/etc
diff -r 0125848eae59 -r 028a9761ab7e distrib/sets/lists/misc/mi
--- a/distrib/sets/lists/misc/mi        Sat Oct 09 14:29:36 1999 +0000
+++ b/distrib/sets/lists/misc/mi        Sat Oct 09 15:33:36 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.21 1999/09/07 15:45:09 perry Exp $
+# $NetBSD: mi,v 1.22 1999/10/09 15:33:38 hubertf Exp $
 ./usr/share/dict/README
 ./usr/share/dict/eign
 ./usr/share/dict/propernames
@@ -206,6 +206,7 @@
 ./usr/share/examples/amd/cd
 ./usr/share/examples/amd/master
 ./usr/share/examples/amd/net
+./usr/share/examples/dhcp/dhcpd.conf
 ./usr/share/examples/emul/svr4/etc/SVR4_MAKEDEV
 ./usr/share/examples/emul/svr4/etc/netconfig
 ./usr/share/examples/emul/svr4/etc/nsswitch.conf
diff -r 0125848eae59 -r 028a9761ab7e etc/mtree/NetBSD.dist
--- a/etc/mtree/NetBSD.dist     Sat Oct 09 14:29:36 1999 +0000
+++ b/etc/mtree/NetBSD.dist     Sat Oct 09 15:33:36 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: NetBSD.dist,v 1.91 1999/09/22 12:54:12 bouyer Exp $
+#      $NetBSD: NetBSD.dist,v 1.92 1999/10/09 15:33:36 hubertf Exp $
 #      @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
 
 /set type=dir uname=root gname=wheel mode=0755
@@ -833,6 +833,11 @@
 # ./usr/share/examples/amd
 ..
 
+# ./usr/share/examples/dhcp
+dhcp
+# ./usr/share/examples/dhcp
+..
+
 # ./usr/share/examples/emul
 emul
 
diff -r 0125848eae59 -r 028a9761ab7e usr.sbin/dhcp/server/Makefile
--- a/usr.sbin/dhcp/server/Makefile     Sat Oct 09 14:29:36 1999 +0000
+++ b/usr.sbin/dhcp/server/Makefile     Sat Oct 09 15:33:36 1999 +0000
@@ -30,12 +30,21 @@
 # OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
+.include <bsd.own.mk>
+
 SRCS   = dhcpd.c dhcp.c bootp.c confpars.c db.c
 PROG   = dhcpd
 MAN    = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
 
+.if ${MKSHARE} != "no"
+FILESDIR= /usr/share/examples/dhcp
+
+FILES= dhcpd.conf
+.endif
+
 OS_SYSTEM !=   uname -s
 OS_RELEASE !=  uname -r
 CPPFLAGS+=-DOS_VERSION="\"${OS_SYSTEM} ${OS_RELEASE}\""
 
 .include <bsd.prog.mk>
+.include <bsd.files.mk>



Home | Main Index | Thread Index | Old Index