aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp2
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>2000-08-01 23:53:18 +0000
committerJustin M. Seger <jseger@FreeBSD.org>2000-08-01 23:53:18 +0000
commit9d3376a517fbcd90db466879923aac68921bf702 (patch)
treee5f5e96e0923eb63925e43865c3282a5b0321860 /net/isc-dhcp2
parent324dfb8f33bb5adda3234feabf265b78120a78c2 (diff)
Unmark FORBIDDEN
Upgrade to 2.0pl3 Remove client support. dhclient is in the base system. Anyone needing it from ports can use 3.0
Notes
Notes: svn path=/head/; revision=31223
Diffstat (limited to 'net/isc-dhcp2')
-rw-r--r--net/isc-dhcp2/Makefile13
-rw-r--r--net/isc-dhcp2/distinfo2
-rw-r--r--net/isc-dhcp2/files/patch-aa11
-rw-r--r--net/isc-dhcp2/files/patch-ai12
-rw-r--r--net/isc-dhcp2/pkg-plist2
5 files changed, 23 insertions, 17 deletions
diff --git a/net/isc-dhcp2/Makefile b/net/isc-dhcp2/Makefile
index b42b8320d96b..8643195ce78a 100644
--- a/net/isc-dhcp2/Makefile
+++ b/net/isc-dhcp2/Makefile
@@ -6,29 +6,26 @@
#
PORTNAME= isc-dhcp
-PORTVERSION= 2.0.2
+PORTVERSION= 2.0.3
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/dhcp/
-DISTNAME= dhcp-2.0pl2
+DISTNAME= dhcp-2.0pl3
MAINTAINER= jseger@FreeBSD.org
-FORBIDDEN= security hole found
-
Y2K= http://www.isc.org/y2k.html
HAS_CONFIGURE= yes
-MAN5= dhclient.conf.5 dhclient.leases.5 dhcp-options.5 dhcpd.conf.5 \
- dhcpd.leases.5
-MAN8= dhclient.8 dhclient-script.8 dhcpd.8 dhcrelay.8
+MAN5= dhcp-options.5 dhcpd.conf.5 dhcpd.leases.5
+MAN8= dhcpd.8 dhcrelay.8
post-patch:
@${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/includes/dhcpd.h
post-install:
${TOUCH} /var/db/dhcpd.leases
-.for file in dhclient dhcpd dhcrelay
+.for file in dhcpd dhcrelay
if [ -f ${PREFIX}/sbin/${file} ]; then \
strip ${PREFIX}/sbin/${file}; \
fi
diff --git a/net/isc-dhcp2/distinfo b/net/isc-dhcp2/distinfo
index 6dd3bc285356..5d7de0cc171b 100644
--- a/net/isc-dhcp2/distinfo
+++ b/net/isc-dhcp2/distinfo
@@ -1 +1 @@
-MD5 (dhcp-2.0pl2.tar.gz) = 145cb54107ea067fe2b8401e5ef5060f
+MD5 (dhcp-2.0pl3.tar.gz) = 802da1920bd570c361359e0fabc536a6
diff --git a/net/isc-dhcp2/files/patch-aa b/net/isc-dhcp2/files/patch-aa
new file mode 100644
index 000000000000..ddc33155a339
--- /dev/null
+++ b/net/isc-dhcp2/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.dist.orig Tue Feb 23 13:08:50 1999
++++ Makefile.dist Tue Aug 1 19:42:55 2000
+@@ -30,7 +30,7 @@
+ # OF THE POSSIBILITY OF SUCH DAMAGE.
+ #
+
+-SUBDIRS= common server client relay
++SUBDIRS= common server relay
+
+ all:
+ @for dir in ${SUBDIRS}; do \
diff --git a/net/isc-dhcp2/files/patch-ai b/net/isc-dhcp2/files/patch-ai
index 7927cbffb9ff..613077d0db67 100644
--- a/net/isc-dhcp2/files/patch-ai
+++ b/net/isc-dhcp2/files/patch-ai
@@ -1,11 +1,11 @@
---- client/Makefile.dist.orig Wed Dec 3 19:33:35 1997
-+++ client/Makefile.dist Wed Dec 3 19:33:44 1997
-@@ -40,7 +40,7 @@
+--- client/Makefile.dist.orig Thu Jul 20 01:06:39 2000
++++ client/Makefile.dist Tue Aug 1 16:40:00 2000
+@@ -42,7 +42,7 @@
DEBUG = -g
INCLUDES = -I.. -I../includes
DHCPLIB = ../common/libdhcp.a
--CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
-+CFLAGS += $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
+-CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) \
++CFLAGS+ = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) \
+ -DCLIENT_PATH=${CLIENT_PATH}
all: $(PROG) $(CATMANPAGES)
-
diff --git a/net/isc-dhcp2/pkg-plist b/net/isc-dhcp2/pkg-plist
index 7a882e2ce1c7..576a2be0296d 100644
--- a/net/isc-dhcp2/pkg-plist
+++ b/net/isc-dhcp2/pkg-plist
@@ -1,5 +1,3 @@
-etc/dhclient-script
-sbin/dhclient
sbin/dhcpd
sbin/dhcrelay
@exec touch /var/db/dhcpd.leases