diff options
Diffstat (limited to 'net')
388 files changed, 0 insertions, 24902 deletions
diff --git a/net/asterisk10/Makefile b/net/asterisk10/Makefile deleted file mode 100644 index 80430418c78e..000000000000 --- a/net/asterisk10/Makefile +++ /dev/null @@ -1,139 +0,0 @@ -# New ports collection makefile for: asterisk -# Date created: 17 October 2003 -# Whom: Maxim Sobolev <sobomax@portaone.com> -# -# $FreeBSD$ -# - -PORTNAME= asterisk -PORTVERSION= 1.4.3 -CATEGORIES= net -MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \ - http://ftp.digium.com/pub/asterisk/old-releases/ - -MAINTAINER= sobomax@FreeBSD.org -COMMENT= An Open Source PBX and telephony toolkit - -BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 -LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex \ - newt.51:${PORTSDIR}/devel/newt \ - curl.4:${PORTSDIR}/ftp/curl -RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 - -ONLY_FOR_ARCHS= i386 sparc64 amd64 - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --mandir=${LOCALBASE}/man -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" -USE_GMAKE= yes -USE_BISON= yes -USE_RC_SUBR= asterisk.sh -MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ - PTHREAD_LIBS="${PTHREAD_LIBS}" \ - MKDIR="${MKDIR}" \ - PWLIBDIR=${LOCALBASE}/share/pwlib \ - OPENH323DIR=${LOCALBASE}/share/openh323 \ - OSVERSION=${OSVERSION} \ - CXX="${CXX}" -MAN8= asterisk.8 astgenkey.8 autosupport.8 safe_asterisk.8 - -OPTIONS= OGGVORBIS "Enable Ogg Vorbis support" on \ - ODBC "Enable ODBC support" on \ - POSTGRES "Enable PostgreSQL support" on \ - RADIUS "Enable RADIUS accounting support" on \ - SNMP "Enable SNMP support" on \ - H323 "Enable H.323 support" on \ - JABBER "Enable Jabber and Gtalk support" on - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "i386" -OPTIONS+= ZAPTEL "Enable Zaptel support" on -.else -WITHOUT_ZAPTEL= yes -.endif - -.if defined(WITHOUT_H323) -PLIST_SUB+= WITH_H323="@comment " -CONFIGURE_ARGS+= --without-h323 -.else -PLIST_SUB+= WITH_H323="" -CONFIGURE_ARGS+= --with-h323 -LIB_DEPENDS+= pt_r.1:${PORTSDIR}/devel/pwlib \ - h323_r.1:${PORTSDIR}/net/openh323 -.endif - -.if defined(WITHOUT_ZAPTEL) -PLIST_SUB+= WITH_ZAPTEL="@comment " -CONFIGURE_ARGS+= --without-zaptel -.else -PLIST_SUB+= WITH_ZAPTEL="" -CONFIGURE_ARGS+= --with-zaptel -BUILD_DEPENDS+= libpri>=1.2.0:${PORTSDIR}/misc/libpri \ - ${LOCALBASE}/include/zaptel/zaptel.h:${PORTSDIR}/misc/zaptel -LIB_DEPENDS+= pri.1:${PORTSDIR}/misc/libpri -RUN_DEPENDS+= ${LOCALBASE}/include/zaptel/zaptel.h:${PORTSDIR}/misc/zaptel -.endif - -# -# WITH_FREETDS, WITH_PGSQL and WITH_SQLITE can also be added to MAKE_ENV -# similarly -.if defined(WITHOUT_ODBC) -PLIST_SUB+= WITH_ODBC="@comment " -CONFIGURE_ARGS+= --without-odbc -.else -PLIST_SUB+= WITH_ODBC="" -CONFIGURE_ARGS+= --with-odbc -LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC -.endif - -.if defined(WITHOUT_POSTGRES) -PLIST_SUB+= WITH_POSTGRES="@comment " -CONFIGURE_ARGS+= --without-postgres -.else -PLIST_SUB+= WITH_POSTGRES="" -USE_PGSQL= yes -CONFIGURE_ARGS+= --with-postgres -.endif - -.if defined(WITHOUT_OGGVORBIS) -PLIST_SUB+= WITH_OGGVORBIS="@comment " -CONFIGURE_ARGS+= --without-ogg -.else -PLIST_SUB+= WITH_OGGVORBIS="" -CONFIGURE_ARGS+= --with-ogg -LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis -.endif - -.if defined(WITHOUT_RADIUS) -PLIST_SUB+= WITH_RADIUS="@comment " -CONFIGURE_ARGS+= --without-radius -.else -PLIST_SUB+= WITH_RADIUS="" -CONFIGURE_ARGS+= --with-radius -LIB_DEPENDS+= radiusclient-ng.2:${PORTSDIR}/net/radiusclient -.endif - -.if defined(WITHOUT_SNMP) -PLIST_SUB+= WITH_SNMP="@comment " -CONFIGURE_ARGS+= --without-netsnmp -.else -PLIST_SUB+= WITH_SNMP="" -CONFIGURE_ARGS+= --with-netsnmp -LIB_DEPENDS+= netsnmp.10:${PORTSDIR}/net-mgmt/net-snmp -.endif - -.if defined(WITHOUT_JABBER) -PLIST_SUB+= WITH_JABBER="@comment " -CONFIGURE_ARGS+= --without-iksemel -.else -PLIST_SUB+= WITH_JABBER="" -CONFIGURE_ARGS+= --with-iksemel -LIB_DEPENDS+= iksemel.3:${PORTSDIR}/textproc/iksemel -.endif - -post-patch: - ${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample - -.include <bsd.port.post.mk> diff --git a/net/asterisk10/distinfo b/net/asterisk10/distinfo deleted file mode 100644 index 214acdd84d5b..000000000000 --- a/net/asterisk10/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (asterisk-1.4.3.tar.gz) = 1df236fa972dc16d1b5265b3c4868085 -SHA256 (asterisk-1.4.3.tar.gz) = 7560d0e82c671042105c4715bc0430e7219cd46dba206cc0864e00b6ffdcf91c -SIZE (asterisk-1.4.3.tar.gz) = 17080162 diff --git a/net/asterisk10/files/asterisk.sh.in b/net/asterisk10/files/asterisk.sh.in deleted file mode 100644 index 4489cb50be04..000000000000 --- a/net/asterisk10/files/asterisk.sh.in +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -# PROVIDE: asterisk -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to enable asterisk: -# -# asterisk_enable="YES" -# - -. %%RC_SUBR%% - -name=asterisk -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/asterisk - -load_rc_config $name - -pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"} - -asterisk_enable=${asterisk_enable:-"NO"} - -run_rc_command "$1" diff --git a/net/asterisk10/files/patch-Makefile b/net/asterisk10/files/patch-Makefile deleted file mode 100644 index f145cb58e89b..000000000000 --- a/net/asterisk10/files/patch-Makefile +++ /dev/null @@ -1,226 +0,0 @@ - -$FreeBSD$ - ---- Makefile.orig -+++ Makefile -@@ -207,7 +207,7 @@ - - ifeq ($(OSARCH),FreeBSD) - # -V is understood by BSD Make, not by GNU make. -- BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk) -+ BSDVERSION=$(OSVERSION) - ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi) - AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi) - endif -@@ -371,15 +371,15 @@ - # Should static HTTP be installed during make samples or even with its own target ala - # webvoicemail? There are portions here that *could* be customized but might also be - # improved a lot. I'll put it here for now. -- mkdir -p $(DESTDIR)$(ASTDATADIR)/static-http -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/static-http - for x in static-http/*; do \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \ - done -- mkdir -p $(DESTDIR)$(ASTDATADIR)/images -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/images - for x in images/*.jpg; do \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/images ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/images ; \ - done -- mkdir -p $(DESTDIR)$(AGI_DIR) -+ $(MKDIR) $(DESTDIR)$(AGI_DIR) - $(MAKE) -C sounds install - - update: -@@ -400,45 +400,45 @@ - OLDHEADERS=$(filter-out $(NEWHEADERS),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h))) - - bininstall: _all -- mkdir -p $(DESTDIR)$(MODULES_DIR) -- mkdir -p $(DESTDIR)$(ASTSBINDIR) -- mkdir -p $(DESTDIR)$(ASTETCDIR) -- mkdir -p $(DESTDIR)$(ASTBINDIR) -- mkdir -p $(DESTDIR)$(ASTVARRUNDIR) -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/dictate -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/system -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/tmp -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/meetme -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/monitor -- $(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/ -+ $(MKDIR) $(DESTDIR)$(MODULES_DIR) -+ $(MKDIR) $(DESTDIR)$(ASTSBINDIR) -+ $(MKDIR) $(DESTDIR)$(ASTETCDIR) -+ $(MKDIR) $(DESTDIR)$(ASTBINDIR) -+ $(MKDIR) $(DESTDIR)$(ASTVARRUNDIR) -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/dictate -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/system -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/tmp -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/meetme -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/monitor -+ $(BSD_INSTALL_PROGRAM) main/asterisk $(DESTDIR)$(ASTSBINDIR)/ - $(LN) -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk -- $(INSTALL) -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/ -- $(INSTALL) -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/ -+ $(BSD_INSTALL_SCRIPT) contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/ -+ $(BSD_INSTALL_SCRIPT) contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/ - if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \ - cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;' > $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\ - chmod 755 $(DESTDIR)$(ASTSBINDIR)/safe_asterisk;\ - fi -- $(INSTALL) -d $(DESTDIR)$(ASTHEADERDIR) -- $(INSTALL) -m 644 include/asterisk.h $(DESTDIR)$(includedir) -- $(INSTALL) -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR) -+ $(MKDIR) $(DESTDIR)$(ASTHEADERDIR) -+ $(BSD_INSTALL_DATA) include/asterisk.h $(DESTDIR)$(includedir) -+ $(BSD_INSTALL_DATA) include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR) - if [ -n "$(OLDHEADERS)" ]; then \ - rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\ - fi -- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-csv -- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-custom -- mkdir -p $(DESTDIR)$(ASTDATADIR)/keys -- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware -- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware/iax -- mkdir -p $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys -- $(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys -- $(INSTALL) -m 644 doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-csv -+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-custom -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/keys -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware/iax -+ $(MKDIR) $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys -+ $(BSD_INSTALL_DATA) keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys -+ $(BSD_INSTALL_DATA) doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 - if [ -f contrib/firmware/iax/iaxy.bin ] ; then \ -- $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \ -+ $(BSD_INSTALL_DATA) contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \ - fi - - $(SUBDIRS_INSTALL): -@@ -465,7 +465,7 @@ - echo " WARNING WARNING WARNING" ;\ - fi - --install: datafiles bininstall $(SUBDIRS_INSTALL) -+install: datafiles bininstall $(SUBDIRS_INSTALL) samples - @if [ -x /usr/sbin/asterisk-post-install ]; then \ - /usr/sbin/asterisk-post-install $(DESTDIR) . ; \ - fi -@@ -495,31 +495,23 @@ - upgrade: bininstall - - adsi: -- mkdir -p $(DESTDIR)$(ASTETCDIR) -+ $(MKDIR) $(DESTDIR)$(ASTETCDIR) - for x in configs/*.adsi; do \ - if [ ! -f $(DESTDIR)$(ASTETCDIR)/$$x ]; then \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \ - fi ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`-dist ; \ - done - - samples: adsi -- mkdir -p $(DESTDIR)$(ASTETCDIR) -+ $(MKDIR) $(DESTDIR)$(ASTETCDIR) - for x in configs/*.sample; do \ -- if [ -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \ -- if [ "$(OVERWRITE)" = "y" ]; then \ -- if cmp -s $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $$x ; then \ -- echo "Config file $$x is unchanged"; \ -- continue; \ -- fi ; \ -- mv -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.old ; \ -- else \ -- echo "Skipping config file $$x"; \ -- continue; \ -- fi ;\ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`-dist ;\ -+ if [ ! -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`;\ - fi ; \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ;\ - done -- if [ "$(OVERWRITE)" = "y" ] || [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \ -+ if true; then \ - ( \ - echo "[directories]" ; \ - echo "astetcdir => $(ASTETCDIR)" ; \ -@@ -540,20 +532,23 @@ - echo ";astctlowner = root" ; \ - echo ";astctlgroup = apache" ; \ - echo ";astctl = asterisk.ctl" ; \ -- ) > $(DESTDIR)$(ASTCONFPATH) ; \ -+ ) > $(DESTDIR)$(ASTCONFPATH)-dist ; \ -+ if [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \ -+ cp $(DESTDIR)$(ASTCONFPATH)-dist $(DESTDIR)$(ASTCONFPATH); \ -+ fi; \ - else \ - echo "Skipping asterisk.conf creation"; \ - fi -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX - build_tools/make_sample_voicemail $(DESTDIR)/$(ASTDATADIR) $(DESTDIR)/$(ASTSPOOLDIR) - - webvmail: - @[ -d $(DESTDIR)$(HTTP_DOCSDIR)/ ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 ) - @[ -d $(DESTDIR)$(HTTP_CGIDIR) ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 ) - $(INSTALL) -m 4755 -o root -g root contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi -- mkdir -p $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk -+ $(MKDIR) $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk - for x in images/*.gif; do \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \ - done - @echo " +--------- Asterisk Web Voicemail ----------+" - @echo " + +" -@@ -580,10 +575,10 @@ - - __rpm: include/asterisk/version.h include/asterisk/buildopts.h spec - rm -rf /tmp/asterisk ; \ -- mkdir -p /tmp/asterisk/redhat/RPMS/i386 ; \ -+ $(MKDIR) /tmp/asterisk/redhat/RPMS/i386 ; \ - $(MAKE) DESTDIR=/tmp/asterisk install ; \ - $(MAKE) DESTDIR=/tmp/asterisk samples ; \ -- mkdir -p /tmp/asterisk/etc/rc.d/init.d ; \ -+ $(MKDIR) /tmp/asterisk/etc/rc.d/init.d ; \ - cp -f contrib/init.d/rc.redhat.asterisk /tmp/asterisk/etc/rc.d/init.d/asterisk ; \ - rpmbuild --rcfile /usr/lib/rpm/rpmrc:redhat/rpmrc -bb asterisk.spec - -@@ -594,19 +589,19 @@ - config: - @if [ "${OSARCH}" = "linux-gnu" ]; then \ - if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \ - /sbin/chkconfig --add asterisk; \ - elif [ -f /etc/debian_version ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.debian.asterisk /etc/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.debian.asterisk /etc/init.d/asterisk; \ - /usr/sbin/update-rc.d asterisk start 10 2 3 4 5 . stop 91 2 3 4 5 .; \ - elif [ -f /etc/gentoo-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.gentoo.asterisk /etc/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.gentoo.asterisk /etc/init.d/asterisk; \ - /sbin/rc-update add asterisk default; \ - elif [ -f /etc/mandrake-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.mandrake.asterisk /etc/rc.d/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.mandrake.asterisk /etc/rc.d/init.d/asterisk; \ - /sbin/chkconfig --add asterisk; \ - elif [ -f /etc/SuSE-release -o -f /etc/novell-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.suse.asterisk /etc/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.suse.asterisk /etc/init.d/asterisk; \ - /sbin/chkconfig --add asterisk; \ - elif [ -f /etc/slackware-version ]; then \ - echo "Slackware is not currently supported, although an init script does exist for it." \ diff --git a/net/asterisk10/files/patch-agi::Makefile b/net/asterisk10/files/patch-agi::Makefile deleted file mode 100644 index f9910fe96dd6..000000000000 --- a/net/asterisk10/files/patch-agi::Makefile +++ /dev/null @@ -1,25 +0,0 @@ ---- agi/Makefile.orig Sat Dec 16 23:14:34 2006 -+++ agi/Makefile Wed Mar 28 11:13:21 2007 -@@ -13,7 +13,9 @@ - - .PHONY: clean all uninstall - --AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi -+AGIS_BIN=eagi-test eagi-sphinx-test -+AGIS_SCR=agi-test.agi jukebox.agi -+AGIS=$(AGIS_SCR) $(AGIS_BIN) - - ifeq ($(OSARCH),SunOS) - LIBS+=-lsocket -lnsl -@@ -31,8 +33,9 @@ eagi-test: eagi-test.o strcompat.o - eagi-sphinx-test: eagi-sphinx-test.o - - install: all -- mkdir -p $(DESTDIR)$(AGI_DIR) -- for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done -+ $(MKDIR) -p $(DESTDIR)$(AGI_DIR) -+ for x in $(AGIS_BIN); do $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(AGI_DIR) ; done -+ for x in $(AGIS_SCR); do $(BSD_INSTALL_SCRIPT) $$x $(DESTDIR)$(AGI_DIR) ; done - - uninstall: - for x in $(AGIS); do rm -f $(DESTDIR)$(AGI_DIR)/$$x ; done diff --git a/net/asterisk10/files/patch-channels::Makefile b/net/asterisk10/files/patch-channels::Makefile deleted file mode 100644 index dbe7d0c7a0d2..000000000000 --- a/net/asterisk10/files/patch-channels::Makefile +++ /dev/null @@ -1,35 +0,0 @@ - -$FreeBSD$ - ---- channels/Makefile.orig -+++ channels/Makefile -@@ -26,8 +26,8 @@ - endif - - ifeq ($(OSARCH),FreeBSD) -- PTLIB=-lpt_FreeBSD_x86_r -- H323LIB=-lh323_FreeBSD_x86_r -+ PTLIB=-lpt_r -+ H323LIB=-lh323_r - CHANH323LIB=-pthread - endif - -@@ -72,12 +72,12 @@ - h323/libchanh323.a h323/Makefile.ast: - $(CMD_PREFIX) $(MAKE) -C h323 - $(CMD_PREFIX) rm -f ../main/asterisk -- $(CMD_PREFIX) echo "***************************************************************" -- $(CMD_PREFIX) echo -- $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********" -- $(CMD_PREFIX) echo -- $(CMD_PREFIX) echo "***************************************************************" -- $(CMD_PREFIX) exit 1 -+# $(CMD_PREFIX) echo "***************************************************************" -+# $(CMD_PREFIX) echo -+# $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********" -+# $(CMD_PREFIX) echo -+# $(CMD_PREFIX) echo "***************************************************************" -+# $(CMD_PREFIX) exit 1 - endif - - gentone: gentone.c diff --git a/net/asterisk10/files/patch-channels::chan_h323.c b/net/asterisk10/files/patch-channels::chan_h323.c deleted file mode 100644 index 4ca048812ecd..000000000000 --- a/net/asterisk10/files/patch-channels::chan_h323.c +++ /dev/null @@ -1,13 +0,0 @@ - -$FreeBSD$ - ---- channels/chan_h323.c.orig -+++ channels/chan_h323.c -@@ -31,6 +31,7 @@ - * \ingroup channel_drivers - */ - -+#include <sys/types.h> - #include <sys/socket.h> - #include <sys/signal.h> - #include <sys/param.h> diff --git a/net/asterisk10/files/patch-channels::chan_sip.c b/net/asterisk10/files/patch-channels::chan_sip.c deleted file mode 100644 index 06bb9c822545..000000000000 --- a/net/asterisk10/files/patch-channels::chan_sip.c +++ /dev/null @@ -1,35 +0,0 @@ ---- channels/chan_sip.c.orig Wed Mar 28 11:23:42 2007 -+++ channels/chan_sip.c Wed Mar 28 11:36:27 2007 -@@ -484,7 +484,7 @@ static const struct cfsip_options { - #define DEFAULT_MOHINTERPRET "default" - #define DEFAULT_MOHSUGGEST "" - #define DEFAULT_VMEXTEN "asterisk" --#define DEFAULT_CALLERID "asterisk" -+#define DEFAULT_CALLERID "Unknown" - #define DEFAULT_NOTIFYMIME "application/simple-message-summary" - #define DEFAULT_MWITIME 10 - #define DEFAULT_ALLOWGUEST TRUE -@@ -3822,6 +3823,8 @@ static struct ast_channel *sip_new(struc - ast_codec_pref_remove2(&tmp->nativeformats, ~i->usercapability); - fmt = ast_codec_pref_index_audio(&tmp->nativeformats, 0); - -+ pbx_builtin_setvar_helper(tmp, "SIP_CODEC_USED", ast_getformatname(fmt)); -+ - /* If we have a prefcodec setting, we have an inbound channel that set a - preferred format for this call. Otherwise, we check the jointcapability - We also check for vrtp. If it's not there, we are not allowed do any video anyway. -@@ -11203,6 +11215,13 @@ static int build_reply_digest(struct sip - secret = p->peersecret; - md5secret = p->peermd5secret; - } -+ /* No authentication. Try to get auth info from channel vars */ -+ if (ast_strlen_zero(username)) -+ { -+ username = pbx_builtin_getvar_helper(p->owner, "SIP_AUTH_NAME"); -+ secret = pbx_builtin_getvar_helper(p->owner, "SIP_AUTH_SECRET"); -+ md5secret = pbx_builtin_getvar_helper(p->owner, "SIP_AUTH_MD5SECRET"); -+ } - if (ast_strlen_zero(username)) /* We have no authentication */ - return -1; - - diff --git a/net/asterisk10/files/patch-channels::chan_skinny.c b/net/asterisk10/files/patch-channels::chan_skinny.c deleted file mode 100644 index acefb8f7222c..000000000000 --- a/net/asterisk10/files/patch-channels::chan_skinny.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- channels/chan_skinny.c.orig -+++ channels/chan_skinny.c -@@ -99,7 +99,7 @@ - #define htolel(x) (x) - #define htoles(x) (x) - #else --#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) -+#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__FreeBSD__) - #define __bswap_16(x) \ - ((((x) & 0xff00) >> 8) | \ - (((x) & 0x00ff) << 8)) diff --git a/net/asterisk10/files/patch-channels::chan_zap.c b/net/asterisk10/files/patch-channels::chan_zap.c deleted file mode 100644 index ab02c02af962..000000000000 --- a/net/asterisk10/files/patch-channels::chan_zap.c +++ /dev/null @@ -1,80 +0,0 @@ - -$FreeBSD$ - ---- channels/chan_zap.c.orig Tue Nov 29 20:24:39 2005 -+++ channels/chan_zap.c Fri Jan 13 13:28:33 2006 -@@ -638,6 +638,7 @@ static struct zt_pvt { - int cidlen; - int ringt; - int ringt_base; -+ int waitnorings; - int stripmsd; - int callwaitcas; - int callwaitrings; -@@ -2308,6 +2309,19 @@ static int zt_hangup(struct ast_channel - } - - ast_mutex_lock(&p->lock); -+ switch (p->sig) { -+ case SIG_FXSGS: -+ case SIG_FXSKS: -+ case SIG_FXSLS: -+ if((ast->_state == AST_STATE_RING) && (p->ringt > 1)) -+ { -+ p->waitnorings = 1; -+ } -+ break; -+ default: -+ break; -+ }; -+ - - index = zt_get_index(ast, p, 1); - -@@ -6129,7 +6143,37 @@ static void *ss_thread(void *data) - ast_setstate(chan, AST_STATE_RING); - chan->rings = 1; - p->ringt = p->ringt_base; -+ p->waitnorings = 0; - res = ast_pbx_run(chan); -+ -+ if(p->waitnorings) -+ { -+ p->ringt = p->ringt_base; -+ for(;;) -+ { -+ int i,j=0; -+ i = ZT_IOMUX_SIGEVENT | ZT_IOMUX_NOWAIT; -+ if (ioctl(p->subs[index].zfd, ZT_IOMUX, &i) == -1) -+ break; -+ -+ if (ioctl(p->subs[index].zfd, ZT_GETEVENT, &j) == -1) -+ break; -+ -+ if(j == ZT_EVENT_RINGOFFHOOK) -+ p->ringt = p->ringt_base; -+ -+ usleep(20000); -+ -+ if (p->ringt <= 0) -+ break; -+ -+ else if (p->ringt > 0) -+ p->ringt--; -+ } -+ p->ringt = 0; -+ p->waitnorings = 0; -+ } -+ - if (res) { - ast_hangup(chan); - ast_log(LOG_WARNING, "PBX exited non-zero\n"); -@@ -6431,7 +6475,7 @@ static void *do_monitor(void *data) - i = iflist; - while(i) { - if ((i->subs[SUB_REAL].zfd > -1) && i->sig && (!i->radio)) { -- if (!i->owner && !i->subs[SUB_REAL].owner) { -+ if (!i->owner && !i->subs[SUB_REAL].owner && !i->waitnorings) { - /* This needs to be watched, as it lacks an owner */ - pfds[count].fd = i->subs[SUB_REAL].zfd; - pfds[count].events = POLLPRI; diff --git a/net/asterisk10/files/patch-configure b/net/asterisk10/files/patch-configure deleted file mode 100644 index 9a62851600a8..000000000000 --- a/net/asterisk10/files/patch-configure +++ /dev/null @@ -1,32 +0,0 @@ - -$FreeBSD$ - ---- configure.orig -+++ configure -@@ -23776,7 +23776,7 @@ - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-lodbc ${pbxlibdir} -lltdl $LIBS" -+LIBS="-lodbc ${pbxlibdir} $LIBS" - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF -@@ -23855,7 +23855,7 @@ - - - if test "${AST_UNIXODBC_FOUND}" = "yes"; then -- UNIXODBC_LIB="-lodbc -lltdl" -+ UNIXODBC_LIB="-lodbc" - UNIXODBC_HEADER_FOUND="1" - if test "x${UNIXODBC_DIR}" != "x"; then - UNIXODBC_LIB="${pbxlibdir} ${UNIXODBC_LIB}" -@@ -28065,7 +28065,7 @@ - - fi - -- PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}" -+ PLATFORM_OPENH323="h323_${OPENH323_SUFFIX}" - - if test "${HAS_OPENH323:-unset}" != "unset"; then - { echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5 diff --git a/net/asterisk10/files/patch-include::asterisk::utils.h b/net/asterisk10/files/patch-include::asterisk::utils.h deleted file mode 100644 index a06f7d065c84..000000000000 --- a/net/asterisk10/files/patch-include::asterisk::utils.h +++ /dev/null @@ -1,13 +0,0 @@ - -$FreeBSD$ - ---- include/asterisk/utils.h 2004/10/10 12:55:50 1.1 -+++ include/asterisk/utils.h 2004/10/10 12:56:43 -@@ -37,7 +37,6 @@ - #ifdef inet_ntoa - #undef inet_ntoa - #endif --#define inet_ntoa __dont__use__inet_ntoa__use__ast_inet_ntoa__instead__ - - #ifdef LINUX - #define ast_pthread_create pthread_create diff --git a/net/asterisk10/files/patch-main::Makefile b/net/asterisk10/files/patch-main::Makefile deleted file mode 100644 index 381c08339a95..000000000000 --- a/net/asterisk10/files/patch-main::Makefile +++ /dev/null @@ -1,22 +0,0 @@ ---- main/Makefile.orig Wed Mar 28 11:08:42 2007 -+++ main/Makefile Wed Mar 28 11:09:20 2007 -@@ -98,8 +98,8 @@ editline/libedit.a: - cd editline && test -f config.h || CFLAGS="$(PTHREAD_CFLAGS) $(ASTCFLAGS:-Werror=)" LDFLAGS="$(ASTLDFLAGS)" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --with-ncurses=$(NCURSES_DIR) --with-curses=$(CURSES_DIR) --with-termcap=$(TERMCAP_DIR) --with-tinfo=$(TINFO_DIR) - $(MAKE) -C editline libedit.a - --db1-ast/libdb1.a: -- CFLAGS="$(ASTCFLAGS)" LDFLAGS="$(ASTLDFLAGS)" $(MAKE) -C db1-ast libdb1.a -+#db1-ast/libdb1.a: -+# CFLAGS="$(ASTCFLAGS)" LDFLAGS="$(ASTLDFLAGS)" $(MAKE) -C db1-ast libdb1.a - - ast_expr2.c ast_expr2.h: - bison -o $@ -d --name-prefix=ast_yy ast_expr2.y -@@ -127,7 +127,7 @@ else - H323LDLIBS= - endif - --asterisk: $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) -+asterisk: $(OBJS) editline/libedit.a $(AST_EMBED_LDSCRIPTS) - @$(ASTTOPDIR)/build_tools/make_build_h > $(ASTTOPDIR)/include/asterisk/build.h.tmp - @if cmp -s $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; then echo ; else \ - mv $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; \ diff --git a/net/asterisk10/files/patch-main::db.c b/net/asterisk10/files/patch-main::db.c deleted file mode 100644 index 0b26f3b2cca6..000000000000 --- a/net/asterisk10/files/patch-main::db.c +++ /dev/null @@ -1,21 +0,0 @@ - -$FreeBSD$ - ---- main/db.c.orig Fri Jan 13 11:05:32 2006 -+++ main/db.c Fri Jan 13 11:06:55 2006 -@@ -35,6 +35,7 @@ - #include <errno.h> - #include <unistd.h> - #include <dirent.h> -+#include <db.h> - - #include "asterisk.h" - -@@ -51,7 +52,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi - #include "asterisk/utils.h" - #include "asterisk/lock.h" - #include "asterisk/manager.h" --#include "db1-ast/include/db.h" - - #ifdef __CYGWIN__ - #define dbopen __dbopen diff --git a/net/asterisk10/files/patch-main::frame.c b/net/asterisk10/files/patch-main::frame.c deleted file mode 100644 index 232de08a9e21..000000000000 --- a/net/asterisk10/files/patch-main::frame.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- main/frame.c.orig Wed Jan 25 13:22:43 2006 -+++ main/frame.c Wed Jan 25 13:21:25 2006 -@@ -1170,7 +1170,7 @@ static int g723_len(unsigned char buf) - { - switch(buf & TYPE_MASK) { - case TYPE_DONTSEND: -- return 0; -+ return 2; - break; - case TYPE_SILENCE: - return 4; diff --git a/net/asterisk10/files/patch-main::utils.c b/net/asterisk10/files/patch-main::utils.c deleted file mode 100644 index 4c465aeb9875..000000000000 --- a/net/asterisk10/files/patch-main::utils.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- main/utils.c -+++ main/utils.c -@@ -58,7 +58,7 @@ - static char base64[64]; - static char b2a[256]; - --#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) -+#if (defined(__FreeBSD__) && __FreeBSD_version < 601103) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) - - /* duh? ERANGE value copied from web... */ - #define ERANGE 34 diff --git a/net/asterisk10/pkg-descr b/net/asterisk10/pkg-descr deleted file mode 100644 index 28b7a1deb011..000000000000 --- a/net/asterisk10/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Asterisk is an Open Source PBX and telephony toolkit. It is, in a -sense, middleware between Internet and telephony channels on the bottom, -and Internet and telephony applications at the top. - -WWW: http://www.asteriskpbx.com diff --git a/net/asterisk10/pkg-plist b/net/asterisk10/pkg-plist deleted file mode 100644 index ab56ce51e1dc..000000000000 --- a/net/asterisk10/pkg-plist +++ /dev/null @@ -1,812 +0,0 @@ -@unexec if cmp -s %D/etc/asterisk/adsi.conf %D/etc/asterisk/adsi.conf-dist; then rm -f %D/etc/asterisk/adsi.conf; fi -etc/asterisk/adsi.conf-dist -@unexec if cmp -s %D/etc/asterisk/adtranvofr.conf %D/etc/asterisk/adtranvofr.conf-dist; then rm -f %D/etc/asterisk/adtranvofr.conf; fi -etc/asterisk/adtranvofr.conf-dist -@unexec if cmp -s %D/etc/asterisk/agents.conf %D/etc/asterisk/agents.conf-dist; then rm -f %D/etc/asterisk/agents.conf; fi -etc/asterisk/agents.conf-dist -@unexec if cmp -s %D/etc/asterisk/alarmreceiver.conf %D/etc/asterisk/alarmreceiver.conf-dist; then rm -f %D/etc/asterisk/alarmreceiver.conf; fi -etc/asterisk/alarmreceiver.conf-dist -@unexec if cmp -s %D/etc/asterisk/alsa.conf %D/etc/asterisk/alsa.conf-dist; then rm -f %D/etc/asterisk/alsa.conf; fi -etc/asterisk/alsa.conf-dist -@unexec if cmp -s %D/etc/asterisk/asterisk.adsi %D/etc/asterisk/asterisk.adsi-dist; then rm -f %D/etc/asterisk/asterisk.adsi; fi -etc/asterisk/asterisk.adsi-dist -@unexec if cmp -s %D/etc/asterisk/asterisk.conf %D/etc/asterisk/asterisk.conf-dist; then rm -f %D/etc/asterisk/asterisk.conf; fi -etc/asterisk/asterisk.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr.conf %D/etc/asterisk/cdr.conf-dist; then rm -f %D/etc/asterisk/cdr.conf; fi -etc/asterisk/cdr.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_custom.conf %D/etc/asterisk/cdr_custom.conf-dist; then rm -f %D/etc/asterisk/cdr_custom.conf; fi -etc/asterisk/cdr_custom.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_manager.conf %D/etc/asterisk/cdr_manager.conf-dist; then rm -f %D/etc/asterisk/cdr_manager.conf; fi -etc/asterisk/cdr_manager.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_odbc.conf %D/etc/asterisk/cdr_odbc.conf-dist; then rm -f %D/etc/asterisk/cdr_odbc.conf; fi -etc/asterisk/cdr_odbc.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_pgsql.conf %D/etc/asterisk/cdr_pgsql.conf-dist; then rm -f %D/etc/asterisk/cdr_pgsql.conf; fi -etc/asterisk/cdr_pgsql.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_tds.conf %D/etc/asterisk/cdr_tds.conf-dist; then rm -f %D/etc/asterisk/cdr_tds.conf; fi -etc/asterisk/cdr_tds.conf-dist -@unexec if cmp -s %D/etc/asterisk/codecs.conf %D/etc/asterisk/codecs.conf-dist; then rm -f %D/etc/asterisk/codecs.conf; fi -etc/asterisk/codecs.conf-dist -@unexec if cmp -s %D/etc/asterisk/dnsmgr.conf %D/etc/asterisk/dnsmgr.conf-dist; then rm -f %D/etc/asterisk/dnsmgr.conf; fi -etc/asterisk/dnsmgr.conf-dist -@unexec if cmp -s %D/etc/asterisk/dundi.conf %D/etc/asterisk/dundi.conf-dist; then rm -f %D/etc/asterisk/dundi.conf; fi -etc/asterisk/dundi.conf-dist -@unexec if cmp -s %D/etc/asterisk/enum.conf %D/etc/asterisk/enum.conf-dist; then rm -f %D/etc/asterisk/enum.conf; fi -etc/asterisk/enum.conf-dist -@unexec if cmp -s %D/etc/asterisk/extconfig.conf %D/etc/asterisk/extconfig.conf-dist; then rm -f %D/etc/asterisk/extconfig.conf; fi -etc/asterisk/extconfig.conf-dist -@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi -etc/asterisk/extensions.ael-dist -@unexec if cmp -s %D/etc/asterisk/extensions.conf %D/etc/asterisk/extensions.conf-dist; then rm -f %D/etc/asterisk/extensions.conf; fi -etc/asterisk/extensions.conf-dist -@unexec if cmp -s %D/etc/asterisk/features.conf %D/etc/asterisk/features.conf-dist; then rm -f %D/etc/asterisk/features.conf; fi -etc/asterisk/features.conf-dist -@unexec if cmp -s %D/etc/asterisk/festival.conf %D/etc/asterisk/festival.conf-dist; then rm -f %D/etc/asterisk/festival.conf; fi -etc/asterisk/festival.conf-dist -@unexec if cmp -s %D/etc/asterisk/iax.conf %D/etc/asterisk/iax.conf-dist; then rm -f %D/etc/asterisk/iax.conf; fi -etc/asterisk/iax.conf-dist -@unexec if cmp -s %D/etc/asterisk/iaxprov.conf %D/etc/asterisk/iaxprov.conf-dist; then rm -f %D/etc/asterisk/iaxprov.conf; fi -etc/asterisk/iaxprov.conf-dist -@unexec if cmp -s %D/etc/asterisk/indications.conf %D/etc/asterisk/indications.conf-dist; then rm -f %D/etc/asterisk/indications.conf; fi -etc/asterisk/indications.conf-dist -@unexec if cmp -s %D/etc/asterisk/logger.conf %D/etc/asterisk/logger.conf-dist; then rm -f %D/etc/asterisk/logger.conf; fi -etc/asterisk/logger.conf-dist -@unexec if cmp -s %D/etc/asterisk/manager.conf %D/etc/asterisk/manager.conf-dist; then rm -f %D/etc/asterisk/manager.conf; fi -etc/asterisk/manager.conf-dist -@unexec if cmp -s %D/etc/asterisk/meetme.conf %D/etc/asterisk/meetme.conf-dist; then rm -f %D/etc/asterisk/meetme.conf; fi -etc/asterisk/meetme.conf-dist -@unexec if cmp -s %D/etc/asterisk/mgcp.conf %D/etc/asterisk/mgcp.conf-dist; then rm -f %D/etc/asterisk/mgcp.conf; fi -etc/asterisk/mgcp.conf-dist -@unexec if cmp -s %D/etc/asterisk/misdn.conf %D/etc/asterisk/misdn.conf-dist; then rm -f %D/etc/asterisk/misdn.conf; fi -etc/asterisk/misdn.conf-dist -@unexec if cmp -s %D/etc/asterisk/modem.conf %D/etc/asterisk/modem.conf-dist; then rm -f %D/etc/asterisk/modem.conf; fi -etc/asterisk/modem.conf-dist -@unexec if cmp -s %D/etc/asterisk/modules.conf %D/etc/asterisk/modules.conf-dist; then rm -f %D/etc/asterisk/modules.conf; fi -etc/asterisk/modules.conf-dist -@unexec if cmp -s %D/etc/asterisk/musiconhold.conf %D/etc/asterisk/musiconhold.conf-dist; then rm -f %D/etc/asterisk/musiconhold.conf; fi -etc/asterisk/musiconhold.conf-dist -@unexec if cmp -s %D/etc/asterisk/osp.conf %D/etc/asterisk/osp.conf-dist; then rm -f %D/etc/asterisk/osp.conf; fi -etc/asterisk/osp.conf-dist -@unexec if cmp -s %D/etc/asterisk/oss.conf %D/etc/asterisk/oss.conf-dist; then rm -f %D/etc/asterisk/oss.conf; fi -etc/asterisk/oss.conf-dist -@unexec if cmp -s %D/etc/asterisk/phone.conf %D/etc/asterisk/phone.conf-dist; then rm -f %D/etc/asterisk/phone.conf; fi -etc/asterisk/phone.conf-dist -@unexec if cmp -s %D/etc/asterisk/privacy.conf %D/etc/asterisk/privacy.conf-dist; then rm -f %D/etc/asterisk/privacy.conf; fi -etc/asterisk/privacy.conf-dist -@unexec if cmp -s %D/etc/asterisk/queues.conf %D/etc/asterisk/queues.conf-dist; then rm -f %D/etc/asterisk/queues.conf; fi -etc/asterisk/queues.conf-dist -@unexec if cmp -s %D/etc/asterisk/res_odbc.conf %D/etc/asterisk/res_odbc.conf-dist; then rm -f %D/etc/asterisk/res_odbc.conf; fi -etc/asterisk/res_odbc.conf-dist -@unexec if cmp -s %D/etc/asterisk/rpt.conf %D/etc/asterisk/rpt.conf-dist; then rm -f %D/etc/asterisk/rpt.conf; fi -etc/asterisk/rpt.conf-dist -@unexec if cmp -s %D/etc/asterisk/rtp.conf %D/etc/asterisk/rtp.conf-dist; then rm -f %D/etc/asterisk/rtp.conf; fi -etc/asterisk/rtp.conf-dist -@unexec if cmp -s %D/etc/asterisk/sip.conf %D/etc/asterisk/sip.conf-dist; then rm -f %D/etc/asterisk/sip.conf; fi -etc/asterisk/sip.conf-dist -@unexec if cmp -s %D/etc/asterisk/sip_notify.conf %D/etc/asterisk/sip_notify.conf-dist; then rm -f %D/etc/asterisk/sip_notify.conf; fi -etc/asterisk/sip_notify.conf-dist -@unexec if cmp -s %D/etc/asterisk/skinny.conf %D/etc/asterisk/skinny.conf-dist; then rm -f %D/etc/asterisk/skinny.conf; fi -etc/asterisk/skinny.conf-dist -@unexec if cmp -s %D/etc/asterisk/telcordia-1.adsi %D/etc/asterisk/telcordia-1.adsi-dist; then rm -f %D/etc/asterisk/telcordia-1.adsi; fi -etc/asterisk/telcordia-1.adsi-dist -@unexec if cmp -s %D/etc/asterisk/voicemail.conf %D/etc/asterisk/voicemail.conf-dist; then rm -f %D/etc/asterisk/voicemail.conf; fi -etc/asterisk/voicemail.conf-dist -@unexec if cmp -s %D/etc/asterisk/vpb.conf %D/etc/asterisk/vpb.conf-dist; then rm -f %D/etc/asterisk/vpb.conf; fi -etc/asterisk/vpb.conf-dist -@unexec if cmp -s %D/etc/asterisk/zapata.conf %D/etc/asterisk/zapata.conf-dist; then rm -f %D/etc/asterisk/zapata.conf; fi -etc/asterisk/zapata.conf-dist -@unexec if cmp -s %D/etc/asterisk/udptl.conf %D/etc/asterisk/udptl.conf-dist; then rm -f %D/etc/asterisk/udptl.conf; fi -etc/asterisk/udptl.conf-dist -@unexec if cmp -s %D/etc/asterisk/users.conf %D/etc/asterisk/users.conf-dist; then rm -f %D/etc/asterisk/users.conf; fi -etc/asterisk/users.conf-dist -@unexec if cmp -s %D/etc/asterisk/smdi.conf %D/etc/asterisk/smdi.conf-dist; then rm -f %D/etc/asterisk/smdi.conf; fi -etc/asterisk/smdi.conf-dist -@unexec if cmp -s %D/etc/asterisk/sla.conf %D/etc/asterisk/sla.conf-dist; then rm -f %D/etc/asterisk/sla.conf; fi -etc/asterisk/sla.conf-dist -@unexec if cmp -s %D/etc/asterisk/say.conf %D/etc/asterisk/say.conf-dist; then rm -f %D/etc/asterisk/say.conf; fi -etc/asterisk/say.conf-dist -@unexec if cmp -s %D/etc/asterisk/res_snmp.conf %D/etc/asterisk/res_snmp.conf-dist; then rm -f %D/etc/asterisk/res_snmp.conf; fi -etc/asterisk/res_snmp.conf-dist -@unexec if cmp -s %D/etc/asterisk/muted.conf %D/etc/asterisk/muted.conf-dist; then rm -f %D/etc/asterisk/muted.conf; fi -etc/asterisk/muted.conf-dist -@unexec if cmp -s %D/etc/asterisk/jabber.conf %D/etc/asterisk/jabber.conf-dist; then rm -f %D/etc/asterisk/jabber.conf; fi -etc/asterisk/jabber.conf-dist -@unexec if cmp -s %D/etc/asterisk/http.conf %D/etc/asterisk/http.conf-dist; then rm -f %D/etc/asterisk/http.conf; fi -etc/asterisk/http.conf-dist -@unexec if cmp -s %D/etc/asterisk/h323.conf %D/etc/asterisk/h323.conf-dist; then rm -f %D/etc/asterisk/h323.conf; fi -etc/asterisk/h323.conf-dist -@unexec if cmp -s %D/etc/asterisk/gtalk.conf %D/etc/asterisk/gtalk.conf-dist; then rm -f %D/etc/asterisk/gtalk.conf; fi -etc/asterisk/gtalk.conf-dist -@unexec if cmp -s %D/etc/asterisk/func_odbc.conf %D/etc/asterisk/func_odbc.conf-dist; then rm -f %D/etc/asterisk/func_odbc.conf; fi -etc/asterisk/func_odbc.conf-dist -@unexec if cmp -s %D/etc/asterisk/followme.conf %D/etc/asterisk/followme.conf-dist; then rm -f %D/etc/asterisk/followme.conf; fi -etc/asterisk/followme.conf-dist -@unexec if cmp -s %D/etc/asterisk/amd.conf %D/etc/asterisk/amd.conf-dist; then rm -f %D/etc/asterisk/amd.conf; fi -etc/asterisk/amd.conf-dist -include/asterisk.h -include/asterisk/abstract_jb.h -include/asterisk/acl.h -include/asterisk/adsi.h -include/asterisk/ael_structs.h -include/asterisk/aes.h -include/asterisk/agi.h -include/asterisk/alaw.h -include/asterisk/app.h -include/asterisk/ast_expr.h -include/asterisk/astdb.h -include/asterisk/astmm.h -include/asterisk/astobj.h -include/asterisk/astosp.h -include/asterisk/autoconfig.h -include/asterisk/build.h -include/asterisk/buildopts.h -include/asterisk/callerid.h -include/asterisk/causes.h -include/asterisk/cdr.h -include/asterisk/channel.h -include/asterisk/chanspy.h -include/asterisk/chanvars.h -include/asterisk/cli.h -include/asterisk/compat.h -include/asterisk/compiler.h -include/asterisk/config.h -include/asterisk/crypto.h -include/asterisk/devicestate.h -include/asterisk/dial.h -include/asterisk/dlfcn-compat.h -include/asterisk/dns.h -include/asterisk/dnsmgr.h -include/asterisk/doxyref.h -include/asterisk/dsp.h -include/asterisk/dundi.h -include/asterisk/endian.h -include/asterisk/enum.h -include/asterisk/features.h -include/asterisk/file.h -include/asterisk/frame.h -include/asterisk/fskmodem.h -include/asterisk/http.h -include/asterisk/image.h -include/asterisk/indications.h -include/asterisk/inline_api.h -include/asterisk/io.h -include/asterisk/jabber.h -include/asterisk/jingle.h -include/asterisk/linkedlists.h -include/asterisk/localtime.h -include/asterisk/lock.h -include/asterisk/logger.h -include/asterisk/manager.h -include/asterisk/md5.h -include/asterisk/module.h -include/asterisk/monitor.h -include/asterisk/musiconhold.h -include/asterisk/netsock.h -include/asterisk/options.h -include/asterisk/paths.h -include/asterisk/pbx.h -include/asterisk/plc.h -include/asterisk/poll-compat.h -include/asterisk/privacy.h -include/asterisk/res_odbc.h -include/asterisk/rtp.h -include/asterisk/say.h -include/asterisk/sched.h -include/asterisk/sha1.h -include/asterisk/slinfactory.h -include/asterisk/smdi.h -include/asterisk/speech.h -include/asterisk/srv.h -include/asterisk/stringfields.h -include/asterisk/strings.h -include/asterisk/tdd.h -include/asterisk/term.h -include/asterisk/threadstorage.h -include/asterisk/time.h -include/asterisk/transcap.h -include/asterisk/translate.h -include/asterisk/udptl.h -include/asterisk/ulaw.h -include/asterisk/unaligned.h -include/asterisk/utils.h -include/asterisk/version.h -lib/asterisk/modules/app_adsiprog.so -lib/asterisk/modules/app_alarmreceiver.so -lib/asterisk/modules/app_amd.so -lib/asterisk/modules/app_authenticate.so -lib/asterisk/modules/app_cdr.so -lib/asterisk/modules/app_chanisavail.so -lib/asterisk/modules/app_channelredirect.so -lib/asterisk/modules/app_chanspy.so -lib/asterisk/modules/app_controlplayback.so -lib/asterisk/modules/app_db.so -lib/asterisk/modules/app_dial.so -lib/asterisk/modules/app_dictate.so -lib/asterisk/modules/app_directed_pickup.so -lib/asterisk/modules/app_directory.so -lib/asterisk/modules/app_disa.so -lib/asterisk/modules/app_dumpchan.so -lib/asterisk/modules/app_echo.so -lib/asterisk/modules/app_exec.so -lib/asterisk/modules/app_externalivr.so -lib/asterisk/modules/app_festival.so -lib/asterisk/modules/app_followme.so -lib/asterisk/modules/app_forkcdr.so -lib/asterisk/modules/app_getcpeid.so -lib/asterisk/modules/app_hasnewvoicemail.so -lib/asterisk/modules/app_ices.so -lib/asterisk/modules/app_image.so -lib/asterisk/modules/app_lookupblacklist.so -lib/asterisk/modules/app_lookupcidname.so -lib/asterisk/modules/app_macro.so -lib/asterisk/modules/app_milliwatt.so -lib/asterisk/modules/app_mixmonitor.so -lib/asterisk/modules/app_morsecode.so -lib/asterisk/modules/app_mp3.so -lib/asterisk/modules/app_nbscat.so -lib/asterisk/modules/app_parkandannounce.so -lib/asterisk/modules/app_playback.so -lib/asterisk/modules/app_privacy.so -lib/asterisk/modules/app_queue.so -lib/asterisk/modules/app_random.so -lib/asterisk/modules/app_read.so -lib/asterisk/modules/app_readfile.so -lib/asterisk/modules/app_realtime.so -lib/asterisk/modules/app_record.so -lib/asterisk/modules/app_sayunixtime.so -lib/asterisk/modules/app_senddtmf.so -lib/asterisk/modules/app_sendtext.so -lib/asterisk/modules/app_setcallerid.so -lib/asterisk/modules/app_setcdruserfield.so -lib/asterisk/modules/app_settransfercapability.so -lib/asterisk/modules/app_sms.so -lib/asterisk/modules/app_softhangup.so -lib/asterisk/modules/app_speech_utils.so -lib/asterisk/modules/app_stack.so -lib/asterisk/modules/app_system.so -lib/asterisk/modules/app_talkdetect.so -lib/asterisk/modules/app_test.so -lib/asterisk/modules/app_transfer.so -lib/asterisk/modules/app_url.so -lib/asterisk/modules/app_userevent.so -lib/asterisk/modules/app_verbose.so -lib/asterisk/modules/app_voicemail.so -lib/asterisk/modules/app_waitforring.so -lib/asterisk/modules/app_waitforsilence.so -lib/asterisk/modules/app_while.so -lib/asterisk/modules/app_zapateller.so -lib/asterisk/modules/cdr_csv.so -lib/asterisk/modules/cdr_custom.so -lib/asterisk/modules/cdr_manager.so -%%WITH_POSTGRES%%lib/asterisk/modules/cdr_pgsql.so -%%WITH_RADIUS%%lib/asterisk/modules/cdr_radius.so -lib/asterisk/modules/chan_agent.so -lib/asterisk/modules/chan_features.so -%%WITH_JABBER%%lib/asterisk/modules/chan_gtalk.so -lib/asterisk/modules/chan_iax2.so -lib/asterisk/modules/chan_local.so -lib/asterisk/modules/chan_mgcp.so -lib/asterisk/modules/chan_oss.so -lib/asterisk/modules/chan_sip.so -lib/asterisk/modules/chan_skinny.so -lib/asterisk/modules/codec_a_mu.so -lib/asterisk/modules/codec_adpcm.so -lib/asterisk/modules/codec_alaw.so -lib/asterisk/modules/codec_g726.so -lib/asterisk/modules/codec_gsm.so -lib/asterisk/modules/codec_ilbc.so -lib/asterisk/modules/codec_lpc10.so -lib/asterisk/modules/codec_speex.so -lib/asterisk/modules/codec_ulaw.so -lib/asterisk/modules/format_g723.so -lib/asterisk/modules/format_g726.so -lib/asterisk/modules/format_g729.so -lib/asterisk/modules/format_gsm.so -lib/asterisk/modules/format_h263.so -lib/asterisk/modules/format_h264.so -lib/asterisk/modules/format_ilbc.so -lib/asterisk/modules/format_jpeg.so -%%WITH_OGGVORBIS%%lib/asterisk/modules/format_ogg_vorbis.so -lib/asterisk/modules/format_pcm.so -lib/asterisk/modules/format_sln.so -lib/asterisk/modules/format_vox.so -lib/asterisk/modules/format_wav.so -lib/asterisk/modules/format_wav_gsm.so -lib/asterisk/modules/func_base64.so -lib/asterisk/modules/func_callerid.so -lib/asterisk/modules/func_cdr.so -lib/asterisk/modules/func_channel.so -lib/asterisk/modules/func_curl.so -lib/asterisk/modules/func_cut.so -lib/asterisk/modules/func_db.so -lib/asterisk/modules/func_enum.so -lib/asterisk/modules/func_env.so -lib/asterisk/modules/func_global.so -lib/asterisk/modules/func_groupcount.so -lib/asterisk/modules/func_language.so -lib/asterisk/modules/func_logic.so -lib/asterisk/modules/func_math.so -lib/asterisk/modules/func_md5.so -lib/asterisk/modules/func_moh.so -%%WITH_ODBC%%lib/asterisk/modules/func_odbc.so -lib/asterisk/modules/func_rand.so -lib/asterisk/modules/func_realtime.so -lib/asterisk/modules/func_sha1.so -lib/asterisk/modules/func_strings.so -lib/asterisk/modules/func_timeout.so -lib/asterisk/modules/func_uri.so -lib/asterisk/modules/pbx_ael.so -lib/asterisk/modules/pbx_config.so -lib/asterisk/modules/pbx_dundi.so -lib/asterisk/modules/pbx_loopback.so -lib/asterisk/modules/pbx_realtime.so -lib/asterisk/modules/pbx_spool.so -lib/asterisk/modules/res_adsi.so -lib/asterisk/modules/res_agi.so -lib/asterisk/modules/res_clioriginate.so -%%WITH_POSTGRES%%lib/asterisk/modules/res_config_pgsql.so -lib/asterisk/modules/res_convert.so -lib/asterisk/modules/res_crypto.so -lib/asterisk/modules/res_features.so -lib/asterisk/modules/res_indications.so -%%WITH_JABBER%%lib/asterisk/modules/res_jabber.so -lib/asterisk/modules/res_monitor.so -lib/asterisk/modules/res_musiconhold.so -lib/asterisk/modules/res_smdi.so -%%WITH_SNMP%%lib/asterisk/modules/res_snmp.so -lib/asterisk/modules/res_speech.so -sbin/aelparse -sbin/asterisk -sbin/astgenkey -sbin/astman -sbin/autosupport -sbin/muted -sbin/rasterisk -sbin/safe_asterisk -sbin/smsq -sbin/stereorize -sbin/streamplayer -share/asterisk/agi-bin/agi-test.agi -share/asterisk/agi-bin/eagi-sphinx-test -share/asterisk/agi-bin/eagi-test -share/asterisk/agi-bin/jukebox.agi -share/asterisk/firmware/iax/iaxy.bin -share/asterisk/images/asterisk-intro.jpg -share/asterisk/keys/freeworlddialup.pub -share/asterisk/keys/iaxtel.pub -share/asterisk/moh/.asterisk-moh-freeplay-wav -share/asterisk/moh/LICENSE-asterisk-moh-freeplay-wav -share/asterisk/moh/fpm-calm-river.wav -share/asterisk/moh/fpm-sunshine.wav -share/asterisk/moh/fpm-world-mix.wav -share/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.6 -share/asterisk/sounds/CREDITS-asterisk-core-en-1.4.6 -share/asterisk/sounds/agent-alreadyon.gsm -share/asterisk/sounds/agent-incorrect.gsm -share/asterisk/sounds/agent-loggedoff.gsm -share/asterisk/sounds/agent-loginok.gsm -share/asterisk/sounds/agent-newlocation.gsm -share/asterisk/sounds/agent-pass.gsm -share/asterisk/sounds/agent-user.gsm -share/asterisk/sounds/auth-incorrect.gsm -share/asterisk/sounds/auth-thankyou.gsm -share/asterisk/sounds/beep.gsm -share/asterisk/sounds/beeperr.gsm -share/asterisk/sounds/conf-adminmenu.gsm -share/asterisk/sounds/conf-enteringno.gsm -share/asterisk/sounds/conf-errormenu.gsm -share/asterisk/sounds/conf-getchannel.gsm -share/asterisk/sounds/conf-getconfno.gsm -share/asterisk/sounds/conf-getpin.gsm -share/asterisk/sounds/conf-hasjoin.gsm -share/asterisk/sounds/conf-hasleft.gsm -share/asterisk/sounds/conf-invalid.gsm -share/asterisk/sounds/conf-invalidpin.gsm -share/asterisk/sounds/conf-kicked.gsm -share/asterisk/sounds/conf-leaderhasleft.gsm -share/asterisk/sounds/conf-locked.gsm -share/asterisk/sounds/conf-lockednow.gsm -share/asterisk/sounds/conf-muted.gsm -share/asterisk/sounds/conf-noempty.gsm -share/asterisk/sounds/conf-onlyone.gsm -share/asterisk/sounds/conf-onlyperson.gsm -share/asterisk/sounds/conf-otherinparty.gsm -share/asterisk/sounds/conf-placeintoconf.gsm -share/asterisk/sounds/conf-thereare.gsm -share/asterisk/sounds/conf-unlockednow.gsm -share/asterisk/sounds/conf-unmuted.gsm -share/asterisk/sounds/conf-usermenu.gsm -share/asterisk/sounds/conf-userswilljoin.gsm -share/asterisk/sounds/conf-userwilljoin.gsm -share/asterisk/sounds/conf-waitforleader.gsm -share/asterisk/sounds/core-sounds-en.txt -share/asterisk/sounds/demo-abouttotry.gsm -share/asterisk/sounds/demo-congrats.gsm -share/asterisk/sounds/demo-echodone.gsm -share/asterisk/sounds/demo-echotest.gsm -share/asterisk/sounds/demo-enterkeywords.gsm -share/asterisk/sounds/demo-instruct.gsm -share/asterisk/sounds/demo-moreinfo.gsm -share/asterisk/sounds/demo-nogo.gsm -share/asterisk/sounds/demo-nomatch.gsm -share/asterisk/sounds/demo-thanks.gsm -share/asterisk/sounds/dictate/both_help.gsm -share/asterisk/sounds/dictate/enter_filename.gsm -share/asterisk/sounds/dictate/forhelp.gsm -share/asterisk/sounds/dictate/pause.gsm -share/asterisk/sounds/dictate/paused.gsm -share/asterisk/sounds/dictate/play_help.gsm -share/asterisk/sounds/dictate/playback.gsm -share/asterisk/sounds/dictate/playback_mode.gsm -share/asterisk/sounds/dictate/record.gsm -share/asterisk/sounds/dictate/record_help.gsm -share/asterisk/sounds/dictate/record_mode.gsm -share/asterisk/sounds/dictate/truncating_audio.gsm -share/asterisk/sounds/digits/0.gsm -share/asterisk/sounds/digits/1.gsm -share/asterisk/sounds/digits/10.gsm -share/asterisk/sounds/digits/11.gsm -share/asterisk/sounds/digits/12.gsm -share/asterisk/sounds/digits/13.gsm -share/asterisk/sounds/digits/14.gsm -share/asterisk/sounds/digits/15.gsm -share/asterisk/sounds/digits/16.gsm -share/asterisk/sounds/digits/17.gsm -share/asterisk/sounds/digits/18.gsm -share/asterisk/sounds/digits/19.gsm -share/asterisk/sounds/digits/2.gsm -share/asterisk/sounds/digits/20.gsm -share/asterisk/sounds/digits/3.gsm -share/asterisk/sounds/digits/30.gsm -share/asterisk/sounds/digits/4.gsm -share/asterisk/sounds/digits/40.gsm -share/asterisk/sounds/digits/5.gsm -share/asterisk/sounds/digits/50.gsm -share/asterisk/sounds/digits/6.gsm -share/asterisk/sounds/digits/60.gsm -share/asterisk/sounds/digits/7.gsm -share/asterisk/sounds/digits/70.gsm -share/asterisk/sounds/digits/8.gsm -share/asterisk/sounds/digits/80.gsm -share/asterisk/sounds/digits/9.gsm -share/asterisk/sounds/digits/90.gsm -share/asterisk/sounds/digits/a-m.gsm -share/asterisk/sounds/digits/at.gsm -share/asterisk/sounds/digits/day-0.gsm -share/asterisk/sounds/digits/day-1.gsm -share/asterisk/sounds/digits/day-2.gsm -share/asterisk/sounds/digits/day-3.gsm -share/asterisk/sounds/digits/day-4.gsm -share/asterisk/sounds/digits/day-5.gsm -share/asterisk/sounds/digits/day-6.gsm -share/asterisk/sounds/digits/dollars.gsm -share/asterisk/sounds/digits/h-1.gsm -share/asterisk/sounds/digits/h-10.gsm -share/asterisk/sounds/digits/h-11.gsm -share/asterisk/sounds/digits/h-12.gsm -share/asterisk/sounds/digits/h-13.gsm -share/asterisk/sounds/digits/h-14.gsm -share/asterisk/sounds/digits/h-15.gsm -share/asterisk/sounds/digits/h-16.gsm -share/asterisk/sounds/digits/h-17.gsm -share/asterisk/sounds/digits/h-18.gsm -share/asterisk/sounds/digits/h-19.gsm -share/asterisk/sounds/digits/h-2.gsm -share/asterisk/sounds/digits/h-20.gsm -share/asterisk/sounds/digits/h-3.gsm -share/asterisk/sounds/digits/h-30.gsm -share/asterisk/sounds/digits/h-4.gsm -share/asterisk/sounds/digits/h-5.gsm -share/asterisk/sounds/digits/h-6.gsm -share/asterisk/sounds/digits/h-7.gsm -share/asterisk/sounds/digits/h-8.gsm -share/asterisk/sounds/digits/h-9.gsm -share/asterisk/sounds/digits/hundred.gsm -share/asterisk/sounds/digits/million.gsm -share/asterisk/sounds/digits/minus.gsm -share/asterisk/sounds/digits/mon-0.gsm -share/asterisk/sounds/digits/mon-1.gsm -share/asterisk/sounds/digits/mon-10.gsm -share/asterisk/sounds/digits/mon-11.gsm -share/asterisk/sounds/digits/mon-2.gsm -share/asterisk/sounds/digits/mon-3.gsm -share/asterisk/sounds/digits/mon-4.gsm -share/asterisk/sounds/digits/mon-5.gsm -share/asterisk/sounds/digits/mon-6.gsm -share/asterisk/sounds/digits/mon-7.gsm -share/asterisk/sounds/digits/mon-8.gsm -share/asterisk/sounds/digits/mon-9.gsm -share/asterisk/sounds/digits/oclock.gsm -share/asterisk/sounds/digits/oh.gsm -share/asterisk/sounds/digits/p-m.gsm -share/asterisk/sounds/digits/pound.gsm -share/asterisk/sounds/digits/star.gsm -share/asterisk/sounds/digits/thousand.gsm -share/asterisk/sounds/digits/today.gsm -share/asterisk/sounds/digits/tomorrow.gsm -share/asterisk/sounds/digits/yesterday.gsm -share/asterisk/sounds/dir-instr.gsm -share/asterisk/sounds/dir-intro-fn.gsm -share/asterisk/sounds/dir-intro.gsm -share/asterisk/sounds/dir-nomatch.gsm -share/asterisk/sounds/dir-nomore.gsm -share/asterisk/sounds/followme/call-from.gsm -share/asterisk/sounds/followme/no-recording.gsm -share/asterisk/sounds/followme/options.gsm -share/asterisk/sounds/followme/pls-hold-while-try.gsm -share/asterisk/sounds/followme/sorry.gsm -share/asterisk/sounds/followme/status.gsm -share/asterisk/sounds/hello-world.gsm -share/asterisk/sounds/hours.gsm -share/asterisk/sounds/invalid.gsm -share/asterisk/sounds/letters/a.gsm -share/asterisk/sounds/letters/at.gsm -share/asterisk/sounds/letters/b.gsm -share/asterisk/sounds/letters/c.gsm -share/asterisk/sounds/letters/d.gsm -share/asterisk/sounds/letters/dash.gsm -share/asterisk/sounds/letters/dollar.gsm -share/asterisk/sounds/letters/dot.gsm -share/asterisk/sounds/letters/e.gsm -share/asterisk/sounds/letters/equals.gsm -share/asterisk/sounds/letters/exclaimation-point.gsm -share/asterisk/sounds/letters/f.gsm -share/asterisk/sounds/letters/g.gsm -share/asterisk/sounds/letters/h.gsm -share/asterisk/sounds/letters/i.gsm -share/asterisk/sounds/letters/j.gsm -share/asterisk/sounds/letters/k.gsm -share/asterisk/sounds/letters/l.gsm -share/asterisk/sounds/letters/m.gsm -share/asterisk/sounds/letters/n.gsm -share/asterisk/sounds/letters/o.gsm -share/asterisk/sounds/letters/p.gsm -share/asterisk/sounds/letters/plus.gsm -share/asterisk/sounds/letters/q.gsm -share/asterisk/sounds/letters/r.gsm -share/asterisk/sounds/letters/s.gsm -share/asterisk/sounds/letters/slash.gsm -share/asterisk/sounds/letters/space.gsm -share/asterisk/sounds/letters/t.gsm -share/asterisk/sounds/letters/u.gsm -share/asterisk/sounds/letters/v.gsm -share/asterisk/sounds/letters/w.gsm -share/asterisk/sounds/letters/x.gsm -share/asterisk/sounds/letters/y.gsm -share/asterisk/sounds/letters/z.gsm -share/asterisk/sounds/letters/zed.gsm -share/asterisk/sounds/minutes.gsm -share/asterisk/sounds/pbx-invalid.gsm -share/asterisk/sounds/pbx-invalidpark.gsm -share/asterisk/sounds/pbx-transfer.gsm -share/asterisk/sounds/phonetic/9_p.gsm -share/asterisk/sounds/phonetic/a_p.gsm -share/asterisk/sounds/phonetic/b_p.gsm -share/asterisk/sounds/phonetic/c_p.gsm -share/asterisk/sounds/phonetic/d_p.gsm -share/asterisk/sounds/phonetic/e_p.gsm -share/asterisk/sounds/phonetic/f_p.gsm -share/asterisk/sounds/phonetic/g_p.gsm -share/asterisk/sounds/phonetic/h_p.gsm -share/asterisk/sounds/phonetic/i_p.gsm -share/asterisk/sounds/phonetic/j_p.gsm -share/asterisk/sounds/phonetic/k_p.gsm -share/asterisk/sounds/phonetic/l_p.gsm -share/asterisk/sounds/phonetic/m_p.gsm -share/asterisk/sounds/phonetic/n_p.gsm -share/asterisk/sounds/phonetic/o_p.gsm -share/asterisk/sounds/phonetic/p_p.gsm -share/asterisk/sounds/phonetic/q_p.gsm -share/asterisk/sounds/phonetic/r_p.gsm -share/asterisk/sounds/phonetic/s_p.gsm -share/asterisk/sounds/phonetic/t_p.gsm -share/asterisk/sounds/phonetic/u_p.gsm -share/asterisk/sounds/phonetic/v_p.gsm -share/asterisk/sounds/phonetic/w_p.gsm -share/asterisk/sounds/phonetic/x_p.gsm -share/asterisk/sounds/phonetic/y_p.gsm -share/asterisk/sounds/phonetic/z_p.gsm -share/asterisk/sounds/priv-callee-options.gsm -share/asterisk/sounds/priv-callpending.gsm -share/asterisk/sounds/priv-introsaved.gsm -share/asterisk/sounds/priv-recordintro.gsm -share/asterisk/sounds/privacy-incorrect.gsm -share/asterisk/sounds/privacy-prompt.gsm -share/asterisk/sounds/privacy-thankyou.gsm -share/asterisk/sounds/privacy-unident.gsm -share/asterisk/sounds/queue-callswaiting.gsm -share/asterisk/sounds/queue-holdtime.gsm -share/asterisk/sounds/queue-less-than.gsm -share/asterisk/sounds/queue-minutes.gsm -share/asterisk/sounds/queue-periodic-announce.gsm -share/asterisk/sounds/queue-reporthold.gsm -share/asterisk/sounds/queue-seconds.gsm -share/asterisk/sounds/queue-thankyou.gsm -share/asterisk/sounds/queue-thereare.gsm -share/asterisk/sounds/queue-youarenext.gsm -share/asterisk/sounds/screen-callee-options.gsm -share/asterisk/sounds/seconds.gsm -share/asterisk/sounds/silence/1.gsm -share/asterisk/sounds/silence/10.gsm -share/asterisk/sounds/silence/2.gsm -share/asterisk/sounds/silence/3.gsm -share/asterisk/sounds/silence/4.gsm -share/asterisk/sounds/silence/5.gsm -share/asterisk/sounds/silence/6.gsm -share/asterisk/sounds/silence/7.gsm -share/asterisk/sounds/silence/8.gsm -share/asterisk/sounds/silence/9.gsm -share/asterisk/sounds/spy-agent.gsm -share/asterisk/sounds/spy-h323.gsm -share/asterisk/sounds/spy-iax.gsm -share/asterisk/sounds/spy-iax2.gsm -share/asterisk/sounds/spy-mgcp.gsm -share/asterisk/sounds/spy-sip.gsm -share/asterisk/sounds/spy-skinny.gsm -share/asterisk/sounds/spy-zap.gsm -share/asterisk/sounds/ss-noservice.gsm -share/asterisk/sounds/transfer.gsm -share/asterisk/sounds/tt-allbusy.gsm -share/asterisk/sounds/tt-monkeys.gsm -share/asterisk/sounds/tt-monkeysintro.gsm -share/asterisk/sounds/tt-somethingwrong.gsm -share/asterisk/sounds/tt-weasels.gsm -share/asterisk/sounds/vm-Cust1.gsm -share/asterisk/sounds/vm-Cust2.gsm -share/asterisk/sounds/vm-Cust3.gsm -share/asterisk/sounds/vm-Cust4.gsm -share/asterisk/sounds/vm-Cust5.gsm -share/asterisk/sounds/vm-Family.gsm -share/asterisk/sounds/vm-Friends.gsm -share/asterisk/sounds/vm-INBOX.gsm -share/asterisk/sounds/vm-Old.gsm -share/asterisk/sounds/vm-Work.gsm -share/asterisk/sounds/vm-advopts.gsm -share/asterisk/sounds/vm-and.gsm -share/asterisk/sounds/vm-calldiffnum.gsm -share/asterisk/sounds/vm-changeto.gsm -share/asterisk/sounds/vm-delete.gsm -share/asterisk/sounds/vm-deleted.gsm -share/asterisk/sounds/vm-dialout.gsm -share/asterisk/sounds/vm-enter-num-to-call.gsm -share/asterisk/sounds/vm-extension.gsm -share/asterisk/sounds/vm-first.gsm -share/asterisk/sounds/vm-for.gsm -share/asterisk/sounds/vm-forward.gsm -share/asterisk/sounds/vm-forwardoptions.gsm -share/asterisk/sounds/vm-from-extension.gsm -share/asterisk/sounds/vm-from-phonenumber.gsm -share/asterisk/sounds/vm-from.gsm -share/asterisk/sounds/vm-goodbye.gsm -share/asterisk/sounds/vm-helpexit.gsm -share/asterisk/sounds/vm-incorrect-mailbox.gsm -share/asterisk/sounds/vm-incorrect.gsm -share/asterisk/sounds/vm-instructions.gsm -share/asterisk/sounds/vm-intro.gsm -share/asterisk/sounds/vm-isonphone.gsm -share/asterisk/sounds/vm-isunavail.gsm -share/asterisk/sounds/vm-last.gsm -share/asterisk/sounds/vm-leavemsg.gsm -share/asterisk/sounds/vm-login.gsm -share/asterisk/sounds/vm-mailboxfull.gsm -share/asterisk/sounds/vm-message.gsm -share/asterisk/sounds/vm-messages.gsm -share/asterisk/sounds/vm-minutes.gsm -share/asterisk/sounds/vm-mismatch.gsm -share/asterisk/sounds/vm-msginstruct.gsm -share/asterisk/sounds/vm-msgsaved.gsm -share/asterisk/sounds/vm-newpassword.gsm -share/asterisk/sounds/vm-newuser.gsm -share/asterisk/sounds/vm-next.gsm -share/asterisk/sounds/vm-no.gsm -share/asterisk/sounds/vm-nobodyavail.gsm -share/asterisk/sounds/vm-nobox.gsm -share/asterisk/sounds/vm-nomore.gsm -share/asterisk/sounds/vm-nonumber.gsm -share/asterisk/sounds/vm-num-i-have.gsm -share/asterisk/sounds/vm-onefor.gsm -share/asterisk/sounds/vm-options.gsm -share/asterisk/sounds/vm-opts.gsm -share/asterisk/sounds/vm-passchanged.gsm -share/asterisk/sounds/vm-password.gsm -share/asterisk/sounds/vm-press.gsm -share/asterisk/sounds/vm-prev.gsm -share/asterisk/sounds/vm-reachoper.gsm -share/asterisk/sounds/vm-rec-busy.gsm -share/asterisk/sounds/vm-rec-name.gsm -share/asterisk/sounds/vm-rec-temp.gsm -share/asterisk/sounds/vm-rec-unv.gsm -share/asterisk/sounds/vm-received.gsm -share/asterisk/sounds/vm-reenterpassword.gsm -share/asterisk/sounds/vm-repeat.gsm -share/asterisk/sounds/vm-review.gsm -share/asterisk/sounds/vm-saved.gsm -share/asterisk/sounds/vm-savedto.gsm -share/asterisk/sounds/vm-savefolder.gsm -share/asterisk/sounds/vm-savemessage.gsm -share/asterisk/sounds/vm-saveoper.gsm -share/asterisk/sounds/vm-sorry.gsm -share/asterisk/sounds/vm-star-cancel.gsm -share/asterisk/sounds/vm-starmain.gsm -share/asterisk/sounds/vm-tempgreetactive.gsm -share/asterisk/sounds/vm-tempgreeting.gsm -share/asterisk/sounds/vm-tempgreeting2.gsm -share/asterisk/sounds/vm-tempremoved.gsm -share/asterisk/sounds/vm-then-pound.gsm -share/asterisk/sounds/vm-theperson.gsm -share/asterisk/sounds/vm-tocallback.gsm -share/asterisk/sounds/vm-tocallnum.gsm -share/asterisk/sounds/vm-tocancel.gsm -share/asterisk/sounds/vm-tocancelmsg.gsm -share/asterisk/sounds/vm-toenternumber.gsm -share/asterisk/sounds/vm-toforward.gsm -share/asterisk/sounds/vm-tohearenv.gsm -share/asterisk/sounds/vm-tomakecall.gsm -share/asterisk/sounds/vm-tooshort.gsm -share/asterisk/sounds/vm-toreply.gsm -share/asterisk/sounds/vm-torerecord.gsm -share/asterisk/sounds/vm-undelete.gsm -share/asterisk/sounds/vm-undeleted.gsm -share/asterisk/sounds/vm-unknown-caller.gsm -share/asterisk/sounds/vm-whichbox.gsm -share/asterisk/sounds/vm-youhave.gsm -share/asterisk/sounds/x -share/asterisk/static-http/ajamdemo.html -share/asterisk/static-http/astman.css -share/asterisk/static-http/astman.js -share/asterisk/static-http/prototype.js -%%WITH_ZAPTEL%%lib/asterisk/modules/app_flash.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_meetme.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_page.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_zapbarge.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_zapras.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_zapscan.so -%%WITH_ODBC%%lib/asterisk/modules/cdr_odbc.so -%%WITH_H323%%lib/asterisk/modules/chan_h323.so -%%WITH_ZAPTEL%%lib/asterisk/modules/chan_zap.so -%%WITH_ZAPTEL%%lib/asterisk/modules/codec_zap.so -%%WITH_ODBC%%lib/asterisk/modules/res_config_odbc.so -%%WITH_ODBC%%lib/asterisk/modules/res_odbc.so -@dirrm share/asterisk/static-http -@dirrm share/asterisk/sounds/silence -@dirrm share/asterisk/sounds/phonetic -@dirrm share/asterisk/sounds/letters -@dirrm share/asterisk/sounds/fr -@dirrm share/asterisk/sounds/followme -@dirrm share/asterisk/sounds/es -@dirrm share/asterisk/sounds/digits -@dirrm share/asterisk/sounds/dictate -@dirrm share/asterisk/sounds -@dirrm share/asterisk/moh -@dirrm share/asterisk/keys -@dirrm share/asterisk/images -@dirrm share/asterisk/firmware/iax -@dirrm share/asterisk/firmware -@dirrm share/asterisk/agi-bin -@dirrm share/asterisk -@dirrm lib/asterisk/modules -@dirrm lib/asterisk -@dirrm include/asterisk -@cwd /var -spool/asterisk/voicemail/default/1234/busy.gsm -spool/asterisk/voicemail/default/1234/unavail.gsm -@exec mkdir -p %D/log/asterisk/cdr-csv -@exec mkdir -p %D/log/asterisk/cdr-custom -@exec mkdir -p %D/spool/asterisk/voicemail/default/1234/INBOX -@exec mkdir -p %D/spool/asterisk/dictate -@exec mkdir -p %D/spool/asterisk/meetme -@exec mkdir -p %D/spool/asterisk/monitor -@exec mkdir -p %D/spool/asterisk/system -@exec mkdir -p %D/spool/asterisk/tmp -@dirrm spool/asterisk/dictate -@dirrm spool/asterisk/meetme -@dirrm spool/asterisk/monitor -@dirrm spool/asterisk/system -@dirrm spool/asterisk/voicemail/default/1234/INBOX -@dirrm spool/asterisk/voicemail/default/1234 -@dirrm spool/asterisk/voicemail/default -@dirrm spool/asterisk/voicemail -@dirrm spool/asterisk/tmp -@dirrm spool/asterisk -@dirrm log/asterisk/cdr-csv -@dirrm log/asterisk/cdr-custom -@dirrm log/asterisk diff --git a/net/asterisk14-addons/Makefile b/net/asterisk14-addons/Makefile deleted file mode 100644 index 420f060e6332..000000000000 --- a/net/asterisk14-addons/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# New ports collection makefile for: asterisk-addons -# Date created: 23 March 2006 -# Whom: Fabian Gast <fgast@only640k.org> -# -# $FreeBSD$ -# - -PORTNAME= asterisk-addons -PORTVERSION= 1.2.3 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \ - http://ftp.digium.com/pub/asterisk/old-releases/ \ - ftp://ftp.asterisk.org/pub/telephony/asterisk/ \ - ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/ - -MAINTAINER= fgast@only640k.org -COMMENT= Additional modules for the Asterisk Open Source PBX - -BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk -RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk - -ONLY_FOR_ARCHS= i386 sparc64 amd64 -USE_MYSQL= yes -USE_GMAKE= yes - -CONF_SAMPLES= cdr_mysql.conf.sample res_mysql.conf.sample -ASTETCDIR= ${PREFIX}/etc/asterisk - -post-patch: - @${REINPLACE_CMD} 's,^CFLAGS+=-I../asterisk,CFLAGS+=-I${LOCALBASE}/include,' ${WRKSRC}/Makefile - -post-install: - ${MKDIR} ${ASTETCDIR} -.for f in ${CONF_SAMPLES} - ${INSTALL_DATA} ${WRKSRC}/configs/$f ${ASTETCDIR} -.endfor - -.include <bsd.port.mk> diff --git a/net/asterisk14-addons/distinfo b/net/asterisk14-addons/distinfo deleted file mode 100644 index 1553a3f59f86..000000000000 --- a/net/asterisk14-addons/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (asterisk-addons-1.2.3.tar.gz) = 2089e119985508b5a4a1916e2242184d -SHA256 (asterisk-addons-1.2.3.tar.gz) = 4eeb3f9f5ceb64b0742e8118ca7ba842330d28e7fd505a828730db0ee2997467 -SIZE (asterisk-addons-1.2.3.tar.gz) = 750973 diff --git a/net/asterisk14-addons/files/patch-Makefile b/net/asterisk14-addons/files/patch-Makefile deleted file mode 100644 index cfd4ba9c1c67..000000000000 --- a/net/asterisk14-addons/files/patch-Makefile +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.orig Fri Dec 2 05:14:28 2005 -+++ Makefile Tue Mar 28 00:15:47 2006 -@@ -20,8 +20,8 @@ - CFLAGS+=-D_GNU_SOURCE - - INSTALL=install --INSTALL_PREFIX= --ASTLIBDIR=$(INSTALL_PREFIX)/usr/lib/asterisk -+INSTALL_PREFIX=$(PREFIX) -+ASTLIBDIR=$(INSTALL_PREFIX)/lib/asterisk - MODULES_DIR=$(ASTLIBDIR)/modules - - # -@@ -56,7 +56,8 @@ - $(MAKE) -C format_mp3 all - - install: all -- for x in $(MODS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done -+ mkdir -p $(DESTDIR)$(MODULES_DIR) -+ for x in $(MODS); do $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(MODULES_DIR) ; done - - clean: - rm -f *.so *.o .depend diff --git a/net/asterisk14-addons/pkg-descr b/net/asterisk14-addons/pkg-descr deleted file mode 100644 index 797a19b3c61f..000000000000 --- a/net/asterisk14-addons/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -This package contains additional modules for the Asterisk Open Source PBX -which are, for one reason or another, not included in the normal base -distribution. Many of these modules are experimental. - -WWW: http://www.asteriskpbx.com diff --git a/net/asterisk14-addons/pkg-plist b/net/asterisk14-addons/pkg-plist deleted file mode 100644 index 09713ed4936e..000000000000 --- a/net/asterisk14-addons/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -@unexec if cmp -s %D/etc/asterisk/cdr_mysql.conf %D/etc/asterisk/cdr_mysql.conf.sample; then rm -f %D/etc/asterisk/cdr_mysql.conf; fi -etc/asterisk/cdr_mysql.conf.sample -@exec [-f %B/cdr_mysql.conf ] || cp %B/%f %B/cdr_mysql.conf -@unexec if cmp -s %D/etc/asterisk/res_mysql.conf %D/etc/asterisk/res_mysql.conf.sample; then rm -f %D/etc/asterisk/res_mysql.conf; fi -etc/asterisk/res_mysql.conf.sample -@exec [-f %B/res_mysql.conf ] || cp $B/%f %B/res_mysql.conf -lib/asterisk/modules/app_addon_sql_mysql.so -lib/asterisk/modules/app_saycountpl.so -lib/asterisk/modules/cdr_addon_mysql.so -lib/asterisk/modules/format_mp3.so -lib/asterisk/modules/res_config_mysql.so diff --git a/net/asterisk14/Makefile b/net/asterisk14/Makefile deleted file mode 100644 index 80430418c78e..000000000000 --- a/net/asterisk14/Makefile +++ /dev/null @@ -1,139 +0,0 @@ -# New ports collection makefile for: asterisk -# Date created: 17 October 2003 -# Whom: Maxim Sobolev <sobomax@portaone.com> -# -# $FreeBSD$ -# - -PORTNAME= asterisk -PORTVERSION= 1.4.3 -CATEGORIES= net -MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \ - http://ftp.digium.com/pub/asterisk/old-releases/ - -MAINTAINER= sobomax@FreeBSD.org -COMMENT= An Open Source PBX and telephony toolkit - -BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 -LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex \ - newt.51:${PORTSDIR}/devel/newt \ - curl.4:${PORTSDIR}/ftp/curl -RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 - -ONLY_FOR_ARCHS= i386 sparc64 amd64 - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --mandir=${LOCALBASE}/man -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" -USE_GMAKE= yes -USE_BISON= yes -USE_RC_SUBR= asterisk.sh -MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ - PTHREAD_LIBS="${PTHREAD_LIBS}" \ - MKDIR="${MKDIR}" \ - PWLIBDIR=${LOCALBASE}/share/pwlib \ - OPENH323DIR=${LOCALBASE}/share/openh323 \ - OSVERSION=${OSVERSION} \ - CXX="${CXX}" -MAN8= asterisk.8 astgenkey.8 autosupport.8 safe_asterisk.8 - -OPTIONS= OGGVORBIS "Enable Ogg Vorbis support" on \ - ODBC "Enable ODBC support" on \ - POSTGRES "Enable PostgreSQL support" on \ - RADIUS "Enable RADIUS accounting support" on \ - SNMP "Enable SNMP support" on \ - H323 "Enable H.323 support" on \ - JABBER "Enable Jabber and Gtalk support" on - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "i386" -OPTIONS+= ZAPTEL "Enable Zaptel support" on -.else -WITHOUT_ZAPTEL= yes -.endif - -.if defined(WITHOUT_H323) -PLIST_SUB+= WITH_H323="@comment " -CONFIGURE_ARGS+= --without-h323 -.else -PLIST_SUB+= WITH_H323="" -CONFIGURE_ARGS+= --with-h323 -LIB_DEPENDS+= pt_r.1:${PORTSDIR}/devel/pwlib \ - h323_r.1:${PORTSDIR}/net/openh323 -.endif - -.if defined(WITHOUT_ZAPTEL) -PLIST_SUB+= WITH_ZAPTEL="@comment " -CONFIGURE_ARGS+= --without-zaptel -.else -PLIST_SUB+= WITH_ZAPTEL="" -CONFIGURE_ARGS+= --with-zaptel -BUILD_DEPENDS+= libpri>=1.2.0:${PORTSDIR}/misc/libpri \ - ${LOCALBASE}/include/zaptel/zaptel.h:${PORTSDIR}/misc/zaptel -LIB_DEPENDS+= pri.1:${PORTSDIR}/misc/libpri -RUN_DEPENDS+= ${LOCALBASE}/include/zaptel/zaptel.h:${PORTSDIR}/misc/zaptel -.endif - -# -# WITH_FREETDS, WITH_PGSQL and WITH_SQLITE can also be added to MAKE_ENV -# similarly -.if defined(WITHOUT_ODBC) -PLIST_SUB+= WITH_ODBC="@comment " -CONFIGURE_ARGS+= --without-odbc -.else -PLIST_SUB+= WITH_ODBC="" -CONFIGURE_ARGS+= --with-odbc -LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC -.endif - -.if defined(WITHOUT_POSTGRES) -PLIST_SUB+= WITH_POSTGRES="@comment " -CONFIGURE_ARGS+= --without-postgres -.else -PLIST_SUB+= WITH_POSTGRES="" -USE_PGSQL= yes -CONFIGURE_ARGS+= --with-postgres -.endif - -.if defined(WITHOUT_OGGVORBIS) -PLIST_SUB+= WITH_OGGVORBIS="@comment " -CONFIGURE_ARGS+= --without-ogg -.else -PLIST_SUB+= WITH_OGGVORBIS="" -CONFIGURE_ARGS+= --with-ogg -LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis -.endif - -.if defined(WITHOUT_RADIUS) -PLIST_SUB+= WITH_RADIUS="@comment " -CONFIGURE_ARGS+= --without-radius -.else -PLIST_SUB+= WITH_RADIUS="" -CONFIGURE_ARGS+= --with-radius -LIB_DEPENDS+= radiusclient-ng.2:${PORTSDIR}/net/radiusclient -.endif - -.if defined(WITHOUT_SNMP) -PLIST_SUB+= WITH_SNMP="@comment " -CONFIGURE_ARGS+= --without-netsnmp -.else -PLIST_SUB+= WITH_SNMP="" -CONFIGURE_ARGS+= --with-netsnmp -LIB_DEPENDS+= netsnmp.10:${PORTSDIR}/net-mgmt/net-snmp -.endif - -.if defined(WITHOUT_JABBER) -PLIST_SUB+= WITH_JABBER="@comment " -CONFIGURE_ARGS+= --without-iksemel -.else -PLIST_SUB+= WITH_JABBER="" -CONFIGURE_ARGS+= --with-iksemel -LIB_DEPENDS+= iksemel.3:${PORTSDIR}/textproc/iksemel -.endif - -post-patch: - ${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample - -.include <bsd.port.post.mk> diff --git a/net/asterisk14/distinfo b/net/asterisk14/distinfo deleted file mode 100644 index 214acdd84d5b..000000000000 --- a/net/asterisk14/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (asterisk-1.4.3.tar.gz) = 1df236fa972dc16d1b5265b3c4868085 -SHA256 (asterisk-1.4.3.tar.gz) = 7560d0e82c671042105c4715bc0430e7219cd46dba206cc0864e00b6ffdcf91c -SIZE (asterisk-1.4.3.tar.gz) = 17080162 diff --git a/net/asterisk14/files/asterisk.sh.in b/net/asterisk14/files/asterisk.sh.in deleted file mode 100644 index 4489cb50be04..000000000000 --- a/net/asterisk14/files/asterisk.sh.in +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -# PROVIDE: asterisk -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to enable asterisk: -# -# asterisk_enable="YES" -# - -. %%RC_SUBR%% - -name=asterisk -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/asterisk - -load_rc_config $name - -pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"} - -asterisk_enable=${asterisk_enable:-"NO"} - -run_rc_command "$1" diff --git a/net/asterisk14/files/patch-Makefile b/net/asterisk14/files/patch-Makefile deleted file mode 100644 index f145cb58e89b..000000000000 --- a/net/asterisk14/files/patch-Makefile +++ /dev/null @@ -1,226 +0,0 @@ - -$FreeBSD$ - ---- Makefile.orig -+++ Makefile -@@ -207,7 +207,7 @@ - - ifeq ($(OSARCH),FreeBSD) - # -V is understood by BSD Make, not by GNU make. -- BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk) -+ BSDVERSION=$(OSVERSION) - ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi) - AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi) - endif -@@ -371,15 +371,15 @@ - # Should static HTTP be installed during make samples or even with its own target ala - # webvoicemail? There are portions here that *could* be customized but might also be - # improved a lot. I'll put it here for now. -- mkdir -p $(DESTDIR)$(ASTDATADIR)/static-http -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/static-http - for x in static-http/*; do \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \ - done -- mkdir -p $(DESTDIR)$(ASTDATADIR)/images -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/images - for x in images/*.jpg; do \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/images ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/images ; \ - done -- mkdir -p $(DESTDIR)$(AGI_DIR) -+ $(MKDIR) $(DESTDIR)$(AGI_DIR) - $(MAKE) -C sounds install - - update: -@@ -400,45 +400,45 @@ - OLDHEADERS=$(filter-out $(NEWHEADERS),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h))) - - bininstall: _all -- mkdir -p $(DESTDIR)$(MODULES_DIR) -- mkdir -p $(DESTDIR)$(ASTSBINDIR) -- mkdir -p $(DESTDIR)$(ASTETCDIR) -- mkdir -p $(DESTDIR)$(ASTBINDIR) -- mkdir -p $(DESTDIR)$(ASTVARRUNDIR) -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/dictate -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/system -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/tmp -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/meetme -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/monitor -- $(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/ -+ $(MKDIR) $(DESTDIR)$(MODULES_DIR) -+ $(MKDIR) $(DESTDIR)$(ASTSBINDIR) -+ $(MKDIR) $(DESTDIR)$(ASTETCDIR) -+ $(MKDIR) $(DESTDIR)$(ASTBINDIR) -+ $(MKDIR) $(DESTDIR)$(ASTVARRUNDIR) -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/dictate -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/system -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/tmp -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/meetme -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/monitor -+ $(BSD_INSTALL_PROGRAM) main/asterisk $(DESTDIR)$(ASTSBINDIR)/ - $(LN) -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk -- $(INSTALL) -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/ -- $(INSTALL) -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/ -+ $(BSD_INSTALL_SCRIPT) contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/ -+ $(BSD_INSTALL_SCRIPT) contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/ - if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \ - cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;' > $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\ - chmod 755 $(DESTDIR)$(ASTSBINDIR)/safe_asterisk;\ - fi -- $(INSTALL) -d $(DESTDIR)$(ASTHEADERDIR) -- $(INSTALL) -m 644 include/asterisk.h $(DESTDIR)$(includedir) -- $(INSTALL) -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR) -+ $(MKDIR) $(DESTDIR)$(ASTHEADERDIR) -+ $(BSD_INSTALL_DATA) include/asterisk.h $(DESTDIR)$(includedir) -+ $(BSD_INSTALL_DATA) include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR) - if [ -n "$(OLDHEADERS)" ]; then \ - rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\ - fi -- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-csv -- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-custom -- mkdir -p $(DESTDIR)$(ASTDATADIR)/keys -- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware -- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware/iax -- mkdir -p $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys -- $(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys -- $(INSTALL) -m 644 doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-csv -+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-custom -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/keys -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware/iax -+ $(MKDIR) $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys -+ $(BSD_INSTALL_DATA) keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys -+ $(BSD_INSTALL_DATA) doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 - if [ -f contrib/firmware/iax/iaxy.bin ] ; then \ -- $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \ -+ $(BSD_INSTALL_DATA) contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \ - fi - - $(SUBDIRS_INSTALL): -@@ -465,7 +465,7 @@ - echo " WARNING WARNING WARNING" ;\ - fi - --install: datafiles bininstall $(SUBDIRS_INSTALL) -+install: datafiles bininstall $(SUBDIRS_INSTALL) samples - @if [ -x /usr/sbin/asterisk-post-install ]; then \ - /usr/sbin/asterisk-post-install $(DESTDIR) . ; \ - fi -@@ -495,31 +495,23 @@ - upgrade: bininstall - - adsi: -- mkdir -p $(DESTDIR)$(ASTETCDIR) -+ $(MKDIR) $(DESTDIR)$(ASTETCDIR) - for x in configs/*.adsi; do \ - if [ ! -f $(DESTDIR)$(ASTETCDIR)/$$x ]; then \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \ - fi ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`-dist ; \ - done - - samples: adsi -- mkdir -p $(DESTDIR)$(ASTETCDIR) -+ $(MKDIR) $(DESTDIR)$(ASTETCDIR) - for x in configs/*.sample; do \ -- if [ -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \ -- if [ "$(OVERWRITE)" = "y" ]; then \ -- if cmp -s $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $$x ; then \ -- echo "Config file $$x is unchanged"; \ -- continue; \ -- fi ; \ -- mv -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.old ; \ -- else \ -- echo "Skipping config file $$x"; \ -- continue; \ -- fi ;\ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`-dist ;\ -+ if [ ! -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`;\ - fi ; \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ;\ - done -- if [ "$(OVERWRITE)" = "y" ] || [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \ -+ if true; then \ - ( \ - echo "[directories]" ; \ - echo "astetcdir => $(ASTETCDIR)" ; \ -@@ -540,20 +532,23 @@ - echo ";astctlowner = root" ; \ - echo ";astctlgroup = apache" ; \ - echo ";astctl = asterisk.ctl" ; \ -- ) > $(DESTDIR)$(ASTCONFPATH) ; \ -+ ) > $(DESTDIR)$(ASTCONFPATH)-dist ; \ -+ if [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \ -+ cp $(DESTDIR)$(ASTCONFPATH)-dist $(DESTDIR)$(ASTCONFPATH); \ -+ fi; \ - else \ - echo "Skipping asterisk.conf creation"; \ - fi -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX - build_tools/make_sample_voicemail $(DESTDIR)/$(ASTDATADIR) $(DESTDIR)/$(ASTSPOOLDIR) - - webvmail: - @[ -d $(DESTDIR)$(HTTP_DOCSDIR)/ ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 ) - @[ -d $(DESTDIR)$(HTTP_CGIDIR) ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 ) - $(INSTALL) -m 4755 -o root -g root contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi -- mkdir -p $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk -+ $(MKDIR) $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk - for x in images/*.gif; do \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \ - done - @echo " +--------- Asterisk Web Voicemail ----------+" - @echo " + +" -@@ -580,10 +575,10 @@ - - __rpm: include/asterisk/version.h include/asterisk/buildopts.h spec - rm -rf /tmp/asterisk ; \ -- mkdir -p /tmp/asterisk/redhat/RPMS/i386 ; \ -+ $(MKDIR) /tmp/asterisk/redhat/RPMS/i386 ; \ - $(MAKE) DESTDIR=/tmp/asterisk install ; \ - $(MAKE) DESTDIR=/tmp/asterisk samples ; \ -- mkdir -p /tmp/asterisk/etc/rc.d/init.d ; \ -+ $(MKDIR) /tmp/asterisk/etc/rc.d/init.d ; \ - cp -f contrib/init.d/rc.redhat.asterisk /tmp/asterisk/etc/rc.d/init.d/asterisk ; \ - rpmbuild --rcfile /usr/lib/rpm/rpmrc:redhat/rpmrc -bb asterisk.spec - -@@ -594,19 +589,19 @@ - config: - @if [ "${OSARCH}" = "linux-gnu" ]; then \ - if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \ - /sbin/chkconfig --add asterisk; \ - elif [ -f /etc/debian_version ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.debian.asterisk /etc/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.debian.asterisk /etc/init.d/asterisk; \ - /usr/sbin/update-rc.d asterisk start 10 2 3 4 5 . stop 91 2 3 4 5 .; \ - elif [ -f /etc/gentoo-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.gentoo.asterisk /etc/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.gentoo.asterisk /etc/init.d/asterisk; \ - /sbin/rc-update add asterisk default; \ - elif [ -f /etc/mandrake-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.mandrake.asterisk /etc/rc.d/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.mandrake.asterisk /etc/rc.d/init.d/asterisk; \ - /sbin/chkconfig --add asterisk; \ - elif [ -f /etc/SuSE-release -o -f /etc/novell-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.suse.asterisk /etc/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.suse.asterisk /etc/init.d/asterisk; \ - /sbin/chkconfig --add asterisk; \ - elif [ -f /etc/slackware-version ]; then \ - echo "Slackware is not currently supported, although an init script does exist for it." \ diff --git a/net/asterisk14/files/patch-agi::Makefile b/net/asterisk14/files/patch-agi::Makefile deleted file mode 100644 index f9910fe96dd6..000000000000 --- a/net/asterisk14/files/patch-agi::Makefile +++ /dev/null @@ -1,25 +0,0 @@ ---- agi/Makefile.orig Sat Dec 16 23:14:34 2006 -+++ agi/Makefile Wed Mar 28 11:13:21 2007 -@@ -13,7 +13,9 @@ - - .PHONY: clean all uninstall - --AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi -+AGIS_BIN=eagi-test eagi-sphinx-test -+AGIS_SCR=agi-test.agi jukebox.agi -+AGIS=$(AGIS_SCR) $(AGIS_BIN) - - ifeq ($(OSARCH),SunOS) - LIBS+=-lsocket -lnsl -@@ -31,8 +33,9 @@ eagi-test: eagi-test.o strcompat.o - eagi-sphinx-test: eagi-sphinx-test.o - - install: all -- mkdir -p $(DESTDIR)$(AGI_DIR) -- for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done -+ $(MKDIR) -p $(DESTDIR)$(AGI_DIR) -+ for x in $(AGIS_BIN); do $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(AGI_DIR) ; done -+ for x in $(AGIS_SCR); do $(BSD_INSTALL_SCRIPT) $$x $(DESTDIR)$(AGI_DIR) ; done - - uninstall: - for x in $(AGIS); do rm -f $(DESTDIR)$(AGI_DIR)/$$x ; done diff --git a/net/asterisk14/files/patch-channels::Makefile b/net/asterisk14/files/patch-channels::Makefile deleted file mode 100644 index dbe7d0c7a0d2..000000000000 --- a/net/asterisk14/files/patch-channels::Makefile +++ /dev/null @@ -1,35 +0,0 @@ - -$FreeBSD$ - ---- channels/Makefile.orig -+++ channels/Makefile -@@ -26,8 +26,8 @@ - endif - - ifeq ($(OSARCH),FreeBSD) -- PTLIB=-lpt_FreeBSD_x86_r -- H323LIB=-lh323_FreeBSD_x86_r -+ PTLIB=-lpt_r -+ H323LIB=-lh323_r - CHANH323LIB=-pthread - endif - -@@ -72,12 +72,12 @@ - h323/libchanh323.a h323/Makefile.ast: - $(CMD_PREFIX) $(MAKE) -C h323 - $(CMD_PREFIX) rm -f ../main/asterisk -- $(CMD_PREFIX) echo "***************************************************************" -- $(CMD_PREFIX) echo -- $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********" -- $(CMD_PREFIX) echo -- $(CMD_PREFIX) echo "***************************************************************" -- $(CMD_PREFIX) exit 1 -+# $(CMD_PREFIX) echo "***************************************************************" -+# $(CMD_PREFIX) echo -+# $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********" -+# $(CMD_PREFIX) echo -+# $(CMD_PREFIX) echo "***************************************************************" -+# $(CMD_PREFIX) exit 1 - endif - - gentone: gentone.c diff --git a/net/asterisk14/files/patch-channels::chan_h323.c b/net/asterisk14/files/patch-channels::chan_h323.c deleted file mode 100644 index 4ca048812ecd..000000000000 --- a/net/asterisk14/files/patch-channels::chan_h323.c +++ /dev/null @@ -1,13 +0,0 @@ - -$FreeBSD$ - ---- channels/chan_h323.c.orig -+++ channels/chan_h323.c -@@ -31,6 +31,7 @@ - * \ingroup channel_drivers - */ - -+#include <sys/types.h> - #include <sys/socket.h> - #include <sys/signal.h> - #include <sys/param.h> diff --git a/net/asterisk14/files/patch-channels::chan_sip.c b/net/asterisk14/files/patch-channels::chan_sip.c deleted file mode 100644 index 06bb9c822545..000000000000 --- a/net/asterisk14/files/patch-channels::chan_sip.c +++ /dev/null @@ -1,35 +0,0 @@ ---- channels/chan_sip.c.orig Wed Mar 28 11:23:42 2007 -+++ channels/chan_sip.c Wed Mar 28 11:36:27 2007 -@@ -484,7 +484,7 @@ static const struct cfsip_options { - #define DEFAULT_MOHINTERPRET "default" - #define DEFAULT_MOHSUGGEST "" - #define DEFAULT_VMEXTEN "asterisk" --#define DEFAULT_CALLERID "asterisk" -+#define DEFAULT_CALLERID "Unknown" - #define DEFAULT_NOTIFYMIME "application/simple-message-summary" - #define DEFAULT_MWITIME 10 - #define DEFAULT_ALLOWGUEST TRUE -@@ -3822,6 +3823,8 @@ static struct ast_channel *sip_new(struc - ast_codec_pref_remove2(&tmp->nativeformats, ~i->usercapability); - fmt = ast_codec_pref_index_audio(&tmp->nativeformats, 0); - -+ pbx_builtin_setvar_helper(tmp, "SIP_CODEC_USED", ast_getformatname(fmt)); -+ - /* If we have a prefcodec setting, we have an inbound channel that set a - preferred format for this call. Otherwise, we check the jointcapability - We also check for vrtp. If it's not there, we are not allowed do any video anyway. -@@ -11203,6 +11215,13 @@ static int build_reply_digest(struct sip - secret = p->peersecret; - md5secret = p->peermd5secret; - } -+ /* No authentication. Try to get auth info from channel vars */ -+ if (ast_strlen_zero(username)) -+ { -+ username = pbx_builtin_getvar_helper(p->owner, "SIP_AUTH_NAME"); -+ secret = pbx_builtin_getvar_helper(p->owner, "SIP_AUTH_SECRET"); -+ md5secret = pbx_builtin_getvar_helper(p->owner, "SIP_AUTH_MD5SECRET"); -+ } - if (ast_strlen_zero(username)) /* We have no authentication */ - return -1; - - diff --git a/net/asterisk14/files/patch-channels::chan_skinny.c b/net/asterisk14/files/patch-channels::chan_skinny.c deleted file mode 100644 index acefb8f7222c..000000000000 --- a/net/asterisk14/files/patch-channels::chan_skinny.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- channels/chan_skinny.c.orig -+++ channels/chan_skinny.c -@@ -99,7 +99,7 @@ - #define htolel(x) (x) - #define htoles(x) (x) - #else --#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) -+#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__FreeBSD__) - #define __bswap_16(x) \ - ((((x) & 0xff00) >> 8) | \ - (((x) & 0x00ff) << 8)) diff --git a/net/asterisk14/files/patch-channels::chan_zap.c b/net/asterisk14/files/patch-channels::chan_zap.c deleted file mode 100644 index ab02c02af962..000000000000 --- a/net/asterisk14/files/patch-channels::chan_zap.c +++ /dev/null @@ -1,80 +0,0 @@ - -$FreeBSD$ - ---- channels/chan_zap.c.orig Tue Nov 29 20:24:39 2005 -+++ channels/chan_zap.c Fri Jan 13 13:28:33 2006 -@@ -638,6 +638,7 @@ static struct zt_pvt { - int cidlen; - int ringt; - int ringt_base; -+ int waitnorings; - int stripmsd; - int callwaitcas; - int callwaitrings; -@@ -2308,6 +2309,19 @@ static int zt_hangup(struct ast_channel - } - - ast_mutex_lock(&p->lock); -+ switch (p->sig) { -+ case SIG_FXSGS: -+ case SIG_FXSKS: -+ case SIG_FXSLS: -+ if((ast->_state == AST_STATE_RING) && (p->ringt > 1)) -+ { -+ p->waitnorings = 1; -+ } -+ break; -+ default: -+ break; -+ }; -+ - - index = zt_get_index(ast, p, 1); - -@@ -6129,7 +6143,37 @@ static void *ss_thread(void *data) - ast_setstate(chan, AST_STATE_RING); - chan->rings = 1; - p->ringt = p->ringt_base; -+ p->waitnorings = 0; - res = ast_pbx_run(chan); -+ -+ if(p->waitnorings) -+ { -+ p->ringt = p->ringt_base; -+ for(;;) -+ { -+ int i,j=0; -+ i = ZT_IOMUX_SIGEVENT | ZT_IOMUX_NOWAIT; -+ if (ioctl(p->subs[index].zfd, ZT_IOMUX, &i) == -1) -+ break; -+ -+ if (ioctl(p->subs[index].zfd, ZT_GETEVENT, &j) == -1) -+ break; -+ -+ if(j == ZT_EVENT_RINGOFFHOOK) -+ p->ringt = p->ringt_base; -+ -+ usleep(20000); -+ -+ if (p->ringt <= 0) -+ break; -+ -+ else if (p->ringt > 0) -+ p->ringt--; -+ } -+ p->ringt = 0; -+ p->waitnorings = 0; -+ } -+ - if (res) { - ast_hangup(chan); - ast_log(LOG_WARNING, "PBX exited non-zero\n"); -@@ -6431,7 +6475,7 @@ static void *do_monitor(void *data) - i = iflist; - while(i) { - if ((i->subs[SUB_REAL].zfd > -1) && i->sig && (!i->radio)) { -- if (!i->owner && !i->subs[SUB_REAL].owner) { -+ if (!i->owner && !i->subs[SUB_REAL].owner && !i->waitnorings) { - /* This needs to be watched, as it lacks an owner */ - pfds[count].fd = i->subs[SUB_REAL].zfd; - pfds[count].events = POLLPRI; diff --git a/net/asterisk14/files/patch-configure b/net/asterisk14/files/patch-configure deleted file mode 100644 index 9a62851600a8..000000000000 --- a/net/asterisk14/files/patch-configure +++ /dev/null @@ -1,32 +0,0 @@ - -$FreeBSD$ - ---- configure.orig -+++ configure -@@ -23776,7 +23776,7 @@ - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-lodbc ${pbxlibdir} -lltdl $LIBS" -+LIBS="-lodbc ${pbxlibdir} $LIBS" - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF -@@ -23855,7 +23855,7 @@ - - - if test "${AST_UNIXODBC_FOUND}" = "yes"; then -- UNIXODBC_LIB="-lodbc -lltdl" -+ UNIXODBC_LIB="-lodbc" - UNIXODBC_HEADER_FOUND="1" - if test "x${UNIXODBC_DIR}" != "x"; then - UNIXODBC_LIB="${pbxlibdir} ${UNIXODBC_LIB}" -@@ -28065,7 +28065,7 @@ - - fi - -- PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}" -+ PLATFORM_OPENH323="h323_${OPENH323_SUFFIX}" - - if test "${HAS_OPENH323:-unset}" != "unset"; then - { echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5 diff --git a/net/asterisk14/files/patch-include::asterisk::utils.h b/net/asterisk14/files/patch-include::asterisk::utils.h deleted file mode 100644 index a06f7d065c84..000000000000 --- a/net/asterisk14/files/patch-include::asterisk::utils.h +++ /dev/null @@ -1,13 +0,0 @@ - -$FreeBSD$ - ---- include/asterisk/utils.h 2004/10/10 12:55:50 1.1 -+++ include/asterisk/utils.h 2004/10/10 12:56:43 -@@ -37,7 +37,6 @@ - #ifdef inet_ntoa - #undef inet_ntoa - #endif --#define inet_ntoa __dont__use__inet_ntoa__use__ast_inet_ntoa__instead__ - - #ifdef LINUX - #define ast_pthread_create pthread_create diff --git a/net/asterisk14/files/patch-main::Makefile b/net/asterisk14/files/patch-main::Makefile deleted file mode 100644 index 381c08339a95..000000000000 --- a/net/asterisk14/files/patch-main::Makefile +++ /dev/null @@ -1,22 +0,0 @@ ---- main/Makefile.orig Wed Mar 28 11:08:42 2007 -+++ main/Makefile Wed Mar 28 11:09:20 2007 -@@ -98,8 +98,8 @@ editline/libedit.a: - cd editline && test -f config.h || CFLAGS="$(PTHREAD_CFLAGS) $(ASTCFLAGS:-Werror=)" LDFLAGS="$(ASTLDFLAGS)" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --with-ncurses=$(NCURSES_DIR) --with-curses=$(CURSES_DIR) --with-termcap=$(TERMCAP_DIR) --with-tinfo=$(TINFO_DIR) - $(MAKE) -C editline libedit.a - --db1-ast/libdb1.a: -- CFLAGS="$(ASTCFLAGS)" LDFLAGS="$(ASTLDFLAGS)" $(MAKE) -C db1-ast libdb1.a -+#db1-ast/libdb1.a: -+# CFLAGS="$(ASTCFLAGS)" LDFLAGS="$(ASTLDFLAGS)" $(MAKE) -C db1-ast libdb1.a - - ast_expr2.c ast_expr2.h: - bison -o $@ -d --name-prefix=ast_yy ast_expr2.y -@@ -127,7 +127,7 @@ else - H323LDLIBS= - endif - --asterisk: $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) -+asterisk: $(OBJS) editline/libedit.a $(AST_EMBED_LDSCRIPTS) - @$(ASTTOPDIR)/build_tools/make_build_h > $(ASTTOPDIR)/include/asterisk/build.h.tmp - @if cmp -s $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; then echo ; else \ - mv $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; \ diff --git a/net/asterisk14/files/patch-main::db.c b/net/asterisk14/files/patch-main::db.c deleted file mode 100644 index 0b26f3b2cca6..000000000000 --- a/net/asterisk14/files/patch-main::db.c +++ /dev/null @@ -1,21 +0,0 @@ - -$FreeBSD$ - ---- main/db.c.orig Fri Jan 13 11:05:32 2006 -+++ main/db.c Fri Jan 13 11:06:55 2006 -@@ -35,6 +35,7 @@ - #include <errno.h> - #include <unistd.h> - #include <dirent.h> -+#include <db.h> - - #include "asterisk.h" - -@@ -51,7 +52,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi - #include "asterisk/utils.h" - #include "asterisk/lock.h" - #include "asterisk/manager.h" --#include "db1-ast/include/db.h" - - #ifdef __CYGWIN__ - #define dbopen __dbopen diff --git a/net/asterisk14/files/patch-main::frame.c b/net/asterisk14/files/patch-main::frame.c deleted file mode 100644 index 232de08a9e21..000000000000 --- a/net/asterisk14/files/patch-main::frame.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- main/frame.c.orig Wed Jan 25 13:22:43 2006 -+++ main/frame.c Wed Jan 25 13:21:25 2006 -@@ -1170,7 +1170,7 @@ static int g723_len(unsigned char buf) - { - switch(buf & TYPE_MASK) { - case TYPE_DONTSEND: -- return 0; -+ return 2; - break; - case TYPE_SILENCE: - return 4; diff --git a/net/asterisk14/files/patch-main::utils.c b/net/asterisk14/files/patch-main::utils.c deleted file mode 100644 index 4c465aeb9875..000000000000 --- a/net/asterisk14/files/patch-main::utils.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- main/utils.c -+++ main/utils.c -@@ -58,7 +58,7 @@ - static char base64[64]; - static char b2a[256]; - --#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) -+#if (defined(__FreeBSD__) && __FreeBSD_version < 601103) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) - - /* duh? ERANGE value copied from web... */ - #define ERANGE 34 diff --git a/net/asterisk14/pkg-descr b/net/asterisk14/pkg-descr deleted file mode 100644 index 28b7a1deb011..000000000000 --- a/net/asterisk14/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Asterisk is an Open Source PBX and telephony toolkit. It is, in a -sense, middleware between Internet and telephony channels on the bottom, -and Internet and telephony applications at the top. - -WWW: http://www.asteriskpbx.com diff --git a/net/asterisk14/pkg-plist b/net/asterisk14/pkg-plist deleted file mode 100644 index ab56ce51e1dc..000000000000 --- a/net/asterisk14/pkg-plist +++ /dev/null @@ -1,812 +0,0 @@ -@unexec if cmp -s %D/etc/asterisk/adsi.conf %D/etc/asterisk/adsi.conf-dist; then rm -f %D/etc/asterisk/adsi.conf; fi -etc/asterisk/adsi.conf-dist -@unexec if cmp -s %D/etc/asterisk/adtranvofr.conf %D/etc/asterisk/adtranvofr.conf-dist; then rm -f %D/etc/asterisk/adtranvofr.conf; fi -etc/asterisk/adtranvofr.conf-dist -@unexec if cmp -s %D/etc/asterisk/agents.conf %D/etc/asterisk/agents.conf-dist; then rm -f %D/etc/asterisk/agents.conf; fi -etc/asterisk/agents.conf-dist -@unexec if cmp -s %D/etc/asterisk/alarmreceiver.conf %D/etc/asterisk/alarmreceiver.conf-dist; then rm -f %D/etc/asterisk/alarmreceiver.conf; fi -etc/asterisk/alarmreceiver.conf-dist -@unexec if cmp -s %D/etc/asterisk/alsa.conf %D/etc/asterisk/alsa.conf-dist; then rm -f %D/etc/asterisk/alsa.conf; fi -etc/asterisk/alsa.conf-dist -@unexec if cmp -s %D/etc/asterisk/asterisk.adsi %D/etc/asterisk/asterisk.adsi-dist; then rm -f %D/etc/asterisk/asterisk.adsi; fi -etc/asterisk/asterisk.adsi-dist -@unexec if cmp -s %D/etc/asterisk/asterisk.conf %D/etc/asterisk/asterisk.conf-dist; then rm -f %D/etc/asterisk/asterisk.conf; fi -etc/asterisk/asterisk.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr.conf %D/etc/asterisk/cdr.conf-dist; then rm -f %D/etc/asterisk/cdr.conf; fi -etc/asterisk/cdr.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_custom.conf %D/etc/asterisk/cdr_custom.conf-dist; then rm -f %D/etc/asterisk/cdr_custom.conf; fi -etc/asterisk/cdr_custom.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_manager.conf %D/etc/asterisk/cdr_manager.conf-dist; then rm -f %D/etc/asterisk/cdr_manager.conf; fi -etc/asterisk/cdr_manager.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_odbc.conf %D/etc/asterisk/cdr_odbc.conf-dist; then rm -f %D/etc/asterisk/cdr_odbc.conf; fi -etc/asterisk/cdr_odbc.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_pgsql.conf %D/etc/asterisk/cdr_pgsql.conf-dist; then rm -f %D/etc/asterisk/cdr_pgsql.conf; fi -etc/asterisk/cdr_pgsql.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_tds.conf %D/etc/asterisk/cdr_tds.conf-dist; then rm -f %D/etc/asterisk/cdr_tds.conf; fi -etc/asterisk/cdr_tds.conf-dist -@unexec if cmp -s %D/etc/asterisk/codecs.conf %D/etc/asterisk/codecs.conf-dist; then rm -f %D/etc/asterisk/codecs.conf; fi -etc/asterisk/codecs.conf-dist -@unexec if cmp -s %D/etc/asterisk/dnsmgr.conf %D/etc/asterisk/dnsmgr.conf-dist; then rm -f %D/etc/asterisk/dnsmgr.conf; fi -etc/asterisk/dnsmgr.conf-dist -@unexec if cmp -s %D/etc/asterisk/dundi.conf %D/etc/asterisk/dundi.conf-dist; then rm -f %D/etc/asterisk/dundi.conf; fi -etc/asterisk/dundi.conf-dist -@unexec if cmp -s %D/etc/asterisk/enum.conf %D/etc/asterisk/enum.conf-dist; then rm -f %D/etc/asterisk/enum.conf; fi -etc/asterisk/enum.conf-dist -@unexec if cmp -s %D/etc/asterisk/extconfig.conf %D/etc/asterisk/extconfig.conf-dist; then rm -f %D/etc/asterisk/extconfig.conf; fi -etc/asterisk/extconfig.conf-dist -@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi -etc/asterisk/extensions.ael-dist -@unexec if cmp -s %D/etc/asterisk/extensions.conf %D/etc/asterisk/extensions.conf-dist; then rm -f %D/etc/asterisk/extensions.conf; fi -etc/asterisk/extensions.conf-dist -@unexec if cmp -s %D/etc/asterisk/features.conf %D/etc/asterisk/features.conf-dist; then rm -f %D/etc/asterisk/features.conf; fi -etc/asterisk/features.conf-dist -@unexec if cmp -s %D/etc/asterisk/festival.conf %D/etc/asterisk/festival.conf-dist; then rm -f %D/etc/asterisk/festival.conf; fi -etc/asterisk/festival.conf-dist -@unexec if cmp -s %D/etc/asterisk/iax.conf %D/etc/asterisk/iax.conf-dist; then rm -f %D/etc/asterisk/iax.conf; fi -etc/asterisk/iax.conf-dist -@unexec if cmp -s %D/etc/asterisk/iaxprov.conf %D/etc/asterisk/iaxprov.conf-dist; then rm -f %D/etc/asterisk/iaxprov.conf; fi -etc/asterisk/iaxprov.conf-dist -@unexec if cmp -s %D/etc/asterisk/indications.conf %D/etc/asterisk/indications.conf-dist; then rm -f %D/etc/asterisk/indications.conf; fi -etc/asterisk/indications.conf-dist -@unexec if cmp -s %D/etc/asterisk/logger.conf %D/etc/asterisk/logger.conf-dist; then rm -f %D/etc/asterisk/logger.conf; fi -etc/asterisk/logger.conf-dist -@unexec if cmp -s %D/etc/asterisk/manager.conf %D/etc/asterisk/manager.conf-dist; then rm -f %D/etc/asterisk/manager.conf; fi -etc/asterisk/manager.conf-dist -@unexec if cmp -s %D/etc/asterisk/meetme.conf %D/etc/asterisk/meetme.conf-dist; then rm -f %D/etc/asterisk/meetme.conf; fi -etc/asterisk/meetme.conf-dist -@unexec if cmp -s %D/etc/asterisk/mgcp.conf %D/etc/asterisk/mgcp.conf-dist; then rm -f %D/etc/asterisk/mgcp.conf; fi -etc/asterisk/mgcp.conf-dist -@unexec if cmp -s %D/etc/asterisk/misdn.conf %D/etc/asterisk/misdn.conf-dist; then rm -f %D/etc/asterisk/misdn.conf; fi -etc/asterisk/misdn.conf-dist -@unexec if cmp -s %D/etc/asterisk/modem.conf %D/etc/asterisk/modem.conf-dist; then rm -f %D/etc/asterisk/modem.conf; fi -etc/asterisk/modem.conf-dist -@unexec if cmp -s %D/etc/asterisk/modules.conf %D/etc/asterisk/modules.conf-dist; then rm -f %D/etc/asterisk/modules.conf; fi -etc/asterisk/modules.conf-dist -@unexec if cmp -s %D/etc/asterisk/musiconhold.conf %D/etc/asterisk/musiconhold.conf-dist; then rm -f %D/etc/asterisk/musiconhold.conf; fi -etc/asterisk/musiconhold.conf-dist -@unexec if cmp -s %D/etc/asterisk/osp.conf %D/etc/asterisk/osp.conf-dist; then rm -f %D/etc/asterisk/osp.conf; fi -etc/asterisk/osp.conf-dist -@unexec if cmp -s %D/etc/asterisk/oss.conf %D/etc/asterisk/oss.conf-dist; then rm -f %D/etc/asterisk/oss.conf; fi -etc/asterisk/oss.conf-dist -@unexec if cmp -s %D/etc/asterisk/phone.conf %D/etc/asterisk/phone.conf-dist; then rm -f %D/etc/asterisk/phone.conf; fi -etc/asterisk/phone.conf-dist -@unexec if cmp -s %D/etc/asterisk/privacy.conf %D/etc/asterisk/privacy.conf-dist; then rm -f %D/etc/asterisk/privacy.conf; fi -etc/asterisk/privacy.conf-dist -@unexec if cmp -s %D/etc/asterisk/queues.conf %D/etc/asterisk/queues.conf-dist; then rm -f %D/etc/asterisk/queues.conf; fi -etc/asterisk/queues.conf-dist -@unexec if cmp -s %D/etc/asterisk/res_odbc.conf %D/etc/asterisk/res_odbc.conf-dist; then rm -f %D/etc/asterisk/res_odbc.conf; fi -etc/asterisk/res_odbc.conf-dist -@unexec if cmp -s %D/etc/asterisk/rpt.conf %D/etc/asterisk/rpt.conf-dist; then rm -f %D/etc/asterisk/rpt.conf; fi -etc/asterisk/rpt.conf-dist -@unexec if cmp -s %D/etc/asterisk/rtp.conf %D/etc/asterisk/rtp.conf-dist; then rm -f %D/etc/asterisk/rtp.conf; fi -etc/asterisk/rtp.conf-dist -@unexec if cmp -s %D/etc/asterisk/sip.conf %D/etc/asterisk/sip.conf-dist; then rm -f %D/etc/asterisk/sip.conf; fi -etc/asterisk/sip.conf-dist -@unexec if cmp -s %D/etc/asterisk/sip_notify.conf %D/etc/asterisk/sip_notify.conf-dist; then rm -f %D/etc/asterisk/sip_notify.conf; fi -etc/asterisk/sip_notify.conf-dist -@unexec if cmp -s %D/etc/asterisk/skinny.conf %D/etc/asterisk/skinny.conf-dist; then rm -f %D/etc/asterisk/skinny.conf; fi -etc/asterisk/skinny.conf-dist -@unexec if cmp -s %D/etc/asterisk/telcordia-1.adsi %D/etc/asterisk/telcordia-1.adsi-dist; then rm -f %D/etc/asterisk/telcordia-1.adsi; fi -etc/asterisk/telcordia-1.adsi-dist -@unexec if cmp -s %D/etc/asterisk/voicemail.conf %D/etc/asterisk/voicemail.conf-dist; then rm -f %D/etc/asterisk/voicemail.conf; fi -etc/asterisk/voicemail.conf-dist -@unexec if cmp -s %D/etc/asterisk/vpb.conf %D/etc/asterisk/vpb.conf-dist; then rm -f %D/etc/asterisk/vpb.conf; fi -etc/asterisk/vpb.conf-dist -@unexec if cmp -s %D/etc/asterisk/zapata.conf %D/etc/asterisk/zapata.conf-dist; then rm -f %D/etc/asterisk/zapata.conf; fi -etc/asterisk/zapata.conf-dist -@unexec if cmp -s %D/etc/asterisk/udptl.conf %D/etc/asterisk/udptl.conf-dist; then rm -f %D/etc/asterisk/udptl.conf; fi -etc/asterisk/udptl.conf-dist -@unexec if cmp -s %D/etc/asterisk/users.conf %D/etc/asterisk/users.conf-dist; then rm -f %D/etc/asterisk/users.conf; fi -etc/asterisk/users.conf-dist -@unexec if cmp -s %D/etc/asterisk/smdi.conf %D/etc/asterisk/smdi.conf-dist; then rm -f %D/etc/asterisk/smdi.conf; fi -etc/asterisk/smdi.conf-dist -@unexec if cmp -s %D/etc/asterisk/sla.conf %D/etc/asterisk/sla.conf-dist; then rm -f %D/etc/asterisk/sla.conf; fi -etc/asterisk/sla.conf-dist -@unexec if cmp -s %D/etc/asterisk/say.conf %D/etc/asterisk/say.conf-dist; then rm -f %D/etc/asterisk/say.conf; fi -etc/asterisk/say.conf-dist -@unexec if cmp -s %D/etc/asterisk/res_snmp.conf %D/etc/asterisk/res_snmp.conf-dist; then rm -f %D/etc/asterisk/res_snmp.conf; fi -etc/asterisk/res_snmp.conf-dist -@unexec if cmp -s %D/etc/asterisk/muted.conf %D/etc/asterisk/muted.conf-dist; then rm -f %D/etc/asterisk/muted.conf; fi -etc/asterisk/muted.conf-dist -@unexec if cmp -s %D/etc/asterisk/jabber.conf %D/etc/asterisk/jabber.conf-dist; then rm -f %D/etc/asterisk/jabber.conf; fi -etc/asterisk/jabber.conf-dist -@unexec if cmp -s %D/etc/asterisk/http.conf %D/etc/asterisk/http.conf-dist; then rm -f %D/etc/asterisk/http.conf; fi -etc/asterisk/http.conf-dist -@unexec if cmp -s %D/etc/asterisk/h323.conf %D/etc/asterisk/h323.conf-dist; then rm -f %D/etc/asterisk/h323.conf; fi -etc/asterisk/h323.conf-dist -@unexec if cmp -s %D/etc/asterisk/gtalk.conf %D/etc/asterisk/gtalk.conf-dist; then rm -f %D/etc/asterisk/gtalk.conf; fi -etc/asterisk/gtalk.conf-dist -@unexec if cmp -s %D/etc/asterisk/func_odbc.conf %D/etc/asterisk/func_odbc.conf-dist; then rm -f %D/etc/asterisk/func_odbc.conf; fi -etc/asterisk/func_odbc.conf-dist -@unexec if cmp -s %D/etc/asterisk/followme.conf %D/etc/asterisk/followme.conf-dist; then rm -f %D/etc/asterisk/followme.conf; fi -etc/asterisk/followme.conf-dist -@unexec if cmp -s %D/etc/asterisk/amd.conf %D/etc/asterisk/amd.conf-dist; then rm -f %D/etc/asterisk/amd.conf; fi -etc/asterisk/amd.conf-dist -include/asterisk.h -include/asterisk/abstract_jb.h -include/asterisk/acl.h -include/asterisk/adsi.h -include/asterisk/ael_structs.h -include/asterisk/aes.h -include/asterisk/agi.h -include/asterisk/alaw.h -include/asterisk/app.h -include/asterisk/ast_expr.h -include/asterisk/astdb.h -include/asterisk/astmm.h -include/asterisk/astobj.h -include/asterisk/astosp.h -include/asterisk/autoconfig.h -include/asterisk/build.h -include/asterisk/buildopts.h -include/asterisk/callerid.h -include/asterisk/causes.h -include/asterisk/cdr.h -include/asterisk/channel.h -include/asterisk/chanspy.h -include/asterisk/chanvars.h -include/asterisk/cli.h -include/asterisk/compat.h -include/asterisk/compiler.h -include/asterisk/config.h -include/asterisk/crypto.h -include/asterisk/devicestate.h -include/asterisk/dial.h -include/asterisk/dlfcn-compat.h -include/asterisk/dns.h -include/asterisk/dnsmgr.h -include/asterisk/doxyref.h -include/asterisk/dsp.h -include/asterisk/dundi.h -include/asterisk/endian.h -include/asterisk/enum.h -include/asterisk/features.h -include/asterisk/file.h -include/asterisk/frame.h -include/asterisk/fskmodem.h -include/asterisk/http.h -include/asterisk/image.h -include/asterisk/indications.h -include/asterisk/inline_api.h -include/asterisk/io.h -include/asterisk/jabber.h -include/asterisk/jingle.h -include/asterisk/linkedlists.h -include/asterisk/localtime.h -include/asterisk/lock.h -include/asterisk/logger.h -include/asterisk/manager.h -include/asterisk/md5.h -include/asterisk/module.h -include/asterisk/monitor.h -include/asterisk/musiconhold.h -include/asterisk/netsock.h -include/asterisk/options.h -include/asterisk/paths.h -include/asterisk/pbx.h -include/asterisk/plc.h -include/asterisk/poll-compat.h -include/asterisk/privacy.h -include/asterisk/res_odbc.h -include/asterisk/rtp.h -include/asterisk/say.h -include/asterisk/sched.h -include/asterisk/sha1.h -include/asterisk/slinfactory.h -include/asterisk/smdi.h -include/asterisk/speech.h -include/asterisk/srv.h -include/asterisk/stringfields.h -include/asterisk/strings.h -include/asterisk/tdd.h -include/asterisk/term.h -include/asterisk/threadstorage.h -include/asterisk/time.h -include/asterisk/transcap.h -include/asterisk/translate.h -include/asterisk/udptl.h -include/asterisk/ulaw.h -include/asterisk/unaligned.h -include/asterisk/utils.h -include/asterisk/version.h -lib/asterisk/modules/app_adsiprog.so -lib/asterisk/modules/app_alarmreceiver.so -lib/asterisk/modules/app_amd.so -lib/asterisk/modules/app_authenticate.so -lib/asterisk/modules/app_cdr.so -lib/asterisk/modules/app_chanisavail.so -lib/asterisk/modules/app_channelredirect.so -lib/asterisk/modules/app_chanspy.so -lib/asterisk/modules/app_controlplayback.so -lib/asterisk/modules/app_db.so -lib/asterisk/modules/app_dial.so -lib/asterisk/modules/app_dictate.so -lib/asterisk/modules/app_directed_pickup.so -lib/asterisk/modules/app_directory.so -lib/asterisk/modules/app_disa.so -lib/asterisk/modules/app_dumpchan.so -lib/asterisk/modules/app_echo.so -lib/asterisk/modules/app_exec.so -lib/asterisk/modules/app_externalivr.so -lib/asterisk/modules/app_festival.so -lib/asterisk/modules/app_followme.so -lib/asterisk/modules/app_forkcdr.so -lib/asterisk/modules/app_getcpeid.so -lib/asterisk/modules/app_hasnewvoicemail.so -lib/asterisk/modules/app_ices.so -lib/asterisk/modules/app_image.so -lib/asterisk/modules/app_lookupblacklist.so -lib/asterisk/modules/app_lookupcidname.so -lib/asterisk/modules/app_macro.so -lib/asterisk/modules/app_milliwatt.so -lib/asterisk/modules/app_mixmonitor.so -lib/asterisk/modules/app_morsecode.so -lib/asterisk/modules/app_mp3.so -lib/asterisk/modules/app_nbscat.so -lib/asterisk/modules/app_parkandannounce.so -lib/asterisk/modules/app_playback.so -lib/asterisk/modules/app_privacy.so -lib/asterisk/modules/app_queue.so -lib/asterisk/modules/app_random.so -lib/asterisk/modules/app_read.so -lib/asterisk/modules/app_readfile.so -lib/asterisk/modules/app_realtime.so -lib/asterisk/modules/app_record.so -lib/asterisk/modules/app_sayunixtime.so -lib/asterisk/modules/app_senddtmf.so -lib/asterisk/modules/app_sendtext.so -lib/asterisk/modules/app_setcallerid.so -lib/asterisk/modules/app_setcdruserfield.so -lib/asterisk/modules/app_settransfercapability.so -lib/asterisk/modules/app_sms.so -lib/asterisk/modules/app_softhangup.so -lib/asterisk/modules/app_speech_utils.so -lib/asterisk/modules/app_stack.so -lib/asterisk/modules/app_system.so -lib/asterisk/modules/app_talkdetect.so -lib/asterisk/modules/app_test.so -lib/asterisk/modules/app_transfer.so -lib/asterisk/modules/app_url.so -lib/asterisk/modules/app_userevent.so -lib/asterisk/modules/app_verbose.so -lib/asterisk/modules/app_voicemail.so -lib/asterisk/modules/app_waitforring.so -lib/asterisk/modules/app_waitforsilence.so -lib/asterisk/modules/app_while.so -lib/asterisk/modules/app_zapateller.so -lib/asterisk/modules/cdr_csv.so -lib/asterisk/modules/cdr_custom.so -lib/asterisk/modules/cdr_manager.so -%%WITH_POSTGRES%%lib/asterisk/modules/cdr_pgsql.so -%%WITH_RADIUS%%lib/asterisk/modules/cdr_radius.so -lib/asterisk/modules/chan_agent.so -lib/asterisk/modules/chan_features.so -%%WITH_JABBER%%lib/asterisk/modules/chan_gtalk.so -lib/asterisk/modules/chan_iax2.so -lib/asterisk/modules/chan_local.so -lib/asterisk/modules/chan_mgcp.so -lib/asterisk/modules/chan_oss.so -lib/asterisk/modules/chan_sip.so -lib/asterisk/modules/chan_skinny.so -lib/asterisk/modules/codec_a_mu.so -lib/asterisk/modules/codec_adpcm.so -lib/asterisk/modules/codec_alaw.so -lib/asterisk/modules/codec_g726.so -lib/asterisk/modules/codec_gsm.so -lib/asterisk/modules/codec_ilbc.so -lib/asterisk/modules/codec_lpc10.so -lib/asterisk/modules/codec_speex.so -lib/asterisk/modules/codec_ulaw.so -lib/asterisk/modules/format_g723.so -lib/asterisk/modules/format_g726.so -lib/asterisk/modules/format_g729.so -lib/asterisk/modules/format_gsm.so -lib/asterisk/modules/format_h263.so -lib/asterisk/modules/format_h264.so -lib/asterisk/modules/format_ilbc.so -lib/asterisk/modules/format_jpeg.so -%%WITH_OGGVORBIS%%lib/asterisk/modules/format_ogg_vorbis.so -lib/asterisk/modules/format_pcm.so -lib/asterisk/modules/format_sln.so -lib/asterisk/modules/format_vox.so -lib/asterisk/modules/format_wav.so -lib/asterisk/modules/format_wav_gsm.so -lib/asterisk/modules/func_base64.so -lib/asterisk/modules/func_callerid.so -lib/asterisk/modules/func_cdr.so -lib/asterisk/modules/func_channel.so -lib/asterisk/modules/func_curl.so -lib/asterisk/modules/func_cut.so -lib/asterisk/modules/func_db.so -lib/asterisk/modules/func_enum.so -lib/asterisk/modules/func_env.so -lib/asterisk/modules/func_global.so -lib/asterisk/modules/func_groupcount.so -lib/asterisk/modules/func_language.so -lib/asterisk/modules/func_logic.so -lib/asterisk/modules/func_math.so -lib/asterisk/modules/func_md5.so -lib/asterisk/modules/func_moh.so -%%WITH_ODBC%%lib/asterisk/modules/func_odbc.so -lib/asterisk/modules/func_rand.so -lib/asterisk/modules/func_realtime.so -lib/asterisk/modules/func_sha1.so -lib/asterisk/modules/func_strings.so -lib/asterisk/modules/func_timeout.so -lib/asterisk/modules/func_uri.so -lib/asterisk/modules/pbx_ael.so -lib/asterisk/modules/pbx_config.so -lib/asterisk/modules/pbx_dundi.so -lib/asterisk/modules/pbx_loopback.so -lib/asterisk/modules/pbx_realtime.so -lib/asterisk/modules/pbx_spool.so -lib/asterisk/modules/res_adsi.so -lib/asterisk/modules/res_agi.so -lib/asterisk/modules/res_clioriginate.so -%%WITH_POSTGRES%%lib/asterisk/modules/res_config_pgsql.so -lib/asterisk/modules/res_convert.so -lib/asterisk/modules/res_crypto.so -lib/asterisk/modules/res_features.so -lib/asterisk/modules/res_indications.so -%%WITH_JABBER%%lib/asterisk/modules/res_jabber.so -lib/asterisk/modules/res_monitor.so -lib/asterisk/modules/res_musiconhold.so -lib/asterisk/modules/res_smdi.so -%%WITH_SNMP%%lib/asterisk/modules/res_snmp.so -lib/asterisk/modules/res_speech.so -sbin/aelparse -sbin/asterisk -sbin/astgenkey -sbin/astman -sbin/autosupport -sbin/muted -sbin/rasterisk -sbin/safe_asterisk -sbin/smsq -sbin/stereorize -sbin/streamplayer -share/asterisk/agi-bin/agi-test.agi -share/asterisk/agi-bin/eagi-sphinx-test -share/asterisk/agi-bin/eagi-test -share/asterisk/agi-bin/jukebox.agi -share/asterisk/firmware/iax/iaxy.bin -share/asterisk/images/asterisk-intro.jpg -share/asterisk/keys/freeworlddialup.pub -share/asterisk/keys/iaxtel.pub -share/asterisk/moh/.asterisk-moh-freeplay-wav -share/asterisk/moh/LICENSE-asterisk-moh-freeplay-wav -share/asterisk/moh/fpm-calm-river.wav -share/asterisk/moh/fpm-sunshine.wav -share/asterisk/moh/fpm-world-mix.wav -share/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.6 -share/asterisk/sounds/CREDITS-asterisk-core-en-1.4.6 -share/asterisk/sounds/agent-alreadyon.gsm -share/asterisk/sounds/agent-incorrect.gsm -share/asterisk/sounds/agent-loggedoff.gsm -share/asterisk/sounds/agent-loginok.gsm -share/asterisk/sounds/agent-newlocation.gsm -share/asterisk/sounds/agent-pass.gsm -share/asterisk/sounds/agent-user.gsm -share/asterisk/sounds/auth-incorrect.gsm -share/asterisk/sounds/auth-thankyou.gsm -share/asterisk/sounds/beep.gsm -share/asterisk/sounds/beeperr.gsm -share/asterisk/sounds/conf-adminmenu.gsm -share/asterisk/sounds/conf-enteringno.gsm -share/asterisk/sounds/conf-errormenu.gsm -share/asterisk/sounds/conf-getchannel.gsm -share/asterisk/sounds/conf-getconfno.gsm -share/asterisk/sounds/conf-getpin.gsm -share/asterisk/sounds/conf-hasjoin.gsm -share/asterisk/sounds/conf-hasleft.gsm -share/asterisk/sounds/conf-invalid.gsm -share/asterisk/sounds/conf-invalidpin.gsm -share/asterisk/sounds/conf-kicked.gsm -share/asterisk/sounds/conf-leaderhasleft.gsm -share/asterisk/sounds/conf-locked.gsm -share/asterisk/sounds/conf-lockednow.gsm -share/asterisk/sounds/conf-muted.gsm -share/asterisk/sounds/conf-noempty.gsm -share/asterisk/sounds/conf-onlyone.gsm -share/asterisk/sounds/conf-onlyperson.gsm -share/asterisk/sounds/conf-otherinparty.gsm -share/asterisk/sounds/conf-placeintoconf.gsm -share/asterisk/sounds/conf-thereare.gsm -share/asterisk/sounds/conf-unlockednow.gsm -share/asterisk/sounds/conf-unmuted.gsm -share/asterisk/sounds/conf-usermenu.gsm -share/asterisk/sounds/conf-userswilljoin.gsm -share/asterisk/sounds/conf-userwilljoin.gsm -share/asterisk/sounds/conf-waitforleader.gsm -share/asterisk/sounds/core-sounds-en.txt -share/asterisk/sounds/demo-abouttotry.gsm -share/asterisk/sounds/demo-congrats.gsm -share/asterisk/sounds/demo-echodone.gsm -share/asterisk/sounds/demo-echotest.gsm -share/asterisk/sounds/demo-enterkeywords.gsm -share/asterisk/sounds/demo-instruct.gsm -share/asterisk/sounds/demo-moreinfo.gsm -share/asterisk/sounds/demo-nogo.gsm -share/asterisk/sounds/demo-nomatch.gsm -share/asterisk/sounds/demo-thanks.gsm -share/asterisk/sounds/dictate/both_help.gsm -share/asterisk/sounds/dictate/enter_filename.gsm -share/asterisk/sounds/dictate/forhelp.gsm -share/asterisk/sounds/dictate/pause.gsm -share/asterisk/sounds/dictate/paused.gsm -share/asterisk/sounds/dictate/play_help.gsm -share/asterisk/sounds/dictate/playback.gsm -share/asterisk/sounds/dictate/playback_mode.gsm -share/asterisk/sounds/dictate/record.gsm -share/asterisk/sounds/dictate/record_help.gsm -share/asterisk/sounds/dictate/record_mode.gsm -share/asterisk/sounds/dictate/truncating_audio.gsm -share/asterisk/sounds/digits/0.gsm -share/asterisk/sounds/digits/1.gsm -share/asterisk/sounds/digits/10.gsm -share/asterisk/sounds/digits/11.gsm -share/asterisk/sounds/digits/12.gsm -share/asterisk/sounds/digits/13.gsm -share/asterisk/sounds/digits/14.gsm -share/asterisk/sounds/digits/15.gsm -share/asterisk/sounds/digits/16.gsm -share/asterisk/sounds/digits/17.gsm -share/asterisk/sounds/digits/18.gsm -share/asterisk/sounds/digits/19.gsm -share/asterisk/sounds/digits/2.gsm -share/asterisk/sounds/digits/20.gsm -share/asterisk/sounds/digits/3.gsm -share/asterisk/sounds/digits/30.gsm -share/asterisk/sounds/digits/4.gsm -share/asterisk/sounds/digits/40.gsm -share/asterisk/sounds/digits/5.gsm -share/asterisk/sounds/digits/50.gsm -share/asterisk/sounds/digits/6.gsm -share/asterisk/sounds/digits/60.gsm -share/asterisk/sounds/digits/7.gsm -share/asterisk/sounds/digits/70.gsm -share/asterisk/sounds/digits/8.gsm -share/asterisk/sounds/digits/80.gsm -share/asterisk/sounds/digits/9.gsm -share/asterisk/sounds/digits/90.gsm -share/asterisk/sounds/digits/a-m.gsm -share/asterisk/sounds/digits/at.gsm -share/asterisk/sounds/digits/day-0.gsm -share/asterisk/sounds/digits/day-1.gsm -share/asterisk/sounds/digits/day-2.gsm -share/asterisk/sounds/digits/day-3.gsm -share/asterisk/sounds/digits/day-4.gsm -share/asterisk/sounds/digits/day-5.gsm -share/asterisk/sounds/digits/day-6.gsm -share/asterisk/sounds/digits/dollars.gsm -share/asterisk/sounds/digits/h-1.gsm -share/asterisk/sounds/digits/h-10.gsm -share/asterisk/sounds/digits/h-11.gsm -share/asterisk/sounds/digits/h-12.gsm -share/asterisk/sounds/digits/h-13.gsm -share/asterisk/sounds/digits/h-14.gsm -share/asterisk/sounds/digits/h-15.gsm -share/asterisk/sounds/digits/h-16.gsm -share/asterisk/sounds/digits/h-17.gsm -share/asterisk/sounds/digits/h-18.gsm -share/asterisk/sounds/digits/h-19.gsm -share/asterisk/sounds/digits/h-2.gsm -share/asterisk/sounds/digits/h-20.gsm -share/asterisk/sounds/digits/h-3.gsm -share/asterisk/sounds/digits/h-30.gsm -share/asterisk/sounds/digits/h-4.gsm -share/asterisk/sounds/digits/h-5.gsm -share/asterisk/sounds/digits/h-6.gsm -share/asterisk/sounds/digits/h-7.gsm -share/asterisk/sounds/digits/h-8.gsm -share/asterisk/sounds/digits/h-9.gsm -share/asterisk/sounds/digits/hundred.gsm -share/asterisk/sounds/digits/million.gsm -share/asterisk/sounds/digits/minus.gsm -share/asterisk/sounds/digits/mon-0.gsm -share/asterisk/sounds/digits/mon-1.gsm -share/asterisk/sounds/digits/mon-10.gsm -share/asterisk/sounds/digits/mon-11.gsm -share/asterisk/sounds/digits/mon-2.gsm -share/asterisk/sounds/digits/mon-3.gsm -share/asterisk/sounds/digits/mon-4.gsm -share/asterisk/sounds/digits/mon-5.gsm -share/asterisk/sounds/digits/mon-6.gsm -share/asterisk/sounds/digits/mon-7.gsm -share/asterisk/sounds/digits/mon-8.gsm -share/asterisk/sounds/digits/mon-9.gsm -share/asterisk/sounds/digits/oclock.gsm -share/asterisk/sounds/digits/oh.gsm -share/asterisk/sounds/digits/p-m.gsm -share/asterisk/sounds/digits/pound.gsm -share/asterisk/sounds/digits/star.gsm -share/asterisk/sounds/digits/thousand.gsm -share/asterisk/sounds/digits/today.gsm -share/asterisk/sounds/digits/tomorrow.gsm -share/asterisk/sounds/digits/yesterday.gsm -share/asterisk/sounds/dir-instr.gsm -share/asterisk/sounds/dir-intro-fn.gsm -share/asterisk/sounds/dir-intro.gsm -share/asterisk/sounds/dir-nomatch.gsm -share/asterisk/sounds/dir-nomore.gsm -share/asterisk/sounds/followme/call-from.gsm -share/asterisk/sounds/followme/no-recording.gsm -share/asterisk/sounds/followme/options.gsm -share/asterisk/sounds/followme/pls-hold-while-try.gsm -share/asterisk/sounds/followme/sorry.gsm -share/asterisk/sounds/followme/status.gsm -share/asterisk/sounds/hello-world.gsm -share/asterisk/sounds/hours.gsm -share/asterisk/sounds/invalid.gsm -share/asterisk/sounds/letters/a.gsm -share/asterisk/sounds/letters/at.gsm -share/asterisk/sounds/letters/b.gsm -share/asterisk/sounds/letters/c.gsm -share/asterisk/sounds/letters/d.gsm -share/asterisk/sounds/letters/dash.gsm -share/asterisk/sounds/letters/dollar.gsm -share/asterisk/sounds/letters/dot.gsm -share/asterisk/sounds/letters/e.gsm -share/asterisk/sounds/letters/equals.gsm -share/asterisk/sounds/letters/exclaimation-point.gsm -share/asterisk/sounds/letters/f.gsm -share/asterisk/sounds/letters/g.gsm -share/asterisk/sounds/letters/h.gsm -share/asterisk/sounds/letters/i.gsm -share/asterisk/sounds/letters/j.gsm -share/asterisk/sounds/letters/k.gsm -share/asterisk/sounds/letters/l.gsm -share/asterisk/sounds/letters/m.gsm -share/asterisk/sounds/letters/n.gsm -share/asterisk/sounds/letters/o.gsm -share/asterisk/sounds/letters/p.gsm -share/asterisk/sounds/letters/plus.gsm -share/asterisk/sounds/letters/q.gsm -share/asterisk/sounds/letters/r.gsm -share/asterisk/sounds/letters/s.gsm -share/asterisk/sounds/letters/slash.gsm -share/asterisk/sounds/letters/space.gsm -share/asterisk/sounds/letters/t.gsm -share/asterisk/sounds/letters/u.gsm -share/asterisk/sounds/letters/v.gsm -share/asterisk/sounds/letters/w.gsm -share/asterisk/sounds/letters/x.gsm -share/asterisk/sounds/letters/y.gsm -share/asterisk/sounds/letters/z.gsm -share/asterisk/sounds/letters/zed.gsm -share/asterisk/sounds/minutes.gsm -share/asterisk/sounds/pbx-invalid.gsm -share/asterisk/sounds/pbx-invalidpark.gsm -share/asterisk/sounds/pbx-transfer.gsm -share/asterisk/sounds/phonetic/9_p.gsm -share/asterisk/sounds/phonetic/a_p.gsm -share/asterisk/sounds/phonetic/b_p.gsm -share/asterisk/sounds/phonetic/c_p.gsm -share/asterisk/sounds/phonetic/d_p.gsm -share/asterisk/sounds/phonetic/e_p.gsm -share/asterisk/sounds/phonetic/f_p.gsm -share/asterisk/sounds/phonetic/g_p.gsm -share/asterisk/sounds/phonetic/h_p.gsm -share/asterisk/sounds/phonetic/i_p.gsm -share/asterisk/sounds/phonetic/j_p.gsm -share/asterisk/sounds/phonetic/k_p.gsm -share/asterisk/sounds/phonetic/l_p.gsm -share/asterisk/sounds/phonetic/m_p.gsm -share/asterisk/sounds/phonetic/n_p.gsm -share/asterisk/sounds/phonetic/o_p.gsm -share/asterisk/sounds/phonetic/p_p.gsm -share/asterisk/sounds/phonetic/q_p.gsm -share/asterisk/sounds/phonetic/r_p.gsm -share/asterisk/sounds/phonetic/s_p.gsm -share/asterisk/sounds/phonetic/t_p.gsm -share/asterisk/sounds/phonetic/u_p.gsm -share/asterisk/sounds/phonetic/v_p.gsm -share/asterisk/sounds/phonetic/w_p.gsm -share/asterisk/sounds/phonetic/x_p.gsm -share/asterisk/sounds/phonetic/y_p.gsm -share/asterisk/sounds/phonetic/z_p.gsm -share/asterisk/sounds/priv-callee-options.gsm -share/asterisk/sounds/priv-callpending.gsm -share/asterisk/sounds/priv-introsaved.gsm -share/asterisk/sounds/priv-recordintro.gsm -share/asterisk/sounds/privacy-incorrect.gsm -share/asterisk/sounds/privacy-prompt.gsm -share/asterisk/sounds/privacy-thankyou.gsm -share/asterisk/sounds/privacy-unident.gsm -share/asterisk/sounds/queue-callswaiting.gsm -share/asterisk/sounds/queue-holdtime.gsm -share/asterisk/sounds/queue-less-than.gsm -share/asterisk/sounds/queue-minutes.gsm -share/asterisk/sounds/queue-periodic-announce.gsm -share/asterisk/sounds/queue-reporthold.gsm -share/asterisk/sounds/queue-seconds.gsm -share/asterisk/sounds/queue-thankyou.gsm -share/asterisk/sounds/queue-thereare.gsm -share/asterisk/sounds/queue-youarenext.gsm -share/asterisk/sounds/screen-callee-options.gsm -share/asterisk/sounds/seconds.gsm -share/asterisk/sounds/silence/1.gsm -share/asterisk/sounds/silence/10.gsm -share/asterisk/sounds/silence/2.gsm -share/asterisk/sounds/silence/3.gsm -share/asterisk/sounds/silence/4.gsm -share/asterisk/sounds/silence/5.gsm -share/asterisk/sounds/silence/6.gsm -share/asterisk/sounds/silence/7.gsm -share/asterisk/sounds/silence/8.gsm -share/asterisk/sounds/silence/9.gsm -share/asterisk/sounds/spy-agent.gsm -share/asterisk/sounds/spy-h323.gsm -share/asterisk/sounds/spy-iax.gsm -share/asterisk/sounds/spy-iax2.gsm -share/asterisk/sounds/spy-mgcp.gsm -share/asterisk/sounds/spy-sip.gsm -share/asterisk/sounds/spy-skinny.gsm -share/asterisk/sounds/spy-zap.gsm -share/asterisk/sounds/ss-noservice.gsm -share/asterisk/sounds/transfer.gsm -share/asterisk/sounds/tt-allbusy.gsm -share/asterisk/sounds/tt-monkeys.gsm -share/asterisk/sounds/tt-monkeysintro.gsm -share/asterisk/sounds/tt-somethingwrong.gsm -share/asterisk/sounds/tt-weasels.gsm -share/asterisk/sounds/vm-Cust1.gsm -share/asterisk/sounds/vm-Cust2.gsm -share/asterisk/sounds/vm-Cust3.gsm -share/asterisk/sounds/vm-Cust4.gsm -share/asterisk/sounds/vm-Cust5.gsm -share/asterisk/sounds/vm-Family.gsm -share/asterisk/sounds/vm-Friends.gsm -share/asterisk/sounds/vm-INBOX.gsm -share/asterisk/sounds/vm-Old.gsm -share/asterisk/sounds/vm-Work.gsm -share/asterisk/sounds/vm-advopts.gsm -share/asterisk/sounds/vm-and.gsm -share/asterisk/sounds/vm-calldiffnum.gsm -share/asterisk/sounds/vm-changeto.gsm -share/asterisk/sounds/vm-delete.gsm -share/asterisk/sounds/vm-deleted.gsm -share/asterisk/sounds/vm-dialout.gsm -share/asterisk/sounds/vm-enter-num-to-call.gsm -share/asterisk/sounds/vm-extension.gsm -share/asterisk/sounds/vm-first.gsm -share/asterisk/sounds/vm-for.gsm -share/asterisk/sounds/vm-forward.gsm -share/asterisk/sounds/vm-forwardoptions.gsm -share/asterisk/sounds/vm-from-extension.gsm -share/asterisk/sounds/vm-from-phonenumber.gsm -share/asterisk/sounds/vm-from.gsm -share/asterisk/sounds/vm-goodbye.gsm -share/asterisk/sounds/vm-helpexit.gsm -share/asterisk/sounds/vm-incorrect-mailbox.gsm -share/asterisk/sounds/vm-incorrect.gsm -share/asterisk/sounds/vm-instructions.gsm -share/asterisk/sounds/vm-intro.gsm -share/asterisk/sounds/vm-isonphone.gsm -share/asterisk/sounds/vm-isunavail.gsm -share/asterisk/sounds/vm-last.gsm -share/asterisk/sounds/vm-leavemsg.gsm -share/asterisk/sounds/vm-login.gsm -share/asterisk/sounds/vm-mailboxfull.gsm -share/asterisk/sounds/vm-message.gsm -share/asterisk/sounds/vm-messages.gsm -share/asterisk/sounds/vm-minutes.gsm -share/asterisk/sounds/vm-mismatch.gsm -share/asterisk/sounds/vm-msginstruct.gsm -share/asterisk/sounds/vm-msgsaved.gsm -share/asterisk/sounds/vm-newpassword.gsm -share/asterisk/sounds/vm-newuser.gsm -share/asterisk/sounds/vm-next.gsm -share/asterisk/sounds/vm-no.gsm -share/asterisk/sounds/vm-nobodyavail.gsm -share/asterisk/sounds/vm-nobox.gsm -share/asterisk/sounds/vm-nomore.gsm -share/asterisk/sounds/vm-nonumber.gsm -share/asterisk/sounds/vm-num-i-have.gsm -share/asterisk/sounds/vm-onefor.gsm -share/asterisk/sounds/vm-options.gsm -share/asterisk/sounds/vm-opts.gsm -share/asterisk/sounds/vm-passchanged.gsm -share/asterisk/sounds/vm-password.gsm -share/asterisk/sounds/vm-press.gsm -share/asterisk/sounds/vm-prev.gsm -share/asterisk/sounds/vm-reachoper.gsm -share/asterisk/sounds/vm-rec-busy.gsm -share/asterisk/sounds/vm-rec-name.gsm -share/asterisk/sounds/vm-rec-temp.gsm -share/asterisk/sounds/vm-rec-unv.gsm -share/asterisk/sounds/vm-received.gsm -share/asterisk/sounds/vm-reenterpassword.gsm -share/asterisk/sounds/vm-repeat.gsm -share/asterisk/sounds/vm-review.gsm -share/asterisk/sounds/vm-saved.gsm -share/asterisk/sounds/vm-savedto.gsm -share/asterisk/sounds/vm-savefolder.gsm -share/asterisk/sounds/vm-savemessage.gsm -share/asterisk/sounds/vm-saveoper.gsm -share/asterisk/sounds/vm-sorry.gsm -share/asterisk/sounds/vm-star-cancel.gsm -share/asterisk/sounds/vm-starmain.gsm -share/asterisk/sounds/vm-tempgreetactive.gsm -share/asterisk/sounds/vm-tempgreeting.gsm -share/asterisk/sounds/vm-tempgreeting2.gsm -share/asterisk/sounds/vm-tempremoved.gsm -share/asterisk/sounds/vm-then-pound.gsm -share/asterisk/sounds/vm-theperson.gsm -share/asterisk/sounds/vm-tocallback.gsm -share/asterisk/sounds/vm-tocallnum.gsm -share/asterisk/sounds/vm-tocancel.gsm -share/asterisk/sounds/vm-tocancelmsg.gsm -share/asterisk/sounds/vm-toenternumber.gsm -share/asterisk/sounds/vm-toforward.gsm -share/asterisk/sounds/vm-tohearenv.gsm -share/asterisk/sounds/vm-tomakecall.gsm -share/asterisk/sounds/vm-tooshort.gsm -share/asterisk/sounds/vm-toreply.gsm -share/asterisk/sounds/vm-torerecord.gsm -share/asterisk/sounds/vm-undelete.gsm -share/asterisk/sounds/vm-undeleted.gsm -share/asterisk/sounds/vm-unknown-caller.gsm -share/asterisk/sounds/vm-whichbox.gsm -share/asterisk/sounds/vm-youhave.gsm -share/asterisk/sounds/x -share/asterisk/static-http/ajamdemo.html -share/asterisk/static-http/astman.css -share/asterisk/static-http/astman.js -share/asterisk/static-http/prototype.js -%%WITH_ZAPTEL%%lib/asterisk/modules/app_flash.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_meetme.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_page.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_zapbarge.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_zapras.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_zapscan.so -%%WITH_ODBC%%lib/asterisk/modules/cdr_odbc.so -%%WITH_H323%%lib/asterisk/modules/chan_h323.so -%%WITH_ZAPTEL%%lib/asterisk/modules/chan_zap.so -%%WITH_ZAPTEL%%lib/asterisk/modules/codec_zap.so -%%WITH_ODBC%%lib/asterisk/modules/res_config_odbc.so -%%WITH_ODBC%%lib/asterisk/modules/res_odbc.so -@dirrm share/asterisk/static-http -@dirrm share/asterisk/sounds/silence -@dirrm share/asterisk/sounds/phonetic -@dirrm share/asterisk/sounds/letters -@dirrm share/asterisk/sounds/fr -@dirrm share/asterisk/sounds/followme -@dirrm share/asterisk/sounds/es -@dirrm share/asterisk/sounds/digits -@dirrm share/asterisk/sounds/dictate -@dirrm share/asterisk/sounds -@dirrm share/asterisk/moh -@dirrm share/asterisk/keys -@dirrm share/asterisk/images -@dirrm share/asterisk/firmware/iax -@dirrm share/asterisk/firmware -@dirrm share/asterisk/agi-bin -@dirrm share/asterisk -@dirrm lib/asterisk/modules -@dirrm lib/asterisk -@dirrm include/asterisk -@cwd /var -spool/asterisk/voicemail/default/1234/busy.gsm -spool/asterisk/voicemail/default/1234/unavail.gsm -@exec mkdir -p %D/log/asterisk/cdr-csv -@exec mkdir -p %D/log/asterisk/cdr-custom -@exec mkdir -p %D/spool/asterisk/voicemail/default/1234/INBOX -@exec mkdir -p %D/spool/asterisk/dictate -@exec mkdir -p %D/spool/asterisk/meetme -@exec mkdir -p %D/spool/asterisk/monitor -@exec mkdir -p %D/spool/asterisk/system -@exec mkdir -p %D/spool/asterisk/tmp -@dirrm spool/asterisk/dictate -@dirrm spool/asterisk/meetme -@dirrm spool/asterisk/monitor -@dirrm spool/asterisk/system -@dirrm spool/asterisk/voicemail/default/1234/INBOX -@dirrm spool/asterisk/voicemail/default/1234 -@dirrm spool/asterisk/voicemail/default -@dirrm spool/asterisk/voicemail -@dirrm spool/asterisk/tmp -@dirrm spool/asterisk -@dirrm log/asterisk/cdr-csv -@dirrm log/asterisk/cdr-custom -@dirrm log/asterisk diff --git a/net/asterisk16-addons/Makefile b/net/asterisk16-addons/Makefile deleted file mode 100644 index 420f060e6332..000000000000 --- a/net/asterisk16-addons/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# New ports collection makefile for: asterisk-addons -# Date created: 23 March 2006 -# Whom: Fabian Gast <fgast@only640k.org> -# -# $FreeBSD$ -# - -PORTNAME= asterisk-addons -PORTVERSION= 1.2.3 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \ - http://ftp.digium.com/pub/asterisk/old-releases/ \ - ftp://ftp.asterisk.org/pub/telephony/asterisk/ \ - ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/ - -MAINTAINER= fgast@only640k.org -COMMENT= Additional modules for the Asterisk Open Source PBX - -BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk -RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk - -ONLY_FOR_ARCHS= i386 sparc64 amd64 -USE_MYSQL= yes -USE_GMAKE= yes - -CONF_SAMPLES= cdr_mysql.conf.sample res_mysql.conf.sample -ASTETCDIR= ${PREFIX}/etc/asterisk - -post-patch: - @${REINPLACE_CMD} 's,^CFLAGS+=-I../asterisk,CFLAGS+=-I${LOCALBASE}/include,' ${WRKSRC}/Makefile - -post-install: - ${MKDIR} ${ASTETCDIR} -.for f in ${CONF_SAMPLES} - ${INSTALL_DATA} ${WRKSRC}/configs/$f ${ASTETCDIR} -.endfor - -.include <bsd.port.mk> diff --git a/net/asterisk16-addons/distinfo b/net/asterisk16-addons/distinfo deleted file mode 100644 index 1553a3f59f86..000000000000 --- a/net/asterisk16-addons/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (asterisk-addons-1.2.3.tar.gz) = 2089e119985508b5a4a1916e2242184d -SHA256 (asterisk-addons-1.2.3.tar.gz) = 4eeb3f9f5ceb64b0742e8118ca7ba842330d28e7fd505a828730db0ee2997467 -SIZE (asterisk-addons-1.2.3.tar.gz) = 750973 diff --git a/net/asterisk16-addons/files/patch-Makefile b/net/asterisk16-addons/files/patch-Makefile deleted file mode 100644 index cfd4ba9c1c67..000000000000 --- a/net/asterisk16-addons/files/patch-Makefile +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.orig Fri Dec 2 05:14:28 2005 -+++ Makefile Tue Mar 28 00:15:47 2006 -@@ -20,8 +20,8 @@ - CFLAGS+=-D_GNU_SOURCE - - INSTALL=install --INSTALL_PREFIX= --ASTLIBDIR=$(INSTALL_PREFIX)/usr/lib/asterisk -+INSTALL_PREFIX=$(PREFIX) -+ASTLIBDIR=$(INSTALL_PREFIX)/lib/asterisk - MODULES_DIR=$(ASTLIBDIR)/modules - - # -@@ -56,7 +56,8 @@ - $(MAKE) -C format_mp3 all - - install: all -- for x in $(MODS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done -+ mkdir -p $(DESTDIR)$(MODULES_DIR) -+ for x in $(MODS); do $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(MODULES_DIR) ; done - - clean: - rm -f *.so *.o .depend diff --git a/net/asterisk16-addons/pkg-descr b/net/asterisk16-addons/pkg-descr deleted file mode 100644 index 797a19b3c61f..000000000000 --- a/net/asterisk16-addons/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -This package contains additional modules for the Asterisk Open Source PBX -which are, for one reason or another, not included in the normal base -distribution. Many of these modules are experimental. - -WWW: http://www.asteriskpbx.com diff --git a/net/asterisk16-addons/pkg-plist b/net/asterisk16-addons/pkg-plist deleted file mode 100644 index 09713ed4936e..000000000000 --- a/net/asterisk16-addons/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -@unexec if cmp -s %D/etc/asterisk/cdr_mysql.conf %D/etc/asterisk/cdr_mysql.conf.sample; then rm -f %D/etc/asterisk/cdr_mysql.conf; fi -etc/asterisk/cdr_mysql.conf.sample -@exec [-f %B/cdr_mysql.conf ] || cp %B/%f %B/cdr_mysql.conf -@unexec if cmp -s %D/etc/asterisk/res_mysql.conf %D/etc/asterisk/res_mysql.conf.sample; then rm -f %D/etc/asterisk/res_mysql.conf; fi -etc/asterisk/res_mysql.conf.sample -@exec [-f %B/res_mysql.conf ] || cp $B/%f %B/res_mysql.conf -lib/asterisk/modules/app_addon_sql_mysql.so -lib/asterisk/modules/app_saycountpl.so -lib/asterisk/modules/cdr_addon_mysql.so -lib/asterisk/modules/format_mp3.so -lib/asterisk/modules/res_config_mysql.so diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile deleted file mode 100644 index 80430418c78e..000000000000 --- a/net/asterisk16/Makefile +++ /dev/null @@ -1,139 +0,0 @@ -# New ports collection makefile for: asterisk -# Date created: 17 October 2003 -# Whom: Maxim Sobolev <sobomax@portaone.com> -# -# $FreeBSD$ -# - -PORTNAME= asterisk -PORTVERSION= 1.4.3 -CATEGORIES= net -MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \ - http://ftp.digium.com/pub/asterisk/old-releases/ - -MAINTAINER= sobomax@FreeBSD.org -COMMENT= An Open Source PBX and telephony toolkit - -BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 -LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex \ - newt.51:${PORTSDIR}/devel/newt \ - curl.4:${PORTSDIR}/ftp/curl -RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 - -ONLY_FOR_ARCHS= i386 sparc64 amd64 - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --mandir=${LOCALBASE}/man -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" -USE_GMAKE= yes -USE_BISON= yes -USE_RC_SUBR= asterisk.sh -MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ - PTHREAD_LIBS="${PTHREAD_LIBS}" \ - MKDIR="${MKDIR}" \ - PWLIBDIR=${LOCALBASE}/share/pwlib \ - OPENH323DIR=${LOCALBASE}/share/openh323 \ - OSVERSION=${OSVERSION} \ - CXX="${CXX}" -MAN8= asterisk.8 astgenkey.8 autosupport.8 safe_asterisk.8 - -OPTIONS= OGGVORBIS "Enable Ogg Vorbis support" on \ - ODBC "Enable ODBC support" on \ - POSTGRES "Enable PostgreSQL support" on \ - RADIUS "Enable RADIUS accounting support" on \ - SNMP "Enable SNMP support" on \ - H323 "Enable H.323 support" on \ - JABBER "Enable Jabber and Gtalk support" on - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "i386" -OPTIONS+= ZAPTEL "Enable Zaptel support" on -.else -WITHOUT_ZAPTEL= yes -.endif - -.if defined(WITHOUT_H323) -PLIST_SUB+= WITH_H323="@comment " -CONFIGURE_ARGS+= --without-h323 -.else -PLIST_SUB+= WITH_H323="" -CONFIGURE_ARGS+= --with-h323 -LIB_DEPENDS+= pt_r.1:${PORTSDIR}/devel/pwlib \ - h323_r.1:${PORTSDIR}/net/openh323 -.endif - -.if defined(WITHOUT_ZAPTEL) -PLIST_SUB+= WITH_ZAPTEL="@comment " -CONFIGURE_ARGS+= --without-zaptel -.else -PLIST_SUB+= WITH_ZAPTEL="" -CONFIGURE_ARGS+= --with-zaptel -BUILD_DEPENDS+= libpri>=1.2.0:${PORTSDIR}/misc/libpri \ - ${LOCALBASE}/include/zaptel/zaptel.h:${PORTSDIR}/misc/zaptel -LIB_DEPENDS+= pri.1:${PORTSDIR}/misc/libpri -RUN_DEPENDS+= ${LOCALBASE}/include/zaptel/zaptel.h:${PORTSDIR}/misc/zaptel -.endif - -# -# WITH_FREETDS, WITH_PGSQL and WITH_SQLITE can also be added to MAKE_ENV -# similarly -.if defined(WITHOUT_ODBC) -PLIST_SUB+= WITH_ODBC="@comment " -CONFIGURE_ARGS+= --without-odbc -.else -PLIST_SUB+= WITH_ODBC="" -CONFIGURE_ARGS+= --with-odbc -LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC -.endif - -.if defined(WITHOUT_POSTGRES) -PLIST_SUB+= WITH_POSTGRES="@comment " -CONFIGURE_ARGS+= --without-postgres -.else -PLIST_SUB+= WITH_POSTGRES="" -USE_PGSQL= yes -CONFIGURE_ARGS+= --with-postgres -.endif - -.if defined(WITHOUT_OGGVORBIS) -PLIST_SUB+= WITH_OGGVORBIS="@comment " -CONFIGURE_ARGS+= --without-ogg -.else -PLIST_SUB+= WITH_OGGVORBIS="" -CONFIGURE_ARGS+= --with-ogg -LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis -.endif - -.if defined(WITHOUT_RADIUS) -PLIST_SUB+= WITH_RADIUS="@comment " -CONFIGURE_ARGS+= --without-radius -.else -PLIST_SUB+= WITH_RADIUS="" -CONFIGURE_ARGS+= --with-radius -LIB_DEPENDS+= radiusclient-ng.2:${PORTSDIR}/net/radiusclient -.endif - -.if defined(WITHOUT_SNMP) -PLIST_SUB+= WITH_SNMP="@comment " -CONFIGURE_ARGS+= --without-netsnmp -.else -PLIST_SUB+= WITH_SNMP="" -CONFIGURE_ARGS+= --with-netsnmp -LIB_DEPENDS+= netsnmp.10:${PORTSDIR}/net-mgmt/net-snmp -.endif - -.if defined(WITHOUT_JABBER) -PLIST_SUB+= WITH_JABBER="@comment " -CONFIGURE_ARGS+= --without-iksemel -.else -PLIST_SUB+= WITH_JABBER="" -CONFIGURE_ARGS+= --with-iksemel -LIB_DEPENDS+= iksemel.3:${PORTSDIR}/textproc/iksemel -.endif - -post-patch: - ${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample - -.include <bsd.port.post.mk> diff --git a/net/asterisk16/distinfo b/net/asterisk16/distinfo deleted file mode 100644 index 214acdd84d5b..000000000000 --- a/net/asterisk16/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (asterisk-1.4.3.tar.gz) = 1df236fa972dc16d1b5265b3c4868085 -SHA256 (asterisk-1.4.3.tar.gz) = 7560d0e82c671042105c4715bc0430e7219cd46dba206cc0864e00b6ffdcf91c -SIZE (asterisk-1.4.3.tar.gz) = 17080162 diff --git a/net/asterisk16/files/asterisk.sh.in b/net/asterisk16/files/asterisk.sh.in deleted file mode 100644 index 4489cb50be04..000000000000 --- a/net/asterisk16/files/asterisk.sh.in +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -# PROVIDE: asterisk -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to enable asterisk: -# -# asterisk_enable="YES" -# - -. %%RC_SUBR%% - -name=asterisk -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/asterisk - -load_rc_config $name - -pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"} - -asterisk_enable=${asterisk_enable:-"NO"} - -run_rc_command "$1" diff --git a/net/asterisk16/files/patch-Makefile b/net/asterisk16/files/patch-Makefile deleted file mode 100644 index f145cb58e89b..000000000000 --- a/net/asterisk16/files/patch-Makefile +++ /dev/null @@ -1,226 +0,0 @@ - -$FreeBSD$ - ---- Makefile.orig -+++ Makefile -@@ -207,7 +207,7 @@ - - ifeq ($(OSARCH),FreeBSD) - # -V is understood by BSD Make, not by GNU make. -- BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk) -+ BSDVERSION=$(OSVERSION) - ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi) - AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi) - endif -@@ -371,15 +371,15 @@ - # Should static HTTP be installed during make samples or even with its own target ala - # webvoicemail? There are portions here that *could* be customized but might also be - # improved a lot. I'll put it here for now. -- mkdir -p $(DESTDIR)$(ASTDATADIR)/static-http -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/static-http - for x in static-http/*; do \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \ - done -- mkdir -p $(DESTDIR)$(ASTDATADIR)/images -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/images - for x in images/*.jpg; do \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/images ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/images ; \ - done -- mkdir -p $(DESTDIR)$(AGI_DIR) -+ $(MKDIR) $(DESTDIR)$(AGI_DIR) - $(MAKE) -C sounds install - - update: -@@ -400,45 +400,45 @@ - OLDHEADERS=$(filter-out $(NEWHEADERS),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h))) - - bininstall: _all -- mkdir -p $(DESTDIR)$(MODULES_DIR) -- mkdir -p $(DESTDIR)$(ASTSBINDIR) -- mkdir -p $(DESTDIR)$(ASTETCDIR) -- mkdir -p $(DESTDIR)$(ASTBINDIR) -- mkdir -p $(DESTDIR)$(ASTVARRUNDIR) -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/dictate -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/system -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/tmp -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/meetme -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/monitor -- $(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/ -+ $(MKDIR) $(DESTDIR)$(MODULES_DIR) -+ $(MKDIR) $(DESTDIR)$(ASTSBINDIR) -+ $(MKDIR) $(DESTDIR)$(ASTETCDIR) -+ $(MKDIR) $(DESTDIR)$(ASTBINDIR) -+ $(MKDIR) $(DESTDIR)$(ASTVARRUNDIR) -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/dictate -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/system -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/tmp -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/meetme -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/monitor -+ $(BSD_INSTALL_PROGRAM) main/asterisk $(DESTDIR)$(ASTSBINDIR)/ - $(LN) -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk -- $(INSTALL) -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/ -- $(INSTALL) -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/ -+ $(BSD_INSTALL_SCRIPT) contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/ -+ $(BSD_INSTALL_SCRIPT) contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/ - if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \ - cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;' > $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\ - chmod 755 $(DESTDIR)$(ASTSBINDIR)/safe_asterisk;\ - fi -- $(INSTALL) -d $(DESTDIR)$(ASTHEADERDIR) -- $(INSTALL) -m 644 include/asterisk.h $(DESTDIR)$(includedir) -- $(INSTALL) -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR) -+ $(MKDIR) $(DESTDIR)$(ASTHEADERDIR) -+ $(BSD_INSTALL_DATA) include/asterisk.h $(DESTDIR)$(includedir) -+ $(BSD_INSTALL_DATA) include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR) - if [ -n "$(OLDHEADERS)" ]; then \ - rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\ - fi -- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-csv -- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-custom -- mkdir -p $(DESTDIR)$(ASTDATADIR)/keys -- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware -- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware/iax -- mkdir -p $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys -- $(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys -- $(INSTALL) -m 644 doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8 -- $(INSTALL) -m 644 contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-csv -+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-custom -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/keys -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware -+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware/iax -+ $(MKDIR) $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys -+ $(BSD_INSTALL_DATA) keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys -+ $(BSD_INSTALL_DATA) doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8 -+ $(BSD_INSTALL_DATA) contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 - if [ -f contrib/firmware/iax/iaxy.bin ] ; then \ -- $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \ -+ $(BSD_INSTALL_DATA) contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \ - fi - - $(SUBDIRS_INSTALL): -@@ -465,7 +465,7 @@ - echo " WARNING WARNING WARNING" ;\ - fi - --install: datafiles bininstall $(SUBDIRS_INSTALL) -+install: datafiles bininstall $(SUBDIRS_INSTALL) samples - @if [ -x /usr/sbin/asterisk-post-install ]; then \ - /usr/sbin/asterisk-post-install $(DESTDIR) . ; \ - fi -@@ -495,31 +495,23 @@ - upgrade: bininstall - - adsi: -- mkdir -p $(DESTDIR)$(ASTETCDIR) -+ $(MKDIR) $(DESTDIR)$(ASTETCDIR) - for x in configs/*.adsi; do \ - if [ ! -f $(DESTDIR)$(ASTETCDIR)/$$x ]; then \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \ - fi ; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`-dist ; \ - done - - samples: adsi -- mkdir -p $(DESTDIR)$(ASTETCDIR) -+ $(MKDIR) $(DESTDIR)$(ASTETCDIR) - for x in configs/*.sample; do \ -- if [ -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \ -- if [ "$(OVERWRITE)" = "y" ]; then \ -- if cmp -s $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $$x ; then \ -- echo "Config file $$x is unchanged"; \ -- continue; \ -- fi ; \ -- mv -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.old ; \ -- else \ -- echo "Skipping config file $$x"; \ -- continue; \ -- fi ;\ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`-dist ;\ -+ if [ ! -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`;\ - fi ; \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ;\ - done -- if [ "$(OVERWRITE)" = "y" ] || [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \ -+ if true; then \ - ( \ - echo "[directories]" ; \ - echo "astetcdir => $(ASTETCDIR)" ; \ -@@ -540,20 +532,23 @@ - echo ";astctlowner = root" ; \ - echo ";astctlgroup = apache" ; \ - echo ";astctl = asterisk.ctl" ; \ -- ) > $(DESTDIR)$(ASTCONFPATH) ; \ -+ ) > $(DESTDIR)$(ASTCONFPATH)-dist ; \ -+ if [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \ -+ cp $(DESTDIR)$(ASTCONFPATH)-dist $(DESTDIR)$(ASTCONFPATH); \ -+ fi; \ - else \ - echo "Skipping asterisk.conf creation"; \ - fi -- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX -+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX - build_tools/make_sample_voicemail $(DESTDIR)/$(ASTDATADIR) $(DESTDIR)/$(ASTSPOOLDIR) - - webvmail: - @[ -d $(DESTDIR)$(HTTP_DOCSDIR)/ ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 ) - @[ -d $(DESTDIR)$(HTTP_CGIDIR) ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 ) - $(INSTALL) -m 4755 -o root -g root contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi -- mkdir -p $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk -+ $(MKDIR) $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk - for x in images/*.gif; do \ -- $(INSTALL) -m 644 $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \ -+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \ - done - @echo " +--------- Asterisk Web Voicemail ----------+" - @echo " + +" -@@ -580,10 +575,10 @@ - - __rpm: include/asterisk/version.h include/asterisk/buildopts.h spec - rm -rf /tmp/asterisk ; \ -- mkdir -p /tmp/asterisk/redhat/RPMS/i386 ; \ -+ $(MKDIR) /tmp/asterisk/redhat/RPMS/i386 ; \ - $(MAKE) DESTDIR=/tmp/asterisk install ; \ - $(MAKE) DESTDIR=/tmp/asterisk samples ; \ -- mkdir -p /tmp/asterisk/etc/rc.d/init.d ; \ -+ $(MKDIR) /tmp/asterisk/etc/rc.d/init.d ; \ - cp -f contrib/init.d/rc.redhat.asterisk /tmp/asterisk/etc/rc.d/init.d/asterisk ; \ - rpmbuild --rcfile /usr/lib/rpm/rpmrc:redhat/rpmrc -bb asterisk.spec - -@@ -594,19 +589,19 @@ - config: - @if [ "${OSARCH}" = "linux-gnu" ]; then \ - if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \ - /sbin/chkconfig --add asterisk; \ - elif [ -f /etc/debian_version ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.debian.asterisk /etc/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.debian.asterisk /etc/init.d/asterisk; \ - /usr/sbin/update-rc.d asterisk start 10 2 3 4 5 . stop 91 2 3 4 5 .; \ - elif [ -f /etc/gentoo-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.gentoo.asterisk /etc/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.gentoo.asterisk /etc/init.d/asterisk; \ - /sbin/rc-update add asterisk default; \ - elif [ -f /etc/mandrake-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.mandrake.asterisk /etc/rc.d/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.mandrake.asterisk /etc/rc.d/init.d/asterisk; \ - /sbin/chkconfig --add asterisk; \ - elif [ -f /etc/SuSE-release -o -f /etc/novell-release ]; then \ -- $(INSTALL) -m 755 contrib/init.d/rc.suse.asterisk /etc/init.d/asterisk; \ -+ $(BSD_INSTALL_SCRIPT) contrib/init.d/rc.suse.asterisk /etc/init.d/asterisk; \ - /sbin/chkconfig --add asterisk; \ - elif [ -f /etc/slackware-version ]; then \ - echo "Slackware is not currently supported, although an init script does exist for it." \ diff --git a/net/asterisk16/files/patch-agi::Makefile b/net/asterisk16/files/patch-agi::Makefile deleted file mode 100644 index f9910fe96dd6..000000000000 --- a/net/asterisk16/files/patch-agi::Makefile +++ /dev/null @@ -1,25 +0,0 @@ ---- agi/Makefile.orig Sat Dec 16 23:14:34 2006 -+++ agi/Makefile Wed Mar 28 11:13:21 2007 -@@ -13,7 +13,9 @@ - - .PHONY: clean all uninstall - --AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi -+AGIS_BIN=eagi-test eagi-sphinx-test -+AGIS_SCR=agi-test.agi jukebox.agi -+AGIS=$(AGIS_SCR) $(AGIS_BIN) - - ifeq ($(OSARCH),SunOS) - LIBS+=-lsocket -lnsl -@@ -31,8 +33,9 @@ eagi-test: eagi-test.o strcompat.o - eagi-sphinx-test: eagi-sphinx-test.o - - install: all -- mkdir -p $(DESTDIR)$(AGI_DIR) -- for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done -+ $(MKDIR) -p $(DESTDIR)$(AGI_DIR) -+ for x in $(AGIS_BIN); do $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(AGI_DIR) ; done -+ for x in $(AGIS_SCR); do $(BSD_INSTALL_SCRIPT) $$x $(DESTDIR)$(AGI_DIR) ; done - - uninstall: - for x in $(AGIS); do rm -f $(DESTDIR)$(AGI_DIR)/$$x ; done diff --git a/net/asterisk16/files/patch-channels::Makefile b/net/asterisk16/files/patch-channels::Makefile deleted file mode 100644 index dbe7d0c7a0d2..000000000000 --- a/net/asterisk16/files/patch-channels::Makefile +++ /dev/null @@ -1,35 +0,0 @@ - -$FreeBSD$ - ---- channels/Makefile.orig -+++ channels/Makefile -@@ -26,8 +26,8 @@ - endif - - ifeq ($(OSARCH),FreeBSD) -- PTLIB=-lpt_FreeBSD_x86_r -- H323LIB=-lh323_FreeBSD_x86_r -+ PTLIB=-lpt_r -+ H323LIB=-lh323_r - CHANH323LIB=-pthread - endif - -@@ -72,12 +72,12 @@ - h323/libchanh323.a h323/Makefile.ast: - $(CMD_PREFIX) $(MAKE) -C h323 - $(CMD_PREFIX) rm -f ../main/asterisk -- $(CMD_PREFIX) echo "***************************************************************" -- $(CMD_PREFIX) echo -- $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********" -- $(CMD_PREFIX) echo -- $(CMD_PREFIX) echo "***************************************************************" -- $(CMD_PREFIX) exit 1 -+# $(CMD_PREFIX) echo "***************************************************************" -+# $(CMD_PREFIX) echo -+# $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********" -+# $(CMD_PREFIX) echo -+# $(CMD_PREFIX) echo "***************************************************************" -+# $(CMD_PREFIX) exit 1 - endif - - gentone: gentone.c diff --git a/net/asterisk16/files/patch-channels::chan_h323.c b/net/asterisk16/files/patch-channels::chan_h323.c deleted file mode 100644 index 4ca048812ecd..000000000000 --- a/net/asterisk16/files/patch-channels::chan_h323.c +++ /dev/null @@ -1,13 +0,0 @@ - -$FreeBSD$ - ---- channels/chan_h323.c.orig -+++ channels/chan_h323.c -@@ -31,6 +31,7 @@ - * \ingroup channel_drivers - */ - -+#include <sys/types.h> - #include <sys/socket.h> - #include <sys/signal.h> - #include <sys/param.h> diff --git a/net/asterisk16/files/patch-channels::chan_sip.c b/net/asterisk16/files/patch-channels::chan_sip.c deleted file mode 100644 index 06bb9c822545..000000000000 --- a/net/asterisk16/files/patch-channels::chan_sip.c +++ /dev/null @@ -1,35 +0,0 @@ ---- channels/chan_sip.c.orig Wed Mar 28 11:23:42 2007 -+++ channels/chan_sip.c Wed Mar 28 11:36:27 2007 -@@ -484,7 +484,7 @@ static const struct cfsip_options { - #define DEFAULT_MOHINTERPRET "default" - #define DEFAULT_MOHSUGGEST "" - #define DEFAULT_VMEXTEN "asterisk" --#define DEFAULT_CALLERID "asterisk" -+#define DEFAULT_CALLERID "Unknown" - #define DEFAULT_NOTIFYMIME "application/simple-message-summary" - #define DEFAULT_MWITIME 10 - #define DEFAULT_ALLOWGUEST TRUE -@@ -3822,6 +3823,8 @@ static struct ast_channel *sip_new(struc - ast_codec_pref_remove2(&tmp->nativeformats, ~i->usercapability); - fmt = ast_codec_pref_index_audio(&tmp->nativeformats, 0); - -+ pbx_builtin_setvar_helper(tmp, "SIP_CODEC_USED", ast_getformatname(fmt)); -+ - /* If we have a prefcodec setting, we have an inbound channel that set a - preferred format for this call. Otherwise, we check the jointcapability - We also check for vrtp. If it's not there, we are not allowed do any video anyway. -@@ -11203,6 +11215,13 @@ static int build_reply_digest(struct sip - secret = p->peersecret; - md5secret = p->peermd5secret; - } -+ /* No authentication. Try to get auth info from channel vars */ -+ if (ast_strlen_zero(username)) -+ { -+ username = pbx_builtin_getvar_helper(p->owner, "SIP_AUTH_NAME"); -+ secret = pbx_builtin_getvar_helper(p->owner, "SIP_AUTH_SECRET"); -+ md5secret = pbx_builtin_getvar_helper(p->owner, "SIP_AUTH_MD5SECRET"); -+ } - if (ast_strlen_zero(username)) /* We have no authentication */ - return -1; - - diff --git a/net/asterisk16/files/patch-channels::chan_skinny.c b/net/asterisk16/files/patch-channels::chan_skinny.c deleted file mode 100644 index acefb8f7222c..000000000000 --- a/net/asterisk16/files/patch-channels::chan_skinny.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- channels/chan_skinny.c.orig -+++ channels/chan_skinny.c -@@ -99,7 +99,7 @@ - #define htolel(x) (x) - #define htoles(x) (x) - #else --#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) -+#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__FreeBSD__) - #define __bswap_16(x) \ - ((((x) & 0xff00) >> 8) | \ - (((x) & 0x00ff) << 8)) diff --git a/net/asterisk16/files/patch-channels::chan_zap.c b/net/asterisk16/files/patch-channels::chan_zap.c deleted file mode 100644 index ab02c02af962..000000000000 --- a/net/asterisk16/files/patch-channels::chan_zap.c +++ /dev/null @@ -1,80 +0,0 @@ - -$FreeBSD$ - ---- channels/chan_zap.c.orig Tue Nov 29 20:24:39 2005 -+++ channels/chan_zap.c Fri Jan 13 13:28:33 2006 -@@ -638,6 +638,7 @@ static struct zt_pvt { - int cidlen; - int ringt; - int ringt_base; -+ int waitnorings; - int stripmsd; - int callwaitcas; - int callwaitrings; -@@ -2308,6 +2309,19 @@ static int zt_hangup(struct ast_channel - } - - ast_mutex_lock(&p->lock); -+ switch (p->sig) { -+ case SIG_FXSGS: -+ case SIG_FXSKS: -+ case SIG_FXSLS: -+ if((ast->_state == AST_STATE_RING) && (p->ringt > 1)) -+ { -+ p->waitnorings = 1; -+ } -+ break; -+ default: -+ break; -+ }; -+ - - index = zt_get_index(ast, p, 1); - -@@ -6129,7 +6143,37 @@ static void *ss_thread(void *data) - ast_setstate(chan, AST_STATE_RING); - chan->rings = 1; - p->ringt = p->ringt_base; -+ p->waitnorings = 0; - res = ast_pbx_run(chan); -+ -+ if(p->waitnorings) -+ { -+ p->ringt = p->ringt_base; -+ for(;;) -+ { -+ int i,j=0; -+ i = ZT_IOMUX_SIGEVENT | ZT_IOMUX_NOWAIT; -+ if (ioctl(p->subs[index].zfd, ZT_IOMUX, &i) == -1) -+ break; -+ -+ if (ioctl(p->subs[index].zfd, ZT_GETEVENT, &j) == -1) -+ break; -+ -+ if(j == ZT_EVENT_RINGOFFHOOK) -+ p->ringt = p->ringt_base; -+ -+ usleep(20000); -+ -+ if (p->ringt <= 0) -+ break; -+ -+ else if (p->ringt > 0) -+ p->ringt--; -+ } -+ p->ringt = 0; -+ p->waitnorings = 0; -+ } -+ - if (res) { - ast_hangup(chan); - ast_log(LOG_WARNING, "PBX exited non-zero\n"); -@@ -6431,7 +6475,7 @@ static void *do_monitor(void *data) - i = iflist; - while(i) { - if ((i->subs[SUB_REAL].zfd > -1) && i->sig && (!i->radio)) { -- if (!i->owner && !i->subs[SUB_REAL].owner) { -+ if (!i->owner && !i->subs[SUB_REAL].owner && !i->waitnorings) { - /* This needs to be watched, as it lacks an owner */ - pfds[count].fd = i->subs[SUB_REAL].zfd; - pfds[count].events = POLLPRI; diff --git a/net/asterisk16/files/patch-configure b/net/asterisk16/files/patch-configure deleted file mode 100644 index 9a62851600a8..000000000000 --- a/net/asterisk16/files/patch-configure +++ /dev/null @@ -1,32 +0,0 @@ - -$FreeBSD$ - ---- configure.orig -+++ configure -@@ -23776,7 +23776,7 @@ - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-lodbc ${pbxlibdir} -lltdl $LIBS" -+LIBS="-lodbc ${pbxlibdir} $LIBS" - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF -@@ -23855,7 +23855,7 @@ - - - if test "${AST_UNIXODBC_FOUND}" = "yes"; then -- UNIXODBC_LIB="-lodbc -lltdl" -+ UNIXODBC_LIB="-lodbc" - UNIXODBC_HEADER_FOUND="1" - if test "x${UNIXODBC_DIR}" != "x"; then - UNIXODBC_LIB="${pbxlibdir} ${UNIXODBC_LIB}" -@@ -28065,7 +28065,7 @@ - - fi - -- PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}" -+ PLATFORM_OPENH323="h323_${OPENH323_SUFFIX}" - - if test "${HAS_OPENH323:-unset}" != "unset"; then - { echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5 diff --git a/net/asterisk16/files/patch-include::asterisk::utils.h b/net/asterisk16/files/patch-include::asterisk::utils.h deleted file mode 100644 index a06f7d065c84..000000000000 --- a/net/asterisk16/files/patch-include::asterisk::utils.h +++ /dev/null @@ -1,13 +0,0 @@ - -$FreeBSD$ - ---- include/asterisk/utils.h 2004/10/10 12:55:50 1.1 -+++ include/asterisk/utils.h 2004/10/10 12:56:43 -@@ -37,7 +37,6 @@ - #ifdef inet_ntoa - #undef inet_ntoa - #endif --#define inet_ntoa __dont__use__inet_ntoa__use__ast_inet_ntoa__instead__ - - #ifdef LINUX - #define ast_pthread_create pthread_create diff --git a/net/asterisk16/files/patch-main::Makefile b/net/asterisk16/files/patch-main::Makefile deleted file mode 100644 index 381c08339a95..000000000000 --- a/net/asterisk16/files/patch-main::Makefile +++ /dev/null @@ -1,22 +0,0 @@ ---- main/Makefile.orig Wed Mar 28 11:08:42 2007 -+++ main/Makefile Wed Mar 28 11:09:20 2007 -@@ -98,8 +98,8 @@ editline/libedit.a: - cd editline && test -f config.h || CFLAGS="$(PTHREAD_CFLAGS) $(ASTCFLAGS:-Werror=)" LDFLAGS="$(ASTLDFLAGS)" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --with-ncurses=$(NCURSES_DIR) --with-curses=$(CURSES_DIR) --with-termcap=$(TERMCAP_DIR) --with-tinfo=$(TINFO_DIR) - $(MAKE) -C editline libedit.a - --db1-ast/libdb1.a: -- CFLAGS="$(ASTCFLAGS)" LDFLAGS="$(ASTLDFLAGS)" $(MAKE) -C db1-ast libdb1.a -+#db1-ast/libdb1.a: -+# CFLAGS="$(ASTCFLAGS)" LDFLAGS="$(ASTLDFLAGS)" $(MAKE) -C db1-ast libdb1.a - - ast_expr2.c ast_expr2.h: - bison -o $@ -d --name-prefix=ast_yy ast_expr2.y -@@ -127,7 +127,7 @@ else - H323LDLIBS= - endif - --asterisk: $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) -+asterisk: $(OBJS) editline/libedit.a $(AST_EMBED_LDSCRIPTS) - @$(ASTTOPDIR)/build_tools/make_build_h > $(ASTTOPDIR)/include/asterisk/build.h.tmp - @if cmp -s $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; then echo ; else \ - mv $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; \ diff --git a/net/asterisk16/files/patch-main::db.c b/net/asterisk16/files/patch-main::db.c deleted file mode 100644 index 0b26f3b2cca6..000000000000 --- a/net/asterisk16/files/patch-main::db.c +++ /dev/null @@ -1,21 +0,0 @@ - -$FreeBSD$ - ---- main/db.c.orig Fri Jan 13 11:05:32 2006 -+++ main/db.c Fri Jan 13 11:06:55 2006 -@@ -35,6 +35,7 @@ - #include <errno.h> - #include <unistd.h> - #include <dirent.h> -+#include <db.h> - - #include "asterisk.h" - -@@ -51,7 +52,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi - #include "asterisk/utils.h" - #include "asterisk/lock.h" - #include "asterisk/manager.h" --#include "db1-ast/include/db.h" - - #ifdef __CYGWIN__ - #define dbopen __dbopen diff --git a/net/asterisk16/files/patch-main::frame.c b/net/asterisk16/files/patch-main::frame.c deleted file mode 100644 index 232de08a9e21..000000000000 --- a/net/asterisk16/files/patch-main::frame.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- main/frame.c.orig Wed Jan 25 13:22:43 2006 -+++ main/frame.c Wed Jan 25 13:21:25 2006 -@@ -1170,7 +1170,7 @@ static int g723_len(unsigned char buf) - { - switch(buf & TYPE_MASK) { - case TYPE_DONTSEND: -- return 0; -+ return 2; - break; - case TYPE_SILENCE: - return 4; diff --git a/net/asterisk16/files/patch-main::utils.c b/net/asterisk16/files/patch-main::utils.c deleted file mode 100644 index 4c465aeb9875..000000000000 --- a/net/asterisk16/files/patch-main::utils.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- main/utils.c -+++ main/utils.c -@@ -58,7 +58,7 @@ - static char base64[64]; - static char b2a[256]; - --#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) -+#if (defined(__FreeBSD__) && __FreeBSD_version < 601103) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) - - /* duh? ERANGE value copied from web... */ - #define ERANGE 34 diff --git a/net/asterisk16/pkg-descr b/net/asterisk16/pkg-descr deleted file mode 100644 index 28b7a1deb011..000000000000 --- a/net/asterisk16/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Asterisk is an Open Source PBX and telephony toolkit. It is, in a -sense, middleware between Internet and telephony channels on the bottom, -and Internet and telephony applications at the top. - -WWW: http://www.asteriskpbx.com diff --git a/net/asterisk16/pkg-plist b/net/asterisk16/pkg-plist deleted file mode 100644 index ab56ce51e1dc..000000000000 --- a/net/asterisk16/pkg-plist +++ /dev/null @@ -1,812 +0,0 @@ -@unexec if cmp -s %D/etc/asterisk/adsi.conf %D/etc/asterisk/adsi.conf-dist; then rm -f %D/etc/asterisk/adsi.conf; fi -etc/asterisk/adsi.conf-dist -@unexec if cmp -s %D/etc/asterisk/adtranvofr.conf %D/etc/asterisk/adtranvofr.conf-dist; then rm -f %D/etc/asterisk/adtranvofr.conf; fi -etc/asterisk/adtranvofr.conf-dist -@unexec if cmp -s %D/etc/asterisk/agents.conf %D/etc/asterisk/agents.conf-dist; then rm -f %D/etc/asterisk/agents.conf; fi -etc/asterisk/agents.conf-dist -@unexec if cmp -s %D/etc/asterisk/alarmreceiver.conf %D/etc/asterisk/alarmreceiver.conf-dist; then rm -f %D/etc/asterisk/alarmreceiver.conf; fi -etc/asterisk/alarmreceiver.conf-dist -@unexec if cmp -s %D/etc/asterisk/alsa.conf %D/etc/asterisk/alsa.conf-dist; then rm -f %D/etc/asterisk/alsa.conf; fi -etc/asterisk/alsa.conf-dist -@unexec if cmp -s %D/etc/asterisk/asterisk.adsi %D/etc/asterisk/asterisk.adsi-dist; then rm -f %D/etc/asterisk/asterisk.adsi; fi -etc/asterisk/asterisk.adsi-dist -@unexec if cmp -s %D/etc/asterisk/asterisk.conf %D/etc/asterisk/asterisk.conf-dist; then rm -f %D/etc/asterisk/asterisk.conf; fi -etc/asterisk/asterisk.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr.conf %D/etc/asterisk/cdr.conf-dist; then rm -f %D/etc/asterisk/cdr.conf; fi -etc/asterisk/cdr.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_custom.conf %D/etc/asterisk/cdr_custom.conf-dist; then rm -f %D/etc/asterisk/cdr_custom.conf; fi -etc/asterisk/cdr_custom.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_manager.conf %D/etc/asterisk/cdr_manager.conf-dist; then rm -f %D/etc/asterisk/cdr_manager.conf; fi -etc/asterisk/cdr_manager.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_odbc.conf %D/etc/asterisk/cdr_odbc.conf-dist; then rm -f %D/etc/asterisk/cdr_odbc.conf; fi -etc/asterisk/cdr_odbc.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_pgsql.conf %D/etc/asterisk/cdr_pgsql.conf-dist; then rm -f %D/etc/asterisk/cdr_pgsql.conf; fi -etc/asterisk/cdr_pgsql.conf-dist -@unexec if cmp -s %D/etc/asterisk/cdr_tds.conf %D/etc/asterisk/cdr_tds.conf-dist; then rm -f %D/etc/asterisk/cdr_tds.conf; fi -etc/asterisk/cdr_tds.conf-dist -@unexec if cmp -s %D/etc/asterisk/codecs.conf %D/etc/asterisk/codecs.conf-dist; then rm -f %D/etc/asterisk/codecs.conf; fi -etc/asterisk/codecs.conf-dist -@unexec if cmp -s %D/etc/asterisk/dnsmgr.conf %D/etc/asterisk/dnsmgr.conf-dist; then rm -f %D/etc/asterisk/dnsmgr.conf; fi -etc/asterisk/dnsmgr.conf-dist -@unexec if cmp -s %D/etc/asterisk/dundi.conf %D/etc/asterisk/dundi.conf-dist; then rm -f %D/etc/asterisk/dundi.conf; fi -etc/asterisk/dundi.conf-dist -@unexec if cmp -s %D/etc/asterisk/enum.conf %D/etc/asterisk/enum.conf-dist; then rm -f %D/etc/asterisk/enum.conf; fi -etc/asterisk/enum.conf-dist -@unexec if cmp -s %D/etc/asterisk/extconfig.conf %D/etc/asterisk/extconfig.conf-dist; then rm -f %D/etc/asterisk/extconfig.conf; fi -etc/asterisk/extconfig.conf-dist -@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi -etc/asterisk/extensions.ael-dist -@unexec if cmp -s %D/etc/asterisk/extensions.conf %D/etc/asterisk/extensions.conf-dist; then rm -f %D/etc/asterisk/extensions.conf; fi -etc/asterisk/extensions.conf-dist -@unexec if cmp -s %D/etc/asterisk/features.conf %D/etc/asterisk/features.conf-dist; then rm -f %D/etc/asterisk/features.conf; fi -etc/asterisk/features.conf-dist -@unexec if cmp -s %D/etc/asterisk/festival.conf %D/etc/asterisk/festival.conf-dist; then rm -f %D/etc/asterisk/festival.conf; fi -etc/asterisk/festival.conf-dist -@unexec if cmp -s %D/etc/asterisk/iax.conf %D/etc/asterisk/iax.conf-dist; then rm -f %D/etc/asterisk/iax.conf; fi -etc/asterisk/iax.conf-dist -@unexec if cmp -s %D/etc/asterisk/iaxprov.conf %D/etc/asterisk/iaxprov.conf-dist; then rm -f %D/etc/asterisk/iaxprov.conf; fi -etc/asterisk/iaxprov.conf-dist -@unexec if cmp -s %D/etc/asterisk/indications.conf %D/etc/asterisk/indications.conf-dist; then rm -f %D/etc/asterisk/indications.conf; fi -etc/asterisk/indications.conf-dist -@unexec if cmp -s %D/etc/asterisk/logger.conf %D/etc/asterisk/logger.conf-dist; then rm -f %D/etc/asterisk/logger.conf; fi -etc/asterisk/logger.conf-dist -@unexec if cmp -s %D/etc/asterisk/manager.conf %D/etc/asterisk/manager.conf-dist; then rm -f %D/etc/asterisk/manager.conf; fi -etc/asterisk/manager.conf-dist -@unexec if cmp -s %D/etc/asterisk/meetme.conf %D/etc/asterisk/meetme.conf-dist; then rm -f %D/etc/asterisk/meetme.conf; fi -etc/asterisk/meetme.conf-dist -@unexec if cmp -s %D/etc/asterisk/mgcp.conf %D/etc/asterisk/mgcp.conf-dist; then rm -f %D/etc/asterisk/mgcp.conf; fi -etc/asterisk/mgcp.conf-dist -@unexec if cmp -s %D/etc/asterisk/misdn.conf %D/etc/asterisk/misdn.conf-dist; then rm -f %D/etc/asterisk/misdn.conf; fi -etc/asterisk/misdn.conf-dist -@unexec if cmp -s %D/etc/asterisk/modem.conf %D/etc/asterisk/modem.conf-dist; then rm -f %D/etc/asterisk/modem.conf; fi -etc/asterisk/modem.conf-dist -@unexec if cmp -s %D/etc/asterisk/modules.conf %D/etc/asterisk/modules.conf-dist; then rm -f %D/etc/asterisk/modules.conf; fi -etc/asterisk/modules.conf-dist -@unexec if cmp -s %D/etc/asterisk/musiconhold.conf %D/etc/asterisk/musiconhold.conf-dist; then rm -f %D/etc/asterisk/musiconhold.conf; fi -etc/asterisk/musiconhold.conf-dist -@unexec if cmp -s %D/etc/asterisk/osp.conf %D/etc/asterisk/osp.conf-dist; then rm -f %D/etc/asterisk/osp.conf; fi -etc/asterisk/osp.conf-dist -@unexec if cmp -s %D/etc/asterisk/oss.conf %D/etc/asterisk/oss.conf-dist; then rm -f %D/etc/asterisk/oss.conf; fi -etc/asterisk/oss.conf-dist -@unexec if cmp -s %D/etc/asterisk/phone.conf %D/etc/asterisk/phone.conf-dist; then rm -f %D/etc/asterisk/phone.conf; fi -etc/asterisk/phone.conf-dist -@unexec if cmp -s %D/etc/asterisk/privacy.conf %D/etc/asterisk/privacy.conf-dist; then rm -f %D/etc/asterisk/privacy.conf; fi -etc/asterisk/privacy.conf-dist -@unexec if cmp -s %D/etc/asterisk/queues.conf %D/etc/asterisk/queues.conf-dist; then rm -f %D/etc/asterisk/queues.conf; fi -etc/asterisk/queues.conf-dist -@unexec if cmp -s %D/etc/asterisk/res_odbc.conf %D/etc/asterisk/res_odbc.conf-dist; then rm -f %D/etc/asterisk/res_odbc.conf; fi -etc/asterisk/res_odbc.conf-dist -@unexec if cmp -s %D/etc/asterisk/rpt.conf %D/etc/asterisk/rpt.conf-dist; then rm -f %D/etc/asterisk/rpt.conf; fi -etc/asterisk/rpt.conf-dist -@unexec if cmp -s %D/etc/asterisk/rtp.conf %D/etc/asterisk/rtp.conf-dist; then rm -f %D/etc/asterisk/rtp.conf; fi -etc/asterisk/rtp.conf-dist -@unexec if cmp -s %D/etc/asterisk/sip.conf %D/etc/asterisk/sip.conf-dist; then rm -f %D/etc/asterisk/sip.conf; fi -etc/asterisk/sip.conf-dist -@unexec if cmp -s %D/etc/asterisk/sip_notify.conf %D/etc/asterisk/sip_notify.conf-dist; then rm -f %D/etc/asterisk/sip_notify.conf; fi -etc/asterisk/sip_notify.conf-dist -@unexec if cmp -s %D/etc/asterisk/skinny.conf %D/etc/asterisk/skinny.conf-dist; then rm -f %D/etc/asterisk/skinny.conf; fi -etc/asterisk/skinny.conf-dist -@unexec if cmp -s %D/etc/asterisk/telcordia-1.adsi %D/etc/asterisk/telcordia-1.adsi-dist; then rm -f %D/etc/asterisk/telcordia-1.adsi; fi -etc/asterisk/telcordia-1.adsi-dist -@unexec if cmp -s %D/etc/asterisk/voicemail.conf %D/etc/asterisk/voicemail.conf-dist; then rm -f %D/etc/asterisk/voicemail.conf; fi -etc/asterisk/voicemail.conf-dist -@unexec if cmp -s %D/etc/asterisk/vpb.conf %D/etc/asterisk/vpb.conf-dist; then rm -f %D/etc/asterisk/vpb.conf; fi -etc/asterisk/vpb.conf-dist -@unexec if cmp -s %D/etc/asterisk/zapata.conf %D/etc/asterisk/zapata.conf-dist; then rm -f %D/etc/asterisk/zapata.conf; fi -etc/asterisk/zapata.conf-dist -@unexec if cmp -s %D/etc/asterisk/udptl.conf %D/etc/asterisk/udptl.conf-dist; then rm -f %D/etc/asterisk/udptl.conf; fi -etc/asterisk/udptl.conf-dist -@unexec if cmp -s %D/etc/asterisk/users.conf %D/etc/asterisk/users.conf-dist; then rm -f %D/etc/asterisk/users.conf; fi -etc/asterisk/users.conf-dist -@unexec if cmp -s %D/etc/asterisk/smdi.conf %D/etc/asterisk/smdi.conf-dist; then rm -f %D/etc/asterisk/smdi.conf; fi -etc/asterisk/smdi.conf-dist -@unexec if cmp -s %D/etc/asterisk/sla.conf %D/etc/asterisk/sla.conf-dist; then rm -f %D/etc/asterisk/sla.conf; fi -etc/asterisk/sla.conf-dist -@unexec if cmp -s %D/etc/asterisk/say.conf %D/etc/asterisk/say.conf-dist; then rm -f %D/etc/asterisk/say.conf; fi -etc/asterisk/say.conf-dist -@unexec if cmp -s %D/etc/asterisk/res_snmp.conf %D/etc/asterisk/res_snmp.conf-dist; then rm -f %D/etc/asterisk/res_snmp.conf; fi -etc/asterisk/res_snmp.conf-dist -@unexec if cmp -s %D/etc/asterisk/muted.conf %D/etc/asterisk/muted.conf-dist; then rm -f %D/etc/asterisk/muted.conf; fi -etc/asterisk/muted.conf-dist -@unexec if cmp -s %D/etc/asterisk/jabber.conf %D/etc/asterisk/jabber.conf-dist; then rm -f %D/etc/asterisk/jabber.conf; fi -etc/asterisk/jabber.conf-dist -@unexec if cmp -s %D/etc/asterisk/http.conf %D/etc/asterisk/http.conf-dist; then rm -f %D/etc/asterisk/http.conf; fi -etc/asterisk/http.conf-dist -@unexec if cmp -s %D/etc/asterisk/h323.conf %D/etc/asterisk/h323.conf-dist; then rm -f %D/etc/asterisk/h323.conf; fi -etc/asterisk/h323.conf-dist -@unexec if cmp -s %D/etc/asterisk/gtalk.conf %D/etc/asterisk/gtalk.conf-dist; then rm -f %D/etc/asterisk/gtalk.conf; fi -etc/asterisk/gtalk.conf-dist -@unexec if cmp -s %D/etc/asterisk/func_odbc.conf %D/etc/asterisk/func_odbc.conf-dist; then rm -f %D/etc/asterisk/func_odbc.conf; fi -etc/asterisk/func_odbc.conf-dist -@unexec if cmp -s %D/etc/asterisk/followme.conf %D/etc/asterisk/followme.conf-dist; then rm -f %D/etc/asterisk/followme.conf; fi -etc/asterisk/followme.conf-dist -@unexec if cmp -s %D/etc/asterisk/amd.conf %D/etc/asterisk/amd.conf-dist; then rm -f %D/etc/asterisk/amd.conf; fi -etc/asterisk/amd.conf-dist -include/asterisk.h -include/asterisk/abstract_jb.h -include/asterisk/acl.h -include/asterisk/adsi.h -include/asterisk/ael_structs.h -include/asterisk/aes.h -include/asterisk/agi.h -include/asterisk/alaw.h -include/asterisk/app.h -include/asterisk/ast_expr.h -include/asterisk/astdb.h -include/asterisk/astmm.h -include/asterisk/astobj.h -include/asterisk/astosp.h -include/asterisk/autoconfig.h -include/asterisk/build.h -include/asterisk/buildopts.h -include/asterisk/callerid.h -include/asterisk/causes.h -include/asterisk/cdr.h -include/asterisk/channel.h -include/asterisk/chanspy.h -include/asterisk/chanvars.h -include/asterisk/cli.h -include/asterisk/compat.h -include/asterisk/compiler.h -include/asterisk/config.h -include/asterisk/crypto.h -include/asterisk/devicestate.h -include/asterisk/dial.h -include/asterisk/dlfcn-compat.h -include/asterisk/dns.h -include/asterisk/dnsmgr.h -include/asterisk/doxyref.h -include/asterisk/dsp.h -include/asterisk/dundi.h -include/asterisk/endian.h -include/asterisk/enum.h -include/asterisk/features.h -include/asterisk/file.h -include/asterisk/frame.h -include/asterisk/fskmodem.h -include/asterisk/http.h -include/asterisk/image.h -include/asterisk/indications.h -include/asterisk/inline_api.h -include/asterisk/io.h -include/asterisk/jabber.h -include/asterisk/jingle.h -include/asterisk/linkedlists.h -include/asterisk/localtime.h -include/asterisk/lock.h -include/asterisk/logger.h -include/asterisk/manager.h -include/asterisk/md5.h -include/asterisk/module.h -include/asterisk/monitor.h -include/asterisk/musiconhold.h -include/asterisk/netsock.h -include/asterisk/options.h -include/asterisk/paths.h -include/asterisk/pbx.h -include/asterisk/plc.h -include/asterisk/poll-compat.h -include/asterisk/privacy.h -include/asterisk/res_odbc.h -include/asterisk/rtp.h -include/asterisk/say.h -include/asterisk/sched.h -include/asterisk/sha1.h -include/asterisk/slinfactory.h -include/asterisk/smdi.h -include/asterisk/speech.h -include/asterisk/srv.h -include/asterisk/stringfields.h -include/asterisk/strings.h -include/asterisk/tdd.h -include/asterisk/term.h -include/asterisk/threadstorage.h -include/asterisk/time.h -include/asterisk/transcap.h -include/asterisk/translate.h -include/asterisk/udptl.h -include/asterisk/ulaw.h -include/asterisk/unaligned.h -include/asterisk/utils.h -include/asterisk/version.h -lib/asterisk/modules/app_adsiprog.so -lib/asterisk/modules/app_alarmreceiver.so -lib/asterisk/modules/app_amd.so -lib/asterisk/modules/app_authenticate.so -lib/asterisk/modules/app_cdr.so -lib/asterisk/modules/app_chanisavail.so -lib/asterisk/modules/app_channelredirect.so -lib/asterisk/modules/app_chanspy.so -lib/asterisk/modules/app_controlplayback.so -lib/asterisk/modules/app_db.so -lib/asterisk/modules/app_dial.so -lib/asterisk/modules/app_dictate.so -lib/asterisk/modules/app_directed_pickup.so -lib/asterisk/modules/app_directory.so -lib/asterisk/modules/app_disa.so -lib/asterisk/modules/app_dumpchan.so -lib/asterisk/modules/app_echo.so -lib/asterisk/modules/app_exec.so -lib/asterisk/modules/app_externalivr.so -lib/asterisk/modules/app_festival.so -lib/asterisk/modules/app_followme.so -lib/asterisk/modules/app_forkcdr.so -lib/asterisk/modules/app_getcpeid.so -lib/asterisk/modules/app_hasnewvoicemail.so -lib/asterisk/modules/app_ices.so -lib/asterisk/modules/app_image.so -lib/asterisk/modules/app_lookupblacklist.so -lib/asterisk/modules/app_lookupcidname.so -lib/asterisk/modules/app_macro.so -lib/asterisk/modules/app_milliwatt.so -lib/asterisk/modules/app_mixmonitor.so -lib/asterisk/modules/app_morsecode.so -lib/asterisk/modules/app_mp3.so -lib/asterisk/modules/app_nbscat.so -lib/asterisk/modules/app_parkandannounce.so -lib/asterisk/modules/app_playback.so -lib/asterisk/modules/app_privacy.so -lib/asterisk/modules/app_queue.so -lib/asterisk/modules/app_random.so -lib/asterisk/modules/app_read.so -lib/asterisk/modules/app_readfile.so -lib/asterisk/modules/app_realtime.so -lib/asterisk/modules/app_record.so -lib/asterisk/modules/app_sayunixtime.so -lib/asterisk/modules/app_senddtmf.so -lib/asterisk/modules/app_sendtext.so -lib/asterisk/modules/app_setcallerid.so -lib/asterisk/modules/app_setcdruserfield.so -lib/asterisk/modules/app_settransfercapability.so -lib/asterisk/modules/app_sms.so -lib/asterisk/modules/app_softhangup.so -lib/asterisk/modules/app_speech_utils.so -lib/asterisk/modules/app_stack.so -lib/asterisk/modules/app_system.so -lib/asterisk/modules/app_talkdetect.so -lib/asterisk/modules/app_test.so -lib/asterisk/modules/app_transfer.so -lib/asterisk/modules/app_url.so -lib/asterisk/modules/app_userevent.so -lib/asterisk/modules/app_verbose.so -lib/asterisk/modules/app_voicemail.so -lib/asterisk/modules/app_waitforring.so -lib/asterisk/modules/app_waitforsilence.so -lib/asterisk/modules/app_while.so -lib/asterisk/modules/app_zapateller.so -lib/asterisk/modules/cdr_csv.so -lib/asterisk/modules/cdr_custom.so -lib/asterisk/modules/cdr_manager.so -%%WITH_POSTGRES%%lib/asterisk/modules/cdr_pgsql.so -%%WITH_RADIUS%%lib/asterisk/modules/cdr_radius.so -lib/asterisk/modules/chan_agent.so -lib/asterisk/modules/chan_features.so -%%WITH_JABBER%%lib/asterisk/modules/chan_gtalk.so -lib/asterisk/modules/chan_iax2.so -lib/asterisk/modules/chan_local.so -lib/asterisk/modules/chan_mgcp.so -lib/asterisk/modules/chan_oss.so -lib/asterisk/modules/chan_sip.so -lib/asterisk/modules/chan_skinny.so -lib/asterisk/modules/codec_a_mu.so -lib/asterisk/modules/codec_adpcm.so -lib/asterisk/modules/codec_alaw.so -lib/asterisk/modules/codec_g726.so -lib/asterisk/modules/codec_gsm.so -lib/asterisk/modules/codec_ilbc.so -lib/asterisk/modules/codec_lpc10.so -lib/asterisk/modules/codec_speex.so -lib/asterisk/modules/codec_ulaw.so -lib/asterisk/modules/format_g723.so -lib/asterisk/modules/format_g726.so -lib/asterisk/modules/format_g729.so -lib/asterisk/modules/format_gsm.so -lib/asterisk/modules/format_h263.so -lib/asterisk/modules/format_h264.so -lib/asterisk/modules/format_ilbc.so -lib/asterisk/modules/format_jpeg.so -%%WITH_OGGVORBIS%%lib/asterisk/modules/format_ogg_vorbis.so -lib/asterisk/modules/format_pcm.so -lib/asterisk/modules/format_sln.so -lib/asterisk/modules/format_vox.so -lib/asterisk/modules/format_wav.so -lib/asterisk/modules/format_wav_gsm.so -lib/asterisk/modules/func_base64.so -lib/asterisk/modules/func_callerid.so -lib/asterisk/modules/func_cdr.so -lib/asterisk/modules/func_channel.so -lib/asterisk/modules/func_curl.so -lib/asterisk/modules/func_cut.so -lib/asterisk/modules/func_db.so -lib/asterisk/modules/func_enum.so -lib/asterisk/modules/func_env.so -lib/asterisk/modules/func_global.so -lib/asterisk/modules/func_groupcount.so -lib/asterisk/modules/func_language.so -lib/asterisk/modules/func_logic.so -lib/asterisk/modules/func_math.so -lib/asterisk/modules/func_md5.so -lib/asterisk/modules/func_moh.so -%%WITH_ODBC%%lib/asterisk/modules/func_odbc.so -lib/asterisk/modules/func_rand.so -lib/asterisk/modules/func_realtime.so -lib/asterisk/modules/func_sha1.so -lib/asterisk/modules/func_strings.so -lib/asterisk/modules/func_timeout.so -lib/asterisk/modules/func_uri.so -lib/asterisk/modules/pbx_ael.so -lib/asterisk/modules/pbx_config.so -lib/asterisk/modules/pbx_dundi.so -lib/asterisk/modules/pbx_loopback.so -lib/asterisk/modules/pbx_realtime.so -lib/asterisk/modules/pbx_spool.so -lib/asterisk/modules/res_adsi.so -lib/asterisk/modules/res_agi.so -lib/asterisk/modules/res_clioriginate.so -%%WITH_POSTGRES%%lib/asterisk/modules/res_config_pgsql.so -lib/asterisk/modules/res_convert.so -lib/asterisk/modules/res_crypto.so -lib/asterisk/modules/res_features.so -lib/asterisk/modules/res_indications.so -%%WITH_JABBER%%lib/asterisk/modules/res_jabber.so -lib/asterisk/modules/res_monitor.so -lib/asterisk/modules/res_musiconhold.so -lib/asterisk/modules/res_smdi.so -%%WITH_SNMP%%lib/asterisk/modules/res_snmp.so -lib/asterisk/modules/res_speech.so -sbin/aelparse -sbin/asterisk -sbin/astgenkey -sbin/astman -sbin/autosupport -sbin/muted -sbin/rasterisk -sbin/safe_asterisk -sbin/smsq -sbin/stereorize -sbin/streamplayer -share/asterisk/agi-bin/agi-test.agi -share/asterisk/agi-bin/eagi-sphinx-test -share/asterisk/agi-bin/eagi-test -share/asterisk/agi-bin/jukebox.agi -share/asterisk/firmware/iax/iaxy.bin -share/asterisk/images/asterisk-intro.jpg -share/asterisk/keys/freeworlddialup.pub -share/asterisk/keys/iaxtel.pub -share/asterisk/moh/.asterisk-moh-freeplay-wav -share/asterisk/moh/LICENSE-asterisk-moh-freeplay-wav -share/asterisk/moh/fpm-calm-river.wav -share/asterisk/moh/fpm-sunshine.wav -share/asterisk/moh/fpm-world-mix.wav -share/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.6 -share/asterisk/sounds/CREDITS-asterisk-core-en-1.4.6 -share/asterisk/sounds/agent-alreadyon.gsm -share/asterisk/sounds/agent-incorrect.gsm -share/asterisk/sounds/agent-loggedoff.gsm -share/asterisk/sounds/agent-loginok.gsm -share/asterisk/sounds/agent-newlocation.gsm -share/asterisk/sounds/agent-pass.gsm -share/asterisk/sounds/agent-user.gsm -share/asterisk/sounds/auth-incorrect.gsm -share/asterisk/sounds/auth-thankyou.gsm -share/asterisk/sounds/beep.gsm -share/asterisk/sounds/beeperr.gsm -share/asterisk/sounds/conf-adminmenu.gsm -share/asterisk/sounds/conf-enteringno.gsm -share/asterisk/sounds/conf-errormenu.gsm -share/asterisk/sounds/conf-getchannel.gsm -share/asterisk/sounds/conf-getconfno.gsm -share/asterisk/sounds/conf-getpin.gsm -share/asterisk/sounds/conf-hasjoin.gsm -share/asterisk/sounds/conf-hasleft.gsm -share/asterisk/sounds/conf-invalid.gsm -share/asterisk/sounds/conf-invalidpin.gsm -share/asterisk/sounds/conf-kicked.gsm -share/asterisk/sounds/conf-leaderhasleft.gsm -share/asterisk/sounds/conf-locked.gsm -share/asterisk/sounds/conf-lockednow.gsm -share/asterisk/sounds/conf-muted.gsm -share/asterisk/sounds/conf-noempty.gsm -share/asterisk/sounds/conf-onlyone.gsm -share/asterisk/sounds/conf-onlyperson.gsm -share/asterisk/sounds/conf-otherinparty.gsm -share/asterisk/sounds/conf-placeintoconf.gsm -share/asterisk/sounds/conf-thereare.gsm -share/asterisk/sounds/conf-unlockednow.gsm -share/asterisk/sounds/conf-unmuted.gsm -share/asterisk/sounds/conf-usermenu.gsm -share/asterisk/sounds/conf-userswilljoin.gsm -share/asterisk/sounds/conf-userwilljoin.gsm -share/asterisk/sounds/conf-waitforleader.gsm -share/asterisk/sounds/core-sounds-en.txt -share/asterisk/sounds/demo-abouttotry.gsm -share/asterisk/sounds/demo-congrats.gsm -share/asterisk/sounds/demo-echodone.gsm -share/asterisk/sounds/demo-echotest.gsm -share/asterisk/sounds/demo-enterkeywords.gsm -share/asterisk/sounds/demo-instruct.gsm -share/asterisk/sounds/demo-moreinfo.gsm -share/asterisk/sounds/demo-nogo.gsm -share/asterisk/sounds/demo-nomatch.gsm -share/asterisk/sounds/demo-thanks.gsm -share/asterisk/sounds/dictate/both_help.gsm -share/asterisk/sounds/dictate/enter_filename.gsm -share/asterisk/sounds/dictate/forhelp.gsm -share/asterisk/sounds/dictate/pause.gsm -share/asterisk/sounds/dictate/paused.gsm -share/asterisk/sounds/dictate/play_help.gsm -share/asterisk/sounds/dictate/playback.gsm -share/asterisk/sounds/dictate/playback_mode.gsm -share/asterisk/sounds/dictate/record.gsm -share/asterisk/sounds/dictate/record_help.gsm -share/asterisk/sounds/dictate/record_mode.gsm -share/asterisk/sounds/dictate/truncating_audio.gsm -share/asterisk/sounds/digits/0.gsm -share/asterisk/sounds/digits/1.gsm -share/asterisk/sounds/digits/10.gsm -share/asterisk/sounds/digits/11.gsm -share/asterisk/sounds/digits/12.gsm -share/asterisk/sounds/digits/13.gsm -share/asterisk/sounds/digits/14.gsm -share/asterisk/sounds/digits/15.gsm -share/asterisk/sounds/digits/16.gsm -share/asterisk/sounds/digits/17.gsm -share/asterisk/sounds/digits/18.gsm -share/asterisk/sounds/digits/19.gsm -share/asterisk/sounds/digits/2.gsm -share/asterisk/sounds/digits/20.gsm -share/asterisk/sounds/digits/3.gsm -share/asterisk/sounds/digits/30.gsm -share/asterisk/sounds/digits/4.gsm -share/asterisk/sounds/digits/40.gsm -share/asterisk/sounds/digits/5.gsm -share/asterisk/sounds/digits/50.gsm -share/asterisk/sounds/digits/6.gsm -share/asterisk/sounds/digits/60.gsm -share/asterisk/sounds/digits/7.gsm -share/asterisk/sounds/digits/70.gsm -share/asterisk/sounds/digits/8.gsm -share/asterisk/sounds/digits/80.gsm -share/asterisk/sounds/digits/9.gsm -share/asterisk/sounds/digits/90.gsm -share/asterisk/sounds/digits/a-m.gsm -share/asterisk/sounds/digits/at.gsm -share/asterisk/sounds/digits/day-0.gsm -share/asterisk/sounds/digits/day-1.gsm -share/asterisk/sounds/digits/day-2.gsm -share/asterisk/sounds/digits/day-3.gsm -share/asterisk/sounds/digits/day-4.gsm -share/asterisk/sounds/digits/day-5.gsm -share/asterisk/sounds/digits/day-6.gsm -share/asterisk/sounds/digits/dollars.gsm -share/asterisk/sounds/digits/h-1.gsm -share/asterisk/sounds/digits/h-10.gsm -share/asterisk/sounds/digits/h-11.gsm -share/asterisk/sounds/digits/h-12.gsm -share/asterisk/sounds/digits/h-13.gsm -share/asterisk/sounds/digits/h-14.gsm -share/asterisk/sounds/digits/h-15.gsm -share/asterisk/sounds/digits/h-16.gsm -share/asterisk/sounds/digits/h-17.gsm -share/asterisk/sounds/digits/h-18.gsm -share/asterisk/sounds/digits/h-19.gsm -share/asterisk/sounds/digits/h-2.gsm -share/asterisk/sounds/digits/h-20.gsm -share/asterisk/sounds/digits/h-3.gsm -share/asterisk/sounds/digits/h-30.gsm -share/asterisk/sounds/digits/h-4.gsm -share/asterisk/sounds/digits/h-5.gsm -share/asterisk/sounds/digits/h-6.gsm -share/asterisk/sounds/digits/h-7.gsm -share/asterisk/sounds/digits/h-8.gsm -share/asterisk/sounds/digits/h-9.gsm -share/asterisk/sounds/digits/hundred.gsm -share/asterisk/sounds/digits/million.gsm -share/asterisk/sounds/digits/minus.gsm -share/asterisk/sounds/digits/mon-0.gsm -share/asterisk/sounds/digits/mon-1.gsm -share/asterisk/sounds/digits/mon-10.gsm -share/asterisk/sounds/digits/mon-11.gsm -share/asterisk/sounds/digits/mon-2.gsm -share/asterisk/sounds/digits/mon-3.gsm -share/asterisk/sounds/digits/mon-4.gsm -share/asterisk/sounds/digits/mon-5.gsm -share/asterisk/sounds/digits/mon-6.gsm -share/asterisk/sounds/digits/mon-7.gsm -share/asterisk/sounds/digits/mon-8.gsm -share/asterisk/sounds/digits/mon-9.gsm -share/asterisk/sounds/digits/oclock.gsm -share/asterisk/sounds/digits/oh.gsm -share/asterisk/sounds/digits/p-m.gsm -share/asterisk/sounds/digits/pound.gsm -share/asterisk/sounds/digits/star.gsm -share/asterisk/sounds/digits/thousand.gsm -share/asterisk/sounds/digits/today.gsm -share/asterisk/sounds/digits/tomorrow.gsm -share/asterisk/sounds/digits/yesterday.gsm -share/asterisk/sounds/dir-instr.gsm -share/asterisk/sounds/dir-intro-fn.gsm -share/asterisk/sounds/dir-intro.gsm -share/asterisk/sounds/dir-nomatch.gsm -share/asterisk/sounds/dir-nomore.gsm -share/asterisk/sounds/followme/call-from.gsm -share/asterisk/sounds/followme/no-recording.gsm -share/asterisk/sounds/followme/options.gsm -share/asterisk/sounds/followme/pls-hold-while-try.gsm -share/asterisk/sounds/followme/sorry.gsm -share/asterisk/sounds/followme/status.gsm -share/asterisk/sounds/hello-world.gsm -share/asterisk/sounds/hours.gsm -share/asterisk/sounds/invalid.gsm -share/asterisk/sounds/letters/a.gsm -share/asterisk/sounds/letters/at.gsm -share/asterisk/sounds/letters/b.gsm -share/asterisk/sounds/letters/c.gsm -share/asterisk/sounds/letters/d.gsm -share/asterisk/sounds/letters/dash.gsm -share/asterisk/sounds/letters/dollar.gsm -share/asterisk/sounds/letters/dot.gsm -share/asterisk/sounds/letters/e.gsm -share/asterisk/sounds/letters/equals.gsm -share/asterisk/sounds/letters/exclaimation-point.gsm -share/asterisk/sounds/letters/f.gsm -share/asterisk/sounds/letters/g.gsm -share/asterisk/sounds/letters/h.gsm -share/asterisk/sounds/letters/i.gsm -share/asterisk/sounds/letters/j.gsm -share/asterisk/sounds/letters/k.gsm -share/asterisk/sounds/letters/l.gsm -share/asterisk/sounds/letters/m.gsm -share/asterisk/sounds/letters/n.gsm -share/asterisk/sounds/letters/o.gsm -share/asterisk/sounds/letters/p.gsm -share/asterisk/sounds/letters/plus.gsm -share/asterisk/sounds/letters/q.gsm -share/asterisk/sounds/letters/r.gsm -share/asterisk/sounds/letters/s.gsm -share/asterisk/sounds/letters/slash.gsm -share/asterisk/sounds/letters/space.gsm -share/asterisk/sounds/letters/t.gsm -share/asterisk/sounds/letters/u.gsm -share/asterisk/sounds/letters/v.gsm -share/asterisk/sounds/letters/w.gsm -share/asterisk/sounds/letters/x.gsm -share/asterisk/sounds/letters/y.gsm -share/asterisk/sounds/letters/z.gsm -share/asterisk/sounds/letters/zed.gsm -share/asterisk/sounds/minutes.gsm -share/asterisk/sounds/pbx-invalid.gsm -share/asterisk/sounds/pbx-invalidpark.gsm -share/asterisk/sounds/pbx-transfer.gsm -share/asterisk/sounds/phonetic/9_p.gsm -share/asterisk/sounds/phonetic/a_p.gsm -share/asterisk/sounds/phonetic/b_p.gsm -share/asterisk/sounds/phonetic/c_p.gsm -share/asterisk/sounds/phonetic/d_p.gsm -share/asterisk/sounds/phonetic/e_p.gsm -share/asterisk/sounds/phonetic/f_p.gsm -share/asterisk/sounds/phonetic/g_p.gsm -share/asterisk/sounds/phonetic/h_p.gsm -share/asterisk/sounds/phonetic/i_p.gsm -share/asterisk/sounds/phonetic/j_p.gsm -share/asterisk/sounds/phonetic/k_p.gsm -share/asterisk/sounds/phonetic/l_p.gsm -share/asterisk/sounds/phonetic/m_p.gsm -share/asterisk/sounds/phonetic/n_p.gsm -share/asterisk/sounds/phonetic/o_p.gsm -share/asterisk/sounds/phonetic/p_p.gsm -share/asterisk/sounds/phonetic/q_p.gsm -share/asterisk/sounds/phonetic/r_p.gsm -share/asterisk/sounds/phonetic/s_p.gsm -share/asterisk/sounds/phonetic/t_p.gsm -share/asterisk/sounds/phonetic/u_p.gsm -share/asterisk/sounds/phonetic/v_p.gsm -share/asterisk/sounds/phonetic/w_p.gsm -share/asterisk/sounds/phonetic/x_p.gsm -share/asterisk/sounds/phonetic/y_p.gsm -share/asterisk/sounds/phonetic/z_p.gsm -share/asterisk/sounds/priv-callee-options.gsm -share/asterisk/sounds/priv-callpending.gsm -share/asterisk/sounds/priv-introsaved.gsm -share/asterisk/sounds/priv-recordintro.gsm -share/asterisk/sounds/privacy-incorrect.gsm -share/asterisk/sounds/privacy-prompt.gsm -share/asterisk/sounds/privacy-thankyou.gsm -share/asterisk/sounds/privacy-unident.gsm -share/asterisk/sounds/queue-callswaiting.gsm -share/asterisk/sounds/queue-holdtime.gsm -share/asterisk/sounds/queue-less-than.gsm -share/asterisk/sounds/queue-minutes.gsm -share/asterisk/sounds/queue-periodic-announce.gsm -share/asterisk/sounds/queue-reporthold.gsm -share/asterisk/sounds/queue-seconds.gsm -share/asterisk/sounds/queue-thankyou.gsm -share/asterisk/sounds/queue-thereare.gsm -share/asterisk/sounds/queue-youarenext.gsm -share/asterisk/sounds/screen-callee-options.gsm -share/asterisk/sounds/seconds.gsm -share/asterisk/sounds/silence/1.gsm -share/asterisk/sounds/silence/10.gsm -share/asterisk/sounds/silence/2.gsm -share/asterisk/sounds/silence/3.gsm -share/asterisk/sounds/silence/4.gsm -share/asterisk/sounds/silence/5.gsm -share/asterisk/sounds/silence/6.gsm -share/asterisk/sounds/silence/7.gsm -share/asterisk/sounds/silence/8.gsm -share/asterisk/sounds/silence/9.gsm -share/asterisk/sounds/spy-agent.gsm -share/asterisk/sounds/spy-h323.gsm -share/asterisk/sounds/spy-iax.gsm -share/asterisk/sounds/spy-iax2.gsm -share/asterisk/sounds/spy-mgcp.gsm -share/asterisk/sounds/spy-sip.gsm -share/asterisk/sounds/spy-skinny.gsm -share/asterisk/sounds/spy-zap.gsm -share/asterisk/sounds/ss-noservice.gsm -share/asterisk/sounds/transfer.gsm -share/asterisk/sounds/tt-allbusy.gsm -share/asterisk/sounds/tt-monkeys.gsm -share/asterisk/sounds/tt-monkeysintro.gsm -share/asterisk/sounds/tt-somethingwrong.gsm -share/asterisk/sounds/tt-weasels.gsm -share/asterisk/sounds/vm-Cust1.gsm -share/asterisk/sounds/vm-Cust2.gsm -share/asterisk/sounds/vm-Cust3.gsm -share/asterisk/sounds/vm-Cust4.gsm -share/asterisk/sounds/vm-Cust5.gsm -share/asterisk/sounds/vm-Family.gsm -share/asterisk/sounds/vm-Friends.gsm -share/asterisk/sounds/vm-INBOX.gsm -share/asterisk/sounds/vm-Old.gsm -share/asterisk/sounds/vm-Work.gsm -share/asterisk/sounds/vm-advopts.gsm -share/asterisk/sounds/vm-and.gsm -share/asterisk/sounds/vm-calldiffnum.gsm -share/asterisk/sounds/vm-changeto.gsm -share/asterisk/sounds/vm-delete.gsm -share/asterisk/sounds/vm-deleted.gsm -share/asterisk/sounds/vm-dialout.gsm -share/asterisk/sounds/vm-enter-num-to-call.gsm -share/asterisk/sounds/vm-extension.gsm -share/asterisk/sounds/vm-first.gsm -share/asterisk/sounds/vm-for.gsm -share/asterisk/sounds/vm-forward.gsm -share/asterisk/sounds/vm-forwardoptions.gsm -share/asterisk/sounds/vm-from-extension.gsm -share/asterisk/sounds/vm-from-phonenumber.gsm -share/asterisk/sounds/vm-from.gsm -share/asterisk/sounds/vm-goodbye.gsm -share/asterisk/sounds/vm-helpexit.gsm -share/asterisk/sounds/vm-incorrect-mailbox.gsm -share/asterisk/sounds/vm-incorrect.gsm -share/asterisk/sounds/vm-instructions.gsm -share/asterisk/sounds/vm-intro.gsm -share/asterisk/sounds/vm-isonphone.gsm -share/asterisk/sounds/vm-isunavail.gsm -share/asterisk/sounds/vm-last.gsm -share/asterisk/sounds/vm-leavemsg.gsm -share/asterisk/sounds/vm-login.gsm -share/asterisk/sounds/vm-mailboxfull.gsm -share/asterisk/sounds/vm-message.gsm -share/asterisk/sounds/vm-messages.gsm -share/asterisk/sounds/vm-minutes.gsm -share/asterisk/sounds/vm-mismatch.gsm -share/asterisk/sounds/vm-msginstruct.gsm -share/asterisk/sounds/vm-msgsaved.gsm -share/asterisk/sounds/vm-newpassword.gsm -share/asterisk/sounds/vm-newuser.gsm -share/asterisk/sounds/vm-next.gsm -share/asterisk/sounds/vm-no.gsm -share/asterisk/sounds/vm-nobodyavail.gsm -share/asterisk/sounds/vm-nobox.gsm -share/asterisk/sounds/vm-nomore.gsm -share/asterisk/sounds/vm-nonumber.gsm -share/asterisk/sounds/vm-num-i-have.gsm -share/asterisk/sounds/vm-onefor.gsm -share/asterisk/sounds/vm-options.gsm -share/asterisk/sounds/vm-opts.gsm -share/asterisk/sounds/vm-passchanged.gsm -share/asterisk/sounds/vm-password.gsm -share/asterisk/sounds/vm-press.gsm -share/asterisk/sounds/vm-prev.gsm -share/asterisk/sounds/vm-reachoper.gsm -share/asterisk/sounds/vm-rec-busy.gsm -share/asterisk/sounds/vm-rec-name.gsm -share/asterisk/sounds/vm-rec-temp.gsm -share/asterisk/sounds/vm-rec-unv.gsm -share/asterisk/sounds/vm-received.gsm -share/asterisk/sounds/vm-reenterpassword.gsm -share/asterisk/sounds/vm-repeat.gsm -share/asterisk/sounds/vm-review.gsm -share/asterisk/sounds/vm-saved.gsm -share/asterisk/sounds/vm-savedto.gsm -share/asterisk/sounds/vm-savefolder.gsm -share/asterisk/sounds/vm-savemessage.gsm -share/asterisk/sounds/vm-saveoper.gsm -share/asterisk/sounds/vm-sorry.gsm -share/asterisk/sounds/vm-star-cancel.gsm -share/asterisk/sounds/vm-starmain.gsm -share/asterisk/sounds/vm-tempgreetactive.gsm -share/asterisk/sounds/vm-tempgreeting.gsm -share/asterisk/sounds/vm-tempgreeting2.gsm -share/asterisk/sounds/vm-tempremoved.gsm -share/asterisk/sounds/vm-then-pound.gsm -share/asterisk/sounds/vm-theperson.gsm -share/asterisk/sounds/vm-tocallback.gsm -share/asterisk/sounds/vm-tocallnum.gsm -share/asterisk/sounds/vm-tocancel.gsm -share/asterisk/sounds/vm-tocancelmsg.gsm -share/asterisk/sounds/vm-toenternumber.gsm -share/asterisk/sounds/vm-toforward.gsm -share/asterisk/sounds/vm-tohearenv.gsm -share/asterisk/sounds/vm-tomakecall.gsm -share/asterisk/sounds/vm-tooshort.gsm -share/asterisk/sounds/vm-toreply.gsm -share/asterisk/sounds/vm-torerecord.gsm -share/asterisk/sounds/vm-undelete.gsm -share/asterisk/sounds/vm-undeleted.gsm -share/asterisk/sounds/vm-unknown-caller.gsm -share/asterisk/sounds/vm-whichbox.gsm -share/asterisk/sounds/vm-youhave.gsm -share/asterisk/sounds/x -share/asterisk/static-http/ajamdemo.html -share/asterisk/static-http/astman.css -share/asterisk/static-http/astman.js -share/asterisk/static-http/prototype.js -%%WITH_ZAPTEL%%lib/asterisk/modules/app_flash.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_meetme.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_page.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_zapbarge.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_zapras.so -%%WITH_ZAPTEL%%lib/asterisk/modules/app_zapscan.so -%%WITH_ODBC%%lib/asterisk/modules/cdr_odbc.so -%%WITH_H323%%lib/asterisk/modules/chan_h323.so -%%WITH_ZAPTEL%%lib/asterisk/modules/chan_zap.so -%%WITH_ZAPTEL%%lib/asterisk/modules/codec_zap.so -%%WITH_ODBC%%lib/asterisk/modules/res_config_odbc.so -%%WITH_ODBC%%lib/asterisk/modules/res_odbc.so -@dirrm share/asterisk/static-http -@dirrm share/asterisk/sounds/silence -@dirrm share/asterisk/sounds/phonetic -@dirrm share/asterisk/sounds/letters -@dirrm share/asterisk/sounds/fr -@dirrm share/asterisk/sounds/followme -@dirrm share/asterisk/sounds/es -@dirrm share/asterisk/sounds/digits -@dirrm share/asterisk/sounds/dictate -@dirrm share/asterisk/sounds -@dirrm share/asterisk/moh -@dirrm share/asterisk/keys -@dirrm share/asterisk/images -@dirrm share/asterisk/firmware/iax -@dirrm share/asterisk/firmware -@dirrm share/asterisk/agi-bin -@dirrm share/asterisk -@dirrm lib/asterisk/modules -@dirrm lib/asterisk -@dirrm include/asterisk -@cwd /var -spool/asterisk/voicemail/default/1234/busy.gsm -spool/asterisk/voicemail/default/1234/unavail.gsm -@exec mkdir -p %D/log/asterisk/cdr-csv -@exec mkdir -p %D/log/asterisk/cdr-custom -@exec mkdir -p %D/spool/asterisk/voicemail/default/1234/INBOX -@exec mkdir -p %D/spool/asterisk/dictate -@exec mkdir -p %D/spool/asterisk/meetme -@exec mkdir -p %D/spool/asterisk/monitor -@exec mkdir -p %D/spool/asterisk/system -@exec mkdir -p %D/spool/asterisk/tmp -@dirrm spool/asterisk/dictate -@dirrm spool/asterisk/meetme -@dirrm spool/asterisk/monitor -@dirrm spool/asterisk/system -@dirrm spool/asterisk/voicemail/default/1234/INBOX -@dirrm spool/asterisk/voicemail/default/1234 -@dirrm spool/asterisk/voicemail/default -@dirrm spool/asterisk/voicemail -@dirrm spool/asterisk/tmp -@dirrm spool/asterisk -@dirrm log/asterisk/cdr-csv -@dirrm log/asterisk/cdr-custom -@dirrm log/asterisk diff --git a/net/citrix_xenapp/Makefile b/net/citrix_xenapp/Makefile deleted file mode 100644 index 505051779dda..000000000000 --- a/net/citrix_xenapp/Makefile +++ /dev/null @@ -1,83 +0,0 @@ -# New ports collection makefile for: Citrix(R) ICA(R) Client -# Date created: 20 Sep 1998 -# Whom: msmith -# -# $FreeBSD$ -# - -PORTNAME= citrix_ica -PORTVERSION= 10.0 -CATEGORIES= net comms linux -MASTER_SITES= -DISTNAME= ${PORTNAME}-linuxx86-${PORTVERSION} - -MAINTAINER= thomas@goodking.ca -COMMENT= Citrix(R) Presentation Server(TM) client - -RUN_DEPENDS= ${LINUXBASE}${X11BASE}/lib/libXm.so.3:${PORTSDIR}/x11-toolkits/linux-openmotif - -ONLY_FOR_ARCHS= i386 amd64 -USE_LINUX= yes -RESTRICTED= License prohibits redistribution -IS_INTERACTIVE= "Noisy license agreement ignores stdin" - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -CDIR= ${PREFIX}/ICAClient -BINDIR= ${PREFIX}/bin - -NSCP= ${LOCALBASE}/libexec/netscape \ - ${LOCALBASE}/libexec/netscape-linux \ - ${LOCALBASE}/netscape \ - ${LOCALBASE}/netscape-linux \ - ${LOCALBASE}/lib/netscape \ - ${LOCALBASE}/lib/netscape-linux \ - ${MOZILLA_HOME} - -PLIST_SUB= MOZILLA_HOME=${MOZILLA_HOME} - -.include <bsd.port.pre.mk> - -.if exists(${PREFIX}/bin/kde-config) -HAVE_KDE= "\\ny" -.endif - -.if defined(BATCH) || defined(PACKAGE_BUILDING) -IGNORE='The distribution file for this port may not be automatically fetched due to licensing restrictions.' -.endif - -do-fetch: -.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) - @${ECHO} "" - @${ECHO} "You have to fetch the file manually from" - @${ECHO} "" - @${ECHO} "http://www.citrix.com/English/SS/downloads/details.asp?dID=2755&downloadID=3323&pID=186" - @${ECHO} "" - @${ECHO} "Once en.linuxx86.tar.gz has been downloaded move it to" - @${ECHO} "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} and restart the build." - @${ECHO} "" - @${FALSE} -.endif - -do-install: - @if (test -d "${CDIR}") ; \ - then \ - ${ECHO} "-----------------------------------------------------------" ; \ - ${ECHO} "" ; \ - ${ECHO} "A ${CDIR} installation does already exist." ; \ - ${ECHO} "Please move it away or delete the old port" ; \ - ${ECHO} "" ; \ - ${ECHO} "-----------------------------------------------------------" ; \ - ${FALSE} ; \ - fi - ${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/wfcmgr \ - > ${WRKSRC}/wfcmgr.x - ${SED} s%DESTINATION%${CDIR}% < ${FILESDIR}/wfica \ - > ${WRKSRC}/wfica.x - cd ${WRKSRC} && ${SH} -c './setupwfc' - ${INSTALL_SCRIPT} ${WRKSRC}/wfcmgr.x ${PREFIX}/bin/wfcmgr - ${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica -# XXX: This is missing a "${BRANDELF} -t Linux <executables>". - -.include <bsd.port.post.mk> diff --git a/net/citrix_xenapp/distinfo b/net/citrix_xenapp/distinfo deleted file mode 100644 index f855067e8338..000000000000 --- a/net/citrix_xenapp/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (citrix_ica-linuxx86-10.0.tar.gz) = 7d5286e919297823b572a80ed417af71 -SHA256 (citrix_ica-linuxx86-10.0.tar.gz) = 2777b4b3b4d7371399cd45bde16d1943df86222882d032e4fcef661089795078 -SIZE (citrix_ica-linuxx86-10.0.tar.gz) = 1795232 diff --git a/net/citrix_xenapp/files/patch-linuxx86::hinst b/net/citrix_xenapp/files/patch-linuxx86::hinst deleted file mode 100644 index 75e31083db9b..000000000000 --- a/net/citrix_xenapp/files/patch-linuxx86::hinst +++ /dev/null @@ -1,73 +0,0 @@ ---- linuxx86/hinst.orig Tue Oct 31 07:07:08 2006 -+++ linuxx86/hinst Mon Mar 5 12:26:02 2007 -@@ -86,7 +86,7 @@ - fi - - # Install in here by default. --DefaultInstallDir=/usr/lib/ICAClient -+DefaultInstallDir=/usr/local/ICAClient - - # Default CDROM mount point - DefaultCDSourceDir=/cdrom -@@ -2217,7 +2217,7 @@ - then - : - else -- /bin/false -+ /usr/bin/false - return - fi - -@@ -2263,7 +2263,7 @@ - fi - fi - -- /bin/true -+ /usr/bin/true - } - - ############################################################################### -@@ -2387,26 +2387,19 @@ - - netscape_integrate() - { -- user_echo $integrate_netscape1 - if test -z "$SU_INSTALL" - then - set_npui_variables - found_netscape - else - search_ok=0 -- EXTRA_BROWSERS=`find_browsers` -- -- if test -d "/usr/lib/netscape"\ -- || test -d "/usr/local/netscape"\ -- || test -d "/opt/netscape"\ -- || test -d "/usr/local/lib/netscape"\ -- || test -d "/usr/dt/appconfig/netscape"\ -- || test "$MOZILLA_HOME" != "" -a -d "$MOZILLA_HOME"\ -- || test "$EXTRA_BROWSERS" != "" -- then -+ -+ case ${FOUND_NS} in -+ TRUE) - user_echo $integrate_netscape3 - found_netscape -- else -+ ;; -+ *) - user_prompt $integrate_netscape2 - getyesno $INSTALLER_NO - if [ "$ANSWER" = "$INSTALLER_YES" ] -@@ -2415,9 +2408,9 @@ - else - user_echo $integrate_netscape6 - fi -+ ;; -+ esac - fi -- fi -- - # Create utility script files in install root. - create_wfica_script - create_wfica_assoc_script diff --git a/net/citrix_xenapp/files/patch-setupwfc b/net/citrix_xenapp/files/patch-setupwfc deleted file mode 100644 index 9b09f664e4b2..000000000000 --- a/net/citrix_xenapp/files/patch-setupwfc +++ /dev/null @@ -1,11 +0,0 @@ ---- setupwfc.orig Fri Apr 8 13:52:46 2005 -+++ setupwfc Mon Jan 22 10:10:48 2007 -@@ -396,7 +396,7 @@ - *BSD) - # Assume Free/Net/Open BSD on an X86 with Linux emulation. - -- if uname -m | grep 86 2>&1 >/dev/null ; then -+ if uname -m | grep "i[3456]86\|amd64" 2>&1 >/dev/null ; then - PLATFORM=linuxx86 - DISP_PLATFORM="Linux (x86)" - echo diff --git a/net/citrix_xenapp/files/wfcmgr b/net/citrix_xenapp/files/wfcmgr deleted file mode 100644 index 70248171d687..000000000000 --- a/net/citrix_xenapp/files/wfcmgr +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -export ICAROOT=DESTINATION -exec $ICAROOT/wfcmgr diff --git a/net/citrix_xenapp/files/wfica b/net/citrix_xenapp/files/wfica deleted file mode 100644 index e0279ba0d816..000000000000 --- a/net/citrix_xenapp/files/wfica +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -export ICAROOT=DESTINATION -exec $ICAROOT/wfica "$@" diff --git a/net/citrix_xenapp/pkg-descr b/net/citrix_xenapp/pkg-descr deleted file mode 100644 index 69deced9f262..000000000000 --- a/net/citrix_xenapp/pkg-descr +++ /dev/null @@ -1,13 +0,0 @@ -Citrix(R) Presentation Server(TM) runs on Microsoft(R) Windows -Server(TM) and UNIX(R) operating systems, and extends the base -Windows Terminal Services platform by enhancing the end-user -experience as well as increasing manageability, compatibility, -security and scalability to address business-critical environments. -Presentation Server expands the range of supported applications to -include legacy software and Web-based, UNIX and Java solutions. It -also enables any device or operating system including Macintosh and -Linux to access virtualized applications. Other important capabilities -are powerful management and configuration tools and faster, more -flexible printing. - -WWW: http://www.citrix.com/English/ps2/products/product.asp?contentID=186 diff --git a/net/citrix_xenapp/pkg-plist b/net/citrix_xenapp/pkg-plist deleted file mode 100644 index 1285b5d1e0c3..000000000000 --- a/net/citrix_xenapp/pkg-plist +++ /dev/null @@ -1,143 +0,0 @@ -@unexec for dir in /usr/local/libexec/netscape /usr/local/libexec/netscape-linux /usr/local/netscape /usr/local/netscape-linux /usr/local/lib/netscape /usr/local/lib/netscape-linux %%MOZILLA_HOME%% %D/lib/netscape-linux; do if [ -f ${dir}/mime.types ]; then (/bin/cat ${dir}/mime.types | /usr/bin/grep -v "application/x-ica" > ${dir}/mime.types.tmp; mv ${dir}/mime.types.tmp ${dir}/mime.types); fi ; done -@unexec for dir in /usr/local/libexec/netscape /usr/local/libexec/netscape-linux /usr/local/netscape /usr/local/netscape-linux /usr/local/lib/netscape /usr/local/lib/netscape-linux %%MOZILLA_HOME%% %D/lib/netscape-linux; do if [ -f ${dir}/mailcap ]; then (/bin/cat ${dir}/mailcap | /usr/bin/grep -v "application/x-ica" > ${dir}/mailcap.tmp; /bin/mv ${dir}/mailcap.tmp ${dir}/mailcap); fi ; done -@unexec for dir in /usr/local/libexec/netscape /usr/local/libexec/netscape-linux /usr/local/netscape /usr/local/netscape-linux /usr/local/lib/netscape /usr/local/lib/netscape-linux %%MOZILLA_HOME%% %D/lib/netscape-linux; do if [ -e ${dir}/plugins/npica.so ]; then (/bin/rm ${dir}/plugins/npica.so); fi ; done -ICAClient/CHARICONV.DLL -ICAClient/NDS.DLL -ICAClient/Npica -ICAClient/Npica.ad -ICAClient/PDCRYPT1.DLL -ICAClient/PDCRYPT2.DLL -ICAClient/TW1.DLL -ICAClient/VDEUEM.DLL -ICAClient/VDSCARD.DLL -ICAClient/VDSPMIKE.DLL -ICAClient/config/.server -ICAClient/config/All_Regions.ini -ICAClient/config/Trusted_Region.ini -ICAClient/config/Unknown_Region.ini -ICAClient/config/Untrusted_Region.ini -ICAClient/config/appsrv.ini -ICAClient/config/canonicalization.ini -ICAClient/config/module.ini -ICAClient/config/regions.ini -ICAClient/config/usertemplate/All_Regions.ini -ICAClient/config/usertemplate/Trusted_Region.ini -ICAClient/config/usertemplate/Unknown_Region.ini -ICAClient/config/usertemplate/Untrusted_Region.ini -ICAClient/config/wfclient.ini -ICAClient/desktop/Citrix_PNA.desktop -ICAClient/desktop/wfcmgr.desktop -ICAClient/eula.txt -ICAClient/help/index.htm -ICAClient/icons/manager.xpm -ICAClient/icons/session.xpm -ICAClient/install.txt -ICAClient/keyboard/age2.kbd -ICAClient/keyboard/agex2.kbd -ICAClient/keyboard/automatic.kbd -ICAClient/keyboard/dcint401.kbd -ICAClient/keyboard/dcintpcx.kbd -ICAClient/keyboard/dcus401.kbd -ICAClient/keyboard/dcuspcx.kbd -ICAClient/keyboard/dec401.kbd -ICAClient/keyboard/dec401uk.kbd -ICAClient/keyboard/decpcx.kbd -ICAClient/keyboard/decpcxuk.kbd -ICAClient/keyboard/dg.kbd -ICAClient/keyboard/dgfr.kbd -ICAClient/keyboard/dggr.kbd -ICAClient/keyboard/dguk.kbd -ICAClient/keyboard/dgus.kbd -ICAClient/keyboard/hp101.kbd -ICAClient/keyboard/hpfritf.kbd -ICAClient/keyboard/hpgritf.kbd -ICAClient/keyboard/hpint101.kbd -ICAClient/keyboard/hpintps2.kbd -ICAClient/keyboard/hpitf.kbd -ICAClient/keyboard/hpps2.kbd -ICAClient/keyboard/hpuk101.kbd -ICAClient/keyboard/hpukitf.kbd -ICAClient/keyboard/hpukps2.kbd -ICAClient/keyboard/hpus101.kbd -ICAClient/keyboard/hpusitf.kbd -ICAClient/keyboard/hpusps2.kbd -ICAClient/keyboard/ibm.kbd -ICAClient/keyboard/keyboard.ini -ICAClient/keyboard/linux-ja.kbd -ICAClient/keyboard/linux.kbd -ICAClient/keyboard/mac101.kbd -ICAClient/keyboard/ncdn-101.kbd -ICAClient/keyboard/ncdn-102.kbd -ICAClient/keyboard/netbsd.kbd -ICAClient/keyboard/scoos5.kbd -ICAClient/keyboard/scouw2.kbd -ICAClient/keyboard/sg.kbd -ICAClient/keyboard/sgindy.kbd -ICAClient/keyboard/sgindyfr.kbd -ICAClient/keyboard/sgindygr.kbd -ICAClient/keyboard/sgindyuk.kbd -ICAClient/keyboard/sgindyus.kbd -ICAClient/keyboard/sngr.kbd -ICAClient/keyboard/sparc3.kbd -ICAClient/keyboard/sparc4.kbd -ICAClient/keyboard/sparc5.kbd -ICAClient/keyboard/sparc6usb.kbd -ICAClient/keyboard/sparcfr4.kbd -ICAClient/keyboard/sparcfr5.kbd -ICAClient/keyboard/sparcgr4.kbd -ICAClient/keyboard/sparcgr5.kbd -ICAClient/keyboard/sparcuk4.kbd -ICAClient/keyboard/sparcuk5.kbd -ICAClient/keyboard/sparcus3.kbd -ICAClient/keyboard/sparcus4.kbd -ICAClient/keyboard/sparcus5.kbd -ICAClient/keyboard/trimodal.kbd -ICAClient/keystore/cacerts/BTCTRoot.crt -ICAClient/keystore/cacerts/Class3PCA_G2_v2.crt -ICAClient/keystore/cacerts/Class4PCA_G2_v2.crt -ICAClient/keystore/cacerts/GTECTGlobalRoot.crt -ICAClient/keystore/cacerts/Pcs3ss_v4.crt -ICAClient/keystore/cacerts/SecureServer.crt -ICAClient/libctxssl.so -ICAClient/nls/en/UTF-8/Wfcmgr -ICAClient/nls/en/UTF-8/Wfica -ICAClient/nls/en/UTF-8/pna.nls -ICAClient/nls/en/Wfcmgr -ICAClient/nls/en/Wfica -ICAClient/nls/en/pna.nls -ICAClient/nls/C -ICAClient/npica.so -ICAClient/pkginf/F.core.linuxx86 -ICAClient/pkginf/Ver.core.linuxx86 -ICAClient/pkginf/changeno.dat -ICAClient/readme.txt -ICAClient/setupwfc -ICAClient/util/XCapture -ICAClient/util/XCapture.ad -ICAClient/util/echo_cmd -ICAClient/util/hinst -ICAClient/util/icalicense.sh -ICAClient/util/nslaunch -ICAClient/util/pac.js -ICAClient/util/pacexec -ICAClient/util/xcapture -ICAClient/wfcmgr -ICAClient/wfica -ICAClient/wfica.sh -ICAClient/wfica_assoc.sh -bin/wfcmgr -bin/wfica -@dirrm ICAClient/util -@dirrm ICAClient/pkginf -@dirrm ICAClient/nls/en/UTF-8 -@dirrm ICAClient/nls/en -@dirrm ICAClient/nls -@dirrm ICAClient/keystore/cacerts -@dirrm ICAClient/keystore -@dirrm ICAClient/keyboard -@dirrm ICAClient/icons -@dirrm ICAClient/help -@dirrm ICAClient/desktop -@dirrm ICAClient/config/usertemplate -@dirrm ICAClient/config -@dirrm ICAClient diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile deleted file mode 100644 index 711248e6d578..000000000000 --- a/net/freeradius2/Makefile +++ /dev/null @@ -1,248 +0,0 @@ -# New ports collection makefile for: freeradius -# Date created: May 9 2002 -# Whom: Brian Somers <brian@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= freeradius -PORTVERSION?= 1.1.6 -PORTREVISION?= 0 -CATEGORIES= net -MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/ \ - ftp://ftp.ntua.gr/pub/net/radius/freeradius/ \ - ftp://ftp.uk.freeradius.org/pub/radius/ \ - ftp://ftp.us.freeradius.org/pub/radius/ \ - ftp://ftp.freeradius.org/pub/radius/old/ \ - http://freeradius.portal-to-web.de/ - -MAINTAINER?= david@wood2.org.uk -COMMENT?= A free RADIUS server implementation - -USE_BZIP2= yes - -LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm - -LOGDIR?= /var/log - -# If FREERADIUS_SLAVE_MYSQL is defined, we want to build the -# freeradius-mysql slave port - -CONFLICTS= gnu-radius-1.* openradius-0.* radiusd-cistron-1.* -.ifdef(FREERADIUS_SLAVE_MYSQL) -CONFLICTS+= freeradius-[0-9].* freeradius-mysql-[02-9].* -PKGNAMESUFFIX= -mysql -.else -CONFLICTS+= freeradius-mysql-[0-9].* freeradius-[02-9].* -.endif - -USE_RC_SUBR= radiusd.sh -USE_AUTOTOOLS= libltdl:15 libtool:15 -USE_GMAKE= yes -USE_OPENSSL= yes -MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib - -PLIST_SUB= PORTVERSION=${PORTVERSION} - -OPTIONS= KERBEROS "With Kerberos support" off \ - HEIMDAL "With Heimdal Kerberos support" off \ - LDAP "With LDAP database support" off -.ifndef(FREERADIUS_SLAVE_MYSQL) -OPTIONS+= MYSQL "With MySQL database support" off -.endif -OPTIONS+= PGSQL "With PostgreSQL database support" off \ - FIREBIRD "With Firebird database support (EXPERIMENTAL)" off \ - SNMP "With SNMP support" off \ - EDIR "With Novell eDirectory support" off \ - NOPERL "Do not require perl (use only if necessary)" off \ - EXPERIMENTAL "Build experimental modules" off - -.include <bsd.port.pre.mk> - -# Default requirements for rc script -_REQUIRE= NETWORKING SERVERS - -.ifdef(FREERADIUS_SLAVE_MYSQL) -WITH_MYSQL= yes -.endif - -CONFIGURE_ARGS= --quiet \ - --prefix=${PREFIX} \ - --localstatedir=/var \ - --mandir=${PREFIX}/man \ - --with-system-libtool -.ifdef(NOPORTDOCS) -CONFIGURE_ARGS+=--without-docdir -PLIST_SUB+= PORTDOCS="@comment " -.else -CONFIGURE_ARGS+=--with-docdir=${DOCSDIR} -PLIST_SUB+= PORTDOCS="" -.endif -CONFIGURE_ARGS+=--with-logdir=${LOGDIR} \ - --with-large-files \ - --with-openssl-includes=${OPENSSLINC} \ - --with-openssl-libraries=${OPENSSLLIB} \ - --without-rlm_sql_db2 \ - --without-rlm_sql_freetds \ - --without-rlm_sql_iodbc \ - --without-rlm_sql_oracle \ - --without-rlm_sql_sybase \ - --without-rlm_sql_unixodbc - -.if ${OSVERSION} < 500000 && ${OPENSSLBASE} == "/usr" -PLIST_SUB+= 4SSL="@comment " -.else -PLIST_SUB+= 4SSL="" -.endif - -.if ${ARCH} == amd64 -CONFIGURE_ARGS+= --with-pic -.endif - -.if defined(WITH_HEIMDAL) && !defined(WITH_KERBEROS) -WITH_KERBEROS= yes -.endif - -.ifdef(WITH_KERBEROS) -.ifdef(WITH_HEIMDAL) -LIB_DEPENDS+= krb5.21:${PORTSDIR}/security/heimdal -CONFIGURE_ARGS+=--enable-heimdal-krb5 -.else -LIB_DEPENDS+= krb5.3:${PORTSDIR}/security/krb5 -.endif -CONFIGURE_ARGS+=--with-rlm-krb5-lib-dir=${LOCALBASE}/lib -CONFIGURE_ARGS+=--with-rlm-krb5-include-dir=${LOCALBASE}/include -PLIST_SUB+= KRB5="" -.else -CONFIGURE_ARGS+=--without-rlm_krb5 -PLIST_SUB+= KRB5="@comment " -.endif - -.if defined(WITH_EDIR) && !defined(WITH_LDAP) -WITH_LDAP= yes -.endif - -.ifdef(WITH_LDAP) -USE_OPENLDAP= YES -PLIST_SUB+= LDAP="" -_REQUIRE+= slapd -.else -CONFIGURE_ARGS+=--without-rlm_ldap -PLIST_SUB+= LDAP="@comment " -.endif - -.ifdef(WITH_EDIR) -CONFIGURE_ARGS+=--with-edir -.endif - -.ifdef(WITH_MYSQL) -USE_MYSQL= YES -CONFIGURE_ARGS+=--with-rlm_sql_mysql -PLIST_SUB+= MYSQL="" -_REQUIRE+= mysql -.else -CONFIGURE_ARGS+=--without-rlm_sql_mysql -PLIST_SUB+= MYSQL="@comment " -.endif - -.ifdef(WITH_PGSQL) -USE_PGSQL= YES -CONFIGURE_ARGS+=--with-rlm_sql_postgresql -PLIST_SUB+= PGSQL="" -_REQUIRE+= postgresql -.else -CONFIGURE_ARGS+=--without-rlm_sql_postgresql -PLIST_SUB+= PGSQL="@comment " -.endif - -.ifdef(WITH_FIREBIRD) -USE_FIREBIRD= YES -CONFIGURE_ARGS+=--with-rlm_sql_firebird -PLIST_SUB+= FIREBIRD="" -.else -CONFIGURE_ARGS+=--without-rlm_sql_firebird -PLIST_SUB+= FIREBIRD="@comment " -.endif - -# Firebird module is still experimental -.if defined(WITH_FIREBIRD) && !defined(WITH_EXPERIMENTAL) -WITH_EXPERIMENTAL= yes -.endif - -.ifdef(WITH_SNMP) -LIB_DEPENDS+= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4 -.else -CONFIGURE_ARGS+=--without-snmp -.endif - -.ifdef(WITH_EXPERIMENTAL) -USE_PYTHON= yes -# hack to get the dependency -.include "${PORTSDIR}/Mk/bsd.python.mk" -CONFIGURE_ARGS+=--with-experimental-modules -PLIST_SUB+= EXPM="" -.else -PLIST_SUB+= EXPM="@comment " -.endif - -.ifndef(WITH_NOPERL) -USE_PERL5= yes -.endif - -# rlm_perl does not build on 4.x -.if ${OSVERSION} < 500000 || defined(WITH_NOPERL) -CONFIGURE_ARGS+=--without-rlm_perl -PLIST_SUB+= RLMPERL="@comment " -.else -CONFIGURE_ARGS+=--with-rlm_perl -PLIST_SUB+= RLMPERL="" -.endif - -USE_LDCONFIG= yes - -MAN1= radclient.1 radeapclient.1 radlast.1 radtest.1 radwho.1 \ - radzap.1 -MAN5= acct_users.5 clients.5 clients.conf.5 dictionary.5 naslist.5 \ - radiusd.conf.5 rlm_acct_unique.5 rlm_always.5 \ - rlm_attr_filter.5 rlm_attr_rewrite.5 rlm_chap.5 rlm_counter.5 \ - rlm_detail.5 rlm_expr.5 rlm_files.5 rlm_mschap.5 rlm_pap.5 \ - rlm_passwd.5 rlm_realm.5 rlm_sql.5 rlm_sql_log.5 rlm_unix.5 \ - users.5 -MAN8= radiusd.8 radrelay.8 radsqlrelay.8 radwatch.8 rlm_ippool_tool.8 - -SUB_LIST+= REQUIRE="${_REQUIRE}" - -post-patch: -# Patch Makefile / Makefile.in throughout the source tree to install raddb -# contents in ${EXAMPLESDIR}/raddb rather than the raddbdir from configure - @${FIND} -E ${WRKSRC} -regex '.*/Makefile(\.in)?$$' -exec \ - ${REINPLACE_CMD} -e "s:\$$(R)\$$(raddbdir):${EXAMPLESDIR}/raddb:g" {} \; -# Clean up after the last operation (so as not to get unwanted files when installing doc/) - @${FIND} -E ${WRKSRC} -regex '.*/Makefile(\.in)?\.(orig|bak)$$' -delete -.if ${OSVERSION} < 500000 - @${REINPLACE_CMD} -e 's/-DNO_OPENSSL//' ${WRKSRC}/configure -.endif - -post-install: -# Create (if necessary) ${PREFIX}/etc/raddb and subdirectories using -# ${EXAMPLESDIR}/raddb as the model layout - @for i in `${FIND} ${EXAMPLESDIR}/raddb/ -type d -print \ - | ${SED} -e 's:^${EXAMPLESDIR}/raddb::g'`; do \ - if [ ! -d ${PREFIX}/etc/raddb$${i} ]; then \ - ${MKDIR} ${PREFIX}/etc/raddb$${i}; \ - fi; \ - done -# Copy all files from ${EXAMPLESDIR}/raddb to ${PREFIX}/etc/raddb if they -# don't already exist in the destination location - @for i in `${FIND} ${EXAMPLESDIR}/raddb/ -type f -print \ - | ${SED} -e 's:^${EXAMPLESDIR}/raddb/::g'`; do \ - if [ ! -f ${PREFIX}/etc/raddb/$${i} ]; then \ - ${CP} -p ${EXAMPLESDIR}/raddb/$${i} ${PREFIX}/etc/raddb/$${i}; \ - fi; \ - done -# Set ${PREFIX}/etc/raddb and all the files and folders in it to g-w,o-rwx -# (FreeRADIUS will probably complain if this is not done) - @${CHMOD} -R g-w,o-rwx ${PREFIX}/etc/raddb - -.include <bsd.port.post.mk> diff --git a/net/freeradius2/distinfo b/net/freeradius2/distinfo deleted file mode 100644 index 5140f2b189d3..000000000000 --- a/net/freeradius2/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (freeradius-1.1.6.tar.bz2) = 2c29ab90cc30aa3b92fbd78030ccc198 -SHA256 (freeradius-1.1.6.tar.bz2) = 942917ed1002e2bf4ac023f379daa70e517ca2510753955e3754eb8a2d0e76ce -SIZE (freeradius-1.1.6.tar.bz2) = 2059399 diff --git a/net/freeradius2/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c b/net/freeradius2/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c deleted file mode 100644 index 87dc2eb821e2..000000000000 --- a/net/freeradius2/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c.orig Sat Jun 18 14:29:43 2005 -+++ src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c Sat Jun 18 14:31:48 2005 -@@ -27,6 +27,7 @@ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -+#include <sys/types.h> - #ifdef HAVE_REGEX_H - # include <regex.h> - #endif diff --git a/net/freeradius2/files/radiusd.sh.in b/net/freeradius2/files/radiusd.sh.in deleted file mode 100644 index af481ff162eb..000000000000 --- a/net/freeradius2/files/radiusd.sh.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# PROVIDE: radiusd -# REQUIRE: %%REQUIRE%% -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable radiusd: -# -# radiusd_enable="YES" -# - -. %%RC_SUBR%% - -name=radiusd -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/radiusd -radiusd_config=${radiusd_config:-"%%PREFIX%%/etc/raddb/radiusd.conf"} -required_files=${radiusd_config} -pidfile=/var/run/radiusd/radiusd.pid - -radiusd_enable=${radiusd_enable-"NO"} - -load_rc_config $name -run_rc_command "$1" diff --git a/net/freeradius2/pkg-descr b/net/freeradius2/pkg-descr deleted file mode 100644 index 95f994c97924..000000000000 --- a/net/freeradius2/pkg-descr +++ /dev/null @@ -1,22 +0,0 @@ -FreeRADIUS is the premiere open source RADIUS server. Based on current -statistics, there are over 50,000 deployments of the software. These -deployments include small sites with 10 users, large-scale enterprises with -tens of thousands of users, and carrier-class deployments with over 10 million -users. In total, the sites that we know are using FreeRADIUS support nearly -100 million users. The only other servers that come close in terms of market -share and/or number of sites are ACS and IAS. - -The server scales easily from embedded systems with small amounts of memory to -systems with millions of users. It is fast, flexible, configurable, and -supports more authentication protocols than most commercial servers. It -includes support for SQL, LDAP, RADIUS Proxying, failover, load balancing, and -nearly 100 vendor dictionary files. It can perform authentications via the -PAP, CHAP, MS-CHAP, EAP-MD5, EAP-GTC, EAP-TLS, EAP-TTLS, PEAPv0, LEAP, -EAP-SIM, and Digest authentication protocols. It has reached a stable 1.1 -version, with incremental improvements added in each release. - -The server is released under the GNU General Public License (GPL), which means -that it is free to download and install. - - -WWW: http://www.freeradius.org/ diff --git a/net/freeradius2/pkg-plist b/net/freeradius2/pkg-plist deleted file mode 100644 index 029716c16cac..000000000000 --- a/net/freeradius2/pkg-plist +++ /dev/null @@ -1,533 +0,0 @@ -@unexec %D/etc/rc.d/radiusd.sh forcestop 2>/dev/null || true -@unexec %D/etc/rc.d/radiusd forcestop 2>/dev/null || true -bin/radclient -bin/radeapclient -bin/radlast -bin/radrelay -bin/radsqlrelay -bin/radtest -bin/radwho -bin/radzap -bin/rlm_dbm_cat -bin/rlm_dbm_parser -bin/rlm_ippool_tool -bin/smbencrypt -@unexec for i in `find %D/%%EXAMPLESDIR%%/raddb/ -type f -print | sed -e 's:^%D/%%EXAMPLESDIR%%/raddb/::g'`; do if [ -f %D/%%EXAMPLESDIR%%/raddb/${i} ]; then if cmp -s %D/%%EXAMPLESDIR%%/raddb/${i} %D/etc/raddb/${i}; then rm -f %D/etc/raddb/${i}; fi; fi; done -@unexec for i in `find -d %D/%%EXAMPLESDIR%%/raddb/ -type d -mindepth 1 -print | sed -e 's:^%D/%%EXAMPLESDIR%%/raddb/::g'`; do if [ -d %D/etc/raddb/${i} ]; then rmdir %D/etc/raddb/${i} 2>/dev/null || true; fi; done -%%EXAMPLESDIR%%/raddb/acct_users -%%EXAMPLESDIR%%/raddb/attrs -%%EXAMPLESDIR%%/raddb/certs/README -%%EXAMPLESDIR%%/raddb/certs/cert-clt.der -%%EXAMPLESDIR%%/raddb/certs/cert-clt.p12 -%%EXAMPLESDIR%%/raddb/certs/cert-clt.pem -%%EXAMPLESDIR%%/raddb/certs/cert-srv.der -%%EXAMPLESDIR%%/raddb/certs/cert-srv.p12 -%%EXAMPLESDIR%%/raddb/certs/cert-srv.pem -%%EXAMPLESDIR%%/raddb/certs/demoCA/cacert.pem -%%EXAMPLESDIR%%/raddb/certs/demoCA/index.txt -%%EXAMPLESDIR%%/raddb/certs/demoCA/index.txt.old -%%EXAMPLESDIR%%/raddb/certs/demoCA/serial -%%EXAMPLESDIR%%/raddb/certs/demoCA/serial.old -%%EXAMPLESDIR%%/raddb/certs/dh -%%EXAMPLESDIR%%/raddb/certs/newcert.pem -%%EXAMPLESDIR%%/raddb/certs/newreq.pem -%%EXAMPLESDIR%%/raddb/certs/random -%%EXAMPLESDIR%%/raddb/certs/root.der -%%EXAMPLESDIR%%/raddb/certs/root.p12 -%%EXAMPLESDIR%%/raddb/certs/root.pem -%%EXAMPLESDIR%%/raddb/clients.conf -%%EXAMPLESDIR%%/raddb/clients -%%EXAMPLESDIR%%/raddb/dictionary -%%EXAMPLESDIR%%/raddb/eap.conf -%%EXAMPLESDIR%%/raddb/example.pl -%%EXAMPLESDIR%%/raddb/experimental.conf -%%EXAMPLESDIR%%/raddb/hints -%%EXAMPLESDIR%%/raddb/huntgroups -%%EXAMPLESDIR%%/raddb/ldap.attrmap -%%EXAMPLESDIR%%/raddb/mssql.conf -%%EXAMPLESDIR%%/raddb/naslist -%%EXAMPLESDIR%%/raddb/naspasswd -%%EXAMPLESDIR%%/raddb/oraclesql.conf -%%EXAMPLESDIR%%/raddb/otp.conf -%%EXAMPLESDIR%%/raddb/postgresql.conf -%%EXAMPLESDIR%%/raddb/preproxy_users -%%EXAMPLESDIR%%/raddb/proxy.conf -%%EXAMPLESDIR%%/raddb/radiusd.conf -%%EXAMPLESDIR%%/raddb/realms -%%EXAMPLESDIR%%/raddb/snmp.conf -%%EXAMPLESDIR%%/raddb/sql.conf -%%EXAMPLESDIR%%/raddb/sqlippool.conf -%%EXAMPLESDIR%%/raddb/users -@exec for i in `find %D/%%EXAMPLESDIR%%/raddb/ -type d -mindepth 1 -print | sed -e 's:^%D/%%EXAMPLESDIR%%/raddb/::g'`; do if [ ! -d %D/etc/raddb/${i} ]; then mkdir -p %D/etc/raddb/${i}; fi; done -@exec for i in `find %D/%%EXAMPLESDIR%%/raddb/ -type f -print | sed -e 's:^%D/%%EXAMPLESDIR%%/raddb/::g'`; do if [ ! -f %D/etc/raddb/${i} ]; then cp -p %D/%%EXAMPLESDIR%%/raddb/${i} %D/etc/raddb/${i}; fi; done -@exec chmod -R g-w,o-rwx %D/etc/raddb -@dirrm %%EXAMPLESDIR%%/raddb/certs/demoCA -@dirrm %%EXAMPLESDIR%%/raddb/certs -@dirrm %%EXAMPLESDIR%%/raddb -@dirrm %%EXAMPLESDIR%% -lib/libeap-%%PORTVERSION%%.la -lib/libeap-%%PORTVERSION%%.so -lib/libeap.a -lib/libeap.la -lib/libeap.so -lib/libradius-%%PORTVERSION%%.la -lib/libradius-%%PORTVERSION%%.so -lib/libradius.a -lib/libradius.la -lib/libradius.so -lib/rlm_acct_unique-%%PORTVERSION%%.la -lib/rlm_acct_unique-%%PORTVERSION%%.so -lib/rlm_acct_unique.a -lib/rlm_acct_unique.la -lib/rlm_acct_unique.so -lib/rlm_always-%%PORTVERSION%%.la -lib/rlm_always-%%PORTVERSION%%.so -lib/rlm_always.a -lib/rlm_always.la -lib/rlm_always.so -lib/rlm_attr_filter-%%PORTVERSION%%.la -lib/rlm_attr_filter-%%PORTVERSION%%.so -lib/rlm_attr_filter.a -lib/rlm_attr_filter.la -lib/rlm_attr_filter.so -lib/rlm_attr_rewrite-%%PORTVERSION%%.la -lib/rlm_attr_rewrite-%%PORTVERSION%%.so -lib/rlm_attr_rewrite.a -lib/rlm_attr_rewrite.la -lib/rlm_attr_rewrite.so -lib/rlm_chap-%%PORTVERSION%%.la -lib/rlm_chap-%%PORTVERSION%%.so -lib/rlm_chap.a -lib/rlm_chap.la -lib/rlm_chap.so -lib/rlm_checkval-%%PORTVERSION%%.la -lib/rlm_checkval-%%PORTVERSION%%.so -lib/rlm_checkval.a -lib/rlm_checkval.la -lib/rlm_checkval.so -lib/rlm_counter-%%PORTVERSION%%.la -lib/rlm_counter-%%PORTVERSION%%.so -lib/rlm_counter.a -lib/rlm_counter.la -lib/rlm_counter.so -%%EXPM%%lib/rlm_cram-%%PORTVERSION%%.la -%%EXPM%%lib/rlm_cram-%%PORTVERSION%%.so -%%EXPM%%lib/rlm_cram.a -%%EXPM%%lib/rlm_cram.la -%%EXPM%%lib/rlm_cram.so -lib/rlm_dbm-%%PORTVERSION%%.la -lib/rlm_dbm-%%PORTVERSION%%.so -lib/rlm_dbm.a -lib/rlm_dbm.la -lib/rlm_dbm.so -lib/rlm_detail-%%PORTVERSION%%.la -lib/rlm_detail-%%PORTVERSION%%.so -lib/rlm_detail.a -lib/rlm_detail.la -lib/rlm_detail.so -lib/rlm_digest-%%PORTVERSION%%.la -lib/rlm_digest-%%PORTVERSION%%.so -lib/rlm_digest.a -lib/rlm_digest.la -lib/rlm_digest.so -lib/rlm_eap-%%PORTVERSION%%.la -lib/rlm_eap-%%PORTVERSION%%.so -lib/rlm_eap.a -lib/rlm_eap.la -lib/rlm_eap.so -lib/rlm_eap_gtc-%%PORTVERSION%%.la -lib/rlm_eap_gtc-%%PORTVERSION%%.so -lib/rlm_eap_gtc.a -lib/rlm_eap_gtc.la -lib/rlm_eap_gtc.so -lib/rlm_eap_leap-%%PORTVERSION%%.la -lib/rlm_eap_leap-%%PORTVERSION%%.so -lib/rlm_eap_leap.a -lib/rlm_eap_leap.la -lib/rlm_eap_leap.so -lib/rlm_eap_md5-%%PORTVERSION%%.la -lib/rlm_eap_md5-%%PORTVERSION%%.so -lib/rlm_eap_md5.a -lib/rlm_eap_md5.la -lib/rlm_eap_md5.so -lib/rlm_eap_mschapv2-%%PORTVERSION%%.la -lib/rlm_eap_mschapv2-%%PORTVERSION%%.so -lib/rlm_eap_mschapv2.a -lib/rlm_eap_mschapv2.la -lib/rlm_eap_mschapv2.so -%%4SSL%%lib/rlm_eap_peap-%%PORTVERSION%%.la -%%4SSL%%lib/rlm_eap_peap-%%PORTVERSION%%.so -%%4SSL%%lib/rlm_eap_peap.a -%%4SSL%%lib/rlm_eap_peap.la -%%4SSL%%lib/rlm_eap_peap.so -lib/rlm_eap_sim-%%PORTVERSION%%.la -lib/rlm_eap_sim-%%PORTVERSION%%.so -lib/rlm_eap_sim.a -lib/rlm_eap_sim.la -lib/rlm_eap_sim.so -%%4SSL%%lib/rlm_eap_tls-%%PORTVERSION%%.la -%%4SSL%%lib/rlm_eap_tls-%%PORTVERSION%%.so -%%4SSL%%lib/rlm_eap_tls.a -%%4SSL%%lib/rlm_eap_tls.la -%%4SSL%%lib/rlm_eap_tls.so -%%4SSL%%lib/rlm_eap_ttls-%%PORTVERSION%%.la -%%4SSL%%lib/rlm_eap_ttls-%%PORTVERSION%%.so -%%4SSL%%lib/rlm_eap_ttls.a -%%4SSL%%lib/rlm_eap_ttls.la -%%4SSL%%lib/rlm_eap_ttls.so -%%EXPM%%lib/rlm_example-%%PORTVERSION%%.la -%%EXPM%%lib/rlm_example-%%PORTVERSION%%.so -%%EXPM%%lib/rlm_example.a -%%EXPM%%lib/rlm_example.la -%%EXPM%%lib/rlm_example.so -lib/rlm_exec-%%PORTVERSION%%.la -lib/rlm_exec-%%PORTVERSION%%.so -lib/rlm_exec.a -lib/rlm_exec.la -lib/rlm_exec.so -lib/rlm_expr-%%PORTVERSION%%.la -lib/rlm_expr-%%PORTVERSION%%.so -lib/rlm_expr.a -lib/rlm_expr.la -lib/rlm_expr.so -lib/rlm_fastusers-%%PORTVERSION%%.la -lib/rlm_fastusers-%%PORTVERSION%%.so -lib/rlm_fastusers.a -lib/rlm_fastusers.la -lib/rlm_fastusers.so -lib/rlm_files-%%PORTVERSION%%.la -lib/rlm_files-%%PORTVERSION%%.so -lib/rlm_files.a -lib/rlm_files.la -lib/rlm_files.so -lib/rlm_ippool-%%PORTVERSION%%.la -lib/rlm_ippool-%%PORTVERSION%%.so -lib/rlm_ippool.a -lib/rlm_ippool.la -lib/rlm_ippool.so -%%KRB5%%lib/rlm_krb5-%%PORTVERSION%%.la -%%KRB5%%lib/rlm_krb5-%%PORTVERSION%%.so -%%KRB5%%lib/rlm_krb5.a -%%KRB5%%lib/rlm_krb5.la -%%KRB5%%lib/rlm_krb5.so -%%LDAP%%lib/rlm_ldap-%%PORTVERSION%%.la -%%LDAP%%lib/rlm_ldap-%%PORTVERSION%%.so -%%LDAP%%lib/rlm_ldap.a -%%LDAP%%lib/rlm_ldap.la -%%LDAP%%lib/rlm_ldap.so -lib/rlm_mschap-%%PORTVERSION%%.la -lib/rlm_mschap-%%PORTVERSION%%.so -lib/rlm_mschap.a -lib/rlm_mschap.la -lib/rlm_mschap.so -lib/rlm_ns_mta_md5-%%PORTVERSION%%.la -lib/rlm_ns_mta_md5-%%PORTVERSION%%.so -lib/rlm_ns_mta_md5.a -lib/rlm_ns_mta_md5.la -lib/rlm_ns_mta_md5.so -%%4SSL%%lib/rlm_otp-%%PORTVERSION%%.la -%%4SSL%%lib/rlm_otp-%%PORTVERSION%%.so -%%4SSL%%lib/rlm_otp.a -%%4SSL%%lib/rlm_otp.la -%%4SSL%%lib/rlm_otp.so -lib/rlm_pam-%%PORTVERSION%%.la -lib/rlm_pam-%%PORTVERSION%%.so -lib/rlm_pam.a -lib/rlm_pam.la -lib/rlm_pam.so -lib/rlm_pap-%%PORTVERSION%%.la -lib/rlm_pap-%%PORTVERSION%%.so -lib/rlm_pap.a -lib/rlm_pap.la -lib/rlm_pap.so -lib/rlm_passwd-%%PORTVERSION%%.la -lib/rlm_passwd-%%PORTVERSION%%.so -lib/rlm_passwd.a -lib/rlm_passwd.la -lib/rlm_passwd.so -%%RLMPERL%%lib/rlm_perl-%%PORTVERSION%%.la -%%RLMPERL%%lib/rlm_perl-%%PORTVERSION%%.so -%%RLMPERL%%lib/rlm_perl.a -%%RLMPERL%%lib/rlm_perl.la -%%RLMPERL%%lib/rlm_perl.so -lib/rlm_preprocess-%%PORTVERSION%%.la -lib/rlm_preprocess-%%PORTVERSION%%.so -lib/rlm_preprocess.a -lib/rlm_preprocess.la -lib/rlm_preprocess.so -%%EXPM%%lib/rlm_python-%%PORTVERSION%%.la -%%EXPM%%lib/rlm_python-%%PORTVERSION%%.so -%%EXPM%%lib/rlm_python.a -%%EXPM%%lib/rlm_python.la -%%EXPM%%lib/rlm_python.so -lib/rlm_radutmp-%%PORTVERSION%%.la -lib/rlm_radutmp-%%PORTVERSION%%.so -lib/rlm_radutmp.a -lib/rlm_radutmp.la -lib/rlm_radutmp.so -lib/rlm_realm-%%PORTVERSION%%.la -lib/rlm_realm-%%PORTVERSION%%.so -lib/rlm_realm.a -lib/rlm_realm.la -lib/rlm_realm.so -%%EXPM%%lib/rlm_sim_files-%%PORTVERSION%%.la -%%EXPM%%lib/rlm_sim_files-%%PORTVERSION%%.so -%%EXPM%%lib/rlm_sim_files.a -%%EXPM%%lib/rlm_sim_files.la -%%EXPM%%lib/rlm_sim_files.so -%%EXPM%%lib/rlm_smb-%%PORTVERSION%%.la -%%EXPM%%lib/rlm_smb-%%PORTVERSION%%.so -%%EXPM%%lib/rlm_smb.a -%%EXPM%%lib/rlm_smb.la -%%EXPM%%lib/rlm_smb.so -lib/rlm_sql-%%PORTVERSION%%.la -lib/rlm_sql-%%PORTVERSION%%.so -lib/rlm_sql.a -lib/rlm_sql.la -lib/rlm_sql.so -%%FIREBIRD%%lib/rlm_sql_firebird-%%PORTVERSION%%.so -%%FIREBIRD%%lib/rlm_sql_firebird.a -%%FIREBIRD%%lib/rlm_sql_firebird.la -%%FIREBIRD%%lib/rlm_sql_firebird.so -lib/rlm_sql_log-%%PORTVERSION%%.la -lib/rlm_sql_log-%%PORTVERSION%%.so -lib/rlm_sql_log.a -lib/rlm_sql_log.la -lib/rlm_sql_log.so -%%MYSQL%%lib/rlm_sql_mysql-%%PORTVERSION%%.so -%%MYSQL%%lib/rlm_sql_mysql.a -%%MYSQL%%lib/rlm_sql_mysql.la -%%MYSQL%%lib/rlm_sql_mysql.so -%%PGSQL%%lib/rlm_sql_postgresql-%%PORTVERSION%%.so -%%PGSQL%%lib/rlm_sql_postgresql.a -%%PGSQL%%lib/rlm_sql_postgresql.la -%%PGSQL%%lib/rlm_sql_postgresql.so -lib/rlm_sqlcounter-%%PORTVERSION%%.la -lib/rlm_sqlcounter-%%PORTVERSION%%.so -lib/rlm_sqlcounter.a -lib/rlm_sqlcounter.la -lib/rlm_sqlcounter.so -%%EXPM%%lib/rlm_sqlhpwippool-%%PORTVERSION%%.la -%%EXPM%%lib/rlm_sqlhpwippool-%%PORTVERSION%%.so -%%EXPM%%lib/rlm_sqlhpwippool.a -%%EXPM%%lib/rlm_sqlhpwippool.la -%%EXPM%%lib/rlm_sqlhpwippool.so -%%EXPM%%lib/rlm_sqlippool-%%PORTVERSION%%.la -%%EXPM%%lib/rlm_sqlippool-%%PORTVERSION%%.so -%%EXPM%%lib/rlm_sqlippool.a -%%EXPM%%lib/rlm_sqlippool.la -%%EXPM%%lib/rlm_sqlippool.so -lib/rlm_unix-%%PORTVERSION%%.la -lib/rlm_unix-%%PORTVERSION%%.so -lib/rlm_unix.a -lib/rlm_unix.la -lib/rlm_unix.so -sbin/check-radiusd-config -sbin/checkrad -sbin/radiusd -sbin/radwatch -sbin/rc.radiusd -%%PORTDOCS%%%%DOCSDIR%%/Acct-Type -%%PORTDOCS%%%%DOCSDIR%%/Autz-Type -%%PORTDOCS%%%%DOCSDIR%%/CYGWIN -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/DIFFS -%%PORTDOCS%%%%DOCSDIR%%/MACOSX -%%PORTDOCS%%%%DOCSDIR%%/OS2 -%%PORTDOCS%%%%DOCSDIR%%/Post-Auth-Type -%%PORTDOCS%%%%DOCSDIR%%/RADIUS-LDAP-eDirectory -%%PORTDOCS%%%%DOCSDIR%%/RADIUS-SQL.schema -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/Session-Type -%%PORTDOCS%%%%DOCSDIR%%/Simultaneous-Use -%%PORTDOCS%%%%DOCSDIR%%/aaa.txt -%%PORTDOCS%%%%DOCSDIR%%/ascend -%%PORTDOCS%%%%DOCSDIR%%/bay -%%PORTDOCS%%%%DOCSDIR%%/bugs -%%PORTDOCS%%%%DOCSDIR%%/cisco -%%PORTDOCS%%%%DOCSDIR%%/coding-methods.txt -%%PORTDOCS%%%%DOCSDIR%%/configurable_failover -%%PORTDOCS%%%%DOCSDIR%%/duplicate-users -%%PORTDOCS%%%%DOCSDIR%%/examples/iplanet.ldif -%%PORTDOCS%%%%DOCSDIR%%/examples/iplanet.schema -%%PORTDOCS%%%%DOCSDIR%%/examples/mssql.sql -%%PORTDOCS%%%%DOCSDIR%%/examples/mysql.sql -%%PORTDOCS%%%%DOCSDIR%%/examples/openldap.schema -%%PORTDOCS%%%%DOCSDIR%%/examples/oracle.sql -%%PORTDOCS%%%%DOCSDIR%%/examples/postgresql.sql -%%PORTDOCS%%%%DOCSDIR%%/ldap_howto.txt -%%PORTDOCS%%%%DOCSDIR%%/load-balance.txt -%%PORTDOCS%%%%DOCSDIR%%/misc-nas -%%PORTDOCS%%%%DOCSDIR%%/module_interface -%%PORTDOCS%%%%DOCSDIR%%/mssql -%%PORTDOCS%%%%DOCSDIR%%/performance-testing -%%PORTDOCS%%%%DOCSDIR%%/processing_users_file -%%PORTDOCS%%%%DOCSDIR%%/proxy -%%PORTDOCS%%%%DOCSDIR%%/radrelay -%%PORTDOCS%%%%DOCSDIR%%/release-method.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/attributes.html -%%PORTDOCS%%%%DOCSDIR%%/rfc/draft-kamath-pppext-eap-mschapv2-00.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/draft-sterman-aaa-sip-00.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/leap.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/pppext-eap-sim-12.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc1157.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc1227.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc1448.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc1901.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc1905.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2058.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2059.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2138.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2139.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2243.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2289.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2433.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2548.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2618.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2619.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2620.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2621.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2716.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2759.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2809.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2865.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2866.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2867.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2868.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2869.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2882.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc2924.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3162.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3575.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3576.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3579.txt -%%PORTDOCS%%%%DOCSDIR%%/rfc/rfc3580.txt -%%PORTDOCS%%%%DOCSDIR%%/rlm_attr_filter -%%PORTDOCS%%%%DOCSDIR%%/rlm_dbm -%%PORTDOCS%%%%DOCSDIR%%/rlm_digest -%%PORTDOCS%%%%DOCSDIR%%/rlm_eap -%%PORTDOCS%%%%DOCSDIR%%/rlm_fastusers -%%PORTDOCS%%%%DOCSDIR%%/rlm_krb5 -%%PORTDOCS%%%%DOCSDIR%%/rlm_ldap -%%PORTDOCS%%%%DOCSDIR%%/rlm_pam -%%PORTDOCS%%%%DOCSDIR%%/rlm_passwd -%%PORTDOCS%%%%DOCSDIR%%/rlm_python -%%PORTDOCS%%%%DOCSDIR%%/rlm_sim_triplets -%%PORTDOCS%%%%DOCSDIR%%/rlm_sql -%%PORTDOCS%%%%DOCSDIR%%/rlm_sqlcounter -%%PORTDOCS%%%%DOCSDIR%%/rlm_sqlippool -%%PORTDOCS%%%%DOCSDIR%%/supervise-radiusd.txt -%%PORTDOCS%%%%DOCSDIR%%/tuning_guide -%%PORTDOCS%%%%DOCSDIR%%/variables.txt -%%DATADIR%%/dictionary -%%DATADIR%%/dictionary.3com -%%DATADIR%%/dictionary.3gpp -%%DATADIR%%/dictionary.3gpp2 -%%DATADIR%%/dictionary.acc -%%DATADIR%%/dictionary.airespace -%%DATADIR%%/dictionary.alcatel -%%DATADIR%%/dictionary.alteon -%%DATADIR%%/dictionary.altiga -%%DATADIR%%/dictionary.alvarion -%%DATADIR%%/dictionary.aptis -%%DATADIR%%/dictionary.aruba -%%DATADIR%%/dictionary.ascend -%%DATADIR%%/dictionary.asn -%%DATADIR%%/dictionary.avaya -%%DATADIR%%/dictionary.bay -%%DATADIR%%/dictionary.bintec -%%DATADIR%%/dictionary.bristol -%%DATADIR%%/dictionary.cablelabs -%%DATADIR%%/dictionary.cabletron -%%DATADIR%%/dictionary.cisco -%%DATADIR%%/dictionary.cisco.bbsm -%%DATADIR%%/dictionary.cisco.vpn3000 -%%DATADIR%%/dictionary.cisco.vpn5000 -%%DATADIR%%/dictionary.colubris -%%DATADIR%%/dictionary.columbia_university -%%DATADIR%%/dictionary.compat -%%DATADIR%%/dictionary.cosine -%%DATADIR%%/dictionary.digium -%%DATADIR%%/dictionary.epygi -%%DATADIR%%/dictionary.ericsson -%%DATADIR%%/dictionary.erx -%%DATADIR%%/dictionary.extreme -%%DATADIR%%/dictionary.fortinet -%%DATADIR%%/dictionary.foundry -%%DATADIR%%/dictionary.freeradius -%%DATADIR%%/dictionary.freeradius.internal -%%DATADIR%%/dictionary.gandalf -%%DATADIR%%/dictionary.garderos -%%DATADIR%%/dictionary.gemtek -%%DATADIR%%/dictionary.hp -%%DATADIR%%/dictionary.ipunplugged -%%DATADIR%%/dictionary.issanni -%%DATADIR%%/dictionary.itk -%%DATADIR%%/dictionary.juniper -%%DATADIR%%/dictionary.karlnet -%%DATADIR%%/dictionary.livingston -%%DATADIR%%/dictionary.localweb -%%DATADIR%%/dictionary.lucent -%%DATADIR%%/dictionary.merit -%%DATADIR%%/dictionary.microsoft -%%DATADIR%%/dictionary.mikrotik -%%DATADIR%%/dictionary.motorola -%%DATADIR%%/dictionary.navini -%%DATADIR%%/dictionary.netscreen -%%DATADIR%%/dictionary.nokia -%%DATADIR%%/dictionary.nomadix -%%DATADIR%%/dictionary.nortel -%%DATADIR%%/dictionary.ntua -%%DATADIR%%/dictionary.packeteer -%%DATADIR%%/dictionary.patton -%%DATADIR%%/dictionary.propel -%%DATADIR%%/dictionary.quintum -%%DATADIR%%/dictionary.redback -%%DATADIR%%/dictionary.redcreek -%%DATADIR%%/dictionary.rfc2865 -%%DATADIR%%/dictionary.rfc2866 -%%DATADIR%%/dictionary.rfc2867 -%%DATADIR%%/dictionary.rfc2868 -%%DATADIR%%/dictionary.rfc2869 -%%DATADIR%%/dictionary.rfc3162 -%%DATADIR%%/dictionary.rfc3576 -%%DATADIR%%/dictionary.rfc3580 -%%DATADIR%%/dictionary.rfc4372 -%%DATADIR%%/dictionary.rfc4590 -%%DATADIR%%/dictionary.rfc4675 -%%DATADIR%%/dictionary.rfc4679 -%%DATADIR%%/dictionary.riverstone -%%DATADIR%%/dictionary.roaringpenguin -%%DATADIR%%/dictionary.schulzrinne-sipping -%%DATADIR%%/dictionary.shasta -%%DATADIR%%/dictionary.shiva -%%DATADIR%%/dictionary.sofaware -%%DATADIR%%/dictionary.sonicwall -%%DATADIR%%/dictionary.springtide -%%DATADIR%%/dictionary.starent -%%DATADIR%%/dictionary.t_systems_nova -%%DATADIR%%/dictionary.telebit -%%DATADIR%%/dictionary.trapeze -%%DATADIR%%/dictionary.tropos -%%DATADIR%%/dictionary.unix -%%DATADIR%%/dictionary.usr -%%DATADIR%%/dictionary.valemount -%%DATADIR%%/dictionary.versanet -%%DATADIR%%/dictionary.walabi -%%DATADIR%%/dictionary.waverider -%%DATADIR%%/dictionary.wispr -%%DATADIR%%/dictionary.xedia -%%DATADIR%%/dictionary.xylan -%%DATADIR%%/dictionary.zyxel -@dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%%/rfc -%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@exec mkdir -p /var/log/raddb -@exec chmod -R og= /var/log/raddb -@exec mkdir -p /var/run/radiusd -@unexec rm -fr /var/run/radiusd -@dirrmtry etc/raddb/certs/demoCA -@dirrmtry etc/raddb/certs -@dirrmtry etc/raddb -@unexec if [ -d %D/etc/raddb ]; then echo "You should remove %D/etc/raddb if you don't need it anymore."; fi diff --git a/net/haproxy-devel/Makefile b/net/haproxy-devel/Makefile deleted file mode 100644 index 113004520a49..000000000000 --- a/net/haproxy-devel/Makefile +++ /dev/null @@ -1,63 +0,0 @@ -# New ports collection Makefile for: haproxy -# Date created: Apr 30, 2003 -# Whom: Clement Laforet -# -# $FreeBSD$ -# - -PORTNAME= haproxy -PORTVERSION= 1.2.16 -PORTREVISION= 1 -CATEGORIES= net www -MASTER_SITES= http://haproxy.1wt.eu/download/1.2/src/ - -MAINTAINER= clement@FreeBSD.org -COMMENT= High-performance and highly-robust TCP/HTTP load balancer - -USE_RC_SUBR= haproxy.sh - -STATS_INTERVAL?= 0 -CFLAGS+= -DSTATTIME=${STATS_INTERVAL} - -.if defined(WITH_TPROXY) -CFLAGS+= -DTPROXY -.endif - -.if defined(WITH_PCRE) -PKGNAMESUFFIX= -pcre -LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre -MAKE_ENV+= "REGEX=pcre" -CFLAGS+= -DUSE_PCRE -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lpcreposix -lpcre -.endif - -.if defined(WITH_SMALLOPTS) -CFLAGS+= -DBUFSIZE=8030 -DMAXREWRITE=1030 -DSYSTEM_MAXCONN=1024 -.endif - -MAKEFILE= Makefile.bsd - -pre-everything:: - @${ECHO_MSG} "" - @${ECHO_MSG} "Available options:" - @${ECHO_MSG} "WITH_PCRE: Use pcre regex engine" - @${ECHO_MSG} "WITH_TPROXY: Enable Transparent proxy support" - @${ECHO_MSG} "WITH_SMALLOPTS: Enable low memory footprint support" - @${ECHO_MSG} "STATS_INTERVAL=###: Statistics interval in milliseconds," - @${ECHO_MSG} " (default to 0, disabled)" - @${ECHO_MSG} "" - -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${PREFIX}/sbin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/examples/haproxy.cfg \ - ${EXAMPLESDIR}/haproxy.cfg -.endif - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net/haproxy-devel/distinfo b/net/haproxy-devel/distinfo deleted file mode 100644 index 1a06fc6b8296..000000000000 --- a/net/haproxy-devel/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (haproxy-1.2.16.tar.gz) = f72c44bcddf868edf4000503be09a12d -SHA256 (haproxy-1.2.16.tar.gz) = c8635aaf761f3bb74676d6cbc1ebb415cdcebebcdb46261a737a7d69c4251f2f -SIZE (haproxy-1.2.16.tar.gz) = 197867 diff --git a/net/haproxy-devel/files/haproxy.sh.in b/net/haproxy-devel/files/haproxy.sh.in deleted file mode 100644 index 9083c615dd65..000000000000 --- a/net/haproxy-devel/files/haproxy.sh.in +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/net/haproxy-devel/files/Attic/haproxy.sh.in,v 1.1 2006-11-01 14:42:14 clement Exp $ -# - -# PROVIDE: haproxy -# REQUIRE: NETWORKING SERVERS -# BEFORE: DAEMON -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable haproxy: -# haproxy_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable haproxy -# haproxylimits_enable (bool):Set to "NO" by default. -# Set it to yes to run `limits $limits_args` -# just before haproxy starts. -# haproxy_flags (str): Set to "" by default. -# Extra flags passed to start command -# haproxylimits_args (str): Default to "-e -C daemon" -# Arguments of pre-start limits run. -# -. %%RC_SUBR%% - -name="haproxy" -rcvar=`set_rcvar` - -command="%%PREFIX%%/sbin/haproxy" -pidfile="/var/run/haproxy.pid" -required_files=%%PREFIX%%/etc/haproxy.conf - -[ -z "$haproxy_enable" ] && haproxy_enable="NO" -[ -z "$haproxy_flags" ] && haproxy_flags="-p ${pidfile} -f /usr/local/etc/haproxy.conf" -[ -z "$haproxylimits_enable" ] && haproxylimits_enable="NO" -[ -z "$haproxylimits_args" ] && haproxylimits_args="-e -C daemon" - -load_rc_config $name - -checkyesno haproxylimits_enable && \ - start_precmd="eval `/usr/bin/limits ${haproxylimits_args}` 2>/dev/null" - -sig_gracefulstop=SIGUSR1 - -haproxy_gracefulstop() { - echo "Gracefully shutdown haproxy ($rc_pid)" - kill -${sig_gracefulstop} ${rc_pid} - } - -extra_commands="gracefulstop" -run_rc_command "$1" diff --git a/net/haproxy-devel/files/patch-Makefile.bsd b/net/haproxy-devel/files/patch-Makefile.bsd deleted file mode 100644 index 4f27d99fbe7e..000000000000 --- a/net/haproxy-devel/files/patch-Makefile.bsd +++ /dev/null @@ -1,74 +0,0 @@ ---- Makefile.bsd.orig Sun May 21 21:32:29 2006 -+++ Makefile.bsd Sun Sep 24 10:06:30 2006 -@@ -5,22 +5,22 @@ - TARGET = openbsd - - # pass CPU=<cpu_name> to make to optimize for a particular CPU --CPU = generic -+#CPU = generic - #CPU = i586 - #CPU = i686 - #CPU = ultrasparc - - # By default, we use libc's regex. WARNING! On Solaris 8/Sparc, group - # references seem broken using libc ! Use pcre instead. --REGEX=libc -+REGEX?=libc - #REGEX=pcre - #REGEX=static-pcre - - # tools options --CC = gcc --LD = gcc -+CC?= gcc -+LD?= gcc - --PCREDIR=/usr/local -+PCREDIR=${LOCALBASE} - - # This is for OpenBSD 3.0 - COPTS.openbsd = -DENABLE_POLL -@@ -46,7 +46,7 @@ - - # you can enable debug arguments with "DEBUG=-g" or disable them with "DEBUG=" - #DEBUG = -g -DDEBUG_MEMORY -DDEBUG_FULL --DEBUG = -g -+#DEBUG = -g - - # if small memory footprint is required, you can reduce the buffer size. There - # are 2 buffers per concurrent session, so 16 kB buffers will eat 32 MB memory -@@ -54,7 +54,7 @@ - # will avoid the additionnal paramters to overflow a page. 8030 bytes is - # exactly 5.5 TCP segments of 1460 bytes. - #SMALL_OPTS = --SMALL_OPTS = -DBUFSIZE=8030 -DMAXREWRITE=1030 -DSYSTEM_MAXCONN=1024 -+#SMALL_OPTS = -DBUFSIZE=8030 -DMAXREWRITE=1030 -DSYSTEM_MAXCONN=1024 - - # redefine this if you want to add some special PATH to include/libs - ADDINC = -@@ -65,7 +65,7 @@ - # - use -DSTATTIME=0 to disable statistics, else specify an interval in - # milliseconds. - # - use -DTPROXY to compile with transparent proxy support. --DEFINE = -DSTATTIME=0 -DTPROXY -+#DEFINE = -DSTATTIME=0 -DTPROXY - - # global options - TARGET_OPTS=$(COPTS.$(TARGET)) -@@ -75,13 +75,13 @@ - COPTS=-I. $(ADDINC) $(CPU_OPTS) $(TARGET_OPTS) $(REGEX_OPTS) $(SMALL_OPTS) $(DEFINE) - LIBS=$(LIBS.$(TARGET)) $(LIBS.$(REGEX)) $(ADDLIB) - --CFLAGS = -Wall $(COPTS) $(DEBUG) --LDFLAGS = -g -+CFLAGS+= -Wall $(COPTS) -+LDFLAGS+= #-g /lib/crt0.o -lc - - all: haproxy - - haproxy: src/list.o src/chtbl.o src/hashpjw.o haproxy.o src/base64.o src/uri_auth.o -- $(LD) $(LDFLAGS) -o $@ $> $(LIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $> $(LIBS) - - src/base64.o: src/base64.c - $(CC) $(CFLAGS) -c -o $@ $< diff --git a/net/haproxy-devel/pkg-descr b/net/haproxy-devel/pkg-descr deleted file mode 100644 index 4da1ab8c8502..000000000000 --- a/net/haproxy-devel/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -HAproxy is a high-performance and highly-robust TCP/HTTP load balancer which -provides cookie-based persistence, automatic failover, header insertion, -deletion, modification on the fly, advanced logging contents to help trouble- -shooting buggy applications and/or networks, and a few other features. It uses -its own state machine to achieve up to ten thousands hits per second on modern -hardware, even with thousands simultaneous connections. - -WWW: http://haproxy.1wt.eu/ diff --git a/net/haproxy-devel/pkg-message b/net/haproxy-devel/pkg-message deleted file mode 100644 index 4cb845b4df81..000000000000 --- a/net/haproxy-devel/pkg-message +++ /dev/null @@ -1,3 +0,0 @@ -===> BE CAREFULL HOW TO BOOT on 1.1.28 or after: - To run haproxy from startup, add haproxy_enable="YES" in your - /etc/rc.conf. diff --git a/net/haproxy-devel/pkg-plist b/net/haproxy-devel/pkg-plist deleted file mode 100644 index 6431f584ff60..000000000000 --- a/net/haproxy-devel/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -sbin/haproxy -%%PORTDOCS%%%%DOCSDIR%%/architecture.txt -%%PORTDOCS%%%%DOCSDIR%%/haproxy-en.txt -%%PORTDOCS%%%%DOCSDIR%%/haproxy-fr.txt -%%PORTDOCS%%%%EXAMPLESDIR%%/haproxy.cfg -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% diff --git a/net/imm/Makefile b/net/imm/Makefile deleted file mode 100644 index 9cf49cf2e12a..000000000000 --- a/net/imm/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# New ports collection makefile for: imm -# Date created: 13 October 1994 -# Whom: wollman -# -# $FreeBSD$ -# - -PORTNAME= imm -PORTVERSION= 3.5a1 -CATEGORIES= mbone tk82 -MASTER_SITES= ftp://ftp.hawaii.edu/paccom/imm-3.5a1/ -DISTNAME= imm.source -EXTRACT_SUFX= .tar.Z - -MAINTAINER= fenner@FreeBSD.org -COMMENT= Internet Image(or other data) Multicaster (and receiver) - -LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 - -WRKSRC= ${WRKDIR}/mnm -USE_X_PREFIX= yes - -.include <bsd.port.pre.mk> - -post-extract: - @${MKDIR} ${WRKSRC}/freebsd - @${CP} ${FILESDIR}/Makefile.work ${WRKSRC}/Makefile - @${CP} ${FILESDIR}/Makefile.freebsd ${WRKSRC}/src - -# The included makefile doesn't have an "install" target. -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/freebsd/imm ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/freebsd/immserv ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/freebsd/lscomp ${PREFIX}/bin -# and no man pages at all yet. -# But include the very limited documentation - ${MKDIR} ${PREFIX}/share/doc/imm -.if !defined(NOPORTDOCS) - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/imm - ${INSTALL_DATA} ${WRKSRC}/imm_readme.txt ${PREFIX}/share/doc/imm -.endif -# The sdr plugin is pretty much required. - ${INSTALL_DATA} ${WRKSRC}/sdr2.plugin.S53.image.imm ${PREFIX}/share/doc/imm - -.include <bsd.port.post.mk> diff --git a/net/imm/distinfo b/net/imm/distinfo deleted file mode 100644 index 090e9df901b5..000000000000 --- a/net/imm/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (imm.source.tar.Z) = bf2713e5dca81daaecbc0bbcaf7af667 -SHA256 (imm.source.tar.Z) = be66dc74b955cf51de1575662d700b87cb423e3562f163d2f0dc70878b73270b -SIZE (imm.source.tar.Z) = 106067 diff --git a/net/imm/files/Makefile.freebsd b/net/imm/files/Makefile.freebsd deleted file mode 100644 index ae7ce6434e6f..000000000000 --- a/net/imm/files/Makefile.freebsd +++ /dev/null @@ -1,77 +0,0 @@ -# Some versions of make, like SGI's, use the following variable to -# determine which shell to use for executing commands: -SHELL = /bin/sh -INCLUDE_DIR = -I${PREFIX}/include -I${LOCALBASE}/include/tcl8.2 -I${LOCALBASE}/include/tk8.2 -# Libraries to use when linking: -LIBS = -lm - -TKLIBS= -L$(PREFIX)/lib -L${LOCALBASE}/lib -ltk82 -ltcl82 -lX11 - -TARGET = ../freebsd - -CFLAGS = -g -DSIG_T=void -DMULTICAST -I. -DERROR_TEST - -CC = gcc -CC_SWITCHES = ${CFLAGS} - -ROBJS = protocol.o utils.o - -SOBJS = protocol.o immserv.o sorttree.o utils.o - -MOBJS = protocol.o mnmserver.o sorttree.o utils.o - -all: $(TARGET)/imm $(TARGET)/immserv $(TARGET)/lscomp - -$(TARGET)/mnm: $(ROBJS) main.o xlopen.o mcl.o - $(CC) $(CFLAGS) main.o xlopen.o mcl.o $(ROBJS) $(LIBS) -o $(TARGET)/mnm - -$(TARGET)/imm: $(ROBJS) tkAppInit.o imm_init.o imm.o xlopen_imm.o - $(CC) $(CFLAGS) tkAppInit.o imm_init.o imm.o xlopen_imm.o $(ROBJS) $(TKLIBS) $(LIBS) -o $(TARGET)/imm - -$(TARGET)/immserv: $(SOBJS) - $(CC) $(CFLAGS) $(SOBJS) $(LIBS) -o $(TARGET)/immserv - -$(TARGET)/lscomp: lscomp.o protocol.o sorttree.o utils.o - $(CC) $(CFLAGS) lscomp.o protocol.o sorttree.o utils.o $(LIBS) -o $(TARGET)/lscomp - -clean: - rm -f *.o tcl2c $(TARGET)/mnm $(TARGET)/lscomp $(TARGET)/imm $(TARGET)/immserv - -tcl2c: tcl2c.c - $(CC) $(CFLAGS) tcl2c.c $(LIBS) -o tcl2c - -imm_init.c: tcl2c imm_def.tcl mcl.tcl Radio.tcl Listbox.tcl viewbox.tcl filebox.tcl mkHostname.tcl - ./tcl2c IMM_Init < imm_def.tcl > imm_init.c - ./tcl2c MCL < mcl.tcl >> imm_init.c - ./tcl2c RADIO < Radio.tcl >> imm_init.c - ./tcl2c LISTBOX < Listbox.tcl >> imm_init.c - ./tcl2c VIEWBOX < viewbox.tcl >> imm_init.c - ./tcl2c FILEBOX < filebox.tcl >> imm_init.c - ./tcl2c HOSTBOX < mkHostname.tcl >> imm_init.c - ./tcl2c SERVERBOX < mnmserv.tcl >> imm_init.c - -imm_init.o: imm_init.c - -main.o: main.c - -mcl.o: mcl.c - -imm.o: mcl.c - gcc $(CFLAGS) -DIMM $(INCLUDE_DIR) -c mcl.c -o imm.o - -xlopen_imm.o: xlopen.c - gcc $(CFLAGS) -DIMM $(INCLUDE_DIR) -c xlopen.c -o xlopen_imm.o - -tkAppInit.o: tkAppInit.c - gcc $(CFLAGS) $(INCLUDE_DIR) tkAppInit.c -c - -protocol.o: protocol.c - -utils.o: utils.c - -lscomp.o: lscomp.c - -sorttree.o: sorttree.c immserv.h - -immserv.o: immserv.c immserv.h - diff --git a/net/imm/files/Makefile.work b/net/imm/files/Makefile.work deleted file mode 100644 index cb876d343f9e..000000000000 --- a/net/imm/files/Makefile.work +++ /dev/null @@ -1,2 +0,0 @@ -all install: - cd src; ${MAKE} -f Makefile.freebsd $@ diff --git a/net/imm/files/patch-aa b/net/imm/files/patch-aa deleted file mode 100644 index f7cb9a9cefc8..000000000000 --- a/net/imm/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- src/mcl.c.orig Tue Nov 19 12:33:49 1996 -+++ src/mcl.c Tue Nov 19 12:34:23 1996 -@@ -25,7 +25,7 @@ - - #define MAIN - #include "protocol.h" --#include <malloc.h> -+#include <stdlib.h> - #include <fcntl.h> - #include <sys/socket.h> - #include <netinet/in.h> diff --git a/net/imm/files/patch-ab b/net/imm/files/patch-ab deleted file mode 100644 index 4b1f038304da..000000000000 --- a/net/imm/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- src/xlopen.c.orig Tue Nov 19 12:33:53 1996 -+++ src/xlopen.c Tue Nov 19 12:35:01 1996 -@@ -34,7 +34,7 @@ - extern int optind, opterr; - extern int useimageloader; - extern struct hosttype *hosts_tail; --#ifndef __NetBSD__ -+#if !defined(__NetBSD__) && !defined(__FreeBSD__) /* XXX */ - extern char *sys_errlist[]; - #endif - extern unsigned int total; diff --git a/net/imm/files/patch-ac b/net/imm/files/patch-ac deleted file mode 100644 index 2da9e3a99e12..000000000000 --- a/net/imm/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- src/immserv.c.orig Tue Nov 19 12:36:41 1996 -+++ src/immserv.c Tue Nov 19 12:37:32 1996 -@@ -1407,7 +1407,7 @@ - /******************************************************************************/ - void setackalarm(int nop) {} - /******************************************************************************/ --#ifndef __NetBSD__ -+#if !defined(__NetBSD__) && !defined(__FreeBSD__) /* XXX */ - /* routine to put process to sleep */ - int usleep( wait) - u_int wait; diff --git a/net/imm/files/patch-src::utils.c b/net/imm/files/patch-src::utils.c deleted file mode 100644 index a7db5d4e2d04..000000000000 --- a/net/imm/files/patch-src::utils.c +++ /dev/null @@ -1,200 +0,0 @@ ---- src/utils.c.orig Thu Jul 15 12:37:25 2004 -+++ src/utils.c Thu Jul 15 13:36:09 2004 -@@ -20,7 +20,7 @@ - * These notices must be retained in any copies of any part of this software. - ******************************************************************************/ - #include <stdio.h> --#include <varargs.h> -+#include <stdarg.h> - #include <stdlib.h> - #include <string.h> - #ifdef __NetBSD__ -@@ -40,47 +40,118 @@ - - /*----------------------------------------------------------------------------*/ - --void warn( va_alist ) --va_dcl -+/* Allocate memory for format string buffers */ -+int -+vfsalloc(char *fmt, va_list ap) - { -- va_list args; -- char *fmt; -+ char *s; -+ int i, n = 0, len = 0; - -- va_start( args ); -- fmt = va_arg( args, char * ); -- fprintf( stderr, "Warning: " ); -- vfprintf( stderr, fmt, args ); -- va_end( args ); -+ if (!fmt) -+ return 0; -+ -+ s = strchr(fmt, '%'); -+ -+ while (s) { -+ ++s; -+ ++n; -+ -+ switch (*s) { -+ case 'd': -+ i = va_arg(ap, int); -+ len += 1 + sizeof(int)<<1; -+ break; -+ case 's': -+ len += strlen(va_arg(ap, char *)); -+ break; -+ } -+ s = strchr(s, '%'); -+ } -+ -+ len += strlen(fmt) - (2 * n); -+ -+ return len; -+} -+ -+void warn( char *fmt, ... ) -+{ -+ va_list ap; -+ char *buf, *s; -+ int len; -+ -+ if (!fmt) -+ return; -+ -+ va_start(ap, fmt); -+ if (!(len = vfsalloc(fmt, ap))) -+ return; -+ va_end(ap); -+ -+ if (!(buf = malloc(len))) -+ return; -+ -+ va_start(ap, fmt); -+ vsprintf(buf, fmt, ap); -+ va_end(ap); -+ -+ fprintf(stderr, "Warning: %s\n", buf); -+ free(buf); - } - - /*----------------------------------------------------------------------------*/ - --void die( va_alist ) --va_dcl -+void die(char *fmt, ... ) - { -- va_list args; -- char *fmt; -+ va_list ap; -+ char *buf, *s; -+ int len; -+ -+ if (!fmt) -+ return; -+ -+ va_start(ap, fmt); -+ if (!(len = vfsalloc(fmt, ap))) -+ return; -+ va_end(ap); -+ -+ if (!(buf = malloc(len))) -+ return; - -- va_start( args ); -- fmt = va_arg( args, char * ); -- fprintf( stderr, "Error: " ); -- vfprintf( stderr, fmt, args ); -- exit( 1 ); -+ va_start(ap, fmt); -+ vsprintf(buf, fmt, ap); -+ va_end(ap); -+ -+ fprintf(stderr, "Error: %s\n", buf); -+ free(buf); -+ exit(1); - } - - /*----------------------------------------------------------------------------*/ - --void fatal( va_alist ) --va_dcl -+void fatal(char *fmt, ... ) - { -- va_list args; -- char *fmt; -+ va_list ap; -+ char *buf, *s; -+ int len; -+ -+ if (!fmt) -+ return; - -- va_start( args ); -- fmt = va_arg( args, char * ); -- fprintf( stderr, "Internal Error: " ); -- vfprintf( stderr, fmt, args ); -- exit( 2 ); -+ va_start(ap, fmt); -+ if (!(len = vfsalloc(fmt, ap))) -+ return; -+ va_end(ap); -+ -+ if (!(buf = malloc(len))) -+ return; -+ -+ va_start(ap, fmt); -+ vsprintf(buf, fmt, ap); -+ va_end(ap); -+ -+ fprintf(stderr, "Internal error: %s\n", buf); -+ free(buf); -+ exit(2); - } - - /*----------------------------------------------------------------------------*/ -@@ -142,21 +213,34 @@ - - /*----------------------------------------------------------------------------*/ - --void mailmessage( va_alist ) --va_dcl -+void mailmessage(char *fmt, ... ) - { -- va_list args; -- char *fmt; -+ va_list ap; -+ char *buf, s; -+ int len; - FILE *popen(), *fp; - char cmdline[80]; - if (whome == NULL) whome = getlogin(); - sprintf(cmdline,"%s %s",mailprog,whome); - fp = popen(cmdline,"w"); -- va_start( args ); -- fmt = va_arg( args, char * ); -- fprintf( fp, "MNM Warning: " ); -- vfprintf( fp, fmt, args ); -- va_end( args ); -+ -+ if (!fmt) -+ return; -+ -+ va_start(ap, fmt); -+ if (!(len = vfsalloc(fmt, ap))) -+ return; -+ va_end(ap); -+ -+ if (!(buf = malloc(len))) -+ return; -+ -+ va_start(ap, fmt); -+ vsprintf(buf, fmt, ap); -+ va_end(ap); -+ -+ fprintf(fp, "MNM Warning: %s", buf); -+ free(buf); - pclose(fp); - } diff --git a/net/imm/pkg-descr b/net/imm/pkg-descr deleted file mode 100644 index 339f05932750..000000000000 --- a/net/imm/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -IMM has been designed to efficiently replicate files/file directories -using a reliable dissemination protocol framework and provide archiving -and post processing features. The default mode of operation is for imm -to receive and display compressed imagery files (e.g., jpg,gif) using -xv or xloadimage as a post processor. - -This release includes an sdr plug-in, named sdr2.plugin.S53.image.imm, -which must be installed to participate in MBone alpha testing of imm sessions. -Usually in a directory called ~home/.sdr/plugins to be found by sdr. -See the sdr help pages for information on installing plugins. diff --git a/net/imm/pkg-plist b/net/imm/pkg-plist deleted file mode 100644 index f470d0e00c01..000000000000 --- a/net/imm/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/imm -bin/immserv -bin/lscomp -share/doc/imm/README -share/doc/imm/imm_readme.txt -share/doc/imm/sdr2.plugin.S53.image.imm -@dirrm share/doc/imm diff --git a/net/isc-dhcp30-client/Makefile b/net/isc-dhcp30-client/Makefile deleted file mode 100644 index c0799f3e6e54..000000000000 --- a/net/isc-dhcp30-client/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: dhcp -# Date created: 28 April 2003 -# Whom: cyrille.lefevre@laposte.net -# -# $FreeBSD$ -# - -COMMENT= The ISC Dynamic Host Configuration Protocol client - -# Local variables -# - -SUBSYS= client - -# Local overrides -# - -MASTERDIR= ${.CURDIR}/../isc-dhcp3-server - -.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp30-client/pkg-descr b/net/isc-dhcp30-client/pkg-descr deleted file mode 100644 index 7dc1bc78ea95..000000000000 --- a/net/isc-dhcp30-client/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 (this port) - * 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-dhcp30-client/pkg-message b/net/isc-dhcp30-client/pkg-message deleted file mode 100644 index b406fd04fbd8..000000000000 --- a/net/isc-dhcp30-client/pkg-message +++ /dev/null @@ -1,10 +0,0 @@ -**** To setup dhclient, you may need to edit /etc/rc.conf to replace the - base system dhclient, such as : - - dhcp_program="%%PREFIX%%/sbin/dhclient" - dhcp_flags="-q" - - See dhclient(8), using the following command, for details about other - possible options: - - MANPATH=%%MAN1PREFIX%%/man man 8 dhclient diff --git a/net/isc-dhcp30-client/pkg-plist b/net/isc-dhcp30-client/pkg-plist deleted file mode 100644 index 6b3488caef92..000000000000 --- a/net/isc-dhcp30-client/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -@comment $FreeBSD: /tmp/pcvs/ports/net/isc-dhcp30-client/Attic/pkg-plist,v 1.3 2004-06-26 08:46:05 eik Exp $ -etc/dhclient.conf.sample -@exec [ -f %D/etc/dhclient.conf ] || touch %D/etc/dhclient.conf -@unexec [ -L %D/etc/dhclient.conf -o -s %D/etc/dhclient.conf ] || rm -f %D/etc/dhclient.conf -sbin/dhclient -sbin/dhclient-script -@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases -@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases diff --git a/net/isc-dhcp30-relay/Makefile b/net/isc-dhcp30-relay/Makefile deleted file mode 100644 index e739f7a0e6db..000000000000 --- a/net/isc-dhcp30-relay/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: dhcp -# Date created: 28 April 2003 -# Whom: cyrille.lefevre@laposte.net -# -# $FreeBSD$ -# - -COMMENT= The ISC Dynamic Host Configuration Protocol relay - -# Local variables -# - -SUBSYS= relay - -# Local overrides -# - -MASTERDIR= ${.CURDIR}/../isc-dhcp3-server - -.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp30-relay/pkg-descr b/net/isc-dhcp30-relay/pkg-descr deleted file mode 100644 index b764dbf45a19..000000000000 --- a/net/isc-dhcp30-relay/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 (this port) - -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-dhcp30-relay/pkg-message b/net/isc-dhcp30-relay/pkg-message deleted file mode 100644 index af6992fb34a5..000000000000 --- a/net/isc-dhcp30-relay/pkg-message +++ /dev/null @@ -1,13 +0,0 @@ -**** This port installs dhcp relay daemon, but don't invokes dhcrelay by - default. If you want to invoke dhcrelay at startup, put these lines - into /etc/rc.conf. - - dhcrelay_enable="YES" - dhcrelay_flags="" # command option(s) - dhcrelay_servers="" # dhcrelay server(s) - dhcrelay_ifaces="" # ethernet interface(s) - -**** For instance, rc.conf like variables are still read from - %%PREFIX%%/etc/rc.isc-dhcrelay.conf. They should be move - into /etc/rc.conf. Also, the dhcrelay_options variable - must be renamed dhcrelay_flags. diff --git a/net/isc-dhcp30-relay/pkg-plist b/net/isc-dhcp30-relay/pkg-plist deleted file mode 100644 index 244e59402b9e..000000000000 --- a/net/isc-dhcp30-relay/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -@comment $FreeBSD: /tmp/pcvs/ports/net/isc-dhcp30-relay/Attic/pkg-plist,v 1.5 2006-08-25 12:02:58 sem Exp $ -@unexec %D/etc/rc.d/isc-dhcrelay.sh forcestop 2>/dev/null || true -@unexec %D/etc/rc.d/isc-dhcrelay forcestop 2>/dev/null || true -sbin/dhcrelay diff --git a/net/isc-dhcp30-server/Makefile b/net/isc-dhcp30-server/Makefile deleted file mode 100644 index ea88ac706d0f..000000000000 --- a/net/isc-dhcp30-server/Makefile +++ /dev/null @@ -1,358 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: dhcp -# Date created: 7 Mar 1996 -# Whom: se -# -# $FreeBSD$ -# - -PORTNAME= dhcp -PORTVERSION= 3.0.5 -PORTREVISION= ${DHCP_PORTREVISION} -CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_ISC} -MASTER_SITE_SUBDIR= dhcp dhcp/dhcp-3.0-history -PKGNAMEPREFIX= isc- -PKGNAMESUFFIX= 3-${SUBSYS} -DISTNAME= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL} - -MAINTAINER= Joerg.Pulz@frm2.tum.de -COMMENT?= The ISC Dynamic Host Configuration Protocol server - -PORTREVISION_SERVER= 2 -PORTREVISION_CLIENT= 0 -PORTREVISION_RELAY= 0 -PORTREVISION_DEVEL= 0 - -SUBSYS?= server - -UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} -.if ${SUBSYS} == client -OPTIONS= INTERFACE_POLLING "interface polling support" on -.endif -.if ${SUBSYS} == server -OPTIONS= DHCP_PARANOIA "add -user, -group and -chroot options" on \ - DHCP_JAIL "add -chroot and -jail options" on \ - DHCP_SOCKETS "use sockets instead of /dev/bpf (jail-only)" off \ - DHCP_LDAP "add experimental LDAP backend support" off \ - DHCP_LDAP_SSL "support LDAP connection over SSL/TLS" on \ - OPENSSL_BASE "use the base system OpenSSL (required by TLS)" on \ - OPENSSL_PORT "use OpenSSL from ports (required by TLS)" off \ - DHCP_LQ "DHCPLEASEQUERY support used by Cisco uBR's" off -.endif - -# PORTREVISION handling -.if ${SUBSYS} == client -DHCP_PORTREVISION= ${PORTREVISION_CLIENT} -.elif ${SUBSYS} == relay -DHCP_PORTREVISION= ${PORTREVISION_RELAY} -.elif ${SUBSYS} == devel -DHCP_PORTREVISION= ${PORTREVISION_DEVEL} -.else -DHCP_PORTREVISION= ${PORTREVISION_SERVER} -.endif - -.include <bsd.port.pre.mk> - -.if ${SUBSYS} == server && defined(WITH_DHCP_LDAP) -# Based on patch from Brian Masney : -PATCH_SITES= http://www.newwave.net/~masneyb/:ldap \ - ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/:ldap -PATCHFILES= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL}-ldap-patch:ldap -PATCH_DIST_STRIP= -p1 - -USE_PERL5_RUN= yes -USE_OPENLDAP= yes - -.if !defined(WITHOUT_DHCP_LDAP_SSL) -USE_OPENSSL= yes -# hack to get bsd.openssl.mk included at this late state -.include "${PORTSDIR}/Mk/bsd.openssl.mk" -.endif -.endif - -.if ${SUBSYS} == server && defined(WITH_DHCP_LQ) -# Based on patch from Dmitry Sukhodoev : -PATCH_SITES+= http://bingo.ru/~raven/FreeBSD/patches/:dlq \ - ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/:dlq -PATCHFILES+= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL}-dlq-patch:dlq -.endif - -# Global variables -# - -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --subsys ${SUBSYS} -ALL_TARGET= all.${SUBSYS} -INSTALL_TARGET= install.${SUBSYS} -SCRIPTS_ENV+= PKG_PREFIX=${PREFIX} - -.if ${SUBSYS} == client -MAN5= dhclient.conf.5 dhclient.leases.5 -MAN8= dhclient.8 dhclient-script.8 -.elif ${SUBSYS} == server -MAN1= omshell.1 -MAN5= dhcpd.conf.5 dhcpd.leases.5 -MAN8= dhcpd.8 -.elif ${SUBSYS} == relay -MAN8= dhcrelay.8 -.else -MAN3= dhcpctl.3 omapi.3 -.endif -.if ${SUBSYS} != relay -MAN5+= dhcp-eval.5 dhcp-options.5 -.endif - -MSG_FILE= ${.CURDIR}/pkg-message -DESCR= ${.CURDIR}/pkg-descr -PKGINSTALL= ${.CURDIR}/pkg-install -PKGDEINSTALL= ${PKGINSTALL} -PKGMESSAGE= ${WRKDIR}/pkg-message -PLIST= ${.CURDIR}/pkg-plist - -# Local variables -# - -# for instance, possible versions are: -# 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.2.3, 1.2 -# so, the magic things are: -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 -.if ${SUBSYS} == server || ${SUBSYS} == devel -PATCH_SUBDIRS+= dhcpctl -.endif -.if ${SUBSYS} != devel -PATCH_SUBDIRS+= ${SUBSYS} -.endif -.if ${SUBSYS} == server -PATCH_SUBDIRS+= omshell -.endif - -.if !defined(NOPORTDOCS) -PORTDOCS= LICENSE README RELNOTES -.endif -.if ${SUBSYS} == client -BIN_FILES= dhclient -LOCAL_CONF_FILES= dhclient.conf -SAMP_FILES= client/dhclient.conf -DATA_FILES= dhclient.leases -.elif ${SUBSYS} == server -BIN_FILES= dhcpd omshell -USE_RC_SUBR= isc-dhcpd -SAMP_FILES= server/dhcpd.conf -DATA_FILES= dhcpd.leases -.if defined(WITH_DHCP_LDAP) -PORTDOCS+= README.ldap -LDAP_SCRIPT= contrib/dhcpd-conf-to-ldap.pl -LDAP_SCHEMA= contrib/dhcp.schema -.endif -.elif ${SUBSYS} == relay -BIN_FILES= dhcrelay -USE_RC_SUBR= isc-dhcrelay -.endif - -SAMP_SUFX= .sample - -CONF_DIR= ${PREFIX}/etc -SCHEMA_DIR= ${PREFIX}/share/${PKGBASE} -DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} -DATADIR= /var/db - -PLIST_SUB+= SCHEMA_DIR="${SCHEMA_DIR:S,^${PREFIX}/,,}" -.if defined(WITH_DHCP_LDAP) -PLIST_SUB+= LDAP="" -.else -PLIST_SUB+= LDAP="@comment " -.endif -REINPLACE_SUB= PREFIX=${PREFIX} -.if ${OSVERSION} >= 502100 -SUB_LIST+= NOLOGIN=/usr/sbin/nologin -.else -SUB_LIST+= NOLOGIN=/sbin/nologin -.endif -.if !defined(WITHOUT_DHCP_PARANOIA) -SUB_LIST+= PARANOIA=YES -.else -SUB_LIST+= PARANOIA=NO -.endif -.if !defined(WITHOUT_DHCP_JAIL) -SUB_LIST+= JAIL=YES -.else -SUB_LIST+= JAIL=NO -.endif -PKGMESSAGE_SUB= PREFIX="${PREFIX}" MAN1PREFIX="${MAN1PREFIX}" \ - DOCSDIR="${DOCSDIR}" SCHEMA_DIR="${SCHEMA_DIR}" - -# Post-extract -# - -post-extract: extract-omshell extract-script - -extract-omshell: - @${MKDIR} ${WRKSRC}/omshell - @${MV} ${WRKSRC}/dhcpctl/omshell.? ${WRKSRC}/omshell - @${CP} ${FILESDIR}/omshell::Makefile.dist \ - ${WRKSRC}/omshell/Makefile.dist - -extract-script: - @${CP} ${FILESDIR}/client::scripts::freebsd ${WRKSRC}/client/scripts/freebsd - -# Post-patch -# - -post-patch: patch-scripts patch-makefile-conf \ - patch-makefiles-dist patch-man-pages \ - patch-pkgmessage patch-site-conf \ - patch-dlq - -patch-scripts: - @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${WRKSRC}/client/dhclient.conf \ - ${WRKSRC}/client/scripts/freebsd - -patch-site-conf: -.if ${SUBSYS} == client && !defined(WITHOUT_INTERFACE_POLLING) - @${ECHO_CMD} CFLAGS += -DENABLE_POLLING_MODE >> ${WRKSRC}/site.conf -.endif -.if ${SUBSYS} == server -.if !defined(WITHOUT_DHCP_PARANOIA) - @${ECHO_CMD} CFLAGS += -DPARANOIA >> ${WRKSRC}/site.conf -.endif -.if !defined(WITHOUT_DHCP_JAIL) - @${ECHO_CMD} CFLAGS += -DJAIL >> ${WRKSRC}/site.conf -.if defined(WITH_DHCP_SOCKETS) - @${ECHO_CMD} CFLAGS += -DUSE_SOCKETS >> ${WRKSRC}/site.conf -.endif -.endif -.if defined(WITH_DHCP_LDAP) - @${ECHO_CMD} CFLAGS += -I${LOCALBASE}/include >> ${WRKSRC}/site.conf - @${ECHO_CMD} LIBS += -L${LOCALBASE}/lib >> ${WRKSRC}/site.conf -.if !defined(WITHOUT_DHCP_LDAP_SSL) - @${ECHO_CMD} CFLAGS += -DUSE_SSL -I${OPENSSLINC} >> ${WRKSRC}/site.conf - @${ECHO_CMD} LIBS += -L${OPENSSLLIB} >> ${WRKSRC}/site.conf - @${ECHO_CMD} LIBS += -lcrypto -lssl >> ${WRKSRC}/site.conf -.endif -.endif -.endif - -patch-makefile-conf: - @${REINPLACE_CMD} -e 's|^DEBUG[ ]*=|# DEBUG ?=|g' \ - ${WRKSRC}/Makefile.conf - -patch-makefiles-dist: -.for subdir in ${PATCH_SUBDIRS} - @${REINPLACE_CMD} -e 's|^CFLAGS[ ]*=|CFLAGS +=|g' \ - ${WRKSRC}/${subdir}/Makefile.dist -.endfor - -# temporary hack - no patch file needed for this typo. -patch-man-pages: - @${REINPLACE_CMD} -e '/^\.Fd$$/d' ${WRKSRC}/dhcpctl/dhcpctl.3 - -patch-pkgmessage: -.if ${SUBSYS} != devel - @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${MSG_FILE} > ${PKGMESSAGE} -.if defined(WITH_DHCP_LDAP) - @${REINPLACE_CMD} -e 's|^%%LDAP%%||g' ${PKGMESSAGE} -.else - @${REINPLACE_CMD} -e '/^%%LDAP%%/d' ${PKGMESSAGE} -.endif -.endif - -patch-dlq: -.if ${SUBSYS} == server && defined(WITH_DHCP_LQ) -.if defined(WITH_DHCP_LDAP) - @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-dlq-ldap -.else - @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-dlq -.endif -.endif - -# Post-install -# - -POST-INSTALL= parallel-post-install install-rc-script configure-package \ - display-message -.ORDER: ${POST-INSTALL} -post-install: ${POST-INSTALL} - -parallel-post-install: \ - strip-binary-files \ - install-doc-files install-ldap-files install-sample-files \ - create-conf-files create-data-files - -strip-binary-files: -.for f in ${BIN_FILES} -.if exists(${PREFIX}/bin/${f}) - @${STRIP_CMD} ${PREFIX}/bin/${f} -.endif -.if exists(${PREFIX}/sbin/${f}) - @${STRIP_CMD} ${PREFIX}/sbin/${f} -.endif -.endfor - -install-doc-files: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor -.endif - -install-ldap-files: -.if ${SUBSYS} == server && defined(WITH_DHCP_LDAP) - @${INSTALL_SCRIPT} ${WRKSRC}/${LDAP_SCRIPT} ${PREFIX}/bin - @${MKDIR} ${SCHEMA_DIR} - @${INSTALL_DATA} ${WRKSRC}/${LDAP_SCHEMA} ${SCHEMA_DIR} -.endif - -install-sample-files: -.for f in ${SAMP_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${CONF_DIR}/${f:T}${SAMP_SUFX} -.endfor - -create-conf-files: -.for f in ${LOCAL_CONF_FILES} -.if !exists(${CONF_DIR}/${f}) - @${TOUCH} ${CONF_DIR}/${f} -.endif -.endfor - -create-data-files: -.for f in ${DATA_FILES} -.if !exists(${DATADIR}/${f}) - @${TOUCH} ${DATADIR}/${f} -.endif -.endfor - -configure-package: -.if ${SUBSYS} == server - @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif - -display-message: -.if ${SUBSYS} != devel - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} -.endif - -.include <bsd.port.post.mk> diff --git a/net/isc-dhcp30-server/distinfo b/net/isc-dhcp30-server/distinfo deleted file mode 100644 index 399a8acbe95c..000000000000 --- a/net/isc-dhcp30-server/distinfo +++ /dev/null @@ -1,9 +0,0 @@ -MD5 (dhcp-3.0.5.tar.gz) = ce5d30d4645e4eab1f54561b487d1ec7 -SHA256 (dhcp-3.0.5.tar.gz) = dd445fb2a341cdd69e85693dce6f8fda1a1c9d0e98d34c01afc3e68d8037ffb6 -SIZE (dhcp-3.0.5.tar.gz) = 876591 -MD5 (dhcp-3.0.5-ldap-patch) = 41cde9e9a768bf12390288465ef30bbd -SHA256 (dhcp-3.0.5-ldap-patch) = e700472acb890b504ae5199500a0e87ca1da607946b2f3a8a8958f82d0a277c0 -SIZE (dhcp-3.0.5-ldap-patch) = 192308 -MD5 (dhcp-3.0.5-dlq-patch) = 0e071945cc986d7ecdfd9b41fc4a102b -SHA256 (dhcp-3.0.5-dlq-patch) = c3fd3200eaf00fa80cb37f19bd3b9edb89497c235b5fa594a0f6f60050f64108 -SIZE (dhcp-3.0.5-dlq-patch) = 7655 diff --git a/net/isc-dhcp30-server/files/client::scripts::freebsd b/net/isc-dhcp30-server/files/client::scripts::freebsd deleted file mode 100644 index 9c4c3d3a6f24..000000000000 --- a/net/isc-dhcp30-server/files/client::scripts::freebsd +++ /dev/null @@ -1,510 +0,0 @@ -#!/bin/sh - -############################################################################# -# -# Copyright (c) 1999, MindStep Corporation -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. -# -# -############################################################################# -# -# This script was written by Patrick Bihan-Faou, patrick@mindstep.com, -# Please contact us for bug reports, etc. -# -############################################################################# -# $MindStep_Id: dhclient-script.sh,v 1.8 1999/12/07 22:11:08 patrick Exp $ -# $MindStep_Tag: CONTRIB_19991207 $ -# from FreeBSD: src/sbin/dhclient/dhclient-script.sh,v 1.2 2002/02/01 18:46:58 alfred Exp -# $FreeBSD$ -############################################################################# - - -############################################################################# -# hook functions prototypes -# -# The "pre_state_XXX_hook" functions are called before the main -# work is done for the state XXX -# -# The "post_state_XXX_hook" functions are called after the main -# work is done for the state XXX -# -# These functions are meant to be overridden by the user's -# dhclient-enter-hooks file -############################################################################# - -pre_state_MEDIUM_hook () { } -pre_state_PREINIT_hook () { } -pre_state_ARPCHECK_hook () { } -pre_state_ARPSEND_hook () { } -pre_state_RENEW_hook () { } -pre_state_REBIND_hook () { } -pre_state_BOUND_hook () { } -pre_state_REBOOT_hook () { } -pre_state_EXPIRE_hook () { } -pre_state_FAIL_hook () { } -pre_state_TIMEOUT_hook () { } -post_state_MEDIUM_hook () { } -post_state_PREINIT_hook () { } -post_state_ARPCHECK_hook () { } -post_state_ARPSEND_hook () { } -post_state_RENEW_hook () { } -post_state_REBIND_hook () { } -post_state_BOUND_hook () { } -post_state_REBOOT_hook () { } -post_state_EXPIRE_hook () { } -post_state_FAIL_hook () { } -post_state_TIMEOUT_hook () { } - -############################################################################# -# make_resolv_conf -# -# This function is called to update the information related to the -# DNS configuration (the resolver part) -############################################################################# -make_resolv_conf () -{ - if [ "x$new_domain_name" != x ] && [ "x$new_domain_name_servers" != x ]; then - echo search $new_domain_name >/etc/resolv.conf - for nameserver in $new_domain_name_servers; do - echo nameserver $nameserver >>/etc/resolv.conf - done - fi -} - -############################################################################# -# set_XXX -# unset_XXX -# -# These function each deal with one particular setting. -# They are OS dependent and may be overridden in the -# dhclient-enter-hooks file if needed. -# -# These functions are called with either "new" or "old" to indicate which -# set of variables to use (new_ip_address or old_ip_address...) -# -############################################################################# - -update_hostname () -{ - local current_hostname=`/bin/hostname` - - if [ "$current_hostname" = "" ] || \ - [ "$current_hostname" = "$old_host_name" ] - then - if [ "$new_host_name" != "$old_host_name" ] - then - $LOGGER "New Hostname: $new_host_name" - hostname $new_host_name - fi - fi -} - -set_ip_address () -{ - local ip - local mask - local bcast - - if [ $# -lt 1 ] - then - return 1 - fi - - eval ip="\$${1}_ip_address" - eval mask="\$${1}_subnet_mask" - eval bcast="\$${1}_broadcast_address" - - if [ "$ip" != "" ] - then - ifconfig $interface inet $ip netmask $mask broadcast $bcast $medium -# route add $ip 127.0.0.1 > /dev/null 2>&1 - fi -} - -unset_ip_address () -{ - local ip - - if [ $# -lt 1 ] - then - return 1 - fi - - eval ip="\$${1}_ip_address" - - if [ "$ip" != "" ] - then - ifconfig $interface inet -alias $ip $medium -# route delete $ip 127.0.0.1 > /dev/null 2>&1 - fi -} - -set_ip_alias () -{ - if [ "$alias_ip_address" != "" ] - then - ifconfig $interface inet alias $alias_ip_address netmask $alias_subnet_mask -# route add $alias_ip_address 127.0.0.1 - fi -} - -unset_ip_alias () -{ - if [ "$alias_ip_address" != "" ] - then - ifconfig $interface inet -alias $alias_ip_address > /dev/null 2>&1 -# route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1 - fi -} - -set_routers () -{ - local router_list - - if [ $# -lt 1 ] - then - return 1 - fi - - eval router_list="\$${1}_routers" - - for router in $router_list - do - route add default $router >/dev/null 2>&1 - done -} - -unset_routers () -{ - local router_list - - if [ $# -lt 1 ] - then - return 1 - fi - - eval router_list="\$${1}_routers" - - for router in $router_list - do - route delete default $router >/dev/null 2>&1 - done -} - -set_static_routes () -{ - local static_routes - - if [ $# -lt 1 ] - then - return 1 - fi - - eval static_routes="\$${1}_static_routes" - - set static_routes - - while [ $# -ge 2 ] - do - $LOGGER "New Static Route: $1 -> $2" - route add $1 $2 - shift; shift - done -} - -unset_static_routes () -{ - local static_routes - - if [ $# -lt 1 ] - then - return 1 - fi - - eval static_routes="\$${1}_static_routes" - - set static_routes - - while [ $# -ge 2 ] - do - route delete $1 $2 - shift; shift - done -} - -############################################################################# -# -# utility functions grouping what needs to be done in logical units. -# -############################################################################# - -set_all () -{ - set_ip_address new - set_routers new - set_static_routes new - - if [ "$new_ip_address" != "$alias_ip_address" ] - then - set_ip_alias - fi -} - -set_others () -{ - update_hostname - make_resolv_conf -} - -clear_arp_table () -{ - arp -d -a -} - -unset_all () -{ - if [ "$alias_ip_address" != "$old_ip_address" ] - then - unset_ip_alias - fi - - if [ "$old_ip_address" != "" ] - then - unset_ip_address old - unset_routers old - unset_static_routes old - clear_arp_table - fi -} - -test_new_lease () -{ - local rc - - set $new_routers - - if [ $# -ge 1 ] - then - set_ip_address new - if ping -q -c 1 $1 - then - rc=0 - else - rc=1 - fi - unset_ip_address new - else - rc=1 - fi - return $rc -} - -############################################################################# -# Main State functions. -# -# There is a state function for each state of the DHCP client -# These functions are OS specific and should be be tampered with. -############################################################################# - -in_state_MEDIUM () -{ - ifconfig $interface $medium - ifconfig $interface inet -alias 0.0.0.0 $medium >/dev/null 2>&1 - sleep 1 - exit_status=0 -} - -in_state_PREINIT () -{ - unset_ip_alias - - ifconfig $interface inet 0.0.0.0 netmask 0.0.0.0 \ - broadcast 255.255.255.255 up - exit_status=0 -} - -in_state_ARPCHECK () -{ - exit_status=0 -} - -in_state_ARPSEND () -{ - exit_status=0 -} - -in_state_RENEW () -{ - if [ "$old_ip_address" != "$new_ip_address" ] - then - unset_all - set_all - fi - - set_others -} - -in_state_REBIND () { - in_state_RENEW -} - -in_state_BOUND () { - unset_all - set_all - set_others -} - -in_state_REBOOT () { - in_state_BOUND -} - -in_state_EXPIRE () -{ - unset_all - set_ip_alias - exit_status=0 -} - -in_state_FAIL () { - in_state_EXPIRE -} - -in_state_TIMEOUT () -{ - unset_all - - if test_new_lease - then - set_all - set_others - else - $LOGGER "No good lease information in TIMEOUT state" - set_ip_alias - exit_status=1 - fi -} - -############################################################################# -# Main functions: -# -# dhclient_script_init() parses the optional "enter_hooks" script which can -# override any of the state functions -# -# This function also parses the variables and notifies the detected changes. -############################################################################# -dhclient_script_init () -{ - if [ "$new_network_number" != "" ] - then - $LOGGER "New Network Number: $new_network_number" - fi - - if [ "$new_ip_address" != "" ] - then - $LOGGER "New IP Address: $new_ip_address" - fi - - if [ "$new_broadcast_address" != "" ] - then - $LOGGER "New Broadcast Address: $new_broadcast_address" - fi - - if [ "$new_subnet_mask" != "" ] - then - $LOGGER "New Subnet Mask for $interface: $new_subnet_mask" - fi - - if [ "$alias_subnet_mask" != "" ] - then - fi -} - -############################################################################# -# dhclient_main() does the appropriate work depending on the state of -# the dhcp client -############################################################################# -dhclient_script_main () -{ -# set -x - exit_status=0 - - case $reason in - MEDIUM|\ - PREINIT|\ - ARPCHECK|\ - ARPSEND|\ - RENEW|\ - REBIND|\ - BOUND|\ - REBOOT|\ - EXPIRE|\ - FAIL|\ - TIMEOUT) - pre_state_${reason}_hook - in_state_${reason} - post_state_${reason}_hook - ;; - *) - $LOGGER "dhclient-script called with invalid reason $reason" - exit_status=1 - ;; - esac -} - -############################################################################# -# Let's do the work... -############################################################################# - -if [ -x /usr/bin/logger ]; then - LOGGER="/usr/bin/logger -s -p user.notice -t dhclient" -else - LOGGER=echo -fi - -# Invoke the local dhcp client enter hooks, if they exist. -if [ -x %%PREFIX%%/etc/dhclient-enter-hooks ] -then - exit_status=0 - . %%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 - exit $exit_status - fi -fi - -dhclient_script_init -dhclient_script_main - -# Invokes the local dhcp client exit hooks, if any. -if [ -x %%PREFIX%%/etc/dhclient-exit-hooks ]; then - . %%PREFIX%%/etc/dhclient-exit-hooks -fi - -exit $exit_status - -############################################################################# -# That's all folks -############################################################################# diff --git a/net/isc-dhcp30-server/files/extra-patch-dlq b/net/isc-dhcp30-server/files/extra-patch-dlq deleted file mode 100644 index 5657af491721..000000000000 --- a/net/isc-dhcp30-server/files/extra-patch-dlq +++ /dev/null @@ -1,14 +0,0 @@ ---- server/Makefile.dist.orig Tue Jun 14 09:37:50 2005 -+++ server/Makefile.dist Tue Jun 14 09:37:50 2005 -@@ -25,9 +25,9 @@ - CATMANPAGES = dhcpd.cat8 dhcpd.conf.cat5 dhcpd.leases.cat5 - SEDMANPAGES = dhcpd.man8 dhcpd.conf.man5 dhcpd.leases.man5 - SRCS = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \ -- omapi.c mdb.c stables.c salloc.c ddns.c -+ omapi.c mdb.c stables.c salloc.c ddns.c dhcpleasequery.c - OBJS = dhcpd.o dhcp.o bootp.o confpars.o db.o class.o failover.o \ -- omapi.o mdb.o stables.o salloc.o ddns.o -+ omapi.o mdb.o stables.o salloc.o ddns.o dhcpleasequery.o - PROG = dhcpd - MAN = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5 - diff --git a/net/isc-dhcp30-server/files/extra-patch-dlq-ldap b/net/isc-dhcp30-server/files/extra-patch-dlq-ldap deleted file mode 100644 index 5f73fefb6f11..000000000000 --- a/net/isc-dhcp30-server/files/extra-patch-dlq-ldap +++ /dev/null @@ -1,14 +0,0 @@ ---- server/Makefile.dist.orig Tue Jun 14 09:39:39 2005 -+++ server/Makefile.dist Tue Jun 14 09:39:39 2005 -@@ -25,9 +25,9 @@ - CATMANPAGES = dhcpd.cat8 dhcpd.conf.cat5 dhcpd.leases.cat5 - SEDMANPAGES = dhcpd.man8 dhcpd.conf.man5 dhcpd.leases.man5 - SRCS = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \ -- ldap.c ldap_casa.c omapi.c mdb.c stables.c salloc.c ddns.c -+ ldap.c ldap_casa.c omapi.c mdb.c stables.c salloc.c ddns.c dhcpleasequery.c - OBJS = dhcpd.o dhcp.o bootp.o confpars.o db.o class.o failover.o \ -- ldap.o ldap_casa.o omapi.o mdb.o stables.o salloc.o ddns.o -+ ldap.o ldap_casa.o omapi.o mdb.o stables.o salloc.o ddns.o dhcpleasequery.o - PROG = dhcpd - MAN = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5 - diff --git a/net/isc-dhcp30-server/files/isc-dhcpd.in b/net/isc-dhcp30-server/files/isc-dhcpd.in deleted file mode 100644 index 82f249ad5571..000000000000 --- a/net/isc-dhcp30-server/files/isc-dhcpd.in +++ /dev/null @@ -1,729 +0,0 @@ -#! /bin/sh -# -# $FreeBSD$ -# -# PROVIDE: dhcpd -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf to enable dhcpd: -# -# dhcpd_enable="YES" -# - -. %%RC_SUBR%% - -name=dhcpd -paranoia=%%PARANOIA%% # compiled in paranoia? -jail=%%JAIL%% # compiled in jail? - -load_rc_config ${name} - -# override these variables in /etc/rc.conf -dhcpd_enable=${dhcpd_enable:-"NO"} -dhcpd_flags=${dhcpd_flags:-} # -q -early_chroot # command option(s) -dhcpd_conf=${dhcpd_conf:-%%PREFIX%%/etc/${name}.conf} # configuration file -dhcpd_ifaces=${dhcpd_ifaces:-} # ethernet interface(s) -dhcpd_withumask=${dhcpd_withumask:-022} # file creation mask - -dhcpd_chuser_enable=${dhcpd_chuser_enable:-"%%PARANOIA%%"} # runs w/o privileges? -dhcpd_withuser=${dhcpd_withuser:-${name}} # user name to run as -dhcpd_withgroup=${dhcpd_withgroup:-${name}} # group name to run as - -dhcpd_chroot_enable=${dhcpd_chroot_enable:-"NO"} # runs chrooted? -dhcpd_devfs_enable=${dhcpd_devfs_enable:-"YES"} # devfs if available? -dhcpd_makedev_enable=${dhcpd_makedev_enable:-"NO"} # MAKEDEV instead of devfs? -dhcpd_rootdir=${dhcpd_rootdir:-/var/db/${name}} # directory to run in -dhcpd_includedir=${dhcpd_includedir:-} # directory for included config files - -# untested -dhcpd_jail_enable=${dhcpd_jail_enable:-"NO"} # runs imprisoned? -dhcpd_hostname=${dhcpd_hostname:-} # jail hostname -dhcpd_ipaddress=${dhcpd_ipaddress:-} # jail ip address - -safe_run () # rc command [args...] -{ - local _rc - - _rc=$1 - shift - - if [ "${_rc}" -eq 0 ]; then - debug safe_run: "$@" - "$@" || _rc=1 - else - warn safe_run: "$@" - fi - return ${_rc} -} - -precious () # entry... -{ - local _entry _rc - - _rc=0 - for _entry; do - # do nothing if /dev, /var/run or /var/db - echo ${_entry} | egrep -q '^//*(dev|var//*(run|db))?/*$' || _rc=1 - done - debug precious: "$@" rc=${_rc} - return ${_rc} -} - -lsmod () # user group file... -{ - local _entry _user _group _rc - - _user=$1 _group=$2 - shift 2 - - _rc=0 - for _entry; do - ls -ld ${_entry} 2> /dev/null | - awk -v u=${_user} -v g=${_group} '{ - exit ((u && $3 != u) || (g && $4 != g)) - }' || _rc=1 - done - debug lsmod: "$@" rc=${_rc} - return ${_rc} -} - -safe_chmog () # entry... -{ - local _entry _user _group _usergroup _rc - - _user=${dhcpd_withuser} - _group=${dhcpd_withgroup} - - _rc=0 - if [ -n "${_user}" -o -n "${_group}" ]; then - _usergroup=${_user}${_group:+:${_group}} - for _entry; do - if [ -d ${_entry} ] && mounted ${_entry}; then - continue - fi - if [ -e ${_entry} ] && - ! precious ${_entry} && - ! lsmod ${_user} ${_group} ${_entry} && - ! safe_run ${_rc} chown ${_usergroup} ${_entry}; then - warn "unable to change permissions of ${_entry}" - _rc=1 - fi - done - fi - return ${_rc} -} - -safe_mkdir () # dir... -{ - local _dir _rc - - _rc=0 - for _dir; do - if [ ! -d ${_dir} ] && - ! precious ${_dir} && - ! safe_run ${_rc} mkdir -p ${_dir}; then - err 1 "unable to create directory ${_dir}" - _rc=1 - fi - done - safe_run ${_rc} safe_chmog "$@" || _rc=1 - return ${_rc} -} - -safe_rmdir () # dir... -{ - local _dir _rc - - _rc=0 - for _dir; do - if [ -d ${_dir} ] && - ! precious ${_dir} && - ! mounted ${_dir}; then - if safe_run ${_rc} rmdir ${_dir}; then - safe_run ${_rc} safe_rmdir ${_dir%/*} || _rc=1 - else - warn "unable to remove directory ${_dir}" - _rc=1 - fi - fi - done - return ${_rc} -} - -safe_touch () # file... -{ - local _file _rc - - _rc=0 - for _file; do - if [ ! -e ${_file} ] && - ! safe_run ${_rc} touch ${_file}; then - err 1 "unable to create file ${_file}" - _rc=1 - fi - done - safe_run ${_rc} safe_chmog "$@" || _rc=1 - return ${_rc} -} - -safe_remove () # entry... -{ - local _entry _rc - - _rc=0 - for _entry; do - if [ -f ${_entry} ]; then - if ! safe_run ${_rc} rm -f ${_entry}; then - warn "unable to remove file ${_entry}" - _rc=1 - fi - elif [ -d ${_entry} ] && - ! precious ${_entry} && - ! mounted ${_entry}; then - if ! safe_run ${_rc} rm -rf ${_entry}; then - warn "unable to remove directory ${_entry}" - _rc=1 - fi - fi - done - return ${_rc} -} - -safe_copy () # src dst -{ - local _src _dst _rc - - _src=$1 _dst=$2 - - _rc=0 - if [ -f ${_src} ]; then - if ! safe_run ${_rc} safe_remove ${_dst} || - ! safe_run ${_rc} cp -p ${_src} ${_dst}; then - err 1 "unable to copy file ${_src} to ${_dst}" - _rc=1 - fi - safe_run ${_rc} safe_chmog ${_dst} || _rc=1 - elif [ -d ${_src} ] && - ! precious ${_dst} && - ! mounted ${_dst}; then - if ! safe_run ${_rc} pax -rw -pe -ts "|^${_src}||" \ - ${_src} ${_dst}; then - err 1 "unable to copy directory ${_src} to ${_dst}" - _rc=1 - fi - else - err 1 "unable to copy ${_src} to ${_dst}" \ - "-- not a file or a directory" - _rc=1 - fi - return ${_rc} -} - -mounted () # dir... -{ - local _rc - - _rc=1 - if checkyesno dhcpd_devfs_enable || - checkyesno dhcpd_jail_enable; then - mount -t devfs | awk ' - BEGIN { n = ARGC; ARGC = 2 } - { for (i = 2; i != n; i++) if ($3 == ARGV[i]) exit 1 } - ' - "$@" || _rc=0 - fi - debug mounted: "$@" rc=${_rc} - return ${_rc} -} - -safe_mount () # dir -{ - local _dir _rc - - _dir=$1 - - _rc=0 - if checkyesno dhcpd_devfs_enable && - ! mounted ${_dir} && - ! safe_run ${_rc} mount -t devfs devfs ${_dir}; then - err 1 "unable to mount ${_dir}" - _rc=1 - fi - return ${_rc} -} - -safe_umount () # dir -{ - local _dir _rc - - _dir=$1 - - _rc=0 - if checkyesno dhcpd_devfs_enable && - mounted ${_dir} && - ! safe_run ${_rc} umount ${_dir}; then - warn "unable to unmount ${_dir}" - _rc=1 - fi - return ${_rc} -} - -safe_useradd () -{ - local _user _group _home _shell _gecos - - _user=$1 _group=$2 _gecos=${3:-"& daemon"} - _home=${4:-/nonexistent} _shell=${5:-%%NOLOGIN%%} - - if [ -n "${_group}" ]; then - if pw group show ${_group} 2>/dev/null; then - echo "You already have a group \"${_group}\"," \ - "so I will use it." - elif pw groupadd ${_group} -h -; then - echo "Added group \"${_group}\"." - else - echo "Adding group \"${_group}\" failed..." - echo "Please create it, and try again." - exit 1 - fi - fi - if [ -n "${_user}" ]; then - if pw user show ${_user} 2>/dev/null; then - echo "You already have a user \"${_user}\"," \ - "so I will use it." - elif pw useradd ${_user} -g ${_group} -h - \ - -d ${_home} -s ${_shell} -c "${_gecos}"; then - echo "Added user \"${_user}\"." - else - echo "Adding user \"${_user}\" failed..." - echo "Please create it, and try again." - exit 1 - fi - fi -} - -check_chuser () -{ - if checkyesno paranoia; then - if checkyesno dhcpd_chuser_enable && - [ -z "${dhcpd_withuser}" -a -z "${dhcpd_withgroup}" ]; then - err 1 "one of dhcpd_withuser and dhcpd_withgroup" \ - "must be set if dhcpd_chuser_enable is enabled" - fi - else - if checkyesno dhcpd_chuser_enable; then - warn "dhcpd_chuser_enable disabled -- not compiled in" - dhcpd_chuser_enable=NO - fi - fi -} - -check_jail () -{ - if checkyesno paranoia && checkyesno jail; then - if checkyesno dhcpd_jail_enable && - ! checkyesno dhcpd_chroot_enable; then - warn "dhcpd_chroot_enable implied by dhcpd_jail_enable" - dhcpd_chroot_enable=YES - fi - if checkyesno dhcpd_jail_enable && - [ -n "${dhcpd_hostname}" -a -z "${dhcpd_ipaddress}" ] || - [ -z "${dhcpd_hostname}" -a -n "${dhcpd_ipaddress}" ]; then - err 1 "both dhcpd_hostname and dhcpd_ipaddress" \ - "must be set if dhcpd_jail_enable is enabled" - fi - else - if checkyesno dhcpd_jail_enable; then - warn "dhcpd_jail_enable disabled -- not compiled in" - dhcpd_jail_enable=NO - fi - fi -} - -check_chroot () -{ - if checkyesno paranoia; then - if checkyesno dhcpd_chroot_enable; then - if [ -z "${dhcpd_rootdir}" ]; then - err 1 "dhcpd_rootdir must be set" \ - "if dhcpd_chroot_enable is enabled" - fi - if checkyesno dhcpd_devfs_enable && - checkyesno dhcpd_makedev_enable; then - err 1 "dhcpd_devfs_enable and dhcpd_makedev_enable" \ - "are mutually exclusive. enable only one!" - fi - if checkyesno dhcpd_devfs_enable && - ! ( type mount_devfs ) > /dev/null 2>&1; then - warn "dhcpd_devfs_enable disabled" \ - "-- not available" - dhcpd_devfs_enable=NO - fi - if checkyesno dhcpd_makedev_enable && - ! [ -x ${__dhcpd_devdir}/MAKEDEV ]; then - warn "dhcpd_makedev_enable disabled" \ - "-- not available" - dhcpd_makedev_enable=NO - fi - else - dhcpd_devfs_enable=NO - dhcpd_makedev_enable=NO - fi - else - if checkyesno dhcpd_chroot_enable; then - warn "dhcpd_chroot_enable disabled -- not compiled in" - dhcpd_chroot_enable=NO - fi - dhcpd_devfs_enable=NO - dhcpd_makedev_enable=NO - fi -} - -rcvar_chuser () -{ - if checkyesno paranoia && checkyesno dhcpd_chuser_enable; then - dhcpd_piddir=${__dhcpd_piddir}/${name} - dhcpd_leasesdir=${__dhcpd_leasesdir}/${name} - else - dhcpd_withuser= dhcpd_withgroup= - fi -} - -rcvar_jail () -{ - if ! checkyesno paranoia || ! checkyesno jail || - ! checkyesno dhcpd_jail_enable; then - dhcpd_hostname= dhcpd_ipaddress= - fi -} - -rcvar_chroot () -{ - if ! checkyesno paranoia || ! checkyesno dhcpd_chroot_enable; then - dhcpd_rootdir= - elif checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - dhcpd_devdir=${__dhcpd_devdir} - dhcpd_etcdir=${__dhcpd_etcdir} - fi -} - -rcvar_pidnleases () -{ - if ! checkyesno dhcpd_chuser_enable; then - dhcpd_piddir=${__dhcpd_piddir} - dhcpd_leasesdir=${__dhcpd_leasesdir} - fi - dhcpd_pidfile=${dhcpd_piddir}/${name}.pid - dhcpd_leasesfile=${dhcpd_leasesdir}/${name}.leases - dhcpd_conffile=${dhcpd_conf} # for convenience only - dhcpd_confdir=$(dirname ${dhcpd_conffile}) -} - -rcvar_rooted () -{ - _dhcpd_rootdir=${dhcpd_rootdir} - _dhcpd_devdir=${dhcpd_rootdir}${dhcpd_devdir} - _dhcpd_etcdir=${dhcpd_rootdir}${dhcpd_etcdir} - _dhcpd_confdir=${dhcpd_rootdir}${dhcpd_confdir} - _dhcpd_includedir=${dhcpd_rootdir}${dhcpd_includedir} - _dhcpd_piddir=${dhcpd_rootdir}${dhcpd_piddir} - _dhcpd_leasesdir=${dhcpd_rootdir}${dhcpd_leasesdir} - _dhcpd_conffile=${dhcpd_rootdir}${dhcpd_conffile} - _dhcpd_pidfile=${dhcpd_rootdir}${dhcpd_pidfile} - _dhcpd_leasesfile=${dhcpd_rootdir}${dhcpd_leasesfile} -} - -setup_compat () -{ - local dhcpd_rcconf - - # suck in old configuration file and variables - # - dhcpd_rcconf=${dhcpd_confdir}/rc.isc-dhcpd.conf - - if [ -f ${dhcpd_rcconf} ]; then - warn "${dhcpd_rcconf} is obsolete, use /etc/rc.conf and/or" \ - "/etc/rc.conf.d/${name} instead." - . ${dhcpd_rcconf} - - if [ -n "${dhcpd_options}" -a -z "${rc_flags}" ]; then - warn "dhcpd_options is obsolete," \ - "use dhcpd_flags instead." - rc_flags=${dhcpd_options} - fi - fi -} - -setup_umask () -{ - if [ -n "${dhcpd_withumask}" ]; then - umask ${dhcpd_withumask} - fi -} - -setup_chroot () -{ - local _mdev _hconf _hosts _ltime _rconf - - _mdev=MAKEDEV - _hconf=host.conf - _hosts=hosts - _ltime=localtime - _rconf=resolv.conf - - if checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - if ! mounted ${_dhcpd_devdir}; then - safe_mkdir ${_dhcpd_devdir}/_ - # XXX /_ hack! so, .../dev is root owned. - fi - safe_mkdir ${_dhcpd_rootdir} ${_dhcpd_etcdir}/_ ${_dhcpd_confdir} - # XXX /_ hack! so, .../etc is root owned. - if checkyesno dhcpd_devfs_enable; then - safe_mount ${_dhcpd_devdir} - elif checkyesno dhcpd_makedev_enable; then - safe_copy ${dhcpd_devdir}/$_mdev ${_dhcpd_devdir}/$_mdev - safe_run 0 sh -c "cd ${_dhcpd_devdir} && ./$_mdev jail bpf4" - else - safe_copy ${dhcpd_devdir} ${_dhcpd_devdir} - fi - safe_copy ${dhcpd_conffile} ${_dhcpd_conffile} - safe_copy ${dhcpd_etcdir}/$_hconf ${_dhcpd_etcdir}/$_hconf - safe_copy ${dhcpd_etcdir}/$_hosts ${_dhcpd_etcdir}/$_hosts - safe_copy ${dhcpd_etcdir}/$_ltime ${_dhcpd_etcdir}/$_ltime - safe_copy ${dhcpd_etcdir}/$_rconf ${_dhcpd_etcdir}/$_rconf - # copy dhcpd_includedir if defined and available - if [ -d "${dhcpd_includedir}" ]; then - safe_mkdir ${_dhcpd_includedir} - safe_copy ${dhcpd_includedir} ${_dhcpd_includedir} - fi - fi -} - -setup_chuser () -{ - if checkyesno paranoia && { - checkyesno dhcpd_chuser_enable || checkyesno dhcpd_chroot_enable - }; then - safe_mkdir ${_dhcpd_piddir} ${_dhcpd_leasesdir} - fi -} - -setup_leases () -{ - safe_touch ${_dhcpd_leasesfile} -} - -setup_flags () -{ - if [ -n "${dhcpd_conf}" ]; then - rc_flags="${rc_flags} -cf ${dhcpd_conf}" - fi - if [ -n "${dhcpd_leasesfile}" ]; then - rc_flags="${rc_flags} -lf ${dhcpd_leasesfile}" - fi - if [ -n "${dhcpd_pidfile}" ]; then - rc_flags="${rc_flags} -pf ${dhcpd_pidfile}" - fi - if [ -n "${dhcpd_withuser}" ]; then - rc_flags="${rc_flags} -user ${dhcpd_withuser}" - fi - if [ -n "${dhcpd_withgroup}" ]; then - rc_flags="${rc_flags} -group ${dhcpd_withgroup}" - fi - if [ -n "${dhcpd_rootdir}" ]; then - rc_flags="${rc_flags} -chroot ${dhcpd_rootdir}" - fi - if [ -n "${dhcpd_hostname}" -a -n "${dhcpd_ipaddress}" ]; then - rc_flags="${rc_flags} -jail ${dhcpd_hostname} ${dhcpd_ipaddress}" - fi - rc_flags="${rc_flags} ${dhcpd_ifaces}" -} - -cleanup_chroot () -{ - if checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - safe_umount ${_dhcpd_devdir} - fi -} - -dhcpd_stop () -{ - if sh $0 forcestatus; then - sh $0 forcestop - fi -} - -remove_pid () -{ - if [ -e ${_dhcpd_pidfile} ]; then - warn "${_dhcpd_pidfile} still exists! -- removing anyway" - fi - safe_remove ${_dhcpd_pidfile} -} - -remove_leases () -{ - if [ -s ${_dhcpd_leasesfile} ]; then - warn "${_dhcpd_leasesfile} not empty -- not removed --" \ - "futher warning messages expected, don't care." - else - safe_remove ${_dhcpd_leasesfile} ${_dhcpd_leasesfile}~ - fi -} - -remove_chuser () -{ - if checkyesno paranoia && { - checkyesno dhcpd_chuser_enable || checkyesno dhcpd_chroot_enable - }; then - safe_rmdir ${_dhcpd_piddir} ${_dhcpd_leasesdir} - fi -} - -remove_chroot () -{ - if checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - safe_remove ${_dhcpd_conffile} ${_dhcpd_includedir} \ - ${_dhcpd_etcdir} - if checkyesno dhcpd_devfs_enable; then - safe_umount ${_dhcpd_devdir} - safe_rmdir ${_dhcpd_devdir}/_ # XXX /_ hack! - elif checkyesno dhcpd_jail_enable; then - if ! mounted ${_dhcpd_devdir}; then - safe_remove ${_dhcpd_devdir} - fi - else - safe_remove ${_dhcpd_devdir} - fi - safe_rmdir ${_dhcpd_confdir} ${_dhcpd_rootdir} # XXX /_ hack! - fi -} - -dhcpd_check () -{ - check_chuser - check_jail - check_chroot -} - -dhcpd_rcvar () -{ - rcvar_chuser - rcvar_jail - rcvar_chroot - rcvar_pidnleases - rcvar_rooted -} - -dhcpd_precmd () -{ - setup_compat - setup_umask - setup_chroot - setup_chuser - setup_leases - setup_flags -} - -dhcpd_postcmd () -{ - cleanup_chroot -} - -dhcpd_install () -{ - if checkyesno paranoia; then - safe_useradd "${dhcpd_withuser}" "${dhcpd_withgroup}" \ - "DHCP Daemon" - fi -} - -_dhcpd_uninstall () # user group root -{ - local _user _group _root - - _user=$1 _group=$2 _root=$3 - - if [ -n "${_user}" -o -n "${_group}" ]; then - dhcpd_chuser_enable=YES - dhcpd_withuser=${_user} - dhcpd_withgroup=${_group} - else - dhcpd_chuser_enable=NO - fi - if [ -n "${_root}" ]; then - dhcpd_chroot_enable=YES - dhcpd_rootdir=${_root} - else - dhcpd_chroot_enable=NO - fi - dhcpd_check - dhcpd_rcvar - dhcpd_uninstall -} - -dhcpd_uninstall () -{ - if checkyesno __dhcpd_uninstall; then - dhcpd_stop - remove_pid - remove_leases - remove_chuser - remove_chroot - else - local _user _group _root - - __dhcpd_uninstall=YES - - _user=${dhcpd_withuser} - _group=${dhcpd_withgroup} - _root=${dhcpd_rootdir} - - _dhcpd_uninstall "" "" "" - - if checkyesno paranoia; then - if [ -n "${_user}" -o -n "${_group}" ]; then - _dhcpd_uninstall "${_user}" "${_group}" "" - fi - if [ -n "${_root}" ]; then - _dhcpd_uninstall "" "" "${_root}" - fi - if [ -n "${_user}" -o -n "${_group}" ] && - [ -n "${_root}" ]; then - _dhcpd_uninstall "${_user}" "${_group}" "${_root}" - fi - fi - fi -} - -rcvar=${name}_enable -load_rc_config ${name} - -__dhcpd_uninstall="NO" # internal use only -__dhcpd_devdir=/dev # devices directory -__dhcpd_etcdir=/etc # etc directory -__dhcpd_piddir=/var/run # pid file directory -__dhcpd_leasesdir=/var/db # leases file directory -#__dhcpd_rootdir=/var/db/${name} # root directory - -dhcpd_check -dhcpd_rcvar - -command=%%PREFIX%%/sbin/${name} -pidfile=${_dhcpd_pidfile} -required_files=${dhcpd_conf} -start_precmd=${name}_precmd -stop_postcmd=${name}_postcmd -install_cmd=dhcpd_install -uninstall_cmd=dhcpd_uninstall -extra_commands="install uninstall" - -# Override /etc/rc.subr JID determiniation, because it doesn't -# work when we launch dhcpd in a jail. -if checkyesno dhcpd_jail_enable ; then - read pid junk < $pidfile 2>/dev/null - [ -n "$pid" ] && JID=`ps -o jid= -p $pid` -fi - -run_rc_command "$1" diff --git a/net/isc-dhcp30-server/files/isc-dhcrelay.in b/net/isc-dhcp30-server/files/isc-dhcrelay.in deleted file mode 100644 index db10841ff32a..000000000000 --- a/net/isc-dhcp30-server/files/isc-dhcrelay.in +++ /dev/null @@ -1,57 +0,0 @@ -#! /bin/sh -# -# $FreeBSD$ -# -# PROVIDE: dhcrelay -# REQUIRE: DAEMON -# -# Add the following line to /etc/rc.conf to enable dhcrelay: -# -# dhcrelay_enable="YES" -# - -# override these variables in /etc/rc.conf -dhcrelay_enable=${dhcrelay_enable:-"NO"} -dhcrelay_flags=${dhcrelay_flags:-} # command option(s) -dhcrelay_servers=${dhcrelay_servers:-} # dhcrelay server(s) -dhcrelay_ifaces=${dhcrelay_ifaces:-} # ethernet interface(s) - -dhcrelay_precmd () -{ - local ifaces - - dhcrelay_rcconf=%%PREFIX%%/etc/rc.isc-dhcrelay.conf - - if [ -f ${dhcrelay_rcconf} ]; then - warn "${dhcrelay_rcconf} is obsolete, use /etc/rc.conf instead." - . ${dhcrelay_rcconf} - - if [ -n "${dhcrelay_options}" -a -z "${rc_flags}" ]; then - warn "dhcrelay_options is obsolete, use dhcrelay_flags instead." - rc_flags=${dhcrelay_options} - fi - fi - - if [ -z "${dhcrelay_servers}" ]; then - err 1 "no dhcrelay server(s) configured." - fi - - ifaces= - for iface in ${dhcrelay_ifaces}; do - ifaces="${ifaces} -i ${iface}" - done - - rc_flags="${rc_flags} ${ifaces} ${dhcrelay_servers}" -} - -. %%RC_SUBR%% - -name=dhcrelay -rcvar=${name}_enable - -command=%%PREFIX%%/sbin/${name} -pidfile=/var/run/${name}.pid -start_precmd=${name}_precmd - -load_rc_config ${name} -run_rc_command "$1" diff --git a/net/isc-dhcp30-server/files/omshell::Makefile.dist b/net/isc-dhcp30-server/files/omshell::Makefile.dist deleted file mode 100644 index 34c90a2e7f53..000000000000 --- a/net/isc-dhcp30-server/files/omshell::Makefile.dist +++ /dev/null @@ -1,80 +0,0 @@ -# Makefile.dist -# -# Copyright (c) 1996-2002 Internet Software Consortium. -# Use is subject to license terms which appear in the file named -# ISC-LICENSE that should have accompanied this file when you -# received it. If a file named ISC-LICENSE did not accompany this -# file, or you are not sure the one you have is correct, you may -# obtain an applicable copy of the license at: -# -# http://www.isc.org/isc-license-1.0.html. -# -# This file is part of the ISC DHCP distribution. The documentation -# associated with this file is listed in the file DOCUMENTATION, -# included in the top-level directory of this release. -# -# Support and other services are available for ISC products - see -# http://www.isc.org for more information. -# - -CATMANPAGES = omshell.cat1 -SEDMANPAGES = omshell.man1 -SRCS = omshell.c -OBJS = omshell.o -PROG = omshell -MAN = omshell.1 - -INCLUDES = -I$(TOP)/dhcpctl $(BINDINC) -I$(TOP)/includes -CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) -DHCPCTLLIBS = ../dhcpctl/libdhcpctl.a ../common/libdhcp.a $(BINDLIB) \ - ../omapip/libomapi.a ../dst/libdst.a - -all: $(PROG) $(CATMANPAGES) - -$(PROG): $(OBJS) $(DHCPCTLLIBS) - $(CC) $(DEBUG) $(LFLAGS) -o $(PROG) $(OBJS) $(DHCPCTLLIBS) $(LIBS) - -install: all $(CATMANPAGES) - for dir in $(USRMANDIR) $(USERBINDIR); do \ - foo=""; \ - for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \ - foo=$${foo}/$$bar; \ - if [ ! -d $$foo ]; then \ - mkdir $$foo; \ - chmod 755 $$foo; \ - fi; \ - done; \ - done - $(INSTALL) omshell $(DESTDIR)$(USERBINDIR) - $(CHMOD) 755 $(DESTDIR)$(USERBINDIR)/omshell - $(MANINSTALL) $(MANFROM) omshell.$(MANCAT)1 $(MANTO) \ - $(DESTDIR)$(USRMANDIR)/omshell$(USRMANEXT) - -depend: - $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRCS) - -clean: - -rm -f $(OBJS) - -realclean: clean - -rm -f $(PROG) *~ $(CATMANPAGES) $(SEDMANPAGES) #* - -distclean: realclean - -rm -f Makefile - -links: - @for foo in $(SRCS) $(MAN); do \ - if [ ! -b $$foo ]; then \ - rm -f $$foo; \ - fi; \ - ln -s $(TOP)/omshell/$$foo $$foo; \ - done - -omshell.cat1: omshell.man1 - nroff -man omshell.man1 >omshell.cat1 - -omshell.man1: omshell.1 - sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \ - -e "s#RUNDIR#$(VARRUN)#g" < omshell.1 >omshell.man1 - -# Dependencies (semi-automatically-generated) diff --git a/net/isc-dhcp30-server/files/patch-Makefile b/net/isc-dhcp30-server/files/patch-Makefile deleted file mode 100644 index 7a8df08b137b..000000000000 --- a/net/isc-dhcp30-server/files/patch-Makefile +++ /dev/null @@ -1,76 +0,0 @@ ---- Makefile.orig Fri Nov 8 00:10:07 2002 -+++ Makefile Mon Apr 28 15:04:50 2003 -@@ -38,59 +38,59 @@ - # ``http://www.nominum.com''. - # - --all: -+all all.devel all.server all.relay all.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make all); \ -+ (cd work.$$sysname; make $@); \ - fi - --install: -+install install.devel install.server install.relay install.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make install); \ -+ (cd work.$$sysname; make $@); \ - fi - --depend: -+depend depend.devel depend.server depend.relay depend.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make depend); \ -+ (cd work.$$sysname; make $@); \ - fi - --clean: -+clean clean.devel clean.server clean.relay clean.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make clean); \ -+ (cd work.$$sysname; make $@); \ - fi - --realclean: -+realclean realclean.devel realclean.server realclean.relay realclean.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make realclean); \ -+ (cd work.$$sysname; make $@); \ - fi - --distclean: -+distclean distclean.devel distclean.server distclean.relay distclean.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make distclean); \ -+ (cd work.$$sysname; make $@); \ - fi - --links: -+links links.devel links.server links.relay links.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make links); \ -+ (cd work.$$sysname; make $@); \ - fi - diff --git a/net/isc-dhcp30-server/files/patch-Makefile.dist b/net/isc-dhcp30-server/files/patch-Makefile.dist deleted file mode 100644 index 0c09997023cc..000000000000 --- a/net/isc-dhcp30-server/files/patch-Makefile.dist +++ /dev/null @@ -1,226 +0,0 @@ ---- Makefile.dist.orig Fri Nov 8 00:10:08 2002 -+++ Makefile.dist Tue Apr 29 00:07:43 2003 -@@ -17,47 +17,200 @@ - # http://www.isc.org for more information. - # - --SUBDIRS= common $(MINIRES) dst omapip server client relay dhcpctl -+COMMON_SUBDIRS= common -+DEVEL_SUBDIRS= $(MINIRES) dst omapip dhcpctl -+SERVER_SUBDIRS= omshell server -+RELAY_SUBDIRS= relay -+CLIENT_SUBDIRS= client -+ -+DEVEL_BUILD_SUBDIRS= ${COMMON_SUBDIRS} ${DEVEL_SUBDIRS} -+SERVER_BUILD_SUBDIRS= ${SERVER_SUBDIRS} -+RELAY_BUILD_SUBDIRS= ${RELAY_SUBDIRS} -+CLIENT_BUILD_SUBDIRS= ${CLIENT_SUBDIRS} -+ -+DEVEL_INSTALL_SUBDIRS= ${COMMON_SUBDIRS} ${DEVEL_SUBDIRS} -+SERVER_INSTALL_SUBDIRS= ${COMMON_SUBDIRS} ${SERVER_SUBDIRS} -+RELAY_INSTALL_SUBDIRS= ${RELAY_SUBDIRS} -+CLIENT_INSTALL_SUBDIRS= ${COMMON_SUBDIRS} ${CLIENT_SUBDIRS} - --all: -- @for dir in ${SUBDIRS}; do \ -+all: all.server all.relay all.client -+ -+all.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Making all in $$dir"; \ -+ (cd $$dir; $(MAKE) all) || exit 1; \ -+ done -+ -+all.server: all.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Making all in $$dir"; \ -+ (cd $$dir; $(MAKE) all) || exit 1; \ -+ done -+ -+all.relay: all.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Making all in $$dir"; \ -+ (cd $$dir; $(MAKE) all) || exit 1; \ -+ done -+ -+all.client: all.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ - echo "Making all in $$dir"; \ - (cd $$dir; $(MAKE) all) || exit 1; \ -- done -+ done -+ -+install: install.devel install.server install.relay install.client -+ -+install.devel: -+ @for dir in ${DEVEL_INSTALL_SUBDIRS}; do \ -+ echo "Installing in $$dir"; \ -+ (cd $$dir; $(MAKE) install) || exit 1; \ -+ done - --install: -- @for dir in ${SUBDIRS}; do \ -+install.server: -+ @for dir in ${SERVER_INSTALL_SUBDIRS}; do \ - echo "Installing in $$dir"; \ - (cd $$dir; $(MAKE) install) || exit 1; \ -- done -+ done - --depend: -- @for dir in ${SUBDIRS}; do \ -+install.relay: -+ @for dir in ${RELAY_INSTALL_SUBDIRS}; do \ -+ echo "Installing in $$dir"; \ -+ (cd $$dir; $(MAKE) install) || exit 1; \ -+ done -+ -+install.client: -+ @for dir in ${CLIENT_INSTALL_SUBDIRS}; do \ -+ echo "Installing in $$dir"; \ -+ (cd $$dir; $(MAKE) install) || exit 1; \ -+ done -+ -+depend: depend.server depend.relay depend.client -+ -+depend.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Making dependencies in $$dir"; \ -+ (cd $$dir; $(MAKE) depend) || exit 1; \ -+ done -+ -+depend.server: depend.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Making dependencies in $$dir"; \ -+ (cd $$dir; $(MAKE) depend) || exit 1; \ -+ done -+ -+depend.relay: depend.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ - echo "Making dependencies in $$dir"; \ - (cd $$dir; $(MAKE) depend) || exit 1; \ -- done -+ done -+ -+depend.client: depend.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ -+ echo "Making dependencies in $$dir"; \ -+ (cd $$dir; $(MAKE) depend) || exit 1; \ -+ done -+ -+clean: clean.server clean.relay clean.client -+ -+clean.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) clean) || exit 1; \ -+ done -+ -+clean.server: clean.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) clean) || exit 1; \ -+ done -+ -+clean.relay: clean.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) clean) || exit 1; \ -+ done - --clean: -- @for dir in ${SUBDIRS}; do \ -+clean.client: clean.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ - echo "Cleaning in $$dir"; \ - (cd $$dir; $(MAKE) clean) || exit 1; \ -- done -+ done -+ -+realclean: realclean.server realclean.relay realclean.client -+ -+realclean.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) realclean) || exit 1; \ -+ done - --realclean: -- @for dir in ${SUBDIRS}; do \ -+realclean.server: realclean.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ - echo "Really cleaning in $$dir"; \ - (cd $$dir; $(MAKE) realclean) || exit 1; \ -- done -+ done - --distclean: -- @for dir in ${SUBDIRS}; do \ -+realclean.relay: realclean.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) realclean) || exit 1; \ -+ done -+ -+realclean.client: realclean.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ -+ echo "Really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) realclean) || exit 1; \ -+ done -+ -+distclean: distclean.server distclean.relay distclean.client -+ -+distclean.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ - echo "Really, really cleaning in $$dir"; \ - (cd $$dir; $(MAKE) distclean) || exit 1; \ -- done -- @rm -f Makefile -+ done -+ -+distclean.server: distclean.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Really, really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) distclean) || exit 1; \ -+ done -+ -+distclean.relay: distclean.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Really, really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) distclean) || exit 1; \ -+ done -+ -+distclean.client: distclean.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ -+ echo "Really, really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) distclean) || exit 1; \ -+ done -+ -+links: links.server links.relay links.client -+ -+links.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Making links in $$dir"; \ -+ (cd $$dir; $(MAKE) links) || exit 1; \ -+ done -+ -+links.server: links.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Making links in $$dir"; \ -+ (cd $$dir; $(MAKE) links) || exit 1; \ -+ done -+ -+links.relay: links.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Making links in $$dir"; \ -+ (cd $$dir; $(MAKE) links) || exit 1; \ -+ done - --links: -- @for dir in ${SUBDIRS}; do \ -+links.client: links.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ - echo "Making links in $$dir"; \ - (cd $$dir; $(MAKE) links) || exit 1; \ -- done -+ done diff --git a/net/isc-dhcp30-server/files/patch-client::clparse.c b/net/isc-dhcp30-server/files/patch-client::clparse.c deleted file mode 100644 index 875f61f53b39..000000000000 --- a/net/isc-dhcp30-server/files/patch-client::clparse.c +++ /dev/null @@ -1,11 +0,0 @@ ---- client/clparse.c.orig Sat May 6 17:42:49 2006 -+++ client/clparse.c Sat May 6 17:43:12 2006 -@@ -777,7 +777,7 @@ - interface_dereference(&ip, MDL); - return 0; - } -- strcpy(ip->name, name); -+ strlcpy (ip -> name, name, IFNAMSIZ); - - if (dummy_interfaces) { - interface_reference (&ip -> next, diff --git a/net/isc-dhcp30-server/files/patch-client::dhclient.8 b/net/isc-dhcp30-server/files/patch-client::dhclient.8 deleted file mode 100644 index 3f5cfe64497b..000000000000 --- a/net/isc-dhcp30-server/files/patch-client::dhclient.8 +++ /dev/null @@ -1,84 +0,0 @@ ---- client/dhclient.8.orig Wed Sep 14 18:03:33 2005 -+++ client/dhclient.8 Sat May 6 17:30:28 2006 -@@ -23,6 +23,10 @@ - .\" - .\" $Id: dhclient.8,v 1.12.2.11 2005/09/14 16:03:33 dhankins Exp $ - .\" -+.\" Portions copyright (c) 2000 David E. O'Brien. -+.\" All rights reserved. -+.\" $FreeBSD$ -+.\" - .TH dhclient 8 - .SH NAME - dhclient - Dynamic Host Configuration Protocol Client -@@ -33,6 +37,9 @@ - .I port - ] - [ -+.B -D -+] -+[ - .B -d - ] - [ -@@ -43,6 +50,9 @@ - .B -q - ] - [ -+.B -v -+] -+[ - .B -1 - ] - [ -@@ -73,6 +83,10 @@ - relay - ] - [ -+.B -i -+interval -+] -+[ - .B -n - ] - [ -@@ -157,6 +171,15 @@ - configuration file or on the command line, and will ignore all other - interfaces. - .PP -+The -+.B -D -+flag causes -+.B dhclient -+to save the script it creates for use in conjunction with -+.B dhclient-script -+in -+.IR /tmp. -+.PP - If the DHCP client should listen and transmit on a port other than the - standard (port 68), the - .B -p -@@ -180,6 +203,12 @@ - flag, followed by the IP address to send. This is only useful for testing, - and should not be expected to work in any consistent or useful way. - .PP -+On FreeBSD, dhclient can be enabled to automatically handle the -+link status of the network card. Normally polling is done every -+five seconds. The polling interval can be set using the -+.B -i -+flag, followed by the numbers of seconds. Minimum is one second. -+.PP - The DHCP client will normally run in the foreground until it has - configured an interface, and then will revert to running in the - background. To run force dhclient to always run as a foreground -@@ -206,6 +235,10 @@ - .B -q - flag prevents any messages other than errors from being printed to the - standard error descriptor. -+.B -v -+flag turns on all messages. -+Opposite of -+.B -q . - .PP - The client normally doesn't release the current lease as it is not - required by the DHCP protocol. Some cable ISPs require their clients diff --git a/net/isc-dhcp30-server/files/patch-client::dhclient.c b/net/isc-dhcp30-server/files/patch-client::dhclient.c deleted file mode 100644 index c6a23b2ad6f1..000000000000 --- a/net/isc-dhcp30-server/files/patch-client::dhclient.c +++ /dev/null @@ -1,545 +0,0 @@ ---- client/dhclient.c.orig Thu Apr 27 23:38:29 2006 -+++ client/dhclient.c Sat May 6 17:34:55 2006 -@@ -38,6 +38,13 @@ - #include "dhcpd.h" - #include "version.h" - -+#if __FreeBSD_version > 502010 -+#include <sys/ioctl.h> -+#include <net/if_media.h> -+#include <net80211/ieee80211_ioctl.h> -+#include <net80211/ieee80211.h> -+#endif -+ - TIME default_lease_time = 43200; /* 12 hours... */ - TIME max_lease_time = 86400; /* 24 hours... */ - -@@ -72,8 +79,11 @@ - struct string_list *client_env=NULL; - int client_env_count=0; - int onetry=0; --int quiet=0; -+int quiet=1; - int nowait=0; -+#ifdef ENABLE_POLLING_MODE -+int polling_interval = 5; -+#endif - - static void usage PROTO ((void)); - -@@ -174,6 +184,9 @@ - } else if (!strcmp (argv [i], "-q")) { - quiet = 1; - quiet_interface_discovery = 1; -+ } else if (!strcmp (argv [i], "-v")) { -+ quiet = 0; -+ quiet_interface_discovery = 0; - } else if (!strcmp (argv [i], "-s")) { - if (++i == argc) - usage (); -@@ -187,6 +200,19 @@ - } else if (!strcmp (argv [i], "-n")) { - /* do not start up any interfaces */ - interfaces_requested = 1; -+#ifdef ENABLE_POLLING_MODE -+ } else if (!strcmp (argv [i], "-i")) { -+ if (++i == argc) -+ usage (); -+ polling_interval = (int)strtol (argv [i], -+ (char **)NULL, 10); -+ if (polling_interval <= 0) { -+ log_info ("Incorrect polling interval %d", -+ polling_interval); -+ log_info ("Using a default of 5 seconds"); -+ polling_interval = 5; -+ } -+#endif - } else if (!strcmp (argv [i], "-w")) { - /* do not exit if there are no broadcast interfaces. */ - persist = 1; -@@ -215,7 +241,16 @@ - if (strlen(argv[i]) >= sizeof(tmp->name)) - log_fatal("%s: interface name too long (is %ld)", - argv [i], (long)strlen(argv[i])); -- strcpy(tmp->name, argv[i]); -+ strlcpy (tmp -> name, argv [i], IFNAMSIZ); -+#if __FreeBSD_version > 502010 -+ set_ieee80211 (tmp); -+#endif -+ /* Init some interface vars, enable polling */ -+#ifdef ENABLE_POLLING_MODE -+ tmp -> forcediscover = 0; -+ tmp -> linkstate = HAVELINK; -+ tmp -> polling = 1; -+#endif /* ifdef ENABLE_POLLING_MODE */ - if (interfaces) { - interface_reference (&tmp -> next, - interfaces, MDL); -@@ -375,6 +410,16 @@ - INTERFACE_AUTOMATIC)) != - INTERFACE_REQUESTED)) - continue; -+#if __FreeBSD_version > 502010 -+ set_ieee80211 (ip); -+#endif -+#ifdef ENABLE_POLLING_MODE -+ ip -> forcediscover = 0; -+ if (ip -> client -> config -> media != NULL) -+ ip -> havemedia = 1; -+ else -+ ip -> havemedia = 0; -+#endif - script_init (ip -> client, - "PREINIT", (struct string_list *)0); - if (ip -> client -> alias) -@@ -417,8 +462,13 @@ - client -> state = S_INIT; - /* Set up a timeout to start the initialization - process. */ -+#ifdef ENABLE_POLLING_MODE -+ add_timeout (cur_time + random () % 5 + 2, -+ state_polling, client, 0, 0); -+#else - add_timeout (cur_time + random () % 5, - state_reboot, client, 0, 0); -+#endif - } - } - } -@@ -476,9 +526,9 @@ - log_info (arr); - log_info (url); - -- log_error ("Usage: dhclient [-1dqr] [-nw] [-p <port>] %s", -- "[-s server]"); -- log_error (" [-cf config-file] [-lf lease-file]%s", -+ log_error ("Usage: dhclient [-1Ddqrv] [-i polling-interval] %s", -+ "[-nw] [-p <port>] [-s server]"); -+ log_error (" [-cf config-file] [-lf lease-file] %s", - "[-pf pid-file] [-e VAR=val]"); - log_fatal (" [-sf script-file] [interface]"); - } -@@ -879,6 +929,15 @@ - /* Write out the new lease. */ - write_client_lease (client, client -> new, 0, 0); - -+ /* -+ * It's now possible that state_reboot can be called -+ * after a interface link went down and is up again. -+ * To prevent tons of equal leases saved on disk, we rewrite -+ * them. -+ */ -+ read_client_leases (); -+ rewrite_client_leases (); -+ - /* Replace the old active lease with the new one. */ - if (client -> active) - destroy_client_lease (client -> active); -@@ -893,6 +952,12 @@ - piaddr (client -> active -> address), - (long)(client -> active -> renewal - cur_time)); - client -> state = S_BOUND; -+#ifdef ENABLE_POLLING_MODE -+ /* Init some interface vars, enable polling */ -+ client -> interface -> linkstate = HAVELINK; -+ client -> interface -> forcediscover = 0; -+ client -> interface -> polling = 1; -+#endif /* ifdef ENABLE_POLLING_MODE */ - reinitialize_interfaces (); - go_daemon (); - if (client -> config -> do_forward_update) { -@@ -1357,6 +1422,11 @@ - int interval; - int increase = 1; - -+#ifdef ENABLE_POLLING_MODE -+ /* Disable polling for this interface */ -+ client -> interface -> polling = 0; -+#endif -+ - /* Figure out how long it's been since we started transmitting. */ - interval = cur_time - client -> first_sending; - -@@ -1457,6 +1527,9 @@ - struct client_lease *loop; - struct client_lease *lp; - -+ if (client -> interface -> linkstate == NOLINK) -+ return; -+ - loop = lp = client -> active; - - log_info ("No DHCPOFFERS received."); -@@ -1489,6 +1562,10 @@ - log_info ("bound: renewal in %ld %s.", - (long)(client -> active -> renewal - - cur_time), "seconds"); -+#ifdef ENABLE_POLLING_MODE -+ /* Enable polling for this interface */ -+ client -> interface -> polling = 1; -+#endif - add_timeout (client -> active -> renewal, - state_bound, client, 0, 0); - } else { -@@ -1496,6 +1573,11 @@ - log_info ("bound: immediate renewal."); - state_bound (client); - } -+ /* -+ * Set the link status back to nolink, even -+ * if we have media settings. -+ */ -+ client -> interface -> linkstate = NOLINK; - reinitialize_interfaces (); - go_daemon (); - return; -@@ -1541,6 +1623,12 @@ - } - - log_info ("No working leases in persistent database - sleeping."); -+ -+#ifdef ENABLE_POLLING_MODE -+ /* Enable polling for this interface */ -+ client -> interface -> polling = 1; -+#endif -+ - script_init (client, "FAIL", (struct string_list *)0); - if (client -> alias) - script_write_params (client, "alias_", client -> alias); -@@ -1682,6 +1770,18 @@ - client -> packet.secs = htons (65535); - } - -+ /* -+ * Only try the first ten seconds to renew a lease from a -+ * given dhcp-server adress. After that, fall back to use -+ * state_reboot with INADDR_BROADCAST. -+ */ -+ if (destination.sin_addr.s_addr != INADDR_BROADCAST && -+ (client -> state == S_RENEWING || client -> state == S_REBINDING)) { -+ if (client -> active && client -> active -> expiry > cur_time && -+ interval >= 10) -+ goto cancel; -+ } -+ - log_info ("DHCPREQUEST on %s to %s port %d", - client -> name ? client -> name : client -> interface -> name, - inet_ntoa (destination.sin_addr), -@@ -1703,6 +1803,16 @@ - from, &destination, - (struct hardware *)0); - -+ /* -+ * If sendto() for a direct request fails, fall back to use -+ * state_reboot with INADDR_BROADCAST. -+ */ -+ if (result == -1 && destination.sin_addr.s_addr != INADDR_BROADCAST && -+ (client -> state == S_RENEWING || client -> state == S_REBINDING)) { -+ if (client -> active && client -> active -> expiry > cur_time) -+ goto cancel; -+ } -+ - add_timeout (cur_time + client -> interval, - send_request, client, 0, 0); - } -@@ -2600,6 +2710,13 @@ - wstatus = 0; - } - } else { -+ if ((i = open(_PATH_DEVNULL, O_RDWR)) != -1) { -+ dup2(i, STDIN_FILENO); -+ dup2(i, STDOUT_FILENO); -+ dup2(i, STDERR_FILENO); -+ if (i > STDERR_FILENO) -+ close(i); -+ } - execve (scriptName, argv, envp); - log_error ("execve (%s, ...): %m", scriptName); - exit (0); -@@ -2786,8 +2903,10 @@ - case S_STOPPED: - break; - } -+#ifndef ENABLE_POLLING_MODE - client -> state = S_INIT; - state_reboot (client); -+#endif - } - } - } -@@ -3015,7 +3134,9 @@ - break; - - case server_awaken: -+#ifndef ENABLE_POLLING_MODE - state_reboot (client); -+#endif - break; - } - } -@@ -3153,3 +3274,265 @@ - data_string_forget (&ddns_dhcid, MDL); - return rcode; - } -+ -+/* Check to see if there's a wire plugged in */ -+int -+interface_active(struct interface_info *ip) { -+#if __FreeBSD_version > 502010 -+ struct ifmediareq ifmr; -+ int *media_list, i; -+ char *ifname; -+ int sock; -+ -+ ifname = ip -> name; -+ -+ if ((sock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) -+ log_fatal ("Can't create interface_active socket"); -+ -+ (void) memset (&ifmr, 0, sizeof (ifmr)); -+ (void) strncpy (ifmr.ifm_name, ifname, sizeof (ifmr.ifm_name)); -+ -+ if (ioctl (sock, SIOCGIFMEDIA, (caddr_t)&ifmr) < 0) { -+ /* -+ * Interface doesn't support SIOCGIFMEDIA, presume okay -+ */ -+ close (sock); -+ return (HAVELINK); -+ } -+ close (sock); -+ -+ if (ifmr.ifm_count == 0) { -+ /* -+ * Assume that this means interface -+ * does not support SIOCGIFMEDIA -+ */ -+ log_fatal ("%s: no media types?", ifname); -+ return (HAVELINK); -+ } -+ -+ if (ifmr.ifm_status & IFM_AVALID) { -+ if (ip -> ieee80211) { -+ /* -+ * Wavelan devices need to be checked if they are -+ * associated. -+ */ -+ if ((IFM_TYPE(ifmr.ifm_active) == IFM_IEEE80211) && -+ (ifmr.ifm_status & IFM_ACTIVE)) { -+ return (HAVELINK); -+ } -+ } else { -+ if (ifmr.ifm_status & IFM_ACTIVE) { -+ return (HAVELINK); -+ } -+ } -+ /* -+ * We really have no link. -+ */ -+ return (NOLINK); -+ } -+ /* -+ * IFM_AVALID is not set. We cannot check -+ * the link state. Assume HAVELINK. -+ */ -+ -+#endif /* Other OSs */ -+ /* -+ * Always return a successful link if the OS -+ * is not supported. -+ */ -+ return (HAVELINK); -+} -+ -+#if __FreeBSD_version > 502010 -+void -+set_ieee80211 (struct interface_info *ip) { -+ -+ struct ieee80211req ireq; -+ u_int8_t data[32]; -+ int associated = 0; -+ int *media_list, i; -+ char *ifname; -+ int sock; -+ -+ ifname = ip -> name; -+ -+ if ((sock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) -+ log_fatal ("Can't create interface_active socket"); -+ -+ (void) memset (&ireq, 0, sizeof (ireq)); -+ (void) strncpy (ireq.i_name, ifname, sizeof (ireq.i_name)); -+ ireq.i_data = &data; -+ ireq.i_type = IEEE80211_IOC_SSID; -+ ireq.i_val = -1; -+ /* -+ * If we can't get the SSID, -+ * this isn't an 802.11 device. -+ */ -+ if (ioctl (sock, SIOCG80211, &ireq) < 0) -+ ip -> ieee80211 = 0; -+ else { -+#ifdef DEBUG -+ printf ("Device %s has 802.11\n", ifname); -+#endif -+ ip -> ieee80211 = 1; -+ } -+ close (sock); -+ } -+#endif /* __FreeBSD_version */ -+ -+#ifdef ENABLE_POLLING_MODE -+/* Go to background after some time */ -+void state_background (cpp) -+ void *cpp; -+{ -+ go_daemon (); -+} -+ -+/* Check the state of the NICs if we have link */ -+void state_polling (cpp) -+ void *cpp; -+{ -+ static int doinitcheck = 0; -+ struct interface_info *ip; -+ struct client_state *client; -+ int result; -+ -+ for (ip = interfaces; ip; ip = ip -> next) { -+ if (! ip -> polling) -+ continue; -+#ifdef DEBUG -+ printf ("%s: Polling interface state\n", ip -> name); -+ for (client = ip -> client; -+ client; client = client -> next) { -+ printf ("%s: client state of %d\n", ip -> name, ip -> client -> state); -+ printf ("%s: link = %d\n", ip -> name, ip -> linkstate); -+ } -+#endif -+ -+ result = interface_active (ip); -+ /* -+ * If dhclient.conf contains media settings, we cannot -+ * abort if the interface is not set to active mode. -+ */ -+ if (ip -> havemedia && ip -> client -> state != S_BOUND) { -+ if (result == HAVELINK) -+ ip -> forcediscover = 1; -+ result = HAVELINK; -+ } -+ -+ /* -+ * The last status of the interface tells us -+ * the we've got no link ... -+ */ -+ if (ip -> linkstate == NOLINK || ! doinitcheck) { -+ /* -+ * ... but we have now link. Let's send -+ * requests. -+ */ -+ if (result == HAVELINK) { -+#ifdef DEBUG -+ if (ip -> havemedia) -+ printf ("%s: Trying media settings on interface\n", -+ ip -> name); -+ else -+ printf ("%s: Found Link on interface\n", ip -> name); -+#endif -+ /* -+ * Set the interface to state_bound. We assume that we have -+ * a working link. If we cannot reach the server directly, -+ * INADDR_BROADCAST is used. -+ */ -+ for (client = ip -> client; -+ client; client = client -> next) { -+ cancel_timeout (state_init, client); -+ cancel_timeout (state_reboot, client); -+ cancel_timeout (state_selecting, client); -+ if (client -> active) { -+ add_timeout (cur_time + random () % 5, -+ state_bound, client, 0, 0); -+ } else { -+ add_timeout (cur_time + random () % 5, -+ state_reboot, client, 0, 0); -+ } -+ } -+ ip -> linkstate = HAVELINK; -+ } else { -+#ifdef DEBUG -+ printf ("%s: No link on interface\n", ip -> name); -+#endif -+ for (client = ip -> client; -+ client; client = client -> next) { -+ /* -+ * Without this add_timout(), dhclient does -+ * not poll on a interface if there -+ * is no cable plugged in at startup -+ * time. Because we add one additional second -+ * to the time of a normal timeout, we always -+ * skip and block a running one. This prevents -+ * that polling is done twice at the same time. -+ */ -+ if (client -> state == S_INIT) { -+ add_timeout (cur_time + (polling_interval + 1), -+ state_polling, client, 0, 0); -+ } -+ } -+ ip -> linkstate = NOLINK; -+ /* -+ * Automatically go into the background after -+ * some time. Do this only if there are no -+ * media options available for a interface. -+ */ -+ if (! ip -> havemedia && ! doinitcheck) { -+ add_timeout (cur_time + (polling_interval * 2), -+ state_background, client, 0, 0); -+ } -+ } -+ } -+ -+ /* -+ * The last status of the interface tells us -+ * the we previously had link. -+ */ -+ if (ip -> linkstate == HAVELINK && doinitcheck) { -+ if (result == NOLINK) { -+ /* -+ * We lost link on the interface, or it isn't -+ * associated anymore. -+ */ -+#ifdef DEBUG -+ printf ("%s: Lost Link on interface\n", ip -> name); -+#endif -+ /* -+ * After we lost link, cycle again through the -+ * different media settings if available. Else -+ * set NOLINK. -+ */ -+ if (ip -> havemedia) -+ ip -> forcediscover = 1; -+ else -+ ip -> linkstate = NOLINK; -+ } -+ /* -+ * If we happen to have a real link, but no -+ * active lease, force the interface into -+ * state_reboot. Do the same if media settings -+ * are available. -+ */ -+ if (ip -> forcediscover) { -+ for (client = ip -> client; -+ client; client = client -> next) { -+ if (client -> state != S_REBOOTING && -+ client -> state != S_SELECTING) { -+ add_timeout (cur_time + random () % 5, -+ state_reboot, client, 0, 0); -+ } -+ } -+ ip -> forcediscover = 0; -+ ip -> linkstate = HAVELINK; -+ } -+ /* We still have link, do nothing. */ -+ } -+ } -+ doinitcheck = 1; -+} -+#endif /* ifdef ENABLE_POLLING_MODE */ diff --git a/net/isc-dhcp30-server/files/patch-client::dhclient.conf b/net/isc-dhcp30-server/files/patch-client::dhclient.conf deleted file mode 100644 index 2d9560f43bf8..000000000000 --- a/net/isc-dhcp30-server/files/patch-client::dhclient.conf +++ /dev/null @@ -1,11 +0,0 @@ ---- client/dhclient.conf.orig Tue Jun 3 00:50:44 1997 -+++ client/dhclient.conf Wed Mar 3 02:20:41 2004 -@@ -11,7 +11,7 @@ - reboot 10; - select-timeout 5; - initial-interval 2; --script "/etc/dhclient-script"; -+script "%%PREFIX%%/sbin/dhclient-script"; - media "-link0 -link1 -link2", "link0 link1"; - reject 192.33.137.209; - diff --git a/net/isc-dhcp30-server/files/patch-common::dhcp-options.5 b/net/isc-dhcp30-server/files/patch-common::dhcp-options.5 deleted file mode 100644 index 9d936cfffeee..000000000000 --- a/net/isc-dhcp30-server/files/patch-common::dhcp-options.5 +++ /dev/null @@ -1,32 +0,0 @@ ---- common/dhcp-options.5.orig Sun Feb 23 04:27:42 2003 -+++ common/dhcp-options.5 Wed Mar 3 02:12:13 2004 -@@ -431,7 +431,10 @@ - the domain-name option to specify the domain name). See RFC 1035 for - character set restrictions. This option is only honored by - .B dhclient-script(8) --if the hostname for the client machine is not set. -+if the hostname for the client machine is not set (i.e., set to the empty -+string in -+.B rc.conf(5) -+). - .RE - .PP - .B option \fBieee802-3-encapsulation\fR \fIflag\fR\fB;\fR -@@ -654,7 +657,7 @@ - This option specifies whether the client should configure its IP - layer to allow forwarding of datagrams with non-local source routes - (see Section 3.3.5 of [4] for a discussion of this topic). A value --of false means disallow forwarding of such datagrams, and a value of true -+of 0 means disallow forwarding of such datagrams, and a value of true - means allow forwarding. - .RE - .PP -@@ -948,7 +951,7 @@ - .PP - This option specifies whether or not the client should negotiate the - use of trailers (RFC 893 [14]) when using the ARP protocol. A value --of false indicates that the client should not attempt to use trailers. A -+of 0 indicates that the client should not attempt to use trailers. A - value of true means that the client should attempt to use trailers. - .RE - .PP diff --git a/net/isc-dhcp30-server/files/patch-common::discover.c b/net/isc-dhcp30-server/files/patch-common::discover.c deleted file mode 100644 index 1cfcc2094098..000000000000 --- a/net/isc-dhcp30-server/files/patch-common::discover.c +++ /dev/null @@ -1,238 +0,0 @@ ---- common/discover.c.orig Fri Jul 25 21:44:15 2003 -+++ common/discover.c Fri Mar 5 23:33:04 2004 -@@ -47,6 +47,7 @@ - #endif /* not lint */ - - #include "dhcpd.h" -+#include <ifaddrs.h> - #include <sys/ioctl.h> - - struct interface_info *interfaces, *dummy_interfaces, *fallback_interface; -@@ -135,10 +136,7 @@ - { - struct interface_info *tmp, *ip; - struct interface_info *last, *next; -- char buf [2048]; -- struct ifconf ic; -- struct ifreq ifr; -- int i; -+ struct ifaddrs *ifap, *ifa; - int sock; - int address_count = 0; - struct subnet *subnet; -@@ -157,61 +155,6 @@ - if ((sock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) - log_fatal ("Can't create addrlist socket"); - -- /* Get the interface configuration information... */ -- --#ifdef SIOCGIFCONF_ZERO_PROBE -- /* linux will only tell us how long a buffer it wants if we give it -- * a null buffer first. So, do a dry run to figure out the length. -- * -- * XXX this code is duplicated from below because trying to fold -- * the logic into the if statement and goto resulted in excesssive -- * obfuscation. The intent is that unless you run Linux you shouldn't -- * have to deal with this. */ -- -- ic.ifc_len = 0; -- ic.ifc_ifcu.ifcu_buf = (caddr_t)NULL; --#else -- /* otherwise, we just feed it a starting size, and it'll tell us if -- * it needs more */ -- -- ic.ifc_len = sizeof buf; -- ic.ifc_ifcu.ifcu_buf = (caddr_t)buf; --#endif -- -- gifconf_again: -- i = ioctl(sock, SIOCGIFCONF, &ic); -- -- if (i < 0) -- log_fatal ("ioctl: SIOCGIFCONF: %m"); -- --#ifdef SIOCGIFCONF_ZERO_PROBE -- /* Workaround for SIOCGIFCONF bug on some Linux versions. */ -- if (ic.ifc_ifcu.ifcu_buf == 0 && ic.ifc_len == 0) { -- ic.ifc_len = sizeof buf; -- ic.ifc_ifcu.ifcu_buf = (caddr_t)buf; -- goto gifconf_again; -- } --#endif -- -- /* If the SIOCGIFCONF resulted in more data than would fit in -- a buffer, allocate a bigger buffer. */ -- if ((ic.ifc_ifcu.ifcu_buf == buf --#ifdef SIOCGIFCONF_ZERO_PROBE -- || ic.ifc_ifcu.ifcu_buf == 0 --#endif -- ) && ic.ifc_len > sizeof buf) { -- ic.ifc_ifcu.ifcu_buf = dmalloc ((size_t)ic.ifc_len, MDL); -- if (!ic.ifc_ifcu.ifcu_buf) -- log_fatal ("Can't allocate SIOCGIFCONF buffer."); -- goto gifconf_again; --#ifdef SIOCGIFCONF_ZERO_PROBE -- } else if (ic.ifc_ifcu.ifcu_buf == 0) { -- ic.ifc_ifcu.ifcu_buf = (caddr_t)buf; -- ic.ifc_len = sizeof buf; -- goto gifconf_again; --#endif -- } -- - - /* If we already have a list of interfaces, and we're running as - a DHCP server, the interfaces were requested. */ -@@ -224,51 +167,38 @@ - else - ir = INTERFACE_REQUESTED; - -+ if (getifaddrs(&ifap) != 0) -+ log_fatal ("getifaddrs failed"); -+ - /* Cycle through the list of interfaces looking for IP addresses. */ -- for (i = 0; i < ic.ifc_len;) { -- struct ifreq *ifp = (struct ifreq *)((caddr_t)ic.ifc_req + i); --#ifdef HAVE_SA_LEN -- if (ifp -> ifr_addr.sa_len > sizeof (struct sockaddr)) -- i += (sizeof ifp -> ifr_name) + ifp -> ifr_addr.sa_len; -- else --#endif -- i += sizeof *ifp; -+ for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) { - - #ifdef ALIAS_NAMES_PERMUTED -- if ((s = strrchr (ifp -> ifr_name, ':'))) { -+ if ((s = strrchr (ifa -> ifa_name, ':'))) { - *s = 0; - } - #endif - - #ifdef SKIP_DUMMY_INTERFACES -- if (!strncmp (ifp -> ifr_name, "dummy", 5)) -+ if (!strncmp (ifa -> ifa_name, "dummy", 5)) - continue; - #endif - -- -- /* See if this is the sort of interface we want to -- deal with. */ -- strcpy (ifr.ifr_name, ifp -> ifr_name); -- if (ioctl (sock, SIOCGIFFLAGS, &ifr) < 0) -- log_fatal ("Can't get interface flags for %s: %m", -- ifr.ifr_name); -- - /* See if we've seen an interface that matches this one. */ - for (tmp = interfaces; tmp; tmp = tmp -> next) -- if (!strcmp (tmp -> name, ifp -> ifr_name)) -+ if (!strcmp (tmp -> name, ifa -> ifa_name)) - break; - -- /* Skip non broadcast interfaces (plus loopback and -- point-to-point in case an OS incorrectly marks them -- as broadcast). Also skip down interfaces unless we're -+ /* See if this is the sort of interface we want to -+ deal with. Skip loopback, point-to-point and down -+ interfaces, except don't skip down interfaces if we're - trying to get a list of configurable interfaces. */ -- if (((!(ifr.ifr_flags & IFF_BROADCAST) || -- ifr.ifr_flags & IFF_LOOPBACK || -- ifr.ifr_flags & IFF_POINTOPOINT) && !tmp) || -- (!(ifr.ifr_flags & IFF_UP) && -+ if ((ifa->ifa_flags & IFF_LOOPBACK) || -+ (ifa->ifa_flags & IFF_POINTOPOINT) || -+ (!(ifa->ifa_flags & IFF_UP) && - state != DISCOVER_UNCONFIGURED)) - continue; -- -+ - /* If there isn't already an interface by this name, - allocate one. */ - if (!tmp) { -@@ -276,9 +206,9 @@ - status = interface_allocate (&tmp, MDL); - if (status != ISC_R_SUCCESS) - log_fatal ("Error allocating interface %s: %s", -- ifp -> ifr_name, -+ ifa -> ifa_name, - isc_result_totext (status)); -- strcpy (tmp -> name, ifp -> ifr_name); -+ strcpy (tmp -> name, ifa -> ifa_name); - interface_snorf (tmp, ir); - interface_dereference (&tmp, MDL); - tmp = interfaces; /* XXX */ -@@ -290,9 +220,9 @@ - /* If we have the capability, extract link information - and record it in a linked list. */ - #ifdef HAVE_AF_LINK -- if (ifp -> ifr_addr.sa_family == AF_LINK) { -+ if (ifa -> ifa_addr->sa_family == AF_LINK) { - struct sockaddr_dl *foo = ((struct sockaddr_dl *) -- (&ifp -> ifr_addr)); -+ (ifa -> ifa_addr)); - #if defined (HAVE_SIN_LEN) - tmp -> hw_address.hlen = foo -> sdl_alen; - #else -@@ -305,12 +235,11 @@ - } else - #endif /* AF_LINK */ - -- if (ifp -> ifr_addr.sa_family == AF_INET) { -+ if (ifa -> ifa_addr->sa_family == AF_INET) { - struct iaddr addr; - - /* Get a pointer to the address... */ -- memcpy (&foo, &ifp -> ifr_addr, -- sizeof ifp -> ifr_addr); -+ bcopy(ifa->ifa_addr, &foo, sizeof(foo)); - - /* We don't want the loopback interface. */ - if (foo.sin_addr.s_addr == htonl (INADDR_LOOPBACK) && -@@ -323,16 +252,15 @@ - found, keep a pointer to ifreq structure in - which we found it. */ - if (!tmp -> ifp) { --#ifdef HAVE_SA_LEN -- unsigned len = ((sizeof ifp -> ifr_name) + -- ifp -> ifr_addr.sa_len); --#else -- unsigned len = sizeof *ifp; --#endif -+ -+ int len = (IFNAMSIZ + -+ ifa -> ifa_addr->sa_len); - tif = (struct ifreq *)dmalloc (len, MDL); - if (!tif) - log_fatal ("no space for ifp."); -- memcpy (tif, ifp, len); -+ strlcpy(tif->ifr_name, ifa->ifa_name, IFNAMSIZ); -+ memcpy(&tif->ifr_addr, ifa->ifa_addr, -+ ifa->ifa_addr->sa_len); - tmp -> ifp = tif; - tmp -> primary_address = foo.sin_addr; - } -@@ -346,9 +274,6 @@ - } - } - -- /* If we allocated a buffer, free it. */ -- if (ic.ifc_ifcu.ifcu_buf != buf) -- dfree (ic.ifc_ifcu.ifcu_buf, MDL); - - #if defined (LINUX_SLASHPROC_DISCOVERY) - /* On Linux, interfaces that don't have IP addresses don't -@@ -529,6 +454,7 @@ - be able to configure, we can quit now. */ - if (state == DISCOVER_UNCONFIGURED) { - close (sock); -+ freeifaddrs(ifap); - return; - } - -@@ -674,6 +600,7 @@ - } - - close (sock); -+ freeifaddrs(ifap); - - if (state == DISCOVER_SERVER && wifcount == 0) { - log_info ("%s", ""); diff --git a/net/isc-dhcp30-server/files/patch-common::dispatch.c b/net/isc-dhcp30-server/files/patch-common::dispatch.c deleted file mode 100644 index 0aa709cf0860..000000000000 --- a/net/isc-dhcp30-server/files/patch-common::dispatch.c +++ /dev/null @@ -1,29 +0,0 @@ ---- common/dispatch.c.orig Sun Nov 17 03:26:57 2002 -+++ common/dispatch.c Wed Mar 3 16:20:15 2004 -@@ -95,11 +95,26 @@ - void dispatch () - { - struct timeval tv, *tvp; -+#ifdef ENABLE_POLLING_MODE -+ struct timeval *tvp_new; -+#endif - isc_result_t status; -+ TIME cur_time; - -+ tvp = NULL; -+#ifdef ENABLE_POLLING_MODE -+ tvp_new = NULL; -+#endif - /* Wait for a packet or a timeout... XXX */ - do { - tvp = process_outstanding_timeouts (&tv); -+#ifdef ENABLE_POLLING_MODE -+ GET_TIME (&cur_time); -+ add_timeout(cur_time + polling_interval, state_polling, 0, 0, 0); -+ tvp_new = process_outstanding_timeouts(&tv); -+ if (tvp != NULL && (tvp -> tv_sec > tvp_new -> tv_sec)) -+ tvp = tvp_new; -+#endif /* ENABLE_POLLING_MODE */ - status = omapi_one_dispatch (0, tvp); - } while (status == ISC_R_TIMEDOUT || status == ISC_R_SUCCESS); - log_fatal ("omapi_one_dispatch failed: %s -- exiting.", diff --git a/net/isc-dhcp30-server/files/patch-configure b/net/isc-dhcp30-server/files/patch-configure deleted file mode 100644 index 5aff6909acce..000000000000 --- a/net/isc-dhcp30-server/files/patch-configure +++ /dev/null @@ -1,41 +0,0 @@ ---- configure.orig Sat Apr 20 23:44:13 2002 -+++ configure Mon Apr 28 23:02:10 2003 -@@ -13,6 +13,9 @@ - elif [ x$1 = x--dirs ]; then - dirs=$2 - shift -+ elif [ x$1 = x--subsys ]; then -+ subsys=$2 -+ shift - elif [ x$1 = x--no-links ]; then - nolinks=YES - elif [ x$1 = x--copts ]; then -@@ -233,7 +236,14 @@ - fi - - if [ x"$dirs" = x ]; then -- dirs=". client server relay common omapip dhcpctl minires dst" -+ dirs=". common minires dst omapip dhcpctl" -+ if [ x$subsys = x ]; then -+ dirs="$dirs server omshell client relay" -+ elif [ x$subsys = xserver ]; then -+ dirs="$dirs server omshell" -+ elif [ x$subsys = xclient -o x$subsys = xrelay ]; then -+ dirs="$dirs $subsys" -+ fi - fi - - for foo in $dirs; do -@@ -253,7 +263,11 @@ - - # Make the link tree in which to actually build. - if [ x$nolinks = x ]; then -- make links -+ if [ x$subsys = x ]; then -+ make links -+ else -+ make links.$subsys -+ fi - fi - - exit 0 diff --git a/net/isc-dhcp30-server/files/patch-dhcpctl::Makefile.dist b/net/isc-dhcp30-server/files/patch-dhcpctl::Makefile.dist deleted file mode 100644 index f840cfba6278..000000000000 --- a/net/isc-dhcp30-server/files/patch-dhcpctl::Makefile.dist +++ /dev/null @@ -1,79 +0,0 @@ ---- dhcpctl/Makefile.dist.orig Thu Mar 3 17:55:23 2005 -+++ dhcpctl/Makefile.dist Mon Jul 25 08:33:33 2005 -@@ -22,11 +22,11 @@ - # http://www.isc.org/ - # - --CATMANPAGES = dhcpctl.cat3 omshell.cat1 --SEDMANPAGES = dhcpctl.man3 omshell.man1 -+CATMANPAGES = dhcpctl.cat3 -+SEDMANPAGES = dhcpctl.man3 - SRC = dhcpctl.c callback.c remote.c - OBJ = dhcpctl.o callback.o remote.o --MAN = dhcpctl.3 omshell.1 -+MAN = dhcpctl.3 - HDRS = dhcpctl.h - - INCLUDES = $(BINDINC) -I$(TOP)/includes -@@ -34,10 +34,7 @@ - DHCPCTLLIBS = libdhcpctl.a ../common/libdhcp.a $(BINDLIB) \ - ../omapip/libomapi.a ../dst/libdst.a - --all: libdhcpctl.a omshell cltest $(CATMANPAGES) -- --omshell: omshell.o $(DHCPCTLLIBS) -- $(CC) $(DEBUG) $(LFLAGS) -o omshell omshell.o $(DHCPCTLLIBS) $(LIBS) -+all: libdhcpctl.a cltest $(CATMANPAGES) - - cltest: cltest.o $(DHCPCTLLIBS) - $(CC) $(DEBUG) $(LFLAGS) -o cltest cltest.o $(DHCPCTLLIBS) $(LIBS) -@@ -48,8 +45,7 @@ - $(RANLIB) libdhcpctl.a - - install: all $(CATMANPAGES) -- for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR) $(USRMANDIR) \ -- $(USERBINDIR); do \ -+ for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR); do \ - foo=""; \ - for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \ - foo=$${foo}/$$bar; \ -@@ -69,16 +65,12 @@ - $(MANINSTALL) $(MANFROM) $${prefix}.$(MANCAT)$${suffix} $(MANTO) \ - $(DESTDIR)$(LIBMANDIR)/$${prefix}$(LIBMANEXT); \ - done -- $(INSTALL) omshell $(DESTDIR)$(USERBINDIR) -- $(CHMOD) 755 $(DESTDIR)$(USERBINDIR)/omshell -- $(MANINSTALL) $(MANFROM) omshell.$(MANCAT)1 $(MANTO) \ -- $(DESTDIR)$(USRMANDIR)/omshell$(USRMANEXT) - - depend: - $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC) - - clean: -- -rm -f $(OBJ) omshell.o omshell cltest.o cltest -+ -rm -f $(OBJ) cltest.o cltest - - realclean: clean - -rm -f libdhcpctl.a *~ $(CATMANPAGES) $(SEDMANPAGES) -@@ -87,7 +79,7 @@ - -rm -f Makefile - - links: -- @for foo in $(SRC) $(MAN) omshell.c cltest.c $(HDRS); do \ -+ @for foo in $(SRC) $(MAN) cltest.c $(HDRS); do \ - if [ ! -b $$foo ]; then \ - rm -f $$foo; \ - fi; \ -@@ -100,12 +92,5 @@ - dhcpctl.man3: dhcpctl.3 - sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \ - -e "s#RUNDIR#$(VARRUN)#g" < dhcpctl.3 >dhcpctl.man3 -- --omshell.cat1: omshell.man1 -- nroff -man omshell.man1 >omshell.cat1 -- --omshell.man1: omshell.1 -- sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \ -- -e "s#RUNDIR#$(VARRUN)#g" < omshell.1 >omshell.man1 - - # Dependencies (semi-automatically-generated) diff --git a/net/isc-dhcp30-server/files/patch-dhcpd.conf b/net/isc-dhcp30-server/files/patch-dhcpd.conf deleted file mode 100644 index 030e89874d8d..000000000000 --- a/net/isc-dhcp30-server/files/patch-dhcpd.conf +++ /dev/null @@ -1,12 +0,0 @@ ---- server/dhcpd.conf.orig Thu Jan 25 03:33:11 2001 -+++ server/dhcpd.conf Wed Jan 30 22:06:52 2002 -@@ -14,6 +14,9 @@ - # network, the authoritative directive should be uncommented. - #authoritative; - -+# ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates. -+ddns-update-style ad-hoc; -+ - # Use this to send dhcp log messages to a different log file (you also - # have to hack syslog.conf to complete the redirection). - log-facility local7; diff --git a/net/isc-dhcp30-server/files/patch-dst::Makefile.dist b/net/isc-dhcp30-server/files/patch-dst::Makefile.dist deleted file mode 100644 index ad45436b1629..000000000000 --- a/net/isc-dhcp30-server/files/patch-dst::Makefile.dist +++ /dev/null @@ -1,29 +0,0 @@ ---- dst/Makefile.dist.orig Sun Nov 17 03:27:43 2002 -+++ dst/Makefile.dist Fri Mar 5 23:40:45 2004 -@@ -26,12 +26,24 @@ - - all: libdst.a - --install: -- - libdst.a: $(OBJ) - rm -f dst.a - ar cruv libdst.a $(OBJ) - $(RANLIB) libdst.a -+ -+install: all -+ for dir in $(LIBDIR);\ -+ do \ -+ foo=""; \ -+ for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \ -+ foo=$${foo}/$$bar; \ -+ if [ ! -d $$foo ]; then \ -+ mkdir $$foo; \ -+ chmod 755 $$foo; \ -+ fi; \ -+ done; \ -+ done -+ $(INSTALL) libdst.a $(DESTDIR)$(LIBDIR) - - depend: - $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC) diff --git a/net/isc-dhcp30-server/files/patch-includes::cf::freebsd.h b/net/isc-dhcp30-server/files/patch-includes::cf::freebsd.h deleted file mode 100644 index 071ac6ca5a29..000000000000 --- a/net/isc-dhcp30-server/files/patch-includes::cf::freebsd.h +++ /dev/null @@ -1,62 +0,0 @@ ---- includes/cf/freebsd.h.orig Wed Sep 1 19:06:36 2004 -+++ includes/cf/freebsd.h Mon May 15 09:13:18 2006 -@@ -33,7 +33,7 @@ - */ - - #include <syslog.h> --#include <sys/types.h> -+#include <sys/param.h> - #include <string.h> - #include <paths.h> - #include <errno.h> -@@ -97,6 +97,10 @@ - #define SOCKLEN_T int - #endif - -+#ifdef RESCUE -+#define _PATH_DHCLIENT_SCRIPT "/rescue/dhclient-script" -+#endif -+ - #if defined (USE_DEFAULT_NETWORK) - # define USE_BPF - #endif -@@ -107,6 +111,9 @@ - #endif /* HAVE_DEV_RANDOM */ - - const char *cmds[] = { -+#ifndef RESCUE -+ /* rescue environment can't rely on these ... */ -+ /* Actually, /sbin/dhclient shouldn't use these, either. */ - "/bin/ps -axlw 2>&1", - "/usr/sbin/arp -an 2>&1", - "/usr/bin/netstat -an 2>&1", -@@ -117,10 +124,12 @@ - "/usr/sbin/iostat 2>&1", - "/usr/bin/vmstat 2>&1", - "/usr/bin/w 2>&1", -+#endif - NULL - }; - - const char *dirs[] = { -+#ifndef RESCUE - "/tmp", - "/usr/tmp", - ".", -@@ -130,13 +139,16 @@ - "/var/mail", - "/home", - "/usr/home", -+#endif - NULL - }; - - const char *files[] = { -+#ifndef RESCUE - "/var/log/messages", - "/var/log/wtmp", - "/var/log/lastlog", -+#endif - NULL - }; - #endif /* NEED_PRAND_CONF */ diff --git a/net/isc-dhcp30-server/files/patch-includes::dhcpd.h b/net/isc-dhcp30-server/files/patch-includes::dhcpd.h deleted file mode 100644 index 1933e0b4037a..000000000000 --- a/net/isc-dhcp30-server/files/patch-includes::dhcpd.h +++ /dev/null @@ -1,56 +0,0 @@ ---- includes/dhcpd.h.orig Mon Feb 10 02:22:46 2003 -+++ includes/dhcpd.h Wed Mar 3 16:20:09 2004 -@@ -99,6 +99,9 @@ - (((x) >> OPTION_HASH_EXP) & \ - (OPTION_HASH_PTWO - 1))) % OPTION_HASH_SIZE; - -+#define NOLINK 0 -+#define HAVELINK 1 -+ - enum dhcp_shutdown_state { - shutdown_listeners, - shutdown_omapi_connections, -@@ -783,6 +786,11 @@ - unsigned remote_id_len; /* Length of Remote ID. */ - - char name [IFNAMSIZ]; /* Its name... */ -+ int ieee80211; /* True if media is ieee802.11 */ -+ int havemedia; /* True if we have a media table */ -+ int linkstate; /* True if we have link */ -+ int polling; /* True if polling is enabled */ -+ int forcediscover; /* True if a discover is needed */ - int index; /* Its index. */ - int rfdesc; /* Its read file descriptor. */ - int wfdesc; /* Its write file descriptor, if -@@ -1845,6 +1853,9 @@ - extern const char *path_dhclient_pid; - extern char *path_dhclient_script; - extern int interfaces_requested; -+#ifdef ENABLE_POLLING_MODE -+extern int polling_interval; -+#endif - - extern struct client_config top_level_config; - -@@ -1858,12 +1869,21 @@ - void send_decline PROTO ((void *)); - - void state_reboot PROTO ((void *)); -+#ifdef ENABLE_POLLING_MODE -+void state_background PROTO ((void *)); -+void state_polling PROTO ((void *)); -+#endif - void state_init PROTO ((void *)); - void state_selecting PROTO ((void *)); - void state_requesting PROTO ((void *)); - void state_bound PROTO ((void *)); - void state_stop PROTO ((void *)); - void state_panic PROTO ((void *)); -+ -+#if __FreeBSD_version > 502010 -+void set_ieee80211 PROTO ((struct interface_info *)); -+#endif -+int interface_active PROTO ((struct interface_info *)); - - void bind_lease PROTO ((struct client_state *)); - diff --git a/net/isc-dhcp30-server/files/patch-server::dhcpd.c b/net/isc-dhcp30-server/files/patch-server::dhcpd.c deleted file mode 100644 index c45ed9214792..000000000000 --- a/net/isc-dhcp30-server/files/patch-server::dhcpd.c +++ /dev/null @@ -1,288 +0,0 @@ ---- server/dhcpd.c.orig Thu Jun 10 19:59:52 2004 -+++ server/dhcpd.c Fri Jun 25 15:49:09 2004 -@@ -47,6 +47,22 @@ - #include "version.h" - #include <omapip/omapip_p.h> - -+#if defined (PARANOIA) -+#include <sys/types.h> -+#include <unistd.h> -+#include <pwd.h> -+/* get around the ISC declaration of group */ -+#define group real_group -+#include <grp.h> -+#undef group -+#endif /* PARANOIA */ -+#if defined (JAIL) -+#include <sys/param.h> -+#include <sys/jail.h> -+#include <netinet/in.h> -+#include <arpa/inet.h> -+#endif /* JAIL */ -+ - static void usage PROTO ((void)); - - TIME cur_time; -@@ -195,6 +211,35 @@ - omapi_object_dereference (&listener, MDL); - } - -+#if defined (PARANOIA) -+/* to be used in one of two possible scenarios */ -+static void setup_chroot (char *chroot_dir) -+{ -+ if (geteuid ()) -+ log_fatal ("you must be root to use chroot"); -+ if (chroot (chroot_dir)) -+ log_fatal ("chroot(\"%s\"): %m", chroot_dir); -+ if (chdir ("/")) -+ /* probably permission denied */ -+ log_fatal ("chdir(\"/\"): %m"); -+} -+#endif /* PARANOIA */ -+ -+#if defined (JAIL) -+static void setup_jail (char *chroot_dir, char *hostname, u_int32_t ip_number) -+{ -+ struct jail j; -+ -+ j.version = 0; -+ j.path = chroot_dir; -+ j.hostname = hostname; -+ j.ip_number = ip_number; -+ -+ if (jail (&j) < 0) -+ log_fatal ("jail(%s, %s): %m", chroot_dir, hostname); -+} -+#endif /* JAIL */ -+ - int main (argc, argv, envp) - int argc; - char **argv, **envp; -@@ -227,6 +272,25 @@ - char *traceinfile = (char *)0; - char *traceoutfile = (char *)0; - #endif -+#if defined (PARANOIA) -+ char *set_user = 0; -+ char *set_group = 0; -+ uid_t set_uid = 0; -+ gid_t set_gid = 0; -+ int early_chroot = 0; -+ int no_dhcpd_user = 0; -+ int no_dhcpd_group = 0; -+#endif /* PARANOIA */ -+#if defined (PARANOIA) || defined (JAIL) -+ char *set_chroot = 0; -+ int no_dhcpd_chroot = 0; -+#endif /* PARANOIA || JAIL */ -+#if defined (JAIL) -+ char *set_jail = 0; -+ u_int32_t jail_ip_address = 0; /* Good as long as it's IPv4 ... */ -+ int no_dhcpd_jail = 0; -+ char *s2; -+#endif /* JAIL */ - - /* Make sure we have stdin, stdout and stderr. */ - status = open ("/dev/null", O_RDWR); -@@ -289,6 +353,39 @@ - if (++i == argc) - usage (); - server = argv [i]; -+#if defined (PARANOIA) -+ } else if (!strcmp (argv [i], "-user")) { -+ if (++i == argc) -+ usage (); -+ set_user = argv [i]; -+ no_dhcpd_user = 1; -+ } else if (!strcmp (argv [i], "-group")) { -+ if (++i == argc) -+ usage (); -+ set_group = argv [i]; -+ no_dhcpd_group = 1; -+ } else if (!strcmp (argv [i], "-early_chroot")) { -+ early_chroot = 1; -+#endif /* PARANOIA */ -+#if defined (PARANOIA) || defined (JAIL) -+ } else if (!strcmp (argv [i], "-chroot")) { -+ if (++i == argc) -+ usage (); -+ set_chroot = argv [i]; -+ no_dhcpd_chroot = 1; -+#endif /* PARANOIA || JAIL */ -+#if defined (JAIL) -+ } else if (!strcmp (argv [i], "-jail")) { -+ if (++i == argc) -+ usage (); -+ set_jail = argv [i]; -+ if (++i == argc) -+ usage (); -+ if (inet_pton (AF_INET, argv[i], &jail_ip_address) < 0) -+ log_fatal ("invalid ip address: %s", argv[i]); -+ jail_ip_address = ntohl (jail_ip_address); -+ no_dhcpd_jail = 1; -+#endif /* JAIL */ - } else if (!strcmp (argv [i], "-cf")) { - if (++i == argc) - usage (); -@@ -366,6 +463,28 @@ - if (!no_dhcpd_pid && (s = getenv ("PATH_DHCPD_PID"))) { - path_dhcpd_pid = s; - } -+#if defined (PARANOIA) -+ if (!no_dhcpd_user && (s = getenv ("DHCPD_USER"))) { -+ set_user = s; -+ } -+ if (!no_dhcpd_group && (s = getenv ("DHCPD_GROUP"))) { -+ set_group = s; -+ } -+#endif /* PARANOIA */ -+#if defined (PARANOIA) || defined (JAIL) -+ if (!no_dhcpd_chroot && (s = getenv ("PATH_DHCPD_CHROOT"))) { -+ set_chroot = s; -+ } -+#endif /* PARANOIA || JAIL */ -+#if defined (JAIL) -+ if (!no_dhcpd_jail && (s = getenv ("DHCPD_JAIL_HOSTNAME")) && -+ (s2 = getenv ("DHCPD_JAIL_IPADDRESS"))) { -+ set_jail = s; -+ if (inet_pton (AF_INET, s2, &jail_ip_address) < 0) -+ log_fatal ("invalid ip address: %s", s2); -+ jail_ip_address = ntohl (jail_ip_address); -+ } -+#endif /* JAIL */ - - if (!quiet) { - log_info ("%s %s", message, DHCP_VERSION); -@@ -388,6 +507,57 @@ - trace_seed_stop, MDL); - #endif - -+#if defined (PARANOIA) -+ /* get user and group info if those options were given */ -+ if (set_user) { -+ struct passwd *tmp_pwd; -+ -+ if (geteuid ()) -+ log_fatal ("you must be root to set user"); -+ -+ if (!(tmp_pwd = getpwnam (set_user))) -+ log_fatal ("no such user: %s", set_user); -+ -+ set_uid = tmp_pwd->pw_uid; -+ -+ /* use the user's group as the default gid */ -+ if (!set_group) -+ set_gid = tmp_pwd->pw_gid; -+ } -+ -+ if (set_group) { -+/* get around the ISC declaration of group */ -+#define group real_group -+ struct group *tmp_grp; -+ -+ if (geteuid ()) -+ log_fatal ("you must be root to set group"); -+ -+ if (!(tmp_grp = getgrnam (set_group))) -+ log_fatal ("no such group: %s", set_group); -+ -+ set_gid = tmp_grp->gr_gid; -+#undef group -+ } -+#endif /* PARANOIA */ -+#if defined (JAIL) -+ if (set_jail) { -+ /* Initialize icmp support... */ -+ if (!cftest && !lftest) -+ icmp_startup (1, lease_pinged); -+ if(!set_chroot) -+ set_chroot = "/"; -+ setup_jail (set_chroot, set_jail, jail_ip_address); -+ } -+#endif /* JAIL */ -+#if defined (PARANOIA) && defined (JAIL) -+ else -+#endif /* PARANOIA && JAIL */ -+#if defined (PARANOIA) -+ if (early_chroot && set_chroot) -+ setup_chroot (set_chroot); -+#endif /* PARANOIA */ -+ - /* Default to the DHCP/BOOTP port. */ - if (!local_port) - { -@@ -462,6 +632,9 @@ - #endif - - /* Initialize icmp support... */ -+#if defined (JAIL) -+ if (!set_jail) -+#endif /* JAIL */ - if (!cftest && !lftest) - icmp_startup (1, lease_pinged); - -@@ -491,6 +664,14 @@ - - postconf_initialization (quiet); - -+#if defined (PARANOIA) -+#if defined (JAIL) -+ if (!set_jail) -+#endif /* JAIL */ -+ if (!early_chroot && set_chroot) -+ setup_chroot (set_chroot); -+#endif /* PARANOIA */ -+ - /* test option should cause an early exit */ - if (cftest && !lftest) - exit(0); -@@ -533,7 +714,22 @@ - else if (pid) - exit (0); - } -+ -+#if defined (PARANOIA) -+ /* change uid to the specified one */ -+ if (set_gid) { -+ if (setgroups (0, (void *)0)) -+ log_fatal ("setgroups: %m"); -+ if (setgid (set_gid)) -+ log_fatal ("setgid(%d): %m", (int) set_gid); -+ } - -+ if (set_uid) { -+ if (setuid (set_uid)) -+ log_fatal ("setuid(%d): %m", (int) set_uid); -+ } -+#endif /* PARANOIA */ -+ - /* Read previous pid file. */ - if ((i = open (path_dhcpd_pid, O_RDONLY)) >= 0) { - status = read (i, pbuf, (sizeof pbuf) - 1); -@@ -877,8 +1073,24 @@ - log_info (copyright); - log_info (arr); - -- log_fatal ("Usage: dhcpd [-p <UDP port #>] [-d] [-f]%s%s%s%s", -+ log_fatal ("Usage: dhcpd [-p <UDP port #>] [-d] [-f]%s%s%s%s%s%s%s", - "\n [-cf config-file] [-lf lease-file]", -+ -+#if defined (PARANOIA) -+ /* meld into the following string */ -+ "\n [-user user] [-group group]", -+ "\n [-chroot dir] [-early_chroot]", -+#else /* PARANOIA */ -+ "", "", -+#endif /* PARANOIA */ -+ -+#if defined (JAIL) -+ /* then also these ones */ -+ "\n [-jail name ip]", -+#else /* JAIL */ -+ "", -+#endif /* JAIL */ -+ - #if defined (TRACING) - "\n [-tf trace-output-file]", - "\n [-play trace-input-file]", diff --git a/net/isc-dhcp30-server/files/patch-site.conf b/net/isc-dhcp30-server/files/patch-site.conf deleted file mode 100644 index 1149e0c7925c..000000000000 --- a/net/isc-dhcp30-server/files/patch-site.conf +++ /dev/null @@ -1,42 +0,0 @@ ---- site.conf.orig Wed Jul 7 17:20:10 1999 -+++ site.conf Wed Mar 3 14:00:14 2004 -@@ -1,2 +1,39 @@ - # 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 -+CLIENT_PATH = \"PATH=/sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/sbin:${PREFIX}/bin\" -+ -+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=\"$(VARRUN)/dhclient.pid\" -+ -+CFLAGS += -Dwarn=dhcp_warn -+CFLAGS += -DNOMINUM diff --git a/net/isc-dhcp30-server/pkg-descr b/net/isc-dhcp30-server/pkg-descr deleted file mode 100644 index 86bbb3cc62f0..000000000000 --- a/net/isc-dhcp30-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 (this port) - * 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-dhcp30-server/pkg-install b/net/isc-dhcp30-server/pkg-install deleted file mode 100644 index 547e94efc046..000000000000 --- a/net/isc-dhcp30-server/pkg-install +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -[ $# != 2 ] && exit 1 -[ -z "${PKG_PREFIX}" ] && exit 1 -[ -n "${BATCH}" ] && exit 0 - -case $2 in -POST-INSTALL) - if [ -x ${PKG_PREFIX}/etc/rc.d/isc-dhcpd ]; then - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd forceinstall - else - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd.sh forceinstall - fi - ;; -DEINSTALL) - if [ -x ${PKG_PREFIX}/etc/rc.d/isc-dhcpd ]; then - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd forceuninstall - else - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd.sh forceuninstall - fi - ;; -POST-DEINSTALL|PRE-INSTALL) - ;; -*) - echo "usage: $0 <PKG_NAME> {PRE-INSTALL|POST-INSTALL|DEINSTALL|POST-DEINSTALL}" >&2 - exit 1 - ;; -esac diff --git a/net/isc-dhcp30-server/pkg-message b/net/isc-dhcp30-server/pkg-message deleted file mode 100644 index 754d49ae331f..000000000000 --- a/net/isc-dhcp30-server/pkg-message +++ /dev/null @@ -1,53 +0,0 @@ -**** To setup dhcpd, you may have to copy %%PREFIX%%/etc/dhcpd.conf.sample - to %%PREFIX%%/etc/dhcpd.conf for editing. - -**** This port installs dhcp daemon, but don't invokes dhcpd by default. If - you want to invoke dhcpd at startup, put these lines into /etc/rc.conf. - - dhcpd_enable="YES" # dhcpd enabled? - dhcpd_flags="-q" # command option(s) - dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf" # configuration file - dhcpd_ifaces="" # ethernet interface(s) - dhcpd_withumask="022" # file creation mask - -**** If compiled with paranoia support (the default), the following lines - are also supported: - - dhcpd_chuser_enable="YES" # runs w/o privileges? - dhcpd_withuser="dhcpd" # user name to run as - dhcpd_withgroup="dhcpd" # group name to run as - dhcpd_chroot_enable="YES" # runs chrooted? - dhcpd_devfs_enable="YES" # use devfs if available? - dhcpd_makedev_enable="YES" # use MAKEDEV instead? - dhcpd_rootdir="/var/db/dhcpd" # directory to run in - dhcpd_includedir="<some_dir>" # directory with config- - files to include - dhcpd_flags="-early_chroot" # needs full root - - WARNING: -early_chroot requires a jail(8) like environment to work. - - WARNING: dhcpd_devfs_enable and dhcpd_makedev_enable are mutually - exclusive - dhcpd_makedev_enable make NO sense on FreeBSD 5.x and up! - -**** If compiled with jail support (the default), the following lines are - also supported (-early_chroot and dhcpd_chroot_enable=YES are implied): - - dhcpd_jail_enable="YES" # runs imprisoned? - dhcpd_hostname="<hostname>" # jail hostname - dhcpd_ipaddress="<ip address>" # jail ip address - - WARNING: dhcpd_rootdir needs to point to a full jail(8) environment. - -**** WARNING: never edit the chrooted or jailed dhcpd.conf file but - %%PREFIX%%/etc/dhcpd.conf instead which is always copied where - needed upon startup. - -**** WARNING: %%PREFIX%%/etc/rc.isc-dhcpd.conf is obsolete. rc.conf like - variables are still read there but should be moved /etc/rc.conf or - /etc/rc.conf.d/dhcpd instead. Also, the dhcpd_options variable must - be renamed dhcpd_flags if any. -%%LDAP%% -%%LDAP%%**** You have requested support for the LDAP configuration backend. -%%LDAP%% The OpenLDAP schema file is installed as %%SCHEMA_DIR%%/dhcp.schema. -%%LDAP%% See %%DOCSDIR%%/README.ldap for further LDAP configuration details. diff --git a/net/isc-dhcp30-server/pkg-plist b/net/isc-dhcp30-server/pkg-plist deleted file mode 100644 index e1028012ff4e..000000000000 --- a/net/isc-dhcp30-server/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -@comment $FreeBSD$ -@unexec %D/etc/rc.d/isc-dhcpd.sh forcestop 2>/dev/null || true -@unexec %D/etc/rc.d/isc-dhcpd forcestop 2>/dev/null || true -bin/omshell -%%LDAP%%bin/dhcpd-conf-to-ldap.pl -etc/dhcpd.conf.sample -sbin/dhcpd -%%LDAP%%%%SCHEMA_DIR%%/dhcp.schema -%%LDAP%%@dirrm %%SCHEMA_DIR%% diff --git a/net/isc-dhcp31-client/Makefile b/net/isc-dhcp31-client/Makefile deleted file mode 100644 index c0799f3e6e54..000000000000 --- a/net/isc-dhcp31-client/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: dhcp -# Date created: 28 April 2003 -# Whom: cyrille.lefevre@laposte.net -# -# $FreeBSD$ -# - -COMMENT= The ISC Dynamic Host Configuration Protocol client - -# Local variables -# - -SUBSYS= client - -# Local overrides -# - -MASTERDIR= ${.CURDIR}/../isc-dhcp3-server - -.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp31-client/pkg-descr b/net/isc-dhcp31-client/pkg-descr deleted file mode 100644 index 7dc1bc78ea95..000000000000 --- a/net/isc-dhcp31-client/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 (this port) - * 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-dhcp31-client/pkg-message b/net/isc-dhcp31-client/pkg-message deleted file mode 100644 index b406fd04fbd8..000000000000 --- a/net/isc-dhcp31-client/pkg-message +++ /dev/null @@ -1,10 +0,0 @@ -**** To setup dhclient, you may need to edit /etc/rc.conf to replace the - base system dhclient, such as : - - dhcp_program="%%PREFIX%%/sbin/dhclient" - dhcp_flags="-q" - - See dhclient(8), using the following command, for details about other - possible options: - - MANPATH=%%MAN1PREFIX%%/man man 8 dhclient diff --git a/net/isc-dhcp31-client/pkg-plist b/net/isc-dhcp31-client/pkg-plist deleted file mode 100644 index 1c8e80e6c6eb..000000000000 --- a/net/isc-dhcp31-client/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -@comment $FreeBSD: /tmp/pcvs/ports/net/isc-dhcp31-client/Attic/pkg-plist,v 1.3 2004-06-26 08:46:05 eik Exp $ -etc/dhclient.conf.sample -@exec [ -f %D/etc/dhclient.conf ] || touch %D/etc/dhclient.conf -@unexec [ -L %D/etc/dhclient.conf -o -s %D/etc/dhclient.conf ] || rm -f %D/etc/dhclient.conf -sbin/dhclient -sbin/dhclient-script -@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases -@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases diff --git a/net/isc-dhcp31-relay/Makefile b/net/isc-dhcp31-relay/Makefile deleted file mode 100644 index e739f7a0e6db..000000000000 --- a/net/isc-dhcp31-relay/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: dhcp -# Date created: 28 April 2003 -# Whom: cyrille.lefevre@laposte.net -# -# $FreeBSD$ -# - -COMMENT= The ISC Dynamic Host Configuration Protocol relay - -# Local variables -# - -SUBSYS= relay - -# Local overrides -# - -MASTERDIR= ${.CURDIR}/../isc-dhcp3-server - -.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp31-relay/pkg-descr b/net/isc-dhcp31-relay/pkg-descr deleted file mode 100644 index b764dbf45a19..000000000000 --- a/net/isc-dhcp31-relay/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 (this port) - -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-dhcp31-relay/pkg-message b/net/isc-dhcp31-relay/pkg-message deleted file mode 100644 index af6992fb34a5..000000000000 --- a/net/isc-dhcp31-relay/pkg-message +++ /dev/null @@ -1,13 +0,0 @@ -**** This port installs dhcp relay daemon, but don't invokes dhcrelay by - default. If you want to invoke dhcrelay at startup, put these lines - into /etc/rc.conf. - - dhcrelay_enable="YES" - dhcrelay_flags="" # command option(s) - dhcrelay_servers="" # dhcrelay server(s) - dhcrelay_ifaces="" # ethernet interface(s) - -**** For instance, rc.conf like variables are still read from - %%PREFIX%%/etc/rc.isc-dhcrelay.conf. They should be move - into /etc/rc.conf. Also, the dhcrelay_options variable - must be renamed dhcrelay_flags. diff --git a/net/isc-dhcp31-relay/pkg-plist b/net/isc-dhcp31-relay/pkg-plist deleted file mode 100644 index 1e66232a86cc..000000000000 --- a/net/isc-dhcp31-relay/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -@comment $FreeBSD: /tmp/pcvs/ports/net/isc-dhcp31-relay/Attic/pkg-plist,v 1.5 2006-08-25 12:02:58 sem Exp $ -@unexec %D/etc/rc.d/isc-dhcrelay.sh forcestop 2>/dev/null || true -@unexec %D/etc/rc.d/isc-dhcrelay forcestop 2>/dev/null || true -sbin/dhcrelay diff --git a/net/isc-dhcp31-server/Makefile b/net/isc-dhcp31-server/Makefile deleted file mode 100644 index ea88ac706d0f..000000000000 --- a/net/isc-dhcp31-server/Makefile +++ /dev/null @@ -1,358 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: dhcp -# Date created: 7 Mar 1996 -# Whom: se -# -# $FreeBSD$ -# - -PORTNAME= dhcp -PORTVERSION= 3.0.5 -PORTREVISION= ${DHCP_PORTREVISION} -CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_ISC} -MASTER_SITE_SUBDIR= dhcp dhcp/dhcp-3.0-history -PKGNAMEPREFIX= isc- -PKGNAMESUFFIX= 3-${SUBSYS} -DISTNAME= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL} - -MAINTAINER= Joerg.Pulz@frm2.tum.de -COMMENT?= The ISC Dynamic Host Configuration Protocol server - -PORTREVISION_SERVER= 2 -PORTREVISION_CLIENT= 0 -PORTREVISION_RELAY= 0 -PORTREVISION_DEVEL= 0 - -SUBSYS?= server - -UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} -.if ${SUBSYS} == client -OPTIONS= INTERFACE_POLLING "interface polling support" on -.endif -.if ${SUBSYS} == server -OPTIONS= DHCP_PARANOIA "add -user, -group and -chroot options" on \ - DHCP_JAIL "add -chroot and -jail options" on \ - DHCP_SOCKETS "use sockets instead of /dev/bpf (jail-only)" off \ - DHCP_LDAP "add experimental LDAP backend support" off \ - DHCP_LDAP_SSL "support LDAP connection over SSL/TLS" on \ - OPENSSL_BASE "use the base system OpenSSL (required by TLS)" on \ - OPENSSL_PORT "use OpenSSL from ports (required by TLS)" off \ - DHCP_LQ "DHCPLEASEQUERY support used by Cisco uBR's" off -.endif - -# PORTREVISION handling -.if ${SUBSYS} == client -DHCP_PORTREVISION= ${PORTREVISION_CLIENT} -.elif ${SUBSYS} == relay -DHCP_PORTREVISION= ${PORTREVISION_RELAY} -.elif ${SUBSYS} == devel -DHCP_PORTREVISION= ${PORTREVISION_DEVEL} -.else -DHCP_PORTREVISION= ${PORTREVISION_SERVER} -.endif - -.include <bsd.port.pre.mk> - -.if ${SUBSYS} == server && defined(WITH_DHCP_LDAP) -# Based on patch from Brian Masney : -PATCH_SITES= http://www.newwave.net/~masneyb/:ldap \ - ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/:ldap -PATCHFILES= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL}-ldap-patch:ldap -PATCH_DIST_STRIP= -p1 - -USE_PERL5_RUN= yes -USE_OPENLDAP= yes - -.if !defined(WITHOUT_DHCP_LDAP_SSL) -USE_OPENSSL= yes -# hack to get bsd.openssl.mk included at this late state -.include "${PORTSDIR}/Mk/bsd.openssl.mk" -.endif -.endif - -.if ${SUBSYS} == server && defined(WITH_DHCP_LQ) -# Based on patch from Dmitry Sukhodoev : -PATCH_SITES+= http://bingo.ru/~raven/FreeBSD/patches/:dlq \ - ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/:dlq -PATCHFILES+= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL}-dlq-patch:dlq -.endif - -# Global variables -# - -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --subsys ${SUBSYS} -ALL_TARGET= all.${SUBSYS} -INSTALL_TARGET= install.${SUBSYS} -SCRIPTS_ENV+= PKG_PREFIX=${PREFIX} - -.if ${SUBSYS} == client -MAN5= dhclient.conf.5 dhclient.leases.5 -MAN8= dhclient.8 dhclient-script.8 -.elif ${SUBSYS} == server -MAN1= omshell.1 -MAN5= dhcpd.conf.5 dhcpd.leases.5 -MAN8= dhcpd.8 -.elif ${SUBSYS} == relay -MAN8= dhcrelay.8 -.else -MAN3= dhcpctl.3 omapi.3 -.endif -.if ${SUBSYS} != relay -MAN5+= dhcp-eval.5 dhcp-options.5 -.endif - -MSG_FILE= ${.CURDIR}/pkg-message -DESCR= ${.CURDIR}/pkg-descr -PKGINSTALL= ${.CURDIR}/pkg-install -PKGDEINSTALL= ${PKGINSTALL} -PKGMESSAGE= ${WRKDIR}/pkg-message -PLIST= ${.CURDIR}/pkg-plist - -# Local variables -# - -# for instance, possible versions are: -# 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.2.3, 1.2 -# so, the magic things are: -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 -.if ${SUBSYS} == server || ${SUBSYS} == devel -PATCH_SUBDIRS+= dhcpctl -.endif -.if ${SUBSYS} != devel -PATCH_SUBDIRS+= ${SUBSYS} -.endif -.if ${SUBSYS} == server -PATCH_SUBDIRS+= omshell -.endif - -.if !defined(NOPORTDOCS) -PORTDOCS= LICENSE README RELNOTES -.endif -.if ${SUBSYS} == client -BIN_FILES= dhclient -LOCAL_CONF_FILES= dhclient.conf -SAMP_FILES= client/dhclient.conf -DATA_FILES= dhclient.leases -.elif ${SUBSYS} == server -BIN_FILES= dhcpd omshell -USE_RC_SUBR= isc-dhcpd -SAMP_FILES= server/dhcpd.conf -DATA_FILES= dhcpd.leases -.if defined(WITH_DHCP_LDAP) -PORTDOCS+= README.ldap -LDAP_SCRIPT= contrib/dhcpd-conf-to-ldap.pl -LDAP_SCHEMA= contrib/dhcp.schema -.endif -.elif ${SUBSYS} == relay -BIN_FILES= dhcrelay -USE_RC_SUBR= isc-dhcrelay -.endif - -SAMP_SUFX= .sample - -CONF_DIR= ${PREFIX}/etc -SCHEMA_DIR= ${PREFIX}/share/${PKGBASE} -DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} -DATADIR= /var/db - -PLIST_SUB+= SCHEMA_DIR="${SCHEMA_DIR:S,^${PREFIX}/,,}" -.if defined(WITH_DHCP_LDAP) -PLIST_SUB+= LDAP="" -.else -PLIST_SUB+= LDAP="@comment " -.endif -REINPLACE_SUB= PREFIX=${PREFIX} -.if ${OSVERSION} >= 502100 -SUB_LIST+= NOLOGIN=/usr/sbin/nologin -.else -SUB_LIST+= NOLOGIN=/sbin/nologin -.endif -.if !defined(WITHOUT_DHCP_PARANOIA) -SUB_LIST+= PARANOIA=YES -.else -SUB_LIST+= PARANOIA=NO -.endif -.if !defined(WITHOUT_DHCP_JAIL) -SUB_LIST+= JAIL=YES -.else -SUB_LIST+= JAIL=NO -.endif -PKGMESSAGE_SUB= PREFIX="${PREFIX}" MAN1PREFIX="${MAN1PREFIX}" \ - DOCSDIR="${DOCSDIR}" SCHEMA_DIR="${SCHEMA_DIR}" - -# Post-extract -# - -post-extract: extract-omshell extract-script - -extract-omshell: - @${MKDIR} ${WRKSRC}/omshell - @${MV} ${WRKSRC}/dhcpctl/omshell.? ${WRKSRC}/omshell - @${CP} ${FILESDIR}/omshell::Makefile.dist \ - ${WRKSRC}/omshell/Makefile.dist - -extract-script: - @${CP} ${FILESDIR}/client::scripts::freebsd ${WRKSRC}/client/scripts/freebsd - -# Post-patch -# - -post-patch: patch-scripts patch-makefile-conf \ - patch-makefiles-dist patch-man-pages \ - patch-pkgmessage patch-site-conf \ - patch-dlq - -patch-scripts: - @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${WRKSRC}/client/dhclient.conf \ - ${WRKSRC}/client/scripts/freebsd - -patch-site-conf: -.if ${SUBSYS} == client && !defined(WITHOUT_INTERFACE_POLLING) - @${ECHO_CMD} CFLAGS += -DENABLE_POLLING_MODE >> ${WRKSRC}/site.conf -.endif -.if ${SUBSYS} == server -.if !defined(WITHOUT_DHCP_PARANOIA) - @${ECHO_CMD} CFLAGS += -DPARANOIA >> ${WRKSRC}/site.conf -.endif -.if !defined(WITHOUT_DHCP_JAIL) - @${ECHO_CMD} CFLAGS += -DJAIL >> ${WRKSRC}/site.conf -.if defined(WITH_DHCP_SOCKETS) - @${ECHO_CMD} CFLAGS += -DUSE_SOCKETS >> ${WRKSRC}/site.conf -.endif -.endif -.if defined(WITH_DHCP_LDAP) - @${ECHO_CMD} CFLAGS += -I${LOCALBASE}/include >> ${WRKSRC}/site.conf - @${ECHO_CMD} LIBS += -L${LOCALBASE}/lib >> ${WRKSRC}/site.conf -.if !defined(WITHOUT_DHCP_LDAP_SSL) - @${ECHO_CMD} CFLAGS += -DUSE_SSL -I${OPENSSLINC} >> ${WRKSRC}/site.conf - @${ECHO_CMD} LIBS += -L${OPENSSLLIB} >> ${WRKSRC}/site.conf - @${ECHO_CMD} LIBS += -lcrypto -lssl >> ${WRKSRC}/site.conf -.endif -.endif -.endif - -patch-makefile-conf: - @${REINPLACE_CMD} -e 's|^DEBUG[ ]*=|# DEBUG ?=|g' \ - ${WRKSRC}/Makefile.conf - -patch-makefiles-dist: -.for subdir in ${PATCH_SUBDIRS} - @${REINPLACE_CMD} -e 's|^CFLAGS[ ]*=|CFLAGS +=|g' \ - ${WRKSRC}/${subdir}/Makefile.dist -.endfor - -# temporary hack - no patch file needed for this typo. -patch-man-pages: - @${REINPLACE_CMD} -e '/^\.Fd$$/d' ${WRKSRC}/dhcpctl/dhcpctl.3 - -patch-pkgmessage: -.if ${SUBSYS} != devel - @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${MSG_FILE} > ${PKGMESSAGE} -.if defined(WITH_DHCP_LDAP) - @${REINPLACE_CMD} -e 's|^%%LDAP%%||g' ${PKGMESSAGE} -.else - @${REINPLACE_CMD} -e '/^%%LDAP%%/d' ${PKGMESSAGE} -.endif -.endif - -patch-dlq: -.if ${SUBSYS} == server && defined(WITH_DHCP_LQ) -.if defined(WITH_DHCP_LDAP) - @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-dlq-ldap -.else - @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-dlq -.endif -.endif - -# Post-install -# - -POST-INSTALL= parallel-post-install install-rc-script configure-package \ - display-message -.ORDER: ${POST-INSTALL} -post-install: ${POST-INSTALL} - -parallel-post-install: \ - strip-binary-files \ - install-doc-files install-ldap-files install-sample-files \ - create-conf-files create-data-files - -strip-binary-files: -.for f in ${BIN_FILES} -.if exists(${PREFIX}/bin/${f}) - @${STRIP_CMD} ${PREFIX}/bin/${f} -.endif -.if exists(${PREFIX}/sbin/${f}) - @${STRIP_CMD} ${PREFIX}/sbin/${f} -.endif -.endfor - -install-doc-files: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor -.endif - -install-ldap-files: -.if ${SUBSYS} == server && defined(WITH_DHCP_LDAP) - @${INSTALL_SCRIPT} ${WRKSRC}/${LDAP_SCRIPT} ${PREFIX}/bin - @${MKDIR} ${SCHEMA_DIR} - @${INSTALL_DATA} ${WRKSRC}/${LDAP_SCHEMA} ${SCHEMA_DIR} -.endif - -install-sample-files: -.for f in ${SAMP_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${CONF_DIR}/${f:T}${SAMP_SUFX} -.endfor - -create-conf-files: -.for f in ${LOCAL_CONF_FILES} -.if !exists(${CONF_DIR}/${f}) - @${TOUCH} ${CONF_DIR}/${f} -.endif -.endfor - -create-data-files: -.for f in ${DATA_FILES} -.if !exists(${DATADIR}/${f}) - @${TOUCH} ${DATADIR}/${f} -.endif -.endfor - -configure-package: -.if ${SUBSYS} == server - @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif - -display-message: -.if ${SUBSYS} != devel - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} -.endif - -.include <bsd.port.post.mk> diff --git a/net/isc-dhcp31-server/distinfo b/net/isc-dhcp31-server/distinfo deleted file mode 100644 index 399a8acbe95c..000000000000 --- a/net/isc-dhcp31-server/distinfo +++ /dev/null @@ -1,9 +0,0 @@ -MD5 (dhcp-3.0.5.tar.gz) = ce5d30d4645e4eab1f54561b487d1ec7 -SHA256 (dhcp-3.0.5.tar.gz) = dd445fb2a341cdd69e85693dce6f8fda1a1c9d0e98d34c01afc3e68d8037ffb6 -SIZE (dhcp-3.0.5.tar.gz) = 876591 -MD5 (dhcp-3.0.5-ldap-patch) = 41cde9e9a768bf12390288465ef30bbd -SHA256 (dhcp-3.0.5-ldap-patch) = e700472acb890b504ae5199500a0e87ca1da607946b2f3a8a8958f82d0a277c0 -SIZE (dhcp-3.0.5-ldap-patch) = 192308 -MD5 (dhcp-3.0.5-dlq-patch) = 0e071945cc986d7ecdfd9b41fc4a102b -SHA256 (dhcp-3.0.5-dlq-patch) = c3fd3200eaf00fa80cb37f19bd3b9edb89497c235b5fa594a0f6f60050f64108 -SIZE (dhcp-3.0.5-dlq-patch) = 7655 diff --git a/net/isc-dhcp31-server/files/client::scripts::freebsd b/net/isc-dhcp31-server/files/client::scripts::freebsd deleted file mode 100644 index 9c4c3d3a6f24..000000000000 --- a/net/isc-dhcp31-server/files/client::scripts::freebsd +++ /dev/null @@ -1,510 +0,0 @@ -#!/bin/sh - -############################################################################# -# -# Copyright (c) 1999, MindStep Corporation -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. -# -# -############################################################################# -# -# This script was written by Patrick Bihan-Faou, patrick@mindstep.com, -# Please contact us for bug reports, etc. -# -############################################################################# -# $MindStep_Id: dhclient-script.sh,v 1.8 1999/12/07 22:11:08 patrick Exp $ -# $MindStep_Tag: CONTRIB_19991207 $ -# from FreeBSD: src/sbin/dhclient/dhclient-script.sh,v 1.2 2002/02/01 18:46:58 alfred Exp -# $FreeBSD$ -############################################################################# - - -############################################################################# -# hook functions prototypes -# -# The "pre_state_XXX_hook" functions are called before the main -# work is done for the state XXX -# -# The "post_state_XXX_hook" functions are called after the main -# work is done for the state XXX -# -# These functions are meant to be overridden by the user's -# dhclient-enter-hooks file -############################################################################# - -pre_state_MEDIUM_hook () { } -pre_state_PREINIT_hook () { } -pre_state_ARPCHECK_hook () { } -pre_state_ARPSEND_hook () { } -pre_state_RENEW_hook () { } -pre_state_REBIND_hook () { } -pre_state_BOUND_hook () { } -pre_state_REBOOT_hook () { } -pre_state_EXPIRE_hook () { } -pre_state_FAIL_hook () { } -pre_state_TIMEOUT_hook () { } -post_state_MEDIUM_hook () { } -post_state_PREINIT_hook () { } -post_state_ARPCHECK_hook () { } -post_state_ARPSEND_hook () { } -post_state_RENEW_hook () { } -post_state_REBIND_hook () { } -post_state_BOUND_hook () { } -post_state_REBOOT_hook () { } -post_state_EXPIRE_hook () { } -post_state_FAIL_hook () { } -post_state_TIMEOUT_hook () { } - -############################################################################# -# make_resolv_conf -# -# This function is called to update the information related to the -# DNS configuration (the resolver part) -############################################################################# -make_resolv_conf () -{ - if [ "x$new_domain_name" != x ] && [ "x$new_domain_name_servers" != x ]; then - echo search $new_domain_name >/etc/resolv.conf - for nameserver in $new_domain_name_servers; do - echo nameserver $nameserver >>/etc/resolv.conf - done - fi -} - -############################################################################# -# set_XXX -# unset_XXX -# -# These function each deal with one particular setting. -# They are OS dependent and may be overridden in the -# dhclient-enter-hooks file if needed. -# -# These functions are called with either "new" or "old" to indicate which -# set of variables to use (new_ip_address or old_ip_address...) -# -############################################################################# - -update_hostname () -{ - local current_hostname=`/bin/hostname` - - if [ "$current_hostname" = "" ] || \ - [ "$current_hostname" = "$old_host_name" ] - then - if [ "$new_host_name" != "$old_host_name" ] - then - $LOGGER "New Hostname: $new_host_name" - hostname $new_host_name - fi - fi -} - -set_ip_address () -{ - local ip - local mask - local bcast - - if [ $# -lt 1 ] - then - return 1 - fi - - eval ip="\$${1}_ip_address" - eval mask="\$${1}_subnet_mask" - eval bcast="\$${1}_broadcast_address" - - if [ "$ip" != "" ] - then - ifconfig $interface inet $ip netmask $mask broadcast $bcast $medium -# route add $ip 127.0.0.1 > /dev/null 2>&1 - fi -} - -unset_ip_address () -{ - local ip - - if [ $# -lt 1 ] - then - return 1 - fi - - eval ip="\$${1}_ip_address" - - if [ "$ip" != "" ] - then - ifconfig $interface inet -alias $ip $medium -# route delete $ip 127.0.0.1 > /dev/null 2>&1 - fi -} - -set_ip_alias () -{ - if [ "$alias_ip_address" != "" ] - then - ifconfig $interface inet alias $alias_ip_address netmask $alias_subnet_mask -# route add $alias_ip_address 127.0.0.1 - fi -} - -unset_ip_alias () -{ - if [ "$alias_ip_address" != "" ] - then - ifconfig $interface inet -alias $alias_ip_address > /dev/null 2>&1 -# route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1 - fi -} - -set_routers () -{ - local router_list - - if [ $# -lt 1 ] - then - return 1 - fi - - eval router_list="\$${1}_routers" - - for router in $router_list - do - route add default $router >/dev/null 2>&1 - done -} - -unset_routers () -{ - local router_list - - if [ $# -lt 1 ] - then - return 1 - fi - - eval router_list="\$${1}_routers" - - for router in $router_list - do - route delete default $router >/dev/null 2>&1 - done -} - -set_static_routes () -{ - local static_routes - - if [ $# -lt 1 ] - then - return 1 - fi - - eval static_routes="\$${1}_static_routes" - - set static_routes - - while [ $# -ge 2 ] - do - $LOGGER "New Static Route: $1 -> $2" - route add $1 $2 - shift; shift - done -} - -unset_static_routes () -{ - local static_routes - - if [ $# -lt 1 ] - then - return 1 - fi - - eval static_routes="\$${1}_static_routes" - - set static_routes - - while [ $# -ge 2 ] - do - route delete $1 $2 - shift; shift - done -} - -############################################################################# -# -# utility functions grouping what needs to be done in logical units. -# -############################################################################# - -set_all () -{ - set_ip_address new - set_routers new - set_static_routes new - - if [ "$new_ip_address" != "$alias_ip_address" ] - then - set_ip_alias - fi -} - -set_others () -{ - update_hostname - make_resolv_conf -} - -clear_arp_table () -{ - arp -d -a -} - -unset_all () -{ - if [ "$alias_ip_address" != "$old_ip_address" ] - then - unset_ip_alias - fi - - if [ "$old_ip_address" != "" ] - then - unset_ip_address old - unset_routers old - unset_static_routes old - clear_arp_table - fi -} - -test_new_lease () -{ - local rc - - set $new_routers - - if [ $# -ge 1 ] - then - set_ip_address new - if ping -q -c 1 $1 - then - rc=0 - else - rc=1 - fi - unset_ip_address new - else - rc=1 - fi - return $rc -} - -############################################################################# -# Main State functions. -# -# There is a state function for each state of the DHCP client -# These functions are OS specific and should be be tampered with. -############################################################################# - -in_state_MEDIUM () -{ - ifconfig $interface $medium - ifconfig $interface inet -alias 0.0.0.0 $medium >/dev/null 2>&1 - sleep 1 - exit_status=0 -} - -in_state_PREINIT () -{ - unset_ip_alias - - ifconfig $interface inet 0.0.0.0 netmask 0.0.0.0 \ - broadcast 255.255.255.255 up - exit_status=0 -} - -in_state_ARPCHECK () -{ - exit_status=0 -} - -in_state_ARPSEND () -{ - exit_status=0 -} - -in_state_RENEW () -{ - if [ "$old_ip_address" != "$new_ip_address" ] - then - unset_all - set_all - fi - - set_others -} - -in_state_REBIND () { - in_state_RENEW -} - -in_state_BOUND () { - unset_all - set_all - set_others -} - -in_state_REBOOT () { - in_state_BOUND -} - -in_state_EXPIRE () -{ - unset_all - set_ip_alias - exit_status=0 -} - -in_state_FAIL () { - in_state_EXPIRE -} - -in_state_TIMEOUT () -{ - unset_all - - if test_new_lease - then - set_all - set_others - else - $LOGGER "No good lease information in TIMEOUT state" - set_ip_alias - exit_status=1 - fi -} - -############################################################################# -# Main functions: -# -# dhclient_script_init() parses the optional "enter_hooks" script which can -# override any of the state functions -# -# This function also parses the variables and notifies the detected changes. -############################################################################# -dhclient_script_init () -{ - if [ "$new_network_number" != "" ] - then - $LOGGER "New Network Number: $new_network_number" - fi - - if [ "$new_ip_address" != "" ] - then - $LOGGER "New IP Address: $new_ip_address" - fi - - if [ "$new_broadcast_address" != "" ] - then - $LOGGER "New Broadcast Address: $new_broadcast_address" - fi - - if [ "$new_subnet_mask" != "" ] - then - $LOGGER "New Subnet Mask for $interface: $new_subnet_mask" - fi - - if [ "$alias_subnet_mask" != "" ] - then - fi -} - -############################################################################# -# dhclient_main() does the appropriate work depending on the state of -# the dhcp client -############################################################################# -dhclient_script_main () -{ -# set -x - exit_status=0 - - case $reason in - MEDIUM|\ - PREINIT|\ - ARPCHECK|\ - ARPSEND|\ - RENEW|\ - REBIND|\ - BOUND|\ - REBOOT|\ - EXPIRE|\ - FAIL|\ - TIMEOUT) - pre_state_${reason}_hook - in_state_${reason} - post_state_${reason}_hook - ;; - *) - $LOGGER "dhclient-script called with invalid reason $reason" - exit_status=1 - ;; - esac -} - -############################################################################# -# Let's do the work... -############################################################################# - -if [ -x /usr/bin/logger ]; then - LOGGER="/usr/bin/logger -s -p user.notice -t dhclient" -else - LOGGER=echo -fi - -# Invoke the local dhcp client enter hooks, if they exist. -if [ -x %%PREFIX%%/etc/dhclient-enter-hooks ] -then - exit_status=0 - . %%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 - exit $exit_status - fi -fi - -dhclient_script_init -dhclient_script_main - -# Invokes the local dhcp client exit hooks, if any. -if [ -x %%PREFIX%%/etc/dhclient-exit-hooks ]; then - . %%PREFIX%%/etc/dhclient-exit-hooks -fi - -exit $exit_status - -############################################################################# -# That's all folks -############################################################################# diff --git a/net/isc-dhcp31-server/files/extra-patch-dlq b/net/isc-dhcp31-server/files/extra-patch-dlq deleted file mode 100644 index 5657af491721..000000000000 --- a/net/isc-dhcp31-server/files/extra-patch-dlq +++ /dev/null @@ -1,14 +0,0 @@ ---- server/Makefile.dist.orig Tue Jun 14 09:37:50 2005 -+++ server/Makefile.dist Tue Jun 14 09:37:50 2005 -@@ -25,9 +25,9 @@ - CATMANPAGES = dhcpd.cat8 dhcpd.conf.cat5 dhcpd.leases.cat5 - SEDMANPAGES = dhcpd.man8 dhcpd.conf.man5 dhcpd.leases.man5 - SRCS = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \ -- omapi.c mdb.c stables.c salloc.c ddns.c -+ omapi.c mdb.c stables.c salloc.c ddns.c dhcpleasequery.c - OBJS = dhcpd.o dhcp.o bootp.o confpars.o db.o class.o failover.o \ -- omapi.o mdb.o stables.o salloc.o ddns.o -+ omapi.o mdb.o stables.o salloc.o ddns.o dhcpleasequery.o - PROG = dhcpd - MAN = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5 - diff --git a/net/isc-dhcp31-server/files/extra-patch-dlq-ldap b/net/isc-dhcp31-server/files/extra-patch-dlq-ldap deleted file mode 100644 index 5f73fefb6f11..000000000000 --- a/net/isc-dhcp31-server/files/extra-patch-dlq-ldap +++ /dev/null @@ -1,14 +0,0 @@ ---- server/Makefile.dist.orig Tue Jun 14 09:39:39 2005 -+++ server/Makefile.dist Tue Jun 14 09:39:39 2005 -@@ -25,9 +25,9 @@ - CATMANPAGES = dhcpd.cat8 dhcpd.conf.cat5 dhcpd.leases.cat5 - SEDMANPAGES = dhcpd.man8 dhcpd.conf.man5 dhcpd.leases.man5 - SRCS = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \ -- ldap.c ldap_casa.c omapi.c mdb.c stables.c salloc.c ddns.c -+ ldap.c ldap_casa.c omapi.c mdb.c stables.c salloc.c ddns.c dhcpleasequery.c - OBJS = dhcpd.o dhcp.o bootp.o confpars.o db.o class.o failover.o \ -- ldap.o ldap_casa.o omapi.o mdb.o stables.o salloc.o ddns.o -+ ldap.o ldap_casa.o omapi.o mdb.o stables.o salloc.o ddns.o dhcpleasequery.o - PROG = dhcpd - MAN = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5 - diff --git a/net/isc-dhcp31-server/files/isc-dhcpd.in b/net/isc-dhcp31-server/files/isc-dhcpd.in deleted file mode 100644 index 82f249ad5571..000000000000 --- a/net/isc-dhcp31-server/files/isc-dhcpd.in +++ /dev/null @@ -1,729 +0,0 @@ -#! /bin/sh -# -# $FreeBSD$ -# -# PROVIDE: dhcpd -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf to enable dhcpd: -# -# dhcpd_enable="YES" -# - -. %%RC_SUBR%% - -name=dhcpd -paranoia=%%PARANOIA%% # compiled in paranoia? -jail=%%JAIL%% # compiled in jail? - -load_rc_config ${name} - -# override these variables in /etc/rc.conf -dhcpd_enable=${dhcpd_enable:-"NO"} -dhcpd_flags=${dhcpd_flags:-} # -q -early_chroot # command option(s) -dhcpd_conf=${dhcpd_conf:-%%PREFIX%%/etc/${name}.conf} # configuration file -dhcpd_ifaces=${dhcpd_ifaces:-} # ethernet interface(s) -dhcpd_withumask=${dhcpd_withumask:-022} # file creation mask - -dhcpd_chuser_enable=${dhcpd_chuser_enable:-"%%PARANOIA%%"} # runs w/o privileges? -dhcpd_withuser=${dhcpd_withuser:-${name}} # user name to run as -dhcpd_withgroup=${dhcpd_withgroup:-${name}} # group name to run as - -dhcpd_chroot_enable=${dhcpd_chroot_enable:-"NO"} # runs chrooted? -dhcpd_devfs_enable=${dhcpd_devfs_enable:-"YES"} # devfs if available? -dhcpd_makedev_enable=${dhcpd_makedev_enable:-"NO"} # MAKEDEV instead of devfs? -dhcpd_rootdir=${dhcpd_rootdir:-/var/db/${name}} # directory to run in -dhcpd_includedir=${dhcpd_includedir:-} # directory for included config files - -# untested -dhcpd_jail_enable=${dhcpd_jail_enable:-"NO"} # runs imprisoned? -dhcpd_hostname=${dhcpd_hostname:-} # jail hostname -dhcpd_ipaddress=${dhcpd_ipaddress:-} # jail ip address - -safe_run () # rc command [args...] -{ - local _rc - - _rc=$1 - shift - - if [ "${_rc}" -eq 0 ]; then - debug safe_run: "$@" - "$@" || _rc=1 - else - warn safe_run: "$@" - fi - return ${_rc} -} - -precious () # entry... -{ - local _entry _rc - - _rc=0 - for _entry; do - # do nothing if /dev, /var/run or /var/db - echo ${_entry} | egrep -q '^//*(dev|var//*(run|db))?/*$' || _rc=1 - done - debug precious: "$@" rc=${_rc} - return ${_rc} -} - -lsmod () # user group file... -{ - local _entry _user _group _rc - - _user=$1 _group=$2 - shift 2 - - _rc=0 - for _entry; do - ls -ld ${_entry} 2> /dev/null | - awk -v u=${_user} -v g=${_group} '{ - exit ((u && $3 != u) || (g && $4 != g)) - }' || _rc=1 - done - debug lsmod: "$@" rc=${_rc} - return ${_rc} -} - -safe_chmog () # entry... -{ - local _entry _user _group _usergroup _rc - - _user=${dhcpd_withuser} - _group=${dhcpd_withgroup} - - _rc=0 - if [ -n "${_user}" -o -n "${_group}" ]; then - _usergroup=${_user}${_group:+:${_group}} - for _entry; do - if [ -d ${_entry} ] && mounted ${_entry}; then - continue - fi - if [ -e ${_entry} ] && - ! precious ${_entry} && - ! lsmod ${_user} ${_group} ${_entry} && - ! safe_run ${_rc} chown ${_usergroup} ${_entry}; then - warn "unable to change permissions of ${_entry}" - _rc=1 - fi - done - fi - return ${_rc} -} - -safe_mkdir () # dir... -{ - local _dir _rc - - _rc=0 - for _dir; do - if [ ! -d ${_dir} ] && - ! precious ${_dir} && - ! safe_run ${_rc} mkdir -p ${_dir}; then - err 1 "unable to create directory ${_dir}" - _rc=1 - fi - done - safe_run ${_rc} safe_chmog "$@" || _rc=1 - return ${_rc} -} - -safe_rmdir () # dir... -{ - local _dir _rc - - _rc=0 - for _dir; do - if [ -d ${_dir} ] && - ! precious ${_dir} && - ! mounted ${_dir}; then - if safe_run ${_rc} rmdir ${_dir}; then - safe_run ${_rc} safe_rmdir ${_dir%/*} || _rc=1 - else - warn "unable to remove directory ${_dir}" - _rc=1 - fi - fi - done - return ${_rc} -} - -safe_touch () # file... -{ - local _file _rc - - _rc=0 - for _file; do - if [ ! -e ${_file} ] && - ! safe_run ${_rc} touch ${_file}; then - err 1 "unable to create file ${_file}" - _rc=1 - fi - done - safe_run ${_rc} safe_chmog "$@" || _rc=1 - return ${_rc} -} - -safe_remove () # entry... -{ - local _entry _rc - - _rc=0 - for _entry; do - if [ -f ${_entry} ]; then - if ! safe_run ${_rc} rm -f ${_entry}; then - warn "unable to remove file ${_entry}" - _rc=1 - fi - elif [ -d ${_entry} ] && - ! precious ${_entry} && - ! mounted ${_entry}; then - if ! safe_run ${_rc} rm -rf ${_entry}; then - warn "unable to remove directory ${_entry}" - _rc=1 - fi - fi - done - return ${_rc} -} - -safe_copy () # src dst -{ - local _src _dst _rc - - _src=$1 _dst=$2 - - _rc=0 - if [ -f ${_src} ]; then - if ! safe_run ${_rc} safe_remove ${_dst} || - ! safe_run ${_rc} cp -p ${_src} ${_dst}; then - err 1 "unable to copy file ${_src} to ${_dst}" - _rc=1 - fi - safe_run ${_rc} safe_chmog ${_dst} || _rc=1 - elif [ -d ${_src} ] && - ! precious ${_dst} && - ! mounted ${_dst}; then - if ! safe_run ${_rc} pax -rw -pe -ts "|^${_src}||" \ - ${_src} ${_dst}; then - err 1 "unable to copy directory ${_src} to ${_dst}" - _rc=1 - fi - else - err 1 "unable to copy ${_src} to ${_dst}" \ - "-- not a file or a directory" - _rc=1 - fi - return ${_rc} -} - -mounted () # dir... -{ - local _rc - - _rc=1 - if checkyesno dhcpd_devfs_enable || - checkyesno dhcpd_jail_enable; then - mount -t devfs | awk ' - BEGIN { n = ARGC; ARGC = 2 } - { for (i = 2; i != n; i++) if ($3 == ARGV[i]) exit 1 } - ' - "$@" || _rc=0 - fi - debug mounted: "$@" rc=${_rc} - return ${_rc} -} - -safe_mount () # dir -{ - local _dir _rc - - _dir=$1 - - _rc=0 - if checkyesno dhcpd_devfs_enable && - ! mounted ${_dir} && - ! safe_run ${_rc} mount -t devfs devfs ${_dir}; then - err 1 "unable to mount ${_dir}" - _rc=1 - fi - return ${_rc} -} - -safe_umount () # dir -{ - local _dir _rc - - _dir=$1 - - _rc=0 - if checkyesno dhcpd_devfs_enable && - mounted ${_dir} && - ! safe_run ${_rc} umount ${_dir}; then - warn "unable to unmount ${_dir}" - _rc=1 - fi - return ${_rc} -} - -safe_useradd () -{ - local _user _group _home _shell _gecos - - _user=$1 _group=$2 _gecos=${3:-"& daemon"} - _home=${4:-/nonexistent} _shell=${5:-%%NOLOGIN%%} - - if [ -n "${_group}" ]; then - if pw group show ${_group} 2>/dev/null; then - echo "You already have a group \"${_group}\"," \ - "so I will use it." - elif pw groupadd ${_group} -h -; then - echo "Added group \"${_group}\"." - else - echo "Adding group \"${_group}\" failed..." - echo "Please create it, and try again." - exit 1 - fi - fi - if [ -n "${_user}" ]; then - if pw user show ${_user} 2>/dev/null; then - echo "You already have a user \"${_user}\"," \ - "so I will use it." - elif pw useradd ${_user} -g ${_group} -h - \ - -d ${_home} -s ${_shell} -c "${_gecos}"; then - echo "Added user \"${_user}\"." - else - echo "Adding user \"${_user}\" failed..." - echo "Please create it, and try again." - exit 1 - fi - fi -} - -check_chuser () -{ - if checkyesno paranoia; then - if checkyesno dhcpd_chuser_enable && - [ -z "${dhcpd_withuser}" -a -z "${dhcpd_withgroup}" ]; then - err 1 "one of dhcpd_withuser and dhcpd_withgroup" \ - "must be set if dhcpd_chuser_enable is enabled" - fi - else - if checkyesno dhcpd_chuser_enable; then - warn "dhcpd_chuser_enable disabled -- not compiled in" - dhcpd_chuser_enable=NO - fi - fi -} - -check_jail () -{ - if checkyesno paranoia && checkyesno jail; then - if checkyesno dhcpd_jail_enable && - ! checkyesno dhcpd_chroot_enable; then - warn "dhcpd_chroot_enable implied by dhcpd_jail_enable" - dhcpd_chroot_enable=YES - fi - if checkyesno dhcpd_jail_enable && - [ -n "${dhcpd_hostname}" -a -z "${dhcpd_ipaddress}" ] || - [ -z "${dhcpd_hostname}" -a -n "${dhcpd_ipaddress}" ]; then - err 1 "both dhcpd_hostname and dhcpd_ipaddress" \ - "must be set if dhcpd_jail_enable is enabled" - fi - else - if checkyesno dhcpd_jail_enable; then - warn "dhcpd_jail_enable disabled -- not compiled in" - dhcpd_jail_enable=NO - fi - fi -} - -check_chroot () -{ - if checkyesno paranoia; then - if checkyesno dhcpd_chroot_enable; then - if [ -z "${dhcpd_rootdir}" ]; then - err 1 "dhcpd_rootdir must be set" \ - "if dhcpd_chroot_enable is enabled" - fi - if checkyesno dhcpd_devfs_enable && - checkyesno dhcpd_makedev_enable; then - err 1 "dhcpd_devfs_enable and dhcpd_makedev_enable" \ - "are mutually exclusive. enable only one!" - fi - if checkyesno dhcpd_devfs_enable && - ! ( type mount_devfs ) > /dev/null 2>&1; then - warn "dhcpd_devfs_enable disabled" \ - "-- not available" - dhcpd_devfs_enable=NO - fi - if checkyesno dhcpd_makedev_enable && - ! [ -x ${__dhcpd_devdir}/MAKEDEV ]; then - warn "dhcpd_makedev_enable disabled" \ - "-- not available" - dhcpd_makedev_enable=NO - fi - else - dhcpd_devfs_enable=NO - dhcpd_makedev_enable=NO - fi - else - if checkyesno dhcpd_chroot_enable; then - warn "dhcpd_chroot_enable disabled -- not compiled in" - dhcpd_chroot_enable=NO - fi - dhcpd_devfs_enable=NO - dhcpd_makedev_enable=NO - fi -} - -rcvar_chuser () -{ - if checkyesno paranoia && checkyesno dhcpd_chuser_enable; then - dhcpd_piddir=${__dhcpd_piddir}/${name} - dhcpd_leasesdir=${__dhcpd_leasesdir}/${name} - else - dhcpd_withuser= dhcpd_withgroup= - fi -} - -rcvar_jail () -{ - if ! checkyesno paranoia || ! checkyesno jail || - ! checkyesno dhcpd_jail_enable; then - dhcpd_hostname= dhcpd_ipaddress= - fi -} - -rcvar_chroot () -{ - if ! checkyesno paranoia || ! checkyesno dhcpd_chroot_enable; then - dhcpd_rootdir= - elif checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - dhcpd_devdir=${__dhcpd_devdir} - dhcpd_etcdir=${__dhcpd_etcdir} - fi -} - -rcvar_pidnleases () -{ - if ! checkyesno dhcpd_chuser_enable; then - dhcpd_piddir=${__dhcpd_piddir} - dhcpd_leasesdir=${__dhcpd_leasesdir} - fi - dhcpd_pidfile=${dhcpd_piddir}/${name}.pid - dhcpd_leasesfile=${dhcpd_leasesdir}/${name}.leases - dhcpd_conffile=${dhcpd_conf} # for convenience only - dhcpd_confdir=$(dirname ${dhcpd_conffile}) -} - -rcvar_rooted () -{ - _dhcpd_rootdir=${dhcpd_rootdir} - _dhcpd_devdir=${dhcpd_rootdir}${dhcpd_devdir} - _dhcpd_etcdir=${dhcpd_rootdir}${dhcpd_etcdir} - _dhcpd_confdir=${dhcpd_rootdir}${dhcpd_confdir} - _dhcpd_includedir=${dhcpd_rootdir}${dhcpd_includedir} - _dhcpd_piddir=${dhcpd_rootdir}${dhcpd_piddir} - _dhcpd_leasesdir=${dhcpd_rootdir}${dhcpd_leasesdir} - _dhcpd_conffile=${dhcpd_rootdir}${dhcpd_conffile} - _dhcpd_pidfile=${dhcpd_rootdir}${dhcpd_pidfile} - _dhcpd_leasesfile=${dhcpd_rootdir}${dhcpd_leasesfile} -} - -setup_compat () -{ - local dhcpd_rcconf - - # suck in old configuration file and variables - # - dhcpd_rcconf=${dhcpd_confdir}/rc.isc-dhcpd.conf - - if [ -f ${dhcpd_rcconf} ]; then - warn "${dhcpd_rcconf} is obsolete, use /etc/rc.conf and/or" \ - "/etc/rc.conf.d/${name} instead." - . ${dhcpd_rcconf} - - if [ -n "${dhcpd_options}" -a -z "${rc_flags}" ]; then - warn "dhcpd_options is obsolete," \ - "use dhcpd_flags instead." - rc_flags=${dhcpd_options} - fi - fi -} - -setup_umask () -{ - if [ -n "${dhcpd_withumask}" ]; then - umask ${dhcpd_withumask} - fi -} - -setup_chroot () -{ - local _mdev _hconf _hosts _ltime _rconf - - _mdev=MAKEDEV - _hconf=host.conf - _hosts=hosts - _ltime=localtime - _rconf=resolv.conf - - if checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - if ! mounted ${_dhcpd_devdir}; then - safe_mkdir ${_dhcpd_devdir}/_ - # XXX /_ hack! so, .../dev is root owned. - fi - safe_mkdir ${_dhcpd_rootdir} ${_dhcpd_etcdir}/_ ${_dhcpd_confdir} - # XXX /_ hack! so, .../etc is root owned. - if checkyesno dhcpd_devfs_enable; then - safe_mount ${_dhcpd_devdir} - elif checkyesno dhcpd_makedev_enable; then - safe_copy ${dhcpd_devdir}/$_mdev ${_dhcpd_devdir}/$_mdev - safe_run 0 sh -c "cd ${_dhcpd_devdir} && ./$_mdev jail bpf4" - else - safe_copy ${dhcpd_devdir} ${_dhcpd_devdir} - fi - safe_copy ${dhcpd_conffile} ${_dhcpd_conffile} - safe_copy ${dhcpd_etcdir}/$_hconf ${_dhcpd_etcdir}/$_hconf - safe_copy ${dhcpd_etcdir}/$_hosts ${_dhcpd_etcdir}/$_hosts - safe_copy ${dhcpd_etcdir}/$_ltime ${_dhcpd_etcdir}/$_ltime - safe_copy ${dhcpd_etcdir}/$_rconf ${_dhcpd_etcdir}/$_rconf - # copy dhcpd_includedir if defined and available - if [ -d "${dhcpd_includedir}" ]; then - safe_mkdir ${_dhcpd_includedir} - safe_copy ${dhcpd_includedir} ${_dhcpd_includedir} - fi - fi -} - -setup_chuser () -{ - if checkyesno paranoia && { - checkyesno dhcpd_chuser_enable || checkyesno dhcpd_chroot_enable - }; then - safe_mkdir ${_dhcpd_piddir} ${_dhcpd_leasesdir} - fi -} - -setup_leases () -{ - safe_touch ${_dhcpd_leasesfile} -} - -setup_flags () -{ - if [ -n "${dhcpd_conf}" ]; then - rc_flags="${rc_flags} -cf ${dhcpd_conf}" - fi - if [ -n "${dhcpd_leasesfile}" ]; then - rc_flags="${rc_flags} -lf ${dhcpd_leasesfile}" - fi - if [ -n "${dhcpd_pidfile}" ]; then - rc_flags="${rc_flags} -pf ${dhcpd_pidfile}" - fi - if [ -n "${dhcpd_withuser}" ]; then - rc_flags="${rc_flags} -user ${dhcpd_withuser}" - fi - if [ -n "${dhcpd_withgroup}" ]; then - rc_flags="${rc_flags} -group ${dhcpd_withgroup}" - fi - if [ -n "${dhcpd_rootdir}" ]; then - rc_flags="${rc_flags} -chroot ${dhcpd_rootdir}" - fi - if [ -n "${dhcpd_hostname}" -a -n "${dhcpd_ipaddress}" ]; then - rc_flags="${rc_flags} -jail ${dhcpd_hostname} ${dhcpd_ipaddress}" - fi - rc_flags="${rc_flags} ${dhcpd_ifaces}" -} - -cleanup_chroot () -{ - if checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - safe_umount ${_dhcpd_devdir} - fi -} - -dhcpd_stop () -{ - if sh $0 forcestatus; then - sh $0 forcestop - fi -} - -remove_pid () -{ - if [ -e ${_dhcpd_pidfile} ]; then - warn "${_dhcpd_pidfile} still exists! -- removing anyway" - fi - safe_remove ${_dhcpd_pidfile} -} - -remove_leases () -{ - if [ -s ${_dhcpd_leasesfile} ]; then - warn "${_dhcpd_leasesfile} not empty -- not removed --" \ - "futher warning messages expected, don't care." - else - safe_remove ${_dhcpd_leasesfile} ${_dhcpd_leasesfile}~ - fi -} - -remove_chuser () -{ - if checkyesno paranoia && { - checkyesno dhcpd_chuser_enable || checkyesno dhcpd_chroot_enable - }; then - safe_rmdir ${_dhcpd_piddir} ${_dhcpd_leasesdir} - fi -} - -remove_chroot () -{ - if checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - safe_remove ${_dhcpd_conffile} ${_dhcpd_includedir} \ - ${_dhcpd_etcdir} - if checkyesno dhcpd_devfs_enable; then - safe_umount ${_dhcpd_devdir} - safe_rmdir ${_dhcpd_devdir}/_ # XXX /_ hack! - elif checkyesno dhcpd_jail_enable; then - if ! mounted ${_dhcpd_devdir}; then - safe_remove ${_dhcpd_devdir} - fi - else - safe_remove ${_dhcpd_devdir} - fi - safe_rmdir ${_dhcpd_confdir} ${_dhcpd_rootdir} # XXX /_ hack! - fi -} - -dhcpd_check () -{ - check_chuser - check_jail - check_chroot -} - -dhcpd_rcvar () -{ - rcvar_chuser - rcvar_jail - rcvar_chroot - rcvar_pidnleases - rcvar_rooted -} - -dhcpd_precmd () -{ - setup_compat - setup_umask - setup_chroot - setup_chuser - setup_leases - setup_flags -} - -dhcpd_postcmd () -{ - cleanup_chroot -} - -dhcpd_install () -{ - if checkyesno paranoia; then - safe_useradd "${dhcpd_withuser}" "${dhcpd_withgroup}" \ - "DHCP Daemon" - fi -} - -_dhcpd_uninstall () # user group root -{ - local _user _group _root - - _user=$1 _group=$2 _root=$3 - - if [ -n "${_user}" -o -n "${_group}" ]; then - dhcpd_chuser_enable=YES - dhcpd_withuser=${_user} - dhcpd_withgroup=${_group} - else - dhcpd_chuser_enable=NO - fi - if [ -n "${_root}" ]; then - dhcpd_chroot_enable=YES - dhcpd_rootdir=${_root} - else - dhcpd_chroot_enable=NO - fi - dhcpd_check - dhcpd_rcvar - dhcpd_uninstall -} - -dhcpd_uninstall () -{ - if checkyesno __dhcpd_uninstall; then - dhcpd_stop - remove_pid - remove_leases - remove_chuser - remove_chroot - else - local _user _group _root - - __dhcpd_uninstall=YES - - _user=${dhcpd_withuser} - _group=${dhcpd_withgroup} - _root=${dhcpd_rootdir} - - _dhcpd_uninstall "" "" "" - - if checkyesno paranoia; then - if [ -n "${_user}" -o -n "${_group}" ]; then - _dhcpd_uninstall "${_user}" "${_group}" "" - fi - if [ -n "${_root}" ]; then - _dhcpd_uninstall "" "" "${_root}" - fi - if [ -n "${_user}" -o -n "${_group}" ] && - [ -n "${_root}" ]; then - _dhcpd_uninstall "${_user}" "${_group}" "${_root}" - fi - fi - fi -} - -rcvar=${name}_enable -load_rc_config ${name} - -__dhcpd_uninstall="NO" # internal use only -__dhcpd_devdir=/dev # devices directory -__dhcpd_etcdir=/etc # etc directory -__dhcpd_piddir=/var/run # pid file directory -__dhcpd_leasesdir=/var/db # leases file directory -#__dhcpd_rootdir=/var/db/${name} # root directory - -dhcpd_check -dhcpd_rcvar - -command=%%PREFIX%%/sbin/${name} -pidfile=${_dhcpd_pidfile} -required_files=${dhcpd_conf} -start_precmd=${name}_precmd -stop_postcmd=${name}_postcmd -install_cmd=dhcpd_install -uninstall_cmd=dhcpd_uninstall -extra_commands="install uninstall" - -# Override /etc/rc.subr JID determiniation, because it doesn't -# work when we launch dhcpd in a jail. -if checkyesno dhcpd_jail_enable ; then - read pid junk < $pidfile 2>/dev/null - [ -n "$pid" ] && JID=`ps -o jid= -p $pid` -fi - -run_rc_command "$1" diff --git a/net/isc-dhcp31-server/files/isc-dhcrelay.in b/net/isc-dhcp31-server/files/isc-dhcrelay.in deleted file mode 100644 index db10841ff32a..000000000000 --- a/net/isc-dhcp31-server/files/isc-dhcrelay.in +++ /dev/null @@ -1,57 +0,0 @@ -#! /bin/sh -# -# $FreeBSD$ -# -# PROVIDE: dhcrelay -# REQUIRE: DAEMON -# -# Add the following line to /etc/rc.conf to enable dhcrelay: -# -# dhcrelay_enable="YES" -# - -# override these variables in /etc/rc.conf -dhcrelay_enable=${dhcrelay_enable:-"NO"} -dhcrelay_flags=${dhcrelay_flags:-} # command option(s) -dhcrelay_servers=${dhcrelay_servers:-} # dhcrelay server(s) -dhcrelay_ifaces=${dhcrelay_ifaces:-} # ethernet interface(s) - -dhcrelay_precmd () -{ - local ifaces - - dhcrelay_rcconf=%%PREFIX%%/etc/rc.isc-dhcrelay.conf - - if [ -f ${dhcrelay_rcconf} ]; then - warn "${dhcrelay_rcconf} is obsolete, use /etc/rc.conf instead." - . ${dhcrelay_rcconf} - - if [ -n "${dhcrelay_options}" -a -z "${rc_flags}" ]; then - warn "dhcrelay_options is obsolete, use dhcrelay_flags instead." - rc_flags=${dhcrelay_options} - fi - fi - - if [ -z "${dhcrelay_servers}" ]; then - err 1 "no dhcrelay server(s) configured." - fi - - ifaces= - for iface in ${dhcrelay_ifaces}; do - ifaces="${ifaces} -i ${iface}" - done - - rc_flags="${rc_flags} ${ifaces} ${dhcrelay_servers}" -} - -. %%RC_SUBR%% - -name=dhcrelay -rcvar=${name}_enable - -command=%%PREFIX%%/sbin/${name} -pidfile=/var/run/${name}.pid -start_precmd=${name}_precmd - -load_rc_config ${name} -run_rc_command "$1" diff --git a/net/isc-dhcp31-server/files/omshell::Makefile.dist b/net/isc-dhcp31-server/files/omshell::Makefile.dist deleted file mode 100644 index 34c90a2e7f53..000000000000 --- a/net/isc-dhcp31-server/files/omshell::Makefile.dist +++ /dev/null @@ -1,80 +0,0 @@ -# Makefile.dist -# -# Copyright (c) 1996-2002 Internet Software Consortium. -# Use is subject to license terms which appear in the file named -# ISC-LICENSE that should have accompanied this file when you -# received it. If a file named ISC-LICENSE did not accompany this -# file, or you are not sure the one you have is correct, you may -# obtain an applicable copy of the license at: -# -# http://www.isc.org/isc-license-1.0.html. -# -# This file is part of the ISC DHCP distribution. The documentation -# associated with this file is listed in the file DOCUMENTATION, -# included in the top-level directory of this release. -# -# Support and other services are available for ISC products - see -# http://www.isc.org for more information. -# - -CATMANPAGES = omshell.cat1 -SEDMANPAGES = omshell.man1 -SRCS = omshell.c -OBJS = omshell.o -PROG = omshell -MAN = omshell.1 - -INCLUDES = -I$(TOP)/dhcpctl $(BINDINC) -I$(TOP)/includes -CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) -DHCPCTLLIBS = ../dhcpctl/libdhcpctl.a ../common/libdhcp.a $(BINDLIB) \ - ../omapip/libomapi.a ../dst/libdst.a - -all: $(PROG) $(CATMANPAGES) - -$(PROG): $(OBJS) $(DHCPCTLLIBS) - $(CC) $(DEBUG) $(LFLAGS) -o $(PROG) $(OBJS) $(DHCPCTLLIBS) $(LIBS) - -install: all $(CATMANPAGES) - for dir in $(USRMANDIR) $(USERBINDIR); do \ - foo=""; \ - for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \ - foo=$${foo}/$$bar; \ - if [ ! -d $$foo ]; then \ - mkdir $$foo; \ - chmod 755 $$foo; \ - fi; \ - done; \ - done - $(INSTALL) omshell $(DESTDIR)$(USERBINDIR) - $(CHMOD) 755 $(DESTDIR)$(USERBINDIR)/omshell - $(MANINSTALL) $(MANFROM) omshell.$(MANCAT)1 $(MANTO) \ - $(DESTDIR)$(USRMANDIR)/omshell$(USRMANEXT) - -depend: - $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRCS) - -clean: - -rm -f $(OBJS) - -realclean: clean - -rm -f $(PROG) *~ $(CATMANPAGES) $(SEDMANPAGES) #* - -distclean: realclean - -rm -f Makefile - -links: - @for foo in $(SRCS) $(MAN); do \ - if [ ! -b $$foo ]; then \ - rm -f $$foo; \ - fi; \ - ln -s $(TOP)/omshell/$$foo $$foo; \ - done - -omshell.cat1: omshell.man1 - nroff -man omshell.man1 >omshell.cat1 - -omshell.man1: omshell.1 - sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \ - -e "s#RUNDIR#$(VARRUN)#g" < omshell.1 >omshell.man1 - -# Dependencies (semi-automatically-generated) diff --git a/net/isc-dhcp31-server/files/patch-Makefile b/net/isc-dhcp31-server/files/patch-Makefile deleted file mode 100644 index 7a8df08b137b..000000000000 --- a/net/isc-dhcp31-server/files/patch-Makefile +++ /dev/null @@ -1,76 +0,0 @@ ---- Makefile.orig Fri Nov 8 00:10:07 2002 -+++ Makefile Mon Apr 28 15:04:50 2003 -@@ -38,59 +38,59 @@ - # ``http://www.nominum.com''. - # - --all: -+all all.devel all.server all.relay all.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make all); \ -+ (cd work.$$sysname; make $@); \ - fi - --install: -+install install.devel install.server install.relay install.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make install); \ -+ (cd work.$$sysname; make $@); \ - fi - --depend: -+depend depend.devel depend.server depend.relay depend.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make depend); \ -+ (cd work.$$sysname; make $@); \ - fi - --clean: -+clean clean.devel clean.server clean.relay clean.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make clean); \ -+ (cd work.$$sysname; make $@); \ - fi - --realclean: -+realclean realclean.devel realclean.server realclean.relay realclean.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make realclean); \ -+ (cd work.$$sysname; make $@); \ - fi - --distclean: -+distclean distclean.devel distclean.server distclean.relay distclean.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make distclean); \ -+ (cd work.$$sysname; make $@); \ - fi - --links: -+links links.devel links.server links.relay links.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make links); \ -+ (cd work.$$sysname; make $@); \ - fi - diff --git a/net/isc-dhcp31-server/files/patch-Makefile.dist b/net/isc-dhcp31-server/files/patch-Makefile.dist deleted file mode 100644 index 0c09997023cc..000000000000 --- a/net/isc-dhcp31-server/files/patch-Makefile.dist +++ /dev/null @@ -1,226 +0,0 @@ ---- Makefile.dist.orig Fri Nov 8 00:10:08 2002 -+++ Makefile.dist Tue Apr 29 00:07:43 2003 -@@ -17,47 +17,200 @@ - # http://www.isc.org for more information. - # - --SUBDIRS= common $(MINIRES) dst omapip server client relay dhcpctl -+COMMON_SUBDIRS= common -+DEVEL_SUBDIRS= $(MINIRES) dst omapip dhcpctl -+SERVER_SUBDIRS= omshell server -+RELAY_SUBDIRS= relay -+CLIENT_SUBDIRS= client -+ -+DEVEL_BUILD_SUBDIRS= ${COMMON_SUBDIRS} ${DEVEL_SUBDIRS} -+SERVER_BUILD_SUBDIRS= ${SERVER_SUBDIRS} -+RELAY_BUILD_SUBDIRS= ${RELAY_SUBDIRS} -+CLIENT_BUILD_SUBDIRS= ${CLIENT_SUBDIRS} -+ -+DEVEL_INSTALL_SUBDIRS= ${COMMON_SUBDIRS} ${DEVEL_SUBDIRS} -+SERVER_INSTALL_SUBDIRS= ${COMMON_SUBDIRS} ${SERVER_SUBDIRS} -+RELAY_INSTALL_SUBDIRS= ${RELAY_SUBDIRS} -+CLIENT_INSTALL_SUBDIRS= ${COMMON_SUBDIRS} ${CLIENT_SUBDIRS} - --all: -- @for dir in ${SUBDIRS}; do \ -+all: all.server all.relay all.client -+ -+all.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Making all in $$dir"; \ -+ (cd $$dir; $(MAKE) all) || exit 1; \ -+ done -+ -+all.server: all.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Making all in $$dir"; \ -+ (cd $$dir; $(MAKE) all) || exit 1; \ -+ done -+ -+all.relay: all.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Making all in $$dir"; \ -+ (cd $$dir; $(MAKE) all) || exit 1; \ -+ done -+ -+all.client: all.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ - echo "Making all in $$dir"; \ - (cd $$dir; $(MAKE) all) || exit 1; \ -- done -+ done -+ -+install: install.devel install.server install.relay install.client -+ -+install.devel: -+ @for dir in ${DEVEL_INSTALL_SUBDIRS}; do \ -+ echo "Installing in $$dir"; \ -+ (cd $$dir; $(MAKE) install) || exit 1; \ -+ done - --install: -- @for dir in ${SUBDIRS}; do \ -+install.server: -+ @for dir in ${SERVER_INSTALL_SUBDIRS}; do \ - echo "Installing in $$dir"; \ - (cd $$dir; $(MAKE) install) || exit 1; \ -- done -+ done - --depend: -- @for dir in ${SUBDIRS}; do \ -+install.relay: -+ @for dir in ${RELAY_INSTALL_SUBDIRS}; do \ -+ echo "Installing in $$dir"; \ -+ (cd $$dir; $(MAKE) install) || exit 1; \ -+ done -+ -+install.client: -+ @for dir in ${CLIENT_INSTALL_SUBDIRS}; do \ -+ echo "Installing in $$dir"; \ -+ (cd $$dir; $(MAKE) install) || exit 1; \ -+ done -+ -+depend: depend.server depend.relay depend.client -+ -+depend.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Making dependencies in $$dir"; \ -+ (cd $$dir; $(MAKE) depend) || exit 1; \ -+ done -+ -+depend.server: depend.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Making dependencies in $$dir"; \ -+ (cd $$dir; $(MAKE) depend) || exit 1; \ -+ done -+ -+depend.relay: depend.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ - echo "Making dependencies in $$dir"; \ - (cd $$dir; $(MAKE) depend) || exit 1; \ -- done -+ done -+ -+depend.client: depend.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ -+ echo "Making dependencies in $$dir"; \ -+ (cd $$dir; $(MAKE) depend) || exit 1; \ -+ done -+ -+clean: clean.server clean.relay clean.client -+ -+clean.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) clean) || exit 1; \ -+ done -+ -+clean.server: clean.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) clean) || exit 1; \ -+ done -+ -+clean.relay: clean.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) clean) || exit 1; \ -+ done - --clean: -- @for dir in ${SUBDIRS}; do \ -+clean.client: clean.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ - echo "Cleaning in $$dir"; \ - (cd $$dir; $(MAKE) clean) || exit 1; \ -- done -+ done -+ -+realclean: realclean.server realclean.relay realclean.client -+ -+realclean.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) realclean) || exit 1; \ -+ done - --realclean: -- @for dir in ${SUBDIRS}; do \ -+realclean.server: realclean.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ - echo "Really cleaning in $$dir"; \ - (cd $$dir; $(MAKE) realclean) || exit 1; \ -- done -+ done - --distclean: -- @for dir in ${SUBDIRS}; do \ -+realclean.relay: realclean.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) realclean) || exit 1; \ -+ done -+ -+realclean.client: realclean.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ -+ echo "Really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) realclean) || exit 1; \ -+ done -+ -+distclean: distclean.server distclean.relay distclean.client -+ -+distclean.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ - echo "Really, really cleaning in $$dir"; \ - (cd $$dir; $(MAKE) distclean) || exit 1; \ -- done -- @rm -f Makefile -+ done -+ -+distclean.server: distclean.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Really, really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) distclean) || exit 1; \ -+ done -+ -+distclean.relay: distclean.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Really, really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) distclean) || exit 1; \ -+ done -+ -+distclean.client: distclean.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ -+ echo "Really, really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) distclean) || exit 1; \ -+ done -+ -+links: links.server links.relay links.client -+ -+links.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Making links in $$dir"; \ -+ (cd $$dir; $(MAKE) links) || exit 1; \ -+ done -+ -+links.server: links.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Making links in $$dir"; \ -+ (cd $$dir; $(MAKE) links) || exit 1; \ -+ done -+ -+links.relay: links.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Making links in $$dir"; \ -+ (cd $$dir; $(MAKE) links) || exit 1; \ -+ done - --links: -- @for dir in ${SUBDIRS}; do \ -+links.client: links.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ - echo "Making links in $$dir"; \ - (cd $$dir; $(MAKE) links) || exit 1; \ -- done -+ done diff --git a/net/isc-dhcp31-server/files/patch-client::clparse.c b/net/isc-dhcp31-server/files/patch-client::clparse.c deleted file mode 100644 index 875f61f53b39..000000000000 --- a/net/isc-dhcp31-server/files/patch-client::clparse.c +++ /dev/null @@ -1,11 +0,0 @@ ---- client/clparse.c.orig Sat May 6 17:42:49 2006 -+++ client/clparse.c Sat May 6 17:43:12 2006 -@@ -777,7 +777,7 @@ - interface_dereference(&ip, MDL); - return 0; - } -- strcpy(ip->name, name); -+ strlcpy (ip -> name, name, IFNAMSIZ); - - if (dummy_interfaces) { - interface_reference (&ip -> next, diff --git a/net/isc-dhcp31-server/files/patch-client::dhclient.8 b/net/isc-dhcp31-server/files/patch-client::dhclient.8 deleted file mode 100644 index 3f5cfe64497b..000000000000 --- a/net/isc-dhcp31-server/files/patch-client::dhclient.8 +++ /dev/null @@ -1,84 +0,0 @@ ---- client/dhclient.8.orig Wed Sep 14 18:03:33 2005 -+++ client/dhclient.8 Sat May 6 17:30:28 2006 -@@ -23,6 +23,10 @@ - .\" - .\" $Id: dhclient.8,v 1.12.2.11 2005/09/14 16:03:33 dhankins Exp $ - .\" -+.\" Portions copyright (c) 2000 David E. O'Brien. -+.\" All rights reserved. -+.\" $FreeBSD$ -+.\" - .TH dhclient 8 - .SH NAME - dhclient - Dynamic Host Configuration Protocol Client -@@ -33,6 +37,9 @@ - .I port - ] - [ -+.B -D -+] -+[ - .B -d - ] - [ -@@ -43,6 +50,9 @@ - .B -q - ] - [ -+.B -v -+] -+[ - .B -1 - ] - [ -@@ -73,6 +83,10 @@ - relay - ] - [ -+.B -i -+interval -+] -+[ - .B -n - ] - [ -@@ -157,6 +171,15 @@ - configuration file or on the command line, and will ignore all other - interfaces. - .PP -+The -+.B -D -+flag causes -+.B dhclient -+to save the script it creates for use in conjunction with -+.B dhclient-script -+in -+.IR /tmp. -+.PP - If the DHCP client should listen and transmit on a port other than the - standard (port 68), the - .B -p -@@ -180,6 +203,12 @@ - flag, followed by the IP address to send. This is only useful for testing, - and should not be expected to work in any consistent or useful way. - .PP -+On FreeBSD, dhclient can be enabled to automatically handle the -+link status of the network card. Normally polling is done every -+five seconds. The polling interval can be set using the -+.B -i -+flag, followed by the numbers of seconds. Minimum is one second. -+.PP - The DHCP client will normally run in the foreground until it has - configured an interface, and then will revert to running in the - background. To run force dhclient to always run as a foreground -@@ -206,6 +235,10 @@ - .B -q - flag prevents any messages other than errors from being printed to the - standard error descriptor. -+.B -v -+flag turns on all messages. -+Opposite of -+.B -q . - .PP - The client normally doesn't release the current lease as it is not - required by the DHCP protocol. Some cable ISPs require their clients diff --git a/net/isc-dhcp31-server/files/patch-client::dhclient.c b/net/isc-dhcp31-server/files/patch-client::dhclient.c deleted file mode 100644 index c6a23b2ad6f1..000000000000 --- a/net/isc-dhcp31-server/files/patch-client::dhclient.c +++ /dev/null @@ -1,545 +0,0 @@ ---- client/dhclient.c.orig Thu Apr 27 23:38:29 2006 -+++ client/dhclient.c Sat May 6 17:34:55 2006 -@@ -38,6 +38,13 @@ - #include "dhcpd.h" - #include "version.h" - -+#if __FreeBSD_version > 502010 -+#include <sys/ioctl.h> -+#include <net/if_media.h> -+#include <net80211/ieee80211_ioctl.h> -+#include <net80211/ieee80211.h> -+#endif -+ - TIME default_lease_time = 43200; /* 12 hours... */ - TIME max_lease_time = 86400; /* 24 hours... */ - -@@ -72,8 +79,11 @@ - struct string_list *client_env=NULL; - int client_env_count=0; - int onetry=0; --int quiet=0; -+int quiet=1; - int nowait=0; -+#ifdef ENABLE_POLLING_MODE -+int polling_interval = 5; -+#endif - - static void usage PROTO ((void)); - -@@ -174,6 +184,9 @@ - } else if (!strcmp (argv [i], "-q")) { - quiet = 1; - quiet_interface_discovery = 1; -+ } else if (!strcmp (argv [i], "-v")) { -+ quiet = 0; -+ quiet_interface_discovery = 0; - } else if (!strcmp (argv [i], "-s")) { - if (++i == argc) - usage (); -@@ -187,6 +200,19 @@ - } else if (!strcmp (argv [i], "-n")) { - /* do not start up any interfaces */ - interfaces_requested = 1; -+#ifdef ENABLE_POLLING_MODE -+ } else if (!strcmp (argv [i], "-i")) { -+ if (++i == argc) -+ usage (); -+ polling_interval = (int)strtol (argv [i], -+ (char **)NULL, 10); -+ if (polling_interval <= 0) { -+ log_info ("Incorrect polling interval %d", -+ polling_interval); -+ log_info ("Using a default of 5 seconds"); -+ polling_interval = 5; -+ } -+#endif - } else if (!strcmp (argv [i], "-w")) { - /* do not exit if there are no broadcast interfaces. */ - persist = 1; -@@ -215,7 +241,16 @@ - if (strlen(argv[i]) >= sizeof(tmp->name)) - log_fatal("%s: interface name too long (is %ld)", - argv [i], (long)strlen(argv[i])); -- strcpy(tmp->name, argv[i]); -+ strlcpy (tmp -> name, argv [i], IFNAMSIZ); -+#if __FreeBSD_version > 502010 -+ set_ieee80211 (tmp); -+#endif -+ /* Init some interface vars, enable polling */ -+#ifdef ENABLE_POLLING_MODE -+ tmp -> forcediscover = 0; -+ tmp -> linkstate = HAVELINK; -+ tmp -> polling = 1; -+#endif /* ifdef ENABLE_POLLING_MODE */ - if (interfaces) { - interface_reference (&tmp -> next, - interfaces, MDL); -@@ -375,6 +410,16 @@ - INTERFACE_AUTOMATIC)) != - INTERFACE_REQUESTED)) - continue; -+#if __FreeBSD_version > 502010 -+ set_ieee80211 (ip); -+#endif -+#ifdef ENABLE_POLLING_MODE -+ ip -> forcediscover = 0; -+ if (ip -> client -> config -> media != NULL) -+ ip -> havemedia = 1; -+ else -+ ip -> havemedia = 0; -+#endif - script_init (ip -> client, - "PREINIT", (struct string_list *)0); - if (ip -> client -> alias) -@@ -417,8 +462,13 @@ - client -> state = S_INIT; - /* Set up a timeout to start the initialization - process. */ -+#ifdef ENABLE_POLLING_MODE -+ add_timeout (cur_time + random () % 5 + 2, -+ state_polling, client, 0, 0); -+#else - add_timeout (cur_time + random () % 5, - state_reboot, client, 0, 0); -+#endif - } - } - } -@@ -476,9 +526,9 @@ - log_info (arr); - log_info (url); - -- log_error ("Usage: dhclient [-1dqr] [-nw] [-p <port>] %s", -- "[-s server]"); -- log_error (" [-cf config-file] [-lf lease-file]%s", -+ log_error ("Usage: dhclient [-1Ddqrv] [-i polling-interval] %s", -+ "[-nw] [-p <port>] [-s server]"); -+ log_error (" [-cf config-file] [-lf lease-file] %s", - "[-pf pid-file] [-e VAR=val]"); - log_fatal (" [-sf script-file] [interface]"); - } -@@ -879,6 +929,15 @@ - /* Write out the new lease. */ - write_client_lease (client, client -> new, 0, 0); - -+ /* -+ * It's now possible that state_reboot can be called -+ * after a interface link went down and is up again. -+ * To prevent tons of equal leases saved on disk, we rewrite -+ * them. -+ */ -+ read_client_leases (); -+ rewrite_client_leases (); -+ - /* Replace the old active lease with the new one. */ - if (client -> active) - destroy_client_lease (client -> active); -@@ -893,6 +952,12 @@ - piaddr (client -> active -> address), - (long)(client -> active -> renewal - cur_time)); - client -> state = S_BOUND; -+#ifdef ENABLE_POLLING_MODE -+ /* Init some interface vars, enable polling */ -+ client -> interface -> linkstate = HAVELINK; -+ client -> interface -> forcediscover = 0; -+ client -> interface -> polling = 1; -+#endif /* ifdef ENABLE_POLLING_MODE */ - reinitialize_interfaces (); - go_daemon (); - if (client -> config -> do_forward_update) { -@@ -1357,6 +1422,11 @@ - int interval; - int increase = 1; - -+#ifdef ENABLE_POLLING_MODE -+ /* Disable polling for this interface */ -+ client -> interface -> polling = 0; -+#endif -+ - /* Figure out how long it's been since we started transmitting. */ - interval = cur_time - client -> first_sending; - -@@ -1457,6 +1527,9 @@ - struct client_lease *loop; - struct client_lease *lp; - -+ if (client -> interface -> linkstate == NOLINK) -+ return; -+ - loop = lp = client -> active; - - log_info ("No DHCPOFFERS received."); -@@ -1489,6 +1562,10 @@ - log_info ("bound: renewal in %ld %s.", - (long)(client -> active -> renewal - - cur_time), "seconds"); -+#ifdef ENABLE_POLLING_MODE -+ /* Enable polling for this interface */ -+ client -> interface -> polling = 1; -+#endif - add_timeout (client -> active -> renewal, - state_bound, client, 0, 0); - } else { -@@ -1496,6 +1573,11 @@ - log_info ("bound: immediate renewal."); - state_bound (client); - } -+ /* -+ * Set the link status back to nolink, even -+ * if we have media settings. -+ */ -+ client -> interface -> linkstate = NOLINK; - reinitialize_interfaces (); - go_daemon (); - return; -@@ -1541,6 +1623,12 @@ - } - - log_info ("No working leases in persistent database - sleeping."); -+ -+#ifdef ENABLE_POLLING_MODE -+ /* Enable polling for this interface */ -+ client -> interface -> polling = 1; -+#endif -+ - script_init (client, "FAIL", (struct string_list *)0); - if (client -> alias) - script_write_params (client, "alias_", client -> alias); -@@ -1682,6 +1770,18 @@ - client -> packet.secs = htons (65535); - } - -+ /* -+ * Only try the first ten seconds to renew a lease from a -+ * given dhcp-server adress. After that, fall back to use -+ * state_reboot with INADDR_BROADCAST. -+ */ -+ if (destination.sin_addr.s_addr != INADDR_BROADCAST && -+ (client -> state == S_RENEWING || client -> state == S_REBINDING)) { -+ if (client -> active && client -> active -> expiry > cur_time && -+ interval >= 10) -+ goto cancel; -+ } -+ - log_info ("DHCPREQUEST on %s to %s port %d", - client -> name ? client -> name : client -> interface -> name, - inet_ntoa (destination.sin_addr), -@@ -1703,6 +1803,16 @@ - from, &destination, - (struct hardware *)0); - -+ /* -+ * If sendto() for a direct request fails, fall back to use -+ * state_reboot with INADDR_BROADCAST. -+ */ -+ if (result == -1 && destination.sin_addr.s_addr != INADDR_BROADCAST && -+ (client -> state == S_RENEWING || client -> state == S_REBINDING)) { -+ if (client -> active && client -> active -> expiry > cur_time) -+ goto cancel; -+ } -+ - add_timeout (cur_time + client -> interval, - send_request, client, 0, 0); - } -@@ -2600,6 +2710,13 @@ - wstatus = 0; - } - } else { -+ if ((i = open(_PATH_DEVNULL, O_RDWR)) != -1) { -+ dup2(i, STDIN_FILENO); -+ dup2(i, STDOUT_FILENO); -+ dup2(i, STDERR_FILENO); -+ if (i > STDERR_FILENO) -+ close(i); -+ } - execve (scriptName, argv, envp); - log_error ("execve (%s, ...): %m", scriptName); - exit (0); -@@ -2786,8 +2903,10 @@ - case S_STOPPED: - break; - } -+#ifndef ENABLE_POLLING_MODE - client -> state = S_INIT; - state_reboot (client); -+#endif - } - } - } -@@ -3015,7 +3134,9 @@ - break; - - case server_awaken: -+#ifndef ENABLE_POLLING_MODE - state_reboot (client); -+#endif - break; - } - } -@@ -3153,3 +3274,265 @@ - data_string_forget (&ddns_dhcid, MDL); - return rcode; - } -+ -+/* Check to see if there's a wire plugged in */ -+int -+interface_active(struct interface_info *ip) { -+#if __FreeBSD_version > 502010 -+ struct ifmediareq ifmr; -+ int *media_list, i; -+ char *ifname; -+ int sock; -+ -+ ifname = ip -> name; -+ -+ if ((sock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) -+ log_fatal ("Can't create interface_active socket"); -+ -+ (void) memset (&ifmr, 0, sizeof (ifmr)); -+ (void) strncpy (ifmr.ifm_name, ifname, sizeof (ifmr.ifm_name)); -+ -+ if (ioctl (sock, SIOCGIFMEDIA, (caddr_t)&ifmr) < 0) { -+ /* -+ * Interface doesn't support SIOCGIFMEDIA, presume okay -+ */ -+ close (sock); -+ return (HAVELINK); -+ } -+ close (sock); -+ -+ if (ifmr.ifm_count == 0) { -+ /* -+ * Assume that this means interface -+ * does not support SIOCGIFMEDIA -+ */ -+ log_fatal ("%s: no media types?", ifname); -+ return (HAVELINK); -+ } -+ -+ if (ifmr.ifm_status & IFM_AVALID) { -+ if (ip -> ieee80211) { -+ /* -+ * Wavelan devices need to be checked if they are -+ * associated. -+ */ -+ if ((IFM_TYPE(ifmr.ifm_active) == IFM_IEEE80211) && -+ (ifmr.ifm_status & IFM_ACTIVE)) { -+ return (HAVELINK); -+ } -+ } else { -+ if (ifmr.ifm_status & IFM_ACTIVE) { -+ return (HAVELINK); -+ } -+ } -+ /* -+ * We really have no link. -+ */ -+ return (NOLINK); -+ } -+ /* -+ * IFM_AVALID is not set. We cannot check -+ * the link state. Assume HAVELINK. -+ */ -+ -+#endif /* Other OSs */ -+ /* -+ * Always return a successful link if the OS -+ * is not supported. -+ */ -+ return (HAVELINK); -+} -+ -+#if __FreeBSD_version > 502010 -+void -+set_ieee80211 (struct interface_info *ip) { -+ -+ struct ieee80211req ireq; -+ u_int8_t data[32]; -+ int associated = 0; -+ int *media_list, i; -+ char *ifname; -+ int sock; -+ -+ ifname = ip -> name; -+ -+ if ((sock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) -+ log_fatal ("Can't create interface_active socket"); -+ -+ (void) memset (&ireq, 0, sizeof (ireq)); -+ (void) strncpy (ireq.i_name, ifname, sizeof (ireq.i_name)); -+ ireq.i_data = &data; -+ ireq.i_type = IEEE80211_IOC_SSID; -+ ireq.i_val = -1; -+ /* -+ * If we can't get the SSID, -+ * this isn't an 802.11 device. -+ */ -+ if (ioctl (sock, SIOCG80211, &ireq) < 0) -+ ip -> ieee80211 = 0; -+ else { -+#ifdef DEBUG -+ printf ("Device %s has 802.11\n", ifname); -+#endif -+ ip -> ieee80211 = 1; -+ } -+ close (sock); -+ } -+#endif /* __FreeBSD_version */ -+ -+#ifdef ENABLE_POLLING_MODE -+/* Go to background after some time */ -+void state_background (cpp) -+ void *cpp; -+{ -+ go_daemon (); -+} -+ -+/* Check the state of the NICs if we have link */ -+void state_polling (cpp) -+ void *cpp; -+{ -+ static int doinitcheck = 0; -+ struct interface_info *ip; -+ struct client_state *client; -+ int result; -+ -+ for (ip = interfaces; ip; ip = ip -> next) { -+ if (! ip -> polling) -+ continue; -+#ifdef DEBUG -+ printf ("%s: Polling interface state\n", ip -> name); -+ for (client = ip -> client; -+ client; client = client -> next) { -+ printf ("%s: client state of %d\n", ip -> name, ip -> client -> state); -+ printf ("%s: link = %d\n", ip -> name, ip -> linkstate); -+ } -+#endif -+ -+ result = interface_active (ip); -+ /* -+ * If dhclient.conf contains media settings, we cannot -+ * abort if the interface is not set to active mode. -+ */ -+ if (ip -> havemedia && ip -> client -> state != S_BOUND) { -+ if (result == HAVELINK) -+ ip -> forcediscover = 1; -+ result = HAVELINK; -+ } -+ -+ /* -+ * The last status of the interface tells us -+ * the we've got no link ... -+ */ -+ if (ip -> linkstate == NOLINK || ! doinitcheck) { -+ /* -+ * ... but we have now link. Let's send -+ * requests. -+ */ -+ if (result == HAVELINK) { -+#ifdef DEBUG -+ if (ip -> havemedia) -+ printf ("%s: Trying media settings on interface\n", -+ ip -> name); -+ else -+ printf ("%s: Found Link on interface\n", ip -> name); -+#endif -+ /* -+ * Set the interface to state_bound. We assume that we have -+ * a working link. If we cannot reach the server directly, -+ * INADDR_BROADCAST is used. -+ */ -+ for (client = ip -> client; -+ client; client = client -> next) { -+ cancel_timeout (state_init, client); -+ cancel_timeout (state_reboot, client); -+ cancel_timeout (state_selecting, client); -+ if (client -> active) { -+ add_timeout (cur_time + random () % 5, -+ state_bound, client, 0, 0); -+ } else { -+ add_timeout (cur_time + random () % 5, -+ state_reboot, client, 0, 0); -+ } -+ } -+ ip -> linkstate = HAVELINK; -+ } else { -+#ifdef DEBUG -+ printf ("%s: No link on interface\n", ip -> name); -+#endif -+ for (client = ip -> client; -+ client; client = client -> next) { -+ /* -+ * Without this add_timout(), dhclient does -+ * not poll on a interface if there -+ * is no cable plugged in at startup -+ * time. Because we add one additional second -+ * to the time of a normal timeout, we always -+ * skip and block a running one. This prevents -+ * that polling is done twice at the same time. -+ */ -+ if (client -> state == S_INIT) { -+ add_timeout (cur_time + (polling_interval + 1), -+ state_polling, client, 0, 0); -+ } -+ } -+ ip -> linkstate = NOLINK; -+ /* -+ * Automatically go into the background after -+ * some time. Do this only if there are no -+ * media options available for a interface. -+ */ -+ if (! ip -> havemedia && ! doinitcheck) { -+ add_timeout (cur_time + (polling_interval * 2), -+ state_background, client, 0, 0); -+ } -+ } -+ } -+ -+ /* -+ * The last status of the interface tells us -+ * the we previously had link. -+ */ -+ if (ip -> linkstate == HAVELINK && doinitcheck) { -+ if (result == NOLINK) { -+ /* -+ * We lost link on the interface, or it isn't -+ * associated anymore. -+ */ -+#ifdef DEBUG -+ printf ("%s: Lost Link on interface\n", ip -> name); -+#endif -+ /* -+ * After we lost link, cycle again through the -+ * different media settings if available. Else -+ * set NOLINK. -+ */ -+ if (ip -> havemedia) -+ ip -> forcediscover = 1; -+ else -+ ip -> linkstate = NOLINK; -+ } -+ /* -+ * If we happen to have a real link, but no -+ * active lease, force the interface into -+ * state_reboot. Do the same if media settings -+ * are available. -+ */ -+ if (ip -> forcediscover) { -+ for (client = ip -> client; -+ client; client = client -> next) { -+ if (client -> state != S_REBOOTING && -+ client -> state != S_SELECTING) { -+ add_timeout (cur_time + random () % 5, -+ state_reboot, client, 0, 0); -+ } -+ } -+ ip -> forcediscover = 0; -+ ip -> linkstate = HAVELINK; -+ } -+ /* We still have link, do nothing. */ -+ } -+ } -+ doinitcheck = 1; -+} -+#endif /* ifdef ENABLE_POLLING_MODE */ diff --git a/net/isc-dhcp31-server/files/patch-client::dhclient.conf b/net/isc-dhcp31-server/files/patch-client::dhclient.conf deleted file mode 100644 index 2d9560f43bf8..000000000000 --- a/net/isc-dhcp31-server/files/patch-client::dhclient.conf +++ /dev/null @@ -1,11 +0,0 @@ ---- client/dhclient.conf.orig Tue Jun 3 00:50:44 1997 -+++ client/dhclient.conf Wed Mar 3 02:20:41 2004 -@@ -11,7 +11,7 @@ - reboot 10; - select-timeout 5; - initial-interval 2; --script "/etc/dhclient-script"; -+script "%%PREFIX%%/sbin/dhclient-script"; - media "-link0 -link1 -link2", "link0 link1"; - reject 192.33.137.209; - diff --git a/net/isc-dhcp31-server/files/patch-common::dhcp-options.5 b/net/isc-dhcp31-server/files/patch-common::dhcp-options.5 deleted file mode 100644 index 9d936cfffeee..000000000000 --- a/net/isc-dhcp31-server/files/patch-common::dhcp-options.5 +++ /dev/null @@ -1,32 +0,0 @@ ---- common/dhcp-options.5.orig Sun Feb 23 04:27:42 2003 -+++ common/dhcp-options.5 Wed Mar 3 02:12:13 2004 -@@ -431,7 +431,10 @@ - the domain-name option to specify the domain name). See RFC 1035 for - character set restrictions. This option is only honored by - .B dhclient-script(8) --if the hostname for the client machine is not set. -+if the hostname for the client machine is not set (i.e., set to the empty -+string in -+.B rc.conf(5) -+). - .RE - .PP - .B option \fBieee802-3-encapsulation\fR \fIflag\fR\fB;\fR -@@ -654,7 +657,7 @@ - This option specifies whether the client should configure its IP - layer to allow forwarding of datagrams with non-local source routes - (see Section 3.3.5 of [4] for a discussion of this topic). A value --of false means disallow forwarding of such datagrams, and a value of true -+of 0 means disallow forwarding of such datagrams, and a value of true - means allow forwarding. - .RE - .PP -@@ -948,7 +951,7 @@ - .PP - This option specifies whether or not the client should negotiate the - use of trailers (RFC 893 [14]) when using the ARP protocol. A value --of false indicates that the client should not attempt to use trailers. A -+of 0 indicates that the client should not attempt to use trailers. A - value of true means that the client should attempt to use trailers. - .RE - .PP diff --git a/net/isc-dhcp31-server/files/patch-common::discover.c b/net/isc-dhcp31-server/files/patch-common::discover.c deleted file mode 100644 index 1cfcc2094098..000000000000 --- a/net/isc-dhcp31-server/files/patch-common::discover.c +++ /dev/null @@ -1,238 +0,0 @@ ---- common/discover.c.orig Fri Jul 25 21:44:15 2003 -+++ common/discover.c Fri Mar 5 23:33:04 2004 -@@ -47,6 +47,7 @@ - #endif /* not lint */ - - #include "dhcpd.h" -+#include <ifaddrs.h> - #include <sys/ioctl.h> - - struct interface_info *interfaces, *dummy_interfaces, *fallback_interface; -@@ -135,10 +136,7 @@ - { - struct interface_info *tmp, *ip; - struct interface_info *last, *next; -- char buf [2048]; -- struct ifconf ic; -- struct ifreq ifr; -- int i; -+ struct ifaddrs *ifap, *ifa; - int sock; - int address_count = 0; - struct subnet *subnet; -@@ -157,61 +155,6 @@ - if ((sock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) - log_fatal ("Can't create addrlist socket"); - -- /* Get the interface configuration information... */ -- --#ifdef SIOCGIFCONF_ZERO_PROBE -- /* linux will only tell us how long a buffer it wants if we give it -- * a null buffer first. So, do a dry run to figure out the length. -- * -- * XXX this code is duplicated from below because trying to fold -- * the logic into the if statement and goto resulted in excesssive -- * obfuscation. The intent is that unless you run Linux you shouldn't -- * have to deal with this. */ -- -- ic.ifc_len = 0; -- ic.ifc_ifcu.ifcu_buf = (caddr_t)NULL; --#else -- /* otherwise, we just feed it a starting size, and it'll tell us if -- * it needs more */ -- -- ic.ifc_len = sizeof buf; -- ic.ifc_ifcu.ifcu_buf = (caddr_t)buf; --#endif -- -- gifconf_again: -- i = ioctl(sock, SIOCGIFCONF, &ic); -- -- if (i < 0) -- log_fatal ("ioctl: SIOCGIFCONF: %m"); -- --#ifdef SIOCGIFCONF_ZERO_PROBE -- /* Workaround for SIOCGIFCONF bug on some Linux versions. */ -- if (ic.ifc_ifcu.ifcu_buf == 0 && ic.ifc_len == 0) { -- ic.ifc_len = sizeof buf; -- ic.ifc_ifcu.ifcu_buf = (caddr_t)buf; -- goto gifconf_again; -- } --#endif -- -- /* If the SIOCGIFCONF resulted in more data than would fit in -- a buffer, allocate a bigger buffer. */ -- if ((ic.ifc_ifcu.ifcu_buf == buf --#ifdef SIOCGIFCONF_ZERO_PROBE -- || ic.ifc_ifcu.ifcu_buf == 0 --#endif -- ) && ic.ifc_len > sizeof buf) { -- ic.ifc_ifcu.ifcu_buf = dmalloc ((size_t)ic.ifc_len, MDL); -- if (!ic.ifc_ifcu.ifcu_buf) -- log_fatal ("Can't allocate SIOCGIFCONF buffer."); -- goto gifconf_again; --#ifdef SIOCGIFCONF_ZERO_PROBE -- } else if (ic.ifc_ifcu.ifcu_buf == 0) { -- ic.ifc_ifcu.ifcu_buf = (caddr_t)buf; -- ic.ifc_len = sizeof buf; -- goto gifconf_again; --#endif -- } -- - - /* If we already have a list of interfaces, and we're running as - a DHCP server, the interfaces were requested. */ -@@ -224,51 +167,38 @@ - else - ir = INTERFACE_REQUESTED; - -+ if (getifaddrs(&ifap) != 0) -+ log_fatal ("getifaddrs failed"); -+ - /* Cycle through the list of interfaces looking for IP addresses. */ -- for (i = 0; i < ic.ifc_len;) { -- struct ifreq *ifp = (struct ifreq *)((caddr_t)ic.ifc_req + i); --#ifdef HAVE_SA_LEN -- if (ifp -> ifr_addr.sa_len > sizeof (struct sockaddr)) -- i += (sizeof ifp -> ifr_name) + ifp -> ifr_addr.sa_len; -- else --#endif -- i += sizeof *ifp; -+ for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) { - - #ifdef ALIAS_NAMES_PERMUTED -- if ((s = strrchr (ifp -> ifr_name, ':'))) { -+ if ((s = strrchr (ifa -> ifa_name, ':'))) { - *s = 0; - } - #endif - - #ifdef SKIP_DUMMY_INTERFACES -- if (!strncmp (ifp -> ifr_name, "dummy", 5)) -+ if (!strncmp (ifa -> ifa_name, "dummy", 5)) - continue; - #endif - -- -- /* See if this is the sort of interface we want to -- deal with. */ -- strcpy (ifr.ifr_name, ifp -> ifr_name); -- if (ioctl (sock, SIOCGIFFLAGS, &ifr) < 0) -- log_fatal ("Can't get interface flags for %s: %m", -- ifr.ifr_name); -- - /* See if we've seen an interface that matches this one. */ - for (tmp = interfaces; tmp; tmp = tmp -> next) -- if (!strcmp (tmp -> name, ifp -> ifr_name)) -+ if (!strcmp (tmp -> name, ifa -> ifa_name)) - break; - -- /* Skip non broadcast interfaces (plus loopback and -- point-to-point in case an OS incorrectly marks them -- as broadcast). Also skip down interfaces unless we're -+ /* See if this is the sort of interface we want to -+ deal with. Skip loopback, point-to-point and down -+ interfaces, except don't skip down interfaces if we're - trying to get a list of configurable interfaces. */ -- if (((!(ifr.ifr_flags & IFF_BROADCAST) || -- ifr.ifr_flags & IFF_LOOPBACK || -- ifr.ifr_flags & IFF_POINTOPOINT) && !tmp) || -- (!(ifr.ifr_flags & IFF_UP) && -+ if ((ifa->ifa_flags & IFF_LOOPBACK) || -+ (ifa->ifa_flags & IFF_POINTOPOINT) || -+ (!(ifa->ifa_flags & IFF_UP) && - state != DISCOVER_UNCONFIGURED)) - continue; -- -+ - /* If there isn't already an interface by this name, - allocate one. */ - if (!tmp) { -@@ -276,9 +206,9 @@ - status = interface_allocate (&tmp, MDL); - if (status != ISC_R_SUCCESS) - log_fatal ("Error allocating interface %s: %s", -- ifp -> ifr_name, -+ ifa -> ifa_name, - isc_result_totext (status)); -- strcpy (tmp -> name, ifp -> ifr_name); -+ strcpy (tmp -> name, ifa -> ifa_name); - interface_snorf (tmp, ir); - interface_dereference (&tmp, MDL); - tmp = interfaces; /* XXX */ -@@ -290,9 +220,9 @@ - /* If we have the capability, extract link information - and record it in a linked list. */ - #ifdef HAVE_AF_LINK -- if (ifp -> ifr_addr.sa_family == AF_LINK) { -+ if (ifa -> ifa_addr->sa_family == AF_LINK) { - struct sockaddr_dl *foo = ((struct sockaddr_dl *) -- (&ifp -> ifr_addr)); -+ (ifa -> ifa_addr)); - #if defined (HAVE_SIN_LEN) - tmp -> hw_address.hlen = foo -> sdl_alen; - #else -@@ -305,12 +235,11 @@ - } else - #endif /* AF_LINK */ - -- if (ifp -> ifr_addr.sa_family == AF_INET) { -+ if (ifa -> ifa_addr->sa_family == AF_INET) { - struct iaddr addr; - - /* Get a pointer to the address... */ -- memcpy (&foo, &ifp -> ifr_addr, -- sizeof ifp -> ifr_addr); -+ bcopy(ifa->ifa_addr, &foo, sizeof(foo)); - - /* We don't want the loopback interface. */ - if (foo.sin_addr.s_addr == htonl (INADDR_LOOPBACK) && -@@ -323,16 +252,15 @@ - found, keep a pointer to ifreq structure in - which we found it. */ - if (!tmp -> ifp) { --#ifdef HAVE_SA_LEN -- unsigned len = ((sizeof ifp -> ifr_name) + -- ifp -> ifr_addr.sa_len); --#else -- unsigned len = sizeof *ifp; --#endif -+ -+ int len = (IFNAMSIZ + -+ ifa -> ifa_addr->sa_len); - tif = (struct ifreq *)dmalloc (len, MDL); - if (!tif) - log_fatal ("no space for ifp."); -- memcpy (tif, ifp, len); -+ strlcpy(tif->ifr_name, ifa->ifa_name, IFNAMSIZ); -+ memcpy(&tif->ifr_addr, ifa->ifa_addr, -+ ifa->ifa_addr->sa_len); - tmp -> ifp = tif; - tmp -> primary_address = foo.sin_addr; - } -@@ -346,9 +274,6 @@ - } - } - -- /* If we allocated a buffer, free it. */ -- if (ic.ifc_ifcu.ifcu_buf != buf) -- dfree (ic.ifc_ifcu.ifcu_buf, MDL); - - #if defined (LINUX_SLASHPROC_DISCOVERY) - /* On Linux, interfaces that don't have IP addresses don't -@@ -529,6 +454,7 @@ - be able to configure, we can quit now. */ - if (state == DISCOVER_UNCONFIGURED) { - close (sock); -+ freeifaddrs(ifap); - return; - } - -@@ -674,6 +600,7 @@ - } - - close (sock); -+ freeifaddrs(ifap); - - if (state == DISCOVER_SERVER && wifcount == 0) { - log_info ("%s", ""); diff --git a/net/isc-dhcp31-server/files/patch-common::dispatch.c b/net/isc-dhcp31-server/files/patch-common::dispatch.c deleted file mode 100644 index 0aa709cf0860..000000000000 --- a/net/isc-dhcp31-server/files/patch-common::dispatch.c +++ /dev/null @@ -1,29 +0,0 @@ ---- common/dispatch.c.orig Sun Nov 17 03:26:57 2002 -+++ common/dispatch.c Wed Mar 3 16:20:15 2004 -@@ -95,11 +95,26 @@ - void dispatch () - { - struct timeval tv, *tvp; -+#ifdef ENABLE_POLLING_MODE -+ struct timeval *tvp_new; -+#endif - isc_result_t status; -+ TIME cur_time; - -+ tvp = NULL; -+#ifdef ENABLE_POLLING_MODE -+ tvp_new = NULL; -+#endif - /* Wait for a packet or a timeout... XXX */ - do { - tvp = process_outstanding_timeouts (&tv); -+#ifdef ENABLE_POLLING_MODE -+ GET_TIME (&cur_time); -+ add_timeout(cur_time + polling_interval, state_polling, 0, 0, 0); -+ tvp_new = process_outstanding_timeouts(&tv); -+ if (tvp != NULL && (tvp -> tv_sec > tvp_new -> tv_sec)) -+ tvp = tvp_new; -+#endif /* ENABLE_POLLING_MODE */ - status = omapi_one_dispatch (0, tvp); - } while (status == ISC_R_TIMEDOUT || status == ISC_R_SUCCESS); - log_fatal ("omapi_one_dispatch failed: %s -- exiting.", diff --git a/net/isc-dhcp31-server/files/patch-configure b/net/isc-dhcp31-server/files/patch-configure deleted file mode 100644 index 5aff6909acce..000000000000 --- a/net/isc-dhcp31-server/files/patch-configure +++ /dev/null @@ -1,41 +0,0 @@ ---- configure.orig Sat Apr 20 23:44:13 2002 -+++ configure Mon Apr 28 23:02:10 2003 -@@ -13,6 +13,9 @@ - elif [ x$1 = x--dirs ]; then - dirs=$2 - shift -+ elif [ x$1 = x--subsys ]; then -+ subsys=$2 -+ shift - elif [ x$1 = x--no-links ]; then - nolinks=YES - elif [ x$1 = x--copts ]; then -@@ -233,7 +236,14 @@ - fi - - if [ x"$dirs" = x ]; then -- dirs=". client server relay common omapip dhcpctl minires dst" -+ dirs=". common minires dst omapip dhcpctl" -+ if [ x$subsys = x ]; then -+ dirs="$dirs server omshell client relay" -+ elif [ x$subsys = xserver ]; then -+ dirs="$dirs server omshell" -+ elif [ x$subsys = xclient -o x$subsys = xrelay ]; then -+ dirs="$dirs $subsys" -+ fi - fi - - for foo in $dirs; do -@@ -253,7 +263,11 @@ - - # Make the link tree in which to actually build. - if [ x$nolinks = x ]; then -- make links -+ if [ x$subsys = x ]; then -+ make links -+ else -+ make links.$subsys -+ fi - fi - - exit 0 diff --git a/net/isc-dhcp31-server/files/patch-dhcpctl::Makefile.dist b/net/isc-dhcp31-server/files/patch-dhcpctl::Makefile.dist deleted file mode 100644 index f840cfba6278..000000000000 --- a/net/isc-dhcp31-server/files/patch-dhcpctl::Makefile.dist +++ /dev/null @@ -1,79 +0,0 @@ ---- dhcpctl/Makefile.dist.orig Thu Mar 3 17:55:23 2005 -+++ dhcpctl/Makefile.dist Mon Jul 25 08:33:33 2005 -@@ -22,11 +22,11 @@ - # http://www.isc.org/ - # - --CATMANPAGES = dhcpctl.cat3 omshell.cat1 --SEDMANPAGES = dhcpctl.man3 omshell.man1 -+CATMANPAGES = dhcpctl.cat3 -+SEDMANPAGES = dhcpctl.man3 - SRC = dhcpctl.c callback.c remote.c - OBJ = dhcpctl.o callback.o remote.o --MAN = dhcpctl.3 omshell.1 -+MAN = dhcpctl.3 - HDRS = dhcpctl.h - - INCLUDES = $(BINDINC) -I$(TOP)/includes -@@ -34,10 +34,7 @@ - DHCPCTLLIBS = libdhcpctl.a ../common/libdhcp.a $(BINDLIB) \ - ../omapip/libomapi.a ../dst/libdst.a - --all: libdhcpctl.a omshell cltest $(CATMANPAGES) -- --omshell: omshell.o $(DHCPCTLLIBS) -- $(CC) $(DEBUG) $(LFLAGS) -o omshell omshell.o $(DHCPCTLLIBS) $(LIBS) -+all: libdhcpctl.a cltest $(CATMANPAGES) - - cltest: cltest.o $(DHCPCTLLIBS) - $(CC) $(DEBUG) $(LFLAGS) -o cltest cltest.o $(DHCPCTLLIBS) $(LIBS) -@@ -48,8 +45,7 @@ - $(RANLIB) libdhcpctl.a - - install: all $(CATMANPAGES) -- for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR) $(USRMANDIR) \ -- $(USERBINDIR); do \ -+ for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR); do \ - foo=""; \ - for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \ - foo=$${foo}/$$bar; \ -@@ -69,16 +65,12 @@ - $(MANINSTALL) $(MANFROM) $${prefix}.$(MANCAT)$${suffix} $(MANTO) \ - $(DESTDIR)$(LIBMANDIR)/$${prefix}$(LIBMANEXT); \ - done -- $(INSTALL) omshell $(DESTDIR)$(USERBINDIR) -- $(CHMOD) 755 $(DESTDIR)$(USERBINDIR)/omshell -- $(MANINSTALL) $(MANFROM) omshell.$(MANCAT)1 $(MANTO) \ -- $(DESTDIR)$(USRMANDIR)/omshell$(USRMANEXT) - - depend: - $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC) - - clean: -- -rm -f $(OBJ) omshell.o omshell cltest.o cltest -+ -rm -f $(OBJ) cltest.o cltest - - realclean: clean - -rm -f libdhcpctl.a *~ $(CATMANPAGES) $(SEDMANPAGES) -@@ -87,7 +79,7 @@ - -rm -f Makefile - - links: -- @for foo in $(SRC) $(MAN) omshell.c cltest.c $(HDRS); do \ -+ @for foo in $(SRC) $(MAN) cltest.c $(HDRS); do \ - if [ ! -b $$foo ]; then \ - rm -f $$foo; \ - fi; \ -@@ -100,12 +92,5 @@ - dhcpctl.man3: dhcpctl.3 - sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \ - -e "s#RUNDIR#$(VARRUN)#g" < dhcpctl.3 >dhcpctl.man3 -- --omshell.cat1: omshell.man1 -- nroff -man omshell.man1 >omshell.cat1 -- --omshell.man1: omshell.1 -- sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \ -- -e "s#RUNDIR#$(VARRUN)#g" < omshell.1 >omshell.man1 - - # Dependencies (semi-automatically-generated) diff --git a/net/isc-dhcp31-server/files/patch-dhcpd.conf b/net/isc-dhcp31-server/files/patch-dhcpd.conf deleted file mode 100644 index 030e89874d8d..000000000000 --- a/net/isc-dhcp31-server/files/patch-dhcpd.conf +++ /dev/null @@ -1,12 +0,0 @@ ---- server/dhcpd.conf.orig Thu Jan 25 03:33:11 2001 -+++ server/dhcpd.conf Wed Jan 30 22:06:52 2002 -@@ -14,6 +14,9 @@ - # network, the authoritative directive should be uncommented. - #authoritative; - -+# ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates. -+ddns-update-style ad-hoc; -+ - # Use this to send dhcp log messages to a different log file (you also - # have to hack syslog.conf to complete the redirection). - log-facility local7; diff --git a/net/isc-dhcp31-server/files/patch-dst::Makefile.dist b/net/isc-dhcp31-server/files/patch-dst::Makefile.dist deleted file mode 100644 index ad45436b1629..000000000000 --- a/net/isc-dhcp31-server/files/patch-dst::Makefile.dist +++ /dev/null @@ -1,29 +0,0 @@ ---- dst/Makefile.dist.orig Sun Nov 17 03:27:43 2002 -+++ dst/Makefile.dist Fri Mar 5 23:40:45 2004 -@@ -26,12 +26,24 @@ - - all: libdst.a - --install: -- - libdst.a: $(OBJ) - rm -f dst.a - ar cruv libdst.a $(OBJ) - $(RANLIB) libdst.a -+ -+install: all -+ for dir in $(LIBDIR);\ -+ do \ -+ foo=""; \ -+ for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \ -+ foo=$${foo}/$$bar; \ -+ if [ ! -d $$foo ]; then \ -+ mkdir $$foo; \ -+ chmod 755 $$foo; \ -+ fi; \ -+ done; \ -+ done -+ $(INSTALL) libdst.a $(DESTDIR)$(LIBDIR) - - depend: - $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC) diff --git a/net/isc-dhcp31-server/files/patch-includes::cf::freebsd.h b/net/isc-dhcp31-server/files/patch-includes::cf::freebsd.h deleted file mode 100644 index 071ac6ca5a29..000000000000 --- a/net/isc-dhcp31-server/files/patch-includes::cf::freebsd.h +++ /dev/null @@ -1,62 +0,0 @@ ---- includes/cf/freebsd.h.orig Wed Sep 1 19:06:36 2004 -+++ includes/cf/freebsd.h Mon May 15 09:13:18 2006 -@@ -33,7 +33,7 @@ - */ - - #include <syslog.h> --#include <sys/types.h> -+#include <sys/param.h> - #include <string.h> - #include <paths.h> - #include <errno.h> -@@ -97,6 +97,10 @@ - #define SOCKLEN_T int - #endif - -+#ifdef RESCUE -+#define _PATH_DHCLIENT_SCRIPT "/rescue/dhclient-script" -+#endif -+ - #if defined (USE_DEFAULT_NETWORK) - # define USE_BPF - #endif -@@ -107,6 +111,9 @@ - #endif /* HAVE_DEV_RANDOM */ - - const char *cmds[] = { -+#ifndef RESCUE -+ /* rescue environment can't rely on these ... */ -+ /* Actually, /sbin/dhclient shouldn't use these, either. */ - "/bin/ps -axlw 2>&1", - "/usr/sbin/arp -an 2>&1", - "/usr/bin/netstat -an 2>&1", -@@ -117,10 +124,12 @@ - "/usr/sbin/iostat 2>&1", - "/usr/bin/vmstat 2>&1", - "/usr/bin/w 2>&1", -+#endif - NULL - }; - - const char *dirs[] = { -+#ifndef RESCUE - "/tmp", - "/usr/tmp", - ".", -@@ -130,13 +139,16 @@ - "/var/mail", - "/home", - "/usr/home", -+#endif - NULL - }; - - const char *files[] = { -+#ifndef RESCUE - "/var/log/messages", - "/var/log/wtmp", - "/var/log/lastlog", -+#endif - NULL - }; - #endif /* NEED_PRAND_CONF */ diff --git a/net/isc-dhcp31-server/files/patch-includes::dhcpd.h b/net/isc-dhcp31-server/files/patch-includes::dhcpd.h deleted file mode 100644 index 1933e0b4037a..000000000000 --- a/net/isc-dhcp31-server/files/patch-includes::dhcpd.h +++ /dev/null @@ -1,56 +0,0 @@ ---- includes/dhcpd.h.orig Mon Feb 10 02:22:46 2003 -+++ includes/dhcpd.h Wed Mar 3 16:20:09 2004 -@@ -99,6 +99,9 @@ - (((x) >> OPTION_HASH_EXP) & \ - (OPTION_HASH_PTWO - 1))) % OPTION_HASH_SIZE; - -+#define NOLINK 0 -+#define HAVELINK 1 -+ - enum dhcp_shutdown_state { - shutdown_listeners, - shutdown_omapi_connections, -@@ -783,6 +786,11 @@ - unsigned remote_id_len; /* Length of Remote ID. */ - - char name [IFNAMSIZ]; /* Its name... */ -+ int ieee80211; /* True if media is ieee802.11 */ -+ int havemedia; /* True if we have a media table */ -+ int linkstate; /* True if we have link */ -+ int polling; /* True if polling is enabled */ -+ int forcediscover; /* True if a discover is needed */ - int index; /* Its index. */ - int rfdesc; /* Its read file descriptor. */ - int wfdesc; /* Its write file descriptor, if -@@ -1845,6 +1853,9 @@ - extern const char *path_dhclient_pid; - extern char *path_dhclient_script; - extern int interfaces_requested; -+#ifdef ENABLE_POLLING_MODE -+extern int polling_interval; -+#endif - - extern struct client_config top_level_config; - -@@ -1858,12 +1869,21 @@ - void send_decline PROTO ((void *)); - - void state_reboot PROTO ((void *)); -+#ifdef ENABLE_POLLING_MODE -+void state_background PROTO ((void *)); -+void state_polling PROTO ((void *)); -+#endif - void state_init PROTO ((void *)); - void state_selecting PROTO ((void *)); - void state_requesting PROTO ((void *)); - void state_bound PROTO ((void *)); - void state_stop PROTO ((void *)); - void state_panic PROTO ((void *)); -+ -+#if __FreeBSD_version > 502010 -+void set_ieee80211 PROTO ((struct interface_info *)); -+#endif -+int interface_active PROTO ((struct interface_info *)); - - void bind_lease PROTO ((struct client_state *)); - diff --git a/net/isc-dhcp31-server/files/patch-server::dhcpd.c b/net/isc-dhcp31-server/files/patch-server::dhcpd.c deleted file mode 100644 index c45ed9214792..000000000000 --- a/net/isc-dhcp31-server/files/patch-server::dhcpd.c +++ /dev/null @@ -1,288 +0,0 @@ ---- server/dhcpd.c.orig Thu Jun 10 19:59:52 2004 -+++ server/dhcpd.c Fri Jun 25 15:49:09 2004 -@@ -47,6 +47,22 @@ - #include "version.h" - #include <omapip/omapip_p.h> - -+#if defined (PARANOIA) -+#include <sys/types.h> -+#include <unistd.h> -+#include <pwd.h> -+/* get around the ISC declaration of group */ -+#define group real_group -+#include <grp.h> -+#undef group -+#endif /* PARANOIA */ -+#if defined (JAIL) -+#include <sys/param.h> -+#include <sys/jail.h> -+#include <netinet/in.h> -+#include <arpa/inet.h> -+#endif /* JAIL */ -+ - static void usage PROTO ((void)); - - TIME cur_time; -@@ -195,6 +211,35 @@ - omapi_object_dereference (&listener, MDL); - } - -+#if defined (PARANOIA) -+/* to be used in one of two possible scenarios */ -+static void setup_chroot (char *chroot_dir) -+{ -+ if (geteuid ()) -+ log_fatal ("you must be root to use chroot"); -+ if (chroot (chroot_dir)) -+ log_fatal ("chroot(\"%s\"): %m", chroot_dir); -+ if (chdir ("/")) -+ /* probably permission denied */ -+ log_fatal ("chdir(\"/\"): %m"); -+} -+#endif /* PARANOIA */ -+ -+#if defined (JAIL) -+static void setup_jail (char *chroot_dir, char *hostname, u_int32_t ip_number) -+{ -+ struct jail j; -+ -+ j.version = 0; -+ j.path = chroot_dir; -+ j.hostname = hostname; -+ j.ip_number = ip_number; -+ -+ if (jail (&j) < 0) -+ log_fatal ("jail(%s, %s): %m", chroot_dir, hostname); -+} -+#endif /* JAIL */ -+ - int main (argc, argv, envp) - int argc; - char **argv, **envp; -@@ -227,6 +272,25 @@ - char *traceinfile = (char *)0; - char *traceoutfile = (char *)0; - #endif -+#if defined (PARANOIA) -+ char *set_user = 0; -+ char *set_group = 0; -+ uid_t set_uid = 0; -+ gid_t set_gid = 0; -+ int early_chroot = 0; -+ int no_dhcpd_user = 0; -+ int no_dhcpd_group = 0; -+#endif /* PARANOIA */ -+#if defined (PARANOIA) || defined (JAIL) -+ char *set_chroot = 0; -+ int no_dhcpd_chroot = 0; -+#endif /* PARANOIA || JAIL */ -+#if defined (JAIL) -+ char *set_jail = 0; -+ u_int32_t jail_ip_address = 0; /* Good as long as it's IPv4 ... */ -+ int no_dhcpd_jail = 0; -+ char *s2; -+#endif /* JAIL */ - - /* Make sure we have stdin, stdout and stderr. */ - status = open ("/dev/null", O_RDWR); -@@ -289,6 +353,39 @@ - if (++i == argc) - usage (); - server = argv [i]; -+#if defined (PARANOIA) -+ } else if (!strcmp (argv [i], "-user")) { -+ if (++i == argc) -+ usage (); -+ set_user = argv [i]; -+ no_dhcpd_user = 1; -+ } else if (!strcmp (argv [i], "-group")) { -+ if (++i == argc) -+ usage (); -+ set_group = argv [i]; -+ no_dhcpd_group = 1; -+ } else if (!strcmp (argv [i], "-early_chroot")) { -+ early_chroot = 1; -+#endif /* PARANOIA */ -+#if defined (PARANOIA) || defined (JAIL) -+ } else if (!strcmp (argv [i], "-chroot")) { -+ if (++i == argc) -+ usage (); -+ set_chroot = argv [i]; -+ no_dhcpd_chroot = 1; -+#endif /* PARANOIA || JAIL */ -+#if defined (JAIL) -+ } else if (!strcmp (argv [i], "-jail")) { -+ if (++i == argc) -+ usage (); -+ set_jail = argv [i]; -+ if (++i == argc) -+ usage (); -+ if (inet_pton (AF_INET, argv[i], &jail_ip_address) < 0) -+ log_fatal ("invalid ip address: %s", argv[i]); -+ jail_ip_address = ntohl (jail_ip_address); -+ no_dhcpd_jail = 1; -+#endif /* JAIL */ - } else if (!strcmp (argv [i], "-cf")) { - if (++i == argc) - usage (); -@@ -366,6 +463,28 @@ - if (!no_dhcpd_pid && (s = getenv ("PATH_DHCPD_PID"))) { - path_dhcpd_pid = s; - } -+#if defined (PARANOIA) -+ if (!no_dhcpd_user && (s = getenv ("DHCPD_USER"))) { -+ set_user = s; -+ } -+ if (!no_dhcpd_group && (s = getenv ("DHCPD_GROUP"))) { -+ set_group = s; -+ } -+#endif /* PARANOIA */ -+#if defined (PARANOIA) || defined (JAIL) -+ if (!no_dhcpd_chroot && (s = getenv ("PATH_DHCPD_CHROOT"))) { -+ set_chroot = s; -+ } -+#endif /* PARANOIA || JAIL */ -+#if defined (JAIL) -+ if (!no_dhcpd_jail && (s = getenv ("DHCPD_JAIL_HOSTNAME")) && -+ (s2 = getenv ("DHCPD_JAIL_IPADDRESS"))) { -+ set_jail = s; -+ if (inet_pton (AF_INET, s2, &jail_ip_address) < 0) -+ log_fatal ("invalid ip address: %s", s2); -+ jail_ip_address = ntohl (jail_ip_address); -+ } -+#endif /* JAIL */ - - if (!quiet) { - log_info ("%s %s", message, DHCP_VERSION); -@@ -388,6 +507,57 @@ - trace_seed_stop, MDL); - #endif - -+#if defined (PARANOIA) -+ /* get user and group info if those options were given */ -+ if (set_user) { -+ struct passwd *tmp_pwd; -+ -+ if (geteuid ()) -+ log_fatal ("you must be root to set user"); -+ -+ if (!(tmp_pwd = getpwnam (set_user))) -+ log_fatal ("no such user: %s", set_user); -+ -+ set_uid = tmp_pwd->pw_uid; -+ -+ /* use the user's group as the default gid */ -+ if (!set_group) -+ set_gid = tmp_pwd->pw_gid; -+ } -+ -+ if (set_group) { -+/* get around the ISC declaration of group */ -+#define group real_group -+ struct group *tmp_grp; -+ -+ if (geteuid ()) -+ log_fatal ("you must be root to set group"); -+ -+ if (!(tmp_grp = getgrnam (set_group))) -+ log_fatal ("no such group: %s", set_group); -+ -+ set_gid = tmp_grp->gr_gid; -+#undef group -+ } -+#endif /* PARANOIA */ -+#if defined (JAIL) -+ if (set_jail) { -+ /* Initialize icmp support... */ -+ if (!cftest && !lftest) -+ icmp_startup (1, lease_pinged); -+ if(!set_chroot) -+ set_chroot = "/"; -+ setup_jail (set_chroot, set_jail, jail_ip_address); -+ } -+#endif /* JAIL */ -+#if defined (PARANOIA) && defined (JAIL) -+ else -+#endif /* PARANOIA && JAIL */ -+#if defined (PARANOIA) -+ if (early_chroot && set_chroot) -+ setup_chroot (set_chroot); -+#endif /* PARANOIA */ -+ - /* Default to the DHCP/BOOTP port. */ - if (!local_port) - { -@@ -462,6 +632,9 @@ - #endif - - /* Initialize icmp support... */ -+#if defined (JAIL) -+ if (!set_jail) -+#endif /* JAIL */ - if (!cftest && !lftest) - icmp_startup (1, lease_pinged); - -@@ -491,6 +664,14 @@ - - postconf_initialization (quiet); - -+#if defined (PARANOIA) -+#if defined (JAIL) -+ if (!set_jail) -+#endif /* JAIL */ -+ if (!early_chroot && set_chroot) -+ setup_chroot (set_chroot); -+#endif /* PARANOIA */ -+ - /* test option should cause an early exit */ - if (cftest && !lftest) - exit(0); -@@ -533,7 +714,22 @@ - else if (pid) - exit (0); - } -+ -+#if defined (PARANOIA) -+ /* change uid to the specified one */ -+ if (set_gid) { -+ if (setgroups (0, (void *)0)) -+ log_fatal ("setgroups: %m"); -+ if (setgid (set_gid)) -+ log_fatal ("setgid(%d): %m", (int) set_gid); -+ } - -+ if (set_uid) { -+ if (setuid (set_uid)) -+ log_fatal ("setuid(%d): %m", (int) set_uid); -+ } -+#endif /* PARANOIA */ -+ - /* Read previous pid file. */ - if ((i = open (path_dhcpd_pid, O_RDONLY)) >= 0) { - status = read (i, pbuf, (sizeof pbuf) - 1); -@@ -877,8 +1073,24 @@ - log_info (copyright); - log_info (arr); - -- log_fatal ("Usage: dhcpd [-p <UDP port #>] [-d] [-f]%s%s%s%s", -+ log_fatal ("Usage: dhcpd [-p <UDP port #>] [-d] [-f]%s%s%s%s%s%s%s", - "\n [-cf config-file] [-lf lease-file]", -+ -+#if defined (PARANOIA) -+ /* meld into the following string */ -+ "\n [-user user] [-group group]", -+ "\n [-chroot dir] [-early_chroot]", -+#else /* PARANOIA */ -+ "", "", -+#endif /* PARANOIA */ -+ -+#if defined (JAIL) -+ /* then also these ones */ -+ "\n [-jail name ip]", -+#else /* JAIL */ -+ "", -+#endif /* JAIL */ -+ - #if defined (TRACING) - "\n [-tf trace-output-file]", - "\n [-play trace-input-file]", diff --git a/net/isc-dhcp31-server/files/patch-site.conf b/net/isc-dhcp31-server/files/patch-site.conf deleted file mode 100644 index 1149e0c7925c..000000000000 --- a/net/isc-dhcp31-server/files/patch-site.conf +++ /dev/null @@ -1,42 +0,0 @@ ---- site.conf.orig Wed Jul 7 17:20:10 1999 -+++ site.conf Wed Mar 3 14:00:14 2004 -@@ -1,2 +1,39 @@ - # 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 -+CLIENT_PATH = \"PATH=/sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/sbin:${PREFIX}/bin\" -+ -+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=\"$(VARRUN)/dhclient.pid\" -+ -+CFLAGS += -Dwarn=dhcp_warn -+CFLAGS += -DNOMINUM diff --git a/net/isc-dhcp31-server/pkg-descr b/net/isc-dhcp31-server/pkg-descr deleted file mode 100644 index 86bbb3cc62f0..000000000000 --- a/net/isc-dhcp31-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 (this port) - * 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-dhcp31-server/pkg-install b/net/isc-dhcp31-server/pkg-install deleted file mode 100644 index 547e94efc046..000000000000 --- a/net/isc-dhcp31-server/pkg-install +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -[ $# != 2 ] && exit 1 -[ -z "${PKG_PREFIX}" ] && exit 1 -[ -n "${BATCH}" ] && exit 0 - -case $2 in -POST-INSTALL) - if [ -x ${PKG_PREFIX}/etc/rc.d/isc-dhcpd ]; then - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd forceinstall - else - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd.sh forceinstall - fi - ;; -DEINSTALL) - if [ -x ${PKG_PREFIX}/etc/rc.d/isc-dhcpd ]; then - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd forceuninstall - else - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd.sh forceuninstall - fi - ;; -POST-DEINSTALL|PRE-INSTALL) - ;; -*) - echo "usage: $0 <PKG_NAME> {PRE-INSTALL|POST-INSTALL|DEINSTALL|POST-DEINSTALL}" >&2 - exit 1 - ;; -esac diff --git a/net/isc-dhcp31-server/pkg-message b/net/isc-dhcp31-server/pkg-message deleted file mode 100644 index 754d49ae331f..000000000000 --- a/net/isc-dhcp31-server/pkg-message +++ /dev/null @@ -1,53 +0,0 @@ -**** To setup dhcpd, you may have to copy %%PREFIX%%/etc/dhcpd.conf.sample - to %%PREFIX%%/etc/dhcpd.conf for editing. - -**** This port installs dhcp daemon, but don't invokes dhcpd by default. If - you want to invoke dhcpd at startup, put these lines into /etc/rc.conf. - - dhcpd_enable="YES" # dhcpd enabled? - dhcpd_flags="-q" # command option(s) - dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf" # configuration file - dhcpd_ifaces="" # ethernet interface(s) - dhcpd_withumask="022" # file creation mask - -**** If compiled with paranoia support (the default), the following lines - are also supported: - - dhcpd_chuser_enable="YES" # runs w/o privileges? - dhcpd_withuser="dhcpd" # user name to run as - dhcpd_withgroup="dhcpd" # group name to run as - dhcpd_chroot_enable="YES" # runs chrooted? - dhcpd_devfs_enable="YES" # use devfs if available? - dhcpd_makedev_enable="YES" # use MAKEDEV instead? - dhcpd_rootdir="/var/db/dhcpd" # directory to run in - dhcpd_includedir="<some_dir>" # directory with config- - files to include - dhcpd_flags="-early_chroot" # needs full root - - WARNING: -early_chroot requires a jail(8) like environment to work. - - WARNING: dhcpd_devfs_enable and dhcpd_makedev_enable are mutually - exclusive - dhcpd_makedev_enable make NO sense on FreeBSD 5.x and up! - -**** If compiled with jail support (the default), the following lines are - also supported (-early_chroot and dhcpd_chroot_enable=YES are implied): - - dhcpd_jail_enable="YES" # runs imprisoned? - dhcpd_hostname="<hostname>" # jail hostname - dhcpd_ipaddress="<ip address>" # jail ip address - - WARNING: dhcpd_rootdir needs to point to a full jail(8) environment. - -**** WARNING: never edit the chrooted or jailed dhcpd.conf file but - %%PREFIX%%/etc/dhcpd.conf instead which is always copied where - needed upon startup. - -**** WARNING: %%PREFIX%%/etc/rc.isc-dhcpd.conf is obsolete. rc.conf like - variables are still read there but should be moved /etc/rc.conf or - /etc/rc.conf.d/dhcpd instead. Also, the dhcpd_options variable must - be renamed dhcpd_flags if any. -%%LDAP%% -%%LDAP%%**** You have requested support for the LDAP configuration backend. -%%LDAP%% The OpenLDAP schema file is installed as %%SCHEMA_DIR%%/dhcp.schema. -%%LDAP%% See %%DOCSDIR%%/README.ldap for further LDAP configuration details. diff --git a/net/isc-dhcp31-server/pkg-plist b/net/isc-dhcp31-server/pkg-plist deleted file mode 100644 index e1028012ff4e..000000000000 --- a/net/isc-dhcp31-server/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -@comment $FreeBSD$ -@unexec %D/etc/rc.d/isc-dhcpd.sh forcestop 2>/dev/null || true -@unexec %D/etc/rc.d/isc-dhcpd forcestop 2>/dev/null || true -bin/omshell -%%LDAP%%bin/dhcpd-conf-to-ldap.pl -etc/dhcpd.conf.sample -sbin/dhcpd -%%LDAP%%%%SCHEMA_DIR%%/dhcp.schema -%%LDAP%%@dirrm %%SCHEMA_DIR%% diff --git a/net/isc-dhcp40-client/Makefile b/net/isc-dhcp40-client/Makefile deleted file mode 100644 index c0799f3e6e54..000000000000 --- a/net/isc-dhcp40-client/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: dhcp -# Date created: 28 April 2003 -# Whom: cyrille.lefevre@laposte.net -# -# $FreeBSD$ -# - -COMMENT= The ISC Dynamic Host Configuration Protocol client - -# Local variables -# - -SUBSYS= client - -# Local overrides -# - -MASTERDIR= ${.CURDIR}/../isc-dhcp3-server - -.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp40-client/pkg-descr b/net/isc-dhcp40-client/pkg-descr deleted file mode 100644 index 7dc1bc78ea95..000000000000 --- a/net/isc-dhcp40-client/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 (this port) - * 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-client/pkg-message b/net/isc-dhcp40-client/pkg-message deleted file mode 100644 index b406fd04fbd8..000000000000 --- a/net/isc-dhcp40-client/pkg-message +++ /dev/null @@ -1,10 +0,0 @@ -**** To setup dhclient, you may need to edit /etc/rc.conf to replace the - base system dhclient, such as : - - dhcp_program="%%PREFIX%%/sbin/dhclient" - dhcp_flags="-q" - - See dhclient(8), using the following command, for details about other - possible options: - - MANPATH=%%MAN1PREFIX%%/man man 8 dhclient diff --git a/net/isc-dhcp40-client/pkg-plist b/net/isc-dhcp40-client/pkg-plist deleted file mode 100644 index 9718418fbd95..000000000000 --- a/net/isc-dhcp40-client/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -@comment $FreeBSD: /tmp/pcvs/ports/net/isc-dhcp40-client/Attic/pkg-plist,v 1.3 2004-06-26 08:46:05 eik Exp $ -etc/dhclient.conf.sample -@exec [ -f %D/etc/dhclient.conf ] || touch %D/etc/dhclient.conf -@unexec [ -L %D/etc/dhclient.conf -o -s %D/etc/dhclient.conf ] || rm -f %D/etc/dhclient.conf -sbin/dhclient -sbin/dhclient-script -@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases -@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases diff --git a/net/isc-dhcp40-relay/Makefile b/net/isc-dhcp40-relay/Makefile deleted file mode 100644 index e739f7a0e6db..000000000000 --- a/net/isc-dhcp40-relay/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: dhcp -# Date created: 28 April 2003 -# Whom: cyrille.lefevre@laposte.net -# -# $FreeBSD$ -# - -COMMENT= The ISC Dynamic Host Configuration Protocol relay - -# Local variables -# - -SUBSYS= relay - -# Local overrides -# - -MASTERDIR= ${.CURDIR}/../isc-dhcp3-server - -.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp40-relay/pkg-descr b/net/isc-dhcp40-relay/pkg-descr deleted file mode 100644 index b764dbf45a19..000000000000 --- a/net/isc-dhcp40-relay/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 (this port) - -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-relay/pkg-message b/net/isc-dhcp40-relay/pkg-message deleted file mode 100644 index af6992fb34a5..000000000000 --- a/net/isc-dhcp40-relay/pkg-message +++ /dev/null @@ -1,13 +0,0 @@ -**** This port installs dhcp relay daemon, but don't invokes dhcrelay by - default. If you want to invoke dhcrelay at startup, put these lines - into /etc/rc.conf. - - dhcrelay_enable="YES" - dhcrelay_flags="" # command option(s) - dhcrelay_servers="" # dhcrelay server(s) - dhcrelay_ifaces="" # ethernet interface(s) - -**** For instance, rc.conf like variables are still read from - %%PREFIX%%/etc/rc.isc-dhcrelay.conf. They should be move - into /etc/rc.conf. Also, the dhcrelay_options variable - must be renamed dhcrelay_flags. diff --git a/net/isc-dhcp40-relay/pkg-plist b/net/isc-dhcp40-relay/pkg-plist deleted file mode 100644 index d0182db32a9c..000000000000 --- a/net/isc-dhcp40-relay/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -@comment $FreeBSD: /tmp/pcvs/ports/net/isc-dhcp40-relay/Attic/pkg-plist,v 1.5 2006-08-25 12:02:58 sem Exp $ -@unexec %D/etc/rc.d/isc-dhcrelay.sh forcestop 2>/dev/null || true -@unexec %D/etc/rc.d/isc-dhcrelay forcestop 2>/dev/null || true -sbin/dhcrelay diff --git a/net/isc-dhcp40-server/Makefile b/net/isc-dhcp40-server/Makefile deleted file mode 100644 index ea88ac706d0f..000000000000 --- a/net/isc-dhcp40-server/Makefile +++ /dev/null @@ -1,358 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: dhcp -# Date created: 7 Mar 1996 -# Whom: se -# -# $FreeBSD$ -# - -PORTNAME= dhcp -PORTVERSION= 3.0.5 -PORTREVISION= ${DHCP_PORTREVISION} -CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_ISC} -MASTER_SITE_SUBDIR= dhcp dhcp/dhcp-3.0-history -PKGNAMEPREFIX= isc- -PKGNAMESUFFIX= 3-${SUBSYS} -DISTNAME= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL} - -MAINTAINER= Joerg.Pulz@frm2.tum.de -COMMENT?= The ISC Dynamic Host Configuration Protocol server - -PORTREVISION_SERVER= 2 -PORTREVISION_CLIENT= 0 -PORTREVISION_RELAY= 0 -PORTREVISION_DEVEL= 0 - -SUBSYS?= server - -UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} -.if ${SUBSYS} == client -OPTIONS= INTERFACE_POLLING "interface polling support" on -.endif -.if ${SUBSYS} == server -OPTIONS= DHCP_PARANOIA "add -user, -group and -chroot options" on \ - DHCP_JAIL "add -chroot and -jail options" on \ - DHCP_SOCKETS "use sockets instead of /dev/bpf (jail-only)" off \ - DHCP_LDAP "add experimental LDAP backend support" off \ - DHCP_LDAP_SSL "support LDAP connection over SSL/TLS" on \ - OPENSSL_BASE "use the base system OpenSSL (required by TLS)" on \ - OPENSSL_PORT "use OpenSSL from ports (required by TLS)" off \ - DHCP_LQ "DHCPLEASEQUERY support used by Cisco uBR's" off -.endif - -# PORTREVISION handling -.if ${SUBSYS} == client -DHCP_PORTREVISION= ${PORTREVISION_CLIENT} -.elif ${SUBSYS} == relay -DHCP_PORTREVISION= ${PORTREVISION_RELAY} -.elif ${SUBSYS} == devel -DHCP_PORTREVISION= ${PORTREVISION_DEVEL} -.else -DHCP_PORTREVISION= ${PORTREVISION_SERVER} -.endif - -.include <bsd.port.pre.mk> - -.if ${SUBSYS} == server && defined(WITH_DHCP_LDAP) -# Based on patch from Brian Masney : -PATCH_SITES= http://www.newwave.net/~masneyb/:ldap \ - ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/:ldap -PATCHFILES= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL}-ldap-patch:ldap -PATCH_DIST_STRIP= -p1 - -USE_PERL5_RUN= yes -USE_OPENLDAP= yes - -.if !defined(WITHOUT_DHCP_LDAP_SSL) -USE_OPENSSL= yes -# hack to get bsd.openssl.mk included at this late state -.include "${PORTSDIR}/Mk/bsd.openssl.mk" -.endif -.endif - -.if ${SUBSYS} == server && defined(WITH_DHCP_LQ) -# Based on patch from Dmitry Sukhodoev : -PATCH_SITES+= http://bingo.ru/~raven/FreeBSD/patches/:dlq \ - ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/:dlq -PATCHFILES+= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL}-dlq-patch:dlq -.endif - -# Global variables -# - -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --subsys ${SUBSYS} -ALL_TARGET= all.${SUBSYS} -INSTALL_TARGET= install.${SUBSYS} -SCRIPTS_ENV+= PKG_PREFIX=${PREFIX} - -.if ${SUBSYS} == client -MAN5= dhclient.conf.5 dhclient.leases.5 -MAN8= dhclient.8 dhclient-script.8 -.elif ${SUBSYS} == server -MAN1= omshell.1 -MAN5= dhcpd.conf.5 dhcpd.leases.5 -MAN8= dhcpd.8 -.elif ${SUBSYS} == relay -MAN8= dhcrelay.8 -.else -MAN3= dhcpctl.3 omapi.3 -.endif -.if ${SUBSYS} != relay -MAN5+= dhcp-eval.5 dhcp-options.5 -.endif - -MSG_FILE= ${.CURDIR}/pkg-message -DESCR= ${.CURDIR}/pkg-descr -PKGINSTALL= ${.CURDIR}/pkg-install -PKGDEINSTALL= ${PKGINSTALL} -PKGMESSAGE= ${WRKDIR}/pkg-message -PLIST= ${.CURDIR}/pkg-plist - -# Local variables -# - -# for instance, possible versions are: -# 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.2.3, 1.2 -# so, the magic things are: -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 -.if ${SUBSYS} == server || ${SUBSYS} == devel -PATCH_SUBDIRS+= dhcpctl -.endif -.if ${SUBSYS} != devel -PATCH_SUBDIRS+= ${SUBSYS} -.endif -.if ${SUBSYS} == server -PATCH_SUBDIRS+= omshell -.endif - -.if !defined(NOPORTDOCS) -PORTDOCS= LICENSE README RELNOTES -.endif -.if ${SUBSYS} == client -BIN_FILES= dhclient -LOCAL_CONF_FILES= dhclient.conf -SAMP_FILES= client/dhclient.conf -DATA_FILES= dhclient.leases -.elif ${SUBSYS} == server -BIN_FILES= dhcpd omshell -USE_RC_SUBR= isc-dhcpd -SAMP_FILES= server/dhcpd.conf -DATA_FILES= dhcpd.leases -.if defined(WITH_DHCP_LDAP) -PORTDOCS+= README.ldap -LDAP_SCRIPT= contrib/dhcpd-conf-to-ldap.pl -LDAP_SCHEMA= contrib/dhcp.schema -.endif -.elif ${SUBSYS} == relay -BIN_FILES= dhcrelay -USE_RC_SUBR= isc-dhcrelay -.endif - -SAMP_SUFX= .sample - -CONF_DIR= ${PREFIX}/etc -SCHEMA_DIR= ${PREFIX}/share/${PKGBASE} -DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} -DATADIR= /var/db - -PLIST_SUB+= SCHEMA_DIR="${SCHEMA_DIR:S,^${PREFIX}/,,}" -.if defined(WITH_DHCP_LDAP) -PLIST_SUB+= LDAP="" -.else -PLIST_SUB+= LDAP="@comment " -.endif -REINPLACE_SUB= PREFIX=${PREFIX} -.if ${OSVERSION} >= 502100 -SUB_LIST+= NOLOGIN=/usr/sbin/nologin -.else -SUB_LIST+= NOLOGIN=/sbin/nologin -.endif -.if !defined(WITHOUT_DHCP_PARANOIA) -SUB_LIST+= PARANOIA=YES -.else -SUB_LIST+= PARANOIA=NO -.endif -.if !defined(WITHOUT_DHCP_JAIL) -SUB_LIST+= JAIL=YES -.else -SUB_LIST+= JAIL=NO -.endif -PKGMESSAGE_SUB= PREFIX="${PREFIX}" MAN1PREFIX="${MAN1PREFIX}" \ - DOCSDIR="${DOCSDIR}" SCHEMA_DIR="${SCHEMA_DIR}" - -# Post-extract -# - -post-extract: extract-omshell extract-script - -extract-omshell: - @${MKDIR} ${WRKSRC}/omshell - @${MV} ${WRKSRC}/dhcpctl/omshell.? ${WRKSRC}/omshell - @${CP} ${FILESDIR}/omshell::Makefile.dist \ - ${WRKSRC}/omshell/Makefile.dist - -extract-script: - @${CP} ${FILESDIR}/client::scripts::freebsd ${WRKSRC}/client/scripts/freebsd - -# Post-patch -# - -post-patch: patch-scripts patch-makefile-conf \ - patch-makefiles-dist patch-man-pages \ - patch-pkgmessage patch-site-conf \ - patch-dlq - -patch-scripts: - @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${WRKSRC}/client/dhclient.conf \ - ${WRKSRC}/client/scripts/freebsd - -patch-site-conf: -.if ${SUBSYS} == client && !defined(WITHOUT_INTERFACE_POLLING) - @${ECHO_CMD} CFLAGS += -DENABLE_POLLING_MODE >> ${WRKSRC}/site.conf -.endif -.if ${SUBSYS} == server -.if !defined(WITHOUT_DHCP_PARANOIA) - @${ECHO_CMD} CFLAGS += -DPARANOIA >> ${WRKSRC}/site.conf -.endif -.if !defined(WITHOUT_DHCP_JAIL) - @${ECHO_CMD} CFLAGS += -DJAIL >> ${WRKSRC}/site.conf -.if defined(WITH_DHCP_SOCKETS) - @${ECHO_CMD} CFLAGS += -DUSE_SOCKETS >> ${WRKSRC}/site.conf -.endif -.endif -.if defined(WITH_DHCP_LDAP) - @${ECHO_CMD} CFLAGS += -I${LOCALBASE}/include >> ${WRKSRC}/site.conf - @${ECHO_CMD} LIBS += -L${LOCALBASE}/lib >> ${WRKSRC}/site.conf -.if !defined(WITHOUT_DHCP_LDAP_SSL) - @${ECHO_CMD} CFLAGS += -DUSE_SSL -I${OPENSSLINC} >> ${WRKSRC}/site.conf - @${ECHO_CMD} LIBS += -L${OPENSSLLIB} >> ${WRKSRC}/site.conf - @${ECHO_CMD} LIBS += -lcrypto -lssl >> ${WRKSRC}/site.conf -.endif -.endif -.endif - -patch-makefile-conf: - @${REINPLACE_CMD} -e 's|^DEBUG[ ]*=|# DEBUG ?=|g' \ - ${WRKSRC}/Makefile.conf - -patch-makefiles-dist: -.for subdir in ${PATCH_SUBDIRS} - @${REINPLACE_CMD} -e 's|^CFLAGS[ ]*=|CFLAGS +=|g' \ - ${WRKSRC}/${subdir}/Makefile.dist -.endfor - -# temporary hack - no patch file needed for this typo. -patch-man-pages: - @${REINPLACE_CMD} -e '/^\.Fd$$/d' ${WRKSRC}/dhcpctl/dhcpctl.3 - -patch-pkgmessage: -.if ${SUBSYS} != devel - @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${MSG_FILE} > ${PKGMESSAGE} -.if defined(WITH_DHCP_LDAP) - @${REINPLACE_CMD} -e 's|^%%LDAP%%||g' ${PKGMESSAGE} -.else - @${REINPLACE_CMD} -e '/^%%LDAP%%/d' ${PKGMESSAGE} -.endif -.endif - -patch-dlq: -.if ${SUBSYS} == server && defined(WITH_DHCP_LQ) -.if defined(WITH_DHCP_LDAP) - @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-dlq-ldap -.else - @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-dlq -.endif -.endif - -# Post-install -# - -POST-INSTALL= parallel-post-install install-rc-script configure-package \ - display-message -.ORDER: ${POST-INSTALL} -post-install: ${POST-INSTALL} - -parallel-post-install: \ - strip-binary-files \ - install-doc-files install-ldap-files install-sample-files \ - create-conf-files create-data-files - -strip-binary-files: -.for f in ${BIN_FILES} -.if exists(${PREFIX}/bin/${f}) - @${STRIP_CMD} ${PREFIX}/bin/${f} -.endif -.if exists(${PREFIX}/sbin/${f}) - @${STRIP_CMD} ${PREFIX}/sbin/${f} -.endif -.endfor - -install-doc-files: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor -.endif - -install-ldap-files: -.if ${SUBSYS} == server && defined(WITH_DHCP_LDAP) - @${INSTALL_SCRIPT} ${WRKSRC}/${LDAP_SCRIPT} ${PREFIX}/bin - @${MKDIR} ${SCHEMA_DIR} - @${INSTALL_DATA} ${WRKSRC}/${LDAP_SCHEMA} ${SCHEMA_DIR} -.endif - -install-sample-files: -.for f in ${SAMP_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${CONF_DIR}/${f:T}${SAMP_SUFX} -.endfor - -create-conf-files: -.for f in ${LOCAL_CONF_FILES} -.if !exists(${CONF_DIR}/${f}) - @${TOUCH} ${CONF_DIR}/${f} -.endif -.endfor - -create-data-files: -.for f in ${DATA_FILES} -.if !exists(${DATADIR}/${f}) - @${TOUCH} ${DATADIR}/${f} -.endif -.endfor - -configure-package: -.if ${SUBSYS} == server - @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif - -display-message: -.if ${SUBSYS} != devel - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} -.endif - -.include <bsd.port.post.mk> diff --git a/net/isc-dhcp40-server/distinfo b/net/isc-dhcp40-server/distinfo deleted file mode 100644 index 399a8acbe95c..000000000000 --- a/net/isc-dhcp40-server/distinfo +++ /dev/null @@ -1,9 +0,0 @@ -MD5 (dhcp-3.0.5.tar.gz) = ce5d30d4645e4eab1f54561b487d1ec7 -SHA256 (dhcp-3.0.5.tar.gz) = dd445fb2a341cdd69e85693dce6f8fda1a1c9d0e98d34c01afc3e68d8037ffb6 -SIZE (dhcp-3.0.5.tar.gz) = 876591 -MD5 (dhcp-3.0.5-ldap-patch) = 41cde9e9a768bf12390288465ef30bbd -SHA256 (dhcp-3.0.5-ldap-patch) = e700472acb890b504ae5199500a0e87ca1da607946b2f3a8a8958f82d0a277c0 -SIZE (dhcp-3.0.5-ldap-patch) = 192308 -MD5 (dhcp-3.0.5-dlq-patch) = 0e071945cc986d7ecdfd9b41fc4a102b -SHA256 (dhcp-3.0.5-dlq-patch) = c3fd3200eaf00fa80cb37f19bd3b9edb89497c235b5fa594a0f6f60050f64108 -SIZE (dhcp-3.0.5-dlq-patch) = 7655 diff --git a/net/isc-dhcp40-server/files/client::scripts::freebsd b/net/isc-dhcp40-server/files/client::scripts::freebsd deleted file mode 100644 index 9c4c3d3a6f24..000000000000 --- a/net/isc-dhcp40-server/files/client::scripts::freebsd +++ /dev/null @@ -1,510 +0,0 @@ -#!/bin/sh - -############################################################################# -# -# Copyright (c) 1999, MindStep Corporation -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. -# -# -############################################################################# -# -# This script was written by Patrick Bihan-Faou, patrick@mindstep.com, -# Please contact us for bug reports, etc. -# -############################################################################# -# $MindStep_Id: dhclient-script.sh,v 1.8 1999/12/07 22:11:08 patrick Exp $ -# $MindStep_Tag: CONTRIB_19991207 $ -# from FreeBSD: src/sbin/dhclient/dhclient-script.sh,v 1.2 2002/02/01 18:46:58 alfred Exp -# $FreeBSD$ -############################################################################# - - -############################################################################# -# hook functions prototypes -# -# The "pre_state_XXX_hook" functions are called before the main -# work is done for the state XXX -# -# The "post_state_XXX_hook" functions are called after the main -# work is done for the state XXX -# -# These functions are meant to be overridden by the user's -# dhclient-enter-hooks file -############################################################################# - -pre_state_MEDIUM_hook () { } -pre_state_PREINIT_hook () { } -pre_state_ARPCHECK_hook () { } -pre_state_ARPSEND_hook () { } -pre_state_RENEW_hook () { } -pre_state_REBIND_hook () { } -pre_state_BOUND_hook () { } -pre_state_REBOOT_hook () { } -pre_state_EXPIRE_hook () { } -pre_state_FAIL_hook () { } -pre_state_TIMEOUT_hook () { } -post_state_MEDIUM_hook () { } -post_state_PREINIT_hook () { } -post_state_ARPCHECK_hook () { } -post_state_ARPSEND_hook () { } -post_state_RENEW_hook () { } -post_state_REBIND_hook () { } -post_state_BOUND_hook () { } -post_state_REBOOT_hook () { } -post_state_EXPIRE_hook () { } -post_state_FAIL_hook () { } -post_state_TIMEOUT_hook () { } - -############################################################################# -# make_resolv_conf -# -# This function is called to update the information related to the -# DNS configuration (the resolver part) -############################################################################# -make_resolv_conf () -{ - if [ "x$new_domain_name" != x ] && [ "x$new_domain_name_servers" != x ]; then - echo search $new_domain_name >/etc/resolv.conf - for nameserver in $new_domain_name_servers; do - echo nameserver $nameserver >>/etc/resolv.conf - done - fi -} - -############################################################################# -# set_XXX -# unset_XXX -# -# These function each deal with one particular setting. -# They are OS dependent and may be overridden in the -# dhclient-enter-hooks file if needed. -# -# These functions are called with either "new" or "old" to indicate which -# set of variables to use (new_ip_address or old_ip_address...) -# -############################################################################# - -update_hostname () -{ - local current_hostname=`/bin/hostname` - - if [ "$current_hostname" = "" ] || \ - [ "$current_hostname" = "$old_host_name" ] - then - if [ "$new_host_name" != "$old_host_name" ] - then - $LOGGER "New Hostname: $new_host_name" - hostname $new_host_name - fi - fi -} - -set_ip_address () -{ - local ip - local mask - local bcast - - if [ $# -lt 1 ] - then - return 1 - fi - - eval ip="\$${1}_ip_address" - eval mask="\$${1}_subnet_mask" - eval bcast="\$${1}_broadcast_address" - - if [ "$ip" != "" ] - then - ifconfig $interface inet $ip netmask $mask broadcast $bcast $medium -# route add $ip 127.0.0.1 > /dev/null 2>&1 - fi -} - -unset_ip_address () -{ - local ip - - if [ $# -lt 1 ] - then - return 1 - fi - - eval ip="\$${1}_ip_address" - - if [ "$ip" != "" ] - then - ifconfig $interface inet -alias $ip $medium -# route delete $ip 127.0.0.1 > /dev/null 2>&1 - fi -} - -set_ip_alias () -{ - if [ "$alias_ip_address" != "" ] - then - ifconfig $interface inet alias $alias_ip_address netmask $alias_subnet_mask -# route add $alias_ip_address 127.0.0.1 - fi -} - -unset_ip_alias () -{ - if [ "$alias_ip_address" != "" ] - then - ifconfig $interface inet -alias $alias_ip_address > /dev/null 2>&1 -# route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1 - fi -} - -set_routers () -{ - local router_list - - if [ $# -lt 1 ] - then - return 1 - fi - - eval router_list="\$${1}_routers" - - for router in $router_list - do - route add default $router >/dev/null 2>&1 - done -} - -unset_routers () -{ - local router_list - - if [ $# -lt 1 ] - then - return 1 - fi - - eval router_list="\$${1}_routers" - - for router in $router_list - do - route delete default $router >/dev/null 2>&1 - done -} - -set_static_routes () -{ - local static_routes - - if [ $# -lt 1 ] - then - return 1 - fi - - eval static_routes="\$${1}_static_routes" - - set static_routes - - while [ $# -ge 2 ] - do - $LOGGER "New Static Route: $1 -> $2" - route add $1 $2 - shift; shift - done -} - -unset_static_routes () -{ - local static_routes - - if [ $# -lt 1 ] - then - return 1 - fi - - eval static_routes="\$${1}_static_routes" - - set static_routes - - while [ $# -ge 2 ] - do - route delete $1 $2 - shift; shift - done -} - -############################################################################# -# -# utility functions grouping what needs to be done in logical units. -# -############################################################################# - -set_all () -{ - set_ip_address new - set_routers new - set_static_routes new - - if [ "$new_ip_address" != "$alias_ip_address" ] - then - set_ip_alias - fi -} - -set_others () -{ - update_hostname - make_resolv_conf -} - -clear_arp_table () -{ - arp -d -a -} - -unset_all () -{ - if [ "$alias_ip_address" != "$old_ip_address" ] - then - unset_ip_alias - fi - - if [ "$old_ip_address" != "" ] - then - unset_ip_address old - unset_routers old - unset_static_routes old - clear_arp_table - fi -} - -test_new_lease () -{ - local rc - - set $new_routers - - if [ $# -ge 1 ] - then - set_ip_address new - if ping -q -c 1 $1 - then - rc=0 - else - rc=1 - fi - unset_ip_address new - else - rc=1 - fi - return $rc -} - -############################################################################# -# Main State functions. -# -# There is a state function for each state of the DHCP client -# These functions are OS specific and should be be tampered with. -############################################################################# - -in_state_MEDIUM () -{ - ifconfig $interface $medium - ifconfig $interface inet -alias 0.0.0.0 $medium >/dev/null 2>&1 - sleep 1 - exit_status=0 -} - -in_state_PREINIT () -{ - unset_ip_alias - - ifconfig $interface inet 0.0.0.0 netmask 0.0.0.0 \ - broadcast 255.255.255.255 up - exit_status=0 -} - -in_state_ARPCHECK () -{ - exit_status=0 -} - -in_state_ARPSEND () -{ - exit_status=0 -} - -in_state_RENEW () -{ - if [ "$old_ip_address" != "$new_ip_address" ] - then - unset_all - set_all - fi - - set_others -} - -in_state_REBIND () { - in_state_RENEW -} - -in_state_BOUND () { - unset_all - set_all - set_others -} - -in_state_REBOOT () { - in_state_BOUND -} - -in_state_EXPIRE () -{ - unset_all - set_ip_alias - exit_status=0 -} - -in_state_FAIL () { - in_state_EXPIRE -} - -in_state_TIMEOUT () -{ - unset_all - - if test_new_lease - then - set_all - set_others - else - $LOGGER "No good lease information in TIMEOUT state" - set_ip_alias - exit_status=1 - fi -} - -############################################################################# -# Main functions: -# -# dhclient_script_init() parses the optional "enter_hooks" script which can -# override any of the state functions -# -# This function also parses the variables and notifies the detected changes. -############################################################################# -dhclient_script_init () -{ - if [ "$new_network_number" != "" ] - then - $LOGGER "New Network Number: $new_network_number" - fi - - if [ "$new_ip_address" != "" ] - then - $LOGGER "New IP Address: $new_ip_address" - fi - - if [ "$new_broadcast_address" != "" ] - then - $LOGGER "New Broadcast Address: $new_broadcast_address" - fi - - if [ "$new_subnet_mask" != "" ] - then - $LOGGER "New Subnet Mask for $interface: $new_subnet_mask" - fi - - if [ "$alias_subnet_mask" != "" ] - then - fi -} - -############################################################################# -# dhclient_main() does the appropriate work depending on the state of -# the dhcp client -############################################################################# -dhclient_script_main () -{ -# set -x - exit_status=0 - - case $reason in - MEDIUM|\ - PREINIT|\ - ARPCHECK|\ - ARPSEND|\ - RENEW|\ - REBIND|\ - BOUND|\ - REBOOT|\ - EXPIRE|\ - FAIL|\ - TIMEOUT) - pre_state_${reason}_hook - in_state_${reason} - post_state_${reason}_hook - ;; - *) - $LOGGER "dhclient-script called with invalid reason $reason" - exit_status=1 - ;; - esac -} - -############################################################################# -# Let's do the work... -############################################################################# - -if [ -x /usr/bin/logger ]; then - LOGGER="/usr/bin/logger -s -p user.notice -t dhclient" -else - LOGGER=echo -fi - -# Invoke the local dhcp client enter hooks, if they exist. -if [ -x %%PREFIX%%/etc/dhclient-enter-hooks ] -then - exit_status=0 - . %%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 - exit $exit_status - fi -fi - -dhclient_script_init -dhclient_script_main - -# Invokes the local dhcp client exit hooks, if any. -if [ -x %%PREFIX%%/etc/dhclient-exit-hooks ]; then - . %%PREFIX%%/etc/dhclient-exit-hooks -fi - -exit $exit_status - -############################################################################# -# That's all folks -############################################################################# diff --git a/net/isc-dhcp40-server/files/extra-patch-dlq b/net/isc-dhcp40-server/files/extra-patch-dlq deleted file mode 100644 index 5657af491721..000000000000 --- a/net/isc-dhcp40-server/files/extra-patch-dlq +++ /dev/null @@ -1,14 +0,0 @@ ---- server/Makefile.dist.orig Tue Jun 14 09:37:50 2005 -+++ server/Makefile.dist Tue Jun 14 09:37:50 2005 -@@ -25,9 +25,9 @@ - CATMANPAGES = dhcpd.cat8 dhcpd.conf.cat5 dhcpd.leases.cat5 - SEDMANPAGES = dhcpd.man8 dhcpd.conf.man5 dhcpd.leases.man5 - SRCS = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \ -- omapi.c mdb.c stables.c salloc.c ddns.c -+ omapi.c mdb.c stables.c salloc.c ddns.c dhcpleasequery.c - OBJS = dhcpd.o dhcp.o bootp.o confpars.o db.o class.o failover.o \ -- omapi.o mdb.o stables.o salloc.o ddns.o -+ omapi.o mdb.o stables.o salloc.o ddns.o dhcpleasequery.o - PROG = dhcpd - MAN = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5 - diff --git a/net/isc-dhcp40-server/files/extra-patch-dlq-ldap b/net/isc-dhcp40-server/files/extra-patch-dlq-ldap deleted file mode 100644 index 5f73fefb6f11..000000000000 --- a/net/isc-dhcp40-server/files/extra-patch-dlq-ldap +++ /dev/null @@ -1,14 +0,0 @@ ---- server/Makefile.dist.orig Tue Jun 14 09:39:39 2005 -+++ server/Makefile.dist Tue Jun 14 09:39:39 2005 -@@ -25,9 +25,9 @@ - CATMANPAGES = dhcpd.cat8 dhcpd.conf.cat5 dhcpd.leases.cat5 - SEDMANPAGES = dhcpd.man8 dhcpd.conf.man5 dhcpd.leases.man5 - SRCS = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \ -- ldap.c ldap_casa.c omapi.c mdb.c stables.c salloc.c ddns.c -+ ldap.c ldap_casa.c omapi.c mdb.c stables.c salloc.c ddns.c dhcpleasequery.c - OBJS = dhcpd.o dhcp.o bootp.o confpars.o db.o class.o failover.o \ -- ldap.o ldap_casa.o omapi.o mdb.o stables.o salloc.o ddns.o -+ ldap.o ldap_casa.o omapi.o mdb.o stables.o salloc.o ddns.o dhcpleasequery.o - PROG = dhcpd - MAN = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5 - diff --git a/net/isc-dhcp40-server/files/isc-dhcpd.in b/net/isc-dhcp40-server/files/isc-dhcpd.in deleted file mode 100644 index 82f249ad5571..000000000000 --- a/net/isc-dhcp40-server/files/isc-dhcpd.in +++ /dev/null @@ -1,729 +0,0 @@ -#! /bin/sh -# -# $FreeBSD$ -# -# PROVIDE: dhcpd -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf to enable dhcpd: -# -# dhcpd_enable="YES" -# - -. %%RC_SUBR%% - -name=dhcpd -paranoia=%%PARANOIA%% # compiled in paranoia? -jail=%%JAIL%% # compiled in jail? - -load_rc_config ${name} - -# override these variables in /etc/rc.conf -dhcpd_enable=${dhcpd_enable:-"NO"} -dhcpd_flags=${dhcpd_flags:-} # -q -early_chroot # command option(s) -dhcpd_conf=${dhcpd_conf:-%%PREFIX%%/etc/${name}.conf} # configuration file -dhcpd_ifaces=${dhcpd_ifaces:-} # ethernet interface(s) -dhcpd_withumask=${dhcpd_withumask:-022} # file creation mask - -dhcpd_chuser_enable=${dhcpd_chuser_enable:-"%%PARANOIA%%"} # runs w/o privileges? -dhcpd_withuser=${dhcpd_withuser:-${name}} # user name to run as -dhcpd_withgroup=${dhcpd_withgroup:-${name}} # group name to run as - -dhcpd_chroot_enable=${dhcpd_chroot_enable:-"NO"} # runs chrooted? -dhcpd_devfs_enable=${dhcpd_devfs_enable:-"YES"} # devfs if available? -dhcpd_makedev_enable=${dhcpd_makedev_enable:-"NO"} # MAKEDEV instead of devfs? -dhcpd_rootdir=${dhcpd_rootdir:-/var/db/${name}} # directory to run in -dhcpd_includedir=${dhcpd_includedir:-} # directory for included config files - -# untested -dhcpd_jail_enable=${dhcpd_jail_enable:-"NO"} # runs imprisoned? -dhcpd_hostname=${dhcpd_hostname:-} # jail hostname -dhcpd_ipaddress=${dhcpd_ipaddress:-} # jail ip address - -safe_run () # rc command [args...] -{ - local _rc - - _rc=$1 - shift - - if [ "${_rc}" -eq 0 ]; then - debug safe_run: "$@" - "$@" || _rc=1 - else - warn safe_run: "$@" - fi - return ${_rc} -} - -precious () # entry... -{ - local _entry _rc - - _rc=0 - for _entry; do - # do nothing if /dev, /var/run or /var/db - echo ${_entry} | egrep -q '^//*(dev|var//*(run|db))?/*$' || _rc=1 - done - debug precious: "$@" rc=${_rc} - return ${_rc} -} - -lsmod () # user group file... -{ - local _entry _user _group _rc - - _user=$1 _group=$2 - shift 2 - - _rc=0 - for _entry; do - ls -ld ${_entry} 2> /dev/null | - awk -v u=${_user} -v g=${_group} '{ - exit ((u && $3 != u) || (g && $4 != g)) - }' || _rc=1 - done - debug lsmod: "$@" rc=${_rc} - return ${_rc} -} - -safe_chmog () # entry... -{ - local _entry _user _group _usergroup _rc - - _user=${dhcpd_withuser} - _group=${dhcpd_withgroup} - - _rc=0 - if [ -n "${_user}" -o -n "${_group}" ]; then - _usergroup=${_user}${_group:+:${_group}} - for _entry; do - if [ -d ${_entry} ] && mounted ${_entry}; then - continue - fi - if [ -e ${_entry} ] && - ! precious ${_entry} && - ! lsmod ${_user} ${_group} ${_entry} && - ! safe_run ${_rc} chown ${_usergroup} ${_entry}; then - warn "unable to change permissions of ${_entry}" - _rc=1 - fi - done - fi - return ${_rc} -} - -safe_mkdir () # dir... -{ - local _dir _rc - - _rc=0 - for _dir; do - if [ ! -d ${_dir} ] && - ! precious ${_dir} && - ! safe_run ${_rc} mkdir -p ${_dir}; then - err 1 "unable to create directory ${_dir}" - _rc=1 - fi - done - safe_run ${_rc} safe_chmog "$@" || _rc=1 - return ${_rc} -} - -safe_rmdir () # dir... -{ - local _dir _rc - - _rc=0 - for _dir; do - if [ -d ${_dir} ] && - ! precious ${_dir} && - ! mounted ${_dir}; then - if safe_run ${_rc} rmdir ${_dir}; then - safe_run ${_rc} safe_rmdir ${_dir%/*} || _rc=1 - else - warn "unable to remove directory ${_dir}" - _rc=1 - fi - fi - done - return ${_rc} -} - -safe_touch () # file... -{ - local _file _rc - - _rc=0 - for _file; do - if [ ! -e ${_file} ] && - ! safe_run ${_rc} touch ${_file}; then - err 1 "unable to create file ${_file}" - _rc=1 - fi - done - safe_run ${_rc} safe_chmog "$@" || _rc=1 - return ${_rc} -} - -safe_remove () # entry... -{ - local _entry _rc - - _rc=0 - for _entry; do - if [ -f ${_entry} ]; then - if ! safe_run ${_rc} rm -f ${_entry}; then - warn "unable to remove file ${_entry}" - _rc=1 - fi - elif [ -d ${_entry} ] && - ! precious ${_entry} && - ! mounted ${_entry}; then - if ! safe_run ${_rc} rm -rf ${_entry}; then - warn "unable to remove directory ${_entry}" - _rc=1 - fi - fi - done - return ${_rc} -} - -safe_copy () # src dst -{ - local _src _dst _rc - - _src=$1 _dst=$2 - - _rc=0 - if [ -f ${_src} ]; then - if ! safe_run ${_rc} safe_remove ${_dst} || - ! safe_run ${_rc} cp -p ${_src} ${_dst}; then - err 1 "unable to copy file ${_src} to ${_dst}" - _rc=1 - fi - safe_run ${_rc} safe_chmog ${_dst} || _rc=1 - elif [ -d ${_src} ] && - ! precious ${_dst} && - ! mounted ${_dst}; then - if ! safe_run ${_rc} pax -rw -pe -ts "|^${_src}||" \ - ${_src} ${_dst}; then - err 1 "unable to copy directory ${_src} to ${_dst}" - _rc=1 - fi - else - err 1 "unable to copy ${_src} to ${_dst}" \ - "-- not a file or a directory" - _rc=1 - fi - return ${_rc} -} - -mounted () # dir... -{ - local _rc - - _rc=1 - if checkyesno dhcpd_devfs_enable || - checkyesno dhcpd_jail_enable; then - mount -t devfs | awk ' - BEGIN { n = ARGC; ARGC = 2 } - { for (i = 2; i != n; i++) if ($3 == ARGV[i]) exit 1 } - ' - "$@" || _rc=0 - fi - debug mounted: "$@" rc=${_rc} - return ${_rc} -} - -safe_mount () # dir -{ - local _dir _rc - - _dir=$1 - - _rc=0 - if checkyesno dhcpd_devfs_enable && - ! mounted ${_dir} && - ! safe_run ${_rc} mount -t devfs devfs ${_dir}; then - err 1 "unable to mount ${_dir}" - _rc=1 - fi - return ${_rc} -} - -safe_umount () # dir -{ - local _dir _rc - - _dir=$1 - - _rc=0 - if checkyesno dhcpd_devfs_enable && - mounted ${_dir} && - ! safe_run ${_rc} umount ${_dir}; then - warn "unable to unmount ${_dir}" - _rc=1 - fi - return ${_rc} -} - -safe_useradd () -{ - local _user _group _home _shell _gecos - - _user=$1 _group=$2 _gecos=${3:-"& daemon"} - _home=${4:-/nonexistent} _shell=${5:-%%NOLOGIN%%} - - if [ -n "${_group}" ]; then - if pw group show ${_group} 2>/dev/null; then - echo "You already have a group \"${_group}\"," \ - "so I will use it." - elif pw groupadd ${_group} -h -; then - echo "Added group \"${_group}\"." - else - echo "Adding group \"${_group}\" failed..." - echo "Please create it, and try again." - exit 1 - fi - fi - if [ -n "${_user}" ]; then - if pw user show ${_user} 2>/dev/null; then - echo "You already have a user \"${_user}\"," \ - "so I will use it." - elif pw useradd ${_user} -g ${_group} -h - \ - -d ${_home} -s ${_shell} -c "${_gecos}"; then - echo "Added user \"${_user}\"." - else - echo "Adding user \"${_user}\" failed..." - echo "Please create it, and try again." - exit 1 - fi - fi -} - -check_chuser () -{ - if checkyesno paranoia; then - if checkyesno dhcpd_chuser_enable && - [ -z "${dhcpd_withuser}" -a -z "${dhcpd_withgroup}" ]; then - err 1 "one of dhcpd_withuser and dhcpd_withgroup" \ - "must be set if dhcpd_chuser_enable is enabled" - fi - else - if checkyesno dhcpd_chuser_enable; then - warn "dhcpd_chuser_enable disabled -- not compiled in" - dhcpd_chuser_enable=NO - fi - fi -} - -check_jail () -{ - if checkyesno paranoia && checkyesno jail; then - if checkyesno dhcpd_jail_enable && - ! checkyesno dhcpd_chroot_enable; then - warn "dhcpd_chroot_enable implied by dhcpd_jail_enable" - dhcpd_chroot_enable=YES - fi - if checkyesno dhcpd_jail_enable && - [ -n "${dhcpd_hostname}" -a -z "${dhcpd_ipaddress}" ] || - [ -z "${dhcpd_hostname}" -a -n "${dhcpd_ipaddress}" ]; then - err 1 "both dhcpd_hostname and dhcpd_ipaddress" \ - "must be set if dhcpd_jail_enable is enabled" - fi - else - if checkyesno dhcpd_jail_enable; then - warn "dhcpd_jail_enable disabled -- not compiled in" - dhcpd_jail_enable=NO - fi - fi -} - -check_chroot () -{ - if checkyesno paranoia; then - if checkyesno dhcpd_chroot_enable; then - if [ -z "${dhcpd_rootdir}" ]; then - err 1 "dhcpd_rootdir must be set" \ - "if dhcpd_chroot_enable is enabled" - fi - if checkyesno dhcpd_devfs_enable && - checkyesno dhcpd_makedev_enable; then - err 1 "dhcpd_devfs_enable and dhcpd_makedev_enable" \ - "are mutually exclusive. enable only one!" - fi - if checkyesno dhcpd_devfs_enable && - ! ( type mount_devfs ) > /dev/null 2>&1; then - warn "dhcpd_devfs_enable disabled" \ - "-- not available" - dhcpd_devfs_enable=NO - fi - if checkyesno dhcpd_makedev_enable && - ! [ -x ${__dhcpd_devdir}/MAKEDEV ]; then - warn "dhcpd_makedev_enable disabled" \ - "-- not available" - dhcpd_makedev_enable=NO - fi - else - dhcpd_devfs_enable=NO - dhcpd_makedev_enable=NO - fi - else - if checkyesno dhcpd_chroot_enable; then - warn "dhcpd_chroot_enable disabled -- not compiled in" - dhcpd_chroot_enable=NO - fi - dhcpd_devfs_enable=NO - dhcpd_makedev_enable=NO - fi -} - -rcvar_chuser () -{ - if checkyesno paranoia && checkyesno dhcpd_chuser_enable; then - dhcpd_piddir=${__dhcpd_piddir}/${name} - dhcpd_leasesdir=${__dhcpd_leasesdir}/${name} - else - dhcpd_withuser= dhcpd_withgroup= - fi -} - -rcvar_jail () -{ - if ! checkyesno paranoia || ! checkyesno jail || - ! checkyesno dhcpd_jail_enable; then - dhcpd_hostname= dhcpd_ipaddress= - fi -} - -rcvar_chroot () -{ - if ! checkyesno paranoia || ! checkyesno dhcpd_chroot_enable; then - dhcpd_rootdir= - elif checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - dhcpd_devdir=${__dhcpd_devdir} - dhcpd_etcdir=${__dhcpd_etcdir} - fi -} - -rcvar_pidnleases () -{ - if ! checkyesno dhcpd_chuser_enable; then - dhcpd_piddir=${__dhcpd_piddir} - dhcpd_leasesdir=${__dhcpd_leasesdir} - fi - dhcpd_pidfile=${dhcpd_piddir}/${name}.pid - dhcpd_leasesfile=${dhcpd_leasesdir}/${name}.leases - dhcpd_conffile=${dhcpd_conf} # for convenience only - dhcpd_confdir=$(dirname ${dhcpd_conffile}) -} - -rcvar_rooted () -{ - _dhcpd_rootdir=${dhcpd_rootdir} - _dhcpd_devdir=${dhcpd_rootdir}${dhcpd_devdir} - _dhcpd_etcdir=${dhcpd_rootdir}${dhcpd_etcdir} - _dhcpd_confdir=${dhcpd_rootdir}${dhcpd_confdir} - _dhcpd_includedir=${dhcpd_rootdir}${dhcpd_includedir} - _dhcpd_piddir=${dhcpd_rootdir}${dhcpd_piddir} - _dhcpd_leasesdir=${dhcpd_rootdir}${dhcpd_leasesdir} - _dhcpd_conffile=${dhcpd_rootdir}${dhcpd_conffile} - _dhcpd_pidfile=${dhcpd_rootdir}${dhcpd_pidfile} - _dhcpd_leasesfile=${dhcpd_rootdir}${dhcpd_leasesfile} -} - -setup_compat () -{ - local dhcpd_rcconf - - # suck in old configuration file and variables - # - dhcpd_rcconf=${dhcpd_confdir}/rc.isc-dhcpd.conf - - if [ -f ${dhcpd_rcconf} ]; then - warn "${dhcpd_rcconf} is obsolete, use /etc/rc.conf and/or" \ - "/etc/rc.conf.d/${name} instead." - . ${dhcpd_rcconf} - - if [ -n "${dhcpd_options}" -a -z "${rc_flags}" ]; then - warn "dhcpd_options is obsolete," \ - "use dhcpd_flags instead." - rc_flags=${dhcpd_options} - fi - fi -} - -setup_umask () -{ - if [ -n "${dhcpd_withumask}" ]; then - umask ${dhcpd_withumask} - fi -} - -setup_chroot () -{ - local _mdev _hconf _hosts _ltime _rconf - - _mdev=MAKEDEV - _hconf=host.conf - _hosts=hosts - _ltime=localtime - _rconf=resolv.conf - - if checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - if ! mounted ${_dhcpd_devdir}; then - safe_mkdir ${_dhcpd_devdir}/_ - # XXX /_ hack! so, .../dev is root owned. - fi - safe_mkdir ${_dhcpd_rootdir} ${_dhcpd_etcdir}/_ ${_dhcpd_confdir} - # XXX /_ hack! so, .../etc is root owned. - if checkyesno dhcpd_devfs_enable; then - safe_mount ${_dhcpd_devdir} - elif checkyesno dhcpd_makedev_enable; then - safe_copy ${dhcpd_devdir}/$_mdev ${_dhcpd_devdir}/$_mdev - safe_run 0 sh -c "cd ${_dhcpd_devdir} && ./$_mdev jail bpf4" - else - safe_copy ${dhcpd_devdir} ${_dhcpd_devdir} - fi - safe_copy ${dhcpd_conffile} ${_dhcpd_conffile} - safe_copy ${dhcpd_etcdir}/$_hconf ${_dhcpd_etcdir}/$_hconf - safe_copy ${dhcpd_etcdir}/$_hosts ${_dhcpd_etcdir}/$_hosts - safe_copy ${dhcpd_etcdir}/$_ltime ${_dhcpd_etcdir}/$_ltime - safe_copy ${dhcpd_etcdir}/$_rconf ${_dhcpd_etcdir}/$_rconf - # copy dhcpd_includedir if defined and available - if [ -d "${dhcpd_includedir}" ]; then - safe_mkdir ${_dhcpd_includedir} - safe_copy ${dhcpd_includedir} ${_dhcpd_includedir} - fi - fi -} - -setup_chuser () -{ - if checkyesno paranoia && { - checkyesno dhcpd_chuser_enable || checkyesno dhcpd_chroot_enable - }; then - safe_mkdir ${_dhcpd_piddir} ${_dhcpd_leasesdir} - fi -} - -setup_leases () -{ - safe_touch ${_dhcpd_leasesfile} -} - -setup_flags () -{ - if [ -n "${dhcpd_conf}" ]; then - rc_flags="${rc_flags} -cf ${dhcpd_conf}" - fi - if [ -n "${dhcpd_leasesfile}" ]; then - rc_flags="${rc_flags} -lf ${dhcpd_leasesfile}" - fi - if [ -n "${dhcpd_pidfile}" ]; then - rc_flags="${rc_flags} -pf ${dhcpd_pidfile}" - fi - if [ -n "${dhcpd_withuser}" ]; then - rc_flags="${rc_flags} -user ${dhcpd_withuser}" - fi - if [ -n "${dhcpd_withgroup}" ]; then - rc_flags="${rc_flags} -group ${dhcpd_withgroup}" - fi - if [ -n "${dhcpd_rootdir}" ]; then - rc_flags="${rc_flags} -chroot ${dhcpd_rootdir}" - fi - if [ -n "${dhcpd_hostname}" -a -n "${dhcpd_ipaddress}" ]; then - rc_flags="${rc_flags} -jail ${dhcpd_hostname} ${dhcpd_ipaddress}" - fi - rc_flags="${rc_flags} ${dhcpd_ifaces}" -} - -cleanup_chroot () -{ - if checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - safe_umount ${_dhcpd_devdir} - fi -} - -dhcpd_stop () -{ - if sh $0 forcestatus; then - sh $0 forcestop - fi -} - -remove_pid () -{ - if [ -e ${_dhcpd_pidfile} ]; then - warn "${_dhcpd_pidfile} still exists! -- removing anyway" - fi - safe_remove ${_dhcpd_pidfile} -} - -remove_leases () -{ - if [ -s ${_dhcpd_leasesfile} ]; then - warn "${_dhcpd_leasesfile} not empty -- not removed --" \ - "futher warning messages expected, don't care." - else - safe_remove ${_dhcpd_leasesfile} ${_dhcpd_leasesfile}~ - fi -} - -remove_chuser () -{ - if checkyesno paranoia && { - checkyesno dhcpd_chuser_enable || checkyesno dhcpd_chroot_enable - }; then - safe_rmdir ${_dhcpd_piddir} ${_dhcpd_leasesdir} - fi -} - -remove_chroot () -{ - if checkyesno paranoia && checkyesno dhcpd_chroot_enable; then - safe_remove ${_dhcpd_conffile} ${_dhcpd_includedir} \ - ${_dhcpd_etcdir} - if checkyesno dhcpd_devfs_enable; then - safe_umount ${_dhcpd_devdir} - safe_rmdir ${_dhcpd_devdir}/_ # XXX /_ hack! - elif checkyesno dhcpd_jail_enable; then - if ! mounted ${_dhcpd_devdir}; then - safe_remove ${_dhcpd_devdir} - fi - else - safe_remove ${_dhcpd_devdir} - fi - safe_rmdir ${_dhcpd_confdir} ${_dhcpd_rootdir} # XXX /_ hack! - fi -} - -dhcpd_check () -{ - check_chuser - check_jail - check_chroot -} - -dhcpd_rcvar () -{ - rcvar_chuser - rcvar_jail - rcvar_chroot - rcvar_pidnleases - rcvar_rooted -} - -dhcpd_precmd () -{ - setup_compat - setup_umask - setup_chroot - setup_chuser - setup_leases - setup_flags -} - -dhcpd_postcmd () -{ - cleanup_chroot -} - -dhcpd_install () -{ - if checkyesno paranoia; then - safe_useradd "${dhcpd_withuser}" "${dhcpd_withgroup}" \ - "DHCP Daemon" - fi -} - -_dhcpd_uninstall () # user group root -{ - local _user _group _root - - _user=$1 _group=$2 _root=$3 - - if [ -n "${_user}" -o -n "${_group}" ]; then - dhcpd_chuser_enable=YES - dhcpd_withuser=${_user} - dhcpd_withgroup=${_group} - else - dhcpd_chuser_enable=NO - fi - if [ -n "${_root}" ]; then - dhcpd_chroot_enable=YES - dhcpd_rootdir=${_root} - else - dhcpd_chroot_enable=NO - fi - dhcpd_check - dhcpd_rcvar - dhcpd_uninstall -} - -dhcpd_uninstall () -{ - if checkyesno __dhcpd_uninstall; then - dhcpd_stop - remove_pid - remove_leases - remove_chuser - remove_chroot - else - local _user _group _root - - __dhcpd_uninstall=YES - - _user=${dhcpd_withuser} - _group=${dhcpd_withgroup} - _root=${dhcpd_rootdir} - - _dhcpd_uninstall "" "" "" - - if checkyesno paranoia; then - if [ -n "${_user}" -o -n "${_group}" ]; then - _dhcpd_uninstall "${_user}" "${_group}" "" - fi - if [ -n "${_root}" ]; then - _dhcpd_uninstall "" "" "${_root}" - fi - if [ -n "${_user}" -o -n "${_group}" ] && - [ -n "${_root}" ]; then - _dhcpd_uninstall "${_user}" "${_group}" "${_root}" - fi - fi - fi -} - -rcvar=${name}_enable -load_rc_config ${name} - -__dhcpd_uninstall="NO" # internal use only -__dhcpd_devdir=/dev # devices directory -__dhcpd_etcdir=/etc # etc directory -__dhcpd_piddir=/var/run # pid file directory -__dhcpd_leasesdir=/var/db # leases file directory -#__dhcpd_rootdir=/var/db/${name} # root directory - -dhcpd_check -dhcpd_rcvar - -command=%%PREFIX%%/sbin/${name} -pidfile=${_dhcpd_pidfile} -required_files=${dhcpd_conf} -start_precmd=${name}_precmd -stop_postcmd=${name}_postcmd -install_cmd=dhcpd_install -uninstall_cmd=dhcpd_uninstall -extra_commands="install uninstall" - -# Override /etc/rc.subr JID determiniation, because it doesn't -# work when we launch dhcpd in a jail. -if checkyesno dhcpd_jail_enable ; then - read pid junk < $pidfile 2>/dev/null - [ -n "$pid" ] && JID=`ps -o jid= -p $pid` -fi - -run_rc_command "$1" diff --git a/net/isc-dhcp40-server/files/isc-dhcrelay.in b/net/isc-dhcp40-server/files/isc-dhcrelay.in deleted file mode 100644 index db10841ff32a..000000000000 --- a/net/isc-dhcp40-server/files/isc-dhcrelay.in +++ /dev/null @@ -1,57 +0,0 @@ -#! /bin/sh -# -# $FreeBSD$ -# -# PROVIDE: dhcrelay -# REQUIRE: DAEMON -# -# Add the following line to /etc/rc.conf to enable dhcrelay: -# -# dhcrelay_enable="YES" -# - -# override these variables in /etc/rc.conf -dhcrelay_enable=${dhcrelay_enable:-"NO"} -dhcrelay_flags=${dhcrelay_flags:-} # command option(s) -dhcrelay_servers=${dhcrelay_servers:-} # dhcrelay server(s) -dhcrelay_ifaces=${dhcrelay_ifaces:-} # ethernet interface(s) - -dhcrelay_precmd () -{ - local ifaces - - dhcrelay_rcconf=%%PREFIX%%/etc/rc.isc-dhcrelay.conf - - if [ -f ${dhcrelay_rcconf} ]; then - warn "${dhcrelay_rcconf} is obsolete, use /etc/rc.conf instead." - . ${dhcrelay_rcconf} - - if [ -n "${dhcrelay_options}" -a -z "${rc_flags}" ]; then - warn "dhcrelay_options is obsolete, use dhcrelay_flags instead." - rc_flags=${dhcrelay_options} - fi - fi - - if [ -z "${dhcrelay_servers}" ]; then - err 1 "no dhcrelay server(s) configured." - fi - - ifaces= - for iface in ${dhcrelay_ifaces}; do - ifaces="${ifaces} -i ${iface}" - done - - rc_flags="${rc_flags} ${ifaces} ${dhcrelay_servers}" -} - -. %%RC_SUBR%% - -name=dhcrelay -rcvar=${name}_enable - -command=%%PREFIX%%/sbin/${name} -pidfile=/var/run/${name}.pid -start_precmd=${name}_precmd - -load_rc_config ${name} -run_rc_command "$1" diff --git a/net/isc-dhcp40-server/files/omshell::Makefile.dist b/net/isc-dhcp40-server/files/omshell::Makefile.dist deleted file mode 100644 index 34c90a2e7f53..000000000000 --- a/net/isc-dhcp40-server/files/omshell::Makefile.dist +++ /dev/null @@ -1,80 +0,0 @@ -# Makefile.dist -# -# Copyright (c) 1996-2002 Internet Software Consortium. -# Use is subject to license terms which appear in the file named -# ISC-LICENSE that should have accompanied this file when you -# received it. If a file named ISC-LICENSE did not accompany this -# file, or you are not sure the one you have is correct, you may -# obtain an applicable copy of the license at: -# -# http://www.isc.org/isc-license-1.0.html. -# -# This file is part of the ISC DHCP distribution. The documentation -# associated with this file is listed in the file DOCUMENTATION, -# included in the top-level directory of this release. -# -# Support and other services are available for ISC products - see -# http://www.isc.org for more information. -# - -CATMANPAGES = omshell.cat1 -SEDMANPAGES = omshell.man1 -SRCS = omshell.c -OBJS = omshell.o -PROG = omshell -MAN = omshell.1 - -INCLUDES = -I$(TOP)/dhcpctl $(BINDINC) -I$(TOP)/includes -CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) -DHCPCTLLIBS = ../dhcpctl/libdhcpctl.a ../common/libdhcp.a $(BINDLIB) \ - ../omapip/libomapi.a ../dst/libdst.a - -all: $(PROG) $(CATMANPAGES) - -$(PROG): $(OBJS) $(DHCPCTLLIBS) - $(CC) $(DEBUG) $(LFLAGS) -o $(PROG) $(OBJS) $(DHCPCTLLIBS) $(LIBS) - -install: all $(CATMANPAGES) - for dir in $(USRMANDIR) $(USERBINDIR); do \ - foo=""; \ - for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \ - foo=$${foo}/$$bar; \ - if [ ! -d $$foo ]; then \ - mkdir $$foo; \ - chmod 755 $$foo; \ - fi; \ - done; \ - done - $(INSTALL) omshell $(DESTDIR)$(USERBINDIR) - $(CHMOD) 755 $(DESTDIR)$(USERBINDIR)/omshell - $(MANINSTALL) $(MANFROM) omshell.$(MANCAT)1 $(MANTO) \ - $(DESTDIR)$(USRMANDIR)/omshell$(USRMANEXT) - -depend: - $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRCS) - -clean: - -rm -f $(OBJS) - -realclean: clean - -rm -f $(PROG) *~ $(CATMANPAGES) $(SEDMANPAGES) #* - -distclean: realclean - -rm -f Makefile - -links: - @for foo in $(SRCS) $(MAN); do \ - if [ ! -b $$foo ]; then \ - rm -f $$foo; \ - fi; \ - ln -s $(TOP)/omshell/$$foo $$foo; \ - done - -omshell.cat1: omshell.man1 - nroff -man omshell.man1 >omshell.cat1 - -omshell.man1: omshell.1 - sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \ - -e "s#RUNDIR#$(VARRUN)#g" < omshell.1 >omshell.man1 - -# Dependencies (semi-automatically-generated) diff --git a/net/isc-dhcp40-server/files/patch-Makefile b/net/isc-dhcp40-server/files/patch-Makefile deleted file mode 100644 index 7a8df08b137b..000000000000 --- a/net/isc-dhcp40-server/files/patch-Makefile +++ /dev/null @@ -1,76 +0,0 @@ ---- Makefile.orig Fri Nov 8 00:10:07 2002 -+++ Makefile Mon Apr 28 15:04:50 2003 -@@ -38,59 +38,59 @@ - # ``http://www.nominum.com''. - # - --all: -+all all.devel all.server all.relay all.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make all); \ -+ (cd work.$$sysname; make $@); \ - fi - --install: -+install install.devel install.server install.relay install.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make install); \ -+ (cd work.$$sysname; make $@); \ - fi - --depend: -+depend depend.devel depend.server depend.relay depend.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make depend); \ -+ (cd work.$$sysname; make $@); \ - fi - --clean: -+clean clean.devel clean.server clean.relay clean.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make clean); \ -+ (cd work.$$sysname; make $@); \ - fi - --realclean: -+realclean realclean.devel realclean.server realclean.relay realclean.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make realclean); \ -+ (cd work.$$sysname; make $@); \ - fi - --distclean: -+distclean distclean.devel distclean.server distclean.relay distclean.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make distclean); \ -+ (cd work.$$sysname; make $@); \ - fi - --links: -+links links.devel links.server links.relay links.client: - @sysname=`./configure --print-sysname`; \ - if [ ! -d work.$$sysname ]; then \ - echo No build directory for $$sysname - please run ./configure.; \ - else \ -- (cd work.$$sysname; make links); \ -+ (cd work.$$sysname; make $@); \ - fi - diff --git a/net/isc-dhcp40-server/files/patch-Makefile.dist b/net/isc-dhcp40-server/files/patch-Makefile.dist deleted file mode 100644 index 0c09997023cc..000000000000 --- a/net/isc-dhcp40-server/files/patch-Makefile.dist +++ /dev/null @@ -1,226 +0,0 @@ ---- Makefile.dist.orig Fri Nov 8 00:10:08 2002 -+++ Makefile.dist Tue Apr 29 00:07:43 2003 -@@ -17,47 +17,200 @@ - # http://www.isc.org for more information. - # - --SUBDIRS= common $(MINIRES) dst omapip server client relay dhcpctl -+COMMON_SUBDIRS= common -+DEVEL_SUBDIRS= $(MINIRES) dst omapip dhcpctl -+SERVER_SUBDIRS= omshell server -+RELAY_SUBDIRS= relay -+CLIENT_SUBDIRS= client -+ -+DEVEL_BUILD_SUBDIRS= ${COMMON_SUBDIRS} ${DEVEL_SUBDIRS} -+SERVER_BUILD_SUBDIRS= ${SERVER_SUBDIRS} -+RELAY_BUILD_SUBDIRS= ${RELAY_SUBDIRS} -+CLIENT_BUILD_SUBDIRS= ${CLIENT_SUBDIRS} -+ -+DEVEL_INSTALL_SUBDIRS= ${COMMON_SUBDIRS} ${DEVEL_SUBDIRS} -+SERVER_INSTALL_SUBDIRS= ${COMMON_SUBDIRS} ${SERVER_SUBDIRS} -+RELAY_INSTALL_SUBDIRS= ${RELAY_SUBDIRS} -+CLIENT_INSTALL_SUBDIRS= ${COMMON_SUBDIRS} ${CLIENT_SUBDIRS} - --all: -- @for dir in ${SUBDIRS}; do \ -+all: all.server all.relay all.client -+ -+all.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Making all in $$dir"; \ -+ (cd $$dir; $(MAKE) all) || exit 1; \ -+ done -+ -+all.server: all.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Making all in $$dir"; \ -+ (cd $$dir; $(MAKE) all) || exit 1; \ -+ done -+ -+all.relay: all.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Making all in $$dir"; \ -+ (cd $$dir; $(MAKE) all) || exit 1; \ -+ done -+ -+all.client: all.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ - echo "Making all in $$dir"; \ - (cd $$dir; $(MAKE) all) || exit 1; \ -- done -+ done -+ -+install: install.devel install.server install.relay install.client -+ -+install.devel: -+ @for dir in ${DEVEL_INSTALL_SUBDIRS}; do \ -+ echo "Installing in $$dir"; \ -+ (cd $$dir; $(MAKE) install) || exit 1; \ -+ done - --install: -- @for dir in ${SUBDIRS}; do \ -+install.server: -+ @for dir in ${SERVER_INSTALL_SUBDIRS}; do \ - echo "Installing in $$dir"; \ - (cd $$dir; $(MAKE) install) || exit 1; \ -- done -+ done - --depend: -- @for dir in ${SUBDIRS}; do \ -+install.relay: -+ @for dir in ${RELAY_INSTALL_SUBDIRS}; do \ -+ echo "Installing in $$dir"; \ -+ (cd $$dir; $(MAKE) install) || exit 1; \ -+ done -+ -+install.client: -+ @for dir in ${CLIENT_INSTALL_SUBDIRS}; do \ -+ echo "Installing in $$dir"; \ -+ (cd $$dir; $(MAKE) install) || exit 1; \ -+ done -+ -+depend: depend.server depend.relay depend.client -+ -+depend.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Making dependencies in $$dir"; \ -+ (cd $$dir; $(MAKE) depend) || exit 1; \ -+ done -+ -+depend.server: depend.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Making dependencies in $$dir"; \ -+ (cd $$dir; $(MAKE) depend) || exit 1; \ -+ done -+ -+depend.relay: depend.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ - echo "Making dependencies in $$dir"; \ - (cd $$dir; $(MAKE) depend) || exit 1; \ -- done -+ done -+ -+depend.client: depend.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ -+ echo "Making dependencies in $$dir"; \ -+ (cd $$dir; $(MAKE) depend) || exit 1; \ -+ done -+ -+clean: clean.server clean.relay clean.client -+ -+clean.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) clean) || exit 1; \ -+ done -+ -+clean.server: clean.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) clean) || exit 1; \ -+ done -+ -+clean.relay: clean.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) clean) || exit 1; \ -+ done - --clean: -- @for dir in ${SUBDIRS}; do \ -+clean.client: clean.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ - echo "Cleaning in $$dir"; \ - (cd $$dir; $(MAKE) clean) || exit 1; \ -- done -+ done -+ -+realclean: realclean.server realclean.relay realclean.client -+ -+realclean.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) realclean) || exit 1; \ -+ done - --realclean: -- @for dir in ${SUBDIRS}; do \ -+realclean.server: realclean.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ - echo "Really cleaning in $$dir"; \ - (cd $$dir; $(MAKE) realclean) || exit 1; \ -- done -+ done - --distclean: -- @for dir in ${SUBDIRS}; do \ -+realclean.relay: realclean.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) realclean) || exit 1; \ -+ done -+ -+realclean.client: realclean.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ -+ echo "Really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) realclean) || exit 1; \ -+ done -+ -+distclean: distclean.server distclean.relay distclean.client -+ -+distclean.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ - echo "Really, really cleaning in $$dir"; \ - (cd $$dir; $(MAKE) distclean) || exit 1; \ -- done -- @rm -f Makefile -+ done -+ -+distclean.server: distclean.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Really, really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) distclean) || exit 1; \ -+ done -+ -+distclean.relay: distclean.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Really, really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) distclean) || exit 1; \ -+ done -+ -+distclean.client: distclean.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ -+ echo "Really, really cleaning in $$dir"; \ -+ (cd $$dir; $(MAKE) distclean) || exit 1; \ -+ done -+ -+links: links.server links.relay links.client -+ -+links.devel: -+ @for dir in ${DEVEL_BUILD_SUBDIRS}; do \ -+ echo "Making links in $$dir"; \ -+ (cd $$dir; $(MAKE) links) || exit 1; \ -+ done -+ -+links.server: links.devel -+ @for dir in ${SERVER_BUILD_SUBDIRS}; do \ -+ echo "Making links in $$dir"; \ -+ (cd $$dir; $(MAKE) links) || exit 1; \ -+ done -+ -+links.relay: links.devel -+ @for dir in ${RELAY_BUILD_SUBDIRS}; do \ -+ echo "Making links in $$dir"; \ -+ (cd $$dir; $(MAKE) links) || exit 1; \ -+ done - --links: -- @for dir in ${SUBDIRS}; do \ -+links.client: links.devel -+ @for dir in ${CLIENT_BUILD_SUBDIRS}; do \ - echo "Making links in $$dir"; \ - (cd $$dir; $(MAKE) links) || exit 1; \ -- done -+ done diff --git a/net/isc-dhcp40-server/files/patch-client::clparse.c b/net/isc-dhcp40-server/files/patch-client::clparse.c deleted file mode 100644 index 875f61f53b39..000000000000 --- a/net/isc-dhcp40-server/files/patch-client::clparse.c +++ /dev/null @@ -1,11 +0,0 @@ ---- client/clparse.c.orig Sat May 6 17:42:49 2006 -+++ client/clparse.c Sat May 6 17:43:12 2006 -@@ -777,7 +777,7 @@ - interface_dereference(&ip, MDL); - return 0; - } -- strcpy(ip->name, name); -+ strlcpy (ip -> name, name, IFNAMSIZ); - - if (dummy_interfaces) { - interface_reference (&ip -> next, diff --git a/net/isc-dhcp40-server/files/patch-client::dhclient.8 b/net/isc-dhcp40-server/files/patch-client::dhclient.8 deleted file mode 100644 index 3f5cfe64497b..000000000000 --- a/net/isc-dhcp40-server/files/patch-client::dhclient.8 +++ /dev/null @@ -1,84 +0,0 @@ ---- client/dhclient.8.orig Wed Sep 14 18:03:33 2005 -+++ client/dhclient.8 Sat May 6 17:30:28 2006 -@@ -23,6 +23,10 @@ - .\" - .\" $Id: dhclient.8,v 1.12.2.11 2005/09/14 16:03:33 dhankins Exp $ - .\" -+.\" Portions copyright (c) 2000 David E. O'Brien. -+.\" All rights reserved. -+.\" $FreeBSD$ -+.\" - .TH dhclient 8 - .SH NAME - dhclient - Dynamic Host Configuration Protocol Client -@@ -33,6 +37,9 @@ - .I port - ] - [ -+.B -D -+] -+[ - .B -d - ] - [ -@@ -43,6 +50,9 @@ - .B -q - ] - [ -+.B -v -+] -+[ - .B -1 - ] - [ -@@ -73,6 +83,10 @@ - relay - ] - [ -+.B -i -+interval -+] -+[ - .B -n - ] - [ -@@ -157,6 +171,15 @@ - configuration file or on the command line, and will ignore all other - interfaces. - .PP -+The -+.B -D -+flag causes -+.B dhclient -+to save the script it creates for use in conjunction with -+.B dhclient-script -+in -+.IR /tmp. -+.PP - If the DHCP client should listen and transmit on a port other than the - standard (port 68), the - .B -p -@@ -180,6 +203,12 @@ - flag, followed by the IP address to send. This is only useful for testing, - and should not be expected to work in any consistent or useful way. - .PP -+On FreeBSD, dhclient can be enabled to automatically handle the -+link status of the network card. Normally polling is done every -+five seconds. The polling interval can be set using the -+.B -i -+flag, followed by the numbers of seconds. Minimum is one second. -+.PP - The DHCP client will normally run in the foreground until it has - configured an interface, and then will revert to running in the - background. To run force dhclient to always run as a foreground -@@ -206,6 +235,10 @@ - .B -q - flag prevents any messages other than errors from being printed to the - standard error descriptor. -+.B -v -+flag turns on all messages. -+Opposite of -+.B -q . - .PP - The client normally doesn't release the current lease as it is not - required by the DHCP protocol. Some cable ISPs require their clients diff --git a/net/isc-dhcp40-server/files/patch-client::dhclient.c b/net/isc-dhcp40-server/files/patch-client::dhclient.c deleted file mode 100644 index c6a23b2ad6f1..000000000000 --- a/net/isc-dhcp40-server/files/patch-client::dhclient.c +++ /dev/null @@ -1,545 +0,0 @@ ---- client/dhclient.c.orig Thu Apr 27 23:38:29 2006 -+++ client/dhclient.c Sat May 6 17:34:55 2006 -@@ -38,6 +38,13 @@ - #include "dhcpd.h" - #include "version.h" - -+#if __FreeBSD_version > 502010 -+#include <sys/ioctl.h> -+#include <net/if_media.h> -+#include <net80211/ieee80211_ioctl.h> -+#include <net80211/ieee80211.h> -+#endif -+ - TIME default_lease_time = 43200; /* 12 hours... */ - TIME max_lease_time = 86400; /* 24 hours... */ - -@@ -72,8 +79,11 @@ - struct string_list *client_env=NULL; - int client_env_count=0; - int onetry=0; --int quiet=0; -+int quiet=1; - int nowait=0; -+#ifdef ENABLE_POLLING_MODE -+int polling_interval = 5; -+#endif - - static void usage PROTO ((void)); - -@@ -174,6 +184,9 @@ - } else if (!strcmp (argv [i], "-q")) { - quiet = 1; - quiet_interface_discovery = 1; -+ } else if (!strcmp (argv [i], "-v")) { -+ quiet = 0; -+ quiet_interface_discovery = 0; - } else if (!strcmp (argv [i], "-s")) { - if (++i == argc) - usage (); -@@ -187,6 +200,19 @@ - } else if (!strcmp (argv [i], "-n")) { - /* do not start up any interfaces */ - interfaces_requested = 1; -+#ifdef ENABLE_POLLING_MODE -+ } else if (!strcmp (argv [i], "-i")) { -+ if (++i == argc) -+ usage (); -+ polling_interval = (int)strtol (argv [i], -+ (char **)NULL, 10); -+ if (polling_interval <= 0) { -+ log_info ("Incorrect polling interval %d", -+ polling_interval); -+ log_info ("Using a default of 5 seconds"); -+ polling_interval = 5; -+ } -+#endif - } else if (!strcmp (argv [i], "-w")) { - /* do not exit if there are no broadcast interfaces. */ - persist = 1; -@@ -215,7 +241,16 @@ - if (strlen(argv[i]) >= sizeof(tmp->name)) - log_fatal("%s: interface name too long (is %ld)", - argv [i], (long)strlen(argv[i])); -- strcpy(tmp->name, argv[i]); -+ strlcpy (tmp -> name, argv [i], IFNAMSIZ); -+#if __FreeBSD_version > 502010 -+ set_ieee80211 (tmp); -+#endif -+ /* Init some interface vars, enable polling */ -+#ifdef ENABLE_POLLING_MODE -+ tmp -> forcediscover = 0; -+ tmp -> linkstate = HAVELINK; -+ tmp -> polling = 1; -+#endif /* ifdef ENABLE_POLLING_MODE */ - if (interfaces) { - interface_reference (&tmp -> next, - interfaces, MDL); -@@ -375,6 +410,16 @@ - INTERFACE_AUTOMATIC)) != - INTERFACE_REQUESTED)) - continue; -+#if __FreeBSD_version > 502010 -+ set_ieee80211 (ip); -+#endif -+#ifdef ENABLE_POLLING_MODE -+ ip -> forcediscover = 0; -+ if (ip -> client -> config -> media != NULL) -+ ip -> havemedia = 1; -+ else -+ ip -> havemedia = 0; -+#endif - script_init (ip -> client, - "PREINIT", (struct string_list *)0); - if (ip -> client -> alias) -@@ -417,8 +462,13 @@ - client -> state = S_INIT; - /* Set up a timeout to start the initialization - process. */ -+#ifdef ENABLE_POLLING_MODE -+ add_timeout (cur_time + random () % 5 + 2, -+ state_polling, client, 0, 0); -+#else - add_timeout (cur_time + random () % 5, - state_reboot, client, 0, 0); -+#endif - } - } - } -@@ -476,9 +526,9 @@ - log_info (arr); - log_info (url); - -- log_error ("Usage: dhclient [-1dqr] [-nw] [-p <port>] %s", -- "[-s server]"); -- log_error (" [-cf config-file] [-lf lease-file]%s", -+ log_error ("Usage: dhclient [-1Ddqrv] [-i polling-interval] %s", -+ "[-nw] [-p <port>] [-s server]"); -+ log_error (" [-cf config-file] [-lf lease-file] %s", - "[-pf pid-file] [-e VAR=val]"); - log_fatal (" [-sf script-file] [interface]"); - } -@@ -879,6 +929,15 @@ - /* Write out the new lease. */ - write_client_lease (client, client -> new, 0, 0); - -+ /* -+ * It's now possible that state_reboot can be called -+ * after a interface link went down and is up again. -+ * To prevent tons of equal leases saved on disk, we rewrite -+ * them. -+ */ -+ read_client_leases (); -+ rewrite_client_leases (); -+ - /* Replace the old active lease with the new one. */ - if (client -> active) - destroy_client_lease (client -> active); -@@ -893,6 +952,12 @@ - piaddr (client -> active -> address), - (long)(client -> active -> renewal - cur_time)); - client -> state = S_BOUND; -+#ifdef ENABLE_POLLING_MODE -+ /* Init some interface vars, enable polling */ -+ client -> interface -> linkstate = HAVELINK; -+ client -> interface -> forcediscover = 0; -+ client -> interface -> polling = 1; -+#endif /* ifdef ENABLE_POLLING_MODE */ - reinitialize_interfaces (); - go_daemon (); - if (client -> config -> do_forward_update) { -@@ -1357,6 +1422,11 @@ - int interval; - int increase = 1; - -+#ifdef ENABLE_POLLING_MODE -+ /* Disable polling for this interface */ -+ client -> interface -> polling = 0; -+#endif -+ - /* Figure out how long it's been since we started transmitting. */ - interval = cur_time - client -> first_sending; - -@@ -1457,6 +1527,9 @@ - struct client_lease *loop; - struct client_lease *lp; - -+ if (client -> interface -> linkstate == NOLINK) -+ return; -+ - loop = lp = client -> active; - - log_info ("No DHCPOFFERS received."); -@@ -1489,6 +1562,10 @@ - log_info ("bound: renewal in %ld %s.", - (long)(client -> active -> renewal - - cur_time), "seconds"); -+#ifdef ENABLE_POLLING_MODE -+ /* Enable polling for this interface */ -+ client -> interface -> polling = 1; -+#endif - add_timeout (client -> active -> renewal, - state_bound, client, 0, 0); - } else { -@@ -1496,6 +1573,11 @@ - log_info ("bound: immediate renewal."); - state_bound (client); - } -+ /* -+ * Set the link status back to nolink, even -+ * if we have media settings. -+ */ -+ client -> interface -> linkstate = NOLINK; - reinitialize_interfaces (); - go_daemon (); - return; -@@ -1541,6 +1623,12 @@ - } - - log_info ("No working leases in persistent database - sleeping."); -+ -+#ifdef ENABLE_POLLING_MODE -+ /* Enable polling for this interface */ -+ client -> interface -> polling = 1; -+#endif -+ - script_init (client, "FAIL", (struct string_list *)0); - if (client -> alias) - script_write_params (client, "alias_", client -> alias); -@@ -1682,6 +1770,18 @@ - client -> packet.secs = htons (65535); - } - -+ /* -+ * Only try the first ten seconds to renew a lease from a -+ * given dhcp-server adress. After that, fall back to use -+ * state_reboot with INADDR_BROADCAST. -+ */ -+ if (destination.sin_addr.s_addr != INADDR_BROADCAST && -+ (client -> state == S_RENEWING || client -> state == S_REBINDING)) { -+ if (client -> active && client -> active -> expiry > cur_time && -+ interval >= 10) -+ goto cancel; -+ } -+ - log_info ("DHCPREQUEST on %s to %s port %d", - client -> name ? client -> name : client -> interface -> name, - inet_ntoa (destination.sin_addr), -@@ -1703,6 +1803,16 @@ - from, &destination, - (struct hardware *)0); - -+ /* -+ * If sendto() for a direct request fails, fall back to use -+ * state_reboot with INADDR_BROADCAST. -+ */ -+ if (result == -1 && destination.sin_addr.s_addr != INADDR_BROADCAST && -+ (client -> state == S_RENEWING || client -> state == S_REBINDING)) { -+ if (client -> active && client -> active -> expiry > cur_time) -+ goto cancel; -+ } -+ - add_timeout (cur_time + client -> interval, - send_request, client, 0, 0); - } -@@ -2600,6 +2710,13 @@ - wstatus = 0; - } - } else { -+ if ((i = open(_PATH_DEVNULL, O_RDWR)) != -1) { -+ dup2(i, STDIN_FILENO); -+ dup2(i, STDOUT_FILENO); -+ dup2(i, STDERR_FILENO); -+ if (i > STDERR_FILENO) -+ close(i); -+ } - execve (scriptName, argv, envp); - log_error ("execve (%s, ...): %m", scriptName); - exit (0); -@@ -2786,8 +2903,10 @@ - case S_STOPPED: - break; - } -+#ifndef ENABLE_POLLING_MODE - client -> state = S_INIT; - state_reboot (client); -+#endif - } - } - } -@@ -3015,7 +3134,9 @@ - break; - - case server_awaken: -+#ifndef ENABLE_POLLING_MODE - state_reboot (client); -+#endif - break; - } - } -@@ -3153,3 +3274,265 @@ - data_string_forget (&ddns_dhcid, MDL); - return rcode; - } -+ -+/* Check to see if there's a wire plugged in */ -+int -+interface_active(struct interface_info *ip) { -+#if __FreeBSD_version > 502010 -+ struct ifmediareq ifmr; -+ int *media_list, i; -+ char *ifname; -+ int sock; -+ -+ ifname = ip -> name; -+ -+ if ((sock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) -+ log_fatal ("Can't create interface_active socket"); -+ -+ (void) memset (&ifmr, 0, sizeof (ifmr)); -+ (void) strncpy (ifmr.ifm_name, ifname, sizeof (ifmr.ifm_name)); -+ -+ if (ioctl (sock, SIOCGIFMEDIA, (caddr_t)&ifmr) < 0) { -+ /* -+ * Interface doesn't support SIOCGIFMEDIA, presume okay -+ */ -+ close (sock); -+ return (HAVELINK); -+ } -+ close (sock); -+ -+ if (ifmr.ifm_count == 0) { -+ /* -+ * Assume that this means interface -+ * does not support SIOCGIFMEDIA -+ */ -+ log_fatal ("%s: no media types?", ifname); -+ return (HAVELINK); -+ } -+ -+ if (ifmr.ifm_status & IFM_AVALID) { -+ if (ip -> ieee80211) { -+ /* -+ * Wavelan devices need to be checked if they are -+ * associated. -+ */ -+ if ((IFM_TYPE(ifmr.ifm_active) == IFM_IEEE80211) && -+ (ifmr.ifm_status & IFM_ACTIVE)) { -+ return (HAVELINK); -+ } -+ } else { -+ if (ifmr.ifm_status & IFM_ACTIVE) { -+ return (HAVELINK); -+ } -+ } -+ /* -+ * We really have no link. -+ */ -+ return (NOLINK); -+ } -+ /* -+ * IFM_AVALID is not set. We cannot check -+ * the link state. Assume HAVELINK. -+ */ -+ -+#endif /* Other OSs */ -+ /* -+ * Always return a successful link if the OS -+ * is not supported. -+ */ -+ return (HAVELINK); -+} -+ -+#if __FreeBSD_version > 502010 -+void -+set_ieee80211 (struct interface_info *ip) { -+ -+ struct ieee80211req ireq; -+ u_int8_t data[32]; -+ int associated = 0; -+ int *media_list, i; -+ char *ifname; -+ int sock; -+ -+ ifname = ip -> name; -+ -+ if ((sock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) -+ log_fatal ("Can't create interface_active socket"); -+ -+ (void) memset (&ireq, 0, sizeof (ireq)); -+ (void) strncpy (ireq.i_name, ifname, sizeof (ireq.i_name)); -+ ireq.i_data = &data; -+ ireq.i_type = IEEE80211_IOC_SSID; -+ ireq.i_val = -1; -+ /* -+ * If we can't get the SSID, -+ * this isn't an 802.11 device. -+ */ -+ if (ioctl (sock, SIOCG80211, &ireq) < 0) -+ ip -> ieee80211 = 0; -+ else { -+#ifdef DEBUG -+ printf ("Device %s has 802.11\n", ifname); -+#endif -+ ip -> ieee80211 = 1; -+ } -+ close (sock); -+ } -+#endif /* __FreeBSD_version */ -+ -+#ifdef ENABLE_POLLING_MODE -+/* Go to background after some time */ -+void state_background (cpp) -+ void *cpp; -+{ -+ go_daemon (); -+} -+ -+/* Check the state of the NICs if we have link */ -+void state_polling (cpp) -+ void *cpp; -+{ -+ static int doinitcheck = 0; -+ struct interface_info *ip; -+ struct client_state *client; -+ int result; -+ -+ for (ip = interfaces; ip; ip = ip -> next) { -+ if (! ip -> polling) -+ continue; -+#ifdef DEBUG -+ printf ("%s: Polling interface state\n", ip -> name); -+ for (client = ip -> client; -+ client; client = client -> next) { -+ printf ("%s: client state of %d\n", ip -> name, ip -> client -> state); -+ printf ("%s: link = %d\n", ip -> name, ip -> linkstate); -+ } -+#endif -+ -+ result = interface_active (ip); -+ /* -+ * If dhclient.conf contains media settings, we cannot -+ * abort if the interface is not set to active mode. -+ */ -+ if (ip -> havemedia && ip -> client -> state != S_BOUND) { -+ if (result == HAVELINK) -+ ip -> forcediscover = 1; -+ result = HAVELINK; -+ } -+ -+ /* -+ * The last status of the interface tells us -+ * the we've got no link ... -+ */ -+ if (ip -> linkstate == NOLINK || ! doinitcheck) { -+ /* -+ * ... but we have now link. Let's send -+ * requests. -+ */ -+ if (result == HAVELINK) { -+#ifdef DEBUG -+ if (ip -> havemedia) -+ printf ("%s: Trying media settings on interface\n", -+ ip -> name); -+ else -+ printf ("%s: Found Link on interface\n", ip -> name); -+#endif -+ /* -+ * Set the interface to state_bound. We assume that we have -+ * a working link. If we cannot reach the server directly, -+ * INADDR_BROADCAST is used. -+ */ -+ for (client = ip -> client; -+ client; client = client -> next) { -+ cancel_timeout (state_init, client); -+ cancel_timeout (state_reboot, client); -+ cancel_timeout (state_selecting, client); -+ if (client -> active) { -+ add_timeout (cur_time + random () % 5, -+ state_bound, client, 0, 0); -+ } else { -+ add_timeout (cur_time + random () % 5, -+ state_reboot, client, 0, 0); -+ } -+ } -+ ip -> linkstate = HAVELINK; -+ } else { -+#ifdef DEBUG -+ printf ("%s: No link on interface\n", ip -> name); -+#endif -+ for (client = ip -> client; -+ client; client = client -> next) { -+ /* -+ * Without this add_timout(), dhclient does -+ * not poll on a interface if there -+ * is no cable plugged in at startup -+ * time. Because we add one additional second -+ * to the time of a normal timeout, we always -+ * skip and block a running one. This prevents -+ * that polling is done twice at the same time. -+ */ -+ if (client -> state == S_INIT) { -+ add_timeout (cur_time + (polling_interval + 1), -+ state_polling, client, 0, 0); -+ } -+ } -+ ip -> linkstate = NOLINK; -+ /* -+ * Automatically go into the background after -+ * some time. Do this only if there are no -+ * media options available for a interface. -+ */ -+ if (! ip -> havemedia && ! doinitcheck) { -+ add_timeout (cur_time + (polling_interval * 2), -+ state_background, client, 0, 0); -+ } -+ } -+ } -+ -+ /* -+ * The last status of the interface tells us -+ * the we previously had link. -+ */ -+ if (ip -> linkstate == HAVELINK && doinitcheck) { -+ if (result == NOLINK) { -+ /* -+ * We lost link on the interface, or it isn't -+ * associated anymore. -+ */ -+#ifdef DEBUG -+ printf ("%s: Lost Link on interface\n", ip -> name); -+#endif -+ /* -+ * After we lost link, cycle again through the -+ * different media settings if available. Else -+ * set NOLINK. -+ */ -+ if (ip -> havemedia) -+ ip -> forcediscover = 1; -+ else -+ ip -> linkstate = NOLINK; -+ } -+ /* -+ * If we happen to have a real link, but no -+ * active lease, force the interface into -+ * state_reboot. Do the same if media settings -+ * are available. -+ */ -+ if (ip -> forcediscover) { -+ for (client = ip -> client; -+ client; client = client -> next) { -+ if (client -> state != S_REBOOTING && -+ client -> state != S_SELECTING) { -+ add_timeout (cur_time + random () % 5, -+ state_reboot, client, 0, 0); -+ } -+ } -+ ip -> forcediscover = 0; -+ ip -> linkstate = HAVELINK; -+ } -+ /* We still have link, do nothing. */ -+ } -+ } -+ doinitcheck = 1; -+} -+#endif /* ifdef ENABLE_POLLING_MODE */ diff --git a/net/isc-dhcp40-server/files/patch-client::dhclient.conf b/net/isc-dhcp40-server/files/patch-client::dhclient.conf deleted file mode 100644 index 2d9560f43bf8..000000000000 --- a/net/isc-dhcp40-server/files/patch-client::dhclient.conf +++ /dev/null @@ -1,11 +0,0 @@ ---- client/dhclient.conf.orig Tue Jun 3 00:50:44 1997 -+++ client/dhclient.conf Wed Mar 3 02:20:41 2004 -@@ -11,7 +11,7 @@ - reboot 10; - select-timeout 5; - initial-interval 2; --script "/etc/dhclient-script"; -+script "%%PREFIX%%/sbin/dhclient-script"; - media "-link0 -link1 -link2", "link0 link1"; - reject 192.33.137.209; - diff --git a/net/isc-dhcp40-server/files/patch-common::dhcp-options.5 b/net/isc-dhcp40-server/files/patch-common::dhcp-options.5 deleted file mode 100644 index 9d936cfffeee..000000000000 --- a/net/isc-dhcp40-server/files/patch-common::dhcp-options.5 +++ /dev/null @@ -1,32 +0,0 @@ ---- common/dhcp-options.5.orig Sun Feb 23 04:27:42 2003 -+++ common/dhcp-options.5 Wed Mar 3 02:12:13 2004 -@@ -431,7 +431,10 @@ - the domain-name option to specify the domain name). See RFC 1035 for - character set restrictions. This option is only honored by - .B dhclient-script(8) --if the hostname for the client machine is not set. -+if the hostname for the client machine is not set (i.e., set to the empty -+string in -+.B rc.conf(5) -+). - .RE - .PP - .B option \fBieee802-3-encapsulation\fR \fIflag\fR\fB;\fR -@@ -654,7 +657,7 @@ - This option specifies whether the client should configure its IP - layer to allow forwarding of datagrams with non-local source routes - (see Section 3.3.5 of [4] for a discussion of this topic). A value --of false means disallow forwarding of such datagrams, and a value of true -+of 0 means disallow forwarding of such datagrams, and a value of true - means allow forwarding. - .RE - .PP -@@ -948,7 +951,7 @@ - .PP - This option specifies whether or not the client should negotiate the - use of trailers (RFC 893 [14]) when using the ARP protocol. A value --of false indicates that the client should not attempt to use trailers. A -+of 0 indicates that the client should not attempt to use trailers. A - value of true means that the client should attempt to use trailers. - .RE - .PP diff --git a/net/isc-dhcp40-server/files/patch-common::discover.c b/net/isc-dhcp40-server/files/patch-common::discover.c deleted file mode 100644 index 1cfcc2094098..000000000000 --- a/net/isc-dhcp40-server/files/patch-common::discover.c +++ /dev/null @@ -1,238 +0,0 @@ ---- common/discover.c.orig Fri Jul 25 21:44:15 2003 -+++ common/discover.c Fri Mar 5 23:33:04 2004 -@@ -47,6 +47,7 @@ - #endif /* not lint */ - - #include "dhcpd.h" -+#include <ifaddrs.h> - #include <sys/ioctl.h> - - struct interface_info *interfaces, *dummy_interfaces, *fallback_interface; -@@ -135,10 +136,7 @@ - { - struct interface_info *tmp, *ip; - struct interface_info *last, *next; -- char buf [2048]; -- struct ifconf ic; -- struct ifreq ifr; -- int i; -+ struct ifaddrs *ifap, *ifa; - int sock; - int address_count = 0; - struct subnet *subnet; -@@ -157,61 +155,6 @@ - if ((sock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) - log_fatal ("Can't create addrlist socket"); - -- /* Get the interface configuration information... */ -- --#ifdef SIOCGIFCONF_ZERO_PROBE -- /* linux will only tell us how long a buffer it wants if we give it -- * a null buffer first. So, do a dry run to figure out the length. -- * -- * XXX this code is duplicated from below because trying to fold -- * the logic into the if statement and goto resulted in excesssive -- * obfuscation. The intent is that unless you run Linux you shouldn't -- * have to deal with this. */ -- -- ic.ifc_len = 0; -- ic.ifc_ifcu.ifcu_buf = (caddr_t)NULL; --#else -- /* otherwise, we just feed it a starting size, and it'll tell us if -- * it needs more */ -- -- ic.ifc_len = sizeof buf; -- ic.ifc_ifcu.ifcu_buf = (caddr_t)buf; --#endif -- -- gifconf_again: -- i = ioctl(sock, SIOCGIFCONF, &ic); -- -- if (i < 0) -- log_fatal ("ioctl: SIOCGIFCONF: %m"); -- --#ifdef SIOCGIFCONF_ZERO_PROBE -- /* Workaround for SIOCGIFCONF bug on some Linux versions. */ -- if (ic.ifc_ifcu.ifcu_buf == 0 && ic.ifc_len == 0) { -- ic.ifc_len = sizeof buf; -- ic.ifc_ifcu.ifcu_buf = (caddr_t)buf; -- goto gifconf_again; -- } --#endif -- -- /* If the SIOCGIFCONF resulted in more data than would fit in -- a buffer, allocate a bigger buffer. */ -- if ((ic.ifc_ifcu.ifcu_buf == buf --#ifdef SIOCGIFCONF_ZERO_PROBE -- || ic.ifc_ifcu.ifcu_buf == 0 --#endif -- ) && ic.ifc_len > sizeof buf) { -- ic.ifc_ifcu.ifcu_buf = dmalloc ((size_t)ic.ifc_len, MDL); -- if (!ic.ifc_ifcu.ifcu_buf) -- log_fatal ("Can't allocate SIOCGIFCONF buffer."); -- goto gifconf_again; --#ifdef SIOCGIFCONF_ZERO_PROBE -- } else if (ic.ifc_ifcu.ifcu_buf == 0) { -- ic.ifc_ifcu.ifcu_buf = (caddr_t)buf; -- ic.ifc_len = sizeof buf; -- goto gifconf_again; --#endif -- } -- - - /* If we already have a list of interfaces, and we're running as - a DHCP server, the interfaces were requested. */ -@@ -224,51 +167,38 @@ - else - ir = INTERFACE_REQUESTED; - -+ if (getifaddrs(&ifap) != 0) -+ log_fatal ("getifaddrs failed"); -+ - /* Cycle through the list of interfaces looking for IP addresses. */ -- for (i = 0; i < ic.ifc_len;) { -- struct ifreq *ifp = (struct ifreq *)((caddr_t)ic.ifc_req + i); --#ifdef HAVE_SA_LEN -- if (ifp -> ifr_addr.sa_len > sizeof (struct sockaddr)) -- i += (sizeof ifp -> ifr_name) + ifp -> ifr_addr.sa_len; -- else --#endif -- i += sizeof *ifp; -+ for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) { - - #ifdef ALIAS_NAMES_PERMUTED -- if ((s = strrchr (ifp -> ifr_name, ':'))) { -+ if ((s = strrchr (ifa -> ifa_name, ':'))) { - *s = 0; - } - #endif - - #ifdef SKIP_DUMMY_INTERFACES -- if (!strncmp (ifp -> ifr_name, "dummy", 5)) -+ if (!strncmp (ifa -> ifa_name, "dummy", 5)) - continue; - #endif - -- -- /* See if this is the sort of interface we want to -- deal with. */ -- strcpy (ifr.ifr_name, ifp -> ifr_name); -- if (ioctl (sock, SIOCGIFFLAGS, &ifr) < 0) -- log_fatal ("Can't get interface flags for %s: %m", -- ifr.ifr_name); -- - /* See if we've seen an interface that matches this one. */ - for (tmp = interfaces; tmp; tmp = tmp -> next) -- if (!strcmp (tmp -> name, ifp -> ifr_name)) -+ if (!strcmp (tmp -> name, ifa -> ifa_name)) - break; - -- /* Skip non broadcast interfaces (plus loopback and -- point-to-point in case an OS incorrectly marks them -- as broadcast). Also skip down interfaces unless we're -+ /* See if this is the sort of interface we want to -+ deal with. Skip loopback, point-to-point and down -+ interfaces, except don't skip down interfaces if we're - trying to get a list of configurable interfaces. */ -- if (((!(ifr.ifr_flags & IFF_BROADCAST) || -- ifr.ifr_flags & IFF_LOOPBACK || -- ifr.ifr_flags & IFF_POINTOPOINT) && !tmp) || -- (!(ifr.ifr_flags & IFF_UP) && -+ if ((ifa->ifa_flags & IFF_LOOPBACK) || -+ (ifa->ifa_flags & IFF_POINTOPOINT) || -+ (!(ifa->ifa_flags & IFF_UP) && - state != DISCOVER_UNCONFIGURED)) - continue; -- -+ - /* If there isn't already an interface by this name, - allocate one. */ - if (!tmp) { -@@ -276,9 +206,9 @@ - status = interface_allocate (&tmp, MDL); - if (status != ISC_R_SUCCESS) - log_fatal ("Error allocating interface %s: %s", -- ifp -> ifr_name, -+ ifa -> ifa_name, - isc_result_totext (status)); -- strcpy (tmp -> name, ifp -> ifr_name); -+ strcpy (tmp -> name, ifa -> ifa_name); - interface_snorf (tmp, ir); - interface_dereference (&tmp, MDL); - tmp = interfaces; /* XXX */ -@@ -290,9 +220,9 @@ - /* If we have the capability, extract link information - and record it in a linked list. */ - #ifdef HAVE_AF_LINK -- if (ifp -> ifr_addr.sa_family == AF_LINK) { -+ if (ifa -> ifa_addr->sa_family == AF_LINK) { - struct sockaddr_dl *foo = ((struct sockaddr_dl *) -- (&ifp -> ifr_addr)); -+ (ifa -> ifa_addr)); - #if defined (HAVE_SIN_LEN) - tmp -> hw_address.hlen = foo -> sdl_alen; - #else -@@ -305,12 +235,11 @@ - } else - #endif /* AF_LINK */ - -- if (ifp -> ifr_addr.sa_family == AF_INET) { -+ if (ifa -> ifa_addr->sa_family == AF_INET) { - struct iaddr addr; - - /* Get a pointer to the address... */ -- memcpy (&foo, &ifp -> ifr_addr, -- sizeof ifp -> ifr_addr); -+ bcopy(ifa->ifa_addr, &foo, sizeof(foo)); - - /* We don't want the loopback interface. */ - if (foo.sin_addr.s_addr == htonl (INADDR_LOOPBACK) && -@@ -323,16 +252,15 @@ - found, keep a pointer to ifreq structure in - which we found it. */ - if (!tmp -> ifp) { --#ifdef HAVE_SA_LEN -- unsigned len = ((sizeof ifp -> ifr_name) + -- ifp -> ifr_addr.sa_len); --#else -- unsigned len = sizeof *ifp; --#endif -+ -+ int len = (IFNAMSIZ + -+ ifa -> ifa_addr->sa_len); - tif = (struct ifreq *)dmalloc (len, MDL); - if (!tif) - log_fatal ("no space for ifp."); -- memcpy (tif, ifp, len); -+ strlcpy(tif->ifr_name, ifa->ifa_name, IFNAMSIZ); -+ memcpy(&tif->ifr_addr, ifa->ifa_addr, -+ ifa->ifa_addr->sa_len); - tmp -> ifp = tif; - tmp -> primary_address = foo.sin_addr; - } -@@ -346,9 +274,6 @@ - } - } - -- /* If we allocated a buffer, free it. */ -- if (ic.ifc_ifcu.ifcu_buf != buf) -- dfree (ic.ifc_ifcu.ifcu_buf, MDL); - - #if defined (LINUX_SLASHPROC_DISCOVERY) - /* On Linux, interfaces that don't have IP addresses don't -@@ -529,6 +454,7 @@ - be able to configure, we can quit now. */ - if (state == DISCOVER_UNCONFIGURED) { - close (sock); -+ freeifaddrs(ifap); - return; - } - -@@ -674,6 +600,7 @@ - } - - close (sock); -+ freeifaddrs(ifap); - - if (state == DISCOVER_SERVER && wifcount == 0) { - log_info ("%s", ""); diff --git a/net/isc-dhcp40-server/files/patch-common::dispatch.c b/net/isc-dhcp40-server/files/patch-common::dispatch.c deleted file mode 100644 index 0aa709cf0860..000000000000 --- a/net/isc-dhcp40-server/files/patch-common::dispatch.c +++ /dev/null @@ -1,29 +0,0 @@ ---- common/dispatch.c.orig Sun Nov 17 03:26:57 2002 -+++ common/dispatch.c Wed Mar 3 16:20:15 2004 -@@ -95,11 +95,26 @@ - void dispatch () - { - struct timeval tv, *tvp; -+#ifdef ENABLE_POLLING_MODE -+ struct timeval *tvp_new; -+#endif - isc_result_t status; -+ TIME cur_time; - -+ tvp = NULL; -+#ifdef ENABLE_POLLING_MODE -+ tvp_new = NULL; -+#endif - /* Wait for a packet or a timeout... XXX */ - do { - tvp = process_outstanding_timeouts (&tv); -+#ifdef ENABLE_POLLING_MODE -+ GET_TIME (&cur_time); -+ add_timeout(cur_time + polling_interval, state_polling, 0, 0, 0); -+ tvp_new = process_outstanding_timeouts(&tv); -+ if (tvp != NULL && (tvp -> tv_sec > tvp_new -> tv_sec)) -+ tvp = tvp_new; -+#endif /* ENABLE_POLLING_MODE */ - status = omapi_one_dispatch (0, tvp); - } while (status == ISC_R_TIMEDOUT || status == ISC_R_SUCCESS); - log_fatal ("omapi_one_dispatch failed: %s -- exiting.", diff --git a/net/isc-dhcp40-server/files/patch-configure b/net/isc-dhcp40-server/files/patch-configure deleted file mode 100644 index 5aff6909acce..000000000000 --- a/net/isc-dhcp40-server/files/patch-configure +++ /dev/null @@ -1,41 +0,0 @@ ---- configure.orig Sat Apr 20 23:44:13 2002 -+++ configure Mon Apr 28 23:02:10 2003 -@@ -13,6 +13,9 @@ - elif [ x$1 = x--dirs ]; then - dirs=$2 - shift -+ elif [ x$1 = x--subsys ]; then -+ subsys=$2 -+ shift - elif [ x$1 = x--no-links ]; then - nolinks=YES - elif [ x$1 = x--copts ]; then -@@ -233,7 +236,14 @@ - fi - - if [ x"$dirs" = x ]; then -- dirs=". client server relay common omapip dhcpctl minires dst" -+ dirs=". common minires dst omapip dhcpctl" -+ if [ x$subsys = x ]; then -+ dirs="$dirs server omshell client relay" -+ elif [ x$subsys = xserver ]; then -+ dirs="$dirs server omshell" -+ elif [ x$subsys = xclient -o x$subsys = xrelay ]; then -+ dirs="$dirs $subsys" -+ fi - fi - - for foo in $dirs; do -@@ -253,7 +263,11 @@ - - # Make the link tree in which to actually build. - if [ x$nolinks = x ]; then -- make links -+ if [ x$subsys = x ]; then -+ make links -+ else -+ make links.$subsys -+ fi - fi - - exit 0 diff --git a/net/isc-dhcp40-server/files/patch-dhcpctl::Makefile.dist b/net/isc-dhcp40-server/files/patch-dhcpctl::Makefile.dist deleted file mode 100644 index f840cfba6278..000000000000 --- a/net/isc-dhcp40-server/files/patch-dhcpctl::Makefile.dist +++ /dev/null @@ -1,79 +0,0 @@ ---- dhcpctl/Makefile.dist.orig Thu Mar 3 17:55:23 2005 -+++ dhcpctl/Makefile.dist Mon Jul 25 08:33:33 2005 -@@ -22,11 +22,11 @@ - # http://www.isc.org/ - # - --CATMANPAGES = dhcpctl.cat3 omshell.cat1 --SEDMANPAGES = dhcpctl.man3 omshell.man1 -+CATMANPAGES = dhcpctl.cat3 -+SEDMANPAGES = dhcpctl.man3 - SRC = dhcpctl.c callback.c remote.c - OBJ = dhcpctl.o callback.o remote.o --MAN = dhcpctl.3 omshell.1 -+MAN = dhcpctl.3 - HDRS = dhcpctl.h - - INCLUDES = $(BINDINC) -I$(TOP)/includes -@@ -34,10 +34,7 @@ - DHCPCTLLIBS = libdhcpctl.a ../common/libdhcp.a $(BINDLIB) \ - ../omapip/libomapi.a ../dst/libdst.a - --all: libdhcpctl.a omshell cltest $(CATMANPAGES) -- --omshell: omshell.o $(DHCPCTLLIBS) -- $(CC) $(DEBUG) $(LFLAGS) -o omshell omshell.o $(DHCPCTLLIBS) $(LIBS) -+all: libdhcpctl.a cltest $(CATMANPAGES) - - cltest: cltest.o $(DHCPCTLLIBS) - $(CC) $(DEBUG) $(LFLAGS) -o cltest cltest.o $(DHCPCTLLIBS) $(LIBS) -@@ -48,8 +45,7 @@ - $(RANLIB) libdhcpctl.a - - install: all $(CATMANPAGES) -- for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR) $(USRMANDIR) \ -- $(USERBINDIR); do \ -+ for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR); do \ - foo=""; \ - for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \ - foo=$${foo}/$$bar; \ -@@ -69,16 +65,12 @@ - $(MANINSTALL) $(MANFROM) $${prefix}.$(MANCAT)$${suffix} $(MANTO) \ - $(DESTDIR)$(LIBMANDIR)/$${prefix}$(LIBMANEXT); \ - done -- $(INSTALL) omshell $(DESTDIR)$(USERBINDIR) -- $(CHMOD) 755 $(DESTDIR)$(USERBINDIR)/omshell -- $(MANINSTALL) $(MANFROM) omshell.$(MANCAT)1 $(MANTO) \ -- $(DESTDIR)$(USRMANDIR)/omshell$(USRMANEXT) - - depend: - $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC) - - clean: -- -rm -f $(OBJ) omshell.o omshell cltest.o cltest -+ -rm -f $(OBJ) cltest.o cltest - - realclean: clean - -rm -f libdhcpctl.a *~ $(CATMANPAGES) $(SEDMANPAGES) -@@ -87,7 +79,7 @@ - -rm -f Makefile - - links: -- @for foo in $(SRC) $(MAN) omshell.c cltest.c $(HDRS); do \ -+ @for foo in $(SRC) $(MAN) cltest.c $(HDRS); do \ - if [ ! -b $$foo ]; then \ - rm -f $$foo; \ - fi; \ -@@ -100,12 +92,5 @@ - dhcpctl.man3: dhcpctl.3 - sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \ - -e "s#RUNDIR#$(VARRUN)#g" < dhcpctl.3 >dhcpctl.man3 -- --omshell.cat1: omshell.man1 -- nroff -man omshell.man1 >omshell.cat1 -- --omshell.man1: omshell.1 -- sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \ -- -e "s#RUNDIR#$(VARRUN)#g" < omshell.1 >omshell.man1 - - # Dependencies (semi-automatically-generated) diff --git a/net/isc-dhcp40-server/files/patch-dhcpd.conf b/net/isc-dhcp40-server/files/patch-dhcpd.conf deleted file mode 100644 index 030e89874d8d..000000000000 --- a/net/isc-dhcp40-server/files/patch-dhcpd.conf +++ /dev/null @@ -1,12 +0,0 @@ ---- server/dhcpd.conf.orig Thu Jan 25 03:33:11 2001 -+++ server/dhcpd.conf Wed Jan 30 22:06:52 2002 -@@ -14,6 +14,9 @@ - # network, the authoritative directive should be uncommented. - #authoritative; - -+# ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates. -+ddns-update-style ad-hoc; -+ - # Use this to send dhcp log messages to a different log file (you also - # have to hack syslog.conf to complete the redirection). - log-facility local7; diff --git a/net/isc-dhcp40-server/files/patch-dst::Makefile.dist b/net/isc-dhcp40-server/files/patch-dst::Makefile.dist deleted file mode 100644 index ad45436b1629..000000000000 --- a/net/isc-dhcp40-server/files/patch-dst::Makefile.dist +++ /dev/null @@ -1,29 +0,0 @@ ---- dst/Makefile.dist.orig Sun Nov 17 03:27:43 2002 -+++ dst/Makefile.dist Fri Mar 5 23:40:45 2004 -@@ -26,12 +26,24 @@ - - all: libdst.a - --install: -- - libdst.a: $(OBJ) - rm -f dst.a - ar cruv libdst.a $(OBJ) - $(RANLIB) libdst.a -+ -+install: all -+ for dir in $(LIBDIR);\ -+ do \ -+ foo=""; \ -+ for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \ -+ foo=$${foo}/$$bar; \ -+ if [ ! -d $$foo ]; then \ -+ mkdir $$foo; \ -+ chmod 755 $$foo; \ -+ fi; \ -+ done; \ -+ done -+ $(INSTALL) libdst.a $(DESTDIR)$(LIBDIR) - - depend: - $(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRC) diff --git a/net/isc-dhcp40-server/files/patch-includes::cf::freebsd.h b/net/isc-dhcp40-server/files/patch-includes::cf::freebsd.h deleted file mode 100644 index 071ac6ca5a29..000000000000 --- a/net/isc-dhcp40-server/files/patch-includes::cf::freebsd.h +++ /dev/null @@ -1,62 +0,0 @@ ---- includes/cf/freebsd.h.orig Wed Sep 1 19:06:36 2004 -+++ includes/cf/freebsd.h Mon May 15 09:13:18 2006 -@@ -33,7 +33,7 @@ - */ - - #include <syslog.h> --#include <sys/types.h> -+#include <sys/param.h> - #include <string.h> - #include <paths.h> - #include <errno.h> -@@ -97,6 +97,10 @@ - #define SOCKLEN_T int - #endif - -+#ifdef RESCUE -+#define _PATH_DHCLIENT_SCRIPT "/rescue/dhclient-script" -+#endif -+ - #if defined (USE_DEFAULT_NETWORK) - # define USE_BPF - #endif -@@ -107,6 +111,9 @@ - #endif /* HAVE_DEV_RANDOM */ - - const char *cmds[] = { -+#ifndef RESCUE -+ /* rescue environment can't rely on these ... */ -+ /* Actually, /sbin/dhclient shouldn't use these, either. */ - "/bin/ps -axlw 2>&1", - "/usr/sbin/arp -an 2>&1", - "/usr/bin/netstat -an 2>&1", -@@ -117,10 +124,12 @@ - "/usr/sbin/iostat 2>&1", - "/usr/bin/vmstat 2>&1", - "/usr/bin/w 2>&1", -+#endif - NULL - }; - - const char *dirs[] = { -+#ifndef RESCUE - "/tmp", - "/usr/tmp", - ".", -@@ -130,13 +139,16 @@ - "/var/mail", - "/home", - "/usr/home", -+#endif - NULL - }; - - const char *files[] = { -+#ifndef RESCUE - "/var/log/messages", - "/var/log/wtmp", - "/var/log/lastlog", -+#endif - NULL - }; - #endif /* NEED_PRAND_CONF */ diff --git a/net/isc-dhcp40-server/files/patch-includes::dhcpd.h b/net/isc-dhcp40-server/files/patch-includes::dhcpd.h deleted file mode 100644 index 1933e0b4037a..000000000000 --- a/net/isc-dhcp40-server/files/patch-includes::dhcpd.h +++ /dev/null @@ -1,56 +0,0 @@ ---- includes/dhcpd.h.orig Mon Feb 10 02:22:46 2003 -+++ includes/dhcpd.h Wed Mar 3 16:20:09 2004 -@@ -99,6 +99,9 @@ - (((x) >> OPTION_HASH_EXP) & \ - (OPTION_HASH_PTWO - 1))) % OPTION_HASH_SIZE; - -+#define NOLINK 0 -+#define HAVELINK 1 -+ - enum dhcp_shutdown_state { - shutdown_listeners, - shutdown_omapi_connections, -@@ -783,6 +786,11 @@ - unsigned remote_id_len; /* Length of Remote ID. */ - - char name [IFNAMSIZ]; /* Its name... */ -+ int ieee80211; /* True if media is ieee802.11 */ -+ int havemedia; /* True if we have a media table */ -+ int linkstate; /* True if we have link */ -+ int polling; /* True if polling is enabled */ -+ int forcediscover; /* True if a discover is needed */ - int index; /* Its index. */ - int rfdesc; /* Its read file descriptor. */ - int wfdesc; /* Its write file descriptor, if -@@ -1845,6 +1853,9 @@ - extern const char *path_dhclient_pid; - extern char *path_dhclient_script; - extern int interfaces_requested; -+#ifdef ENABLE_POLLING_MODE -+extern int polling_interval; -+#endif - - extern struct client_config top_level_config; - -@@ -1858,12 +1869,21 @@ - void send_decline PROTO ((void *)); - - void state_reboot PROTO ((void *)); -+#ifdef ENABLE_POLLING_MODE -+void state_background PROTO ((void *)); -+void state_polling PROTO ((void *)); -+#endif - void state_init PROTO ((void *)); - void state_selecting PROTO ((void *)); - void state_requesting PROTO ((void *)); - void state_bound PROTO ((void *)); - void state_stop PROTO ((void *)); - void state_panic PROTO ((void *)); -+ -+#if __FreeBSD_version > 502010 -+void set_ieee80211 PROTO ((struct interface_info *)); -+#endif -+int interface_active PROTO ((struct interface_info *)); - - void bind_lease PROTO ((struct client_state *)); - diff --git a/net/isc-dhcp40-server/files/patch-server::dhcpd.c b/net/isc-dhcp40-server/files/patch-server::dhcpd.c deleted file mode 100644 index c45ed9214792..000000000000 --- a/net/isc-dhcp40-server/files/patch-server::dhcpd.c +++ /dev/null @@ -1,288 +0,0 @@ ---- server/dhcpd.c.orig Thu Jun 10 19:59:52 2004 -+++ server/dhcpd.c Fri Jun 25 15:49:09 2004 -@@ -47,6 +47,22 @@ - #include "version.h" - #include <omapip/omapip_p.h> - -+#if defined (PARANOIA) -+#include <sys/types.h> -+#include <unistd.h> -+#include <pwd.h> -+/* get around the ISC declaration of group */ -+#define group real_group -+#include <grp.h> -+#undef group -+#endif /* PARANOIA */ -+#if defined (JAIL) -+#include <sys/param.h> -+#include <sys/jail.h> -+#include <netinet/in.h> -+#include <arpa/inet.h> -+#endif /* JAIL */ -+ - static void usage PROTO ((void)); - - TIME cur_time; -@@ -195,6 +211,35 @@ - omapi_object_dereference (&listener, MDL); - } - -+#if defined (PARANOIA) -+/* to be used in one of two possible scenarios */ -+static void setup_chroot (char *chroot_dir) -+{ -+ if (geteuid ()) -+ log_fatal ("you must be root to use chroot"); -+ if (chroot (chroot_dir)) -+ log_fatal ("chroot(\"%s\"): %m", chroot_dir); -+ if (chdir ("/")) -+ /* probably permission denied */ -+ log_fatal ("chdir(\"/\"): %m"); -+} -+#endif /* PARANOIA */ -+ -+#if defined (JAIL) -+static void setup_jail (char *chroot_dir, char *hostname, u_int32_t ip_number) -+{ -+ struct jail j; -+ -+ j.version = 0; -+ j.path = chroot_dir; -+ j.hostname = hostname; -+ j.ip_number = ip_number; -+ -+ if (jail (&j) < 0) -+ log_fatal ("jail(%s, %s): %m", chroot_dir, hostname); -+} -+#endif /* JAIL */ -+ - int main (argc, argv, envp) - int argc; - char **argv, **envp; -@@ -227,6 +272,25 @@ - char *traceinfile = (char *)0; - char *traceoutfile = (char *)0; - #endif -+#if defined (PARANOIA) -+ char *set_user = 0; -+ char *set_group = 0; -+ uid_t set_uid = 0; -+ gid_t set_gid = 0; -+ int early_chroot = 0; -+ int no_dhcpd_user = 0; -+ int no_dhcpd_group = 0; -+#endif /* PARANOIA */ -+#if defined (PARANOIA) || defined (JAIL) -+ char *set_chroot = 0; -+ int no_dhcpd_chroot = 0; -+#endif /* PARANOIA || JAIL */ -+#if defined (JAIL) -+ char *set_jail = 0; -+ u_int32_t jail_ip_address = 0; /* Good as long as it's IPv4 ... */ -+ int no_dhcpd_jail = 0; -+ char *s2; -+#endif /* JAIL */ - - /* Make sure we have stdin, stdout and stderr. */ - status = open ("/dev/null", O_RDWR); -@@ -289,6 +353,39 @@ - if (++i == argc) - usage (); - server = argv [i]; -+#if defined (PARANOIA) -+ } else if (!strcmp (argv [i], "-user")) { -+ if (++i == argc) -+ usage (); -+ set_user = argv [i]; -+ no_dhcpd_user = 1; -+ } else if (!strcmp (argv [i], "-group")) { -+ if (++i == argc) -+ usage (); -+ set_group = argv [i]; -+ no_dhcpd_group = 1; -+ } else if (!strcmp (argv [i], "-early_chroot")) { -+ early_chroot = 1; -+#endif /* PARANOIA */ -+#if defined (PARANOIA) || defined (JAIL) -+ } else if (!strcmp (argv [i], "-chroot")) { -+ if (++i == argc) -+ usage (); -+ set_chroot = argv [i]; -+ no_dhcpd_chroot = 1; -+#endif /* PARANOIA || JAIL */ -+#if defined (JAIL) -+ } else if (!strcmp (argv [i], "-jail")) { -+ if (++i == argc) -+ usage (); -+ set_jail = argv [i]; -+ if (++i == argc) -+ usage (); -+ if (inet_pton (AF_INET, argv[i], &jail_ip_address) < 0) -+ log_fatal ("invalid ip address: %s", argv[i]); -+ jail_ip_address = ntohl (jail_ip_address); -+ no_dhcpd_jail = 1; -+#endif /* JAIL */ - } else if (!strcmp (argv [i], "-cf")) { - if (++i == argc) - usage (); -@@ -366,6 +463,28 @@ - if (!no_dhcpd_pid && (s = getenv ("PATH_DHCPD_PID"))) { - path_dhcpd_pid = s; - } -+#if defined (PARANOIA) -+ if (!no_dhcpd_user && (s = getenv ("DHCPD_USER"))) { -+ set_user = s; -+ } -+ if (!no_dhcpd_group && (s = getenv ("DHCPD_GROUP"))) { -+ set_group = s; -+ } -+#endif /* PARANOIA */ -+#if defined (PARANOIA) || defined (JAIL) -+ if (!no_dhcpd_chroot && (s = getenv ("PATH_DHCPD_CHROOT"))) { -+ set_chroot = s; -+ } -+#endif /* PARANOIA || JAIL */ -+#if defined (JAIL) -+ if (!no_dhcpd_jail && (s = getenv ("DHCPD_JAIL_HOSTNAME")) && -+ (s2 = getenv ("DHCPD_JAIL_IPADDRESS"))) { -+ set_jail = s; -+ if (inet_pton (AF_INET, s2, &jail_ip_address) < 0) -+ log_fatal ("invalid ip address: %s", s2); -+ jail_ip_address = ntohl (jail_ip_address); -+ } -+#endif /* JAIL */ - - if (!quiet) { - log_info ("%s %s", message, DHCP_VERSION); -@@ -388,6 +507,57 @@ - trace_seed_stop, MDL); - #endif - -+#if defined (PARANOIA) -+ /* get user and group info if those options were given */ -+ if (set_user) { -+ struct passwd *tmp_pwd; -+ -+ if (geteuid ()) -+ log_fatal ("you must be root to set user"); -+ -+ if (!(tmp_pwd = getpwnam (set_user))) -+ log_fatal ("no such user: %s", set_user); -+ -+ set_uid = tmp_pwd->pw_uid; -+ -+ /* use the user's group as the default gid */ -+ if (!set_group) -+ set_gid = tmp_pwd->pw_gid; -+ } -+ -+ if (set_group) { -+/* get around the ISC declaration of group */ -+#define group real_group -+ struct group *tmp_grp; -+ -+ if (geteuid ()) -+ log_fatal ("you must be root to set group"); -+ -+ if (!(tmp_grp = getgrnam (set_group))) -+ log_fatal ("no such group: %s", set_group); -+ -+ set_gid = tmp_grp->gr_gid; -+#undef group -+ } -+#endif /* PARANOIA */ -+#if defined (JAIL) -+ if (set_jail) { -+ /* Initialize icmp support... */ -+ if (!cftest && !lftest) -+ icmp_startup (1, lease_pinged); -+ if(!set_chroot) -+ set_chroot = "/"; -+ setup_jail (set_chroot, set_jail, jail_ip_address); -+ } -+#endif /* JAIL */ -+#if defined (PARANOIA) && defined (JAIL) -+ else -+#endif /* PARANOIA && JAIL */ -+#if defined (PARANOIA) -+ if (early_chroot && set_chroot) -+ setup_chroot (set_chroot); -+#endif /* PARANOIA */ -+ - /* Default to the DHCP/BOOTP port. */ - if (!local_port) - { -@@ -462,6 +632,9 @@ - #endif - - /* Initialize icmp support... */ -+#if defined (JAIL) -+ if (!set_jail) -+#endif /* JAIL */ - if (!cftest && !lftest) - icmp_startup (1, lease_pinged); - -@@ -491,6 +664,14 @@ - - postconf_initialization (quiet); - -+#if defined (PARANOIA) -+#if defined (JAIL) -+ if (!set_jail) -+#endif /* JAIL */ -+ if (!early_chroot && set_chroot) -+ setup_chroot (set_chroot); -+#endif /* PARANOIA */ -+ - /* test option should cause an early exit */ - if (cftest && !lftest) - exit(0); -@@ -533,7 +714,22 @@ - else if (pid) - exit (0); - } -+ -+#if defined (PARANOIA) -+ /* change uid to the specified one */ -+ if (set_gid) { -+ if (setgroups (0, (void *)0)) -+ log_fatal ("setgroups: %m"); -+ if (setgid (set_gid)) -+ log_fatal ("setgid(%d): %m", (int) set_gid); -+ } - -+ if (set_uid) { -+ if (setuid (set_uid)) -+ log_fatal ("setuid(%d): %m", (int) set_uid); -+ } -+#endif /* PARANOIA */ -+ - /* Read previous pid file. */ - if ((i = open (path_dhcpd_pid, O_RDONLY)) >= 0) { - status = read (i, pbuf, (sizeof pbuf) - 1); -@@ -877,8 +1073,24 @@ - log_info (copyright); - log_info (arr); - -- log_fatal ("Usage: dhcpd [-p <UDP port #>] [-d] [-f]%s%s%s%s", -+ log_fatal ("Usage: dhcpd [-p <UDP port #>] [-d] [-f]%s%s%s%s%s%s%s", - "\n [-cf config-file] [-lf lease-file]", -+ -+#if defined (PARANOIA) -+ /* meld into the following string */ -+ "\n [-user user] [-group group]", -+ "\n [-chroot dir] [-early_chroot]", -+#else /* PARANOIA */ -+ "", "", -+#endif /* PARANOIA */ -+ -+#if defined (JAIL) -+ /* then also these ones */ -+ "\n [-jail name ip]", -+#else /* JAIL */ -+ "", -+#endif /* JAIL */ -+ - #if defined (TRACING) - "\n [-tf trace-output-file]", - "\n [-play trace-input-file]", 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 1149e0c7925c..000000000000 --- a/net/isc-dhcp40-server/files/patch-site.conf +++ /dev/null @@ -1,42 +0,0 @@ ---- site.conf.orig Wed Jul 7 17:20:10 1999 -+++ site.conf Wed Mar 3 14:00:14 2004 -@@ -1,2 +1,39 @@ - # 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 -+CLIENT_PATH = \"PATH=/sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/sbin:${PREFIX}/bin\" -+ -+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=\"$(VARRUN)/dhclient.pid\" -+ -+CFLAGS += -Dwarn=dhcp_warn -+CFLAGS += -DNOMINUM diff --git a/net/isc-dhcp40-server/pkg-descr b/net/isc-dhcp40-server/pkg-descr deleted file mode 100644 index 86bbb3cc62f0..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 (this port) - * 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-install b/net/isc-dhcp40-server/pkg-install deleted file mode 100644 index 547e94efc046..000000000000 --- a/net/isc-dhcp40-server/pkg-install +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -[ $# != 2 ] && exit 1 -[ -z "${PKG_PREFIX}" ] && exit 1 -[ -n "${BATCH}" ] && exit 0 - -case $2 in -POST-INSTALL) - if [ -x ${PKG_PREFIX}/etc/rc.d/isc-dhcpd ]; then - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd forceinstall - else - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd.sh forceinstall - fi - ;; -DEINSTALL) - if [ -x ${PKG_PREFIX}/etc/rc.d/isc-dhcpd ]; then - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd forceuninstall - else - ${PKG_PREFIX}/etc/rc.d/isc-dhcpd.sh forceuninstall - fi - ;; -POST-DEINSTALL|PRE-INSTALL) - ;; -*) - echo "usage: $0 <PKG_NAME> {PRE-INSTALL|POST-INSTALL|DEINSTALL|POST-DEINSTALL}" >&2 - exit 1 - ;; -esac diff --git a/net/isc-dhcp40-server/pkg-message b/net/isc-dhcp40-server/pkg-message deleted file mode 100644 index 754d49ae331f..000000000000 --- a/net/isc-dhcp40-server/pkg-message +++ /dev/null @@ -1,53 +0,0 @@ -**** To setup dhcpd, you may have to copy %%PREFIX%%/etc/dhcpd.conf.sample - to %%PREFIX%%/etc/dhcpd.conf for editing. - -**** This port installs dhcp daemon, but don't invokes dhcpd by default. If - you want to invoke dhcpd at startup, put these lines into /etc/rc.conf. - - dhcpd_enable="YES" # dhcpd enabled? - dhcpd_flags="-q" # command option(s) - dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf" # configuration file - dhcpd_ifaces="" # ethernet interface(s) - dhcpd_withumask="022" # file creation mask - -**** If compiled with paranoia support (the default), the following lines - are also supported: - - dhcpd_chuser_enable="YES" # runs w/o privileges? - dhcpd_withuser="dhcpd" # user name to run as - dhcpd_withgroup="dhcpd" # group name to run as - dhcpd_chroot_enable="YES" # runs chrooted? - dhcpd_devfs_enable="YES" # use devfs if available? - dhcpd_makedev_enable="YES" # use MAKEDEV instead? - dhcpd_rootdir="/var/db/dhcpd" # directory to run in - dhcpd_includedir="<some_dir>" # directory with config- - files to include - dhcpd_flags="-early_chroot" # needs full root - - WARNING: -early_chroot requires a jail(8) like environment to work. - - WARNING: dhcpd_devfs_enable and dhcpd_makedev_enable are mutually - exclusive - dhcpd_makedev_enable make NO sense on FreeBSD 5.x and up! - -**** If compiled with jail support (the default), the following lines are - also supported (-early_chroot and dhcpd_chroot_enable=YES are implied): - - dhcpd_jail_enable="YES" # runs imprisoned? - dhcpd_hostname="<hostname>" # jail hostname - dhcpd_ipaddress="<ip address>" # jail ip address - - WARNING: dhcpd_rootdir needs to point to a full jail(8) environment. - -**** WARNING: never edit the chrooted or jailed dhcpd.conf file but - %%PREFIX%%/etc/dhcpd.conf instead which is always copied where - needed upon startup. - -**** WARNING: %%PREFIX%%/etc/rc.isc-dhcpd.conf is obsolete. rc.conf like - variables are still read there but should be moved /etc/rc.conf or - /etc/rc.conf.d/dhcpd instead. Also, the dhcpd_options variable must - be renamed dhcpd_flags if any. -%%LDAP%% -%%LDAP%%**** You have requested support for the LDAP configuration backend. -%%LDAP%% The OpenLDAP schema file is installed as %%SCHEMA_DIR%%/dhcp.schema. -%%LDAP%% See %%DOCSDIR%%/README.ldap for further LDAP configuration details. diff --git a/net/isc-dhcp40-server/pkg-plist b/net/isc-dhcp40-server/pkg-plist deleted file mode 100644 index e1028012ff4e..000000000000 --- a/net/isc-dhcp40-server/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -@comment $FreeBSD$ -@unexec %D/etc/rc.d/isc-dhcpd.sh forcestop 2>/dev/null || true -@unexec %D/etc/rc.d/isc-dhcpd forcestop 2>/dev/null || true -bin/omshell -%%LDAP%%bin/dhcpd-conf-to-ldap.pl -etc/dhcpd.conf.sample -sbin/dhcpd -%%LDAP%%%%SCHEMA_DIR%%/dhcp.schema -%%LDAP%%@dirrm %%SCHEMA_DIR%% diff --git a/net/kdenetwork4/Makefile b/net/kdenetwork4/Makefile deleted file mode 100644 index 55cc4bfe08dc..000000000000 --- a/net/kdenetwork4/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -# -*-mode: makefile-*- -# New ports collection makefile for: kdenetwork2 -# Date created: 2 November 2001 -# Whom: will@cvs.kde.org -# -# $FreeBSD$ -# - -PORTNAME= kdenetwork -PORTVERSION= ${KDE_VERSION} -CATEGORIES?= net kde -MASTER_SITES= ${MASTER_SITE_KDE} -MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src -DIST_SUBDIR= KDE - -MAINTAINER?= kde@FreeBSD.org -COMMENT= Network-related programs and modules for KDE - -LIB_DEPENDS= slp:${PORTSDIR}/net/openslp - -OPTIONS= KOPETE "Install kopete multi-protocol instant messenger" OFF - -USE_KDELIBS_VER=3 -PREFIX= ${KDE_PREFIX} - -USE_PERL5= yes -USE_BZIP2= yes -USE_GMAKE= yes -USE_OPENSSL= yes - -USE_AUTOTOOLS= libtool:15 -USE_LDCONFIG= yes -LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 -DO_NOT_COMPILE+=kopete lanbrowsing filesharing - -CONFIGURE_ARGS+=--with-ssl-dir=${OPENSSLBASE} - -.if defined(DO_NOT_COMPILE) -CONFIGURE_ENV+=DO_NOT_COMPILE="${DO_NOT_COMPILE}" -.endif # defined(DO_NOT_COMPILE) - -.include "${.CURDIR}/../../x11/kde3/Makefile.kde" -.include <bsd.port.pre.mk> - -pre-configure: - @${REINPLACE_CMD} \ - -E -e '/^SUBDIRS/s/lisa//g' \ - ${WRKSRC}/doc/Makefile.in - @${REINPLACE_CMD} \ - -e 's|/etc/security/|${LOCALBASE}/etc/|g' \ - ${WRKSRC}/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp \ - ${WRKSRC}/filesharing/simple/fileshare.cpp - -## -# OPTIONS handling -## -# -.if defined(WITH_KOPETE) -RUN_DEPENDS+= kopete:${PORTSDIR}/net-im/kopete -.endif - -.include <bsd.port.post.mk> diff --git a/net/kdenetwork4/distinfo b/net/kdenetwork4/distinfo deleted file mode 100644 index 6a8b1a2651e3..000000000000 --- a/net/kdenetwork4/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (KDE/kdenetwork-3.5.6.tar.bz2) = 0f428cccc4ea16aa53c427530874c591 -SHA256 (KDE/kdenetwork-3.5.6.tar.bz2) = 786e6c25d5cba4ed1eeac947c5554d7fe57de593abf6551c58c178043b82475e -SIZE (KDE/kdenetwork-3.5.6.tar.bz2) = 9245468 diff --git a/net/kdenetwork4/files/patch-configure b/net/kdenetwork4/files/patch-configure deleted file mode 100644 index 00bec73d8263..000000000000 --- a/net/kdenetwork4/files/patch-configure +++ /dev/null @@ -1,23 +0,0 @@ ---- configure Mon May 31 16:06:53 2004 -+++ configure Sun Jun 6 20:29:06 2004 -@@ -37996,20 +37996,7 @@ - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - -- kde_cv_utmp_file=no -- -- for ac_file in \ -- \ -- /var/run/utmp \ -- /var/adm/utmp \ -- /etc/utmp \ -- ; \ -- do -- if test -r "$ac_file"; then -- kde_cv_utmp_file=$ac_file -- break -- fi -- done -+ kde_cv_utmp_file=/var/run/utmp - - fi diff --git a/net/kdenetwork4/pkg-descr b/net/kdenetwork4/pkg-descr deleted file mode 100644 index 930132bfb9a4..000000000000 --- a/net/kdenetwork4/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -KDE provides an integrated X11 based environment, much like CDE. -This particular port installs the networking components of KDE, -which includes applications for networking things like kppp, -ksirc (irc-client), KDE's instant messenger kopete, and so forth. - -WWW: http://www.kde.org/ diff --git a/net/kdenetwork4/pkg-plist b/net/kdenetwork4/pkg-plist deleted file mode 100644 index f2f5c3a2b284..000000000000 --- a/net/kdenetwork4/pkg-plist +++ /dev/null @@ -1,1061 +0,0 @@ -bin/dsirc -bin/feedbrowser -bin/kdict -bin/kget -bin/knewstickerstub -bin/kppp -bin/kppplogview -bin/krdc -bin/krfb -bin/krfb_httpd -bin/ksirc -bin/ktalkd -bin/ktalkdlg -bin/mail.local -bin/rssclient -bin/rssservice -include/rss/article.h -include/rss/document.h -include/rss/global.h -include/rss/image.h -include/rss/librss.h -include/rss/loader.h -include/rss/textinput.h -lib/kde3/kcm_krfb.a -lib/kde3/kcm_krfb.la -lib/kde3/kcm_krfb.so -lib/kde3/kcm_ktalkd.a -lib/kde3/kcm_ktalkd.la -lib/kde3/kcm_ktalkd.so -lib/kde3/kded_dnssdwatcher.a -lib/kde3/kded_dnssdwatcher.la -lib/kde3/kded_dnssdwatcher.so -lib/kde3/kded_kinetd.a -lib/kde3/kded_kinetd.la -lib/kde3/kded_kinetd.so -lib/kde3/kdict.a -lib/kde3/kdict.la -lib/kde3/kdict.so -lib/kde3/kdict_panelapplet.a -lib/kde3/kdict_panelapplet.la -lib/kde3/kdict_panelapplet.so -lib/kde3/kfile_torrent.a -lib/kde3/kfile_torrent.la -lib/kde3/kfile_torrent.so -lib/kde3/khtml_kget.a -lib/kde3/khtml_kget.la -lib/kde3/khtml_kget.so -lib/kde3/kio_zeroconf.a -lib/kde3/kio_zeroconf.la -lib/kde3/kio_zeroconf.so -lib/kde3/knewsticker_panelapplet.a -lib/kde3/knewsticker_panelapplet.la -lib/kde3/knewsticker_panelapplet.so -lib/kde3/kpf_panelapplet.a -lib/kde3/kpf_panelapplet.la -lib/kde3/kpf_panelapplet.so -lib/kde3/kpfpropertiesdialog.a -lib/kde3/kpfpropertiesdialog.la -lib/kde3/kpfpropertiesdialog.so -lib/kde3/ksirc.a -lib/kde3/ksirc.la -lib/kde3/ksirc.so -lib/kde3/libkntsrcfilepropsdlg.a -lib/kde3/libkntsrcfilepropsdlg.la -lib/kde3/libkntsrcfilepropsdlg.so -lib/libkdeinit_kdict.a -lib/libkdeinit_kdict.la -lib/libkdeinit_kdict.so -lib/libkdeinit_ksirc.a -lib/libkdeinit_ksirc.la -lib/libkdeinit_ksirc.so -lib/librss.a -lib/librss.la -lib/librss.so -lib/librss.so.1 -share/applications/kde/Kppp.desktop -share/applications/kde/kcmkrfb.desktop -share/applications/kde/kcmktalkd.desktop -share/applications/kde/kdict.desktop -share/applications/kde/kget.desktop -share/applications/kde/knewsticker-standalone.desktop -share/applications/kde/kppplogview.desktop -share/applications/kde/krdc.desktop -share/applications/kde/krfb.desktop -share/applications/kde/ksirc.desktop -share/applnk/.hidden/knewstickerstub.desktop -share/apps/kconf_update/knewsticker.upd -share/apps/kconf_update/knt-0.1-0.2.pl -share/apps/kdict/icons/crystalsvg/16x16/actions/define_clip.png -share/apps/kdict/icons/crystalsvg/16x16/actions/query_erase.png -share/apps/kdict/icons/crystalsvg/22x22/actions/define_clip.png -share/apps/kdict/icons/crystalsvg/32x32/actions/define_clip.png -share/apps/kdict/kdictui.rc -share/apps/kget/eventsrc -share/apps/kget/icons/crystalsvg/22x22/actions/bar0.png -share/apps/kget/icons/crystalsvg/22x22/actions/bar1.png -share/apps/kget/icons/crystalsvg/22x22/actions/bar2.png -share/apps/kget/icons/crystalsvg/22x22/actions/bar3.png -share/apps/kget/icons/crystalsvg/22x22/actions/bar4.png -share/apps/kget/icons/crystalsvg/22x22/actions/bar5.png -share/apps/kget/icons/crystalsvg/22x22/actions/bar6.png -share/apps/kget/icons/crystalsvg/22x22/actions/kget_dock.png -share/apps/kget/icons/crystalsvg/22x22/actions/kget_dock_download.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_clipboard.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_delay.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_disconnect.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_dock.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_drop_target.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_expert.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_logwindow.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_normal.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_offline_mode_off.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_offline_mode_on.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_pause.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_queue.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_restart.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_resume.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_shutdown.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_timer.png -share/apps/kget/icons/crystalsvg/22x22/actions/tool_uselastdir.png -share/apps/kget/kgetui.rc -share/apps/kget/pics/connect0.png -share/apps/kget/pics/connect1.png -share/apps/kget/pics/connect2.png -share/apps/kget/pics/connect3.png -share/apps/kget/pics/connect4.png -share/apps/kget/pics/connect5.png -share/apps/kget/pics/connect6.png -share/apps/kget/pics/connect7.png -share/apps/kget/pics/md_delayed.png -share/apps/kget/pics/md_finished.png -share/apps/kget/pics/md_queued.png -share/apps/kget/pics/md_scheduled.png -share/apps/kget/pics/retrying.png -share/apps/kget/pics/target.png -share/apps/kget/pics/try0.png -share/apps/kget/pics/try1.png -share/apps/kget/pics/try2.png -share/apps/kget/pics/try3.png -share/apps/kget/pics/try4.png -share/apps/kget/pics/try5.png -share/apps/kget/pics/try6.png -share/apps/kget/pics/try7.png -share/apps/khtml/kpartplugins/kget_plug_in.desktop -share/apps/khtml/kpartplugins/kget_plug_in.rc -share/apps/kicker/applets/kdictapplet.desktop -share/apps/kicker/applets/knewsticker.desktop -share/apps/kicker/applets/kpfapplet.desktop -share/apps/kinetd/eventsrc -share/apps/knewsticker/eventsrc -share/apps/konqueror/servicemenus/kget_download.desktop -share/apps/konqueror/servicemenus/smb2rdc.desktop -share/apps/kppp/Provider/Austria/.directory -share/apps/kppp/Provider/Austria/Simon%032Media -share/apps/kppp/Provider/Belarus/.directory -share/apps/kppp/Provider/Belarus/AtlantTelecom -share/apps/kppp/Provider/Czech_Republic/.directory -share/apps/kppp/Provider/Czech_Republic/AICOM -share/apps/kppp/Provider/Czech_Republic/ARsystem -share/apps/kppp/Provider/Czech_Republic/ASYS -share/apps/kppp/Provider/Czech_Republic/ApexNet -share/apps/kppp/Provider/Czech_Republic/BohemiaNet -share/apps/kppp/Provider/Czech_Republic/Brailcom -share/apps/kppp/Provider/Czech_Republic/CITYNET -share/apps/kppp/Provider/Czech_Republic/Contactel -share/apps/kppp/Provider/Czech_Republic/ES-servis -share/apps/kppp/Provider/Czech_Republic/Econnect -share/apps/kppp/Provider/Czech_Republic/Falco_computer -share/apps/kppp/Provider/Czech_Republic/Fortech -share/apps/kppp/Provider/Czech_Republic/HP-NET -share/apps/kppp/Provider/Czech_Republic/INTERNET_OnLine -share/apps/kppp/Provider/Czech_Republic/INTERNEXT -share/apps/kppp/Provider/Czech_Republic/IQNET -share/apps/kppp/Provider/Czech_Republic/KPNQuest -share/apps/kppp/Provider/Czech_Republic/M-soft -share/apps/kppp/Provider/Czech_Republic/Nextra -share/apps/kppp/Provider/Czech_Republic/ProfiNet -share/apps/kppp/Provider/Czech_Republic/SeverNET -share/apps/kppp/Provider/Czech_Republic/Video_OnLine -share/apps/kppp/Provider/Czech_Republic/Volny -share/apps/kppp/Provider/Denmark/.directory -share/apps/kppp/Provider/Denmark/Get2Net -share/apps/kppp/Provider/France/.directory -share/apps/kppp/Provider/France/ClubInternetFull -share/apps/kppp/Provider/Germany/.directory -share/apps/kppp/Provider/Germany/CityWeb -share/apps/kppp/Provider/Germany/FH%032Rhein%032Sieg%032%040Informatik%041 -share/apps/kppp/Provider/Germany/MUC%046DE -share/apps/kppp/Provider/Germany/Netsurf -share/apps/kppp/Provider/Irland/.directory -share/apps/kppp/Provider/Irland/Eircom -share/apps/kppp/Provider/Irland/IOL -share/apps/kppp/Provider/Netherlands/.directory -share/apps/kppp/Provider/Netherlands/12Move -share/apps/kppp/Provider/Netherlands/Bart -share/apps/kppp/Provider/Netherlands/Betuwenet%032BFree -share/apps/kppp/Provider/Netherlands/Betuwenet%032BQuality -share/apps/kppp/Provider/Netherlands/Cistron -share/apps/kppp/Provider/Netherlands/Concepts%032ICT -share/apps/kppp/Provider/Netherlands/Cubic%032Circle -share/apps/kppp/Provider/Netherlands/Dataweb -share/apps/kppp/Provider/Netherlands/Daxis%032Internet -share/apps/kppp/Provider/Netherlands/Demon%032Internet -share/apps/kppp/Provider/Netherlands/Energis-Ision -share/apps/kppp/Provider/Netherlands/Euronet%032anytime -share/apps/kppp/Provider/Netherlands/Euronet%032professional -share/apps/kppp/Provider/Netherlands/FlakkeeNet -share/apps/kppp/Provider/Netherlands/FreeAcces -share/apps/kppp/Provider/Netherlands/Freeler%032basis -share/apps/kppp/Provider/Netherlands/Freeler%032compleet -share/apps/kppp/Provider/Netherlands/Freeler%032voordelig -share/apps/kppp/Provider/Netherlands/HCC%032NET -share/apps/kppp/Provider/Netherlands/Hacom -share/apps/kppp/Provider/Netherlands/HetNet%032Basis%032Surfen -share/apps/kppp/Provider/Netherlands/HetNet%032Frequent%032Surfen -share/apps/kppp/Provider/Netherlands/HetNet%032Regelmatig%032Surfen -share/apps/kppp/Provider/Netherlands/IAE -share/apps/kppp/Provider/Netherlands/ILimburg -share/apps/kppp/Provider/Netherlands/InterNLnet -share/apps/kppp/Provider/Netherlands/Interbox -share/apps/kppp/Provider/Netherlands/Internet%032Acces%032Facilities -share/apps/kppp/Provider/Netherlands/Internet%032Online -share/apps/kppp/Provider/Netherlands/Interstroom -share/apps/kppp/Provider/Netherlands/IntroWeb%032Hengelo%032e.o. -share/apps/kppp/Provider/Netherlands/IntroWeb%032met%0323-cijferig%032kengetal -share/apps/kppp/Provider/Netherlands/IntroWeb%032met%0324-cijferig%032kengetal -share/apps/kppp/Provider/Netherlands/Kabelfoon -share/apps/kppp/Provider/Netherlands/KeyAcces%032met%0323%032cijferig%032kengetal -share/apps/kppp/Provider/Netherlands/KeyAcces%032met%0324%032cijferig%032kengetal -share/apps/kppp/Provider/Netherlands/Luna -share/apps/kppp/Provider/Netherlands/Macom -share/apps/kppp/Provider/Netherlands/Nederland.net -share/apps/kppp/Provider/Netherlands/Planet%032Internet%032Premium -share/apps/kppp/Provider/Netherlands/Planet%032Internet%032Standaard -share/apps/kppp/Provider/Netherlands/Plant%032Acces -share/apps/kppp/Provider/Netherlands/Popin -share/apps/kppp/Provider/Netherlands/PublishNet -share/apps/kppp/Provider/Netherlands/Raketnet -share/apps/kppp/Provider/Netherlands/Solcon -share/apps/kppp/Provider/Netherlands/Support%032Net -share/apps/kppp/Provider/Netherlands/Telebyte -share/apps/kppp/Provider/Netherlands/Tiscali%032Compleet -share/apps/kppp/Provider/Netherlands/Tiscali%032Gratis -share/apps/kppp/Provider/Netherlands/UwNet -share/apps/kppp/Provider/Netherlands/Via%032Networks -share/apps/kppp/Provider/Netherlands/Wannadoo%032budget -share/apps/kppp/Provider/Netherlands/Wannadoo%032budget%320plus -share/apps/kppp/Provider/Netherlands/Wannadoo%032smartpack -share/apps/kppp/Provider/Netherlands/Wirehub -share/apps/kppp/Provider/Netherlands/XS4All -share/apps/kppp/Provider/Netherlands/Zeelandnet -share/apps/kppp/Provider/Netherlands/Zon%0322 -share/apps/kppp/Provider/Netherlands/Zon%032Gratis -share/apps/kppp/Provider/Netherlands/Zon%032Inclusief -share/apps/kppp/Provider/NewZealand/.directory -share/apps/kppp/Provider/NewZealand/OrconInternet -share/apps/kppp/Provider/NewZealand/Paradise -share/apps/kppp/Provider/NewZealand/Voyager -share/apps/kppp/Provider/NewZealand/XTRA -share/apps/kppp/Provider/NewZealand/ihug -share/apps/kppp/Provider/Norway/.directory -share/apps/kppp/Provider/Norway/BGNett -share/apps/kppp/Provider/Norway/Institutt%032for%032informatikk -share/apps/kppp/Provider/Portugal/.directory -share/apps/kppp/Provider/Portugal/Clix -share/apps/kppp/Provider/Portugal/Netc -share/apps/kppp/Provider/Portugal/OniNet -share/apps/kppp/Provider/Slovenia/AmisNet -share/apps/kppp/Provider/Slovenia/Arnes -share/apps/kppp/Provider/Slovenia/Kiss -share/apps/kppp/Provider/Slovenia/MojNet -share/apps/kppp/Provider/Slovenia/SiOL -share/apps/kppp/Provider/Slovenia/Volja -share/apps/kppp/Provider/Sweden/.directory -share/apps/kppp/Provider/Sweden/Tiscali -share/apps/kppp/Provider/Sweden/Utfors -share/apps/kppp/Provider/Switzerland/.directory -share/apps/kppp/Provider/Switzerland/Bluewin -share/apps/kppp/Provider/Taiwan/.directory -share/apps/kppp/Provider/Taiwan/EraNet -share/apps/kppp/Provider/Taiwan/HiNet -share/apps/kppp/Provider/Taiwan/SeedNet -share/apps/kppp/Provider/Ukraine/.directory -share/apps/kppp/Provider/Ukraine/Adamant -share/apps/kppp/Provider/Ukraine/IPTelecom -share/apps/kppp/Provider/Ukraine/NuVse -share/apps/kppp/Provider/United_Kingdom/.directory -share/apps/kppp/Provider/United_Kingdom/Demon%032Green%0322120666 -share/apps/kppp/Provider/United_Kingdom/Demon%032Purple%0322121666 -share/apps/kppp/Provider/United_Kingdom/Demon%032Red%0320798666 -share/apps/kppp/Provider/United_Kingdom/FreeServe -share/apps/kppp/Provider/United_Kingdom/UK%032Free%032Software%032Network%032ISDN -share/apps/kppp/Provider/United_Kingdom/UK%032Free%032Software%032Network%032Modem -share/apps/kppp/Provider/United_Kingdom/UKPOST%032ISDN -share/apps/kppp/Provider/United_Kingdom/UKPOST%032Modem -share/apps/kppp/Provider/United_Kingdom/UTV -share/apps/kppp/Provider/Yugoslavia/041Net -share/apps/kppp/Provider/Yugoslavia/BeoTelNet -share/apps/kppp/Provider/Yugoslavia/CG.Bar.yu -share/apps/kppp/Provider/Yugoslavia/CG.Berane.yu -share/apps/kppp/Provider/Yugoslavia/CG.BijeloPolje.CG.yu -share/apps/kppp/Provider/Yugoslavia/CG.Budva.yu -share/apps/kppp/Provider/Yugoslavia/CG.Cetinje.yu -share/apps/kppp/Provider/Yugoslavia/CG.HercegNovi.yu -share/apps/kppp/Provider/Yugoslavia/CG.Kotor.yu -share/apps/kppp/Provider/Yugoslavia/CG.Niksic.yu -share/apps/kppp/Provider/Yugoslavia/CG.Pljevlja.yu -share/apps/kppp/Provider/Yugoslavia/CG.Podgorica.yu -share/apps/kppp/Provider/Yugoslavia/CG.Tivat.yu -share/apps/kppp/Provider/Yugoslavia/CG.Ulcinj.yu -share/apps/kppp/Provider/Yugoslavia/CG.yu -share/apps/kppp/Provider/Yugoslavia/DrenikNet -share/apps/kppp/Provider/Yugoslavia/EUnet@Full -share/apps/kppp/Provider/Yugoslavia/EUnet@Lite -share/apps/kppp/Provider/Yugoslavia/EUnetBeograd -share/apps/kppp/Provider/Yugoslavia/EUnetCacak -share/apps/kppp/Provider/Yugoslavia/EUnetKragujevac -share/apps/kppp/Provider/Yugoslavia/EUnetNis -share/apps/kppp/Provider/Yugoslavia/EUnetNoviSad -share/apps/kppp/Provider/Yugoslavia/EUnetPristina -share/apps/kppp/Provider/Yugoslavia/EUnetSombor -share/apps/kppp/Provider/Yugoslavia/EUnetSubotica -share/apps/kppp/Provider/Yugoslavia/InfoSKY -share/apps/kppp/Provider/Yugoslavia/PTT -share/apps/kppp/Provider/Yugoslavia/SCnet -share/apps/kppp/Provider/Yugoslavia/Sezampro -share/apps/kppp/Provider/Yugoslavia/SuOnline -share/apps/kppp/Provider/Yugoslavia/TippNet -share/apps/kppp/Provider/Yugoslavia/VeratNet -share/apps/kppp/Provider/Yugoslavia/YUBCnet -share/apps/kppp/Rules/Argentina/Argentina_0610.rst -share/apps/kppp/Rules/Argentina/Argentina_Local.rst -share/apps/kppp/Rules/Australia/Local.rst -share/apps/kppp/Rules/Australia/Optus_Residential.rst -share/apps/kppp/Rules/Australia/STD_Zone_1_-_25-50_kms.rst -share/apps/kppp/Rules/Australia/STD_Zone_2_-_50-85_kms.rst -share/apps/kppp/Rules/Australia/STD_Zone_3_-_85-165_kms.rst -share/apps/kppp/Rules/Australia/STD_Zone_4_-_165+_kms.rst -share/apps/kppp/Rules/Austria/Business_1/Local.rst -share/apps/kppp/Rules/Austria/Business_1/Long_Distance.rst -share/apps/kppp/Rules/Austria/Business_1/Online.rst -share/apps/kppp/Rules/Austria/Business_2/Local.rst -share/apps/kppp/Rules/Austria/Business_2/Long_Distance.rst -share/apps/kppp/Rules/Austria/Business_2/Online.rst -share/apps/kppp/Rules/Austria/Minimum/Local.rst -share/apps/kppp/Rules/Austria/Minimum/Long_Distance.rst -share/apps/kppp/Rules/Austria/Minimum/Online.rst -share/apps/kppp/Rules/Austria/Standard/Local.rst -share/apps/kppp/Rules/Austria/Standard/Long_Distance.rst -share/apps/kppp/Rules/Austria/Standard/Online.rst -share/apps/kppp/Rules/Austria/Standard/UTA_easyinternet.rst -share/apps/kppp/Rules/Bangladesh/ATT00007.rst -share/apps/kppp/Rules/Bangladesh/ATT00010.rst -share/apps/kppp/Rules/Belgium/Belgium_internet_euro.rst -share/apps/kppp/Rules/Belgium/Belgium_internet_frank.rst -share/apps/kppp/Rules/Belgium/Belgium_interzonal.rst -share/apps/kppp/Rules/Belgium/Belgium_zonal.rst -share/apps/kppp/Rules/Bosnia_and_Herzegovina/BiHnet_-_home_-_bez_impulsa.rst -share/apps/kppp/Rules/Bosnia_and_Herzegovina/BiHnet_-_student_-_bez_impulsa.rst -share/apps/kppp/Rules/Bosnia_and_Herzegovina/SmartNet_PERSONAL_bez_impulsa.rst -share/apps/kppp/Rules/Bosnia_and_Herzegovina/samo_impulsi.rst -share/apps/kppp/Rules/Brasil/Brasil.rst -share/apps/kppp/Rules/Brasil/Brasil_Ligbr.rst -share/apps/kppp/Rules/Brasil/Rio_de_Janeiro.rst -share/apps/kppp/Rules/Brasil/SaoPaulo.rst -share/apps/kppp/Rules/Croatia/CARNet.rst -share/apps/kppp/Rules/Czechia/Czech_Telecom_Internet_2004_Business_Internet.rst -share/apps/kppp/Rules/Czechia/Czech_Telecom_Internet_2004_Home_Internet.rst -share/apps/kppp/Rules/Czechia/Czech_Telecom_Internet_2004_telefon_a_Internet_180_+_660.rst -share/apps/kppp/Rules/Czechia/Czech_Telecom_Internet_2004_telefon_a_Internet_90_+_300.rst -share/apps/kppp/Rules/Czechia/Czech_Telecom_Internet_2004_telefon_universal.rst -share/apps/kppp/Rules/Denmark/12Move_Analog.rst -share/apps/kppp/Rules/Denmark/12Move_ISDN.rst -share/apps/kppp/Rules/Denmark/Cybercity_Friabonnement.rst -share/apps/kppp/Rules/Denmark/Get2net_Betaling.rst -share/apps/kppp/Rules/Denmark/Get2net_Gratis.rst -share/apps/kppp/Rules/Denmark/Mobilix_Wanadoo.rst -share/apps/kppp/Rules/Denmark/Teledanmark_Basis.rst -share/apps/kppp/Rules/Denmark/Teledanmark_Favoritinternet.rst -share/apps/kppp/Rules/Denmark/Worldonline-Analog.rst -share/apps/kppp/Rules/Denmark/Worldonline-ISDN.rst -share/apps/kppp/Rules/Estonia/Eesti_Telefon.rst -share/apps/kppp/Rules/Finland/VLP.rst -share/apps/kppp/Rules/France/Cegetel_Local.rst -share/apps/kppp/Rules/France/Cegetel_National.rst -share/apps/kppp/Rules/France/France_Telecom_Internet.rst -share/apps/kppp/Rules/France/France_Telecom_Local.rst -share/apps/kppp/Rules/France/France_Telecom_National.rst -share/apps/kppp/Rules/France/Le_9_Local.rst -share/apps/kppp/Rules/France/Le_9_National.rst -share/apps/kppp/Rules/France/OneTel.rst -share/apps/kppp/Rules/France/Tele2_Local.rst -share/apps/kppp/Rules/France/Tele2_National.rst -share/apps/kppp/Rules/France/Wanadoo_Free.rst -share/apps/kppp/Rules/Germany/1und1_InternetZugang.rst -share/apps/kppp/Rules/Germany/2.5min.rst -share/apps/kppp/Rules/Germany/2.5s.rst -share/apps/kppp/Rules/Germany/AddCom_by_Call.rst -share/apps/kppp/Rules/Germany/Addcom.rst -share/apps/kppp/Rules/Germany/Arcor_Internet_by_Call_easy.rst -share/apps/kppp/Rules/Germany/CallOkaynet.rst -share/apps/kppp/Rules/Germany/Callino_Surf_Basic.rst -share/apps/kppp/Rules/Germany/Callino_Surf_Plus.rst -share/apps/kppp/Rules/Germany/Callisa_City.rst -share/apps/kppp/Rules/Germany/City_Activ_Plus_Option.rst -share/apps/kppp/Rules/Germany/Cityweb.rst -share/apps/kppp/Rules/Germany/CompuservePro.rst -share/apps/kppp/Rules/Germany/E-Plus-Online_Jedermann.rst -share/apps/kppp/Rules/Germany/Easynet_easy-call.rst -share/apps/kppp/Rules/Germany/Freenet_Enterprise.rst -share/apps/kppp/Rules/Germany/Freenet_Sorglos.rst -share/apps/kppp/Rules/Germany/Freenet_StandardTarif.rst -share/apps/kppp/Rules/Germany/Freenet_Super_CbC.rst -share/apps/kppp/Rules/Germany/Freenet_special_call_by_call.rst -share/apps/kppp/Rules/Germany/MSN.rst -share/apps/kppp/Rules/Germany/Mobilcom_Freenet.rst -share/apps/kppp/Rules/Germany/NGI_Call_By_Call.rst -share/apps/kppp/Rules/Germany/Netcom_Kassel.rst -share/apps/kppp/Rules/Germany/Nikoma.rst -share/apps/kppp/Rules/Germany/Nikoma_Internet_by_Call.rst -share/apps/kppp/Rules/Germany/Nikoma_Study_and_Surf.rst -share/apps/kppp/Rules/Germany/Planet-Interkom_Internet_by_call.rst -share/apps/kppp/Rules/Germany/Puretec.rst -share/apps/kppp/Rules/Germany/Telekom_City_Select_5_30.rst -share/apps/kppp/Rules/Germany/VR-Web.rst -share/apps/kppp/Rules/Germany/expressnet.rst -share/apps/kppp/Rules/Germany/knUUt-by-Call.rst -share/apps/kppp/Rules/Germany/talkline_by_call.rst -share/apps/kppp/Rules/Germany/vossnet_fun.rst -share/apps/kppp/Rules/Germany/vossnet_fun_light.rst -share/apps/kppp/Rules/Germany/vossnet_kompl.rst -share/apps/kppp/Rules/Greece/Hellas_EPAK_Zone1_in_euro.rst -share/apps/kppp/Rules/Greece/Hellas_EPAK_Zone2_in_euro.rst -share/apps/kppp/Rules/Greece/Hellas_EPAK_local_in_euro.rst -share/apps/kppp/Rules/Greece/Hellas_analog_local_in_euro.rst -share/apps/kppp/Rules/Greece/Hellas_digital_local_in_euro.rst -share/apps/kppp/Rules/Hong_Kong/Hong_Kong_Telecom.rst -share/apps/kppp/Rules/Hungary/Local.rst -share/apps/kppp/Rules/Hungary/LocalTop_MATAV.rst -share/apps/kppp/Rules/Hungary/Local_MATAV.rst -share/apps/kppp/Rules/Hungary/PapaTel.rst -share/apps/kppp/Rules/Iceland/Iceland_general.rst -share/apps/kppp/Rules/India/BSNL_Local.rst -share/apps/kppp/Rules/India/BSNL_Long_101_To_200.rst -share/apps/kppp/Rules/India/BSNL_Medium_51_To_100.rst -share/apps/kppp/Rules/India/Vsnl_local.rst -share/apps/kppp/Rules/Indonesia/Lokal_1_Metropolitan.rst -share/apps/kppp/Rules/Indonesia/Lokal_2_Metropolitan.rst -share/apps/kppp/Rules/Indonesia/Lokal_non_metropolitan.rst -share/apps/kppp/Rules/Ireland/Eircom_Internet.rst -share/apps/kppp/Rules/Ireland/Eircom_Local.rst -share/apps/kppp/Rules/Ireland/Eircom_National.rst -share/apps/kppp/Rules/Ireland/Eircom_Special.rst -share/apps/kppp/Rules/Israel/Bezeq_Interurban.rst -share/apps/kppp/Rules/Israel/Bezeq_Local.rst -share/apps/kppp/Rules/Italy/Atlanet.rst -share/apps/kppp/Rules/Italy/Cheapnet.rst -share/apps/kppp/Rules/Italy/Infostrada_Internet_SpZero.rst -share/apps/kppp/Rules/Italy/Infostrada_Libero1055_Base.rst -share/apps/kppp/Rules/Italy/Infostrada_Libero1055_SpZero.rst -share/apps/kppp/Rules/Italy/Infostrada_Loc_Reg_Naz_SpZero.rst -share/apps/kppp/Rules/Italy/Infostrada_Locali_Base.rst -share/apps/kppp/Rules/Italy/Infostrada_Reg_Naz_Base.rst -share/apps/kppp/Rules/Italy/Tele2_Altri_ISP.rst -share/apps/kppp/Rules/Italy/Tele2_Internet_Tele2.rst -share/apps/kppp/Rules/Italy/Telecom_Interurbane_Fino15Km.rst -share/apps/kppp/Rules/Italy/Telecom_Interurbane_Oltre15Km.rst -share/apps/kppp/Rules/Italy/Telecom_Locali.rst -share/apps/kppp/Rules/Italy/Teleconomy24_Internet.rst -share/apps/kppp/Rules/Italy/Teleconomy24_Nazionali.rst -share/apps/kppp/Rules/Italy/Teleconomy_NoStop_Internet.rst -share/apps/kppp/Rules/Italy/Wind_24ore_Internet_AltriISP.rst -share/apps/kppp/Rules/Italy/Wind_24ore_Internet_InWind.rst -share/apps/kppp/Rules/Italy/Wind_24ore_Interurbane.rst -share/apps/kppp/Rules/Italy/Wind_24ore_Urbane.rst -share/apps/kppp/Rules/Italy/Wind_Family+SuperLight_Internet_InWind.rst -share/apps/kppp/Rules/Italy/Wind_Family+SuperLight_Urbane_Interurbane.rst -share/apps/kppp/Rules/Italy/Wind_Family_Internet_AltriISP.rst -share/apps/kppp/Rules/Italy/Wind_Family_Internet_InWind.rst -share/apps/kppp/Rules/Italy/Wind_Family_Interurbane.rst -share/apps/kppp/Rules/Italy/Wind_Family_Urbane.rst -share/apps/kppp/Rules/Italy/Wind_Flat_Internet_AltriISP.rst -share/apps/kppp/Rules/Italy/Wind_Flat_Internet_InWind.rst -share/apps/kppp/Rules/Italy/Wind_Urbana_1088_Light.rst -share/apps/kppp/Rules/Jamaica/CWJ_InterParish.rst -share/apps/kppp/Rules/Jamaica/CWJ_Local.rst -share/apps/kppp/Rules/Japan/NTT_Local.rst -share/apps/kppp/Rules/Kazakhstan/Akparat_Sprint.rst -share/apps/kppp/Rules/Luxembourg/CMD_InternetGratuit.rst -share/apps/kppp/Rules/Luxembourg/LuxembourgOnline_FreeInternet.rst -share/apps/kppp/Rules/Luxembourg/PetT_ClassicSurf.rst -share/apps/kppp/Rules/Luxembourg/PetT_KioskSurf.rst -share/apps/kppp/Rules/Macedonia/Macedonia_GenericISP_interurban.rst -share/apps/kppp/Rules/Macedonia/Macedonia_GenericISP_local.rst -share/apps/kppp/Rules/Macedonia/Macedonia_MTnet.rst -share/apps/kppp/Rules/Malaysia/TMNet_Jaring.rst -share/apps/kppp/Rules/Malaysia/malaysia.rst -share/apps/kppp/Rules/Netherlands/12Move.rst -share/apps/kppp/Rules/Netherlands/BelBasis_Buiten_Regio.rst -share/apps/kppp/Rules/Netherlands/BelBasis_Buiten_Regio_Nummervoordeel.rst -share/apps/kppp/Rules/Netherlands/BelBasis_Regio.rst -share/apps/kppp/Rules/Netherlands/BelBasis_Regio_Nummervoordeel.rst -share/apps/kppp/Rules/Netherlands/BelBudget_Buiten_Regio.rst -share/apps/kppp/Rules/Netherlands/BelBudget_Regio.rst -share/apps/kppp/Rules/Netherlands/BelPlus_Buiten_Regio.rst -share/apps/kppp/Rules/Netherlands/BelPlus_Regio.rst -share/apps/kppp/Rules/Netherlands/BelPlus_Regio_Nummervoordeel.rst -share/apps/kppp/Rules/Netherlands/Cistron -share/apps/kppp/Rules/Netherlands/Freeler_Basis.rst -share/apps/kppp/Rules/Netherlands/Freeler_Voordelig.rst -share/apps/kppp/Rules/Netherlands/HetNet_Regelmatig_Surfen.rst -share/apps/kppp/Rules/Netherlands/InterNLnet.rst -share/apps/kppp/Rules/Netherlands/OneTel_Spaarstand_Buiten_Regio.rst -share/apps/kppp/Rules/Netherlands/OneTel_Spaarstand_Regio.rst -share/apps/kppp/Rules/Netherlands/OneTel_Toets_1658_Buiten_Regio.rst -share/apps/kppp/Rules/Netherlands/OneTel_Toets_1658_Regio.rst -share/apps/kppp/Rules/Netherlands/Planet_Internet.rst -share/apps/kppp/Rules/Netherlands/Priority_Telecom_Nationaal.rst -share/apps/kppp/Rules/Netherlands/Priority_Telecom_Regionaal.rst -share/apps/kppp/Rules/Netherlands/Tele2_Extra_Buiten_Regio.rst -share/apps/kppp/Rules/Netherlands/Tele2_Extra_Regio.rst -share/apps/kppp/Rules/Netherlands/Tele2_Preselect_Buiten_Regio.rst -share/apps/kppp/Rules/Netherlands/Tele2_Preselect_Regio.rst -share/apps/kppp/Rules/Netherlands/Tele2_Toets_1609_Buiten_Regio.rst -share/apps/kppp/Rules/Netherlands/Tele2_Toets_1609_Regio.rst -share/apps/kppp/Rules/Netherlands/Wannadoo_Budget_Plus -share/apps/kppp/Rules/Norway/Local_Area.rst -share/apps/kppp/Rules/Norway/Long_Distance.rst -share/apps/kppp/Rules/Norway/Netcom.rst -share/apps/kppp/Rules/Poland/Internetia.rst -share/apps/kppp/Rules/Poland/Netia_100km_Niebieska.rst -share/apps/kppp/Rules/Poland/Netia_100km_Zielona.rst -share/apps/kppp/Rules/Poland/Netia_Lokalne_Niebieska.rst -share/apps/kppp/Rules/Poland/Netia_Lokalne_Zielona.rst -share/apps/kppp/Rules/Poland/TPSA.rst -share/apps/kppp/Rules/Poland/TP_100km.rst -share/apps/kppp/Rules/Poland/TP_Lokalne.rst -share/apps/kppp/Rules/Portugal/PT_Local.rst -share/apps/kppp/Rules/Portugal/PT_Local_Ilhas.rst -share/apps/kppp/Rules/Portugal/PT_Regional.rst -share/apps/kppp/Rules/Portugal/PT_Regional_Ilhas.rst -share/apps/kppp/Rules/Portugal/PT_YesNET.rst -share/apps/kppp/Rules/Portugal/PT_YesNET_Ilhas.rst -share/apps/kppp/Rules/Romania/Easynet.rst -share/apps/kppp/Rules/Romania/RomTelecom_GSM.rst -share/apps/kppp/Rules/Romania/Romtelecom_Acces_Special_Internet.rst -share/apps/kppp/Rules/Romania/Romtelecom_Interjudetean.rst -share/apps/kppp/Rules/Romania/Romtelecom_Local.rst -share/apps/kppp/Rules/Romania/Zapp-Mobile.rst -share/apps/kppp/Rules/Russia/TEMPLATE.ru -share/apps/kppp/Rules/Russia/mtu-intel_standart.rst -share/apps/kppp/Rules/Singapore/SingTel_Local.rst -share/apps/kppp/Rules/Slovakia/Internetovy_tarif_019XY.rst -share/apps/kppp/Rules/Slovakia/ST_medzimesto.rst -share/apps/kppp/Rules/Slovakia/ST_mesto.rst -share/apps/kppp/Rules/Slovenia/omrezje_0880.rst -share/apps/kppp/Rules/Slovenia/omrezje_0889.rst -share/apps/kppp/Rules/Slovenia/stacionarno_omrezje.rst -share/apps/kppp/Rules/South_Africa/South_Africa_local.rst -share/apps/kppp/Rules/South_Africa/South_Africa_long_distance.rst -share/apps/kppp/Rules/South_Afrika/South_Afrika.rst -share/apps/kppp/Rules/South_Afrika/South_Afrika_Justin.rst -share/apps/kppp/Rules/Spain/Infovia.rst -share/apps/kppp/Rules/Spain/Infovia_IVA.rst -share/apps/kppp/Rules/Spain/Telefonica_Interprovincial.rst -share/apps/kppp/Rules/Spain/Telefonica_Interprovincial_IVA.rst -share/apps/kppp/Rules/Spain/Telefonica_Local.rst -share/apps/kppp/Rules/Spain/Telefonica_Metropolitana.rst -share/apps/kppp/Rules/Spain/Telefonica_Metropolitana_IVA.rst -share/apps/kppp/Rules/Spain/Telefonica_Nacional.rst -share/apps/kppp/Rules/Spain/Telefonica_Provincial.rst -share/apps/kppp/Rules/Spain/Telefonica_Provincial_IVA.rst -share/apps/kppp/Rules/Sweden/ACN.rst -share/apps/kppp/Rules/Sweden/Abonnera_com.rst -share/apps/kppp/Rules/Sweden/CNEAB-Route66.rst -share/apps/kppp/Rules/Sweden/Crossnet-Affinity.rst -share/apps/kppp/Rules/Sweden/Glocalnet.rst -share/apps/kppp/Rules/Sweden/Gts.rst -share/apps/kppp/Rules/Sweden/Home_se.rst -share/apps/kppp/Rules/Sweden/Nemtel.rst -share/apps/kppp/Rules/Sweden/Plusenergi.rst -share/apps/kppp/Rules/Sweden/RSLCom.rst -share/apps/kppp/Rules/Sweden/Rix_Telecom.rst -share/apps/kppp/Rules/Sweden/Supertel.rst -share/apps/kppp/Rules/Sweden/Svensk_Telekom.rst -share/apps/kppp/Rules/Sweden/Tele1_Europe.rst -share/apps/kppp/Rules/Sweden/Tele2.rst -share/apps/kppp/Rules/Sweden/Tele8.rst -share/apps/kppp/Rules/Sweden/Teleman.rst -share/apps/kppp/Rules/Sweden/Telenordia.rst -share/apps/kppp/Rules/Sweden/Telerian.rst -share/apps/kppp/Rules/Sweden/Telia.rst -share/apps/kppp/Rules/Sweden/Telia_Telebonus1.rst -share/apps/kppp/Rules/Sweden/Telia_Telebonus2.rst -share/apps/kppp/Rules/Sweden/Telitel.rst -share/apps/kppp/Rules/Sweden/Tiscali.rst -share/apps/kppp/Rules/Sweden/Transnet.rst -share/apps/kppp/Rules/Sweden/Universal_Telecom.rst -share/apps/kppp/Rules/Sweden/Utfors.rst -share/apps/kppp/Rules/Sweden/Vattenfall.rst -share/apps/kppp/Rules/Switzerland/Sunrise_Freetime.rst -share/apps/kppp/Rules/Switzerland/Sunrise_Local.rst -share/apps/kppp/Rules/Switzerland/Sunrise_Select_Internet.rst -share/apps/kppp/Rules/Switzerland/Swisscom_Local.rst -share/apps/kppp/Rules/Switzerland/Swisscom_Remote.rst -share/apps/kppp/Rules/Switzerland/Swisscom_Surf.rst -share/apps/kppp/Rules/TEMPLATE -share/apps/kppp/Rules/Turkey/Turk_Telekom_Internet.rst -share/apps/kppp/Rules/Ukraine/IPTelecom_hourly.rst -share/apps/kppp/Rules/Ukraine/NuVse_hourly.rst -share/apps/kppp/Rules/Ukraine/TEMPLATE.uk -share/apps/kppp/Rules/Ukraine/Utel_Unet.rst -share/apps/kppp/Rules/United_Kingdom/BirminghamCable_Local.rst -share/apps/kppp/Rules/United_Kingdom/BirminghamCable_National.rst -share/apps/kppp/Rules/United_Kingdom/BirminghamCable_SameTelco.rst -share/apps/kppp/Rules/United_Kingdom/BritishTelecom_Local.rst -share/apps/kppp/Rules/United_Kingdom/BritishTelecom_National.rst -share/apps/kppp/Rules/United_Kingdom/BritishTelecom_Regional.rst -share/apps/kppp/Rules/United_Kingdom/British_OneTel.rst -share/apps/kppp/Rules/United_Kingdom/Connaught_Telecom.rst -share/apps/kppp/Rules/Uruguay/Adinet_cIVA.rst -share/apps/kppp/Rules/Yugoslavia/041_1xx_xxx.rst -share/apps/kppp/Rules/Yugoslavia/041_2xx_xxx.rst -share/apps/kppp/Rules/Yugoslavia/041_3xx_xxx.rst -share/apps/kppp/Rules/Yugoslavia/041_4xx_xxx.rst -share/apps/kppp/Rules/Yugoslavia/041_5xx_xxx.rst -share/apps/kppp/Rules/Yugoslavia/041_9xx_xxx.rst -share/apps/kppp/Rules/Yugoslavia/III_zona-preko_200km.rst -share/apps/kppp/Rules/Yugoslavia/II_zona-do_200km.rst -share/apps/kppp/Rules/Yugoslavia/I_zona-ista_mreza.rst -share/apps/kppp/Rules/Yugoslavia/Lokalni_poziv.rst -share/apps/kppp/Rules/checkrules -share/apps/kppp/pics/dock_both.png -share/apps/kppp/pics/dock_left.png -share/apps/kppp/pics/dock_none.png -share/apps/kppp/pics/dock_right.png -share/apps/kppp/pics/folder.png -share/apps/kppp/pics/modemboth.png -share/apps/kppp/pics/modemleft.png -share/apps/kppp/pics/modemnone.png -share/apps/kppp/pics/modemright.png -share/apps/kppp/pics/phone.png -share/apps/krdc/pics/close.png -share/apps/krdc/pics/iconify.png -share/apps/krdc/pics/pindown.png -share/apps/krdc/pics/pinup.png -share/apps/krdc/pics/pointcursor.png -share/apps/krdc/pics/pointcursormask.png -share/apps/krfb/eventsrc -share/apps/krfb/pics/connection-side-image.png -share/apps/krfb/pics/eyes-closed24.png -share/apps/krfb/pics/eyes-open24.png -share/apps/ksirc/autodcc.pl -share/apps/ksirc/eventsrc -share/apps/ksirc/filters.pl -share/apps/ksirc/icons/crystalsvg/22x22/actions/info.png -share/apps/ksirc/icons/crystalsvg/22x22/actions/ksirc_dock.png -share/apps/ksirc/icons/hicolor/16x16/apps/ksirc.png -share/apps/ksirc/icons/hicolor/22x22/apps/ksirc.png -share/apps/ksirc/icons/hicolor/32x32/apps/ksirc.png -share/apps/ksirc/icons/hicolor/48x48/apps/ksirc.png -share/apps/ksirc/icons/hicolor/64x64/apps/ksirc.png -share/apps/ksirc/ksirc.pl -share/apps/ksirc/pics/X.png -share/apps/ksirc/pics/action.png -share/apps/ksirc/pics/arrow.png -share/apps/ksirc/pics/blueball.png -share/apps/ksirc/pics/bluepin.png -share/apps/ksirc/pics/bminus.png -share/apps/ksirc/pics/bplus.png -share/apps/ksirc/pics/channel.xpm -share/apps/ksirc/pics/channels.xpm -share/apps/ksirc/pics/ctcpping.png -share/apps/ksirc/pics/dcc.png -share/apps/ksirc/pics/dccget.png -share/apps/ksirc/pics/dccsend.png -share/apps/ksirc/pics/elipsis.png -share/apps/ksirc/pics/emoticons/biggrin.png -share/apps/ksirc/pics/emoticons/clown.png -share/apps/ksirc/pics/emoticons/cry.png -share/apps/ksirc/pics/emoticons/devil.png -share/apps/ksirc/pics/emoticons/frown.png -share/apps/ksirc/pics/emoticons/heart.png -share/apps/ksirc/pics/emoticons/loveit.png -share/apps/ksirc/pics/emoticons/puh.png -share/apps/ksirc/pics/emoticons/puh2.png -share/apps/ksirc/pics/emoticons/redface.png -share/apps/ksirc/pics/emoticons/sadley.png -share/apps/ksirc/pics/emoticons/slime.png -share/apps/ksirc/pics/emoticons/smile.png -share/apps/ksirc/pics/emoticons/wink.png -share/apps/ksirc/pics/emoticons/yummie.png -share/apps/ksirc/pics/error.png -share/apps/ksirc/pics/greenpin.png -share/apps/ksirc/pics/info.png -share/apps/ksirc/pics/info1.png -share/apps/ksirc/pics/join.png -share/apps/ksirc/pics/kick.png -share/apps/ksirc/pics/ksirc.png -share/apps/ksirc/pics/ksirc_a.xpm -share/apps/ksirc/pics/ksirc_b.xpm -share/apps/ksirc/pics/madsmiley.png -share/apps/ksirc/pics/mdi.png -share/apps/ksirc/pics/mini-run.png -share/apps/ksirc/pics/minus.png -share/apps/ksirc/pics/mode.png -share/apps/ksirc/pics/notice.png -share/apps/ksirc/pics/ominus.png -share/apps/ksirc/pics/oplus.png -share/apps/ksirc/pics/part.png -share/apps/ksirc/pics/plus.png -share/apps/ksirc/pics/quit.png -share/apps/ksirc/pics/sadsmiley.png -share/apps/ksirc/pics/sdi.png -share/apps/ksirc/pics/server.xpm -share/apps/ksirc/pics/servinfo.png -share/apps/ksirc/pics/smiley.png -share/apps/ksirc/pics/star.png -share/apps/ksirc/pics/topic.png -share/apps/ksirc/relnotes -share/apps/ksirc/servers.ini -share/apps/ksirc/servers.txt -share/apps/ksirc/sirc.help.gz -share/apps/remoteview/zeroconf.desktop -share/apps/zeroconf/_ftp._tcp -share/apps/zeroconf/_http._tcp -share/apps/zeroconf/_ldap._tcp -share/apps/zeroconf/_nfs._tcp -share/apps/zeroconf/_rfb._tcp -share/apps/zeroconf/_ssh._tcp -share/apps/zeroconf/_webdav._tcp -share/config/ksircrc -share/config/ktalkdrc -share/doc/HTML/en/kcontrol/kcmtalkd/common -share/doc/HTML/en/kcontrol/kcmtalkd/index.cache.bz2 -share/doc/HTML/en/kcontrol/kcmtalkd/index.docbook -share/doc/HTML/en/kcontrol/lanbrowser/common -share/doc/HTML/en/kcontrol/lanbrowser/index.cache.bz2 -share/doc/HTML/en/kcontrol/lanbrowser/index.docbook -share/doc/HTML/en/kdict/applet.png -share/doc/HTML/en/kdict/common -share/doc/HTML/en/kdict/conf.png -share/doc/HTML/en/kdict/index.cache.bz2 -share/doc/HTML/en/kdict/index.docbook -share/doc/HTML/en/kdict/mainwin.png -share/doc/HTML/en/kdict/seteditor.png -share/doc/HTML/en/kget/common -share/doc/HTML/en/kget/fileopen.png -share/doc/HTML/en/kget/index.cache.bz2 -share/doc/HTML/en/kget/index.docbook -share/doc/HTML/en/kget/kget1.png -share/doc/HTML/en/kget/kget2.png -share/doc/HTML/en/kget/kget3.png -share/doc/HTML/en/kget/kget4.png -share/doc/HTML/en/kget/kget5.png -share/doc/HTML/en/knewsticker/TODO -share/doc/HTML/en/knewsticker/about-icon.png -share/doc/HTML/en/knewsticker/checknews-icon.png -share/doc/HTML/en/knewsticker/common -share/doc/HTML/en/knewsticker/contextmenu.png -share/doc/HTML/en/knewsticker/help-icon.png -share/doc/HTML/en/knewsticker/index.cache.bz2 -share/doc/HTML/en/knewsticker/index.docbook -share/doc/HTML/en/knewsticker/kcmnewsticker-filters.png -share/doc/HTML/en/knewsticker/kcmnewsticker-general.png -share/doc/HTML/en/knewsticker/kcmnewsticker-newssitedialog.png -share/doc/HTML/en/knewsticker/kcmnewsticker-newssources.png -share/doc/HTML/en/knewsticker/kcmnewsticker-scrollerprefs.png -share/doc/HTML/en/knewsticker/kcontrol-icon.png -share/doc/HTML/en/knewsticker/knewsticker-childpanel.png -share/doc/HTML/en/knewsticker/knewsticker-icon.png -share/doc/HTML/en/knewsticker/knewsticker-kicker.png -share/doc/HTML/en/knewsticker/knewsticker-ownwindow.png -share/doc/HTML/en/knewsticker/newarticle-icon.png -share/doc/HTML/en/knewsticker/newssite-icon.png -share/doc/HTML/en/knewsticker/oldarticle-icon.png -share/doc/HTML/en/knewsticker/preferences-icon.png -share/doc/HTML/en/kopete/chatstyle.docbook -share/doc/HTML/en/kopete/common -share/doc/HTML/en/kopete/index.cache.bz2 -share/doc/HTML/en/kopete/index.docbook -share/doc/HTML/en/kopete/menus.docbook -share/doc/HTML/en/kpf/common -share/doc/HTML/en/kpf/index.cache.bz2 -share/doc/HTML/en/kpf/index.docbook -share/doc/HTML/en/kppp/accounting.docbook -share/doc/HTML/en/kppp/callback.docbook -share/doc/HTML/en/kppp/chap.docbook -share/doc/HTML/en/kppp/common -share/doc/HTML/en/kppp/costsgraphs.fig -share/doc/HTML/en/kppp/costsgraphs.png -share/doc/HTML/en/kppp/dialog-setup.docbook -share/doc/HTML/en/kppp/getting-online.docbook -share/doc/HTML/en/kppp/global-settings.docbook -share/doc/HTML/en/kppp/hayes.docbook -share/doc/HTML/en/kppp/index.cache.bz2 -share/doc/HTML/en/kppp/index.docbook -share/doc/HTML/en/kppp/kppp-account-accounting-tab.png -share/doc/HTML/en/kppp/kppp-account-dial-tab.png -share/doc/HTML/en/kppp/kppp-account-dns-tab.png -share/doc/HTML/en/kppp/kppp-account-execute-tab.png -share/doc/HTML/en/kppp/kppp-account-gateway-tab.png -share/doc/HTML/en/kppp/kppp-account-ip-tab.png -share/doc/HTML/en/kppp/kppp-account-login-script-tab.png -share/doc/HTML/en/kppp/kppp-config.png -share/doc/HTML/en/kppp/kppp-device-tab.png -share/doc/HTML/en/kppp/kppp-dialler-tab.png -share/doc/HTML/en/kppp/kppp-faq.docbook -share/doc/HTML/en/kppp/kppp-graph-tab.png -share/doc/HTML/en/kppp/kppp-misc-tab.png -share/doc/HTML/en/kppp/kppp-modem-tab.png -share/doc/HTML/en/kppp/kppp-wizard.png -share/doc/HTML/en/kppp/kppp.faq.question -share/doc/HTML/en/kppp/security.docbook -share/doc/HTML/en/kppp/tricks.docbook -share/doc/HTML/en/kppp/ttyS-cua.txt -share/doc/HTML/en/kppp/wizard.docbook -share/doc/HTML/en/krdc/authentication.eps -share/doc/HTML/en/krdc/authentication.png -share/doc/HTML/en/krdc/close.png -share/doc/HTML/en/krdc/common -share/doc/HTML/en/krdc/index.cache.bz2 -share/doc/HTML/en/krdc/index.docbook -share/doc/HTML/en/krdc/krdc_window.eps -share/doc/HTML/en/krdc/krdc_window.png -share/doc/HTML/en/krdc/preferences_profilestab.eps -share/doc/HTML/en/krdc/preferences_profilestab.png -share/doc/HTML/en/krdc/preferences_rdpdefaultstab.eps -share/doc/HTML/en/krdc/preferences_rdpdefaultstab.png -share/doc/HTML/en/krdc/preferences_vncdefaultstab.eps -share/doc/HTML/en/krdc/preferences_vncdefaultstab.png -share/doc/HTML/en/krdc/snapshot.eps -share/doc/HTML/en/krdc/snapshot.png -share/doc/HTML/en/krdc/snapshot_connectionspeed.eps -share/doc/HTML/en/krdc/snapshot_connectionspeed.png -share/doc/HTML/en/krdc/snapshot_nobrowse.eps -share/doc/HTML/en/krdc/snapshot_nobrowse.png -share/doc/HTML/en/krdc/snapshot_vncentry.eps -share/doc/HTML/en/krdc/snapshot_vncentry.png -share/doc/HTML/en/krdc/window_fullscreen.png -share/doc/HTML/en/krdc/window_nofullscreen.png -share/doc/HTML/en/krfb/common -share/doc/HTML/en/krfb/configuration_access.eps -share/doc/HTML/en/krfb/configuration_access.png -share/doc/HTML/en/krfb/configuration_network.eps -share/doc/HTML/en/krfb/configuration_network.png -share/doc/HTML/en/krfb/configuration_session.eps -share/doc/HTML/en/krfb/configuration_session.png -share/doc/HTML/en/krfb/connection.eps -share/doc/HTML/en/krfb/connection.png -share/doc/HTML/en/krfb/email_invitation.eps -share/doc/HTML/en/krfb/email_invitation.png -share/doc/HTML/en/krfb/index.cache.bz2 -share/doc/HTML/en/krfb/index.docbook -share/doc/HTML/en/krfb/invitation_management.eps -share/doc/HTML/en/krfb/invitation_management.png -share/doc/HTML/en/krfb/personal_invitation.eps -share/doc/HTML/en/krfb/personal_invitation.png -share/doc/HTML/en/krfb/screenshot.eps -share/doc/HTML/en/krfb/screenshot.png -share/doc/HTML/en/ksirc/common -share/doc/HTML/en/ksirc/index.cache.bz2 -share/doc/HTML/en/ksirc/index.docbook -share/doc/HTML/en/ktalkd/common -share/doc/HTML/en/ktalkd/index.cache.bz2 -share/doc/HTML/en/ktalkd/index.docbook -share/doc/HTML/en/kwifimanager/common -share/doc/HTML/en/kwifimanager/index.cache.bz2 -share/doc/HTML/en/kwifimanager/index.docbook -share/icons/crystalsvg/128x128/apps/ktalkd.png -share/icons/crystalsvg/16x16/apps/kget.png -share/icons/crystalsvg/16x16/apps/kpf.png -share/icons/crystalsvg/16x16/apps/krfb.png -share/icons/crystalsvg/16x16/apps/ktalkd.png -share/icons/crystalsvg/16x16/mimetypes/kget_list.png -share/icons/crystalsvg/22x22/actions/khtml_kget.png -share/icons/crystalsvg/22x22/apps/kget.png -share/icons/crystalsvg/22x22/apps/ktalkd.png -share/icons/crystalsvg/22x22/mimetypes/kget_list.png -share/icons/crystalsvg/32x32/apps/kget.png -share/icons/crystalsvg/32x32/apps/kpf.png -share/icons/crystalsvg/32x32/apps/krdc.png -share/icons/crystalsvg/32x32/apps/krfb.png -share/icons/crystalsvg/32x32/apps/ktalkd.png -share/icons/crystalsvg/32x32/mimetypes/kget_list.png -share/icons/crystalsvg/48x48/apps/kget.png -share/icons/crystalsvg/48x48/apps/kpf.png -share/icons/crystalsvg/48x48/apps/krdc.png -share/icons/crystalsvg/48x48/apps/krfb.png -share/icons/crystalsvg/48x48/apps/ktalkd.png -share/icons/crystalsvg/48x48/mimetypes/kget_list.png -share/icons/hicolor/128x128/apps/kdict.png -share/icons/hicolor/128x128/apps/kppp.png -share/icons/hicolor/16x16/apps/kdict.png -share/icons/hicolor/16x16/apps/knewsticker.png -share/icons/hicolor/16x16/apps/kppp.png -share/icons/hicolor/16x16/apps/ksirc.png -share/icons/hicolor/22x22/apps/kppp.png -share/icons/hicolor/22x22/apps/ksirc.png -share/icons/hicolor/32x32/apps/kdict.png -share/icons/hicolor/32x32/apps/knewsticker.png -share/icons/hicolor/32x32/apps/kppp.png -share/icons/hicolor/32x32/apps/ksirc.png -share/icons/hicolor/48x48/apps/kdict.png -share/icons/hicolor/48x48/apps/knewsticker.png -share/icons/hicolor/48x48/apps/kppp.png -share/icons/hicolor/48x48/apps/ksirc.png -share/icons/hicolor/64x64/apps/kdict.png -share/icons/hicolor/64x64/apps/kppp.png -share/icons/hicolor/64x64/apps/ksirc.png -share/icons/hicolor/scalable/apps/kdict.svgz -share/icons/locolor/16x16/apps/krfb.png -share/icons/locolor/32x32/apps/krfb.png -share/mimelnk/application/x-kgetlist.desktop -share/services/invitation.protocol -share/services/kded/dnssdwatcher.desktop -share/services/kded/kinetd.desktop -share/services/kfile_torrent.desktop -share/services/kinetd_krfb.desktop -share/services/kinetd_krfb_httpd.desktop -share/services/kntsrcfilepropsdlg.desktop -share/services/kpfpropertiesdialogplugin.desktop -share/services/rdp.protocol -share/services/rssservice.desktop -share/services/vnc.protocol -share/services/zeroconf.protocol -share/servicetypes/kinetdmodule.desktop -share/sounds/KGet_Added.ogg -share/sounds/KGet_Finished.ogg -share/sounds/KGet_Finished_All.ogg -share/sounds/KGet_Started.ogg -share/sounds/ktalkd.wav -@dirrm share/doc/HTML/en/kwifimanager -@dirrm share/doc/HTML/en/ktalkd -@dirrm share/doc/HTML/en/ksirc -@dirrm share/doc/HTML/en/krfb -@dirrm share/doc/HTML/en/krdc -@dirrm share/doc/HTML/en/kppp -@dirrm share/doc/HTML/en/kpf -@dirrm share/doc/HTML/en/kopete -@dirrm share/doc/HTML/en/knewsticker -@dirrm share/doc/HTML/en/kget -@dirrm share/doc/HTML/en/kdict -@dirrm share/doc/HTML/en/kcontrol/lanbrowser -@dirrm share/doc/HTML/en/kcontrol/kcmtalkd -@dirrm share/apps/remoteview -@dirrm share/apps/ksirc/pics/emoticons -@dirrm share/apps/ksirc/pics -@dirrm share/apps/ksirc/icons/hicolor/64x64/apps -@dirrm share/apps/ksirc/icons/hicolor/64x64 -@dirrm share/apps/ksirc/icons/hicolor/48x48/apps -@dirrm share/apps/ksirc/icons/hicolor/48x48 -@dirrm share/apps/ksirc/icons/hicolor/32x32/apps -@dirrm share/apps/ksirc/icons/hicolor/32x32 -@dirrm share/apps/ksirc/icons/hicolor/22x22/apps -@dirrm share/apps/ksirc/icons/hicolor/22x22 -@dirrm share/apps/ksirc/icons/hicolor/16x16/apps -@dirrm share/apps/ksirc/icons/hicolor/16x16 -@dirrm share/apps/ksirc/icons/hicolor -@dirrm share/apps/ksirc/icons/crystalsvg/22x22/actions -@dirrm share/apps/ksirc/icons/crystalsvg/22x22 -@dirrm share/apps/ksirc/icons/crystalsvg -@dirrm share/apps/ksirc/icons -@dirrm share/apps/ksirc -@dirrm share/apps/krfb/pics -@dirrm share/apps/krfb -@dirrm share/apps/krdc/pics -@dirrm share/apps/krdc -@dirrm share/apps/kppp/pics -@dirrm share/apps/kppp/Rules/Yugoslavia -@dirrm share/apps/kppp/Rules/Uruguay -@dirrm share/apps/kppp/Rules/United_Kingdom -@dirrm share/apps/kppp/Rules/Ukraine -@dirrm share/apps/kppp/Rules/Turkey -@dirrm share/apps/kppp/Rules/Switzerland -@dirrm share/apps/kppp/Rules/Sweden -@dirrm share/apps/kppp/Rules/Spain -@dirrm share/apps/kppp/Rules/South_Afrika -@dirrm share/apps/kppp/Rules/South_Africa -@dirrm share/apps/kppp/Rules/Slovenia -@dirrm share/apps/kppp/Rules/Slovakia -@dirrm share/apps/kppp/Rules/Singapore -@dirrm share/apps/kppp/Rules/Russia -@dirrm share/apps/kppp/Rules/Romania -@dirrm share/apps/kppp/Rules/Portugal -@dirrm share/apps/kppp/Rules/Poland -@dirrm share/apps/kppp/Rules/Norway -@dirrm share/apps/kppp/Rules/Netherlands -@dirrm share/apps/kppp/Rules/Malaysia -@dirrm share/apps/kppp/Rules/Macedonia -@dirrm share/apps/kppp/Rules/Luxembourg -@dirrm share/apps/kppp/Rules/Kazakhstan -@dirrm share/apps/kppp/Rules/Japan -@dirrm share/apps/kppp/Rules/Jamaica -@dirrm share/apps/kppp/Rules/Italy -@dirrm share/apps/kppp/Rules/Israel -@dirrm share/apps/kppp/Rules/Ireland -@dirrm share/apps/kppp/Rules/Indonesia -@dirrm share/apps/kppp/Rules/India -@dirrm share/apps/kppp/Rules/Iceland -@dirrm share/apps/kppp/Rules/Hungary -@dirrm share/apps/kppp/Rules/Hong_Kong -@dirrm share/apps/kppp/Rules/Greece -@dirrm share/apps/kppp/Rules/Germany -@dirrm share/apps/kppp/Rules/France -@dirrm share/apps/kppp/Rules/Finland -@dirrm share/apps/kppp/Rules/Estonia -@dirrm share/apps/kppp/Rules/Denmark -@dirrm share/apps/kppp/Rules/Czechia -@dirrm share/apps/kppp/Rules/Croatia -@dirrm share/apps/kppp/Rules/Brasil -@dirrm share/apps/kppp/Rules/Bosnia_and_Herzegovina -@dirrm share/apps/kppp/Rules/Belgium -@dirrm share/apps/kppp/Rules/Bangladesh -@dirrm share/apps/kppp/Rules/Austria/Standard -@dirrm share/apps/kppp/Rules/Austria/Minimum -@dirrm share/apps/kppp/Rules/Austria/Business_2 -@dirrm share/apps/kppp/Rules/Austria/Business_1 -@dirrm share/apps/kppp/Rules/Austria -@dirrm share/apps/kppp/Rules/Australia -@dirrm share/apps/kppp/Rules/Argentina -@dirrm share/apps/kppp/Rules -@dirrm share/apps/kppp/Provider/Yugoslavia -@dirrm share/apps/kppp/Provider/United_Kingdom -@dirrm share/apps/kppp/Provider/Ukraine -@dirrm share/apps/kppp/Provider/Taiwan -@dirrm share/apps/kppp/Provider/Switzerland -@dirrm share/apps/kppp/Provider/Sweden -@dirrm share/apps/kppp/Provider/Slovenia -@dirrm share/apps/kppp/Provider/Portugal -@dirrm share/apps/kppp/Provider/Norway -@dirrm share/apps/kppp/Provider/NewZealand -@dirrm share/apps/kppp/Provider/Netherlands -@dirrm share/apps/kppp/Provider/Irland -@dirrm share/apps/kppp/Provider/Germany -@dirrm share/apps/kppp/Provider/France -@dirrm share/apps/kppp/Provider/Denmark -@dirrm share/apps/kppp/Provider/Czech_Republic -@dirrm share/apps/kppp/Provider/Belarus -@dirrm share/apps/kppp/Provider/Austria -@dirrm share/apps/kppp/Provider -@dirrm share/apps/kppp -@dirrm share/apps/knewsticker -@dirrm share/apps/kinetd -@dirrm share/apps/khtml/kpartplugins -@dirrm share/apps/kget/pics -@dirrm share/apps/kget/icons/crystalsvg/22x22/actions -@dirrm share/apps/kget/icons/crystalsvg/22x22 -@dirrm share/apps/kget/icons/crystalsvg -@dirrm share/apps/kget/icons -@dirrm share/apps/kget -@dirrm share/apps/kdict/icons/crystalsvg/32x32/actions -@dirrm share/apps/kdict/icons/crystalsvg/32x32 -@dirrm share/apps/kdict/icons/crystalsvg/22x22/actions -@dirrm share/apps/kdict/icons/crystalsvg/22x22 -@dirrm share/apps/kdict/icons/crystalsvg/16x16/actions -@dirrm share/apps/kdict/icons/crystalsvg/16x16 -@dirrm share/apps/kdict/icons/crystalsvg -@dirrm share/apps/kdict/icons -@dirrm share/apps/kdict -@dirrm include/rss diff --git a/net/knemo-kde4/Makefile b/net/knemo-kde4/Makefile deleted file mode 100644 index 7605a747bb24..000000000000 --- a/net/knemo-kde4/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# New ports collection makefile for: knemo -# Date created: Sat Jan 22 00:20:26 CET 2005 -# Whom: Markus Brueffer <markus@FreeBSD.org> -# -# $FreeBSD$ - -PORTNAME= knemo -PORTVERSION= 0.4.1 -CATEGORIES= net kde -MASTER_SITES= http://www.eris23.de/knemo/ - -MAINTAINER= markus@FreeBSD.org -COMMENT= Network monitor for KDE - -USE_BZIP2= yes -USE_KDELIBS_VER=3 -USE_GMAKE= yes -USE_AUTOTOOLS= libtool:15 - -post-patch: - @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT} - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net/knemo-kde4/distinfo b/net/knemo-kde4/distinfo deleted file mode 100644 index 4f0538c48338..000000000000 --- a/net/knemo-kde4/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (knemo-0.4.1.tar.bz2) = 93ee976ba6bad9a8a726f46021e5c344 -SHA256 (knemo-0.4.1.tar.bz2) = 3362e90e606bc3028dd010ad305852f3dfd7eb5b6488e0783c2db393e3f1d114 -SIZE (knemo-0.4.1.tar.bz2) = 592925 diff --git a/net/knemo-kde4/files/patch-kcm-configdialog.cpp b/net/knemo-kde4/files/patch-kcm-configdialog.cpp deleted file mode 100644 index 32a00999bf67..000000000000 --- a/net/knemo-kde4/files/patch-kcm-configdialog.cpp +++ /dev/null @@ -1,78 +0,0 @@ ---- src/kcm/configdialog.cpp.orig Sat Apr 1 21:44:21 2006 -+++ src/kcm/configdialog.cpp Sun Apr 2 19:14:11 2006 -@@ -17,6 +17,16 @@ - Boston, MA 02110-1301, USA. - */ - -+#ifdef __FreeBSD__ -+#include <sys/types.h> -+#include <sys/socket.h> -+#include <net/if.h> -+#include <net/if_mib.h> -+#include <sys/param.h> -+#include <sys/sysctl.h> -+#include <net/route.h> -+#endif -+ - #include <qfile.h> - #include <qdict.h> - #include <qlabel.h> -@@ -363,6 +373,39 @@ - void ConfigDialog::defaults() - { - // Default interfaces -+#ifdef Q_OS_FREEBSD -+ /* Determine number of interfaces */ -+ u_int n = 0; -+ size_t nlen = 0; -+ nlen = sizeof(n); -+ -+ if ( sysctlbyname("net.link.generic.system.ifcount", &n, &nlen, NULL, 0) != -1 ) -+ { -+ mSettingsDict.clear(); -+ mDlg->listBoxInterfaces->clear(); -+ -+ ifmibdata ifmd; -+ size_t len = 0; -+ len = sizeof(ifmd); -+ static int name[] = { CTL_NET, -+ PF_LINK, -+ NETLINK_GENERIC, -+ IFMIB_IFDATA, -+ 0, -+ IFDATA_GENERAL }; -+ -+ for (int i = 1; i <= n; ++i) -+ { -+ name[4] = i; -+ /* Get data for iface-number i */ -+ if ( sysctl(name, 6, (void*)&ifmd, (size_t*)&len, (void*)NULL, (size_t)0) == -1 ) -+ continue; -+ -+ QString interface = QString::fromLatin1(ifmd.ifmd_name); -+ -+ if ( ifmd.ifmd_flags & IFF_LOOPBACK) -+ continue; -+#else - QFile proc( "/proc/net/dev" ); - if ( proc.open( IO_ReadOnly ) ) - { -@@ -380,6 +423,7 @@ - if ( interface == "lo" ) - continue; - -+#endif - InterfaceSettings* settings = new InterfaceSettings(); - settings->customCommands = false; - settings->hideWhenNotAvailable = false; -@@ -401,8 +445,10 @@ - mDlg->checkBoxStatistics->setChecked( false ); - mDlg->checkBoxCustom->setChecked( false ); - } -+#ifndef __FreeBSD__ - } - proc.close(); -+#endif - } - - // Default tool tips diff --git a/net/knemo-kde4/files/patch-knemod-global.h b/net/knemo-kde4/files/patch-knemod-global.h deleted file mode 100644 index b20cda0a6a99..000000000000 --- a/net/knemo-kde4/files/patch-knemod-global.h +++ /dev/null @@ -1,35 +0,0 @@ ---- src/knemod/global.h.orig Sat Apr 1 21:44:22 2006 -+++ src/knemod/global.h Sun Apr 2 21:33:36 2006 -@@ -22,6 +22,7 @@ - - #include <qpair.h> - #include <qcolor.h> -+#include <qdict.h> - #include <qstring.h> - - /** -@@ -36,6 +37,11 @@ - int toolTipContent; - }; - -+struct AddrData { -+ QString subnetMask; -+ QString broadcastAddress; -+}; -+ - struct InterfaceData - { - InterfaceData() -@@ -59,11 +65,9 @@ - unsigned long prevTxBytes; - unsigned long incomingBytes; - unsigned long outgoingBytes; -- QString ipAddress; -- QString subnetMask; -+ QDict<AddrData> addrData; - QString hwAddress; - QString ptpAddress; -- QString broadcastAddress; - QString defaultGateway; - QString rxString; - QString txString; diff --git a/net/knemo-kde4/files/patch-knemod-interfacestatusdialog.cpp b/net/knemo-kde4/files/patch-knemod-interfacestatusdialog.cpp deleted file mode 100644 index 217998e0b9f2..000000000000 --- a/net/knemo-kde4/files/patch-knemod-interfacestatusdialog.cpp +++ /dev/null @@ -1,50 +0,0 @@ ---- src/knemod/interfacestatusdialog.cpp.orig Sat Apr 1 21:44:22 2006 -+++ src/knemod/interfacestatusdialog.cpp Sun Apr 2 21:34:55 2006 -@@ -24,6 +24,7 @@ - #include <qtabwidget.h> - - #include <kdebug.h> -+#include <kcombobox.h> - #include <kconfig.h> - #include <klocale.h> - #include <kglobal.h> -@@ -92,6 +93,10 @@ - mTimer = new QTimer(); - connect( mTimer, SIGNAL( timeout() ), this, SLOT( updateDialog() ) ); - mTimer->start( 1000 ); -+ -+#ifdef Q_OS_FREEBSD -+ connect( comboBoxIP, SIGNAL( activated(int) ), this, SLOT( updateDialog() ) ); -+#endif - } - - InterfaceStatusDialog::~InterfaceStatusDialog() -@@ -201,12 +206,28 @@ - if ( data.available ) - { - // ip tab -+#ifdef Q_OS_FREEBSD -+ if ( data.addrData.count() != comboBoxIP->count() ) -+ comboBoxIP->clear(); -+ -+ QDictIterator<AddrData> it( data.addrData ); -+ for( ; it.current(); ++it ) -+ if (!comboBoxIP->contains(it.currentKey())) -+ comboBoxIP->insertItem( it.currentKey() ); -+ -+ textLabelSubnet->setText(data.addrData[ comboBoxIP->currentText() ]->subnetMask); -+#else - textLabelIP->setText( data.ipAddress ); - textLabelSubnet->setText( data.subnetMask ); -+#endif - if ( mInterface->getType() == Interface::ETHERNET ) - { - variableLabel1->setText( i18n( "Broadcast Address:" ) ); -+#ifdef Q_OS_FREEBSD -+ variableText1->setText( data.addrData[ comboBoxIP->currentText() ]->broadcastAddress); -+#else - variableText1->setText( data.broadcastAddress ); -+#endif - variableLabel2->setText( i18n( "Default Gateway:" ) ); - variableText2->setText( data.defaultGateway ); - variableLabel3->setText( i18n( "HW-Address:" ) ); diff --git a/net/knemo-kde4/files/patch-knemod-interfacestatusdlg.ui b/net/knemo-kde4/files/patch-knemod-interfacestatusdlg.ui deleted file mode 100644 index 073ca19a3734..000000000000 --- a/net/knemo-kde4/files/patch-knemod-interfacestatusdlg.ui +++ /dev/null @@ -1,262 +0,0 @@ ---- src/knemod/interfacestatusdlg.ui.orig Sat Apr 1 21:44:22 2006 -+++ src/knemod/interfacestatusdlg.ui Sun Apr 2 21:28:01 2006 -@@ -145,7 +145,7 @@ - </property> - <widget class="QLayoutWidget"> - <property name="name"> -- <cstring>layout3</cstring> -+ <cstring>layout7</cstring> - </property> - <hbox> - <property name="name"> -@@ -171,18 +171,18 @@ - </property> - <property name="sizeHint"> - <size> -- <width>20</width> -+ <width>40</width> - <height>20</height> - </size> - </property> - </spacer> -- <widget class="KActiveLabel"> -+ <widget class="KComboBox"> - <property name="name"> -- <cstring>textLabelIP</cstring> -+ <cstring>comboBoxIP</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> -- <hsizetype>1</hsizetype> -+ <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> -@@ -193,7 +193,7 @@ - </widget> - <widget class="QLayoutWidget"> - <property name="name"> -- <cstring>layout4</cstring> -+ <cstring>layout8</cstring> - </property> - <hbox> - <property name="name"> -@@ -207,41 +207,30 @@ - <string>Subnet Mask:</string> - </property> - </widget> -- <spacer> -- <property name="name"> -- <cstring>spacer13_2</cstring> -- </property> -- <property name="orientation"> -- <enum>Horizontal</enum> -- </property> -- <property name="sizeType"> -- <enum>Expanding</enum> -- </property> -- <property name="sizeHint"> -- <size> -- <width>71</width> -- <height>21</height> -- </size> -- </property> -- </spacer> -- <widget class="KActiveLabel"> -+ <widget class="QLabel"> - <property name="name"> - <cstring>textLabelSubnet</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> -- <hsizetype>1</hsizetype> -- <vsizetype>0</vsizetype> -+ <hsizetype>7</hsizetype> -+ <vsizetype>5</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> -+ <property name="text"> -+ <string></string> -+ </property> -+ <property name="alignment"> -+ <set>AlignVCenter|AlignRight</set> -+ </property> - </widget> - </hbox> - </widget> - <widget class="QLayoutWidget"> - <property name="name"> -- <cstring>layout5</cstring> -+ <cstring>layout9</cstring> - </property> - <hbox> - <property name="name"> -@@ -255,41 +244,22 @@ - <string>Broadcast Address:</string> - </property> - </widget> -- <spacer> -- <property name="name"> -- <cstring>spacer13_3</cstring> -- </property> -- <property name="orientation"> -- <enum>Horizontal</enum> -- </property> -- <property name="sizeType"> -- <enum>Expanding</enum> -- </property> -- <property name="sizeHint"> -- <size> -- <width>71</width> -- <height>21</height> -- </size> -- </property> -- </spacer> -- <widget class="KActiveLabel"> -+ <widget class="QLabel"> - <property name="name"> - <cstring>variableText1</cstring> - </property> -- <property name="sizePolicy"> -- <sizepolicy> -- <hsizetype>1</hsizetype> -- <vsizetype>0</vsizetype> -- <horstretch>0</horstretch> -- <verstretch>0</verstretch> -- </sizepolicy> -+ <property name="text"> -+ <string></string> -+ </property> -+ <property name="alignment"> -+ <set>AlignVCenter|AlignRight</set> - </property> - </widget> - </hbox> - </widget> - <widget class="QLayoutWidget"> - <property name="name"> -- <cstring>layout6</cstring> -+ <cstring>layout10</cstring> - </property> - <hbox> - <property name="name"> -@@ -303,41 +273,30 @@ - <string>Default Gateway:</string> - </property> - </widget> -- <spacer> -- <property name="name"> -- <cstring>spacer13_4</cstring> -- </property> -- <property name="orientation"> -- <enum>Horizontal</enum> -- </property> -- <property name="sizeType"> -- <enum>Expanding</enum> -- </property> -- <property name="sizeHint"> -- <size> -- <width>71</width> -- <height>21</height> -- </size> -- </property> -- </spacer> -- <widget class="KActiveLabel"> -+ <widget class="QLabel"> - <property name="name"> - <cstring>variableText2</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> -- <hsizetype>1</hsizetype> -- <vsizetype>0</vsizetype> -+ <hsizetype>7</hsizetype> -+ <vsizetype>5</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> -+ <property name="text"> -+ <string></string> -+ </property> -+ <property name="alignment"> -+ <set>AlignVCenter|AlignRight</set> -+ </property> - </widget> - </hbox> - </widget> - <widget class="QLayoutWidget"> - <property name="name"> -- <cstring>layout7</cstring> -+ <cstring>layout11</cstring> - </property> - <hbox> - <property name="name"> -@@ -351,35 +310,24 @@ - <string>HW-Address:</string> - </property> - </widget> -- <spacer> -- <property name="name"> -- <cstring>spacer13_5</cstring> -- </property> -- <property name="orientation"> -- <enum>Horizontal</enum> -- </property> -- <property name="sizeType"> -- <enum>Expanding</enum> -- </property> -- <property name="sizeHint"> -- <size> -- <width>71</width> -- <height>21</height> -- </size> -- </property> -- </spacer> -- <widget class="KActiveLabel"> -+ <widget class="QLabel"> - <property name="name"> - <cstring>variableText3</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> -- <hsizetype>1</hsizetype> -- <vsizetype>0</vsizetype> -+ <hsizetype>7</hsizetype> -+ <vsizetype>5</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> -+ <property name="text"> -+ <string></string> -+ </property> -+ <property name="alignment"> -+ <set>AlignVCenter|AlignRight</set> -+ </property> - </widget> - </hbox> - </widget> -@@ -893,8 +841,6 @@ - </widget> - </vbox> - </widget> --<customwidgets> --</customwidgets> - <connections> - <connection> - <sender>buttonClose</sender> -@@ -905,10 +851,6 @@ - </connections> - <layoutdefaults spacing="6" margin="11"/> - <includehints> -- <includehint>kactivelabel.h</includehint> -- <includehint>kactivelabel.h</includehint> -- <includehint>kactivelabel.h</includehint> -- <includehint>kactivelabel.h</includehint> -- <includehint>kactivelabel.h</includehint> -+ <includehint>kcombobox.h</includehint> - </includehints> - </UI> diff --git a/net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp b/net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp deleted file mode 100644 index 9dce92066cf6..000000000000 --- a/net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp +++ /dev/null @@ -1,34 +0,0 @@ ---- src/knemod/interfacetooltip.cpp.orig Sat Apr 1 21:44:22 2006 -+++ src/knemod/interfacetooltip.cpp Sun Apr 2 21:30:52 2006 -@@ -101,6 +101,23 @@ - - if ( data.available ) - { -+#ifdef Q_OS_FREEBSD -+ QDictIterator<AddrData> it( data.addrData ); -+ for( ; it.current(); ++it ) -+ { -+ if ( toolTipContent & IP_ADDRESS ) -+ text += "<tr><td>" + mToolTips[4].first + "</td><td>" + it.currentKey() + "</td></tr>"; -+ if ( toolTipContent & SUBNET_MASK ) -+ text += "<tr><td>" + mToolTips[5].first + "</td><td>" + it.current()->subnetMask + "</td></tr>"; -+ if ( mInterface->getType() == Interface::ETHERNET ) -+ { -+ if ( toolTipContent & BCAST_ADDRESS ) -+ text += "<tr><td>" + mToolTips[18].first + "</td><td>" + it.current()->broadcastAddress + "</td></tr>"; -+ } -+ } -+ if ( mInterface->getType() == Interface::ETHERNET ) -+ { -+#else - if ( toolTipContent & IP_ADDRESS ) - text += "<tr><td>" + mToolTips[4].first + "</td><td>" + data.ipAddress + "</td></tr>"; - if ( toolTipContent & SUBNET_MASK ) -@@ -109,6 +126,7 @@ - { - if ( toolTipContent & BCAST_ADDRESS ) - text += "<tr><td>" + mToolTips[18].first + "</td><td>" + data.broadcastAddress + "</td></tr>"; -+#endif - if ( toolTipContent & GATEWAY ) - text += "<tr><td>" + mToolTips[19].first + "</td><td>" + data.defaultGateway + "</td></tr>"; - if ( toolTipContent & HW_ADDRESS ) diff --git a/net/knemo-kde4/files/patch-knemod-interfaceupdater.cpp b/net/knemo-kde4/files/patch-knemod-interfaceupdater.cpp deleted file mode 100644 index 09ad62f0543f..000000000000 --- a/net/knemo-kde4/files/patch-knemod-interfaceupdater.cpp +++ /dev/null @@ -1,291 +0,0 @@ ---- src/knemod/interfaceupdater.cpp.orig Mon Jun 12 13:20:13 2006 -+++ src/knemod/interfaceupdater.cpp Mon Jun 12 14:43:02 2006 -@@ -17,6 +17,24 @@ - Boston, MA 02110-1301, USA. - */ - -+#ifdef __FreeBSD__ -+#include <sys/types.h> -+#include <sys/socket.h> -+#include <sys/sysctl.h> -+#include <sys/time.h> -+#include <sys/ioctl.h> -+#include <net/ethernet.h> -+#include <net/if_media.h> -+#include <net/if_types.h> -+#include <net/if.h> -+#include <net/if_dl.h> -+#include <net/if_mib.h> -+#include <netdb.h> -+#include <ifaddrs.h> -+#include <netinet/in.h> -+#include <arpa/inet.h> -+#endif -+ - #include <qmap.h> - #include <qregexp.h> - #include <qstringlist.h> -@@ -40,6 +58,7 @@ - - InterfaceUpdater::~InterfaceUpdater() - { -+#ifndef Q_OS_FREEBSD - if ( mRouteProcess ) - { - mRouteProcess->kill(); -@@ -55,10 +74,12 @@ - mIwconfigProcess->kill(); - delete mIwconfigProcess; - } -+#endif - } - - void InterfaceUpdater::checkConfig() - { -+#ifndef Q_OS_FREEBSD - if ( !mIfconfigProcess ) - { - mIfconfigStdout = QString::null; -@@ -100,6 +121,7 @@ - } - } - #endif -+#endif // Q_OS_FREEBSD - - #ifdef PATH_ROUTE - if ( !mRouteProcess ) -@@ -108,7 +130,11 @@ - mRouteProcess = new KProcess(); - mRouteProcess->setEnvironment( "LANG", "C" ); - mRouteProcess->setEnvironment( "LC_ALL", "C" ); -+#ifdef Q_OS_FREEBSD -+ *mRouteProcess << PATH_ROUTE << "-n" << "get" << "default"; -+#else - *mRouteProcess << PATH_ROUTE << "-n"; -+#endif - connect( mRouteProcess, SIGNAL( receivedStdout( KProcess*, char*, int ) ), - this, SLOT( routeProcessStdout( KProcess*, char*, int ) ) ); - connect( mRouteProcess, SIGNAL( receivedStderr( KProcess*, char*, int ) ), -@@ -123,6 +149,140 @@ - } - } - #endif -+ -+#ifdef Q_OS_FREEBSD -+ // Check interfaces and update accordingly -+ -+ Interface* interface = 0; -+ InterfaceData* data = 0; -+ -+ struct if_data* ifd; -+ struct ifaddrs *ifap; -+ char buf[NI_MAXHOST]; -+ -+ // Reset all devices first -+ QDictIterator<Interface> ifIt( mInterfaceDict ); -+ for ( ; ifIt.current(); ++ifIt ) -+ { -+ interface = ifIt.current(); -+ interface->getData().existing = false; -+ interface->getData().available = false; -+ interface->getData().addrData.clear(); -+ } -+ -+ // Get IP address and related information -+ if ( getifaddrs(&ifap) == 0 ) { -+ for ( ifaddrs *ifa = ifap; ifa; ifa = ifa->ifa_next ) { -+ switch ( ifa->ifa_addr->sa_family ) { -+ case AF_INET6: -+ case AF_INET: -+ interface = mInterfaceDict[QString::fromLatin1(ifa->ifa_name)]; -+ if ( interface ) { -+ data = &interface->getData(); -+ -+ bzero(buf, NI_MAXHOST); -+ getnameinfo(ifa->ifa_addr, ifa->ifa_addr->sa_len, buf, sizeof(buf), 0, 0, NI_NUMERICHOST); -+ AddrData *addrData = new AddrData; -+ data->addrData.insert( QString::fromLatin1(buf), addrData); -+ -+ if ( ifa->ifa_netmask != NULL ) { -+ if (ifa->ifa_addr->sa_family == AF_INET6 ) { -+ bzero(buf, NI_MAXHOST); -+ getnameinfo(ifa->ifa_netmask, ifa->ifa_netmask->sa_len, buf, sizeof(buf), 0, 0, NI_NUMERICHOST); -+ addrData->subnetMask = QString::fromLatin1( buf ); -+ } else { -+ struct sockaddr_in *sin = (struct sockaddr_in *)ifa->ifa_netmask; -+ addrData->subnetMask = QString::fromLatin1( inet_ntoa(sin->sin_addr) ); -+ } -+ } -+ -+ if ( ifa->ifa_broadaddr != NULL ) { -+ bzero(buf, NI_MAXHOST); -+ getnameinfo(ifa->ifa_broadaddr, ifa->ifa_broadaddr->sa_len, buf, sizeof(buf), 0, 0, NI_NUMERICHOST); -+ addrData->broadcastAddress = QString::fromLatin1(buf); -+ } -+ -+ if ( ifa->ifa_dstaddr != NULL ) { -+ bzero(buf, NI_MAXHOST); -+ getnameinfo(ifa->ifa_dstaddr, ifa->ifa_dstaddr->sa_len, buf, sizeof(buf), 0, 0, NI_NUMERICHOST); -+ data->ptpAddress = QString::fromLatin1(buf); -+ } -+ -+ data->existing = true; -+ interface->setType((ifa->ifa_flags & IFF_POINTOPOINT ) ? Interface::PPP : Interface::ETHERNET ); -+ -+ // Get media status -+ int s; -+ if ((s = socket(ifa->ifa_addr->sa_family, SOCK_DGRAM, 0)) >= 0) { -+ struct ifmediareq ifmr; -+ (void) memset(&ifmr, 0, sizeof(ifmr)); -+ (void) strncpy(ifmr.ifm_name, ifa->ifa_name, sizeof(ifmr.ifm_name)); -+ -+ if (ioctl(s, SIOCGIFMEDIA, (caddr_t)&ifmr) >= 0) { -+ if (ifmr.ifm_status & IFM_AVALID) -+ /* -+ * The interface is marked available, if the interface is up -+ * and if it is has carrier (LAN) or is associated (WLAN) -+ */ -+ data->available = (ifa->ifa_flags & IFF_UP) && (ifmr.ifm_status & IFM_ACTIVE); -+ } -+ else -+ data->available = (ifa->ifa_flags & IFF_UP); -+ -+ close(s); -+ } -+ } -+ break; -+ -+ case AF_LINK: -+ interface = mInterfaceDict[QString::fromLatin1(ifa->ifa_name)]; -+ if ( interface ) { -+ data = &interface->getData(); -+ -+ // get MAC address -+ struct sockaddr_dl* sdl = (struct sockaddr_dl*)ifa->ifa_addr; -+ if (sdl->sdl_type == IFT_ETHER && sdl->sdl_alen == ETHER_ADDR_LEN) -+ data->hwAddress = QString::fromLatin1(ether_ntoa((struct ether_addr*)LLADDR(sdl))); -+ else -+ data->hwAddress = ""; -+ -+ // Get traffic statistics -+ if (ifa->ifa_data != NULL) { -+ ifd = (if_data *)ifa->ifa_data; -+ -+ data->rxPackets = ifd->ifi_ipackets; -+ data->txPackets = ifd->ifi_opackets; -+ -+ if ( data->prevRxBytes == 0L ) -+ data->prevRxBytes = ifd->ifi_ibytes; -+ else -+ data->prevRxBytes = data->rxBytes; -+ -+ data->rxBytes = ifd->ifi_ibytes; -+ data->incomingBytes = data->rxBytes - data->prevRxBytes; -+ data->rxString = KIO::convertSize( data->rxBytes ); -+ -+ if ( data->prevTxBytes == 0L ) -+ data->prevTxBytes = ifd->ifi_obytes; -+ else -+ data->prevTxBytes = data->txBytes; -+ -+ data->txBytes = ifd->ifi_obytes; -+ data->outgoingBytes = data->txBytes - data->prevTxBytes; -+ data->txString = KIO::convertSize( data->txBytes ); -+ } -+ } -+ break; -+ } -+ } -+ freeifaddrs(ifap); -+ } -+ -+ // Update the display -+ for ( ifIt.toFirst(); ifIt.current(); ++ifIt ) -+ ifIt.current()->activateMonitor(); -+ -+#endif // Q_OS_FREEBSD - } - - void InterfaceUpdater::routeProcessExited( KProcess* process ) -@@ -172,6 +332,7 @@ - - void InterfaceUpdater::parseIfconfigOutput() - { -+#ifndef Q_OS_FREEBSD - /* mIfconfigStdout contains the complete output of 'ifconfig' which we - * are going to parse here. - */ -@@ -228,10 +389,12 @@ - } - interface->activateMonitor(); - } -+#endif - } - - void InterfaceUpdater::updateInterfaceData( QString& config, InterfaceData& data, int type ) - { -+#ifndef Q_OS_FREEBSD - QRegExp regExp( ".*RX.*:(\\d+).*:\\d+.*:\\d+.*:\\d+" ); - if ( regExp.search( config ) > -1 ) - data.rxPackets = regExp.cap( 1 ).toULong(); -@@ -321,10 +484,12 @@ - if ( regExp.search( config ) > -1 ) - data.ptpAddress = regExp.cap( 2 ); - } -+#endif - } - - void InterfaceUpdater::parseIwconfigOutput() - { -+#ifndef Q_OS_FREEBSD - /* mIwconfigStdout contains the complete output of 'iwconfig' which we - * are going to parse here. - */ -@@ -367,10 +532,12 @@ - updateWirelessData( configs[key], interface->getWirelessData() ); - } - } -+#endif - } - - void InterfaceUpdater::updateWirelessData( QString& config, WirelessData& data ) - { -+#ifndef Q_OS_FREEBSD - QRegExp regExp( "ESSID:\"?([^\"]*)\"?" ); - if ( regExp.search( config ) > -1 ) - data.essid = regExp.cap( 1 ); -@@ -404,6 +571,7 @@ - regExp.setPattern( "Link Quality[=:]([\\d/]*)" ); - if ( regExp.search( config ) > -1 ) - data.linkQuality = regExp.cap( 1 ); -+#endif - } - - void InterfaceUpdater::parseRouteOutput() -@@ -412,16 +580,25 @@ - * are going to parse here. - */ - QMap<QString, QStringList> configs; -- QStringList routeList = QStringList::split( "\n", mRouteStdout ); -+ QStringList gateway, routeList = QStringList::split( "\n", mRouteStdout ); - QStringList::Iterator it; - for ( it = routeList.begin(); it != routeList.end(); ++it ) - { - QStringList routeParameter = QStringList::split( " ", *it ); -+#ifdef Q_OS_FREEBSD -+ if ( routeParameter.count() != 2 ) -+ continue; -+ if ( routeParameter[0] == "gateway:" ) -+ gateway = routeParameter; -+ if ( routeParameter[0] == "interface:" ) -+ configs[routeParameter[1]] = gateway; -+#else - if ( routeParameter.count() < 8 ) // no routing entry - continue; - if ( routeParameter[0] != "0.0.0.0" ) // no default route - continue; - configs[routeParameter[7]] = routeParameter; -+#endif - } - - /* We loop over the interfaces the user wishs to monitor. diff --git a/net/knemo-kde4/files/patch-knemod-knemodaemon.cpp b/net/knemo-kde4/files/patch-knemod-knemodaemon.cpp deleted file mode 100644 index 11f2cc3e39fe..000000000000 --- a/net/knemo-kde4/files/patch-knemod-knemodaemon.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/knemod/knemodaemon.cpp.orig Mon Jun 12 15:47:54 2006 -+++ src/knemod/knemodaemon.cpp Mon Jun 12 16:30:45 2006 -@@ -306,6 +306,8 @@ - - // needed to calculate the current speed - mGeneralData.secondsSinceLastUpdate = mLastUpdateTime.secsTo( QDateTime::currentDateTime() ); -+ if (mGeneralData.secondsSinceLastUpdate == 0) -+ mGeneralData.secondsSinceLastUpdate = 1; - mLastUpdateTime.setDate( QDate::currentDate() ); - mLastUpdateTime.setTime( QTime::currentTime() ); - diff --git a/net/knemo-kde4/pkg-descr b/net/knemo-kde4/pkg-descr deleted file mode 100644 index 1fe12fcb83a0..000000000000 --- a/net/knemo-kde4/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -KNemo - the KDE Network Monitor - -KNemo offers a network monitor similar to the one found in Windows. -For every network interface it displays an icon in the systray. - -WWW: http://extragear.kde.org/apps/knemo/ diff --git a/net/knemo-kde4/pkg-message b/net/knemo-kde4/pkg-message deleted file mode 100644 index e0a417e2f008..000000000000 --- a/net/knemo-kde4/pkg-message +++ /dev/null @@ -1,4 +0,0 @@ ------------------------------------------------------------------------------ - IMPORTANT: KNemo is not an executable but an KDED service. Therefore - it has to be started using Control Center/KDE Components/Service Manager. ------------------------------------------------------------------------------ diff --git a/net/knemo-kde4/pkg-plist b/net/knemo-kde4/pkg-plist deleted file mode 100644 index 866585aa2771..000000000000 --- a/net/knemo-kde4/pkg-plist +++ /dev/null @@ -1,98 +0,0 @@ -lib/kde3/kcm_knemo.a -lib/kde3/kcm_knemo.la -lib/kde3/kcm_knemo.so -lib/kde3/kded_knemod.a -lib/kde3/kded_knemod.la -lib/kde3/kded_knemod.so -share/applications/kde/kcm_knemo.desktop -share/apps/knemo/eventsrc -share/icons/crystalsvg/16x16/apps/knemo.png -share/icons/crystalsvg/22x22/actions/network_connected.png -share/icons/crystalsvg/22x22/actions/network_connected_lan.png -share/icons/crystalsvg/22x22/actions/network_connected_ppp.png -share/icons/crystalsvg/22x22/actions/network_connected_wlan.png -share/icons/crystalsvg/22x22/actions/network_disconnected.png -share/icons/crystalsvg/22x22/actions/network_disconnected_lan.png -share/icons/crystalsvg/22x22/actions/network_disconnected_ppp.png -share/icons/crystalsvg/22x22/actions/network_disconnected_wlan.png -share/icons/crystalsvg/22x22/actions/network_incoming.png -share/icons/crystalsvg/22x22/actions/network_incoming_lan.png -share/icons/crystalsvg/22x22/actions/network_incoming_ppp.png -share/icons/crystalsvg/22x22/actions/network_incoming_wlan.png -share/icons/crystalsvg/22x22/actions/network_outgoing.png -share/icons/crystalsvg/22x22/actions/network_outgoing_lan.png -share/icons/crystalsvg/22x22/actions/network_outgoing_ppp.png -share/icons/crystalsvg/22x22/actions/network_outgoing_wlan.png -share/icons/crystalsvg/22x22/actions/network_traffic.png -share/icons/crystalsvg/22x22/actions/network_traffic_lan.png -share/icons/crystalsvg/22x22/actions/network_traffic_ppp.png -share/icons/crystalsvg/22x22/actions/network_traffic_wlan.png -share/icons/crystalsvg/32x32/apps/knemo.png -share/locale/bg/LC_MESSAGES/kcm_knemo.mo -share/locale/bg/LC_MESSAGES/knemod.mo -share/locale/br/LC_MESSAGES/kcm_knemo.mo -share/locale/br/LC_MESSAGES/knemod.mo -share/locale/cs/LC_MESSAGES/kcm_knemo.mo -share/locale/cs/LC_MESSAGES/knemod.mo -share/locale/cy/LC_MESSAGES/kcm_knemo.mo -share/locale/cy/LC_MESSAGES/knemod.mo -share/locale/da/LC_MESSAGES/kcm_knemo.mo -share/locale/da/LC_MESSAGES/knemod.mo -share/locale/de/LC_MESSAGES/kcm_knemo.mo -share/locale/de/LC_MESSAGES/knemod.mo -share/locale/el/LC_MESSAGES/kcm_knemo.mo -share/locale/el/LC_MESSAGES/knemod.mo -share/locale/en_GB/LC_MESSAGES/kcm_knemo.mo -share/locale/en_GB/LC_MESSAGES/knemod.mo -share/locale/es/LC_MESSAGES/kcm_knemo.mo -share/locale/es/LC_MESSAGES/knemod.mo -share/locale/et/LC_MESSAGES/kcm_knemo.mo -share/locale/et/LC_MESSAGES/knemod.mo -share/locale/fr/LC_MESSAGES/kcm_knemo.mo -share/locale/fr/LC_MESSAGES/knemod.mo -share/locale/ga/LC_MESSAGES/kcm_knemo.mo -share/locale/ga/LC_MESSAGES/knemod.mo -share/locale/hu/LC_MESSAGES/kcm_knemo.mo -share/locale/hu/LC_MESSAGES/knemod.mo -share/locale/it/LC_MESSAGES/kcm_knemo.mo -share/locale/it/LC_MESSAGES/knemod.mo -share/locale/ka/LC_MESSAGES/kcm_knemo.mo -share/locale/ka/LC_MESSAGES/knemod.mo -share/locale/lt/LC_MESSAGES/kcm_knemo.mo -share/locale/lt/LC_MESSAGES/knemod.mo -share/locale/nl/LC_MESSAGES/kcm_knemo.mo -share/locale/nl/LC_MESSAGES/knemod.mo -share/locale/pl/LC_MESSAGES/kcm_knemo.mo -share/locale/pl/LC_MESSAGES/knemod.mo -share/locale/pt/LC_MESSAGES/kcm_knemo.mo -share/locale/pt/LC_MESSAGES/knemod.mo -share/locale/pt_BR/LC_MESSAGES/kcm_knemo.mo -share/locale/pt_BR/LC_MESSAGES/knemod.mo -share/locale/ru/LC_MESSAGES/kcm_knemo.mo -share/locale/ru/LC_MESSAGES/knemod.mo -share/locale/rw/LC_MESSAGES/kcm_knemo.mo -share/locale/rw/LC_MESSAGES/knemod.mo -share/locale/sr/LC_MESSAGES/kcm_knemo.mo -share/locale/sr/LC_MESSAGES/knemod.mo -share/locale/sr@Latn/LC_MESSAGES/kcm_knemo.mo -share/locale/sr@Latn/LC_MESSAGES/knemod.mo -share/locale/sv/LC_MESSAGES/kcm_knemo.mo -share/locale/sv/LC_MESSAGES/knemod.mo -share/locale/tr/LC_MESSAGES/kcm_knemo.mo -share/locale/tr/LC_MESSAGES/knemod.mo -share/services/kded/knemod.desktop -@dirrmtry share/services/kded -@dirrmtry share/locale/sr/LC_MESSAGES -@dirrmtry share/locale/sr -@dirrmtry share/locale/rw/LC_MESSAGES -@dirrmtry share/locale/rw -@dirrmtry share/locale/pt/LC_MESSAGES -@dirrmtry share/locale/pt -@dirrmtry share/locale/pl/LC_MESSAGES -@dirrmtry share/locale/pl -@dirrmtry share/locale/el/LC_MESSAGES -@dirrmtry share/locale/el -@dirrmtry share/locale/cs/LC_MESSAGES -@dirrmtry share/locale/cs -@dirrm share/apps/knemo -@dirrmtry share/applications/kde diff --git a/net/mcl/Makefile b/net/mcl/Makefile deleted file mode 100644 index de1aa71cd323..000000000000 --- a/net/mcl/Makefile +++ /dev/null @@ -1,83 +0,0 @@ -# New ports collection makefile for: mcl -# Date created: 29 October 2003 -# Whom: past@noc.ntua.gr -# -# $FreeBSD$ -# - -PORTNAME= mcl -PORTVERSION= 2.99.1 -PORTREVISION= 1 -CATEGORIES= mbone net -MASTER_SITES= http://www.inrialpes.fr/planete/people/roca/mcl/bin/ -DISTNAME= mcl_v2.99.1 -EXTRACT_SUFX= .tgz - -MAINTAINER= past@ebs.gr -COMMENT= Implementation of the ALC and NORM Reliable Multicast Protocols - -BUILD_DEPENDS= makedepend:${X_IMAKE_PORT} \ - gdome-config:${PORTSDIR}/textproc/gdome2 \ - glib-gettextize:${PORTSDIR}/devel/glib20 - -INSTALLS_SHLIB= yes -USE_GMAKE= yes -MAN1= fcast.1 fcastn.1 mclrecv2.1 mclsend2.1 -MAN2= mcl_abort.2 mcl_close.2 mcl_ctl.2 mcl_open.2 mcl_recv.2 \ - mcl_send.2 mcl_wait_event.2 - -pre-patch: - @cd ${WRKSRC} && \ - ${MKDIR} bin/freebsd - -post-patch: - @${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \ - ${WRKSRC}/src/alc/Makefile - @${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \ - ${WRKSRC}/check/alc/Makefile - @${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \ - ${WRKSRC}/fcast/Makefile - @${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \ - ${WRKSRC}/flute/Makefile - @${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \ - ${WRKSRC}/mclftp/Makefile - @${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \ - ${WRKSRC}/robcast/Makefile - -pre-install: - @${REINPLACE_CMD} -Ee 's#../alc/#alc/#g' \ - ${WRKSRC}/src/common/mcl_lib_api.h - @${REINPLACE_CMD} -Ee 's#../norm/#norm/#g' \ - ${WRKSRC}/src/common/mcl_lib_api.h - -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/bin/freebsd/fcast ${PREFIX}/bin - @${INSTALL_PROGRAM} ${WRKSRC}/bin/freebsd/flute ${PREFIX}/bin - @${INSTALL_PROGRAM} ${WRKSRC}/bin/freebsd/robcast_client ${PREFIX}/bin - @${INSTALL_PROGRAM} ${WRKSRC}/bin/freebsd/robcast_server ${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/bin/freebsd/libmclalc.a ${PREFIX}/lib - @${INSTALL_DATA} ${WRKSRC}/src/common/mcl_lib_api.h ${PREFIX}/include - @${INSTALL_DATA} -d ${PREFIX}/include/alc - @${INSTALL_DATA} ${WRKSRC}/src/alc/mcl_lib_api_alc.h \ - ${PREFIX}/include/alc - @${INSTALL_MAN} ${WRKSRC}/man/fcast.man.1 ${PREFIX}/man/man1/fcast.1 - @${INSTALL_MAN} ${WRKSRC}/man/fcastn.man.1 ${PREFIX}/man/man1/fcastn.1 - @${INSTALL_MAN} ${WRKSRC}/man/mclrecv2.man.1 \ - ${PREFIX}/man/man1/mclrecv2.1 - @${INSTALL_MAN} ${WRKSRC}/man/mclsend2.man.1 \ - ${PREFIX}/man/man1/mclsend2.1 - @${INSTALL_MAN} ${WRKSRC}/man/mcl_abort.man.2 \ - ${PREFIX}/man/man2/mcl_abort.2 - @${INSTALL_MAN} ${WRKSRC}/man/mcl_close.man.2 \ - ${PREFIX}/man/man2/mcl_close.2 - @${INSTALL_MAN} ${WRKSRC}/man/mcl_ctl.man.2 ${PREFIX}/man/man2/mcl_ctl.2 - @${INSTALL_MAN} ${WRKSRC}/man/mcl_open.man.2 \ - ${PREFIX}/man/man2/mcl_open.2 - @${INSTALL_MAN} ${WRKSRC}/man/mcl_recv.man.2 \ - ${PREFIX}/man/man2/mcl_recv.2 - @${INSTALL_MAN} ${WRKSRC}/man/mcl_send.man.2 \ - ${PREFIX}/man/man2/mcl_send.2 - @${INSTALL_MAN} ${WRKSRC}/man/mcl_wait_event.man.2 \ - ${PREFIX}/man/man2/mcl_wait_event.2 - -.include <bsd.port.mk> diff --git a/net/mcl/distinfo b/net/mcl/distinfo deleted file mode 100644 index c2499bb901b5..000000000000 --- a/net/mcl/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (mcl_v2.99.1.tgz) = d4a5c0c384d45dfa6c2a3dcbdcb3a81e -SHA256 (mcl_v2.99.1.tgz) = 141966bf922c2995a29eeb73a536ee3f83438835b0f29f99afb626048decdc35 -SIZE (mcl_v2.99.1.tgz) = 368784 diff --git a/net/mcl/files/patch-Makefile b/net/mcl/files/patch-Makefile deleted file mode 100644 index 8c38fb03e633..000000000000 --- a/net/mcl/files/patch-Makefile +++ /dev/null @@ -1,13 +0,0 @@ ---- Makefile.orig Sun Dec 7 18:35:07 2003 -+++ Makefile Sun Dec 7 18:35:20 2003 -@@ -5,8 +5,8 @@ - # We need the GNU make tool, on some systems it is called - # gmake, on others make is an alias to gmake. Choose one... - # --MAKE = make --#MAKE = gmake -+#MAKE = make -+MAKE = gmake - - - # A phony target is one that is not really the name of a file. diff --git a/net/mcl/files/patch-Makefile.common b/net/mcl/files/patch-Makefile.common deleted file mode 100644 index 4cb001289885..000000000000 --- a/net/mcl/files/patch-Makefile.common +++ /dev/null @@ -1,33 +0,0 @@ ---- Makefile.common.orig Sun Dec 7 18:36:25 2003 -+++ Makefile.common Sun Dec 7 18:38:10 2003 -@@ -24,11 +24,15 @@ - ifeq (${SYSTEM},SunOS) - OS = solaris - endif -+ifeq (${SYSTEM},FreeBSD) -+ OS = freebsd -+endif - # - # and the old way (e.g. if the above lines do not work!) - # - #OS = linux - #OS = solaris -+#OS = freebsd - - - # Do you want/need extended memory debugging? -@@ -59,6 +63,14 @@ - # - CC = /opt/SUNWspro/bin/CC - LD = /opt/SUNWspro/bin/CC -+endif -+ifeq (${OS},freebsd) -+ OSFLAGS = -DFREEBSD -I${LOCALBASE}/g++ -I${LOCALBASE}/c++/3.3 -+ # Which compiler? -+ # NB: use -Wall for compilation warnings with gcc -+ # -+ CC = g++ -Wall -+ LD = g++ -Wall - endif - - diff --git a/net/mcl/files/patch-alc-Makefile b/net/mcl/files/patch-alc-Makefile deleted file mode 100644 index b38cb525c35f..000000000000 --- a/net/mcl/files/patch-alc-Makefile +++ /dev/null @@ -1,16 +0,0 @@ ---- src/alc/Makefile.orig Tue Jul 22 19:42:18 2003 -+++ src/alc/Makefile Wed Oct 15 17:21:25 2003 -@@ -36,6 +36,13 @@ - LIBRARIES = -lc -lm -lsocket -lnsl -L/usr/ucblib -lucb -lpthread - endif - -+ifeq (${OS},freebsd) -+ # FreeBSD version -+ BINDIR = ../../bin/freebsd -+ LDPC_BINDIR = ../../../ldpc/bin/freebsd -+ LIBRARIES = -lm -pthread -+endif -+ - - ###### Other Variables ###### - diff --git a/net/mcl/files/patch-check-alc-Makefile b/net/mcl/files/patch-check-alc-Makefile deleted file mode 100644 index 65fa32515984..000000000000 --- a/net/mcl/files/patch-check-alc-Makefile +++ /dev/null @@ -1,21 +0,0 @@ ---- check/alc/Makefile.orig Wed Oct 15 18:02:27 2003 -+++ check/alc/Makefile Wed Oct 15 17:24:04 2003 -@@ -35,6 +35,18 @@ - LIBRARIES = -lc -lm -lsocket -lnsl -L/usr/ucblib -lucb -lposix4 -mt -lpthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a - endif - -+ifeq (${OS},freebsd) -+ # Linux version -+ # -+ BINDIR = ../../bin/freebsd -+ LDPC_BINDIR = ../../../ldpc/bin/freebsd -+ # Edit the following two lines as appropriate, according to the FEC -+ # codec in use: if LDPC is used, then add the libbdpc.a library. -+ # -+ LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a -+ #LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a -+endif -+ - - ###### Other variables ###### - diff --git a/net/mcl/files/patch-display.c b/net/mcl/files/patch-display.c deleted file mode 100644 index 44ff013dd66f..000000000000 --- a/net/mcl/files/patch-display.c +++ /dev/null @@ -1,14 +0,0 @@ ---- flute/display.c.orig Wed Jan 7 12:08:23 2004 -+++ flute/display.c Wed Jan 7 12:07:24 2004 -@@ -65,7 +65,11 @@ - signal (SIGTERM, sig_catcher); - sigaction (SIGTERM, (struct sigaction *) 0, &sa); - sa.sa_flags |= SA_RESTART; -+#if defined(FREEBSD) -+ sa.sa_flags &= ~SA_NOCLDSTOP; -+#else - sa.sa_flags &= ~SA_INTERRUPT; -+#endif - sigaction (SIGTERM, &sa, (struct sigaction *) 0); - sigaction (SIGINT, &sa, (struct sigaction *) 0); - tcsetattr(0, TCSANOW, &new_settings); diff --git a/net/mcl/files/patch-fcast-Makefile b/net/mcl/files/patch-fcast-Makefile deleted file mode 100644 index dce7b64a9811..000000000000 --- a/net/mcl/files/patch-fcast-Makefile +++ /dev/null @@ -1,28 +0,0 @@ ---- fcast/Makefile.orig Tue Jul 22 19:43:25 2003 -+++ fcast/Makefile Wed Oct 15 17:20:46 2003 -@@ -39,6 +39,14 @@ - - endif - -+ifeq (${OS},freebsd) -+ # FreeBSD version -+ # -+ BINDIR = ../bin/freebsd -+ LDPC_BINDIR = ../../ldpc/bin/freebsd -+ LIBRARIES = -lm -pthread -+endif -+ - - ###### Other variables ###### - -@@ -76,8 +84,8 @@ - # codec in use: if LDPC is used, then add the libbdpc.a library. - # If only RSE is used and if you don't have the LDPC archive, then - # remove the libbdpc.a library. --#alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a --alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a -+alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a -+#alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a - alc: TARGET_FCAST = ${BINDIR}/fcast - #alc: all - diff --git a/net/mcl/files/patch-fcast.h b/net/mcl/files/patch-fcast.h deleted file mode 100644 index bd50c0f41eb7..000000000000 --- a/net/mcl/files/patch-fcast.h +++ /dev/null @@ -1,20 +0,0 @@ ---- fcast/fcast.h.orig Tue Jul 22 19:37:39 2003 -+++ fcast/fcast.h Wed Oct 15 16:59:13 2003 -@@ -62,12 +62,16 @@ - #include "frecv.h" - - -+ - #if defined(LINUX) /* On Linux systems, signal handlers must be of __sighandler_t type */ - #define sighandler_t __sighandler_t - - #elif defined(SOLARIS) || defined(IRIX) || defined(WIN32) -- - #define sighandler_t void (*)(int) -+ -+#elif defined(FREEBSD) -+#define sighandler_t sig_t -+ - #endif - - diff --git a/net/mcl/files/patch-flute-Makefile b/net/mcl/files/patch-flute-Makefile deleted file mode 100644 index 159fef2f7960..000000000000 --- a/net/mcl/files/patch-flute-Makefile +++ /dev/null @@ -1,52 +0,0 @@ ---- flute/Makefile.orig Wed Nov 26 17:18:21 2003 -+++ flute/Makefile Wed Jan 7 12:38:28 2004 -@@ -36,6 +36,18 @@ - - endif - -+ifeq (${OS},freebsd) -+ # FreeBSD version: -+ # CC requires: -mt -lpthread for multithreaded applications -+ # NB: mpatrol not installed ! -+ # -+ BINDIR = ../bin/freebsd -+ LDPC_BINDIR = ../../ldpc/bin/freebsd -+ LIBRARIES = -lm -pthread -lglib-2.0 -lgdome -lxml2 -L${LOCALBASE}/lib -+ # added -I/usr/local/include for libgdome header files -+ ADD_INCLUDES = -I${LOCALBASE}/include/ -I${LOCALBASE}/include/glib-2.0/ -I${LOCALBASE}/include/libgdome/ -+endif -+ - - ###### Other variables ###### - -@@ -73,24 +85,24 @@ - # codec in use: if LDPC is used, then add the libbdpc.a library. - # If only RSE is used and if you don't have the LDPC archive, then - # remove the libbdpc.a library. --#alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a --alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a -+alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a -+#alc: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a - alc: TARGET_FLUTE = ${BINDIR}/flute - #alc: all - - alc_pure: RM_PROTOCOL = ALC - # Edit the following two lines as appropriate, according to the FEC - # codec in use: if LDPC is used, then add the libbdpc.a library. --#alc_pure: MCL_LIBRARY = ${BINDIR}/libmclalc.a --alc_pure: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a -+alc_pure: MCL_LIBRARY = ${BINDIR}/libmclalc.a -+#alc_pure: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a - alc_pure: TARGET_FLUTE = ${BINDIR}/flute - alc_pure: pure - - alc_quantify: RM_PROTOCOL = ALC - # Edit the following two lines as appropriate, according to the FEC - # codec in use: if LDPC is used, then add the libbdpc.a library. --#alc_quantify: MCL_LIBRARY = ${BINDIR}/libmclalc.a --alc_quantify: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a -+alc_quantify: MCL_LIBRARY = ${BINDIR}/libmclalc.a -+#alc_quantify: MCL_LIBRARY = ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a - alc_quantify: TARGET_FLUTE = ${BINDIR}/flute - alc_quantify: quantify - diff --git a/net/mcl/files/patch-flute.h b/net/mcl/files/patch-flute.h deleted file mode 100644 index c38ad033f34c..000000000000 --- a/net/mcl/files/patch-flute.h +++ /dev/null @@ -1,13 +0,0 @@ ---- flute/flute.h.orig Wed Jan 7 11:13:20 2004 -+++ flute/flute.h Wed Jan 7 11:15:28 2004 -@@ -69,6 +69,10 @@ - #elif defined(SOLARIS) || defined(IRIX) || defined(WIN32) - - #define sighandler_t void (*)(int) -+ -+#elif defined(FREEBSD) -+#define sighandler_t sig_t -+ - #endif - - diff --git a/net/mcl/files/patch-mcl_debug.cpp b/net/mcl/files/patch-mcl_debug.cpp deleted file mode 100644 index 982503f326c9..000000000000 --- a/net/mcl/files/patch-mcl_debug.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/common/mcl_debug.cpp.orig Tue Jul 22 19:37:39 2003 -+++ src/common/mcl_debug.cpp Wed Oct 15 17:55:58 2003 -@@ -73,7 +73,7 @@ - PRINT_OUT((mcl_stdout, "\tDUMP %d first bytes...\n\t", i * sizeof(int))) - for (ptr = (int*)buf; i > 0; i--, ptr++) { - /* convert to big endian format to be sure of byte order */ -- PRINT_OUT((mcl_stdout, "%08x ", htonl(*ptr))) -+ PRINT_OUT((mcl_stdout, "%08lx ", htonl(*ptr))) - if (++j == 8) { - j = 0; - PRINT_OUT((mcl_stdout, "\n\t")) diff --git a/net/mcl/files/patch-mcl_includes.h b/net/mcl/files/patch-mcl_includes.h deleted file mode 100644 index d68a50637331..000000000000 --- a/net/mcl/files/patch-mcl_includes.h +++ /dev/null @@ -1,36 +0,0 @@ ---- src/alc/mcl_includes.h.orig Tue Jul 22 19:37:39 2003 -+++ src/alc/mcl_includes.h Tue Oct 14 15:23:54 2003 -@@ -40,11 +40,13 @@ - #include <sys/types.h> - #include <math.h> - -+#ifndef FREEBSD - #if defined(DEBUG) && defined(MPATROL) && !defined(WIN32) - #include <mpatrol.h> - #else - #include <malloc.h> - #endif -+#endif - #include <new> // required by _set_new_handler on linux - - -@@ -58,14 +60,18 @@ - #else /* UNIX Systems */ - - #include <unistd.h> -+ -+#ifndef FREEBSD - #include <values.h> /* for MAXINT */ -+#endif -+ - #include <strings.h> - #include <sys/time.h> - #include <sys/wait.h> - #include <pthread.h> - #include <sys/uio.h> - --#ifdef SOLARIS -+#if defined(SOLARIS) || defined(FREEBSD) - #include <netinet/in_systm.h> - #endif /* SOLARIS */ - diff --git a/net/mcl/files/patch-mcl_lib.cpp b/net/mcl/files/patch-mcl_lib.cpp deleted file mode 100644 index d40dbe58584c..000000000000 --- a/net/mcl/files/patch-mcl_lib.cpp +++ /dev/null @@ -1,27 +0,0 @@ ---- src/alc/mcl_lib.cpp.orig Wed Nov 26 15:38:14 2003 -+++ src/alc/mcl_lib.cpp Tue Dec 16 23:58:46 2003 -@@ -1384,8 +1384,10 @@ - if (id >= MCLCB_MAX_ID || (mclcb = mclcbs[id]) == NULL) { - TRACE((mcl_stdout, " mcl_recvfrom: not an MCL id, switch to standard recvfrom\n")) - return (recvfrom(id, (char*)buf, len, 0, saddr, --#ifdef LINUX -+#if defined(LINUX) - (size_t*) /* linux => uint, solaris => int */ -+#elif defined(FREEBSD) -+ (socklen_t*) - #endif - saddr_len)); - } -@@ -1520,8 +1522,11 @@ - if (id >= MCLCB_MAX_ID || (mclcb = mclcbs[id]) == NULL) { - TRACE((mcl_stdout, " mcl_recvfrom: not an MCL id, switch to standard recvfrom\n")) - return (recvfrom(id, (char*)buf, len, 0, saddr, --#ifdef LINUX -+#if defined(LINUX) - (size_t*) /* linux => uint, solaris => int */ -+#elif defined(FREEBSD) -+ (socklen_t*) -+ - #endif - saddr_len)); - } diff --git a/net/mcl/files/patch-mcl_network.cpp b/net/mcl/files/patch-mcl_network.cpp deleted file mode 100644 index 6e5a8cfaebfe..000000000000 --- a/net/mcl/files/patch-mcl_network.cpp +++ /dev/null @@ -1,48 +0,0 @@ ---- src/alc/mcl_network.cpp.orig Tue Jul 22 19:37:39 2003 -+++ src/alc/mcl_network.cpp Tue Oct 14 15:47:45 2003 -@@ -414,8 +414,10 @@ - pkt->pkt_len = recvfrom(mg->ses_sock, - pkt->get_buf(), pkt->get_buf_len(), - 0, &saddr, --#ifdef LINUX -+#if defined(LINUX) - (size_t*) -+#elif defined(FREEBSD) -+ (socklen_t*) - #endif - &saddr_len); - #ifdef WIN32 -@@ -483,8 +485,10 @@ - pkt->pkt_len = recvfrom(mg->priv_sock, - pkt->get_buf(), pkt->get_buf_len(), - 0, &saddr, --#ifdef LINUX -+#if defined(LINUX) - (size_t*) -+#elif defined(FREEBSD) -+ (socklen_t*) - #endif - &saddr_len); - #ifdef WIN32 -@@ -663,8 +667,10 @@ - err = setsockopt(fd, SOL_SOCKET, buf, (char*)&val, sizeof(val)); - else - err = getsockopt(fd, SOL_SOCKET, buf, (char*)&val, --#ifdef LINUX -- (size_t*) /* linux => uint, solaris => int */ -+#if defined(LINUX) -+ (size_t*) -+#elif defined(FREEBSD) -+ (socklen_t*) - #endif - &len); - if (err < 0) { -@@ -938,7 +944,7 @@ - - if (mcl_is_valid_sock(mg->priv_sock) && - getsockname(mg->priv_sock, (struct sockaddr *)&tmp_addr, --#ifdef LINUX -+#if defined(LINUX) || defined(FREEBSD) - (socklen_t*) - #endif - &tmp_len) < 0) { diff --git a/net/mcl/files/patch-mcl_osdep.h b/net/mcl/files/patch-mcl_osdep.h deleted file mode 100644 index 1effff377a98..000000000000 --- a/net/mcl/files/patch-mcl_osdep.h +++ /dev/null @@ -1,32 +0,0 @@ ---- src/common/mcl_osdep.h.orig Sun Dec 7 18:58:22 2003 -+++ src/common/mcl_osdep.h Sun Dec 7 19:00:39 2003 -@@ -44,7 +44,7 @@ - * bit field order is compiler/OS dependant - * With linux, see the above LINUX_XXX defines... - */ --#if defined(LINUX_I386) || defined(WIN32) -+#if defined(LINUX_I386) || defined(WIN32) || defined (FREEBSD) - #define _BIT_FIELDS_LTOH - #undef _BIT_FIELDS_HTOL - -@@ -58,7 +58,7 @@ - /* - * sighandler - */ --#if defined(LINUX) -+#if defined(LINUX) || defined (FREEBSD) - /* On Linux systems, signal handlers must be of __sighandler_t type */ - #define sighandler_t __sighandler_t - -@@ -77,9 +77,9 @@ - #define u_int16_t ushort_t /* or uint16_t */ - #define u_int32_t uint_t /* or uint32_t */ - --#elif defined (WIN32) -+#elif defined (WIN32) || defined (FREEBSD) - --/* u_xxx absent from WIN32! */ -+/* u_xxx absent from WIN32 and ulong absent from FreeBSD! */ - #define u_int8_t unsigned char /* or uint8_t */ - #define u_int16_t unsigned short /* or uint16_t */ - #define u_int32_t unsigned int /* or uint32_t */ diff --git a/net/mcl/files/patch-mcl_profile.h b/net/mcl/files/patch-mcl_profile.h deleted file mode 100644 index 24408a4ddbfe..000000000000 --- a/net/mcl/files/patch-mcl_profile.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/alc/mcl_profile.h.orig Tue Dec 16 23:47:58 2003 -+++ src/alc/mcl_profile.h Tue Dec 16 23:48:09 2003 -@@ -130,7 +130,7 @@ - /* - * Do you want to use LDPC large block Forward Error Correction (FEC) ? - */ --#define LDPC_FEC -+//#define LDPC_FEC - - #if defined(RSE_FEC) || defined(LDPC_FEC) - #define FEC diff --git a/net/mcl/files/patch-mclftp-Makefile b/net/mcl/files/patch-mclftp-Makefile deleted file mode 100644 index 0ddac0210fa9..000000000000 --- a/net/mcl/files/patch-mclftp-Makefile +++ /dev/null @@ -1,17 +0,0 @@ ---- mclftp/Makefile.orig Wed Dec 17 00:13:34 2003 -+++ mclftp/Makefile Wed Dec 17 00:15:56 2003 -@@ -36,6 +36,14 @@ - LIBRARIES = -lc -lm -lsocket -lnsl /usr/ucblib/libucb.a -lposix4 -lpthread - endif - -+ifeq (${OS},freebsd) -+ # FreeBSD version -+ # MCL library requires -pthread -+ # -+ BINDIR = ../bin/freebsd -+ LIBRARIES = -lm -pthread -+endif -+ - - - ###### Other variables ###### diff --git a/net/mcl/files/patch-robcast-Makefile b/net/mcl/files/patch-robcast-Makefile deleted file mode 100644 index f6f4a21f0e42..000000000000 --- a/net/mcl/files/patch-robcast-Makefile +++ /dev/null @@ -1,19 +0,0 @@ ---- robcast/Makefile.orig Wed Oct 15 18:03:36 2003 -+++ robcast/Makefile Wed Oct 15 17:33:36 2003 -@@ -29,6 +29,16 @@ - LIBRARIES = -lc -lm -lsocket -lnsl -L/usr/ucblib -lucb -lposix4 -lpthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a - endif - -+ifeq (${OS},freebsd) -+ # FreeBSD version -+ # MCL library requires -pthread -+ # -+ BINDIR = ../bin/freebsd -+ LDPC_BINDIR = ../../ldpc/bin/freebsd -+ LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a -+ #LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a -+endif -+ - - ###### Other variables ###### - diff --git a/net/mcl/files/patch-test_abort.c b/net/mcl/files/patch-test_abort.c deleted file mode 100644 index ad1116943ab0..000000000000 --- a/net/mcl/files/patch-test_abort.c +++ /dev/null @@ -1,13 +0,0 @@ ---- check/alc/test_abort.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_abort.c Wed Oct 15 17:10:42 2003 -@@ -26,6 +26,10 @@ - #include <stdio.h> - #include <stdlib.h> /* for exit */ - -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #include <io.h> diff --git a/net/mcl/files/patch-test_demux_label1_rx.c b/net/mcl/files/patch-test_demux_label1_rx.c deleted file mode 100644 index d172c016a3b0..000000000000 --- a/net/mcl/files/patch-test_demux_label1_rx.c +++ /dev/null @@ -1,13 +0,0 @@ ---- check/alc/test_demux_label1_rx.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_demux_label1_rx.c Wed Oct 15 17:13:17 2003 -@@ -26,6 +26,10 @@ - - #include <stdio.h> - -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #else diff --git a/net/mcl/files/patch-test_demux_label1_tx.c b/net/mcl/files/patch-test_demux_label1_tx.c deleted file mode 100644 index 57e1efe5f915..000000000000 --- a/net/mcl/files/patch-test_demux_label1_tx.c +++ /dev/null @@ -1,13 +0,0 @@ ---- check/alc/test_demux_label1_tx.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_demux_label1_tx.c Wed Oct 15 17:12:56 2003 -@@ -25,6 +25,10 @@ - - #include <stdio.h> - -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #else diff --git a/net/mcl/files/patch-test_dyn_tsi.c b/net/mcl/files/patch-test_dyn_tsi.c deleted file mode 100644 index bf09722b074f..000000000000 --- a/net/mcl/files/patch-test_dyn_tsi.c +++ /dev/null @@ -1,13 +0,0 @@ ---- check/alc/test_dyn_tsi.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_dyn_tsi.c Wed Oct 15 17:13:37 2003 -@@ -30,6 +30,10 @@ - - #include <stdio.h> - -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #else diff --git a/net/mcl/files/patch-test_multi_sessions1.c b/net/mcl/files/patch-test_multi_sessions1.c deleted file mode 100644 index 0b0af22dd2b1..000000000000 --- a/net/mcl/files/patch-test_multi_sessions1.c +++ /dev/null @@ -1,14 +0,0 @@ ---- check/alc/test_multi_sessions1.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_multi_sessions1.c Wed Oct 15 17:11:53 2003 -@@ -24,6 +24,11 @@ - */ - - #include <stdio.h> -+ -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #else diff --git a/net/mcl/files/patch-test_multi_sessions2.c b/net/mcl/files/patch-test_multi_sessions2.c deleted file mode 100644 index 0033a72b5a86..000000000000 --- a/net/mcl/files/patch-test_multi_sessions2.c +++ /dev/null @@ -1,14 +0,0 @@ ---- check/alc/test_multi_sessions2.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_multi_sessions2.c Wed Oct 15 17:12:13 2003 -@@ -25,6 +25,11 @@ - */ - - #include <stdio.h> -+ -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #include <io.h> diff --git a/net/mcl/files/patch-test_no_tx.c b/net/mcl/files/patch-test_no_tx.c deleted file mode 100644 index e6f1e0b90d83..000000000000 --- a/net/mcl/files/patch-test_no_tx.c +++ /dev/null @@ -1,13 +0,0 @@ ---- check/alc/test_no_tx.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_no_tx.c Wed Oct 15 17:10:20 2003 -@@ -25,6 +25,10 @@ - - #include <stdio.h> - -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #else diff --git a/net/mcl/files/patch-test_rebootable_client.c b/net/mcl/files/patch-test_rebootable_client.c deleted file mode 100644 index 9ee9725b77a9..000000000000 --- a/net/mcl/files/patch-test_rebootable_client.c +++ /dev/null @@ -1,13 +0,0 @@ ---- check/alc/test_rebootable_client.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_rebootable_client.c Wed Oct 15 17:18:38 2003 -@@ -35,6 +35,10 @@ - #include <stdio.h> - #include <string.h> - -+#ifdef FREEBSD -+#include <sys/time.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #else diff --git a/net/mcl/files/patch-test_seq_of_tx_sessions.c b/net/mcl/files/patch-test_seq_of_tx_sessions.c deleted file mode 100644 index 31d967ca431e..000000000000 --- a/net/mcl/files/patch-test_seq_of_tx_sessions.c +++ /dev/null @@ -1,14 +0,0 @@ ---- check/alc/test_seq_of_tx_sessions.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_seq_of_tx_sessions.c Wed Oct 15 17:11:13 2003 -@@ -25,6 +25,11 @@ - */ - - #include <stdio.h> -+ -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #else diff --git a/net/mcl/files/patch-test_several_fec_codecs.c b/net/mcl/files/patch-test_several_fec_codecs.c deleted file mode 100644 index 34da7be64644..000000000000 --- a/net/mcl/files/patch-test_several_fec_codecs.c +++ /dev/null @@ -1,13 +0,0 @@ ---- check/alc/test_several_fec_codecs.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_several_fec_codecs.c Wed Oct 15 17:05:40 2003 -@@ -28,6 +28,10 @@ - - #include <stdio.h> - -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #else diff --git a/net/mcl/files/patch-test_vtm_rx.c b/net/mcl/files/patch-test_vtm_rx.c deleted file mode 100644 index a0cf05b33306..000000000000 --- a/net/mcl/files/patch-test_vtm_rx.c +++ /dev/null @@ -1,13 +0,0 @@ ---- check/alc/test_vtm_rx.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_vtm_rx.c Wed Oct 15 17:14:28 2003 -@@ -27,6 +27,10 @@ - - #include <stdio.h> - -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #else diff --git a/net/mcl/files/patch-test_vtm_tx.c b/net/mcl/files/patch-test_vtm_tx.c deleted file mode 100644 index 8d26b0f60d2d..000000000000 --- a/net/mcl/files/patch-test_vtm_tx.c +++ /dev/null @@ -1,13 +0,0 @@ ---- check/alc/test_vtm_tx.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_vtm_tx.c Wed Oct 15 17:14:02 2003 -@@ -25,6 +25,10 @@ - - #include <stdio.h> - -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #else diff --git a/net/mcl/files/patch-test_wait_rx_receiver.c b/net/mcl/files/patch-test_wait_rx_receiver.c deleted file mode 100644 index c03c4a4be206..000000000000 --- a/net/mcl/files/patch-test_wait_rx_receiver.c +++ /dev/null @@ -1,12 +0,0 @@ ---- check/alc/test_wait_rx_receiver.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_wait_rx_receiver.c Wed Oct 15 17:09:56 2003 -@@ -27,6 +27,9 @@ - #include <stdio.h> - - -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif - - #ifdef WIN32 - #include <winsock2.h> diff --git a/net/mcl/files/patch-test_wait_rx_sender.c b/net/mcl/files/patch-test_wait_rx_sender.c deleted file mode 100644 index 694af55beed3..000000000000 --- a/net/mcl/files/patch-test_wait_rx_sender.c +++ /dev/null @@ -1,12 +0,0 @@ ---- check/alc/test_wait_rx_sender.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_wait_rx_sender.c Wed Oct 15 17:09:33 2003 -@@ -27,6 +27,9 @@ - #include <stdio.h> - - -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif - - #ifdef WIN32 - #include <winsock2.h> diff --git a/net/mcl/files/patch-test_wait_tx.c b/net/mcl/files/patch-test_wait_tx.c deleted file mode 100644 index b0b816cc8cd8..000000000000 --- a/net/mcl/files/patch-test_wait_tx.c +++ /dev/null @@ -1,13 +0,0 @@ ---- check/alc/test_wait_tx.c.orig Tue Jul 22 19:37:39 2003 -+++ check/alc/test_wait_tx.c Wed Oct 15 17:09:00 2003 -@@ -25,6 +25,10 @@ - - #include <stdio.h> - -+#ifdef FREEBSD -+#include <sys/types.h> -+#endif -+ - #ifdef WIN32 - #include <winsock2.h> - #else diff --git a/net/mcl/pkg-descr b/net/mcl/pkg-descr deleted file mode 100644 index 27a280bad227..000000000000 --- a/net/mcl/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -This is a port of MCLv3, an open source implementation of the ALC and -NORM Reliable Multicast Protocols. - -The MCLv3 project is an Open-Source GNU/GPL, multi-platform -implementation of the two major reliable multicast protocols being -standardized by the RMT IETF working group: ALC/LCT and NORM. It is -composed of a C/C++ library and several applications built on top of it -and provides an easy-to-use and integrated solution for reliable and -highly scalable multicast delivery of data. - -WWW: http://www.inrialpes.fr/planete/people/roca/mcl/mcl.html - -- Panagiotis Astithas -past@noc.ntua.gr diff --git a/net/mcl/pkg-plist b/net/mcl/pkg-plist deleted file mode 100644 index 2e3b802a574e..000000000000 --- a/net/mcl/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -bin/fcast -bin/flute -bin/robcast_client -bin/robcast_server -lib/libmclalc.a -include/mcl_lib_api.h -include/alc/mcl_lib_api_alc.h -@dirrm include/alc diff --git a/net/mpd5/Makefile b/net/mpd5/Makefile deleted file mode 100644 index 0024aae2ee56..000000000000 --- a/net/mpd5/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# New ports collection makefile for: mpd -# Date created: 20 Sep 2005 -# Whom: Archie Cobbs -# -# $FreeBSD$ -# - -PORTNAME= mpd -DISTVERSION= 4.1 -CATEGORIES= net -MASTER_SITES= SF -MASTER_SITE_SUBDIR= mpd -DIST_SUBDIR= mpd4 - -MAINTAINER= mav@alkar.net -COMMENT= Multi-link PPP daemon based on netgraph(4) - -LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel - -LATEST_LINK= mpd4 -MTREE_FILE= ${FILESDIR}/mpd4.mtree -MAN8= mpd4.8 -MANCOMPRESSED= maybe -USE_RC_SUBR= mpd4.sh -HTMLNUM!= jot 62 1 -CONFSUF= conf links secret script -DOCSDIR= ${TARGETDIR}/share/doc/mpd4 -PORTDOCS= ${HTMLNUM:S/^/mpd/:S/$/.html/} mpd.html mpd.ps README \ - mpd_toc.html -PLIST_DIRS= etc/mpd4 -PLIST_FILES= ${CONFSUF:S/^/etc\/mpd4\/mpd./:S/$/.sample/} sbin/mpd4 - -USE_OPENSSL= yes - -.include <bsd.port.mk> diff --git a/net/mpd5/distinfo b/net/mpd5/distinfo deleted file mode 100644 index febec0430fb9..000000000000 --- a/net/mpd5/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -SIZE (mpd4/mpd-4.1.tar.gz) = 407348 -MD5 (mpd4/mpd-4.1.tar.gz) = 05528ae9f64624d9cafbb9eec3bd3a73 -SHA256 (mpd4/mpd-4.1.tar.gz) = 7c9a512b4eeacb2ada7c6bdc17e0cc7d63688115d2537248e95df377322b70eb diff --git a/net/mpd5/files/mpd4.mtree b/net/mpd5/files/mpd4.mtree deleted file mode 100644 index 530d666792dd..000000000000 --- a/net/mpd5/files/mpd4.mtree +++ /dev/null @@ -1,28 +0,0 @@ -# $FreeBSD$ - -/set type=dir uname=root gname=wheel mode=0755 -. - etc - rc.d - .. - .. - sbin - .. - etc - mpd4 - .. - .. - man - cat8 uname=man - .. - man8 - .. - .. - share - doc - mpd4 - .. - .. - .. -.. - diff --git a/net/mpd5/files/mpd4.sh.in b/net/mpd5/files/mpd4.sh.in deleted file mode 100644 index acc229458c4e..000000000000 --- a/net/mpd5/files/mpd4.sh.in +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: mpd -# REQUIRE: NETWORKING -# BEFORE: SERVERS - -# -# Add the following lines to /etc/rc.conf to enable mpd4: -# mpd_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable mpd4. -# mpd_flags (string): Set to "-b" by default. -# Extra flags passed to start command. -# -# See mpd(8) for flags. -# - -. %%RC_SUBR%% - -name="mpd4" -rcvar=`set_rcvar mpd` - -load_rc_config ${name} - -: ${mpd_enable="NO"} -: ${mpd_flags="-b"} - -pidfile="/var/run/${name}.pid" -command="%%PREFIX%%/sbin/${name}" -required_files="%%PREFIX%%/etc/${name}/mpd.conf %%PREFIX%%/etc/${name}/mpd.links" - -case "${mpd_flags}" in -*-p\ *) - echo "ERROR: \$mpd_flags includes -p option." \ - "PID file is already set to $pidfile." - exit 1 - ;; -*) - command_args="-p ${pidfile} ${mpd_flags}" - ;; -esac - -run_rc_command "$1" diff --git a/net/mpd5/files/patch-gcc41 b/net/mpd5/files/patch-gcc41 deleted file mode 100644 index 4d90395c60e6..000000000000 --- a/net/mpd5/files/patch-gcc41 +++ /dev/null @@ -1,49 +0,0 @@ ---- src/command.h.orig Sun Feb 11 23:22:25 2007 -+++ src/command.h Fri Apr 6 09:17:50 2007 -@@ -10,6 +10,8 @@ - #ifndef _COMMAND_H_ - #define _COMMAND_H_ - -+#include "vars.h" -+ - /* - * DEFINITIONS - */ -@@ -26,8 +28,6 @@ - struct optinfo options; - }; - -- extern const struct cmdtab gCommands[]; -- - struct cmdtab; - typedef const struct cmdtab *CmdTab; - struct cmdtab -@@ -38,6 +38,8 @@ - int (*admit)(CmdTab cmd); - void *arg; - }; -+ -+ extern const struct cmdtab gCommands[]; - - /* - * FUNCTIONS ---- src/ipcp.h.orig Sun Feb 11 23:22:25 2007 -+++ src/ipcp.h Fri Apr 6 09:10:32 2007 -@@ -17,6 +17,7 @@ - #include <sys/types.h> - #include <netinet/in_systm.h> - #include <netinet/ip.h> -+#include "command.h" - #include "phys.h" - #include "fsm.h" - #include "timer.h" ---- src/ipv6cp.h.orig Sun Feb 11 23:22:25 2007 -+++ src/ipv6cp.h Fri Apr 6 09:10:51 2007 -@@ -11,6 +11,7 @@ - #include <sys/types.h> - #include <netinet/in_systm.h> - #include <netinet/ip.h> -+#include "command.h" - - /* - * DEFINITONS diff --git a/net/mpd5/pkg-descr b/net/mpd5/pkg-descr deleted file mode 100644 index 1660303c845d..000000000000 --- a/net/mpd5/pkg-descr +++ /dev/null @@ -1,37 +0,0 @@ -Mpd is a netgraph(4) based implementation of the multi-link PPP -protocol for FreeBSD. It is designed to be both fast and flexible. -It handles configuration and negotiation in user land, while routing -all data packets strictly in the kernel. It supports several of -the numerous PPP sub-protocols and extensions, such as: - - Multi-link PPP capability - PAP, CHAP, MS-CHAP and EAP authentication - PPP compression and encryption - IPCP and IPV6CP parameter negotiation - -Mpd have support for many link types: - - Serial port modem - Point-to-Point Tunnelling Protocol (PPTP) - Layer Two Tunnelling Protocol (L2TP) - PPP over Ethernet (PPPoE) - PPP over TCP - PPP over UDP - PPP over specified netgraph(4) node - -Mpd also includes many additional features: - - IPv4 and IPv6 support - RADIUS authentication and accounting - NetFlow traffic accounting - Network address translation (NAT) - Dial-on-demand with idle timeout - Multiple active connections running simultaneously - Dynamic demand based link management (also known as ``rubber bandwidth'') - Powerful chat scripting language for asynchronous serial ports - Pre-tested chat scripts for several common modems and ISDN TAs - Clean device-type independent design - Comprehensive logging - Telnet and HTTP control interfaces. - -WWW: http://www.sourceforge.net/projects/mpd diff --git a/net/ns2/Makefile b/net/ns2/Makefile deleted file mode 100644 index c15390459084..000000000000 --- a/net/ns2/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# New ports collection makefile for: ns-2 -# Date created: 26 April 1999 -# Whom: obonilla -# -# $FreeBSD$ -# - -PORTNAME= ns -PORTVERSION= 2.29 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://www.isi.edu/nsnam/dist/ -DISTNAME= ns-src-${PORTVERSION} - -MAINTAINER= laszlof@FreeBSD.org -COMMENT= Discrete event simulator for networking research - -BUILD_DEPENDS= ${LOCALBASE}/lib/libtclcl.a:${PORTSDIR}/devel/tclcl -RUN_DEPENDS= ${LOCALBASE}/bin/tclsh8.4:${PORTSDIR}/lang/tcl84 - -MAN1= ns.1 -MANCOMPRESSED= no - -WRKSRC= ${WRKDIR}/ns-${PORTVERSION} - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4 -MAKE_ARGS+= "LDFLAGS=${LDFLAGS}" - -ALL_TARGET= - -.include <bsd.port.pre.mk> - -post-patch: - @${REINPLACE_CMD} -e 's|/usr/src/local/Tcl-1.0 \\|${LOCALBASE}/include/tclcl \\|g' \ - -e 's|/usr/src/local/Tcl-1.0\"|${LOCALBASE}/lib\"|g' \ - ${WRKSRC}/configure - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/ns.1 ${PREFIX}/man/man1 - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/tcl/ex/*.tcl ${EXAMPLESDIR} - -.include <bsd.port.post.mk> diff --git a/net/ns2/distinfo b/net/ns2/distinfo deleted file mode 100644 index 52c4930afe06..000000000000 --- a/net/ns2/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (ns-src-2.29.tar.gz) = 4942fbdbc0179cdf2774778857c49ff0 -SHA256 (ns-src-2.29.tar.gz) = cd78c0eafb4f6f170c3ff9a3e3eace5ff43d1f2abbcb5b18cac67bfe3624bcad -SIZE (ns-src-2.29.tar.gz) = 55291146 diff --git a/net/ns2/pkg-descr b/net/ns2/pkg-descr deleted file mode 100644 index 8fa42f66b1cd..000000000000 --- a/net/ns2/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -NS is a discrete event simulator targeted at networking research. -NS provides substantial support for simulation of TCP, routing, -and multicast protocols. - -WWW: http://www.isi.edu/nsnam/ns/ diff --git a/net/ns2/pkg-plist b/net/ns2/pkg-plist deleted file mode 100644 index 0e884a07c452..000000000000 --- a/net/ns2/pkg-plist +++ /dev/null @@ -1,122 +0,0 @@ -bin/ns -%%EXAMPLESDIR%%/agent-gen-script.tcl -%%EXAMPLESDIR%%/agent-gen.tcl -%%EXAMPLESDIR%%/callback_demo.tcl -%%EXAMPLESDIR%%/diffusion-prob-run.tcl -%%EXAMPLESDIR%%/diffusion-rate-run.tcl -%%EXAMPLESDIR%%/dumbbell.tcl -%%EXAMPLESDIR%%/example.tcl -%%EXAMPLESDIR%%/flooding-run.tcl -%%EXAMPLESDIR%%/flooding.tcl -%%EXAMPLESDIR%%/fq-cbr.tcl -%%EXAMPLESDIR%%/fq.tcl -%%EXAMPLESDIR%%/grid2.tcl -%%EXAMPLESDIR%%/gridkeeper.tcl -%%EXAMPLESDIR%%/hier-rtg-10.tcl -%%EXAMPLESDIR%%/hier-rtg-100.tcl -%%EXAMPLESDIR%%/hts100-0.tcl -%%EXAMPLESDIR%%/lantest.tcl -%%EXAMPLESDIR%%/large-scale-web-traffic-old.tcl -%%EXAMPLESDIR%%/large-scale-web-traffic.tcl -%%EXAMPLESDIR%%/large-sim.tcl -%%EXAMPLESDIR%%/mac-test.tcl -%%EXAMPLESDIR%%/many_tcp.tcl -%%EXAMPLESDIR%%/manytcp_trmodel.tcl -%%EXAMPLESDIR%%/mcast.tcl -%%EXAMPLESDIR%%/miptest.tcl -%%EXAMPLESDIR%%/nam-example-em.tcl -%%EXAMPLESDIR%%/nam-example.tcl -%%EXAMPLESDIR%%/nam-large-flowid.tcl -%%EXAMPLESDIR%%/nam-separate-trace.tcl -%%EXAMPLESDIR%%/nam-simplexlink.tcl -%%EXAMPLESDIR%%/omni-run.tcl -%%EXAMPLESDIR%%/pkts.tcl -%%EXAMPLESDIR%%/ranvar.tcl -%%EXAMPLESDIR%%/rbp_demo.tcl -%%EXAMPLESDIR%%/rc.tcl -%%EXAMPLESDIR%%/redlight.tcl -%%EXAMPLESDIR%%/rng-test.tcl -%%EXAMPLESDIR%%/rng-test2.tcl -%%EXAMPLESDIR%%/route-gen.tcl -%%EXAMPLESDIR%%/sat-aloha.tcl -%%EXAMPLESDIR%%/sat-iridium-links.tcl -%%EXAMPLESDIR%%/sat-iridium-nodes.tcl -%%EXAMPLESDIR%%/sat-iridium.tcl -%%EXAMPLESDIR%%/sat-mixed.tcl -%%EXAMPLESDIR%%/sat-repeater.tcl -%%EXAMPLESDIR%%/sat-teledesic-links.tcl -%%EXAMPLESDIR%%/sat-teledesic-nodes.tcl -%%EXAMPLESDIR%%/sat-teledesic.tcl -%%EXAMPLESDIR%%/sat-wired.tcl -%%EXAMPLESDIR%%/shuttle-mcast.tcl -%%EXAMPLESDIR%%/shuttle.tcl -%%EXAMPLESDIR%%/simple-dyn.tcl -%%EXAMPLESDIR%%/simple-eqp.tcl -%%EXAMPLESDIR%%/simple-eqp1.tcl -%%EXAMPLESDIR%%/simple-fsm-tcp.tcl -%%EXAMPLESDIR%%/simple-heap.tcl -%%EXAMPLESDIR%%/simple-plm.tcl -%%EXAMPLESDIR%%/simple-rtg.tcl -%%EXAMPLESDIR%%/simple-rtp.tcl -%%EXAMPLESDIR%%/simple-tcp.tcl -%%EXAMPLESDIR%%/simple-webcache-comp.tcl -%%EXAMPLESDIR%%/simple-webcache-trace.tcl -%%EXAMPLESDIR%%/simple-webcache.tcl -%%EXAMPLESDIR%%/simple-wireless.tcl -%%EXAMPLESDIR%%/simple.tcl -%%EXAMPLESDIR%%/src_test.tcl -%%EXAMPLESDIR%%/srm-adapt-rep-session.tcl -%%EXAMPLESDIR%%/srm-adapt-rep.tcl -%%EXAMPLESDIR%%/srm-adapt-req-session.tcl -%%EXAMPLESDIR%%/srm-adapt-req.tcl -%%EXAMPLESDIR%%/srm-chain-session.tcl -%%EXAMPLESDIR%%/srm-chain.tcl -%%EXAMPLESDIR%%/srm-demo.tcl -%%EXAMPLESDIR%%/srm-session.tcl -%%EXAMPLESDIR%%/srm-star-session.tcl -%%EXAMPLESDIR%%/srm-star.tcl -%%EXAMPLESDIR%%/srm.tcl -%%EXAMPLESDIR%%/ss.tcl -%%EXAMPLESDIR%%/swp.tcl -%%EXAMPLESDIR%%/t1000.tcl -%%EXAMPLESDIR%%/tcp-et.tcl -%%EXAMPLESDIR%%/tcp-int.tcl -%%EXAMPLESDIR%%/tcpapp.tcl -%%EXAMPLESDIR%%/tcpecn.tcl -%%EXAMPLESDIR%%/tcpsrm.tcl -%%EXAMPLESDIR%%/test-drr.tcl -%%EXAMPLESDIR%%/test-emulator.tcl -%%EXAMPLESDIR%%/test-rcvr.tcl -%%EXAMPLESDIR%%/test-rlm.tcl -%%EXAMPLESDIR%%/test-suite-intserv.tcl -%%EXAMPLESDIR%%/test-suite.tcl -%%EXAMPLESDIR%%/test-tbf.tcl -%%EXAMPLESDIR%%/tg.tcl -%%EXAMPLESDIR%%/topo-gen-script.tcl -%%EXAMPLESDIR%%/topo-gen.tcl -%%EXAMPLESDIR%%/topo-view.tcl -%%EXAMPLESDIR%%/trace-driven.tcl -%%EXAMPLESDIR%%/udpdata.tcl -%%EXAMPLESDIR%%/varybell.tcl -%%EXAMPLESDIR%%/virtual-classifier.tcl -%%EXAMPLESDIR%%/vlantest-flat.tcl -%%EXAMPLESDIR%%/vlantest-hier.tcl -%%EXAMPLESDIR%%/vlantest-mcst.tcl -%%EXAMPLESDIR%%/web-traffic-embobj.tcl -%%EXAMPLESDIR%%/web-traffic.tcl -%%EXAMPLESDIR%%/wired-cum-wireless-sim.tcl -%%EXAMPLESDIR%%/wireless-demo-csci694.tcl -%%EXAMPLESDIR%%/wireless-dsdv-newnode.tcl -%%EXAMPLESDIR%%/wireless-flooding.tcl -%%EXAMPLESDIR%%/wireless-landmark.tcl -%%EXAMPLESDIR%%/wireless-mip-test.tcl -%%EXAMPLESDIR%%/wireless-mitf.tcl -%%EXAMPLESDIR%%/wireless-newnode-energy.tcl -%%EXAMPLESDIR%%/wireless-pkt-demo.tcl -%%EXAMPLESDIR%%/wireless-shadowing-test.tcl -%%EXAMPLESDIR%%/wireless-shadowing-vis-test.tcl -%%EXAMPLESDIR%%/wireless-simple-mac.tcl -%%EXAMPLESDIR%%/wireless-test.tcl -%%EXAMPLESDIR%%/wireless.tcl -%%EXAMPLESDIR%%/worm.tcl -@dirrm %%EXAMPLESDIR%% diff --git a/net/opal3/Makefile b/net/opal3/Makefile deleted file mode 100644 index 3f9a39f14257..000000000000 --- a/net/opal3/Makefile +++ /dev/null @@ -1,55 +0,0 @@ -# New ports collection makefile for: openh323 -# Date created: Thu Feb 17 15:00:48 GMT 2000 -# Whom: Roger Hardiman <roger@freebsd.org> -# -# $FreeBSD$ -# - -PORTNAME= opal -PORTVERSION= 2.2.4 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://www.voxgratia.org/releases/ -DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g}-src- -EXTRACT_SUFX= tar.gz - -MAINTAINER= jbq@caraldi.com -COMMENT= VoIP abstraction library - -LIB_DEPENDS= pt_r.1:${PORTSDIR}/devel/pwlib - -WRKSRC= ${WRKDIR}/${PORTNAME}_v${PORTVERSION:S/./_/g} - -# In opal's Makefile the default make's target is optshared -ALL_TARGET= optshared -USE_GMAKE= yes -USE_AUTOTOOLS= autoconf:259 -USE_GNOME= gnometarget -GNU_CONFIGURE= yes -USE_LDCONFIG= yes - -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" \ - LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" -PLIST_SUB= PORTVERSION=${PORTVERSION} - -.include <bsd.port.pre.mk> - -# Avoid build error on 64-bit architectures -.if (${ARCH} == "amd64") || (${ARCH} == "ia64") || (${ARCH} == "sparc64") -CFLAGS+= -fPIC -.endif - -.ifdef (WITH_FFMPEG) -LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg -CONFIGURE_ARGS+= --enable-h263avcodec=${LOCALBASE}/include/ffmpeg -.endif - -.ifdef (WITH_SPEEX) -LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex -BUILD_DEPENDS+= ${LOCALBASE}/include/speex/speex_echo.h:${PORTSDIR}/audio/speex -CONFIGURE_ARGS+= --enable-localspeex=no -.else -CONFIGURE_ARGS+= --enable-localspeex=yes -.endif - -.include <bsd.port.post.mk> diff --git a/net/opal3/distinfo b/net/opal3/distinfo deleted file mode 100644 index fd4e60083302..000000000000 --- a/net/opal3/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (opal-v2_2_4-src-tar.gz) = 5f204f240bb9f2ba8cff73c9ede90d8e -SHA256 (opal-v2_2_4-src-tar.gz) = eb2519d32f717bb33b11d78b9019f5c45a3b0ef527138efe83dfdf51a329d494 -SIZE (opal-v2_2_4-src-tar.gz) = 4107375 diff --git a/net/opal3/files/patch-Makefile.in b/net/opal3/files/patch-Makefile.in deleted file mode 100644 index 43ac050eaf72..000000000000 --- a/net/opal3/files/patch-Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ ---- Makefile.in.orig Sat Apr 22 16:06:54 2006 -+++ Makefile.in Thu Jun 22 09:39:04 2006 -@@ -427,10 +427,6 @@ - SOURCES += $(OPAL_SRCDIR)/lids/vpblid.cxx - endif - --ifdef HAS_SANGOMA --SOURCES += $(OPAL_SRCDIR)/lids/sangomalid.cxx --endif -- - - ################## - # Software codecs diff --git a/net/opal3/files/patch-configure.ac b/net/opal3/files/patch-configure.ac deleted file mode 100644 index 0ff721a18000..000000000000 --- a/net/opal3/files/patch-configure.ac +++ /dev/null @@ -1,24 +0,0 @@ ---- ./configure.ac.orig Tue Feb 21 00:47:28 2006 -+++ ./configure.ac Sun Jan 7 13:01:14 2007 -@@ -60,6 +60,11 @@ - AC_CHECK_FILE(/usr/include/ptlib.h, HAS_PTLIB=1) - if test "${HAS_PTLIB:-unset}" != "unset" ; then - AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , /usr/share/pwlib/make/) -+ else -+ AC_CHECK_FILE(${prefix}/include/ptlib.h, HAS_PTLIB=1) -+ if test "${HAS_PTLIB:-unset}" != "unset" ; then -+ AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , ${prefix}/bin) -+ fi - fi - fi - fi -@@ -84,6 +89,9 @@ - fi - if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" -+fi -+if test "x$PWLIBDIR" = "x${prefix}"; then -+ PWLIBDIR="${prefix}/share/pwlib/" - fi - - echo "PWLib prefix set to.... $PWLIBDIR" diff --git a/net/opal3/files/patch-libspeex b/net/opal3/files/patch-libspeex deleted file mode 100644 index 5e452da8fc77..000000000000 --- a/net/opal3/files/patch-libspeex +++ /dev/null @@ -1,13 +0,0 @@ ---- src/codec/speex/libspeex/kiss_fft.h.orig Thu Jun 22 09:56:34 2006 -+++ src/codec/speex/libspeex/kiss_fft.h Thu Jun 22 09:56:53 2006 -@@ -6,10 +6,6 @@ - #include <math.h> - #include <memory.h> - --#if !(defined(P_MACOSX) || defined(P_FREEBSD)) --#include <malloc.h> // RMF --#endif -- - #ifdef __cplusplus - extern "C" { - #endif diff --git a/net/opal3/files/patch-opal_inc.mak.in b/net/opal3/files/patch-opal_inc.mak.in deleted file mode 100644 index 1b879aae2153..000000000000 --- a/net/opal3/files/patch-opal_inc.mak.in +++ /dev/null @@ -1,11 +0,0 @@ ---- opal_inc.mak.in.orig Fri Apr 7 08:12:16 2006 -+++ opal_inc.mak.in Fri Apr 7 08:13:55 2006 -@@ -103,7 +103,7 @@ - endif - - --OPAL_BASE = opal_$(PLATFORM_TYPE)_$(OPAL_SUFFIX) -+OPAL_BASE = opal_$(OPAL_SUFFIX) - OPAL_FILE = lib$(OPAL_BASE)$(LIB_TYPE).$(LIB_SUFFIX) - - LDFLAGS += -L$(OPAL_LIBDIR) diff --git a/net/opal3/pkg-descr b/net/opal3/pkg-descr deleted file mode 100644 index c232d9469719..000000000000 --- a/net/opal3/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -OPAL is the "next generation" of OpenH323 that has a new architecture. Not only -does it support H.323 and SIP, but new VoIP protocols or devices can be added -very easily. It is being actively developed and is used by several projects -such as Ekiga (http://www.ekiga.org) - -BTW: OPAL is an acronym for Open Phone Abstraction Library, but that is not -really important :) - -WWW: http://www.voxgratia.org/ diff --git a/net/opal3/pkg-plist b/net/opal3/pkg-plist deleted file mode 100644 index 27baed23afbd..000000000000 --- a/net/opal3/pkg-plist +++ /dev/null @@ -1,127 +0,0 @@ -include/opal/asn/gcc.h -include/opal/asn/h225.h -include/opal/asn/h235.h -include/opal/asn/h245.h -include/opal/asn/h248.h -include/opal/asn/h4501.h -include/opal/asn/h45010.h -include/opal/asn/h45011.h -include/opal/asn/h4502.h -include/opal/asn/h4503.h -include/opal/asn/h4504.h -include/opal/asn/h4505.h -include/opal/asn/h4506.h -include/opal/asn/h4507.h -include/opal/asn/h4508.h -include/opal/asn/h4509.h -include/opal/asn/h501.h -include/opal/asn/mcs.h -include/opal/asn/t38.h -include/opal/asn/x880.h -include/opal/codec/allcodecs.h -include/opal/codec/echocancel.h -include/opal/codec/g711codec.h -include/opal/codec/g726codec.h -include/opal/codec/g729codec.h -include/opal/codec/gsmcodec.h -include/opal/codec/h261codec.h -include/opal/codec/h263codec.h -include/opal/codec/ilbccodec.h -include/opal/codec/lpc10codec.h -include/opal/codec/mscodecs.h -include/opal/codec/opalwavfile.h -include/opal/codec/rfc2833.h -include/opal/codec/silencedetect.h -include/opal/codec/speexcodec.h -include/opal/codec/vidcodec.h -include/opal/h323/channels.h -include/opal/h323/gkclient.h -include/opal/h323/gkserver.h -include/opal/h323/h225ras.h -include/opal/h323/h235auth.h -include/opal/h323/h323.h -include/opal/h323/h323annexg.h -include/opal/h323/h323caps.h -include/opal/h323/h323con.h -include/opal/h323/h323ep.h -include/opal/h323/h323neg.h -include/opal/h323/h323pdu.h -include/opal/h323/h323rtp.h -include/opal/h323/h323trans.h -include/opal/h323/h450pdu.h -include/opal/h323/h501pdu.h -include/opal/h323/peclient.h -include/opal/h323/q931.h -include/opal/h323/svcctrl.h -include/opal/h323/transaddr.h -include/opal/iax2/causecode.h -include/opal/iax2/frame.h -include/opal/iax2/iax2.h -include/opal/iax2/iax2con.h -include/opal/iax2/iax2ep.h -include/opal/iax2/iax2medstrm.h -include/opal/iax2/iedata.h -include/opal/iax2/ies.h -include/opal/iax2/processor.h -include/opal/iax2/receiver.h -include/opal/iax2/remote.h -include/opal/iax2/safestrings.h -include/opal/iax2/sound.h -include/opal/iax2/transmit.h -include/opal/iax2/version.h -include/opal/lids/QTIoctl.h -include/opal/lids/alllids.h -include/opal/lids/ixjDefs.h -include/opal/lids/ixjidb.h -include/opal/lids/ixjlid.h -include/opal/lids/lid.h -include/opal/lids/lidep.h -include/opal/lids/sangomalid.h -include/opal/lids/vblasterlid.h -include/opal/lids/vpbapi.h -include/opal/lids/vpblid.h -include/opal/opal/buildopts.h -include/opal/opal/call.h -include/opal/opal/connection.h -include/opal/opal/endpoint.h -include/opal/opal/guid.h -include/opal/opal/ivr.h -include/opal/opal/manager.h -include/opal/opal/mediacmd.h -include/opal/opal/mediafmt.h -include/opal/opal/mediastrm.h -include/opal/opal/opalvxml.h -include/opal/opal/patch.h -include/opal/opal/pcss.h -include/opal/opal/transcoders.h -include/opal/opal/transports.h -include/opal/rtp/jitter.h -include/opal/rtp/rtp.h -include/opal/sip/sdp.h -include/opal/sip/sip.h -include/opal/sip/sipcon.h -include/opal/sip/sipep.h -include/opal/sip/sippdu.h -include/opal/t120/h323t120.h -include/opal/t120/t120proto.h -include/opal/t120/x224.h -include/opal/t38/h323t38.h -include/opal/t38/t38proto.h -lib/libopal.so -lib/libopal_r.so -lib/libopal_r.so.2 -lib/libopal_r.so.2.2 -lib/libopal_r.so.%%PORTVERSION%% -%%DATADIR%%/opal_inc.mak -@dirrm %%DATADIR%% -@dirrm include/opal/t38 -@dirrm include/opal/t120 -@dirrm include/opal/sip -@dirrm include/opal/rtp -@dirrm include/opal/opal -@dirrm include/opal/lids -@dirrm include/opal/iax2 -@dirrm include/opal/h323 -@dirrm include/opal/codec -@dirrm include/opal/asn -@dirrm include/opal diff --git a/net/openospfd/Makefile b/net/openospfd/Makefile deleted file mode 100644 index 78635b4e2ad5..000000000000 --- a/net/openospfd/Makefile +++ /dev/null @@ -1,83 +0,0 @@ -# New ports collection makefile for: openospfd-devel -# Date created: Mar 08 2005 -# Whom: Florent Thoumie <flz@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= openospfd-devel -PORTVERSION= ${SNAPSHOT} -PORTREVISION= 2 -CATEGORIES= net -MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenOSPFD/:openbsd \ - ${MASTER_SITE_LOCAL:S/$/:freebsd/g} -MASTER_SITE_SUBDIR= flz/openospfd/:freebsd -DISTFILES= ${PORTNAME}-${PORTVERSION}.tgz:freebsd \ - if_media.h:freebsd hash.h:freebsd -DIST_SUBDIR= openospfd -EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tgz - -MAINTAINER= flz@FreeBSD.org -COMMENT= Free implementation of the Open Shortest Path First Protocol - -LIB_DEPENDS= event-1.3b:${PORTSDIR}/devel/libevent - -CONFLICTS= zebra-0* quagga-0* - -SNAPSHOT= 20060516 -WRKSRC= ${WRKDIR} -MANCOMPRESSED= yes -USE_RC_SUBR= openospfd.sh -MAKE_ENV= BINDIR="${PREFIX}/sbin" \ - MANDIR="${PREFIX}/man/man" -COPTS= -I${LOCALBASE}/include -DMD5_DIGEST_LENGTH=16 -LDADD= -L${LOCALBASE}/lib -levent -lmd - -PLIST_FILES= sbin/ospfctl \ - sbin/ospfd - -MAN5= ospfd.conf.5 -MAN8= ospfctl.8 \ - ospfd.8 - -SUBDIRS= ospfd \ - ospfctl - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500037 -IGNORE= requires macros present in <sys/tree.h> -.endif - -post-extract: - @${CP} ${DISTDIR}/${DIST_SUBDIR}/if_media.h ${WRKSRC}/ospfctl/ - @${CP} ${DISTDIR}/${DIST_SUBDIR}/hash.h ${WRKSRC}/ospfd/ - -post-patch: - @${REINPLACE_CMD} -e "s|sys/hash.h|hash.h|" ${WRKSRC}/ospfd/lsupdate.c - @${REINPLACE_CMD} -e "s|<net/if_media.h>|\"if_media.h\"|" ${WRKSRC}/ospfctl/ospfctl.c - @${REINPLACE_CMD} -e "s|rtm_fmask|rtm_use|" ${WRKSRC}/ospfd/kroute.c - @${REINPLACE_CMD} -e "/rc.conf.local/d" ${WRKSRC}/ospfd/ospfd.conf.5 - @${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|g" \ - ${WRKSRC}/ospfd/ospfd.h \ - ${WRKSRC}/ospfd/ospfd.8 \ - ${WRKSRC}/ospfd/ospfd.conf.5 - @${REINPLACE_CMD} -e "s|__dead||" \ - ${WRKSRC}/ospfd/log.h \ - ${WRKSRC}/ospfd/ospfd.c \ - ${WRKSRC}/ospfctl/ospfctl.c - -do-build: -.for i in ${SUBDIRS} - cd ${WRKSRC}/$i; make COPTS="${COPTS}" LDADD="${LDADD}" -.endfor - -do-install: -.for i in ${SUBDIRS} - cd ${WRKSRC}/$i; make install ${MAKE_ENV} LOCALBASE=${LOCALBASE} -.endfor - -post-install: - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - -.include <bsd.port.post.mk> diff --git a/net/openospfd/distinfo b/net/openospfd/distinfo deleted file mode 100644 index d89dffdb83ce..000000000000 --- a/net/openospfd/distinfo +++ /dev/null @@ -1,9 +0,0 @@ -MD5 (openospfd/openospfd-devel-20060516.tgz) = 93fdd6650a14d316e374e8a17aeedcdc -SHA256 (openospfd/openospfd-devel-20060516.tgz) = 0498bcecc2e592a695bdf7696e473796d9d320f6c66211802fdb0a45a04b7662 -SIZE (openospfd/openospfd-devel-20060516.tgz) = 80381 -MD5 (openospfd/if_media.h) = 4ff9297f5c133425dafe3ca565c0f811 -SHA256 (openospfd/if_media.h) = 58225d0ed363c2beb23426f0f8254089d4541c3334776f3750ba434d4491a1d1 -SIZE (openospfd/if_media.h) = 23762 -MD5 (openospfd/hash.h) = 0c397692b9b152f1bca968b6248bc09c -SHA256 (openospfd/hash.h) = 0c5561c6765325f49d82d5c5fd9471dbfadf21f44e554758eb112a23f7c317b1 -SIZE (openospfd/hash.h) = 3488 diff --git a/net/openospfd/files/openospfd.sh.in b/net/openospfd/files/openospfd.sh.in deleted file mode 100644 index b9a7c2606865..000000000000 --- a/net/openospfd/files/openospfd.sh.in +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: ospfd -# REQUIRE: LOGIN abi -# BEFORE: securelevel -# KEYWORD: shutdown - -# Add the following line to /etc/rc.conf to enable `openospfd': -# -# openospfd_enable="YES" -# -# See ospfd(8) for openospfd_flags -# - -. "%%RC_SUBR%%" - -name="openospfd" -rcvar=`set_rcvar` - -extra_commands="reload" -command="%%PREFIX%%/sbin/ospfd" -required_files="%%PREFIX%%/etc/ospfd.conf" - -load_rc_config "$name" -: ${openospfd_enable="NO"} -: ${openospfd_flags=""} - -run_rc_command "$1" diff --git a/net/openospfd/files/patch-ospfd_packet.c b/net/openospfd/files/patch-ospfd_packet.c deleted file mode 100644 index 414554a9a169..000000000000 --- a/net/openospfd/files/patch-ospfd_packet.c +++ /dev/null @@ -1,26 +0,0 @@ ---- ospfd/packet.c.orig 9 Mar 2006 13:31:57 -0000 1.20 -+++ ospfd/packet.c 16 Mar 2006 18:21:38 -0000 -@@ -34,7 +34,7 @@ - #include "log.h" - #include "ospfe.h" - --int ip_hdr_sanity_check(const struct ip *, u_int16_t); -+int ip_hdr_sanity_check(struct ip *, u_int16_t); - int ospf_hdr_sanity_check(const struct ip *, - struct ospf_hdr *, u_int16_t, const struct iface *); - struct iface *find_iface(struct ospfd_conf *, struct in_addr); -@@ -196,8 +196,13 @@ recv_packet(int fd, short event, void *b - } - - int --ip_hdr_sanity_check(const struct ip *ip_hdr, u_int16_t len) -+ip_hdr_sanity_check(struct ip *ip_hdr, u_int16_t len) - { -+#if defined(__NetBSD__) || defined(__FreeBSD__) -+ /* FreeBSD and NetBSD modify the IP header. Undo it! */ -+ ip_hdr->ip_len = htons(ip_hdr->ip_len + (ip_hdr->ip_hl << 2)); -+#endif -+ - if (ntohs(ip_hdr->ip_len) != len) { - log_debug("recv_packet: invalid IP packet length %u", - ntohs(ip_hdr->ip_len)); diff --git a/net/openospfd/pkg-descr b/net/openospfd/pkg-descr deleted file mode 100644 index 261b929be89e..000000000000 --- a/net/openospfd/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -OpenOSPFD is a FREE implementation of the Open Shortest Path First Protocol. -It allows ordinary machines to be used as routers exchanging routes with -other systems speaking the OSPF protocol. - -WWW: http://www.openbgp.org/ - -- Florent Thoumie -flz@xbsd.org diff --git a/net/openospfd/pkg-install b/net/openospfd/pkg-install deleted file mode 100644 index dda8b52eb6fd..000000000000 --- a/net/openospfd/pkg-install +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -case $2 in -POST-INSTALL) - USER=_ospfd - GROUP=${USER} - UID=131 - GID=${UID} - PW=/usr/sbin/pw - - if ${PW} group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if ${PW} groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if ${PW} user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if ${PW} useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d "/var/empty" -s /sbin/nologin -c "OSPF Daemon" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - exit 0 - ;; -esac diff --git a/net/openslp/files/slpd.in b/net/openslp/files/slpd.in deleted file mode 100644 index 1ec3175a6d76..000000000000 --- a/net/openslp/files/slpd.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: slpd -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf to enable slpd: -# -# slpd_enable="YES" -# - -slpd_enable=${slpd_enable-"NO"} -slpd_flags=${slpd_flags-"-p /var/run/slpd.pid"} - -. %%RC_SUBR%% - -name=slpd -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/slpd -pidfile="/var/run/${name}.pid" - -load_rc_config ${name} -run_rc_command "$1" diff --git a/net/p5-IO-Socket-INET6/Makefile b/net/p5-IO-Socket-INET6/Makefile deleted file mode 100644 index 0f885107c300..000000000000 --- a/net/p5-IO-Socket-INET6/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# New ports collection makefile for: p5-IO-INET6 -# Date created: 02 July 2003 -# Whom: Janos.Mohacsi@bsd.hu -# -# $FreeBSD$ -# - -PORTNAME= IO-Socket-INET6 -PORTVERSION= 2.51 -PORTREVISION= 1 -CATEGORIES= net perl5 ipv6 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= IO -PKGNAMEPREFIX= p5- - -MAINTAINER= janos.mohacsi@bsd.hu -COMMENT= Perl module with object interface to AF_INET6 domain sockets - -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6 -RUN_DEPENDS= ${BUILD_DEPENDS} - -MAN3= IO::Socket::INET6.3 - -PERL_CONFIGURE= yes - -.include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500600 -EXTRA_PATCHES= ${PATCHDIR}/5.005_03.diff -.endif - -.include <bsd.port.post.mk> - diff --git a/net/p5-IO-Socket-INET6/distinfo b/net/p5-IO-Socket-INET6/distinfo deleted file mode 100644 index afe07fdf8505..000000000000 --- a/net/p5-IO-Socket-INET6/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (IO-Socket-INET6-2.51.tar.gz) = e4ef8b7944fa036cda19dc3e1cc688a6 -SHA256 (IO-Socket-INET6-2.51.tar.gz) = 09ce71fd016ed098ad7be78aa0ec1746360820e8d3a738a377bbcfffe8dd4208 -SIZE (IO-Socket-INET6-2.51.tar.gz) = 9618 diff --git a/net/p5-IO-Socket-INET6/files/5.005_03.diff b/net/p5-IO-Socket-INET6/files/5.005_03.diff deleted file mode 100644 index 10dc9fa57dae..000000000000 --- a/net/p5-IO-Socket-INET6/files/5.005_03.diff +++ /dev/null @@ -1,32 +0,0 @@ - -$FreeBSD$ - ---- INET6.pm.orig -+++ INET6.pm -@@ -10,7 +10,7 @@ - package IO::Socket::INET6; - - use strict; --our(@ISA, $VERSION); -+use vars qw(@ISA $VERSION); - use IO::Socket; - use Socket; - use Socket6; -@@ -22,7 +22,7 @@ - $VERSION = "2.51"; - #Purpose: allow protocol independent protocol and original interface. - --my $EINVAL = exists(&Errno::EINVAL) ? Errno::EINVAL() : 1; -+my $EINVAL = defined(&Errno::EINVAL) ? Errno::EINVAL() : 1; - - IO::Socket::INET6->register_domain( AF_INET6 ); - -@@ -190,7 +190,7 @@ - } - - if ($arg->{ReusePort}) { -- $sock->sockopt(SO_REUSEPORT,1) or -+ $sock->sockopt(0x0200,1) or - return _error($sock, $!, "sockopt: $!"); - } - diff --git a/net/p5-IO-Socket-INET6/pkg-descr b/net/p5-IO-Socket-INET6/pkg-descr deleted file mode 100644 index 714ad2896191..000000000000 --- a/net/p5-IO-Socket-INET6/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -IO::Socket::INET6 provides an object interface to creating and using sockets -in the AF_INET6 domain. It is built upon the IO::Socket interface and -inherits all the methods defined by IO::Socket. As a consequence, this module -is protocol independent, it can run both IPv6 & IPv4, when DNS names are -passed. - -WWW: http://search.cpan.org/dist/IO-INET6/ diff --git a/net/p5-IO-Socket-INET6/pkg-plist b/net/p5-IO-Socket-INET6/pkg-plist deleted file mode 100644 index aea89e1b2ff9..000000000000 --- a/net/p5-IO-Socket-INET6/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -%%SITE_PERL%%/IO/Socket/INET6.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/INET6/.packlist -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/INET6 -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO -@dirrmtry %%SITE_PERL%%/IO/Socket -@dirrmtry %%SITE_PERL%%/IO diff --git a/net/p5-Net-EPP/Makefile b/net/p5-Net-EPP/Makefile deleted file mode 100644 index 4130182bb6ed..000000000000 --- a/net/p5-Net-EPP/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# New ports collection makefile for: Net-EPP-Client -# Date created: 18 Feb 2006 -# Whom: Aaron Dalton <aaron@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= Net-EPP-Client -PORTVERSION= 0.06 -CATEGORIES= net perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Net -PKGNAMEPREFIX= p5- - -MAINTAINER= aaron@FreeBSD.org -COMMENT= Client library for the TCP transport for EPP - -BUILD_DEPENDS= ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \ - ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \ - ${SITE_PERL}/Net/EPP/Frame.pm:${PORTSDIR}/net/p5-Net-EPP-Frame -RUN_DEPENDS+= ${BUILD_DEPENDS} - -MAN3= Net::EPP::Client.3 - -PERL_CONFIGURE= yes - -.include <bsd.port.mk> diff --git a/net/p5-Net-EPP/distinfo b/net/p5-Net-EPP/distinfo deleted file mode 100644 index 290efd5de733..000000000000 --- a/net/p5-Net-EPP/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (Net-EPP-Client-0.06.tar.gz) = 22194c3ec3de44f9128c234f2d39b412 -SHA256 (Net-EPP-Client-0.06.tar.gz) = 95753024fa439171edf4fd1d35cbd22c5b7b2ac9a08589d4734b717f66de1a14 -SIZE (Net-EPP-Client-0.06.tar.gz) = 10947 diff --git a/net/p5-Net-EPP/pkg-descr b/net/p5-Net-EPP/pkg-descr deleted file mode 100644 index 06626031dc44..000000000000 --- a/net/p5-Net-EPP/pkg-descr +++ /dev/null @@ -1,17 +0,0 @@ -EPP is the Extensible Provisioning Protocol. EPP (defined in RFC 3730) is -an application layer client-server protocol for the provisioning and -management of objects stored in a shared central repository. Specified in -XML, the protocol defines generic object management operations and an -extensible framework that maps protocol operations to objects. As of -writing, its only well-developed application is the provisioning of -Internet domain names, hosts, and related contact details. - -RFC 3734 defines a TCP based transport model for EPP, and this module -implements a client for that model. You can establish and manage EPP -connections and send and receive responses over this connection. - -Net::EPP::Client also provides some time-saving features, such as being -able to provide request and response frames as Net::EPP::Frame objects. - -WWW: http://search.cpan.org/dist/Net-EPP-Client/ -Author: Gavin Brown <epp@centralnic.com> diff --git a/net/p5-Net-EPP/pkg-plist b/net/p5-Net-EPP/pkg-plist deleted file mode 100644 index 206119dfddaf..000000000000 --- a/net/p5-Net-EPP/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -%%SITE_PERL%%/Net/EPP/Client.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/EPP/Client/.packlist -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/EPP/Client -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/EPP -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net -@dirrmtry %%SITE_PERL%%/Net/EPP -@dirrmtry %%SITE_PERL%%/Net diff --git a/net/pear-Net_LDAP2/Makefile b/net/pear-Net_LDAP2/Makefile deleted file mode 100644 index 3668c54e1a99..000000000000 --- a/net/pear-Net_LDAP2/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# Ports collection makefile for: pear-Net_LDAP -# Date created: 26 June 2004 -# Whom: Gerrit Beine (<tux@pinguru.net>) -# -# $FreeBSD$ -# - -PORTNAME= Net_LDAP -PORTVERSION= 0.7.1 -PORTREVISION= 1 -CATEGORIES= net pear - -MAINTAINER= gerrit.beine@gmx.de -COMMENT= OO interface for searching and manipulating LDAP-entries - -BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear -RUN_DEPENDS= ${BUILD_DEPENDS} - -USE_PHP= ldap -CATEGORY= Net -FILES= LDAP.php \ - LDAP/Entry.php LDAP/Filter.php LDAP/RootDSE.php \ - LDAP/Schema.php LDAP/Search.php LDAP/Util.php -DOCS= README.txt RootDSE.txt STATUS Schema.txt utf8.txt -_DOCSDIR= ./doc -TESTS= tests.php - -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/devel/pear/bsd.pear.mk" -.include <bsd.port.post.mk> diff --git a/net/pear-Net_LDAP2/distinfo b/net/pear-Net_LDAP2/distinfo deleted file mode 100644 index 8a676aaeecfd..000000000000 --- a/net/pear-Net_LDAP2/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (PEAR/Net_LDAP-0.7.1.tgz) = 6ecf4a77488b637081bf9328b039dfbb -SHA256 (PEAR/Net_LDAP-0.7.1.tgz) = 18830460d31af938797d4e0f30ad4136d951d34c85ce0903c9490126323f39ce -SIZE (PEAR/Net_LDAP-0.7.1.tgz) = 33903 diff --git a/net/pear-Net_LDAP2/pkg-descr b/net/pear-Net_LDAP2/pkg-descr deleted file mode 100644 index 92111429d672..000000000000 --- a/net/pear-Net_LDAP2/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -Net Ldap is a clone of Perls Net::LDAP object interface to -ldapservers. It does not contain all of Net::LDAPs features, -but has: -* A simple OO-interface to connections, searches and entries. -* Support for tls and ldap v3. -* Simple modification, deletion and creation of ldapentries. -* Support for schema handling. - -WWW: http://pear.php.net/package/Net_LDAP/ diff --git a/net/pear-Net_URL2/Makefile b/net/pear-Net_URL2/Makefile deleted file mode 100644 index e27a27b20b13..000000000000 --- a/net/pear-Net_URL2/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# Ports collection makefile for: pear-Net_URL -# Date created: 2003-04-04 -# Whom: Roman Neuhauser (<neuhauser@bellavista.cz>) -# -# $FreeBSD$ -# - -PORTNAME= Net_URL -PORTVERSION= 1.0.14 -CATEGORIES= net www pear - -MAINTAINER= ports@FreeBSD.org -COMMENT= Easy parsing of URLs - -BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear -RUN_DEPENDS= ${BUILD_DEPENDS} - -CATEGORY= Net -FILES= URL.php -EXAMPLES= example.php -_EXAMPLESDIR= docs - -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/devel/pear/bsd.pear.mk" -.include <bsd.port.post.mk> diff --git a/net/pear-Net_URL2/distinfo b/net/pear-Net_URL2/distinfo deleted file mode 100644 index 553b0d0ce450..000000000000 --- a/net/pear-Net_URL2/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (PEAR/Net_URL-1.0.14.tgz) = 4be5ac05dc5a9bc54a33cec66d87eb0a -SHA256 (PEAR/Net_URL-1.0.14.tgz) = 36d2d3ac0ac2969513ca3a5e99a5a2e2cb401956ab03b47e718903f131677c45 -SIZE (PEAR/Net_URL-1.0.14.tgz) = 5173 diff --git a/net/pear-Net_URL2/pkg-descr b/net/pear-Net_URL2/pkg-descr deleted file mode 100644 index 665b71d7b107..000000000000 --- a/net/pear-Net_URL2/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Provides easy parsing of URLs and their constituent parts. - -WWW: http://pear.php.net/package/Net_URL/ diff --git a/net/pear-XML_RPC2/Makefile b/net/pear-XML_RPC2/Makefile deleted file mode 100644 index e51b87b2c58f..000000000000 --- a/net/pear-XML_RPC2/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# Ports collection makefile for: pear-XML_RPC -# Date created: 7 Feb 2007 -# Whom: Alex Dupre <ale@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= XML_RPC -PORTVERSION= 1.5.1 -CATEGORIES= net devel pear - -MAINTAINER= ports@FreeBSD.org -COMMENT= PHP implementation of the XML-RPC protocol - -BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear -RUN_DEPENDS= ${BUILD_DEPENDS} - -CATEGORY= XML -FILES= RPC.php RPC/Server.php RPC/Dump.php -TESTS= allgot.inc empty-value-struct.php empty-value.php \ - extra-lines.php protoport.php test_Dump.php types.php - -post-extract: - @${MKDIR} ${WRKSRC}/RPC - @${MV} ${WRKSRC}/Server.php ${WRKSRC}/Dump.php ${WRKSRC}/RPC - -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/devel/pear/bsd.pear.mk" -.include <bsd.port.post.mk> diff --git a/net/pear-XML_RPC2/distinfo b/net/pear-XML_RPC2/distinfo deleted file mode 100644 index 054cbcabdd3f..000000000000 --- a/net/pear-XML_RPC2/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (PEAR/XML_RPC-1.5.1.tgz) = 1b516162ad65971b5fd04a7c279627ec -SHA256 (PEAR/XML_RPC-1.5.1.tgz) = a5b517eef799df148d6c85ab19e188715a22c069f4507dcb792e5efb7d0f117e -SIZE (PEAR/XML_RPC-1.5.1.tgz) = 32215 diff --git a/net/pear-XML_RPC2/pkg-descr b/net/pear-XML_RPC2/pkg-descr deleted file mode 100644 index 2df4a18b393a..000000000000 --- a/net/pear-XML_RPC2/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -A PEAR-ified version of Useful Inc's XML-RPC for PHP. - -It has support for HTTP/HTTPS transport, proxies and authentication. - -WWW: http://pear.php.net/package/XML_RPC/ diff --git a/net/rqm/Makefile b/net/rqm/Makefile deleted file mode 100644 index c651b7f9defb..000000000000 --- a/net/rqm/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# New ports collection makefile for: rqm -# Date created: 30 January 2000 -# Whom: fenner -# -# $FreeBSD$ -# - -PORTNAME= rqm -PORTVERSION= 1.0.0 -CATEGORIES= mbone -MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rqm/1.0.0/ - -MAINTAINER= fenner@FreeBSD.org -COMMENT= A graphical RTP quality monitor - -LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 -BUILD_DEPENDS= ${LOCALBASE}/lib/libuclmmbase.a:${PORTSDIR}/devel/uclmmbase - -WRKSRC= ${WRKDIR}/rqm/ - -HAS_CONFIGURE= yes -CONFIGURE_ENV= PREFIX=${PREFIX} X11BASE=${X11BASE} - -ALL_TARGET= rqm - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rqm ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/rqm - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rqm -.endif - -.include <bsd.port.mk> diff --git a/net/rqm/distinfo b/net/rqm/distinfo deleted file mode 100644 index 386a40bb1a63..000000000000 --- a/net/rqm/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (rqm-1.0.0.tar.gz) = 406a9bfe4a3e9ad9f1a981701072f54a -SHA256 (rqm-1.0.0.tar.gz) = 8e9a2a0a2ed2abe7feb24f6e7fd47a195cb0e91ee8e0daea736c692f12a01f41 -SIZE (rqm-1.0.0.tar.gz) = 3853534 diff --git a/net/rqm/files/patch-aa b/net/rqm/files/patch-aa deleted file mode 100644 index ba0b3c041db2..000000000000 --- a/net/rqm/files/patch-aa +++ /dev/null @@ -1,35 +0,0 @@ ---- configure.orig Sun Oct 3 08:47:46 1999 -+++ configure Sun Jan 30 16:05:14 2000 -@@ -53,9 +53,9 @@ - - echo "Configuring rqm v$VERSION for $OSTYPE" - --GCCWFLAGS="-W -Wall -Wbad-function-cast -Wmissing-prototypes -Wno-implicit-int -Werror" --TCL_LIBS="../tk-8.0/unix/libtk8.0.a ../tcl-8.0/unix/libtcl8.0.a" --TCL_INCL="-I../tk-8.0/generic -I../tcl-8.0/generic" -+GCCWFLAGS="-W -Wall -Wbad-function-cast -Wmissing-prototypes -Wno-implicit-int" -+TCL_LIBS="-L${PREFIX}/lib -ltk84 -ltcl84" -+TCL_INCL="-I${PREFIX}/include/tk8.4/generic -I${PREFIX}/include/tcl8.4/generic" - DEFS="" - - AR="ar" -@@ -103,7 +103,7 @@ - ;; - FreeBSD ) CC="gcc" - WFLAGS=$GCCWFLAGS -- INCLUDE="-I/usr/local/include" -+ INCLUDE="-I${PREFIX}/include -I${X11BASE}/include" - LDLIBS="-lm" - DEBUG="-g" - CHAR="-fsigned-char" -@@ -172,8 +172,8 @@ - s@__AR__@$AR@ - s@__RANLIB__@$RANLIB@ - s@__WFLAGS__@$WFLAGS@ --s@__INCLUDE__@$TCL_INCL $INCLUDE -I../common@g --s@__LDLIBS__@$TCL_LIBS -L../common -lcommon $LDLIBS@g -+s@__INCLUDE__@$TCL_INCL $INCLUDE -I${PREFIX}/include/uclmmbase@g -+s@__LDLIBS__@$TCL_LIBS -L${PREFIX}/lib -luclmmbase $LDLIBS@g - s@__CHAR__@$CHAR@ - s@__DEBUG__@$DEBUG2@ - s@__OPTIMIZE__@$OPTIMIZE2@ diff --git a/net/rqm/files/patch-ab b/net/rqm/files/patch-ab deleted file mode 100644 index c6f546039ba6..000000000000 --- a/net/rqm/files/patch-ab +++ /dev/null @@ -1,38 +0,0 @@ ---- main.c.orig Wed Mar 8 08:32:07 2000 -+++ main.c Wed Mar 8 08:32:28 2000 -@@ -67,7 +67,7 @@ - } - } - --static void rtp_callback(struct rtp *s, rtp_event *e) -+static void rqm_rtp_callback(struct rtp *s, rtp_event *e) - { - rtp_packet *p = (rtp_packet *) e->data; - rtcp_sr *sr = (rtcp_sr *) e->data; -@@ -177,7 +177,7 @@ - char *addr; - char *port; - char cmd[100]; -- u_int32 curr_rtp_time; -+ u_int32_t curr_rtp_time; - #ifdef WIN32 - WSADATA WSAdata; - if (WSAStartup(WS_VERSION_TWO, &WSAdata) != 0 && WSAStartup(WS_VERSION_ONE, &WSAdata) != 0) { -@@ -199,7 +199,7 @@ - addr = (char *) strtok(argv[1], "/"); - port = (char *) strtok(NULL, "\0"); - -- rtp_session = rtp_init(addr, atoi(port), atoi(port), 15, 64000, rtp_callback, NULL); -+ rtp_session = rtp_init(addr, atoi(port), atoi(port), 15, 64000, rqm_rtp_callback, NULL); - - /* Initialise the user interface... */ - if (tcl_init(argc, argv) == FALSE) { -@@ -215,7 +215,7 @@ - rtp_set_sdes(rtp_session, rtp_my_ssrc(rtp_session), RTCP_SDES_TOOL, VERSION, strlen(VERSION)); - - gettimeofday(&prev_t, NULL); -- curr_rtp_time = (u_int32) lrand48(); -+ curr_rtp_time = (u_int32_t) lrand48(); - while (Tk_GetNumMainWindows() > 0) { - gettimeofday(&curr_t, NULL); - curr_rtp_time += (int) (tv_diff(curr_t, prev_t) * 8000); diff --git a/net/rqm/files/patch-ac b/net/rqm/files/patch-ac deleted file mode 100644 index 00ed9055e3ea..000000000000 --- a/net/rqm/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig Sun Feb 1 17:22:05 2004 -+++ Makefile.in Sun Feb 1 17:22:12 2004 -@@ -6,7 +6,7 @@ - OBJS = main.o ui.o - BIN = rqm - --$(BIN): $(OBJS) ../common/libcommon.a -+$(BIN): $(OBJS) - $(CC) $(CFLAGS) $(OBJS) __LDLIBS__ __PROFILE__ __OPTIMIZE__ __CHECK_LIB__ -o $(BIN) - - .c.o: diff --git a/net/rqm/pkg-descr b/net/rqm/pkg-descr deleted file mode 100644 index 0f66e31ecfde..000000000000 --- a/net/rqm/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -The Real-time Transport Protocol, RTP [1], provides quality of service -feedback with reception reports sent alongside the media stream. If the -media is sent via IP multicast it is possible for a third party to snoop -on these reception reports, displaying reception quality for all members -of a group. The RQM application performs such snooping. - -WWW: http://www-mice.cs.ucl.ac.uk/multimedia/software/rqm/ diff --git a/net/rqm/pkg-plist b/net/rqm/pkg-plist deleted file mode 100644 index bdf2098794d3..000000000000 --- a/net/rqm/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/rqm -share/doc/rqm/README -@dirrm share/doc/rqm diff --git a/net/rtptools/Makefile b/net/rtptools/Makefile deleted file mode 100644 index d4934a97caf1..000000000000 --- a/net/rtptools/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# New ports collection makefile for: rtptools -# Date created: 5 January 1998 -# Whom: fenner -# -# $FreeBSD$ -# - -PORTNAME= rtptools -PORTVERSION= 1.18 -CATEGORIES= mbone -MASTER_SITES= http://www.cs.columbia.edu/IRT/software/rtptools/download/ - -MAINTAINER= fenner@FreeBSD.org -COMMENT= A set of tools to record, playback and monitor RTPv2 data streams - -GNU_CONFIGURE= yes - -DOCFILES= README ChangeLog.html rtptools.html - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/rtptools -.for i in ${DOCFILES} - ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/rtptools -.endfor -.endif - -.include <bsd.port.mk> diff --git a/net/rtptools/distinfo b/net/rtptools/distinfo deleted file mode 100644 index 1d1d589b507d..000000000000 --- a/net/rtptools/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (rtptools-1.18.tar.gz) = 9a344c5a4fed2c4be0151cc03f043bb3 -SHA256 (rtptools-1.18.tar.gz) = 7fa16f71713ca16c5ce9cf5ccbd6796315f3402bdef9c7f7023ffac32c8e2ab0 -SIZE (rtptools-1.18.tar.gz) = 119272 diff --git a/net/rtptools/files/patch-ab b/net/rtptools/files/patch-ab deleted file mode 100644 index c1d142b4a914..000000000000 --- a/net/rtptools/files/patch-ab +++ /dev/null @@ -1,23 +0,0 @@ ---- rtp.h.orig Thu Mar 9 07:35:26 2000 -+++ rtp.h Sat Apr 21 21:52:49 2001 -@@ -110,13 +110,18 @@ - #define RTCP_VALID_MASK (0xc000 | 0x2000 | 0xfe) - #define RTCP_VALID_VALUE ((RTP_VERSION << 14) | RTCP_SR) - -+#define RTCP_FRACTION(x) (((x) >> 24) & 0xFF) -+#define RTCP_LOST(x) ((((x) & 0xFFFFFF) < 0x800000) ? \ -+ ((x) & 0xFFFFFF) \ -+ : (((x) & 0xFFFFFF) - 0x1000000)) -+ - /* - * Reception report block - */ - typedef struct { - u_int32 ssrc; /* data source being reported */ -- unsigned int fraction:8; /* fraction lost since last SR/RR */ -- int lost:24; /* cumul. no. pkts lost (signed!) */ -+ u_int32 fraclost; /* fraction lost since last SR/RR and */ -+ /* cumul. no. pkts lost (signed!) */ - u_int32 last_seq; /* extended last seq. no. received */ - u_int32 jitter; /* interarrival jitter */ - u_int32 lsr; /* last SR packet from this source */ diff --git a/net/rtptools/files/patch-ac b/net/rtptools/files/patch-ac deleted file mode 100644 index 28056951ca69..000000000000 --- a/net/rtptools/files/patch-ac +++ /dev/null @@ -1,24 +0,0 @@ ---- rtpdump.c.orig Sat Apr 7 08:02:13 2001 -+++ rtpdump.c Sat Apr 21 21:54:10 2001 -@@ -429,8 +429,8 @@ - for (i = 0; i < r->common.count; i++) { - fprintf(out, " (ssrc=0x%lx fraction=%g lost=%lu last_seq=%lu jit=%lu lsr=%lu dlsr=%lu )\n", - (unsigned long)ntohl(r->r.sr.rr[i].ssrc), -- r->r.sr.rr[i].fraction / 256., -- (unsigned long)ntohl(r->r.sr.rr[i].lost), /* XXX I'm pretty sure this is wrong */ -+ RTCP_FRACTION(ntohl(r->r.sr.rr[i].fraclost)) / 256., -+ RTCP_LOST(ntohl(r->r.sr.rr[i].fraclost)), - (unsigned long)ntohl(r->r.sr.rr[i].last_seq), - (unsigned long)ntohl(r->r.sr.rr[i].jitter), - (unsigned long)ntohl(r->r.sr.rr[i].lsr), -@@ -446,8 +446,8 @@ - for (i = 0; i < r->common.count; i++) { - fprintf(out, " (ssrc=0x%lx fraction=%g lost=%lu last_seq=%lu jit=%lu lsr=%lu dlsr=%lu )\n", - (unsigned long)ntohl(r->r.rr.rr[i].ssrc), -- r->r.rr.rr[i].fraction / 256., -- (unsigned long)ntohl(r->r.rr.rr[i].lost), -+ RTCP_FRACTION(ntohl(r->r.rr.rr[i].fraclost)) / 256., -+ RTCP_LOST(ntohl(r->r.rr.rr[i].fraclost)), - (unsigned long)ntohl(r->r.rr.rr[i].last_seq), - (unsigned long)ntohl(r->r.rr.rr[i].jitter), - (unsigned long)ntohl(r->r.rr.rr[i].lsr), diff --git a/net/rtptools/files/patch-ad b/net/rtptools/files/patch-ad deleted file mode 100644 index 130804a6b732..000000000000 --- a/net/rtptools/files/patch-ad +++ /dev/null @@ -1,27 +0,0 @@ - -$FreeBSD$ - ---- rtpsend.c.orig Tue Sep 10 13:24:10 2002 -+++ rtpsend.c Sat Aug 16 08:58:12 2003 -@@ -353,9 +353,9 @@ - if (strcmp(n->type, "ssrc") == 0) - rr->ssrc = htonl(n->num); - else if (strcmp(n->type, "fraction") == 0) -- rr->fraction = (n->num)*256; -- else if (strcmp(n->type, "lost") == 0) /* PP: alignment OK? */ -- rr->lost = htonl(n->num); -+ rr->fraclost = htonl((ntohl(rr->fraclost) & 0x00ffffff) | ((n->num)*256 << 24)); -+ else if (strcmp(n->type, "lost") == 0) -+ rr->fraclost = htonl((ntohl(rr->fraclost) & 0xff000000) | n->num); - else if (strcmp(n->type, "last_seq") == 0) - rr->last_seq = htonl(n->num); - else if (strcmp(n->type, "jit") == 0) -@@ -919,6 +919,8 @@ - local = (struct in_addr *)host->h_addr_list[0];
- sin.sin_addr = *local;
- } -+ } else { -+ usage(argv[0]); - } - - /* create/connect sockets */ diff --git a/net/rtptools/pkg-descr b/net/rtptools/pkg-descr deleted file mode 100644 index 4dc99ec5b4af..000000000000 --- a/net/rtptools/pkg-descr +++ /dev/null @@ -1,13 +0,0 @@ -The rtptools distribution consists of a number of small applications that -can be used for processing RTP data. - -rtpplay - play back RTP sessions recorded by rtpdump -rtpsend - generate RTP packets from textual description, generated by hand or - rtpdump -rtpdump - parse and print RTP packets, generating output files suitable for - rtpplay and rtpsend -rtptrans - RTP translator between unicast and multicast networks diff --git a/net/rtptools/pkg-plist b/net/rtptools/pkg-plist deleted file mode 100644 index 8283c955a1fe..000000000000 --- a/net/rtptools/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -bin/rtpdump -bin/rtpplay -bin/rtpsend -bin/rtptrans -share/doc/rtptools/README -share/doc/rtptools/ChangeLog.html -share/doc/rtptools/rtptools.html -@dirrm share/doc/rtptools diff --git a/net/sdr/Makefile b/net/sdr/Makefile deleted file mode 100644 index a4003f4bb28c..000000000000 --- a/net/sdr/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# New ports collection makefile for: sdr -# Date created: 5 September 1996 -# Whom: Bill Fenner <fenner@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= sdr -PORTVERSION= 3.0 -CATEGORIES= mbone tk84 -MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/3.0/ - -MAINTAINER= fenner@FreeBSD.org -COMMENT= Multicast Session Directory - -LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 -BUILD_DEPENDS= ${LOCALBASE}/lib/libuclmmbase.a:${PORTSDIR}/devel/uclmmbase - -PLIST_FILES= bin/sdr -WRKSRC= ${WRKDIR}/sdr/freebsd -HAS_CONFIGURE= yes -USE_GMAKE= yes -USE_X_PREFIX= yes - -post-extract: - @${CP} ${FILESDIR}/Makefile.freebsd ${WRKSRC}/Makefile.freebsd - -.include <bsd.port.mk> diff --git a/net/sdr/distinfo b/net/sdr/distinfo deleted file mode 100644 index 4be266510e61..000000000000 --- a/net/sdr/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (sdr-3.0.tar.gz) = df7df7911b5c08df968296f970f9e31d -SHA256 (sdr-3.0.tar.gz) = 57a6d631e14b2270dad04048a0f50c38dfcf3bfda67b96d8265820d567761460 -SIZE (sdr-3.0.tar.gz) = 304691 diff --git a/net/sdr/files/Makefile.freebsd b/net/sdr/files/Makefile.freebsd deleted file mode 100644 index 303950175fa9..000000000000 --- a/net/sdr/files/Makefile.freebsd +++ /dev/null @@ -1,8 +0,0 @@ -CC = gcc -g -O -fwritable-strings -INCLUDES = -I${X11BASE}/include -I${LOCALBASE}/include/tk8.4 -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include/uclmmbase -LIBS = -L${LOCALBASE}/lib -ltk84 -ltcl84 -luclmmbase -L${X11BASE}/lib -lX11 -lz -lm -CFLAGS = $(INCLUDES) -DDIFF_BYTE_ORDER -DFREEBSD -DNORANDPROTO -DDEFINED_ERRLIST -Wall -DAUTH -DHAVE_ZLIB -DFreeBSD - -all:: sdr -install: - install -s -c -o root -g wheel -m 555 sdr ${PREFIX}/bin diff --git a/net/sdr/files/patch-ab b/net/sdr/files/patch-ab deleted file mode 100644 index bb154934fbd1..000000000000 --- a/net/sdr/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- ../src/Makefile.template.orig Tue May 25 16:27:44 1999 -+++ ../src/Makefile.template Thu Nov 4 11:05:39 1999 -@@ -88,7 +88,7 @@ - $(SDR_UI_FILES): tcl2c - - parsed_plugins.tcl: ../src/plugin2tcl.tcl -- tclsh8.0 ../src/plugin2tcl.tcl -+ tclsh8.4 ../src/plugin2tcl.tcl - - uweb: $(WWWOBJS) - $(CC) -ggdb -o uweb $(WWWOBJS) $(LIBS) diff --git a/net/sdr/pkg-descr b/net/sdr/pkg-descr deleted file mode 100644 index 4c6400374ee6..000000000000 --- a/net/sdr/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -Sdr is a session directory tool designed to allow the advertisement -and joining of multicast conferences. It was originally based on -sd written by Van Jacobson at LBNL, but implements a later version -of the session description protocol than sd does. - -WWW: http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/ diff --git a/net/spread4/Makefile b/net/spread4/Makefile deleted file mode 100644 index 29dc8264d73b..000000000000 --- a/net/spread4/Makefile +++ /dev/null @@ -1,86 +0,0 @@ -# New ports collection makefile for: spread -# Date created: 11 June 2001 -# Whom: Anders Nordby <anders@fix.no> -# -# $FreeBSD$ -# - -PORTNAME= spread -PORTVERSION= 3.17.3 -CATEGORIES= net perl5 -MASTER_SITES= http://www.cnds.jhu.edu/download/noformdown/ \ - http://www.roughtrade.net/distfiles/ -DISTNAME= ${PORTNAME}-src-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= The Spread Group Communication System, a network toolkit - -GNU_CONFIGURE= yes -USE_PERL5= yes -USE_RC_SUBR= spread.sh -USE_LDCONFIG= yes - -MAKE_ARGS+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS} -RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} -WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION} - -PKGMESSAGE= ${WRKSRC}/license.txt -PORTDOCS= Readme.txt LICENSE -HEADERFILES= sp_func.h sp_func.h sp_events.h -MAN1= spflooder.1 spmonitor.1 spread.1 sptuser.1 spuser.1 -MAN3= libsp.3 SP_connect.3 SP_disconnect.3 SP_equal_group_ids.3 \ - SP_error.3 SP_join.3 SP_leave.3 \ - SP_multicast.3 SP_multigroup_multicast.3 \ - SP_multigroup_scat_multicast.3 SP_poll.3 SP_receive.3 \ - SP_scat_multicast.3 SP_scat_receive.3 - -.include <bsd.port.pre.mk> - -# bsd.port.mk doesn't allow us to use GNU_CONFIGURE and PERL_CONFIGURE together. -PERL_CONFIGURE_ARGS= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \ - INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib" - -_MANPAGES+= ${TARGETDIR}/lib/perl5/${PERL_VERSION}/man/man3/Spread.3 - -post-configure: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ - ${WRKSRC}/docs/${PORTNAME}.1 ${WRKSRC}/docs/spmonitor.1 - -post-build: - @cd ${WRKSRC}/perl/Spread && \ - ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./Makefile.PL ${PERL_CONFIGURE_ARGS} - @cd ${WRKSRC}/perl/Spread && \ - ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile - @cd ${WRKSRC}/perl/Spread && ${MAKE} - -pre-install: - ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - -post-install: -.for f in ${HEADERFILES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/include -.endfor - ${INSTALL_DATA} ${WRKSRC}/sample.spread.conf \ - ${PREFIX}/etc/spread.conf.sample -.if !exists(${PREFIX}/etc/${PORTNAME}.conf) - ${INSTALL_DATA} ${WRKSRC}/sample.spread.conf \ - ${PREFIX}/etc/${PORTNAME}.conf -.endif - ${INSTALL_DATA} ${WRKSRC}/sample.spread.access_ip \ - ${PREFIX}/etc/spread.access_ip.sample -.if !exists(${PREFIX}/etc/spread.access_ip) - ${INSTALL_DATA} ${WRKSRC}/sample.spread.access_ip \ - ${PREFIX}/etc/spread.access_ip -.endif - (cd ${WRKSRC}/perl/Spread && ${MAKE} install) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/perl/Spread/test.pl ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}/LICENSE -.endif - @${CAT} ${PKGMESSAGE} - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - -.include <bsd.port.post.mk> diff --git a/net/spread4/distinfo b/net/spread4/distinfo deleted file mode 100644 index 28d7768e919c..000000000000 --- a/net/spread4/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (spread-src-3.17.3.tar.gz) = 2eec25b5adc96fd840aa251e44325f9f -SHA256 (spread-src-3.17.3.tar.gz) = d675d581621b76aa26e9bcf10a825d4685966925578cbc8b3999e4e8bfdfcff3 -SIZE (spread-src-3.17.3.tar.gz) = 299975 diff --git a/net/spread4/files/patch-Makefile.in b/net/spread4/files/patch-Makefile.in deleted file mode 100644 index 382a7bafe925..000000000000 --- a/net/spread4/files/patch-Makefile.in +++ /dev/null @@ -1,105 +0,0 @@ ---- Makefile.in Thu Sep 23 12:12:52 2004 -+++ Makefile.in Tue Oct 4 14:49:56 2005 -@@ -26,7 +26,7 @@ - #Rules: major -- inc for incompatible change - # : minor -- inc for bugfix or forward compatible change - --LIBVERSION=1.0 -+LIBVERSION=1 - - PATHS= - -@@ -35,7 +35,7 @@ - CFLAGS=@CFLAGS@ - CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@ - LDFLAGS=@LDFLAGS@ --LIBS=@LIBS@ -+LIBS=-L. @LIBS@ - THLDFLAGS=@THLDFLAGS@ - THLIBS=@THLIBS@ - AR=@AR@ -@@ -52,8 +52,10 @@ - PERL=@PERL@ - ENT=@ENT@ - EXEEXT=@EXEEXT@ -+SHLDSONAME=-Wl,-soname,libspread.so.$(LIBVERSION) -+TSHLDSONAME=-Wl,-soname,libtspread.so.$(LIBVERSION) - --TARGETS=spread$(EXEEXT) spuser$(EXEEXT) spflooder$(EXEEXT) spmonitor$(EXEEXT) sptuser${EXEEXT} @LIBSPSO@ @LIBTSPSO@ -+TARGETS=spread$(EXEEXT) spuser$(EXEEXT) spflooder$(EXEEXT) spmonitor$(EXEEXT) sptuser${EXEEXT} @LIBSPSO@ @LIBTSPSO@ libspread.a libtspread.a - - LIBSP_OBJS= alarm.o events.o memory.o sp.o - -@@ -127,8 +129,11 @@ - $(INSTALL) -m 0755 libspread.$(LIBVERSION).dylib $(DESTDIR)$(libdir)/libspread.$(LIBVERSION).dylib - (cd $(DESTDIR)$(libdir); $(SOFTLINK) -f libspread.$(LIBVERSION).dylib libspread.dylib) - --libspread.so: $(LIBSP_SHOBJS) -- $(SHLD) -o $@ $(LIBSP_SHOBJS) $(SHLDFLAGS) $(SHLIBS) -+libspread.so: $@.$(LIBVERSION) -+ $(SOFTLINK) $@.$(LIBVERSION) $@ -+ -+libspread.so.$(LIBVERSION): $(LIBSP_SHOBJS) -+ $(SHLD) -o $@ $(LIBSP_SHOBJS) $(SHLDSONAME) $(SHLDFLAGS) $(SHLIBS) - - install-libspread.so: libspread.so - $(INSTALL) -m 0755 libspread.so $(DESTDIR)$(libdir)/libspread.so.$(LIBVERSION) -@@ -146,8 +151,11 @@ - $(INSTALL) -m 0755 libtspread.$(LIBVERSION).dylib $(DESTDIR)$(libdir)/libtspread.$(LIBVERSION).dylib - (cd $(DESTDIR)$(libdir); $(SOFTLINK) -f libtspread.$(LIBVERSION).dylib libtspread.dylib) - --libtspread.so: $(LIBTSP_SHOBJS) -- $(SHLD) -o $@ $(LIBTSP_SHOBJS) $(SHLDFLAGS) $(SHLIBS) $(THLIBS) -+libtspread.so: $@.$(LIBVERSION) -+ $(SOFTLINK) $@.$(LIBVERSION) $@ -+ -+libtspread.so.$(LIBVERSION): $(LIBTSP_SHOBJS) -+ $(SHLD) -o $@ $(LIBTSP_SHOBJS) $(TSHLDSONAME) $(SHLDFLAGS) $(SHLIBS) $(THLIBS) - - install-libtspread.so: libtspread.so - $(INSTALL) -m 0755 libtspread.so $(DESTDIR)$(libdir)/libtspread.so.$(LIBVERSION) -@@ -156,11 +164,11 @@ - spread$(EXEEXT): $(SPREADOBJS) - $(LD) -o $@ $(SPREADOBJS) $(LDFLAGS) $(LIBS) - --spuser$(EXEEXT): libspread.a user.o -- $(LD) -o $@ user.o $(LDFLAGS) libspread.a $(LIBS) -+spuser$(EXEEXT): libspread.a user.o -+ $(LD) -o $@ user.o $(LDFLAGS) -lspread $(LIBS) - - spflooder$(EXEEXT): libspread.a flooder.o -- $(LD) -o $@ flooder.o $(LDFLAGS) libspread.a $(LIBS) -+ $(LD) -o $@ flooder.o $(LDFLAGS) -lspread $(LIBS) - - spmonitor$(EXEEXT): $(MONITOR_OBJS) - $(LD) -o $@ $(MONITOR_OBJS) $(LDFLAGS) $(LIBS) -@@ -169,7 +177,7 @@ - $(LD) $(THLDFLAGS) -o $@ $(TMONITOR_OBJS) $(LDFLAGS) $(LIBS) $(THLIBS) - - sptuser$(EXEEXT): user.to libtspread.a -- $(LD) $(THLDFLAGS) -o $@ user.to libtspread.a $(LDFLAGS) $(LIBS) $(THLIBS) -+ $(LD) $(THLDFLAGS) -o $@ user.to -lspread $(LDFLAGS) $(LIBS) $(THLIBS) - - spsimple_user$(EXEEXT): simple_user.o libspread.a - $(LD) -o $@ simple_user.o $(LDFLAGS) libspread.a $(LIBS) -@@ -198,7 +206,7 @@ - fi - - clean: -- rm -f *.lo *.tlo *.to *.o *.a *.dylib $(TARGETS) spsimple_user -+ rm -f *.lo *.tlo *.to *.o *.a *.dylib $(TARGETS) spsimple_user *.so.$(LIBVERSION) - rm -f config.cache config.log docs/*.out core - rm -rf autom4te.cache - -@@ -254,11 +262,6 @@ - done - if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \ - $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \ -- fi -- if [ ! -f $(DESTDIR)$(sysconfdir)/spread.conf ]; then \ -- $(INSTALL) -m 644 $(srcdir)/sample.spread.conf $(DESTDIR)$(sysconfdir)/spread.conf; \ -- else \ -- echo "$(DESTDIR)$(sysconfdir)/spread.conf already exists, install will not overwrite"; \ - fi - - uninstallall: uninstall diff --git a/net/spread4/files/patch-auth-ip.c b/net/spread4/files/patch-auth-ip.c deleted file mode 100644 index 6a28acdab04a..000000000000 --- a/net/spread4/files/patch-auth-ip.c +++ /dev/null @@ -1,17 +0,0 @@ ---- auth-ip.c Fri Mar 5 11:32:46 2004 -+++ auth-ip.c Thu Jul 15 21:38:09 2004 -@@ -90,12 +90,9 @@ - /* load spread.access_ip file */ - if (NULL != (fp = fopen(file_name,"r")) ) - Alarmp( SPLOG_INFO, ACM, "ip_init: using file: %s\n", file_name); -- if (fp == NULL) -- if (NULL != (fp = fopen("./spread.access_ip", "r")) ) -- Alarmp( SPLOG_INFO, ACM, "ip_init: using file: ./spread.access_ip\n"); - if (fp == NULL) -- if (NULL != (fp = fopen("/etc/spread.access_ip", "r")) ) -- Alarmp( SPLOG_INFO, ACM, "ip_init: using file: /etc/spread.access_ip\n"); -+ if (NULL != (fp = fopen(SPREAD_ETCDIR "/spread.access_ip", "r")) ) -+ Alarmp( SPLOG_INFO, ACM, "ip_init: using file: " SPREAD_ETCDIR "/spread.access_ip\n"); - if (fp == NULL) - { - Alarmp( SPLOG_ERROR, ACM, "ip_init: IP access control file not found.\nIf you are using IP based access controls, please make sure the file exists.\n"); diff --git a/net/spread4/files/patch-auth-pword.c b/net/spread4/files/patch-auth-pword.c deleted file mode 100644 index 3ff9f6426920..000000000000 --- a/net/spread4/files/patch-auth-pword.c +++ /dev/null @@ -1,17 +0,0 @@ ---- auth-pword.c Fri Mar 5 11:32:46 2004 -+++ auth-pword.c Thu Jul 15 21:40:16 2004 -@@ -118,12 +118,9 @@ - /* load spread.access_ip file */ - if (NULL != (fp = fopen(file_name,"r")) ) - Alarmp( SPLOG_INFO, ACM, "pword_init: using file: %s\n", file_name); -- if (fp == NULL) -- if (NULL != (fp = fopen("./spread.access_pword", "r")) ) -- Alarmp( SPLOG_INFO,ACM, "pword_init: using file: ./spread.access_pword\n"); - if (fp == NULL) -- if (NULL != (fp = fopen("/etc/spread.access_pword", "r")) ) -- Alarmp( SPLOG_INFO, ACM, "pword_init: using file: /etc/spread.access_pword\n"); -+ if (NULL != (fp = fopen(SPREAD_ETCDIR "/spread.access_pword", "r")) ) -+ Alarmp( SPLOG_INFO, ACM, "pword_init: using file: " SPREAD_ETCDIR "/spread.access_pword\n"); - if (fp == NULL) - Alarmp( SPLOG_FATAL, ACM, "pword_init: error opening config file %s in any of the standard locations. Please make sure the file exists\n", file_name); - diff --git a/net/spread4/files/patch-configuration.c b/net/spread4/files/patch-configuration.c deleted file mode 100644 index c925a9bfa812..000000000000 --- a/net/spread4/files/patch-configuration.c +++ /dev/null @@ -1,12 +0,0 @@ ---- configuration.c Mon Sep 27 00:15:48 2004 -+++ configuration.c Tue Oct 4 14:40:51 2005 -@@ -130,9 +130,6 @@ - - if (NULL != (yyin = fopen(file_name,"r")) ) - Alarm( PRINT, "Conf_init: using file: %s\n", file_name); -- if (yyin == NULL) -- if (NULL != (yyin = fopen("./spread.conf", "r")) ) -- Alarm( PRINT, "Conf_init: using file: ./spread.conf\n"); - if (yyin == NULL) - if (NULL != (yyin = fopen(configfile_location, "r")) ) - Alarm( PRINT, "Conf_init: using file: %s\n", configfile_location); diff --git a/net/spread4/files/patch-docs::spmonitor.1 b/net/spread4/files/patch-docs::spmonitor.1 deleted file mode 100644 index 982d5bb32913..000000000000 --- a/net/spread4/files/patch-docs::spmonitor.1 +++ /dev/null @@ -1,18 +0,0 @@ ---- docs/spmonitor.1 Thu Dec 13 02:01:49 2001 -+++ docs/spmonitor.1 Mon Dec 8 00:00:34 2003 -@@ -27,13 +27,11 @@ - Use an alternate configuration file - .I config-file - instead of --.IR ./spread.conf . -+.IR /etc/spread.conf . - .SH FILES --.I ./spread.conf -+.I /etc/spread.conf - .RS - The default config file location. --.I /etc/spread.conf --is also searched if a local file is not found. - .SH BUGS - The spmonitor works by sending UDP packets to the Spread daemon, so if network - losses occur, commands or status reports can be lost. It can also lose reports diff --git a/net/spread4/files/patch-docs::spread.1 b/net/spread4/files/patch-docs::spread.1 deleted file mode 100644 index 6dca20e2b73d..000000000000 --- a/net/spread4/files/patch-docs::spread.1 +++ /dev/null @@ -1,18 +0,0 @@ ---- docs/spread.1 Thu Dec 13 02:03:19 2001 -+++ docs/spread.1 Mon Dec 8 00:00:20 2003 -@@ -20,13 +20,11 @@ - Use an alternate configuration file - .I config-file - instead of --.IR ./spread.conf . -+.IR /etc/spread.conf . - .SH FILES --.I ./spread.conf -+.I /etc/spread.conf - .RS - The default config file location. --.I /etc/spread.conf --is also searched if a local file is not found. - .SH DIAGNOSTICS - The daemon will output some startup information to stdout - and any severe errors will also be output to stdout. Redirecting diff --git a/net/spread4/files/patch-perl::Spread::Spread.pm b/net/spread4/files/patch-perl::Spread::Spread.pm deleted file mode 100644 index a753b18f6b45..000000000000 --- a/net/spread4/files/patch-perl::Spread::Spread.pm +++ /dev/null @@ -1,13 +0,0 @@ ---- perl/Spread/Spread.pm Mon Dec 8 21:12:18 2003 -+++ perl/Spread/Spread.pm Mon Dec 8 21:15:44 2003 -@@ -177,8 +177,8 @@ - - # Connect - my($mailbox, $private_group) = Spread::connect( -- spread_name => '4444@host.domain.com', -- private_name => 'mrcool', -+ { spread_name => '4803@host.domain.com', -+ private_name => 'mrcool', } - ); - - # Join and leave groups diff --git a/net/spread4/files/patch-sample.spread.conf b/net/spread4/files/patch-sample.spread.conf deleted file mode 100644 index 1926dea8116c..000000000000 --- a/net/spread4/files/patch-sample.spread.conf +++ /dev/null @@ -1,20 +0,0 @@ ---- sample.spread.conf Mon Dec 8 01:26:39 2003 -+++ sample.spread.conf Mon Dec 8 01:26:53 2003 -@@ -50,7 +50,7 @@ - # cause the daemons to log to "spreadlog_machine1.mydomain.com.log" and - # "spreadlog_machine2.mydomain.com.log" respectively. - --#EventLogFile = testlog.out -+EventLogFile = /var/log/spread.log - - #Set whether to add a timestamp in front of all logged events or not. - # Default is no timestamps. Default format is "[%a %d %b %Y %H:%M:%S]". -@@ -62,7 +62,7 @@ - - #EventTimeStamp - # or --#EventTimeStamp = "[%a %d %b %Y %H:%M:%S]" -+EventTimeStamp = "[%a %d %b %Y %H:%M:%S]" - - #Set whether to allow dangerous monitor commands - # like "partition, flow_control, or kill" diff --git a/net/spread4/files/patch-session.c b/net/spread4/files/patch-session.c deleted file mode 100644 index c33d5523da84..000000000000 --- a/net/spread4/files/patch-session.c +++ /dev/null @@ -1,11 +0,0 @@ ---- session.c Tue Aug 5 21:35:52 2003 -+++ session.c Tue Aug 5 21:31:30 2003 -@@ -406,7 +406,7 @@ - Alarm( EXIT, "Sess_init: UNIX sock error\n" ); - - unix_addr.sun_family = AF_UNIX; -- sprintf( name, "/tmp/%d",My.port ); -+ sprintf( name, "%s/spread.sock", _PATH_SPREAD_PIDDIR ); - strcpy( unix_addr.sun_path, name ); - unlink( name ); - diff --git a/net/spread4/files/patch-sp.c b/net/spread4/files/patch-sp.c deleted file mode 100644 index fc0df37e5496..000000000000 --- a/net/spread4/files/patch-sp.c +++ /dev/null @@ -1,11 +0,0 @@ ---- sp.c Tue Oct 5 09:08:10 2004 -+++ sp.c Tue Oct 4 14:44:27 2005 -@@ -591,7 +591,7 @@ - set_large_socket_buffers(s); - - unix_addr.sun_family = AF_UNIX; -- sprintf( unix_addr.sun_path, "/tmp/%d", port ); -+ sprintf( unix_addr.sun_path, "%s/spread.sock", _PATH_SPREAD_PIDDIR ); - ret = connect_nointr_timeout( s, (struct sockaddr *)&unix_addr, sizeof(unix_addr), &time_out); - #endif /* !ARCH_PC_WIN95 */ - } diff --git a/net/spread4/files/patch-spread.c b/net/spread4/files/patch-spread.c deleted file mode 100644 index 0de2385206a1..000000000000 --- a/net/spread4/files/patch-spread.c +++ /dev/null @@ -1,52 +0,0 @@ ---- spread.c Thu Jun 19 00:31:23 2003 -+++ spread.c Mon Dec 8 20:55:41 2003 -@@ -48,6 +48,8 @@ - #include <pwd.h> - #include <unistd.h> - #include <sys/types.h> -+#include <errno.h> -+#include <stdlib.h> - #endif - - #ifdef ARCH_PC_WIN95 -@@ -65,6 +67,7 @@ - - static void Invalid_privilege_decrease(char *user, char *group); - static void Usage(int argc, char *argv[]); -+static void writepidfile(); - - /* auth-null.c: */ - void null_init(void); -@@ -144,6 +147,11 @@ - - #endif /* ARCH_PC_WIN95 */ - -+ if (daemon(0,0) == -1) -+ Alarm( EXIT, "Spread: couldn't daemonise: %d", strerror(errno) ); -+ -+ writepidfile(); -+ - /* initialize each valid authentication protocol */ - null_init(); - ip_init(); -@@ -193,6 +201,20 @@ - E_handle_events(); - - return 0; -+} -+ -+static void -+writepidfile() -+{ -+ char pidbuf[11]; -+ int pidfd; -+ -+ if ((pidfd = open(_PATH_SPREAD_PIDDIR "/spread.pid", O_RDWR | O_CREAT, 0644)) == -1) -+ Alarm( EXIT, "Spread: couldn't open pidfile for writing" ); -+ -+ snprintf(pidbuf, sizeof(pidbuf), "%ld\n", (long)getpid()); -+ write(pidfd, pidbuf, strlen(pidbuf)); -+ close(pidfd); - } - - static void Print_help(void) diff --git a/net/spread4/files/spread.sh.in b/net/spread4/files/spread.sh.in deleted file mode 100644 index fc9fd9e85755..000000000000 --- a/net/spread4/files/spread.sh.in +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: spread -# REQUIRE: LOGIN -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable spread: -# -#spread_enable="YES" -# -# See spread(1) for flags -# - -. %%RC_SUBR%% - -name=spread -rcvar=`set_rcvar` - -command="%%PREFIX%%/sbin/spread" -command_args="" -pidfile=/var/run/${name}.pid -required_files=%%PREFIX%%/etc/${name}.conf - -# set defaults - -spread_enable=${spread_enable:-"NO"} -spread_flags=${spread_flags:-""} - -load_rc_config ${name} -run_rc_command "$1" diff --git a/net/spread4/pkg-deinstall b/net/spread4/pkg-deinstall deleted file mode 100644 index 1bc2206605ca..000000000000 --- a/net/spread4/pkg-deinstall +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ - -if [ "$2" != "POST-DEINSTALL" ]; then - exit 0 -fi - -USER=spread -GROUP=spread - -echo "===> deinstall note:" -echo " Please note that user ${USER} and group ${GROUP} was not removed" -echo " from this system:" -echo "" - -if pw usershow "${USER}" 2>/dev/null 1>&2; then - echo " To delete spread user permanently" - echo " $ pw userdel ${USER}" - echo "" -fi - -if pw groupshow "${GROUP}" 2>/dev/null 1>&2; then - echo " To delete spread group permanently" - echo " $ pw groupdel ${GROUP}" - echo "" -fi - -exit 0 diff --git a/net/spread4/pkg-descr b/net/spread4/pkg-descr deleted file mode 100644 index 43fac02d21a6..000000000000 --- a/net/spread4/pkg-descr +++ /dev/null @@ -1,17 +0,0 @@ -Copyright (c) 1993-2002 Spread Concepts LLC. All rights reserved. -This product uses software developed by Spread Concepts LLC for use in the -Spread toolkit. For more information about Spread see http://www.spread.org/ - -Spread is a toolkit and daemon that provide multicast and group communications -support to applications across local and wide area networks. Spread is designed -to make it easy to write groupware, networked multimedia, reliable server, and -collaborative work applications. - -Spread consists of a library that user applications are linked with, a binary -daemon which runs on each computer that is part of the processor group, and -various utility and demonstration programs. - -WWW: http://www.spread.org/ - -- Joshua -joshua@roughtrade.net diff --git a/net/spread4/pkg-install b/net/spread4/pkg-install deleted file mode 100644 index fbbf68fd7932..000000000000 --- a/net/spread4/pkg-install +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -PATH=/sbin:/bin:/usr/sbin:/usr/bin -USER=spread -USER_HOMEDIR=/nonexistent -GROUP=spread -RUNDIR=/var/run/spread -NOLOGIN=/sbin/nologin - -case $2 in -PRE-INSTALL) - if pw group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if pw groupadd ${GROUP}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - if pw usermod ${USER} -d ${USER_HOMEDIR} - then - echo "Changed home directory of \"${USER}\" to \"${USER_HOMEDIR}\"." - else - echo "Changing home directory of \"${USER}\" to \"${USER_HOMEDIR}\" failed." - exit 1 - fi - else - if pw useradd ${USER} -g ${GROUP} -h - \ - -d ${USER_HOMEDIR} -s ${NOLOGIN} -c "Spread User" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - ;; -POST-INSTALL) - if [ ! -d ${RUNDIR} ]; then - install -d -o ${USER} -g ${GROUP} -m 0750 ${RUNDIR} - fi - ;; -*) - echo 'unexpect argument to pkg-install' - ;; -esac diff --git a/net/spread4/pkg-plist b/net/spread4/pkg-plist deleted file mode 100644 index 6046292721a7..000000000000 --- a/net/spread4/pkg-plist +++ /dev/null @@ -1,28 +0,0 @@ -bin/spflooder -bin/spmonitor -bin/sptuser -bin/spuser -@unexec if cmp -s %D/etc/spread.access_ip.sample %D/etc/spread.access_ip; then rm -f %D/etc/spread.access_ip; fi -etc/spread.access_ip.sample -@exec if [ ! -f %D/etc/spread.access_ip ] ; then cp -p %D/%F %B/spread.access_ip; fi -@unexec if cmp -s %D/etc/spread.conf.sample %D/etc/spread.conf; then rm -f %D/etc/spread.conf; fi -etc/spread.conf.sample -@exec if [ ! -f %D/etc/spread.conf ] ; then cp -p %D/%F %B/spread.conf; fi -include/sp.h -include/sp_events.h -include/sp_func.h -lib/libspread.a -lib/libspread.so -lib/libspread.so.1 -lib/libtspread.a -lib/libtspread.so -lib/libtspread.so.1 -%%SITE_PERL%%/%%PERL_ARCH%%/Spread.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/.packlist -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/Spread.bs -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/Spread.so -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/autosplit.ix -sbin/spread -%%EXAMPLESDIR%%/test.pl -@dirrm %%EXAMPLESDIR%% -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread diff --git a/net/tcptraceroute-devel/Makefile b/net/tcptraceroute-devel/Makefile deleted file mode 100644 index 85a40f770c37..000000000000 --- a/net/tcptraceroute-devel/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# New ports collection makefile for: tcptraceroute -# Date created: 21 March 2002 -# Whom: jeff@cetlink.net -# -# $FreeBSD$ -# - -PORTNAME= tcptraceroute -PORTVERSION= 1.4 -PORTREVISION= 2 -CATEGORIES= net -MASTER_SITES= http://michael.toren.net/code/tcptraceroute/ \ - http://sunpoet.net/distfiles/ - -MAINTAINER= sunpoet@sunpoet.net -COMMENT= A traceroute implementation using TCP packets - -BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10 - -MAN8= tcptraceroute.8 - -LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config - -post-patch: - @${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \ - ${WRKSRC}/${MAKEFILE} - -post-install: - @${CHMOD} u+s ${PREFIX}/sbin/tcptraceroute - -.include <bsd.port.mk> diff --git a/net/tcptraceroute-devel/distinfo b/net/tcptraceroute-devel/distinfo deleted file mode 100644 index e0db77591118..000000000000 --- a/net/tcptraceroute-devel/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (tcptraceroute-1.4.tar.gz) = 35c5e7d960f2b073db0109e0004e134e -SHA256 (tcptraceroute-1.4.tar.gz) = 1ef6c4736b55f47d3a2bb26b999cbb409953a112f637bcbec4106da2a0937bde -SIZE (tcptraceroute-1.4.tar.gz) = 31918 diff --git a/net/tcptraceroute-devel/files/patch-Makefile b/net/tcptraceroute-devel/files/patch-Makefile deleted file mode 100644 index f137ff657f9d..000000000000 --- a/net/tcptraceroute-devel/files/patch-Makefile +++ /dev/null @@ -1,36 +0,0 @@ ---- Makefile.orig Mon May 20 03:11:38 2002 -+++ Makefile Tue Aug 20 01:49:27 2002 -@@ -3,20 +3,27 @@ - # tcptraceroute -- A traceroute implementation using TCP packets - # Copyright (c) 2001, 2002 Michael C. Toren <mct@toren.net> - --CC = gcc --CFLAGS = -O2 -Wall --DESTDIR=/usr/local/bin -+CC?= cc -+CFLAGS?= -O -pipe -Wall -+LNETINC= `libnet-config --cflags` -+LNETLIB= `libnet-config --libs` -+ -+BINDIR= ${PREFIX}/sbin -+MANDIR= ${PREFIX}/man -+ -+all: tcptraceroute - - tcptraceroute: tcptraceroute.c -- $(CC) $(CFLAGS) `libnet-config --defines` \ -+ $(CC) $(CFLAGS) `libnet-config --defines` $(LNETINC) \ - -o tcptraceroute tcptraceroute.c \ -- `libnet-config --libs` -lpcap -+ $(LNETLIB) -lpcap - - static: - $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static" - - install: tcptraceroute -- install -D tcptraceroute $(DESTDIR)/tcptraceroute -+ install -c -s tcptraceroute $(BINDIR)/tcptraceroute -+ install -c -m 444 tcptraceroute.8 $(MANDIR)/man8/tcptraceroute.8 - - distrib: clean changelog man - diff --git a/net/tcptraceroute-devel/files/patch-tcptraceroute.c b/net/tcptraceroute-devel/files/patch-tcptraceroute.c deleted file mode 100644 index 28f15e1b7051..000000000000 --- a/net/tcptraceroute-devel/files/patch-tcptraceroute.c +++ /dev/null @@ -1,26 +0,0 @@ ---- tcptraceroute.c.orig Tue Oct 7 16:04:50 2003 -+++ tcptraceroute.c Tue Oct 7 16:05:22 2003 -@@ -391,9 +391,9 @@ - void usage(void) - { - printf("\n%s\n%s\n", VERSION, BANNER); -- fatal("Usage: %s [-nNFSAE] [-i <interface>] [-f <first ttl>] -- [-l <packet length>] [-q <number of queries>] [-t <tos>] -- [-m <max ttl>] [-pP] <source port>] [-s <source address>] -+ fatal("Usage: %s [-nNFSAE] [-i <interface>] [-f <first ttl>] \ -+ [-l <packet length>] [-q <number of queries>] [-t <tos>] \ -+ [-m <max ttl>] [-pP] <source port>] [-s <source address>] \ - [-w <wait time>] <host> [destination port] [packet length]\n\n", name); - } - -@@ -1182,8 +1182,8 @@ - if (! (pcap = pcap_open_live(device, offset + SNAPLEN, 0, 10, errbuf))) - fatal("pcap_open_live failed: %s", errbuf); - -- safe_snprintf(filter, TEXTSIZE, " -- (tcp and src host %s and src port %d and dst host %s) -+ safe_snprintf(filter, TEXTSIZE, " \ -+ (tcp and src host %s and src port %d and dst host %s) \ - or ((icmp[0] == 11 or icmp[0] == 3) and dst host %s)", - iptos(dst_ip), dst_prt, iptos(src_ip), iptos(src_ip)); - diff --git a/net/tcptraceroute-devel/pkg-descr b/net/tcptraceroute-devel/pkg-descr deleted file mode 100644 index b64b1179851b..000000000000 --- a/net/tcptraceroute-devel/pkg-descr +++ /dev/null @@ -1,20 +0,0 @@ -tcptraceroute is a traceroute implementation using TCP packets. - -The more traditional traceroute(8) sends out either UDP or ICMP ECHO -packets with a TTL of one, and increments the TTL until the destination -has been reached. By printing the gateways that generate ICMP time -exceeded messages along the way, it is able to determine the path -packets are taking to reach the destination. - -The problem is that with the widespread use of firewalls on the modern -Internet, many of the packets that traceroute(8) sends out end up being -filtered, making it impossible to completely trace the path to the -destination. However, in many cases, these firewalls will permit inbound -TCP packets to specific ports that hosts sitting behind the firewall are -listening for connections on. By sending out TCP SYN packets instead of -UDP or ICMP ECHO packets, tcptraceroute is able to bypass the most -common firewall filters. - -WWW: http://michael.toren.net/code/tcptraceroute/ - -- Simon 'corecode' Schubert diff --git a/net/tcptraceroute-devel/pkg-plist b/net/tcptraceroute-devel/pkg-plist deleted file mode 100644 index cbdc4f42fa33..000000000000 --- a/net/tcptraceroute-devel/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -@comment $FreeBSD$ -sbin/tcptraceroute diff --git a/net/udpcast/Makefile b/net/udpcast/Makefile deleted file mode 100644 index fc511f14d5b0..000000000000 --- a/net/udpcast/Makefile +++ /dev/null @@ -1,60 +0,0 @@ -# New ports collection makefile for: udpcast -# Date created: Mon Jul 19 19:10:56 UTC 2004 -# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= udpcast -PORTVERSION= 0.${RELEASE_DATE} -CATEGORIES= mbone sysutils -MASTER_SITES= http://udpcast.linux.lu/current/ -DISTNAME= ${PORTNAME}-${RELEASE_DATE} - -MAINTAINER= ports@FreeBSD.org -COMMENT= A file transfer tool using ethernet's multicast - -USE_GETOPT_LONG=yes -USE_GMAKE= yes -USE_PERL5_BUILD= yes -WRKSRC= ${WRKDIR}/${PORTNAME} - -RELEASE_DATE= 20040531 - -PROGRAM_SBIN_FILES= udp-receiver udp-sender - -PLIST_FILES= sbin/udp-receiver \ - sbin/udp-sender -PORTDOCS= Changelog.txt cmd.html - -MAN1= udp-receiver.1 udp-sender.1 - -post-patch: - @${REINPLACE_CMD} -E \ - -e 's|<malloc.h>|<stdlib.h>|' \ - ${WRKSRC}/libbb_udpcast.h - -do-configure: -# C{C,FLAGS}, PTHREAD_* safeness - @${REINPLACE_CMD} -E \ - -e 's|gcc|${CC}|' \ - -e 's|^(CFLAGS[[:space:]]*=.+)$$|\1 ${CFLAGS} ${CPPFLAGS} ${PTHREAD_CFLAGS}|' \ - -e 's|^(LDFLAGS[[:space:]]*=.+)$$|\1 ${LDFLAGS}|' \ - -e 's|-lpthread|${PTHREAD_LIBS}|g' \ - ${BUILD_WRKSRC}/${MAKEFILE} - -do-install: -.ifndef(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -. for file in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -. endfor -.endif -.for file in ${PROGRAM_SBIN_FILES} - @${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/sbin/ -.endfor -.for file in ${MAN1} - @${INSTALL_MAN} ${WRKSRC}/${file} ${MANPREFIX}/man/man1/ -.endfor - -.include <bsd.port.mk> diff --git a/net/udpcast/distinfo b/net/udpcast/distinfo deleted file mode 100644 index e8c6a0660840..000000000000 --- a/net/udpcast/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (udpcast-20040531.tar.gz) = e965fae35ae7450098c29984d3997344 -SHA256 (udpcast-20040531.tar.gz) = 47893ef09431abfc436f3e86703619587c7fad33b5fd16f3217650a003c8ba1d -SIZE (udpcast-20040531.tar.gz) = 67213 diff --git a/net/udpcast/files/patch-participants.h b/net/udpcast/files/patch-participants.h deleted file mode 100644 index f09b1aa4c62b..000000000000 --- a/net/udpcast/files/patch-participants.h +++ /dev/null @@ -1,10 +0,0 @@ ---- participants.h.orig Tue Jul 20 13:49:28 2004 -+++ participants.h Tue Jul 20 13:49:40 2004 -@@ -3,6 +3,7 @@ - - #define MAX_CLIENTS 1024 - -+#include <sys/types.h> - #include <sys/socket.h> - - typedef struct participantsDb *participantsDb_t; diff --git a/net/udpcast/files/patch-socklib.c b/net/udpcast/files/patch-socklib.c deleted file mode 100644 index 03d62095cdad..000000000000 --- a/net/udpcast/files/patch-socklib.c +++ /dev/null @@ -1,38 +0,0 @@ ---- socklib.c.orig Sat Feb 21 13:58:37 2004 -+++ socklib.c Tue Jul 20 17:58:51 2004 -@@ -16,6 +16,8 @@ - #include "log.h" - #include "socklib.h" - -+#undef SIOCGIFINDEX -+ - #ifdef LOSSTEST - /** - * Packet loss/swap testing... -@@ -289,7 +291,7 @@ - - int setTtl(int sock, int ttl) { - /* set the socket to broadcast */ -- return setsockopt(sock, SOL_IP, IP_MULTICAST_TTL, &ttl, sizeof(int)); -+ return setsockopt(sock, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(int)); - } - - #ifdef SIOCGIFINDEX -@@ -334,7 +336,7 @@ - int r; - - fillMreq(sock, ifname, addr, &mreq); -- r = setsockopt(sock, SOL_IP, code, &mreq, sizeof(mreq)); -+ r = setsockopt(sock, IPPROTO_IP, code, &mreq, sizeof(mreq)); - if(r < 0) { - perror(message); - exit(1); -@@ -366,7 +368,7 @@ - - - int setMcastDestination(int sock, char *ifname, struct sockaddr *addr) { --#ifdef __CYGWIN__ -+#if defined(__CYGWIN__) || defined(__FreeBSD__) - int r; - struct sockaddr interface_addr; - struct in_addr if_addr; diff --git a/net/udpcast/files/patch-statistics.c b/net/udpcast/files/patch-statistics.c deleted file mode 100644 index 176e5136b246..000000000000 --- a/net/udpcast/files/patch-statistics.c +++ /dev/null @@ -1,11 +0,0 @@ ---- statistics.c.orig Tue Jul 20 10:46:11 2004 -+++ statistics.c Tue Jul 20 12:00:59 2004 -@@ -37,7 +37,7 @@ - static void printFilePosition(int fd) { - #ifndef __CYGWIN__ - if(fd != -1) { -- loff_t offset = lseek64(fd, 0, SEEK_CUR); -+ off_t offset = lseek(fd, 0, SEEK_CUR); - printLongNum(offset); - } - #endif diff --git a/net/udpcast/files/patch-udpr-negotiate.c b/net/udpcast/files/patch-udpr-negotiate.c deleted file mode 100644 index db9f50ba147d..000000000000 --- a/net/udpcast/files/patch-udpr-negotiate.c +++ /dev/null @@ -1,60 +0,0 @@ ---- udpr-negotiate.c.orig Sat Feb 21 14:08:49 2004 -+++ udpr-negotiate.c Tue Jul 20 13:44:05 2004 -@@ -2,6 +2,10 @@ - #include <unistd.h> - #include <errno.h> - -+#if (defined(__unix__) || defined(unix)) && !defined(USG) -+#include <sys/param.h> -+#endif -+ - #include "log.h" - #include "socklib.h" - #include "udpcast.h" -@@ -16,6 +20,10 @@ - # define O_BINARY 0 - #endif - -+#ifdef __FreeBSD__ -+struct client_config client_config_on_exit_hack; -+#endif -+ - static int sendConnectReq(struct client_config *client_config, - struct net_config *net_config, - int haveServerAddress) { -@@ -48,6 +56,12 @@ - sendDisconnect(exitStatus, (struct client_config *) args); - } - -+#ifdef __FreeBSD__ -+static void sendDisconnectWrapper_on_exit_handler() { -+ sendDisconnectWrapper(0, &client_config_on_exit_hack); -+} -+#endif -+ - void sendDisconnect(int exitStatus, - struct client_config *client_config) { - int endianness = client_config->endianness; -@@ -144,7 +158,7 @@ - if(disk_config->fileName != NULL) { - int oflags = O_CREAT | O_WRONLY; - if(!(disk_config->flags & FLAG_NOSYNC)) { -- oflags |= O_SYNC; -+ oflags |= O_FSYNC; - } - outFile = open(disk_config->fileName, oflags | O_BINARY, 0644); - if(outFile < 0) { -@@ -333,7 +347,13 @@ - pipedOutFile = openPipe(client_config.toServer, outFile, disk_config, - &pipePid); - #ifndef __CYGWIN__ -+# ifdef __FreeBSD__ -+ client_config_on_exit_hack = client_config; -+ -+ atexit(sendDisconnectWrapper_on_exit_handler); -+# else - on_exit(sendDisconnectWrapper, &client_config); -+# endif - #endif - { - struct fifo fifo; diff --git a/net/udpcast/pkg-descr b/net/udpcast/pkg-descr deleted file mode 100644 index 834bd3b3e5e3..000000000000 --- a/net/udpcast/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -[ excerpt taken from developer's www site ] - -UDPcast is a file transfer tool that can send data simultaneously -to many destinations on a LAN. This can for instance be used to -install entire classrooms of PC's at once. The advantage of UDPcast -over using other methods (nfs, ftp, whatever) is that UDPcast uses -Ethernet's multicast abilities: it won't take longer to install 15 -machines than it would to install just 2. - -WWW: http://udpcast.linux.lu/ diff --git a/net/unison232/Makefile b/net/unison232/Makefile deleted file mode 100644 index 2b53480a81c0..000000000000 --- a/net/unison232/Makefile +++ /dev/null @@ -1,70 +0,0 @@ -# New ports collection makefile for: unison -# Date created: 4 October 2000 -# Whom: Dan Pelleg <dpelleg+unison@cs.cmu.edu> -# -# $FreeBSD$ -# - -PORTNAME= unison -PORTVERSION= 2.13.16 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/ -DISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS} -DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} -EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz - -MAINTAINER= daniel+unison@pelleg.org -COMMENT= A user-level file synchronization tool - -BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml-nox11 -PATCH_DEPENDS= ${BUILD_DEPENDS} - -PLIST_SUB= PORTVERSION=${PORTVERSION} -USE_GMAKE= yes -MAKE_ARGS= CFLAGS="" - -.include <bsd.port.pre.mk> - -.if !defined(NOPORTDOCS) -DOCS= BUGS.txt NEWS README -EXTRA_DOCS= unison-${PORTVERSION}-manual.html \ - unison-${PORTVERSION}-manual.pdf unison-${PORTVERSION}-manual.ps -.endif - -.if !defined(WITHOUT_GTK2) && !defined(WITHOUT_X11) && exists(${LOCALBASE}/bin/lablgtk2) -WITH_GTK2= yes -.endif - -.if defined(WITH_GTK2) -MAKE_ARGS+= UISTYLE=gtk2 -RUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 -BUILD_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 -PLIST_SUB+= TEXT="" -.else -MAKE_ARGS+= UISTYLE=text -PLIST_SUB+= TEXT="@comment " -.endif - -.if defined(WITH_GTK2) -post-build: - @${ECHO} Building text-only version - @${ECHO} ${WRKSRC} - @${GMAKE} -C ${WRKSRC} UISTYLE=text NAME=unison-text -.endif - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/unison ${PREFIX}/bin - -post-install: -.if defined(WITH_GTK2) - @${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${PREFIX}/bin -.endif -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} - cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${DOCSDIR} -.endif - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/net/unison232/distinfo b/net/unison232/distinfo deleted file mode 100644 index 71682d2adf70..000000000000 --- a/net/unison232/distinfo +++ /dev/null @@ -1,12 +0,0 @@ -MD5 (unison-2.13.16/unison-2.13.16.tar.gz) = a79bf5f4ebf2a1eaf15b1ac97f827374 -SHA256 (unison-2.13.16/unison-2.13.16.tar.gz) = 808400a933aeb67654edc770822cd186d1b2adc92e7cb5836996c71c69ffe656 -SIZE (unison-2.13.16/unison-2.13.16.tar.gz) = 393266 -MD5 (unison-2.13.16/unison-2.13.16-manual.html) = 2b39e52ec3893a112b28b7b0a294d941 -SHA256 (unison-2.13.16/unison-2.13.16-manual.html) = 52fbb03925c44c46837d919a3baebceefc723c09458ec7e95d3993f2a98f0e20 -SIZE (unison-2.13.16/unison-2.13.16-manual.html) = 196162 -MD5 (unison-2.13.16/unison-2.13.16-manual.pdf) = e7684d401d6f5ee194b9e631cc022dd6 -SHA256 (unison-2.13.16/unison-2.13.16-manual.pdf) = 8f0851b5b34e2d85a6a02f5a374a7d743e5067a419fca689d14d278c951597df -SIZE (unison-2.13.16/unison-2.13.16-manual.pdf) = 436229 -MD5 (unison-2.13.16/unison-2.13.16-manual.ps) = 49cd0eef6cc98a1af7fed38313ccab42 -SHA256 (unison-2.13.16/unison-2.13.16-manual.ps) = 8355ca8b150ee950c43543e6f99439fb883da2032646c39c581dc5312aa6dc54 -SIZE (unison-2.13.16/unison-2.13.16-manual.ps) = 414346 diff --git a/net/unison232/files/patch-pty.c b/net/unison232/files/patch-pty.c deleted file mode 100644 index 2066ff98bdcd..000000000000 --- a/net/unison232/files/patch-pty.c +++ /dev/null @@ -1,22 +0,0 @@ ---- pty.c.orig Mon May 30 15:15:43 2005 -+++ pty.c Sat Aug 27 15:47:55 2005 -@@ -21,6 +21,7 @@ - #endif - - #ifdef __FreeBSD__ -+#include <sys/types.h> - #include <libutil.h> - #define HAS_OPENPTY 1 - #endif -@@ -40,9 +41,10 @@ - /* c_openpty: unit -> (int * Unix.file_descr) */ - CAMLprim value c_openpty() { - int master,slave; -+ value pair; - if (openpty(&master,&slave,NULL,NULL,NULL) < 0) - uerror("openpty", (value) 0); -- value pair = alloc_tuple(2); -+ pair = alloc_tuple(2); - Store_field(pair,0,Val_int(master)); - Store_field(pair,1,Val_int(slave)); - return pair; diff --git a/net/unison232/pkg-descr b/net/unison232/pkg-descr deleted file mode 100644 index 10d805d9eb0a..000000000000 --- a/net/unison232/pkg-descr +++ /dev/null @@ -1,15 +0,0 @@ -Unison is a file-synchronization tool for Unix and Windows. It allows two -replicas of a collection of files and directories to be stored on different -hosts (or different disks on the same host), modified separately, and then -brought up to date by propagating the changes in each replica to the other. - -Unison shares a number of features with tools such as configuration -management packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.) -uni-directional mirroring utilities (rsync, etc.) and other synchronizers -(Intellisync, Reconcile, etc). - -WWW: http://www.cis.upenn.edu/~bcpierce/unison/ - -- Dan Pelleg - -daniel+unison@pelleg.org diff --git a/net/unison232/pkg-message b/net/unison232/pkg-message deleted file mode 100644 index c7cedb69cfdc..000000000000 --- a/net/unison232/pkg-message +++ /dev/null @@ -1,11 +0,0 @@ -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - ATTENTION: - -1) Unison archive format has changed since 2.10.2. The old archive -won't be deleted automatically in case you want to downgrade it. - -2) Merge functionality has seriously changed. Check the manual. - -3) Together with gtk-enabled version, a text-only unison-text binary -is installed as it depends on a smaller number of libraries. -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/net/unison232/pkg-plist b/net/unison232/pkg-plist deleted file mode 100644 index 7fc5e3d995b4..000000000000 --- a/net/unison232/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -bin/unison -%%TEXT%%bin/unison-text -%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.html -%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.pdf -%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.ps -%%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/net/wb/Makefile b/net/wb/Makefile deleted file mode 100644 index 83a0ce98bbd0..000000000000 --- a/net/wb/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# New ports collection makefile for: wb -# Date created: 2 Novermber 1996 -# Whom: fenner -# -# $FreeBSD$ -# - -PORTNAME= wb -PORTVERSION= 1.59 -CATEGORIES= mbone -MASTER_SITES= ftp://ftp.ee.lbl.gov/conferencing/wb/ -DISTFILES= i386-wb-1.59.tar.Z - -MAINTAINER= fenner@FreeBSD.org -COMMENT= A shared drawing (whiteboard) tool using multicast - -NO_WRKSUBDIR= yes -NO_BUILD= yes -USE_X_PREFIX= yes -STRIP= - -# ghostscript, ghostscript3, ghostscript4 or ghostscript5 will all do. -USE_GHOSTSCRIPT_RUN= yes - -pre-everything:: -.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes - @${ECHO} "" - @${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use" - @${ECHO} " AFPL Postscript interpreter instead of GNU one" - @${ECHO} "" -.endif - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wb ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/wb - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wb - ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/wb - ${INSTALL_DATA} ${WRKSRC}/NOTES ${PREFIX}/share/doc/wb - ${INSTALL_DATA} ${WRKSRC}/lblwb.ps ${PREFIX}/share/doc/wb -.endif - -.include <bsd.port.mk> diff --git a/net/wb/distinfo b/net/wb/distinfo deleted file mode 100644 index 83c5d40e0f98..000000000000 --- a/net/wb/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (i386-wb-1.59.tar.Z) = 7601eb1192ee2774940d805500c0a9ce -SHA256 (i386-wb-1.59.tar.Z) = 0bae5c24f4c65031e99ac5c5df08e91eab92e5542c5a9f9a278f838c84bb035e -SIZE (i386-wb-1.59.tar.Z) = 2049555 diff --git a/net/wb/pkg-descr b/net/wb/pkg-descr deleted file mode 100644 index 9c196397ccc9..000000000000 --- a/net/wb/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -This is a beta-release of the LBL 'whiteboard'. - -Before using wb, read the file NOTES from the distribution (note -especially the .sd.tcl change needed if you are running sd v1.14 -or earlier) and print and read the postscript file lblwb.ps. - -If you simply want a shared "whiteboard" drawing surface, you -don't need to do anything but install wb. But wb can also be -used to export, view and annotate arbitrary PostScript files. -If you want to include PostScript images in your wb conference, -either your X server has to support Display PostScript (the DEC -& SGI X servers do) or wb has to be able to exec the public -domain postscript renderer `GhostScript'. If you want to -render postscript with Ghostscript, it has to be installed on -your machine and has to be in your shell search path with the -name "gs". diff --git a/net/wb/pkg-plist b/net/wb/pkg-plist deleted file mode 100644 index 084fc240b5dd..000000000000 --- a/net/wb/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -bin/wb -share/doc/wb/README -share/doc/wb/CHANGES -share/doc/wb/NOTES -share/doc/wb/lblwb.ps -@dirrm share/doc/wb diff --git a/net/xmlrpc-c-devel/Makefile b/net/xmlrpc-c-devel/Makefile deleted file mode 100644 index ead721f74987..000000000000 --- a/net/xmlrpc-c-devel/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# ex:ts=8 -# New ports collection makefile for: xmlrpc-c -# Date created: Mar 8, 2001 -# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= xmlrpc-c -PORTVERSION= 0.9.10 -PORTREVISION= 2 -CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} - -MAINTAINER= ports@FreeBSD.org -COMMENT= XML-RPC library for C and C++ - -LIB_DEPENDS= wwwcore.1:${PORTSDIR}/www/libwww -RUN_DEPENDS= ${SITE_PERL}/Frontier/Client.pm:${PORTSDIR}/net/p5-Frontier-RPC - -USE_AUTOTOOLS= libtool:15 -USE_GMAKE= yes -GNU_CONFIGURE= yes -USE_LDCONFIG= yes - -CONFLICTS= xmlrpc-epi-0.* - -MAN1= meerkat-app-list.1 xml-rpc-api2cpp.1 xmlrpc-c-config.1 \ - query-meerkat.1 xml-rpc-api2txt.1 -MAN7= xmlrpc-c.7 - -post-patch: - @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ - ${WRKSRC}/configure - -.include <bsd.port.mk> diff --git a/net/xmlrpc-c-devel/distinfo b/net/xmlrpc-c-devel/distinfo deleted file mode 100644 index 243774fcc760..000000000000 --- a/net/xmlrpc-c-devel/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (xmlrpc-c-0.9.10.tar.gz) = 847410fae881f0fb641a186db6c8c015 -SHA256 (xmlrpc-c-0.9.10.tar.gz) = fbe8c4899325edbc005807d7e6e06c8709299d7324a00a87fc8cf3d44752622b -SIZE (xmlrpc-c-0.9.10.tar.gz) = 436181 diff --git a/net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.cc b/net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.cc deleted file mode 100644 index 241207275aa7..000000000000 --- a/net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.cc +++ /dev/null @@ -1,29 +0,0 @@ ---- examples/interop-client/InteropEchoProxy.cc.orig Wed Apr 25 00:17:25 2001 -+++ examples/interop-client/InteropEchoProxy.cc Tue Mar 2 23:39:39 2004 -@@ -12,7 +12,7 @@ - public: - InteropEchoProxy (const XmlRpcClient& client) - : mClient(client) {} -- InteropEchoProxy (const string& server_url) -+ InteropEchoProxy (const std::string& server_url) - : mClient(XmlRpcClient(server_url)) {} - InteropEchoProxy (const InteropEchoProxy& o) - : mClient(o.mClient) {} -@@ -23,7 +23,7 @@ - } - - /* Echo an arbitrary XML-RPC string. */ -- string echoString (string string1); -+ std::string echoString (std::string string1); - - /* Echo an arbitrary XML-RPC integer. */ - XmlRpcValue::int32 echoInteger (XmlRpcValue::int32 int1); -@@ -55,7 +55,7 @@ - #include <XmlRpcCpp.h> - #include "InteropEchoProxy.h" - --string InteropEchoProxy::echoString (string string1) { -+std::string InteropEchoProxy::echoString (std::string string1) { - XmlRpcValue params = XmlRpcValue::makeArray(); - params.arrayAppendItem(XmlRpcValue::makeString(string1)); - XmlRpcValue result = this->mClient.call("interopEchoTests.echoString", params); diff --git a/net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.h b/net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.h deleted file mode 100644 index 96bb666fb511..000000000000 --- a/net/xmlrpc-c-devel/files/patch-examples::interop-client::InteropEchoProxy.h +++ /dev/null @@ -1,20 +0,0 @@ ---- examples/interop-client/InteropEchoProxy.h.orig Wed Apr 25 00:17:42 2001 -+++ examples/interop-client/InteropEchoProxy.h Tue Mar 2 23:39:39 2004 -@@ -12,7 +12,7 @@ - public: - InteropEchoProxy (const XmlRpcClient& client) - : mClient(client) {} -- InteropEchoProxy (const string& server_url) -+ InteropEchoProxy (const std::string& server_url) - : mClient(XmlRpcClient(server_url)) {} - InteropEchoProxy (const InteropEchoProxy& o) - : mClient(o.mClient) {} -@@ -23,7 +23,7 @@ - } - - /* Echo an arbitrary XML-RPC string. */ -- string echoString (string string1); -+ std::string echoString (std::string string1); - - /* Echo an arbitrary XML-RPC integer. */ - XmlRpcValue::int32 echoInteger (XmlRpcValue::int32 int1); diff --git a/net/xmlrpc-c-devel/files/patch-examples::interop-client::interop-client.cc b/net/xmlrpc-c-devel/files/patch-examples::interop-client::interop-client.cc deleted file mode 100644 index a8bde406790b..000000000000 --- a/net/xmlrpc-c-devel/files/patch-examples::interop-client::interop-client.cc +++ /dev/null @@ -1,108 +0,0 @@ ---- examples/interop-client/interop-client.cc.orig Thu Jun 28 11:54:08 2001 -+++ examples/interop-client/interop-client.cc Tue Mar 2 23:39:39 2004 -@@ -1,8 +1,8 @@ - // Run various interop test cases against a list of servers. - // This code is incomplete. - --#include <iostream.h> --#include <fstream.h> -+#include <iostream> -+#include <fstream> - #include <stdexcept> - - #include <XmlRpcCpp.h> -@@ -17,13 +17,13 @@ - //========================================================================= - - class TestResults { -- string m_server_name; -- string m_server_url; -+ std::string m_server_name; -+ std::string m_server_url; - XmlRpcValue m_toolkit_info; - XmlRpcValue m_test_results; - - public: -- TestResults(string server_name, string server_url); -+ TestResults(std::string server_name, std::string server_url); - - }; - -@@ -33,24 +33,24 @@ - //========================================================================= - - static void --run_interop_tests(const string& server_url_file, -- const string& output_html_file) -+run_interop_tests(const std::string& server_url_file, -+ const std::string& output_html_file) - { -- ifstream urls(server_url_file.c_str()); -- ofstream out(output_html_file.c_str()); -+ std::ifstream urls(server_url_file.c_str()); -+ std::ofstream out(output_html_file.c_str()); - - while (!urls.eof()) { -- string url_info; -+ std::string url_info; - getline(urls, url_info); - size_t comma = url_info.find(','); -- if (comma == string::npos) -- throw domain_error("Lines of " + server_url_file + -+ if (comma == std::string::npos) -+ throw std::domain_error("Lines of " + server_url_file + - " must be of the form \"name,url\""); -- string server_name(url_info, 0, comma); -- string server_url(url_info, comma + 1); -+ std::string server_name(url_info, 0, comma); -+ std::string server_url(url_info, comma + 1); - -- cout << "Name: " << server_name << endl; -- cout << "URL: " << server_url << endl << endl; -+ std::cout << "Name: " << server_name << std::endl; -+ std::cout << "URL: " << server_url << std::endl << std::endl; - } - } - -@@ -62,8 +62,8 @@ - // Print out a usage message. - static void usage (void) - { -- cerr << "Usage: interop-client <server-url-file> <output-html-file>"; -- cerr << endl; -+ std::cerr << "Usage: interop-client <server-url-file> <output-html-file>"; -+ std::cerr << std::endl; - exit(1); - } - -@@ -73,8 +73,8 @@ - // Parse our command-line arguments. - if (argc != 3) - usage(); -- string server_url_file(argv[1]); -- string output_html_file(argv[2]); -+ std::string server_url_file(argv[1]); -+ std::string output_html_file(argv[2]); - - // Start up our client library. - XmlRpcClient::Initialize(NAME, VERSION); -@@ -83,14 +83,14 @@ - try { - run_interop_tests(server_url_file, output_html_file); - } catch (XmlRpcFault& fault) { -- cerr << argv[0] << ": XML-RPC fault #" << fault.getFaultCode() -- << ": " << fault.getFaultString() << endl; -+ std::cerr << argv[0] << ": XML-RPC fault #" << fault.getFaultCode() -+ << ": " << fault.getFaultString() << std::endl; - status = 1; -- } catch (logic_error& err) { -- cerr << argv[0] << ": " << err.what() << endl; -+ } catch (std::logic_error& err) { -+ std::cerr << argv[0] << ": " << err.what() << std::endl; - status = 1; - } catch (...) { -- cerr << argv[0] << ": Unknown exception" << endl; -+ std::cerr << argv[0] << ": Unknown exception" << std::endl; - status = 1; - } - diff --git a/net/xmlrpc-c-devel/files/patch-examples::meerkat-app-list.cc b/net/xmlrpc-c-devel/files/patch-examples::meerkat-app-list.cc deleted file mode 100644 index 6e6e770f69a4..000000000000 --- a/net/xmlrpc-c-devel/files/patch-examples::meerkat-app-list.cc +++ /dev/null @@ -1,88 +0,0 @@ ---- examples/meerkat-app-list.cc.orig Wed Apr 25 04:18:36 2001 -+++ examples/meerkat-app-list.cc Tue Mar 2 23:39:39 2004 -@@ -2,8 +2,8 @@ - // For more details about O'Reilly's excellent Meerkat news service, see: - // http://www.oreillynet.com/pub/a/rss/2000/11/14/meerkat_xmlrpc.html */ - --#include <iostream.h> --#include <strstream.h> -+#include <iostream> -+#include <sstream> - - #include <XmlRpcCpp.h> - -@@ -15,12 +15,9 @@ - static void list_apps (int hours) { - - // Build our time_period parameter. -- ostrstream time_period_stream; -- time_period_stream << hours << "HOUR" << ends; -- string time_period = time_period_stream.str(); -- -- // (Ask the ostrstream to reclaim ownership of its buffer.) -- time_period_stream.freeze(false); -+ std::ostringstream time_period_stream; -+ time_period_stream << hours << "HOUR" << std::ends; -+ std::string time_period = time_period_stream.str(); - - // Assemble our meerkat query recipe. - XmlRpcValue recipe = XmlRpcValue::makeStruct(); -@@ -45,21 +42,21 @@ - XmlRpcValue app = apps.arrayGetItem(i); - - // Get some information about our application. -- string title = app.structGetValue("title").getString(); -- string link = app.structGetValue("link").getString(); -- string description = app.structGetValue("description").getString(); -+ std::string title = app.structGetValue("title").getString(); -+ std::string link = app.structGetValue("link").getString(); -+ std::string description = app.structGetValue("description").getString(); - - // Print a separator line if necessary. - if (first) - first = 0; - else -- cout << endl; -+ std::cout << std::endl; - - // Print this application entry. - if (description.size() > 0) { -- cout << title << endl << description << endl << link << endl; -+ std::cout << title << std::endl << description << std::endl << link << std::endl; - } else { -- cout << title << endl << description << endl << link << endl; -+ std::cout << title << std::endl << description << std::endl << link << std::endl; - } - } - } -@@ -67,8 +64,8 @@ - // Print out a usage message. - static void usage (void) - { -- cerr << "Usage: meekat-app-list [hours]" << endl; -- cerr << "Data from <http://www.oreillynet.com/meerkat/>." << endl; -+ std::cerr << "Usage: meekat-app-list [hours]" << std::endl; -+ std::cerr << "Data from <http://www.oreillynet.com/meerkat/>." << std::endl; - exit(1); - } - -@@ -85,7 +82,7 @@ - if (hours == 0) - usage(); - if (hours > 49) { -- cerr << "It's not nice to ask for > 49 hours at once." << endl; -+ std::cerr << "It's not nice to ask for > 49 hours at once." << std::endl; - exit(1); - } - -@@ -96,8 +93,8 @@ - try { - list_apps(hours); - } catch (XmlRpcFault& fault) { -- cerr << argv[0] << ": XML-RPC fault #" << fault.getFaultCode() -- << ": " << fault.getFaultString() << endl; -+ std::cerr << argv[0] << ": XML-RPC fault #" << fault.getFaultCode() -+ << ": " << fault.getFaultString() << std::endl; - status = 1; - } - diff --git a/net/xmlrpc-c-devel/files/patch-lib::abyss::src::data.c b/net/xmlrpc-c-devel/files/patch-lib::abyss::src::data.c deleted file mode 100644 index 906e288fca76..000000000000 --- a/net/xmlrpc-c-devel/files/patch-lib::abyss::src::data.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/abyss/src/data.c.orig Fri Feb 2 02:18:08 2001 -+++ lib/abyss/src/data.c Fri Mar 5 02:05:24 2004 -@@ -32,7 +32,6 @@ - ** - *******************************************************************************/ - --#include <malloc.h> - #include <string.h> - #include "abyss.h" - diff --git a/net/xmlrpc-c-devel/files/patch-src::XmlRpcCpp.cc b/net/xmlrpc-c-devel/files/patch-src::XmlRpcCpp.cc deleted file mode 100644 index e5886b27a3ea..000000000000 --- a/net/xmlrpc-c-devel/files/patch-src::XmlRpcCpp.cc +++ /dev/null @@ -1,103 +0,0 @@ ---- src/XmlRpcCpp.cc.orig Sat Apr 14 03:43:55 2001 -+++ src/XmlRpcCpp.cc Tue Mar 2 23:39:39 2004 -@@ -38,7 +38,7 @@ - fault.mFault.fault_string); - } - --XmlRpcFault::XmlRpcFault (const int faultCode, const string faultString) { -+XmlRpcFault::XmlRpcFault (const int faultCode, const std::string faultString) { - xmlrpc_env_init(&mFault); - xmlrpc_env_set_fault(&mFault, faultCode, - const_cast<char*>(faultString.c_str())); -@@ -57,9 +57,9 @@ - xmlrpc_env_clean(&mFault); - } - --string XmlRpcFault::getFaultString (void) const { -+std::string XmlRpcFault::getFaultString (void) const { - XMLRPC_ASSERT(mFault.fault_occurred); -- return string(mFault.fault_string); -+ return std::string(mFault.fault_string); - } - - -@@ -117,7 +117,7 @@ - return XmlRpcValue(value, CONSUME_REFERENCE); - } - --XmlRpcValue XmlRpcValue::makeDateTime (const string& dateTime) { -+XmlRpcValue XmlRpcValue::makeDateTime (const std::string& dateTime) { - XmlRpcEnv env; - xmlrpc_value *value; - const char *data = dateTime.c_str(); // Make sure we're not using wchar_t. -@@ -126,7 +126,7 @@ - return XmlRpcValue(value, CONSUME_REFERENCE); - } - --XmlRpcValue XmlRpcValue::makeString (const string& str) { -+XmlRpcValue XmlRpcValue::makeString (const std::string& str) { - XmlRpcEnv env; - const char *data = str.data(); // Make sure we're not using wchar_t. - size_t size = str.size(); -@@ -196,21 +196,21 @@ - return result; - } - --string XmlRpcValue::getRawDateTime (void) const { -+std::string XmlRpcValue::getRawDateTime (void) const { - XmlRpcEnv env; - char *result; - xmlrpc_parse_value(env, mValue, "8", &result); - env.throwIfFaultOccurred(); -- return string(result); -+ return std::string(result); - } - --string XmlRpcValue::getString (void) const { -+std::string XmlRpcValue::getString (void) const { - XmlRpcEnv env; - char *result; - size_t result_len; - xmlrpc_parse_value(env, mValue, "s#", &result, &result_len); - env.throwIfFaultOccurred(); -- return string(result, result_len); -+ return std::string(result, result_len); - - } - -@@ -265,7 +265,7 @@ - return result; - } - --bool XmlRpcValue::structHasKey (const string& key) { -+bool XmlRpcValue::structHasKey (const std::string& key) { - XmlRpcEnv env; - const char *keystr = key.data(); - size_t keylen = key.size(); -@@ -275,7 +275,7 @@ - return result; - } - --XmlRpcValue XmlRpcValue::structGetValue (const string& key) { -+XmlRpcValue XmlRpcValue::structGetValue (const std::string& key) { - XmlRpcEnv env; - const char *keystr = key.data(); - size_t keylen = key.size(); -@@ -286,7 +286,7 @@ - return XmlRpcValue(result); - } - --void XmlRpcValue::structSetValue (const string& key, const XmlRpcValue& value) -+void XmlRpcValue::structSetValue (const std::string& key, const XmlRpcValue& value) - { - XmlRpcEnv env; - const char *keystr = key.data(); -@@ -297,7 +297,7 @@ - } - - void XmlRpcValue::structGetKeyAndValue (const int index, -- string& out_key, -+ std::string& out_key, - XmlRpcValue& out_value) - { - XmlRpcEnv env; diff --git a/net/xmlrpc-c-devel/files/patch-src::XmlRpcCpp.h b/net/xmlrpc-c-devel/files/patch-src::XmlRpcCpp.h deleted file mode 100644 index 56393f19ca1f..000000000000 --- a/net/xmlrpc-c-devel/files/patch-src::XmlRpcCpp.h +++ /dev/null @@ -1,97 +0,0 @@ ---- src/XmlRpcCpp.h.orig Sat Apr 14 03:46:16 2001 -+++ src/XmlRpcCpp.h Tue Mar 2 23:39:39 2004 -@@ -71,12 +71,12 @@ - - public: - XmlRpcFault (const XmlRpcFault &fault); -- XmlRpcFault (const int faultCode, const string faultString); -+ XmlRpcFault (const int faultCode, const std::string faultString); - XmlRpcFault (const xmlrpc_env *env); - ~XmlRpcFault (void); - - int getFaultCode (void) const; -- string getFaultString (void) const; -+ std::string getFaultString (void) const; - xmlrpc_env *getFaultEnv (void); - }; - -@@ -167,8 +167,8 @@ - static XmlRpcValue makeInt (const XmlRpcValue::int32 i); - static XmlRpcValue makeBool (const bool b); - static XmlRpcValue makeDouble (const double d); -- static XmlRpcValue makeDateTime (const string& dateTime); -- static XmlRpcValue makeString (const string& str); -+ static XmlRpcValue makeDateTime (const std::string& dateTime); -+ static XmlRpcValue makeString (const std::string& str); - static XmlRpcValue makeString (const char *const str); - static XmlRpcValue makeString (const char *const str, size_t len); - static XmlRpcValue makeArray (void); -@@ -185,8 +185,8 @@ - XmlRpcValue::int32 getInt (void) const; - bool getBool (void) const; - double getDouble (void) const; -- string getRawDateTime (void) const; -- string getString (void) const; -+ std::string getRawDateTime (void) const; -+ std::string getString (void) const; - XmlRpcValue getArray (void) const; - XmlRpcValue getStruct (void) const; - -@@ -209,11 +209,11 @@ - // Struct functions. These will throw an XmlRpcFault if the value - // isn't a struct. - size_t structSize (void); -- bool structHasKey (const string& key); -- XmlRpcValue structGetValue (const string& key); -- void structSetValue (const string& key, const XmlRpcValue& value); -+ bool structHasKey (const std::string& key); -+ XmlRpcValue structGetValue (const std::string& key); -+ void structSetValue (const std::string& key, const XmlRpcValue& value); - void structGetKeyAndValue (const int index, -- string& out_key, -+ std::string& out_key, - XmlRpcValue& out_value); - }; - -@@ -265,19 +265,19 @@ - class XmlRpcClient { - - private: -- string mServerUrl; -+ std::string mServerUrl; - - public: -- static void Initialize (string appname, string appversion); -+ static void Initialize (std::string appname, std::string appversion); - static void Terminate (void); - -- XmlRpcClient (const string& server_url) : mServerUrl(server_url) {} -+ XmlRpcClient (const std::string& server_url) : mServerUrl(server_url) {} - ~XmlRpcClient (void) {} - - XmlRpcClient (const XmlRpcClient& client); - XmlRpcClient& operator= (const XmlRpcClient& client); - -- XmlRpcValue call (string method_name, XmlRpcValue param_array); -+ XmlRpcValue call (std::string method_name, XmlRpcValue param_array); - }; - - -@@ -299,7 +299,7 @@ - return *this; - } - --inline void XmlRpcClient::Initialize (string appname, string appversion) { -+inline void XmlRpcClient::Initialize (std::string appname, std::string appversion) { - xmlrpc_client_init(XMLRPC_CLIENT_NO_FLAGS, - const_cast<char*>(appname.c_str()), - const_cast<char*>(appversion.c_str())); -@@ -309,7 +309,7 @@ - xmlrpc_client_cleanup(); - } - --inline XmlRpcValue XmlRpcClient::call (string method_name, -+inline XmlRpcValue XmlRpcClient::call (std::string method_name, - XmlRpcValue param_array) - { - XmlRpcEnv env; diff --git a/net/xmlrpc-c-devel/files/patch-src::cpptest.cc b/net/xmlrpc-c-devel/files/patch-src::cpptest.cc deleted file mode 100644 index 67395f125644..000000000000 --- a/net/xmlrpc-c-devel/files/patch-src::cpptest.cc +++ /dev/null @@ -1,89 +0,0 @@ ---- src/cpptest.cc.orig Wed May 2 00:26:13 2001 -+++ src/cpptest.cc Tue Mar 2 23:39:39 2004 -@@ -28,15 +28,15 @@ - void test_failure (char* file, int line, char* statement) - { - total_failures++; -- cout << endl -- << file << ":" << line << ": expected (" << statement << ")" << endl; -+ std::cout << std::endl -+ << file << ":" << line << ": expected (" << statement << ")" << std::endl; - } - - #define TEST(statement) \ - do { \ - total_tests++; \ - if ((statement)) { \ -- cout << "."; \ -+ std::cout << "."; \ - } else { \ - test_failure(__FILE__, __LINE__, #statement); \ - } \ -@@ -45,7 +45,7 @@ - #define TEST_PASSED() \ - do { \ - total_tests++; \ -- cout << "."; \ -+ std::cout << "."; \ - } while (0) - - #define TEST_FAILED(reason) \ -@@ -187,7 +187,7 @@ - TEST(XmlRpcValue::makeString("foo").getString() == "foo"); - TEST(XmlRpcValue::makeString("bar", 3).getString() == "bar"); - TEST(XmlRpcValue::makeString("bar", 3).getString() == "bar"); -- TEST(XmlRpcValue::makeString("a\0b").getString() == string("a\0b")); -+ TEST(XmlRpcValue::makeString("a\0b").getString() == std::string("a\0b")); - XmlRpcValue::makeArray().getArray(); - XmlRpcValue::makeStruct().getStruct(); - -@@ -219,7 +219,7 @@ - TEST(strct.structHasKey("bar")); - TEST(!strct.structHasKey("nosuch")); - for (size_t i = 0; i < strct.structSize(); i++) { -- string key; -+ std::string key; - XmlRpcValue value; - strct.structGetKeyAndValue(i, key, value); - TEST(key + "val" == value.getString()); -@@ -248,30 +248,30 @@ - test_errors(); - - } catch (XmlRpcFault& fault) { -- cout << "Unexpected XML-RPC fault when running test suites." << endl -+ std::cout << "Unexpected XML-RPC fault when running test suites." << std::endl - << "Fault #" << fault.getFaultCode() -- << ": " << fault.getFaultString() << endl -- << "FAILED" << endl; -+ << ": " << fault.getFaultString() << std::endl -+ << "FAILED" << std::endl; - exit(1); - } catch (...) { -- cout << "Unexpected exception when running test suites." << endl -- << "FAILED" << endl; -+ std::cout << "Unexpected exception when running test suites." << std::endl -+ << "FAILED" << std::endl; - exit(1); - } - - // Summarize our test run. -- cout << endl << "Ran " << total_tests << " tests, " -+ std::cout << std::endl << "Ran " << total_tests << " tests, " - << total_failures << " failed, " -- << setprecision(4) -+ << std::setprecision(4) - << (100.0 - (100.0 * total_failures) / total_tests) -- << "% passed" << endl; -+ << "% passed" << std::endl; - - // Print the final result. - if (total_failures == 0) { -- cout << "OK" << endl; -+ std::cout << "OK" << std::endl; - return 0; - } - -- cout << "FAILED" << endl; -+ std::cout << "FAILED" << std::endl; - return 1; - } diff --git a/net/xmlrpc-c-devel/files/patch-src::validatee.c b/net/xmlrpc-c-devel/files/patch-src::validatee.c deleted file mode 100644 index cd5ace445e2f..000000000000 --- a/net/xmlrpc-c-devel/files/patch-src::validatee.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/validatee.c.orig Sat Apr 14 04:04:07 2001 -+++ src/validatee.c Tue Mar 2 23:39:39 2004 -@@ -33,6 +33,7 @@ - - #include <stdio.h> - #include <stdlib.h> -+#include <string.h> - - #include "xmlrpc.h" - #include "xmlrpc_abyss.h" diff --git a/net/xmlrpc-c-devel/files/patch-src::xmlrpc.h b/net/xmlrpc-c-devel/files/patch-src::xmlrpc.h deleted file mode 100644 index d486bcb288f8..000000000000 --- a/net/xmlrpc-c-devel/files/patch-src::xmlrpc.h +++ /dev/null @@ -1,38 +0,0 @@ ---- src/xmlrpc.h.orig Thu Jun 28 01:35:01 2001 -+++ src/xmlrpc.h Tue Mar 2 23:39:39 2004 -@@ -152,7 +152,7 @@ - - /* The same as the above, but using a printf-style format string. */ - void xmlrpc_env_set_fault_formatted (xmlrpc_env* env, int code, -- char *format, ...); -+ const char *format, ...); - - /* A simple debugging assertion. */ - #define XMLRPC_ASSERT_ENV_OK(env) \ -@@ -362,17 +362,23 @@ - ** Increments the reference counts of input arguments if necessary. - ** See the xmlrpc-c documentation for more information. */ - extern xmlrpc_value * --xmlrpc_build_value (xmlrpc_env* env, char* format, ...); -+xmlrpc_build_value (xmlrpc_env* env, const char* format, ...); - - /* The same as the above, but using a va_list. */ - extern xmlrpc_value * --xmlrpc_build_value_va (xmlrpc_env* env, char* format, va_list args); -+xmlrpc_build_value_va (xmlrpc_env* env, const char* format, va_list args); - - /* Extract values from an xmlrpc_value and store them into C variables. - ** Does not increment the reference counts of output values. - ** See the xmlrpc-c documentation for more information. */ - extern void --xmlrpc_parse_value (xmlrpc_env* env, xmlrpc_value* value, char* format, ...); -+xmlrpc_parse_value (xmlrpc_env* env, xmlrpc_value* value, -+ const char* format, ...); -+ -+/* The same as the above, but using a va_list. */ -+extern void -+xmlrpc_parse_value_va (xmlrpc_env* env, xmlrpc_value* value, -+ const char* format, va_list args); - - /* Return the number of elements in an XML-RPC array. - ** Sets XMLRPC_TYPE_ERROR if 'array' is not an array. */ diff --git a/net/xmlrpc-c-devel/files/patch-src::xmlrpc_abyss.c b/net/xmlrpc-c-devel/files/patch-src::xmlrpc_abyss.c deleted file mode 100644 index 23d48599af58..000000000000 --- a/net/xmlrpc-c-devel/files/patch-src::xmlrpc_abyss.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/xmlrpc_abyss.c.orig Wed May 2 05:18:48 2001 -+++ src/xmlrpc_abyss.c Tue Mar 2 23:39:39 2004 -@@ -34,6 +34,7 @@ - - #include <stdio.h> - #include <stdlib.h> -+#include <string.h> - - #include "xmlrpc.h" - diff --git a/net/xmlrpc-c-devel/files/patch-src::xmlrpc_data.c b/net/xmlrpc-c-devel/files/patch-src::xmlrpc_data.c deleted file mode 100644 index 8491c186b043..000000000000 --- a/net/xmlrpc-c-devel/files/patch-src::xmlrpc_data.c +++ /dev/null @@ -1,117 +0,0 @@ ---- src/xmlrpc_data.c.orig Wed Apr 25 04:20:20 2001 -+++ src/xmlrpc_data.c Tue Mar 2 23:39:39 2004 -@@ -182,10 +182,11 @@ - ** (in theory) also be portable. - */ - --static xmlrpc_value* mkvalue(xmlrpc_env* env, char** format, va_list* args); -+static xmlrpc_value* mkvalue(xmlrpc_env* env, -+ const char** format, va_list* args); - - static xmlrpc_value* mkarray(xmlrpc_env* env, -- char** format, -+ const char** format, - char delimiter, - va_list* args) - { -@@ -236,7 +237,7 @@ - } - - static xmlrpc_value* mkstruct(xmlrpc_env* env, -- char** format, -+ const char** format, - char delimiter, - va_list* args) - { -@@ -357,7 +358,8 @@ - } - #endif /* HAVE_UNICODE_WCHAR */ - --static xmlrpc_value* mkvalue(xmlrpc_env* env, char** format, va_list* args) -+static xmlrpc_value* mkvalue(xmlrpc_env* env, -+ const char** format, va_list* args) - { - xmlrpc_value* val; - char *str, *contents; -@@ -497,10 +499,10 @@ - } - - xmlrpc_value* xmlrpc_build_value_va (xmlrpc_env* env, -- char* format, -+ const char* format, - va_list args) - { -- char *format_copy; -+ const char *format_copy; - va_list args_copy; - xmlrpc_value* retval; - -@@ -520,7 +522,7 @@ - } - - xmlrpc_value* xmlrpc_build_value (xmlrpc_env* env, -- char* format, ...) -+ const char* format, ...) - { - va_list args; - xmlrpc_value* retval; -@@ -542,12 +544,12 @@ - - static void parsevalue (xmlrpc_env* env, - xmlrpc_value* val, -- char** format, -+ const char** format, - va_list* args); - - static void parsearray (xmlrpc_env* env, - xmlrpc_value* array, -- char** format, -+ const char** format, - char delimiter, - va_list* args) - { -@@ -584,7 +586,7 @@ - - static void parsestruct(xmlrpc_env* env, - xmlrpc_value* strct, -- char** format, -+ const char** format, - char delimiter, - va_list* args) - { -@@ -633,7 +635,7 @@ - - static void parsevalue (xmlrpc_env* env, - xmlrpc_value* val, -- char** format, -+ const char** format, - va_list* args) - { - xmlrpc_int32 *int32ptr; -@@ -783,12 +785,12 @@ - return; - } - --static void xmlrpc_parse_value_va (xmlrpc_env* env, -- xmlrpc_value* value, -- char* format, -- va_list args) -+void xmlrpc_parse_value_va (xmlrpc_env* env, -+ xmlrpc_value* value, -+ const char* format, -+ va_list args) - { -- char *format_copy; -+ const char *format_copy; - va_list args_copy; - - XMLRPC_ASSERT_ENV_OK(env); -@@ -808,7 +810,7 @@ - - void xmlrpc_parse_value (xmlrpc_env* env, - xmlrpc_value* value, -- char* format, ...) -+ const char* format, ...) - { - va_list args; - diff --git a/net/xmlrpc-c-devel/files/patch-src::xmlrpc_support.c b/net/xmlrpc-c-devel/files/patch-src::xmlrpc_support.c deleted file mode 100644 index 0de4f49e28b9..000000000000 --- a/net/xmlrpc-c-devel/files/patch-src::xmlrpc_support.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/xmlrpc_support.c.orig Sat Apr 14 03:25:08 2001 -+++ src/xmlrpc_support.c Tue Mar 2 23:39:39 2004 -@@ -99,7 +99,7 @@ - } - - void xmlrpc_env_set_fault_formatted (xmlrpc_env* env, int code, -- char *format, ...) -+ const char *format, ...) - { - va_list args; - char buffer[ERROR_BUFFER_SZ]; diff --git a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::DataType.cc b/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::DataType.cc deleted file mode 100644 index ce9bf0654d30..000000000000 --- a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::DataType.cc +++ /dev/null @@ -1,187 +0,0 @@ ---- tools/xml-rpc-api2cpp/DataType.cc.orig Fri Mar 30 05:39:06 2001 -+++ tools/xml-rpc-api2cpp/DataType.cc Tue Mar 2 23:39:39 2004 -@@ -1,5 +1,5 @@ --#include <iostream.h> --#include <strstream.h> -+#include <iostream> -+#include <sstream> - #include <stdexcept> - - #include <XmlRpcCpp.h> -@@ -12,12 +12,10 @@ - // Instances of DataType know how generate code fragments for manipulating - // a specific XML-RPC data type. - --string DataType::defaultParameterBaseName (int position) const { -- ostrstream name_stream; -- name_stream << typeName() << position << ends; -- string name(name_stream.str()); -- // (Ask the ostrstream to reclaim ownership of its buffer.) -- name_stream.freeze(false); -+std::string DataType::defaultParameterBaseName (int position) const { -+ std::ostringstream name_stream; -+ name_stream << typeName() << position << std::ends; -+ std::string name(name_stream.str()); - return name; - } - -@@ -29,27 +27,27 @@ - - class RawDataType : public DataType { - public: -- RawDataType (const string& type_name) : DataType(type_name) {} -+ RawDataType (const std::string& type_name) : DataType(type_name) {} - -- virtual string parameterFragment (const string& base_name) const; -- virtual string inputConversionFragment (const string& base_name) const; -- virtual string returnTypeFragment () const; -- virtual string outputConversionFragment (const string& var_name) const; -+ virtual std::string parameterFragment (const std::string& base_name) const; -+ virtual std::string inputConversionFragment (const std::string& base_name) const; -+ virtual std::string returnTypeFragment () const; -+ virtual std::string outputConversionFragment (const std::string& var_name) const; - }; - --string RawDataType::parameterFragment (const string& base_name) const { -+std::string RawDataType::parameterFragment (const std::string& base_name) const { - return "XmlRpcValue /*" + typeName() + "*/ " + base_name; - } - --string RawDataType::inputConversionFragment (const string& base_name) const { -+std::string RawDataType::inputConversionFragment (const std::string& base_name) const { - return base_name; - } - --string RawDataType::returnTypeFragment () const { -+std::string RawDataType::returnTypeFragment () const { - return "XmlRpcValue /*" + typeName() + "*/"; - } - --string RawDataType::outputConversionFragment (const string& var_name) const { -+std::string RawDataType::outputConversionFragment (const std::string& var_name) const { - return var_name; - } - -@@ -60,26 +58,26 @@ - // Other types can be easily converted to and from a single native type. - - class SimpleDataType : public DataType { -- string mNativeType; -- string mMakerFunc; -- string mGetterFunc; -+ std::string mNativeType; -+ std::string mMakerFunc; -+ std::string mGetterFunc; - - public: -- SimpleDataType (const string& type_name, -- const string& native_type, -- const string& maker_func, -- const string& getter_func); -- -- virtual string parameterFragment (const string& base_name) const; -- virtual string inputConversionFragment (const string& base_name) const; -- virtual string returnTypeFragment () const; -- virtual string outputConversionFragment (const string& var_name) const; -+ SimpleDataType (const std::string& type_name, -+ const std::string& native_type, -+ const std::string& maker_func, -+ const std::string& getter_func); -+ -+ virtual std::string parameterFragment (const std::string& base_name) const; -+ virtual std::string inputConversionFragment (const std::string& base_name) const; -+ virtual std::string returnTypeFragment () const; -+ virtual std::string outputConversionFragment (const std::string& var_name) const; - }; - --SimpleDataType::SimpleDataType (const string& type_name, -- const string& native_type, -- const string& maker_func, -- const string& getter_func) -+SimpleDataType::SimpleDataType (const std::string& type_name, -+ const std::string& native_type, -+ const std::string& maker_func, -+ const std::string& getter_func) - : DataType(type_name), - mNativeType(native_type), - mMakerFunc(maker_func), -@@ -87,20 +85,20 @@ - { - } - --string SimpleDataType::parameterFragment (const string& base_name) const { -+std::string SimpleDataType::parameterFragment (const std::string& base_name) const { - return mNativeType + " " + base_name; - } - --string SimpleDataType::inputConversionFragment (const string& base_name) const -+std::string SimpleDataType::inputConversionFragment (const std::string& base_name) const - { - return mMakerFunc + "(" + base_name + ")"; - } - --string SimpleDataType::returnTypeFragment () const { -+std::string SimpleDataType::returnTypeFragment () const { - return mNativeType; - } - --string SimpleDataType::outputConversionFragment (const string& var_name) const -+std::string SimpleDataType::outputConversionFragment (const std::string& var_name) const - { - return var_name + "." + mGetterFunc + "()"; - } -@@ -116,26 +114,26 @@ - public: - VoidDataType () : DataType("void") {} - -- virtual string parameterFragment (const string& base_name) const; -- virtual string inputConversionFragment (const string& base_name) const; -- virtual string returnTypeFragment () const; -- virtual string outputConversionFragment (const string& var_name) const; -+ virtual std::string parameterFragment (const std::string& base_name) const; -+ virtual std::string inputConversionFragment (const std::string& base_name) const; -+ virtual std::string returnTypeFragment () const; -+ virtual std::string outputConversionFragment (const std::string& var_name) const; - }; - --string VoidDataType::parameterFragment (const string& base_name) const { -- throw domain_error("Can't handle functions with 'void' arguments'"); -+std::string VoidDataType::parameterFragment (const std::string& base_name) const { -+ throw std::domain_error("Can't handle functions with 'void' arguments'"); - - } - --string VoidDataType::inputConversionFragment (const string& base_name) const { -- throw domain_error("Can't handle functions with 'void' arguments'"); -+std::string VoidDataType::inputConversionFragment (const std::string& base_name) const { -+ throw std::domain_error("Can't handle functions with 'void' arguments'"); - } - --string VoidDataType::returnTypeFragment () const { -+std::string VoidDataType::returnTypeFragment () const { - return "void"; - } - --string VoidDataType::outputConversionFragment (const string& var_name) const { -+std::string VoidDataType::outputConversionFragment (const std::string& var_name) const { - return "/* Return value ignored. */"; - } - -@@ -166,7 +164,7 @@ - - VoidDataType voidType; - --const DataType& findDataType (const string& name) { -+const DataType& findDataType (const std::string& name) { - if (name == "int" || name == "i4") - return intType; - else if (name == "boolean") -@@ -186,7 +184,7 @@ - else if (name == "void") - return voidType; - else -- throw domain_error("Unknown XML-RPC type " + name); -+ throw std::domain_error("Unknown XML-RPC type " + name); - - // This code should never be executed. - XMLRPC_ASSERT(0); diff --git a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::DataType.h b/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::DataType.h deleted file mode 100644 index 1c8a9ad32bd1..000000000000 --- a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::DataType.h +++ /dev/null @@ -1,40 +0,0 @@ ---- tools/xml-rpc-api2cpp/DataType.h.orig Mon Mar 26 03:34:53 2001 -+++ tools/xml-rpc-api2cpp/DataType.h Tue Mar 2 23:39:39 2004 -@@ -1,28 +1,28 @@ - - class DataType { -- string mTypeName; -+ std::string mTypeName; - - DataType (const DataType&) { XMLRPC_ASSERT(0); } - DataType& operator= (const DataType&) { XMLRPC_ASSERT(0); return *this; } - - public: -- DataType (const string& type_name) : mTypeName(type_name) {} -+ DataType (const std::string& type_name) : mTypeName(type_name) {} - virtual ~DataType () {} - - // Return the name for this XML-RPC type. -- virtual string typeName () const { return mTypeName; } -+ virtual std::string typeName () const { return mTypeName; } - - // Given a parameter position, calculate a unique base name for all - // parameter-related variables. -- virtual string defaultParameterBaseName (int position) const; -+ virtual std::string defaultParameterBaseName (int position) const; - - // Virtual functions for processing parameters. -- virtual string parameterFragment (const string& base_name) const = 0; -- virtual string inputConversionFragment (const string& base_name) const = 0; -+ virtual std::string parameterFragment (const std::string& base_name) const = 0; -+ virtual std::string inputConversionFragment (const std::string& base_name) const = 0; - - // Virtual functions for processing return values. -- virtual string returnTypeFragment () const = 0; -- virtual string outputConversionFragment (const string& var_name) const = 0; -+ virtual std::string returnTypeFragment () const = 0; -+ virtual std::string outputConversionFragment (const std::string& var_name) const = 0; - }; - --const DataType& findDataType (const string& name); -+const DataType& findDataType (const std::string& name); diff --git a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::SystemProxy.cc b/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::SystemProxy.cc deleted file mode 100644 index 9032880678b4..000000000000 --- a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::SystemProxy.cc +++ /dev/null @@ -1,19 +0,0 @@ ---- tools/xml-rpc-api2cpp/SystemProxy.cc.orig Mon Mar 26 08:46:28 2001 -+++ tools/xml-rpc-api2cpp/SystemProxy.cc Tue Mar 2 23:39:39 2004 -@@ -10,14 +10,14 @@ - return result; - } - --XmlRpcValue /*array*/ SystemProxy::methodSignature (string string1) { -+XmlRpcValue /*array*/ SystemProxy::methodSignature (std::string string1) { - XmlRpcValue params = XmlRpcValue::makeArray(); - params.arrayAppendItem(XmlRpcValue::makeString(string1)); - XmlRpcValue result = this->mClient.call("system.methodSignature", params); - return result; - } - --string SystemProxy::methodHelp (string string1) { -+std::string SystemProxy::methodHelp (std::string string1) { - XmlRpcValue params = XmlRpcValue::makeArray(); - params.arrayAppendItem(XmlRpcValue::makeString(string1)); - XmlRpcValue result = this->mClient.call("system.methodHelp", params); diff --git a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::SystemProxy.h b/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::SystemProxy.h deleted file mode 100644 index ed3d4b6e4cc3..000000000000 --- a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::SystemProxy.h +++ /dev/null @@ -1,28 +0,0 @@ ---- tools/xml-rpc-api2cpp/SystemProxy.h.orig Mon Mar 26 08:49:56 2001 -+++ tools/xml-rpc-api2cpp/SystemProxy.h Tue Mar 2 23:39:39 2004 -@@ -12,7 +12,7 @@ - public: - SystemProxy (const XmlRpcClient& client) - : mClient(client) {} -- SystemProxy (const string& server_url) -+ SystemProxy (const std::string& server_url) - : mClient(XmlRpcClient(server_url)) {} - SystemProxy (const SystemProxy& o) - : mClient(o.mClient) {} -@@ -29,13 +29,13 @@ - signatures. Each signature is an array of strings. The first item of - each signature is the return type, and any others items are - parameter types. */ -- XmlRpcValue /*array*/ methodSignature (string string1); -+ XmlRpcValue /*array*/ methodSignature (std::string string1); - - /* Given the name of a method, return a help string. */ -- string methodHelp (string string1); -+ std::string methodHelp (std::string string1); - - /* Process an array of calls, and return an array of results. Calls -- should be structs of the form {'methodName': string, 'params': -+ should be structs of the form {'methodName': std::string, 'params': - array}. Each result will either be a single-item array containg the - result value, or a struct of the form {'faultCode': int, - 'faultString': string}. This is useful when you need to make lots of diff --git a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.cc b/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.cc deleted file mode 100644 index 794d218df932..000000000000 --- a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.cc +++ /dev/null @@ -1,81 +0,0 @@ ---- tools/xml-rpc-api2cpp/XmlRpcClass.cc.orig Mon Mar 26 08:49:19 2001 -+++ tools/xml-rpc-api2cpp/XmlRpcClass.cc Tue Mar 2 23:39:39 2004 -@@ -1,6 +1,6 @@ --#include <iostream.h> -+#include <iostream> - #include <stdexcept> --#include <vector.h> -+#include <vector> - - #include <XmlRpcCpp.h> - #include "DataType.h" -@@ -14,7 +14,7 @@ - // This class stores information about a proxy class, and knows how to - // generate code. - --XmlRpcClass::XmlRpcClass (string class_name) -+XmlRpcClass::XmlRpcClass (std::string class_name) - : mClassName(class_name) - { - } -@@ -39,37 +39,37 @@ - mFunctions.push_back(function); - } - --void XmlRpcClass::printDeclaration (ostream& out) -+void XmlRpcClass::printDeclaration (std::ostream& out) - { -- cout << "class " << mClassName << " {" << endl; -- cout << " XmlRpcClient mClient;" << endl; -- cout << endl; -- cout << "public:" << endl; -- cout << " " << mClassName << " (const XmlRpcClient& client)" << endl; -- cout << " : mClient(client) {}" << endl; -- cout << " " << mClassName << " (const string& server_url)" << endl; -- cout << " : mClient(XmlRpcClient(server_url)) {}" << endl; -- cout << " " << mClassName << " (const " << mClassName << "& o)" << endl; -- cout << " : mClient(o.mClient) {}" << endl; -- cout << endl; -- cout << " " << mClassName << "& operator= (const " -- << mClassName << "& o) {" << endl; -- cout << " if (this != &o) mClient = o.mClient;" << endl; -- cout << " return *this;" << endl; -- cout << " }" << endl; -+ std::cout << "class " << mClassName << " {" << std::endl; -+ std::cout << " XmlRpcClient mClient;" << std::endl; -+ std::cout << std::endl; -+ std::cout << "public:" << std::endl; -+ std::cout << " " << mClassName << " (const XmlRpcClient& client)" << std::endl; -+ std::cout << " : mClient(client) {}" << std::endl; -+ std::cout << " " << mClassName << " (const std::string& server_url)" << std::endl; -+ std::cout << " : mClient(XmlRpcClient(server_url)) {}" << std::endl; -+ std::cout << " " << mClassName << " (const " << mClassName << "& o)" << std::endl; -+ std::cout << " : mClient(o.mClient) {}" << std::endl; -+ std::cout << std::endl; -+ std::cout << " " << mClassName << "& operator= (const " -+ << mClassName << "& o) {" << std::endl; -+ std::cout << " if (this != &o) mClient = o.mClient;" << std::endl; -+ std::cout << " return *this;" << std::endl; -+ std::cout << " }" << std::endl; - -- vector<XmlRpcFunction>::iterator f; -+ std::vector<XmlRpcFunction>::iterator f; - for (f = mFunctions.begin(); f < mFunctions.end(); ++f) { -- f->printDeclarations(cout); -+ f->printDeclarations(std::cout); - } - -- cout << "};" << endl; -+ std::cout << "};" << std::endl; - } - --void XmlRpcClass::printDefinition (ostream& out) -+void XmlRpcClass::printDefinition (std::ostream& out) - { -- vector<XmlRpcFunction>::iterator f; -+ std::vector<XmlRpcFunction>::iterator f; - for (f = mFunctions.begin(); f < mFunctions.end(); ++f) { -- f->printDefinitions(cout, mClassName); -+ f->printDefinitions(std::cout, mClassName); - } - } diff --git a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.h b/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.h deleted file mode 100644 index 3c9ed6b4c7cf..000000000000 --- a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.h +++ /dev/null @@ -1,29 +0,0 @@ ---- tools/xml-rpc-api2cpp/XmlRpcClass.h.orig Mon Mar 26 08:43:07 2001 -+++ tools/xml-rpc-api2cpp/XmlRpcClass.h Tue Mar 2 23:39:39 2004 -@@ -1,19 +1,19 @@ --#include <vector.h> -+#include <vector> - - class XmlRpcClass { -- string mClassName; -- vector<XmlRpcFunction> mFunctions; -+ std::string mClassName; -+ std::vector<XmlRpcFunction> mFunctions; - - - public: -- XmlRpcClass (string class_name); -+ XmlRpcClass (std::string class_name); - XmlRpcClass (const XmlRpcClass&); - XmlRpcClass& operator= (const XmlRpcClass&); - -- string className () const { return mClassName; } -+ std::string className () const { return mClassName; } - - void addFunction (const XmlRpcFunction& function); - -- void printDeclaration (ostream& out); -- void printDefinition (ostream& out); -+ void printDeclaration (std::ostream& out); -+ void printDefinition (std::ostream& out); - }; diff --git a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcFucntion.cc b/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcFucntion.cc deleted file mode 100644 index 1fe27ce99876..000000000000 --- a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcFucntion.cc +++ /dev/null @@ -1,123 +0,0 @@ ---- tools/xml-rpc-api2cpp/XmlRpcFunction.cc.orig Mon Mar 26 08:21:07 2001 -+++ tools/xml-rpc-api2cpp/XmlRpcFunction.cc Tue Mar 2 23:39:39 2004 -@@ -1,4 +1,4 @@ --#include <iostream.h> -+#include <iostream> - #include <stdexcept> - - #include <XmlRpcCpp.h> -@@ -12,9 +12,9 @@ - // Contains everything we know about a given server function, and knows - // how to print local bindings. - --XmlRpcFunction::XmlRpcFunction(const string& function_name, -- const string& method_name, -- const string& help, -+XmlRpcFunction::XmlRpcFunction(const std::string& function_name, -+ const std::string& method_name, -+ const std::string& help, - XmlRpcValue synopsis) - : mFunctionName(function_name), mMethodName(method_name), - mHelp(help), mSynopsis(synopsis) -@@ -37,10 +37,10 @@ - return *this; - } - --void XmlRpcFunction::printDeclarations (ostream& out) { -+void XmlRpcFunction::printDeclarations (std::ostream& out) { - - // XXX - Do a sloppy job of printing documentation. -- out << endl << " /* " << mHelp << " */" << endl; -+ out << std::endl << " /* " << mHelp << " */" << std::endl; - - // Print each declaration. - size_t end = mSynopsis.arraySize(); -@@ -48,16 +48,16 @@ - printDeclaration(out, i); - } - --void XmlRpcFunction::printDefinitions (ostream& out, const string& className) { -+void XmlRpcFunction::printDefinitions (std::ostream& out, const std::string& className) { - size_t end = mSynopsis.arraySize(); - for (size_t i = 0; i < end; i++) { -- out << endl; -+ out << std::endl; - printDefinition(out, className, i); - } - } - - // Print the parameter declarations. --void XmlRpcFunction::printParameters (ostream& out, size_t synopsis_index) { -+void XmlRpcFunction::printParameters (std::ostream& out, size_t synopsis_index) { - size_t end = parameterCount(synopsis_index); - bool first = true; - for (size_t i = 0; i < end; i++) { -@@ -67,47 +67,47 @@ - out << ", "; - - const DataType& ptype (parameterType(synopsis_index, i)); -- string basename = ptype.defaultParameterBaseName(i + 1); -+ std::string basename = ptype.defaultParameterBaseName(i + 1); - out << ptype.parameterFragment(basename); - } - } - --void XmlRpcFunction::printDeclaration (ostream& out, size_t synopsis_index) { -+void XmlRpcFunction::printDeclaration (std::ostream& out, size_t synopsis_index) { - const DataType& rtype (returnType(synopsis_index)); - out << " " << rtype.returnTypeFragment() << " " - << mFunctionName << " ("; - printParameters(out, synopsis_index); -- out << ");" << endl; -+ out << ");" << std::endl; - } - --void XmlRpcFunction::printDefinition (ostream& out, -- const string& className, -+void XmlRpcFunction::printDefinition (std::ostream& out, -+ const std::string& className, - size_t synopsis_index) - { - const DataType& rtype (returnType(synopsis_index)); - out << rtype.returnTypeFragment() << " " - << className << "::" << mFunctionName << " ("; - printParameters(out, synopsis_index); -- out << ") {" << endl; -- out << " XmlRpcValue params = XmlRpcValue::makeArray();" << endl; -+ out << ") {" << std::endl; -+ out << " XmlRpcValue params = XmlRpcValue::makeArray();" << std::endl; - - /* Emit code to convert the parameters into an array of XML-RPC objects. */ - size_t end = parameterCount(synopsis_index); - for (size_t i = 0; i < end; i++) { - const DataType& ptype (parameterType(synopsis_index, i)); -- string basename = ptype.defaultParameterBaseName(i + 1); -+ std::string basename = ptype.defaultParameterBaseName(i + 1); - out << " params.arrayAppendItem(" -- << ptype.inputConversionFragment(basename) << ");" << endl; -+ << ptype.inputConversionFragment(basename) << ");" << std::endl; - } - - /* Emit the function call.*/ - out << " XmlRpcValue result = this->mClient.call(\"" -- << mMethodName << "\", params);" << endl; -+ << mMethodName << "\", params);" << std::endl; - - /* Emit the return statement. */ - out << " return " << rtype.outputConversionFragment("result") -- << ";" << endl; -- out << "}" << endl; -+ << ";" << std::endl; -+ out << "}" << std::endl; - } - - const DataType& XmlRpcFunction::returnType (size_t synopsis_index) { -@@ -119,7 +119,7 @@ - XmlRpcValue func_synop = mSynopsis.arrayGetItem(synopsis_index); - size_t size = func_synop.arraySize(); - if (size < 1) -- throw domain_error("Synopsis contained no items"); -+ throw std::domain_error("Synopsis contained no items"); - return size - 1; - } - diff --git a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcFucntion.h b/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcFucntion.h deleted file mode 100644 index c366bac5cd54..000000000000 --- a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcFucntion.h +++ /dev/null @@ -1,42 +0,0 @@ ---- tools/xml-rpc-api2cpp/XmlRpcFunction.h.orig Mon Mar 26 05:17:50 2001 -+++ tools/xml-rpc-api2cpp/XmlRpcFunction.h Tue Mar 2 23:39:39 2004 -@@ -1,27 +1,27 @@ - - class XmlRpcFunction { -- string mFunctionName; -- string mMethodName; -- string mHelp; -+ std::string mFunctionName; -+ std::string mMethodName; -+ std::string mHelp; - XmlRpcValue mSynopsis; - - public: -- XmlRpcFunction(const string& function_name, -- const string& method_name, -- const string& help, -+ XmlRpcFunction(const std::string& function_name, -+ const std::string& method_name, -+ const std::string& help, - XmlRpcValue synopsis); - - XmlRpcFunction (const XmlRpcFunction&); - XmlRpcFunction& operator= (const XmlRpcFunction&); - -- void printDeclarations (ostream& out); -- void printDefinitions (ostream& out, const string& className); -+ void printDeclarations (std::ostream& out); -+ void printDefinitions (std::ostream& out, const std::string& className); - - private: -- void printParameters (ostream& out, size_t synopsis_index); -- void printDeclaration (ostream& out, size_t synopsis_index); -- void printDefinition (ostream& out, -- const string& className, -+ void printParameters (std::ostream& out, size_t synopsis_index); -+ void printDeclaration (std::ostream& out, size_t synopsis_index); -+ void printDefinition (std::ostream& out, -+ const std::string& className, - size_t synopsis_index); - - const DataType& returnType (size_t synopsis_index); diff --git a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::xml-rpc-api2cpp b/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::xml-rpc-api2cpp deleted file mode 100644 index 95b9194227a6..000000000000 --- a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::xml-rpc-api2cpp +++ /dev/null @@ -1,170 +0,0 @@ ---- tools/xml-rpc-api2cpp/xml-rpc-api2cpp.cc.orig Thu Apr 12 08:21:38 2001 -+++ tools/xml-rpc-api2cpp/xml-rpc-api2cpp.cc Tue Mar 2 23:39:39 2004 -@@ -1,4 +1,4 @@ --#include <iostream.h> -+#include <iostream> - #include <stdexcept> - - #include <XmlRpcCpp.h> -@@ -17,9 +17,9 @@ - // Connect to a remote server and extract the information we'll need to - // build a proxy class. - --XmlRpcClass get_class_info (string server_url, -- string class_prefix, -- string class_name) -+XmlRpcClass get_class_info (std::string server_url, -+ std::string class_prefix, -+ std::string class_name) - { - // Create a place to store our data. - XmlRpcClass info(class_name); -@@ -33,22 +33,22 @@ - for (size_t i = 0; i < end; i++) { - - // Break the method name into two pieces. -- string method_prefix; -- string function_name; -- string method_name = methods.arrayGetItem(i).getString(); -+ std::string method_prefix; -+ std::string function_name; -+ std::string method_name = methods.arrayGetItem(i).getString(); - size_t last_dot = method_name.rfind('.'); -- if (last_dot == string::npos) { -+ if (last_dot == std::string::npos) { - function_name = method_name; - } else { -- method_prefix = string(method_name, 0, last_dot); -- function_name = string(method_name, last_dot + 1); -+ method_prefix = std::string(method_name, 0, last_dot); -+ function_name = std::string(method_name, last_dot + 1); - } - - // Decide whether we care about this function. - if (method_prefix == class_prefix) { - - // Fetch some information about the function. -- string help = system.methodHelp(method_name); -+ std::string help = system.methodHelp(method_name); - XmlRpcValue signature = system.methodSignature(method_name); - - // Add this function to our class information. -@@ -66,23 +66,23 @@ - //========================================================================= - // Print a complete header for the specified class. - --void print_header (ostream& out, XmlRpcClass& class_info) { -- string class_name = class_info.className(); -- out << "// " << class_name << ".h - xmlrpc-c C++ proxy class" << endl; -- out << "// Auto-generated by xml-rpc-api2cpp." << endl; -- out << endl; -- -- string header_symbol = "_" + class_name + "_H_"; -- out << "#ifndef " << header_symbol << endl; -- out << "#define " << header_symbol << " 1" << endl; -- out << endl; -- out << "#include <XmlRpcCpp.h>" << endl; -- out << endl; -+void print_header (std::ostream& out, XmlRpcClass& class_info) { -+ std::string class_name = class_info.className(); -+ out << "// " << class_name << ".h - xmlrpc-c C++ proxy class" << std::endl; -+ out << "// Auto-generated by xml-rpc-api2cpp." << std::endl; -+ out << std::endl; -+ -+ std::string header_symbol = "_" + class_name + "_H_"; -+ out << "#ifndef " << header_symbol << std::endl; -+ out << "#define " << header_symbol << " 1" << std::endl; -+ out << std::endl; -+ out << "#include <XmlRpcCpp.h>" << std::endl; -+ out << std::endl; - -- class_info.printDeclaration(cout); -+ class_info.printDeclaration(std::cout); - -- out << endl; -- out << "#endif /* " << header_symbol << " */" << endl; -+ out << std::endl; -+ out << "#endif /* " << header_symbol << " */" << std::endl; - } - - -@@ -91,16 +91,16 @@ - //========================================================================= - // Print a complete header for the specified class. - --void print_cc_file (ostream& out, XmlRpcClass& class_info) { -- string class_name = class_info.className(); -- out << "// " << class_name << ".cc - xmlrpc-c C++ proxy class" << endl; -- out << "// Auto-generated by xml-rpc-api2cpp." << endl; -- out << endl; -+void print_cc_file (std::ostream& out, XmlRpcClass& class_info) { -+ std::string class_name = class_info.className(); -+ out << "// " << class_name << ".cc - xmlrpc-c C++ proxy class" << std::endl; -+ out << "// Auto-generated by xml-rpc-api2cpp." << std::endl; -+ out << std::endl; - -- out << "#include <XmlRpcCpp.h>" << endl; -- out << "#include \"" << class_name << ".h\"" << endl; -+ out << "#include <XmlRpcCpp.h>" << std::endl; -+ out << "#include \"" << class_name << ".h\"" << std::endl; - -- class_info.printDefinition(cout); -+ class_info.printDefinition(std::cout); - } - - -@@ -113,18 +113,18 @@ - - /* Parse our command-line arguments. */ - if (argc != 4) { -- cerr << argv[0] << ": Usage:" << endl -+ std::cerr << argv[0] << ": Usage:" << std::endl - << " xml-rpc-api2cpp <server_url> <method_prefix> <local_class>" -- << endl << endl -- << "Sample arguments:" << endl -- << " server_url = http://localhost/RPC2" << endl -- << " method_prefix = system" << endl -- << " local_class = SystemProxy" << endl; -+ << std::endl << std::endl -+ << "Sample arguments:" << std::endl -+ << " server_url = http://localhost/RPC2" << std::endl -+ << " method_prefix = system" << std::endl -+ << " local_class = SystemProxy" << std::endl; - exit(1); - } -- string server_url = argv[1]; -- string method_prefix = argv[2]; -- string local_class = argv[3]; -+ std::string server_url = argv[1]; -+ std::string method_prefix = argv[2]; -+ std::string local_class = argv[3]; - - int status = 0; - XmlRpcClient::Initialize(NAME, VERSION); -@@ -133,18 +133,18 @@ - XmlRpcClass system = get_class_info(server_url, - method_prefix, - local_class); -- print_header(cout, system); -- cout << endl; -- print_cc_file(cout, system); -+ print_header(std::cout, system); -+ std::cout << std::endl; -+ print_cc_file(std::cout, system); - } catch (XmlRpcFault& fault) { -- cerr << argv[0] << ": XML-RPC fault #" << fault.getFaultCode() -- << ": " << fault.getFaultString() << endl; -+ std::cerr << argv[0] << ": XML-RPC fault #" << fault.getFaultCode() -+ << ": " << fault.getFaultString() << std::endl; - status = 1; -- } catch (logic_error& err) { -- cerr << argv[0] << ": " << err.what() << endl; -+ } catch (std::logic_error& err) { -+ std::cerr << argv[0] << ": " << err.what() << std::endl; - status = 1; - } catch (...) { -- cerr << argv[0] << ": Unknown exception" << endl; -+ std::cerr << argv[0] << ": Unknown exception" << std::endl; - status = 1; - } - diff --git a/net/xmlrpc-c-devel/pkg-descr b/net/xmlrpc-c-devel/pkg-descr deleted file mode 100644 index 41931be8cb1d..000000000000 --- a/net/xmlrpc-c-devel/pkg-descr +++ /dev/null @@ -1,17 +0,0 @@ -XML-RPC is a quick-and-easy way to make procedure calls over the Internet. -It converts the procedure call into XML document, sends it to a remote -server using HTTP, and gets back the response as XML. - -This library provides a modular implementation of XML-RPC for C and C++. - - - C API and experimental C++ API. - - Modular XML-RPC core: If you want, you can supply all your own HTTP - code. - - Synchronous and asynchronous XML-RPC clients based on w3c-libwww. - - Multithreaded XML-RPC server based on the Abyss web server. - - Full support for basic types, including <struct>, <array> and <base64>. - - Extensive test suites to help verify correct behavior and correct - error handling. - - Passes the official XML-RPC validator1 test suite. - -WWW: http://xmlrpc-c.sourceforge.net/ diff --git a/net/xmlrpc-c-devel/pkg-plist b/net/xmlrpc-c-devel/pkg-plist deleted file mode 100644 index 84b051da9b65..000000000000 --- a/net/xmlrpc-c-devel/pkg-plist +++ /dev/null @@ -1,39 +0,0 @@ -bin/meerkat-app-list -bin/query-meerkat -bin/xml-rpc-api2cpp -bin/xml-rpc-api2txt -bin/xmlrpc-c-config -include/XmlRpcCpp.h -include/xmlrpc.h -include/xmlrpc_abyss.h -include/xmlrpc_cgi.h -include/xmlrpc_client.h -lib/libxmlrpc.a -lib/libxmlrpc.la -lib/libxmlrpc.so -lib/libxmlrpc.so.7 -lib/libxmlrpc_abyss.a -lib/libxmlrpc_abyss.la -lib/libxmlrpc_abyss.so -lib/libxmlrpc_abyss.so.7 -lib/libxmlrpc_abyss_server.a -lib/libxmlrpc_abyss_server.la -lib/libxmlrpc_abyss_server.so -lib/libxmlrpc_abyss_server.so.7 -lib/libxmlrpc_cgi.a -lib/libxmlrpc_cgi.la -lib/libxmlrpc_cgi.so -lib/libxmlrpc_cgi.so.7 -lib/libxmlrpc_client.a -lib/libxmlrpc_client.la -lib/libxmlrpc_client.so -lib/libxmlrpc_client.so.7 -lib/libxmlrpc_cpp.a -lib/libxmlrpc_xmlparse.a -lib/libxmlrpc_xmlparse.la -lib/libxmlrpc_xmlparse.so -lib/libxmlrpc_xmlparse.so.7 -lib/libxmlrpc_xmltok.a -lib/libxmlrpc_xmltok.la -lib/libxmlrpc_xmltok.so -lib/libxmlrpc_xmltok.so.7 |