summaryrefslogtreecommitdiffstats
path: root/net/isc-dhcp40-server
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-11-14 14:19:06 +0000
committerobrien <obrien@FreeBSD.org>1997-11-14 14:19:06 +0000
commitad74be84a1c3760d545030a687922da72dbbeebd (patch)
tree39e0d6238556f3bc89d2d4cd470aa18f61e30afa /net/isc-dhcp40-server
parent8ce165dedee5f9c4aae098ccbcfa5f291320b552 (diff)
downloadFreeBSD-ports-ad74be84a1c3760d545030a687922da72dbbeebd.zip
FreeBSD-ports-ad74be84a1c3760d545030a687922da72dbbeebd.tar.gz
Must create empty /var/db/dhcpd.leases file at install.
Read config file from PREFIX/etc rather than /etc.
Diffstat (limited to 'net/isc-dhcp40-server')
-rw-r--r--net/isc-dhcp40-server/Makefile5
-rw-r--r--net/isc-dhcp40-server/pkg-plist1
2 files changed, 5 insertions, 1 deletions
diff --git a/net/isc-dhcp40-server/Makefile b/net/isc-dhcp40-server/Makefile
index 72c71db..05224b8 100644
--- a/net/isc-dhcp40-server/Makefile
+++ b/net/isc-dhcp40-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 7 Mar 1996
# Whom: se
#
-# $Id: Makefile,v 1.11 1997/06/03 22:11:37 asami Exp $
+# $Id: Makefile,v 1.12 1997/10/13 09:14:51 tg Exp $
#
DISTNAME= DHCPD-BETA-5.16
@@ -18,4 +18,7 @@ HAS_CONFIGURE= yes
MAN5= dhcpd.conf.5
MAN8= dhcpd.8
+post-install:
+ touch /var/db/dhcpd.leases
+
.include <bsd.port.mk>
diff --git a/net/isc-dhcp40-server/pkg-plist b/net/isc-dhcp40-server/pkg-plist
index 54b1e57..f5b4d34 100644
--- a/net/isc-dhcp40-server/pkg-plist
+++ b/net/isc-dhcp40-server/pkg-plist
@@ -1,3 +1,4 @@
man/man5/dhcpd.conf.5.gz
man/man8/dhcpd.8.gz
sbin/dhcpd
+@exec touch /var/db/dhcpd.leases
OpenPOWER on IntegriCloud