Remove isc-dhcp2 due to v 3 being stable for quite some time
This commit is contained in:
parent
1f46700db3
commit
d815cb04cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53826
@ -177,7 +177,6 @@
|
||||
SUBDIR += iplog
|
||||
SUBDIR += ipsorc
|
||||
SUBDIR += ipw
|
||||
SUBDIR += isc-dhcp2
|
||||
SUBDIR += isc-dhcp3
|
||||
SUBDIR += isic
|
||||
SUBDIR += jabber
|
||||
|
@ -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>
|
@ -1 +0,0 @@
|
||||
MD5 (dhcp-2.0pl5.tar.gz) = ab22f363a7aff924e2cc9d1019a21498
|
@ -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;
|
@ -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 \
|
@ -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
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
@ -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
|
@ -1 +0,0 @@
|
||||
ISC Dynamic Host Configuration Protocol client and server code
|
@ -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.
|
@ -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
|
Loading…
Reference in New Issue
Block a user