diff options
Diffstat (limited to 'net/isc-dhcp40-server')
-rw-r--r-- | net/isc-dhcp40-server/Makefile | 198 | ||||
-rw-r--r-- | net/isc-dhcp40-server/distinfo | 1 | ||||
-rw-r--r-- | net/isc-dhcp40-server/files/isc-dhcpd.sh.sample | 33 | ||||
-rw-r--r-- | net/isc-dhcp40-server/files/patch-freebsd | 47 | ||||
-rw-r--r-- | net/isc-dhcp40-server/files/patch-site.conf | 38 | ||||
-rw-r--r-- | net/isc-dhcp40-server/pkg-comment | 1 | ||||
-rw-r--r-- | net/isc-dhcp40-server/pkg-descr | 24 | ||||
-rw-r--r-- | net/isc-dhcp40-server/pkg-plist | 36 |
8 files changed, 0 insertions, 378 deletions
diff --git a/net/isc-dhcp40-server/Makefile b/net/isc-dhcp40-server/Makefile deleted file mode 100644 index 4486a54bd5d4..000000000000 --- a/net/isc-dhcp40-server/Makefile +++ /dev/null @@ -1,198 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: dhcp -# Date created: 7 Mar 1996 -# Whom: se -# -# $FreeBSD$ -# - -PORTNAME= dhcp -PORTVERSION= 3.0.r11 -CATEGORIES= net -MASTER_SITES= ftp://ftp.isc.org/isc/%SUBDIR%/ \ - ${US_MASTER_SITES} ${JAPAN_MASTER_SITES} \ - ${AUSTRIA_MASTER_SITES} ${FRANCE_MASTER_SITES} \ - ${FINLAND_MASTER_SITES} ${GERMANY_MASTER_SITES} \ - ${HUNGARY_MASTER_SITES} ${ICELAND_MASTER_SITES} \ - ${LATVIA_MASTER_SITES} ${POLAND_MASTER_SITES} \ - ${RUSSIA_MASTER_SITES} ${SPAIN_MASTER_SITES} \ - ${SWEDEN_MASTER_SITES} ${UK_MASTER_SITES} \ - ${NETHERLANDS_MASTER_SITES} ${BRAZIL_MASTER_SITES} \ - ${GREECE_MASTER_SITES} ${TURKEY_MASTER_SITES} -MASTER_SITE_SUBDIR= dhcp dpcp/dhcp-3.0-history -PKGNAMEPREFIX= isc- -PKGNAMESUFFIX= 3 -DISTNAME= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL} - -MAINTAINER= clefevre@citeweb.net - -# -# Global variables -# - -HAS_CONFIGURE= yes - -PLIST_SUB= DATA_DIR="${DATA_DIR}" RCD_SUBDIR="${RCD_SUBDIR}" \ - CONF_SUBDIR="${CONF_SUBDIR}" SAMP_SUBDIR="${SAMP_SUBDIR}" \ - BIN_SUBDIR="${BIN_SUBDIR}" SBIN_SUBDIR="${SBIN_SUBDIR}" \ - INC_SUBDIR="${INC_SUBDIR}" LIB_SUBDIR="${LIB_SUBDIR}" \ - DOC_SUBDIR="${DOC_SUBDIR}" SAMP_SUFFIX="${SAMP_SUFFIX}" - -MAN1= omshell.1 -MAN3= dhcpctl.3 omapi.3 omshell.3 -MAN5= dhclient.conf.5 dhclient.leases.5 dhcp-contrib.5 \ - dhcp-eval.5 dhcp-options.5 dhcpd.conf.5 \ - dhcpd.leases.5 -MAN8= dhclient.8 dhclient-script.8 dhcpd.8 dhcrelay.8 - -# -# Local variables -# - -# fast -AUSTRIA_MASTER_SITES= ftp://gd.tuwien.ac.at/infosys/servers/isc/%SUBDIR%/ -FRANCE_MASTER_SITES= ftp://ftp.ciril.fr/pub/isc/%SUBDIR%/ \ - ftp://ftp.grolier.fr/pub/isc/%SUBDIR%/ -FINLAND_MASTER_SITES= ftp://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/%SUBDIR%/ -GERMANY_MASTER_SITES= ftp://ftp.freenet.de/pub/ftp.isc.org/isc/%SUBDIR%/ \ - ftp://ftp.gigabell.net/pub/%SUBDIR%/ -HUNGARY_MASTER_SITES= ftp://ftp.fsn.hu/pub/isc/%SUBDIR%/ -ICELAND_MASTER_SITES= ftp://ftp.gm.is/pub/isc/%SUBDIR%/ -JAPAN_MASTER_SITES= ftp://ftp.kyushu-u.ac.jp/pub/Net/isc/%SUBDIR%/ \ - ftp://ftp.iij.ad.jp/pub/network/isc/%SUBDIR%/ \ - ftp://ftp.u-aizu.ac.jp/pub/net/isc/%SUBDIR%/ -LATVIA_MASTER_SITES= ftp://ftp.linux.lv/pub/software/isc/%SUBDIR%/ -POLAND_MASTER_SITES= ftp://ftp.task.gda.pl/mirror/ftp.isc.org/isc/%SUBDIR%/ -RUSSIA_MASTER_SITES= ftp://ftp.cdu.elektra.ru/pub/unix/isc/%SUBDIR%/ -SPAIN_MASTER_SITES= ftp://ftp.si.uniovi.es/mirror/isc/%SUBDIR%/ -SWEDEN_MASTER_SITES= ftp://ftp.sunet.se/pub/network/isc/%SUBDIR%/ \ - ftp://ftp.chl.chalmers.se/pub/unix/network/isc/%SUBDIR%/ -UK_MASTER_SITES= ftp://unix.hensa.ac.uk/mirrors/ftp.isc.org/isc/%SUBDIR%/ -US_MASTER_SITES= ftp://ftp.epix.net/pub/isc/%SUBDIR%/ \ - ftp://ftp.nominum.com/pub/isc/%SUBDIR%/ -NETHERLANDS_MASTER_SITES= ftp://ftp.ripe.net/mirrors/sites/ftp.isc.org/isc/%SUBDIR%/ \ - ftp://ftp.nl.uu.net/pub/mirrors/ftp.isc.org/%SUBDIR%/ - -# slow -BRAZIL_MASTER_SITES= ftp://ftp.pop-mg.com.br/pub/isc/%SUBDIR%/ -GREECE_MASTER_SITES= ftp://ftp.ntua.gr/pub/net/isc/isc/%SUBDIR%/ -TURKEY_MASTER_SITES= ftp://ftp.ulak.net.tr/pub/networking/isc/%SUBDIR%/ \ - ftp://ftp.metu.edu.tr/pub/mirrors/ftp.isc.org/%SUBDIR%/ - -# for instance, possible version formats are, in order: -# 1.2.r3.4 (or 1.2.b3.4), 1.2.r3 (or 1.2.b3), 1.2.3, 1.2 -# which have to become: -# 1.2rc3pl4 (or 1.2beta3pl4), 1.2rc3 (or 1.2beta3), 1.2pl3, 1.2 -VERSION= -PATCHLEVEL= -.if ${PORTVERSION:R:E:M[br]*} != "" -RELEASE= ${PORTVERSION:R:R} -VERSION= ${PORTVERSION:R:E:S/b/beta/:S/r/rc/} -PATCHLEVEL= pl${PORTVERSION:E} -.elif ${PORTVERSION:E:M[br]*} != "" -RELEASE= ${PORTVERSION:R} -VERSION= ${PORTVERSION:E:S/b/beta/:S/r/rc/} -.elif ${PORTVERSION:R:E} != "" -RELEASE= ${PORTVERSION:R} -PATCHLEVEL= pl${PORTVERSION:E} -.else -RELEASE= ${PORTVERSION} -.endif - -PATCH_SUBDIRS= common minires dst omapip server client relay dhcpctl - -SAMP_SUFFIX= .sample - -BIN_FILES= dhclient dhcpd dhcrelay -CONF_FILES= dhclient.conf -SAMP_FILES= client/dhclient.conf server/dhcpd.conf -RCD_FILES= isc-dhcpd.sh${SAMP_SUFFIX} -DOC_FILES= CHANGES COPYRIGHT README RELNOTES -DATA_FILES= dhclient.leases dhcpd.leases - -BIN_SUBDIR= bin -SBIN_SUBDIR= sbin -CONF_SUBDIR= etc -SAMP_SUBDIR= ${CONF_SUBDIR} -RCD_SUBDIR= etc/rc.d -INC_SUBDIR= include -LIB_SUBDIR= lib -DOC_SUBDIR= share/doc/${PKGBASE} -DATA_DIR= /var/db - -STRIP_CMD?= strip - -# -# Post-patch -# - -post-patch: patch-scripts patch-makefile-conf patch-makefiles-dist \ - patch-man-pages - -patch-scripts: - @${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' \ - ${WRKSRC}/client/scripts/freebsd - -patch-makefile-conf: - @${PERL} -pi.fbsd -e 's|^DEBUG[ ]*=|# DEBUG ?=|g' \ - ${WRKSRC}/Makefile.conf - -patch-makefiles-dist: -.for subdir in ${PATCH_SUBDIRS} - @${PERL} -pi.fbsd -e 's|^CFLAGS[ ]*=|CFLAGS +=|g' \ - ${WRKSRC}/${subdir}/Makefile.dist -.endfor - -# temporary hack - no patch file needed for this typo. -patch-man-pages: - @${PERL} -ni.fbsd -e '/^\.Fd$$/ or print;' ${WRKSRC}/dhcpctl/dhcpctl.3 - -# -# Post-install -# - -post-install: strip-binary-files install-startup-files \ - install-doc-files install-sample-files \ - create-data-files create-conf-files - -strip-binary-files: -.for file in ${BIN_FILES} -.if exists(${PREFIX}/${BIN_SUBDIR}/${file}) - @${STRIP_CMD} ${PREFIX}/${BIN_SUBDIR}/${file} -.endif -.endfor - -install-startup-files: -.for file in ${RCD_FILES} - @${INSTALL_SCRIPT} ${FILESDIR}/${file} ${PREFIX}/${RCD_SUBDIR} -.endfor - -install-doc-files: -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/${DOC_SUBDIR} -.for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/${DOC_SUBDIR} -.endfor -.endif - -install-sample-files: -.for file in ${SAMP_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} \ - ${PREFIX}/${SAMP_SUBDIR}/${file:T}${SAMP_SUFFIX} -.endfor - -create-data-files: -.for file in ${DATA_FILES} -.if !exists(${DATA_DIR}/${file}) - @${TOUCH} ${DATA_DIR}/${file} -.endif -.endfor - -create-conf-files: -.for file in ${CONF_FILES} -.if !exists(${PREFIX}/${CONF_SUBDIR}/${file}) - @${TOUCH} ${PREFIX}/${CONF_SUBDIR}/${file} -.endif -.endfor - -.include <bsd.port.mk> diff --git a/net/isc-dhcp40-server/distinfo b/net/isc-dhcp40-server/distinfo deleted file mode 100644 index 7a2ecad54128..000000000000 --- a/net/isc-dhcp40-server/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (dhcp-3.0rc11.tar.gz) = 6b244e2bb056d423a49aca7b6bbeee91 diff --git a/net/isc-dhcp40-server/files/isc-dhcpd.sh.sample b/net/isc-dhcp40-server/files/isc-dhcpd.sh.sample deleted file mode 100644 index bd9f10dbc3fd..000000000000 --- a/net/isc-dhcp40-server/files/isc-dhcpd.sh.sample +++ /dev/null @@ -1,33 +0,0 @@ -#! /bin/sh - -# $FreeBSD$ - -OPTIONS="" -IFACES="" - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - ${PREFIX}/sbin/dhcpd $OPTIONS $IFACES > /dev/null 2>&1 - echo -n ' dhcpd' - ;; -stop) - killall dhcpd - ;; -restart) - $0 stop - $0 start - ;; -status) - ps -auxww | egrep '(conserver|console)' | egrep -v "($0|egrep)" - ;; -*) - echo "usage: ${0##*/} {start|stop|restart|status}" >&2 - ;; -esac - -exit 0 diff --git a/net/isc-dhcp40-server/files/patch-freebsd b/net/isc-dhcp40-server/files/patch-freebsd deleted file mode 100644 index 62fe0a127a40..000000000000 --- a/net/isc-dhcp40-server/files/patch-freebsd +++ /dev/null @@ -1,47 +0,0 @@ ---- client/scripts/freebsd.orig Fri Apr 20 22:01:14 2001 -+++ client/scripts/freebsd Sat Apr 21 19:01:59 2001 -@@ -16,17 +16,17 @@ - # Must be used on exit. Invokes the local dhcp client exit hooks, if any. - exit_with_hooks() { - exit_status=$1 -- if [ -f /etc/dhclient-exit-hooks ]; then -- . /etc/dhclient-exit-hooks -+ if [ -f !!PREFIX!!/etc/dhclient-exit-hooks ]; then -+ . !!PREFIX!!/etc/dhclient-exit-hooks - fi - # probably should do something with exit status of the local script - exit $exit_status - } - - # Invoke the local dhcp client enter hooks, if they exist. --if [ -f /etc/dhclient-enter-hooks ]; then -+if [ -f !!PREFIX!!/etc/dhclient-enter-hooks ]; then - exit_status=0 -- . /etc/dhclient-enter-hooks -+ . !!PREFIX!!/etc/dhclient-enter-hooks - # allow the local script to abort processing of this state - # local script must set exit_status variable to nonzero. - if [ $exit_status -ne 0 ]; then -@@ -35,11 +35,11 @@ - fi - - if [ x$new_network_number != x ]; then -- $LOGGER New Network Number: $new_network_number -+ $LOGGER "New Network Number: $new_network_number" - fi - - if [ x$new_broadcast_address != x ]; then -- $LOGGER New Broadcast Address: $new_broadcast_address -+ $LOGGER "New Broadcast Address: $new_broadcast_address" - new_broadcast_arg="broadcast $new_broadcast_address" - fi - if [ x$old_broadcast_address != x ]; then -@@ -158,7 +158,7 @@ - shift; shift - done - fi -- arp -n -a | sed -n -e 's/^.*(\(.*\)) at .*$/arp -n -d \1/p' \ -+ arp -n -a | sed -n -e 's/^.*(\(.*\)) at .*$/arp -d \1/p' \ - |sh >/dev/null 2>&1 - fi - if [ x$alias_ip_address != x ]; then diff --git a/net/isc-dhcp40-server/files/patch-site.conf b/net/isc-dhcp40-server/files/patch-site.conf deleted file mode 100644 index 5c14e470dcbc..000000000000 --- a/net/isc-dhcp40-server/files/patch-site.conf +++ /dev/null @@ -1,38 +0,0 @@ ---- site.conf.orig Wed Jul 7 17:20:10 1999 -+++ site.conf Sun Jun 24 02:07:17 2001 -@@ -1,2 +1,35 @@ - # Put local site configuration stuff here to override the default - # settings in Makefile.conf -+ -+PREFIX ?= /usr/local -+ -+USERBINDIR = $(PREFIX)/bin -+BINDIR = $(PREFIX)/sbin -+CLIENTBINDIR = $(PREFIX)/sbin -+ADMMANDIR = $(PREFIX)/man/man8 -+ADMMANEXT = .8 -+FFMANDIR = $(PREFIX)/man/man5 -+FFMANEXT = .5 -+LIBMANDIR = $(PREFIX)/man/man3 -+LIBMANEXT = .3 -+USRMANDIR = $(PREFIX)/man/man1 -+USRMANEXT = .1 -+MANCAT = man -+# INSTALL = ${INSTALL_DATA} -+# MANINSTALL = ${INSTALL_MAN} -+ETC = $(PREFIX)/etc -+LIBDIR = ${PREFIX}/lib -+INCDIR = ${PREFIX}/include -+ -+DEBUG ?= #none -+ -+CFLAGS += -D_PATH_DHCPD_CONF=\"$(ETC)/dhcpd.conf\" -+CFLAGS += -D_PATH_DHCPD_DB=\"$(VARDB)/dhcpd.leases\" -+CFLAGS += -D_PATH_DHCPD_PID=\"$(VARRUN)/dhcpd.pid\" -+ -+CFLAGS += -D_PATH_DHCRELAY_PID=\"$(VARRUN)/dhcrelay.pid\" -+ -+CFLAGS += -D_PATH_DHCLIENT_CONF=\"$(ETC)/dhclient.conf\" -+CFLAGS += -D_PATH_DHCLIENT_SCRIPT=\"$(CLIENTBINDIR)/dhclient-script\" -+CFLAGS += -D_PATH_DHCLIENT_DB=\"$(VARDB)/dhclient.leases\" -+CFLAGS += -D_PATH_DHCLIENT_PID=\"$(VARDB)/dhclient.pid\" diff --git a/net/isc-dhcp40-server/pkg-comment b/net/isc-dhcp40-server/pkg-comment deleted file mode 100644 index 77d728a4ed55..000000000000 --- a/net/isc-dhcp40-server/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -ISC Dynamic Host Configuration Protocol client and server code diff --git a/net/isc-dhcp40-server/pkg-descr b/net/isc-dhcp40-server/pkg-descr deleted file mode 100644 index 47c2b8c9ada8..000000000000 --- a/net/isc-dhcp40-server/pkg-descr +++ /dev/null @@ -1,24 +0,0 @@ -The ISC Dynamic Host Configuration Protocol Distribution provides a -freely redistributable reference implementation of all aspects of the -DHCP protocol, through a suite of DHCP tools: - - * A DHCP server - * A DHCP client - * A DHCP relay agent - -Version 3 of the ISC DHCP Distribution includes the following features -that are new since version 2.0: - - * DHCP Failover Protocol support - * OMAPI, an API for accessing and modifying the DHCP server and client state - * Conditional behaviour - * Storing arbitrary information on leases - * Address pools with access control - * Client classing - * Address allocation restriction by class - * Relay agent information option support - * Dynamic DNS updates - * Many bug fixes, performance enhancements, and minor new DHCP protocol - features. - -WWW: http://www.isc.org/products/DHCP/ diff --git a/net/isc-dhcp40-server/pkg-plist b/net/isc-dhcp40-server/pkg-plist deleted file mode 100644 index 14392593c635..000000000000 --- a/net/isc-dhcp40-server/pkg-plist +++ /dev/null @@ -1,36 +0,0 @@ -@comment $FreeBSD$ -%%SAMP_SUBDIR%%/dhclient.conf%%SAMP_SUFFIX%% -%%SAMP_SUBDIR%%/dhcpd.conf%%SAMP_SUFFIX%% -%%RCD_SUBDIR%%/isc-dhcpd.sh%%SAMP_SUFFIX%% -%%INC_SUBDIR%%/dhcpctl.h -%%INC_SUBDIR%%/isc-dhcp/boolean.h -%%INC_SUBDIR%%/isc-dhcp/dst.h -%%INC_SUBDIR%%/isc-dhcp/int.h -%%INC_SUBDIR%%/isc-dhcp/lang.h -%%INC_SUBDIR%%/isc-dhcp/list.h -%%INC_SUBDIR%%/isc-dhcp/result.h -%%INC_SUBDIR%%/isc-dhcp/types.h -%%INC_SUBDIR%%/omapip/alloc.h -%%INC_SUBDIR%%/omapip/buffer.h -%%INC_SUBDIR%%/omapip/omapip.h -%%LIB_SUBDIR%%/libdhcpctl.a -%%LIB_SUBDIR%%/libomapi.a -%%BIN_SUBDIR%%/omshell -%%SBIN_SUBDIR%%/dhclient -%%SBIN_SUBDIR%%/dhclient-script -%%SBIN_SUBDIR%%/dhcpd -%%SBIN_SUBDIR%%/dhcrelay -%%PORTDOCS%%%%DOC_SUBDIR%%/CHANGES -%%PORTDOCS%%%%DOC_SUBDIR%%/COPYRIGHT -%%PORTDOCS%%%%DOC_SUBDIR%%/README -%%PORTDOCS%%%%DOC_SUBDIR%%/RELNOTES -@dirrm %%INC_SUBDIR%%/isc-dhcp -@dirrm %%INC_SUBDIR%%/omapip -%%PORTDOCS%%@dirrm %%DOC_SUBDIR%% -@unexec rm -f %%RCD_SUBDIR%%/isc-dhcpd.sh -@exec [ -f %%DATA_DIR%%/dhclient.leases ] || touch %%DATA_DIR%%/dhclient.leases -@unexec [ -s %%DATA_DIR%%/dhclient.leases ] || rm -f %%DATA_DIR%%/dhclient.leases -@exec [ -f %%DATA_DIR%%/dhcpd.leases ] || touch %%DATA_DIR%%/dhcpd.leases -@unexec [ -s %%DATA_DIR%%/dhcpd.leases ] || rm -f %%DATA_DIR%%/dhcpd.leases -@exec [ -f %D/%%CONF_SUBDIR%%/dhclient.conf ] || touch %D/%%CONF_SUBDIR%%/dhclient.conf -@unexec [ -L %D/%%CONF_SUBDIR%%/dhclient.conf -o -s %D/%%CONF_SUBDIR%%/dhclient.conf ] || rm -f %D/%%CONF_SUBDIR%%/dhclient.conf |