aboutsummaryrefslogtreecommitdiffstats
path: root/net/isc-dhcp3-server
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-11-14 22:19:06 +0800
committerobrien <obrien@FreeBSD.org>1997-11-14 22:19:06 +0800
commitad74be84a1c3760d545030a687922da72dbbeebd (patch)
tree39e0d6238556f3bc89d2d4cd470aa18f61e30afa /net/isc-dhcp3-server
parent8ce165dedee5f9c4aae098ccbcfa5f291320b552 (diff)
downloadfreebsd-ports-gnome-ad74be84a1c3760d545030a687922da72dbbeebd.tar.gz
freebsd-ports-gnome-ad74be84a1c3760d545030a687922da72dbbeebd.tar.zst
freebsd-ports-gnome-ad74be84a1c3760d545030a687922da72dbbeebd.zip
Must create empty /var/db/dhcpd.leases file at install.
Read config file from PREFIX/etc rather than /etc.
Diffstat (limited to 'net/isc-dhcp3-server')
-rw-r--r--net/isc-dhcp3-server/Makefile5
-rw-r--r--net/isc-dhcp3-server/pkg-plist1
2 files changed, 5 insertions, 1 deletions
diff --git a/net/isc-dhcp3-server/Makefile b/net/isc-dhcp3-server/Makefile
index 72c71dbddeb8..05224b8bba54 100644
--- a/net/isc-dhcp3-server/Makefile
+++ b/net/isc-dhcp3-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-dhcp3-server/pkg-plist b/net/isc-dhcp3-server/pkg-plist
index 54b1e574e2d6..f5b4d3434bf4 100644
--- a/net/isc-dhcp3-server/pkg-plist
+++ b/net/isc-dhcp3-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