aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp2
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-01-27 05:06:42 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-01-27 05:06:42 +0000
commitd815cb04cbb2a222be3aaafbcecb1aa65415d7e9 (patch)
tree1d45b54e42266491d82059233eef00c51f44122f /net/isc-dhcp2
parent1f46700db31ba3496925404863425b821f7e8442 (diff)
Notes
Diffstat (limited to 'net/isc-dhcp2')
-rw-r--r--net/isc-dhcp2/Makefile38
-rw-r--r--net/isc-dhcp2/distinfo1
-rw-r--r--net/isc-dhcp2/files/isc-dhcpd.sh.sample48
-rw-r--r--net/isc-dhcp2/files/patch-aa11
-rw-r--r--net/isc-dhcp2/files/patch-ab26
-rw-r--r--net/isc-dhcp2/files/patch-ad11
-rw-r--r--net/isc-dhcp2/files/patch-ae11
-rw-r--r--net/isc-dhcp2/files/patch-af11
-rw-r--r--net/isc-dhcp2/files/patch-ai11
-rw-r--r--net/isc-dhcp2/files/patch-aj34
-rw-r--r--net/isc-dhcp2/pkg-comment1
-rw-r--r--net/isc-dhcp2/pkg-descr6
-rw-r--r--net/isc-dhcp2/pkg-plist5
13 files changed, 0 insertions, 214 deletions
diff --git a/net/isc-dhcp2/Makefile b/net/isc-dhcp2/Makefile
deleted file mode 100644
index f294fcfa018f..000000000000
--- a/net/isc-dhcp2/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# Ports collection makefile for: dhcp
-# Date created: 7 Mar 1996
-# Whom: se
-#
-# $FreeBSD$
-#
-
-PORTNAME= isc-dhcp
-PORTVERSION= 2.0.5
-CATEGORIES= net
-MASTER_SITES= ftp://ftp.isc.org/isc/dhcp/ \
- ftp://ftp.isc.org/isc/dhcp/dhcp-2.0-history/
-DISTNAME= dhcp-2.0pl5
-
-MAINTAINER= ports@FreeBSD.org
-
-HAS_CONFIGURE= yes
-
-STARTUP_SCRIPT= isc-dhcpd.sh.sample
-PLIST_SUB= STARTUP_SCRIPT=${STARTUP_SCRIPT}
-
-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 dhcpd dhcrelay
- if [ -f ${PREFIX}/sbin/${file} ]; then \
- strip ${PREFIX}/sbin/${file}; \
- fi
-.endfor
- ${INSTALL_SCRIPT} ${FILESDIR}/${STARTUP_SCRIPT} \
- ${PREFIX}/etc/rc.d/${STARTUP_SCRIPT}
-
-.include <bsd.port.mk>
diff --git a/net/isc-dhcp2/distinfo b/net/isc-dhcp2/distinfo
deleted file mode 100644
index c715797c6726..000000000000
--- a/net/isc-dhcp2/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (dhcp-2.0pl5.tar.gz) = ab22f363a7aff924e2cc9d1019a21498
diff --git a/net/isc-dhcp2/files/isc-dhcpd.sh.sample b/net/isc-dhcp2/files/isc-dhcpd.sh.sample
deleted file mode 100644
index bb90f6b84d6d..000000000000
--- a/net/isc-dhcp2/files/isc-dhcpd.sh.sample
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-# startup scripts for ISC DHCPD.
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
- echo "$0: Cannot determine the PREFIX" >&2
- exit 1
-fi
-
-# If there is a global system configuration file, suck it in.
-if [ -r /etc/defaults/rc.conf ]; then
- . /etc/defaults/rc.conf
- source_rc_confs
-elif [ -r /etc/rc.conf ]; then
- . /etc/rc.conf
-fi
-
-isc_dhcpd_enable=${isc_dhcpd_enable:-YES}
-isc_dhcpd_program=${isc_dhcpd_program:-${PREFIX}/sbin/dhcpd}
-isc_dhcpd_flags=${isc_dhcpd_flags:-'-q'}
-isc_dhcpd_pidfile=${isc_dhcpd_pidfile:-/var/run/dhcpd.pid}
-
-case $1 in
-start)
- case "${isc_dhcpd_enable}" in
- [Yy][Ee][Ss])
- if [ -f ${isc_dhcpd_program} ]; then
- echo -n " isc-dhcpd"
- ${isc_dhcpd_program} ${isc_dhcpd_flags}
- fi
- ;;
- esac
- ;;
-stop)
- if [ -f ${isc_dhcpd_pidfile} ]; then
- PID=`cat ${isc_dhcpd_pidfile}`
- kill -KILL $PID
- fi
- ;;
-restart)
- $0 stop && $0 start;
- ;;
-*)
- echo "usage: $0 {start|stop|restart}" 1>&2
- ;;
-esac
-
-exit 0;
diff --git a/net/isc-dhcp2/files/patch-aa b/net/isc-dhcp2/files/patch-aa
deleted file mode 100644
index ddc33155a339..000000000000
--- a/net/isc-dhcp2/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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-ab b/net/isc-dhcp2/files/patch-ab
deleted file mode 100644
index 90f5491778b9..000000000000
--- a/net/isc-dhcp2/files/patch-ab
+++ /dev/null
@@ -1,26 +0,0 @@
---- Makefile.conf.orig Mon Apr 12 18:35:36 1999
-+++ Makefile.conf Fri Jun 25 16:03:19 1999
-@@ -43,7 +43,7 @@
- CHMOD = chmod
- CATMANPAGES =
- MANCAT = cat
--ETC = /etc
-+ETC = ${PREFIX}/etc
- VARRUN = /var/run
- VARDB = /var/db
-
-@@ -155,6 +155,14 @@
- ##--freebsd--
- #CF = cf/freebsd.h
- #SCRIPT=freebsd
-+#PREFIX ?= /usr/local
-+#BINDIR = ${PREFIX}/sbin
-+#CLIENTBINDIR = ${PREFIX}/sbin
-+#MANCAT = man
-+#ADMMANDIR = ${PREFIX}/man/man8
-+#ADMMANEXT = .8
-+#FFMANDIR = ${PREFIX}/man/man5
-+#FFMANEXT = .5
- ##--freebsd--
-
- ## Rhapsody
diff --git a/net/isc-dhcp2/files/patch-ad b/net/isc-dhcp2/files/patch-ad
deleted file mode 100644
index f00dfad3936f..000000000000
--- a/net/isc-dhcp2/files/patch-ad
+++ /dev/null
@@ -1,11 +0,0 @@
---- common/Makefile.dist.orig Tue Dec 2 06:40:05 1997
-+++ common/Makefile.dist Tue Dec 2 06:40:13 1997
-@@ -42,7 +42,7 @@
-
- DEBUG = -g
- INCLUDES = -I.. -I../includes
--CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
-+CFLAGS += $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
-
- all: libdhcp.a $(CATMANPAGES)
-
diff --git a/net/isc-dhcp2/files/patch-ae b/net/isc-dhcp2/files/patch-ae
deleted file mode 100644
index e253ac86ff2a..000000000000
--- a/net/isc-dhcp2/files/patch-ae
+++ /dev/null
@@ -1,11 +0,0 @@
---- relay/Makefile.dist.orig Tue Dec 2 06:40:54 1997
-+++ relay/Makefile.dist Tue Dec 2 06:41:05 1997
-@@ -39,7 +39,7 @@
- DEBUG = -g
- INCLUDES = -I.. -I../includes
- DHCPLIB = ../common/libdhcp.a
--CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
-+CFLAGS += $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
-
- all: $(PROG) $(CATMANPAGES)
-
diff --git a/net/isc-dhcp2/files/patch-af b/net/isc-dhcp2/files/patch-af
deleted file mode 100644
index 41230398c7b0..000000000000
--- a/net/isc-dhcp2/files/patch-af
+++ /dev/null
@@ -1,11 +0,0 @@
---- server/Makefile.dist.orig Tue Dec 2 06:41:29 1997
-+++ server/Makefile.dist Tue Dec 2 06:41:37 1997
-@@ -39,7 +39,7 @@
- DEBUG = -g
- INCLUDES = -I.. -I../includes
- DHCPLIB = ../common/libdhcp.a
--CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
-+CFLAGS += $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
-
- all: $(PROG) $(CATMANPAGES)
-
diff --git a/net/isc-dhcp2/files/patch-ai b/net/isc-dhcp2/files/patch-ai
deleted file mode 100644
index 613077d0db67..000000000000
--- a/net/isc-dhcp2/files/patch-ai
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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) \
- -DCLIENT_PATH=${CLIENT_PATH}
-
- all: $(PROG) $(CATMANPAGES)
diff --git a/net/isc-dhcp2/files/patch-aj b/net/isc-dhcp2/files/patch-aj
deleted file mode 100644
index 129fe0931d50..000000000000
--- a/net/isc-dhcp2/files/patch-aj
+++ /dev/null
@@ -1,34 +0,0 @@
---- includes/dhcpd.h.orig Sun Jun 20 14:52:30 1999
-+++ includes/dhcpd.h Sun Jun 20 14:53:39 1999
-@@ -418,11 +418,11 @@
- #define _PATH_DHCPD_DB "dhcpd.leases"
- #else
- #ifndef _PATH_DHCPD_CONF
--#define _PATH_DHCPD_CONF "/etc/dhcpd.conf"
-+#define _PATH_DHCPD_CONF "!!PREFIX!!/etc/dhcpd.conf"
- #endif
-
- #ifndef _PATH_DHCPD_DB
--#define _PATH_DHCPD_DB "/etc/dhcpd.leases"
-+#define _PATH_DHCPD_DB "!!PREFIX!!/etc/dhcpd.leases"
- #endif
-
- #ifndef _PATH_DHCPD_PID
-@@ -431,7 +431,7 @@
- #endif
-
- #ifndef _PATH_DHCLIENT_CONF
--#define _PATH_DHCLIENT_CONF "/etc/dhclient.conf"
-+#define _PATH_DHCLIENT_CONF "!!PREFIX!!/etc/dhclient.conf"
- #endif
-
- #ifndef _PATH_DHCLIENT_PID
-@@ -439,7 +439,7 @@
- #endif
-
- #ifndef _PATH_DHCLIENT_DB
--#define _PATH_DHCLIENT_DB "/etc/dhclient.leases"
-+#define _PATH_DHCLIENT_DB "!!PREFIX!!/etc/dhclient.leases"
- #endif
-
- #ifndef _PATH_RESOLV_CONF
diff --git a/net/isc-dhcp2/pkg-comment b/net/isc-dhcp2/pkg-comment
deleted file mode 100644
index 77d728a4ed55..000000000000
--- a/net/isc-dhcp2/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-ISC Dynamic Host Configuration Protocol client and server code
diff --git a/net/isc-dhcp2/pkg-descr b/net/isc-dhcp2/pkg-descr
deleted file mode 100644
index f00e8ae961f0..000000000000
--- a/net/isc-dhcp2/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-ISC-DHCP Dynamic Host Configuration Protocol server
-
-This is a release of the Internet Software Consortium
-DHCP Server (ISC dhcpd). In this release, support for the core
-DHCP protocol is provided. BOOTP support is also provided for
-backwards compatibility.
diff --git a/net/isc-dhcp2/pkg-plist b/net/isc-dhcp2/pkg-plist
deleted file mode 100644
index 901e978ad1f2..000000000000
--- a/net/isc-dhcp2/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-sbin/dhcpd
-sbin/dhcrelay
-etc/rc.d/%%STARTUP_SCRIPT%%
-@exec touch /var/db/dhcpd.leases
-@exec touch %D/etc/dhclient.conf