diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2001-04-18 21:37:32 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2001-04-18 21:37:32 +0000 |
commit | 01a9f79f0a3692d8148990805beabc8593d3596d (patch) | |
tree | 99d1ef5788fc9e55b6948a7d4951ac4a315f63bf /net-mgmt | |
parent | New index, rebuilt due to samba changes. (Gee, how many things (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_3_0'.release/4.3.0
Notes
Notes:
svn path=/head/; revision=41661
svn path=/tags/RELEASE_4_3_0/; revision=41662; tag=release/4.3.0
Diffstat (limited to 'net-mgmt')
537 files changed, 0 insertions, 14198 deletions
diff --git a/net-mgmt/NeTraMet/Makefile b/net-mgmt/NeTraMet/Makefile deleted file mode 100644 index 892b8fc72f7b..000000000000 --- a/net-mgmt/NeTraMet/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# New ports collection makefile for: NeTraMet -# Date created: 24-Feb-2001 -# Whom: Jimmy Olgeni <olgeni@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= NeTraMet -PORTVERSION= 4.3 -CATEGORIES= net -MASTER_SITES= ftp://ftp.gla.ac.uk/pub/software/NeTraMet/ -DISTNAME= NeTraMet${PORTVERSION:S/.//} - -MAINTAINER= olgeni@FreeBSD.org - -WRKSRC= ${WRKDIR}/NeTraMet${PORTVERSION:S/.//} - -USE_AUTOCONF= yes -USE_GMAKE= yes - -.if defined(WITH_MOTIF) -USE_MOTIF= yes -CONFIGURE_ENV+= MOTIF_LIB="${MOTIFLIB}" -PLIST_SUB= MOTIF="" -.else -PLIST_SUB= MOTIF="@comment " -.endif - -post-patch: - ${PERL} -pi -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c - -.include <bsd.port.mk> diff --git a/net-mgmt/NeTraMet/distinfo b/net-mgmt/NeTraMet/distinfo deleted file mode 100644 index c82a932e062a..000000000000 --- a/net-mgmt/NeTraMet/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (NeTraMet43.tar.gz) = 5cf96e2828639d3421226333a0a904f3 diff --git a/net-mgmt/NeTraMet/pkg-comment b/net-mgmt/NeTraMet/pkg-comment deleted file mode 100644 index 79a490807ed3..000000000000 --- a/net-mgmt/NeTraMet/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Implementation of the Internet Accounting Architecture diff --git a/net-mgmt/NeTraMet/pkg-descr b/net-mgmt/NeTraMet/pkg-descr deleted file mode 100644 index 4be646512a07..000000000000 --- a/net-mgmt/NeTraMet/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -The first implementation of the Internet Accounting Architecture (RFC 2063 -and RFC 2064). - -The NeTraMet distribution file contains everything you need to build -NeTraMet (an RTFM meter) and NeMaC (a combined RTFM manager and meter -reader), as well as nifty (Nevil's X-Windows flow analyser) and srl (an -optimising compiler for SRL, the Simple Ruleset Language). - -WWW: http://www.auckland.ac.nz/net/Accounting/ diff --git a/net-mgmt/NeTraMet/pkg-plist b/net-mgmt/NeTraMet/pkg-plist deleted file mode 100644 index cadcb6578620..000000000000 --- a/net-mgmt/NeTraMet/pkg-plist +++ /dev/null @@ -1,50 +0,0 @@ -bin/NeMaC -bin/NeTraMet -bin/NetFlowMet -bin/NetFwd -bin/fd_extract -bin/fd_filter -%%MOTIF%%bin/nifty -bin/nm_rc -bin/nm_rr -bin/nm_st -bin/srl -share/NeTraMet/examples/rules/rules.broadcast -share/NeTraMet/examples/rules/rules.default -share/NeTraMet/examples/rules/rules.gateway -share/NeTraMet/examples/rules/rules.ipport -share/NeTraMet/examples/rules/rules.lan -share/NeTraMet/examples/rules/rules.manage -share/NeTraMet/examples/rules/rules.nifty -share/NeTraMet/examples/rules/rules.other -share/NeTraMet/examples/rules/rules.rc.ip -share/NeTraMet/examples/rules/rules.rc.ip.new -share/NeTraMet/examples/rules/rules.rc.ipx -share/NeTraMet/examples/rules/rules.rc.ports -share/NeTraMet/examples/rules/rules.rc.ports.new -share/NeTraMet/examples/rules/rules.sample -share/NeTraMet/examples/rules/rules.two-adj-routers -share/NeTraMet/examples/rules/rules.two-ip-groups -share/NeTraMet/examples/rules/rules.x_ip -share/NeTraMet/examples/srl/2ip8.srl -share/NeTraMet/examples/srl/broadcast.srl -share/NeTraMet/examples/srl/cs2.srl -share/NeTraMet/examples/srl/icmp.srl -share/NeTraMet/examples/srl/k1.srl -share/NeTraMet/examples/srl/k8.srl -share/NeTraMet/examples/srl/n-ports.srl -share/NeTraMet/examples/srl/nifty.srl -share/NeTraMet/examples/srl/other.srl -share/NeTraMet/examples/srl/pr+bc.srl -share/NeTraMet/mibs/meter-mib-31.txt -share/NeTraMet/mibs/meter-mib-32.txt -share/NeTraMet/mibs/mib-1.txt -share/NeTraMet/mibs/mib-41.txt -share/NeTraMet/mibs/mib.auckland -share/NeTraMet/mibs/mib.txt -share/NeTraMet/mibs/rtm-text.txt -@dirrm share/NeTraMet/examples/srl -@dirrm share/NeTraMet/examples/rules -@dirrm share/NeTraMet/mibs -@dirrm share/NeTraMet/examples -@dirrm share/NeTraMet diff --git a/net-mgmt/aggregate/Makefile b/net-mgmt/aggregate/Makefile deleted file mode 100644 index 1722af35e892..000000000000 --- a/net-mgmt/aggregate/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# New ports collection makefile for: aggregate -# Date created: 16 Feb 2001 -# Whom: jabley -# -# $FreeBSD$ -# - -PORTNAME= aggregate -PORTVERSION= 1.1 -CATEGORIES= net -MASTER_SITES= http://www.mfnx.net/public/ - -MAINTAINER= jabley@automagic.org - -MAN1= aggregate.1 aggregate-ios.1 - -.include <bsd.port.mk> diff --git a/net-mgmt/aggregate/distinfo b/net-mgmt/aggregate/distinfo deleted file mode 100644 index 7c395337870c..000000000000 --- a/net-mgmt/aggregate/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (aggregate-1.1.tar.gz) = 6371136a8bef3f56da08c2a58c35f5ce diff --git a/net-mgmt/aggregate/files/patch-aa b/net-mgmt/aggregate/files/patch-aa deleted file mode 100644 index b90dbc3c7e9a..000000000000 --- a/net-mgmt/aggregate/files/patch-aa +++ /dev/null @@ -1,16 +0,0 @@ ---- aggregate-1.1/Makefile Fri Feb 16 11:31:55 2001 -+++ Makefile Fri Feb 16 13:27:38 2001 -@@ -27,9 +27,9 @@ - rm aggregate - - install: aggregate aggregate.1 -- install -c -g wheel -m 0755 -o root aggregate /usr/local/bin/ -- install -c -g wheel -m 0644 -o root aggregate.1 /usr/local/man/man1/ -- install -c -g wheel -m 0755 -o root aggregate-ios /usr/local/bin/ -- install -c -g wheel -m 0644 -o root aggregate-ios.1 /usr/local/man/man1/ -+ install -c -g wheel -m 0755 -o root aggregate ${PREFIX}/bin/ -+ install -c -g wheel -m 0644 -o root aggregate.1 ${PREFIX}/man/man1/ -+ install -c -g wheel -m 0755 -o root aggregate-ios ${PREFIX}/bin/ -+ install -c -g wheel -m 0644 -o root aggregate-ios.1 ${PREFIX}/man/man1/ - - aggregate: aggregate.c diff --git a/net-mgmt/aggregate/pkg-comment b/net-mgmt/aggregate/pkg-comment deleted file mode 100644 index de03ea10fd0e..000000000000 --- a/net-mgmt/aggregate/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Optimise a list of route prefixes to help make nice short filters diff --git a/net-mgmt/aggregate/pkg-descr b/net-mgmt/aggregate/pkg-descr deleted file mode 100644 index cb78b828e221..000000000000 --- a/net-mgmt/aggregate/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -akes a list of prefixes in conventional format on stdin, -and performs two optimisations to attempt to reduce the -length of the prefix list. - -The first optimisation is to remove any supplied prefixes -which are supurfluous because they are already included in -another supplied prefix. For example, 203.97.2.0/24 would -be removed if 203.97.0.0/17 was also supplied. - -The second optimisation identifies adjacent prefixes that -can be combined under a single, shorter-length prefix. For -example, 203.97.2.0/24 and 203.97.3.0/24 can be combined -into the single prefix 203.97.2.0/23. - - -jabley@automagic.org diff --git a/net-mgmt/aggregate/pkg-plist b/net-mgmt/aggregate/pkg-plist deleted file mode 100644 index c64c92d4a007..000000000000 --- a/net-mgmt/aggregate/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -bin/aggregate -bin/aggregate-ios diff --git a/net-mgmt/airport/Makefile b/net-mgmt/airport/Makefile deleted file mode 100644 index c5abef19c06c..000000000000 --- a/net-mgmt/airport/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# New ports collection makefile for: airport -# Date created: 2000/09/16 -# Whom: Nick Sayer -# -# $FreeBSD$ -# - -PORTNAME= airport -PORTVERSION= 1.3 -CATEGORIES= net java -MASTER_SITES= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ -DISTFILES= configurator_13${EXTRACT_SUFX} - -MAINTAINER= nsayer@freebsd.org - -RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk \ - ${LOCALBASE}/share/java/classes/jfc-${JFC_VERSION}/swingall.jar:${PORTSDIR}/java/jfc \ - ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper - -USE_ZIP= YES - -NO_WRKSUBDIR= YES - -JDK_VERSION= 1.1.8 -JFC_VERSION= 1.1.1 - -NO_BUILD= yes - -.include <bsd.port.pre.mk> - -do-install: - @cd ${WRKSRC}; \ - ${MKDIR} ${PREFIX}/share/airport; \ - ${CP} -r ${WRKSRC}/* ${PREFIX}/share/airport; \ - ${SED} -e s,%%PREFIX%%,${PREFIX},g \ - -e s/%%JFC_VERSION%%/${JFC_VERSION}/ \ - < ${FILESDIR}/airport > ${PREFIX}/bin/airport; \ - ${CHMOD} a+x ${PREFIX}/bin/airport - -.include <bsd.port.post.mk> diff --git a/net-mgmt/airport/distinfo b/net-mgmt/airport/distinfo deleted file mode 100644 index 71cee46c3428..000000000000 --- a/net-mgmt/airport/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (configurator_13.zip) = d38912fd7b91ffe6986ca2b1010443f5 diff --git a/net-mgmt/airport/files/airport b/net-mgmt/airport/files/airport deleted file mode 100644 index 4e1254dd28bf..000000000000 --- a/net-mgmt/airport/files/airport +++ /dev/null @@ -1,5 +0,0 @@ -#! /bin/sh - -exec %%PREFIX%%/bin/javavm -cp "%%PREFIX%%/share/java/classes/jfc-%%JFC_VERSION%%/swingall.jar:%%PREFIX%%/share/airport/AirportBaseStationConfig.jar" AirportBaseStationConfigurator - -exit 1 diff --git a/net-mgmt/airport/pkg-comment b/net-mgmt/airport/pkg-comment deleted file mode 100644 index 212ba7638bcc..000000000000 --- a/net-mgmt/airport/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Apple Airport / Lucent RG-1000 configuration program diff --git a/net-mgmt/airport/pkg-descr b/net-mgmt/airport/pkg-descr deleted file mode 100644 index 42cc9b7a5ba3..000000000000 --- a/net-mgmt/airport/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -This is a configuration program for the Apple Airport and Lucent RG-1000 -in Java. - -The Airport and Lucent RG-1000 are the same, except for one detail: -On the RG-1000 the net name cannot be changed and is overridden by -the hex number on the label on the bottom. - -WWW: http://edge.mcs.drexel.edu/GICL/people/sevy/airport/index.html diff --git a/net-mgmt/airport/pkg-plist b/net-mgmt/airport/pkg-plist deleted file mode 100644 index 68fe8b4f540f..000000000000 --- a/net-mgmt/airport/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -bin/airport -share/airport/AUTHORS -share/airport/COPYING -share/airport/AirportBaseStationConfig.jar -share/airport/helpdocs/ReadMe.txt -share/airport/helpdocs/mainscreen.jpg -share/airport/helpdocs/manual.html -@dirrm share/airport/helpdocs -@dirrm share/airport diff --git a/net-mgmt/argus/Makefile b/net-mgmt/argus/Makefile deleted file mode 100644 index 1a071d55527e..000000000000 --- a/net-mgmt/argus/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -# New ports collection makefile for: argus -# Date created: 26 November 1998 -# Whom: Jonathan Hanna <jhanna@home.com> -# -# $FreeBSD$ -# - -PORTNAME= argus -PORTVERSION= 2.0.0 -CATEGORIES= net security -MASTER_SITES= http://qosient.com/argus/src/ \ - ftp://qosient.com/pub/argus/src/ - -MAINTAINER= se@freebsd.org - -.if !exists(/usr/include/tcpd.h) -LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper -.endif - -GNU_CONFIGURE= true -CONFIGURE_ARGS= --exec-prefix=${PREFIX} #--without-flex --without-bison - -MAN1= ra.1 racount.1 ragator.1 ramon.1 rasort.1 raxml.1 -MAN5= argus.5 argus.conf.5 rarc.5 -MAN8= argus.8 - -pre-install: - ${INSTALL_DATA} ${WRKSRC}/include/cons_def.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/include/cons_out.h ${PREFIX}/include - ${MKDIR} ${PREFIX}/share/examples/argus-2.0 - ${INSTALL_DATA} ${WRKSRC}/support/README ${PREFIX}/share/examples/argus-2.0 -.for i in Archive Config Deployment Startup System Xml - ${MKDIR} ${PREFIX}/share/examples/argus-2.0/$i - ${INSTALL_DATA} ${WRKSRC}/support/$i/* ${PREFIX}/share/examples/argus-2.0/$i -.endfor -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/argus-2.0/html/man -.for i in README LICENSE COPYRIGHT doc/CHANGES doc/FAQ doc/HOW-TO - ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/argus-2.0 -.endfor -.for i in doc/html/man/*.html - ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/argus-2.0/html/man -.endfor -.endif - -.include <bsd.port.mk> diff --git a/net-mgmt/argus/distinfo b/net-mgmt/argus/distinfo deleted file mode 100644 index 66790230be2d..000000000000 --- a/net-mgmt/argus/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (argus-2.0.0.tar.gz) = 1a033f2be15aa919764bda2978a3cf84 -SIZE (argus-2.0.0.tar.gz) = 465960 diff --git a/net-mgmt/argus/files/patch-aa b/net-mgmt/argus/files/patch-aa deleted file mode 100644 index 4f216582735f..000000000000 --- a/net-mgmt/argus/files/patch-aa +++ /dev/null @@ -1,54 +0,0 @@ ---- Makefile.in.orig Sun Apr 8 17:17:01 2001 -+++ Makefile.in Sun Apr 8 17:40:11 2001 -@@ -60,7 +60,7 @@ - # Pathname of directory to install the man page - MANDEST = @mandir@ - # Pathname of directory to install the docs --DOCDIR = /usr/share/doc/argus-2.0 -+DOCDIR = ${prefix}/share/doc/argus-2.0 - - # VPATH - srcdir = @srcdir@ -@@ -127,15 +127,6 @@ - [ -d $(DESTDIR)/argus/archive ] || \ - (mkdir -p $(DESTDIR)/argus/archive; chmod 755 $(DESTDIR)/argus/archive) - -- [ -d $(DOCDIR) ] || \ -- (mkdir -p $(DOCDIR); chmod 755 $(DOCDIR)) -- -- [ -d $(DOCDIR)/html ] || \ -- (mkdir -p $(DOCDIR)/html; chmod 755 $(DOCDIR)/html) -- -- [ -d $(DOCDIR)/html/man ] || \ -- (mkdir -p $(DOCDIR)/html/man; chmod 755 $(DOCDIR)/html/man) -- - [ -d /var/log/argus ] || \ - (mkdir -p /var/log/argus; chmod 755 /var/log/argus) - -@@ -148,17 +139,9 @@ - fi; \ - done - -- $(INSTALL) -m 0644 $(srcdir)/doc/CHANGES $(DOCDIR) -- $(INSTALL) -m 0644 $(srcdir)/doc/FAQ $(DOCDIR) -- $(INSTALL) -m 0644 $(srcdir)/doc/HOW-TO $(DOCDIR) -- $(INSTALL) -m 0644 $(srcdir)/doc/html/man/*.html $(DOCDIR)/html/man -- - $(INSTALL) -m 0644 $(srcdir)/README $(DESTDIR)/argus -- $(INSTALL) -m 0644 $(srcdir)/README $(DOCDIR) - $(INSTALL) -m 0644 $(srcdir)/LICENSE $(DESTDIR)/argus -- $(INSTALL) -m 0644 $(srcdir)/LICENSE $(DOCDIR) - $(INSTALL) -m 0644 $(srcdir)/COPYRIGHT $(DESTDIR)/argus -- $(INSTALL) -m 0644 $(srcdir)/COPYRIGHT $(DOCDIR) - - $(INSTALL) -m 0755 $(srcdir)/bin/argusbug $(BINDIR)/argusbug - $(INSTALL) -m 0755 $(srcdir)/support/Archive/argusarchive $(BINDIR)/argusarchive -@@ -176,6 +159,8 @@ - $(MANDEST)/man1/racount.1 - $(INSTALL) -m 0644 $(srcdir)/man/man1/ragator.1 \ - $(MANDEST)/man1/ragator.1 -+ $(INSTALL) -m 0644 $(srcdir)/man/man1/ramon.1 \ -+ $(MANDEST)/man1/ramon.1 - $(INSTALL) -m 0644 $(srcdir)/man/man1/rasort.1 \ - $(MANDEST)/man1/rasort.1 - $(INSTALL) -m 0644 $(srcdir)/man/man1/raxml.1 \ diff --git a/net-mgmt/argus/files/patch-ab b/net-mgmt/argus/files/patch-ab deleted file mode 100644 index 58befc429804..000000000000 --- a/net-mgmt/argus/files/patch-ab +++ /dev/null @@ -1,16 +0,0 @@ ---- server/ArgusModeler.c~ Fri Mar 9 16:47:00 2001 -+++ server/ArgusModeler.c Fri Apr 6 17:08:28 2001 -@@ -694,5 +694,5 @@ - if ((vlan = (struct ArgusVlanStruct *) ArgusCalloc (1, sizeof(struct ArgusVlanStruct))) != NULL) { - vlan->type = ARGUS_VLAN_DSR; -- vlan->length = sizeof(vlan); -+ vlan->length = sizeof(*vlan); - flowstr->VlanDSRBuffer = vlan; - } -@@ -1510,4 +1510,6 @@ - #endif - -+ bzero ((char *)ArgusThisFlow, sizeof(*ArgusThisFlow)); -+ ArgusThisHash = 0; - ArgusThisIpHdr = ip; - diff --git a/net-mgmt/argus/files/patch-ac b/net-mgmt/argus/files/patch-ac deleted file mode 100644 index b1edf28f5411..000000000000 --- a/net-mgmt/argus/files/patch-ac +++ /dev/null @@ -1,29 +0,0 @@ ---- server/ArgusOutput.c~ Thu Mar 15 22:19:42 2001 -+++ server/ArgusOutput.c Fri Apr 6 17:08:28 2001 -@@ -365,5 +365,5 @@ - sigignore(SIGINT); - sigignore(SIGTERM); -- sigignore(SIGCHLD); -+// sigignore(SIGCHLD); - #else - (void) signal (SIGPIPE, SIG_IGN); -@@ -371,9 +371,10 @@ - (void) signal (SIGINT, SIG_IGN); - (void) signal (SIGTERM, SIG_IGN); -- (void) signal (SIGCHLD, SIG_IGN); -+// (void) signal (SIGCHLD, SIG_IGN); - #endif - - (void) signal (SIGUSR1, (void (*)(int)) ArgusUsr1Sig); - (void) signal (SIGUSR2, (void (*)(int)) ArgusUsr2Sig); -+ (void) signal (SIGCHLD, (void (*)(int)) ArgusChildExit); - - if ((ArgusInputSocket = ArgusNewSocket (lfd)) != NULL) { -@@ -436,4 +437,7 @@ - } - -+ if (ArgusUpdateTime()) -+ ArgusHandleData(NULL, NULL, 0, NULL); -+ - if ((kill (ArgusParentPid, 0)) < 0) { - ArgusOutputCleanUp(0); diff --git a/net-mgmt/argus/pkg-comment b/net-mgmt/argus/pkg-comment deleted file mode 100644 index 658890340d2b..000000000000 --- a/net-mgmt/argus/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A generic IP network transaction auditing tool diff --git a/net-mgmt/argus/pkg-descr b/net-mgmt/argus/pkg-descr deleted file mode 100644 index a6dd9ea6cc42..000000000000 --- a/net-mgmt/argus/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -Argus is a generic IP network transaction auditing tool that has been used -by thousands of sites to perform a number of powerful network management -tasks that are currently not possible using commercial network management -tools. - -Argus runs as an application level daemon, promiscuously reading network -datagrams from a specified interface, and generates network traffic audit -records for the network activity that it encounters. It is the way that -Argus categorizes and reports on network activity that makes this tool -unique and powerful. - -WWW: http://www.quosient.com/argus diff --git a/net-mgmt/argus/pkg-plist b/net-mgmt/argus/pkg-plist deleted file mode 100644 index d23818bb9593..000000000000 --- a/net-mgmt/argus/pkg-plist +++ /dev/null @@ -1,67 +0,0 @@ -argus/COPYRIGHT -argus/LICENSE -argus/README -bin/argusarchive -bin/argusbug -bin/ra -bin/racount -bin/ragator -bin/ramon -bin/rapath -bin/rasort -bin/raxml -include/cons_def.h -include/cons_out.h -lib/argus_common.a -lib/argus_parse.a -sbin/argus -share/doc/argus-2.0/CHANGES -share/doc/argus-2.0/COPYRIGHT -share/doc/argus-2.0/FAQ -share/doc/argus-2.0/HOW-TO -share/doc/argus-2.0/LICENSE -share/doc/argus-2.0/README -share/doc/argus-2.0/html/man/argus.5.html -share/doc/argus-2.0/html/man/argus.8.html -share/doc/argus-2.0/html/man/argus.conf.5.html -share/doc/argus-2.0/html/man/hosts_access.5.html -share/doc/argus-2.0/html/man/hosts_options.5.html -share/doc/argus-2.0/html/man/ra.1.html -share/doc/argus-2.0/html/man/racount.1.html -share/doc/argus-2.0/html/man/ragator.1.html -share/doc/argus-2.0/html/man/ramon.1.html -share/doc/argus-2.0/html/man/rarc.5.html -share/doc/argus-2.0/html/man/rasort.1.html -share/doc/argus-2.0/html/man/raxml.1.html -share/doc/argus-2.0/html/man/tcpd.8.html -share/doc/argus-2.0/html/man/tcpdump.1.html -share/examples/argus-2.0/Archive/argusarchive -share/examples/argus-2.0/Config/argus.conf -share/examples/argus-2.0/Config/excel.rc -share/examples/argus-2.0/Config/fmodel.conf -share/examples/argus-2.0/Config/rarc -share/examples/argus-2.0/Deployment/sample -share/examples/argus-2.0/README -share/examples/argus-2.0/Startup/README -share/examples/argus-2.0/Startup/argus -share/examples/argus-2.0/System/crontab -share/examples/argus-2.0/System/magic -share/examples/argus-2.0/Xml/ArgusRecord.biz -share/examples/argus-2.0/Xml/ArgusRecord.dtd -share/examples/argus-2.0/Xml/ArgusRecord.sox -share/examples/argus-2.0/Xml/ArgusRecord.xdr -share/examples/argus-2.0/Xml/ArgusRecord.xsd -share/examples/argus-2.0/Xml/ArgusRecordSample.xml -share/examples/argus-2.0/Xml/README -@dirrm share/examples/argus-2.0/Xml -@dirrm share/examples/argus-2.0/System -@dirrm share/examples/argus-2.0/Startup -@dirrm share/examples/argus-2.0/Deployment -@dirrm share/examples/argus-2.0/Config -@dirrm share/examples/argus-2.0/Archive -@dirrm share/examples/argus-2.0 -@dirrm share/doc/argus-2.0/html/man -@dirrm share/doc/argus-2.0/html -@dirrm share/doc/argus-2.0 -@dirrm argus/archive -@dirrm argus diff --git a/net-mgmt/arpwatch-devel/Makefile b/net-mgmt/arpwatch-devel/Makefile deleted file mode 100644 index 157cddbed58c..000000000000 --- a/net-mgmt/arpwatch-devel/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# New ports collection makefile for: arpwatch -# Date created: March 24 1997 -# Whom: Brian Somers <brian@Awfulhak.org> -# -# $FreeBSD$ -# - -PORTNAME= arpwatch -PORTVERSION= 2.1.a10 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://www.Awfulhak.org/arpwatch/ \ - ftp://ftp.ee.lbl.gov/ -DISTNAME= arpwatch-2.1a10 - -MAINTAINER= brian@Awfulhak.org - -GNU_CONFIGURE= yes -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --quiet -INSTALL_TARGET= install install-man -MAN8= arpwatch.8 arpsnmp.8 - -post-install: - if [ ! -d ${PREFIX}/arpwatch ]; then \ - ${MKDIR} ${PREFIX}/arpwatch; \ - ${CHMOD} 775 ${PREFIX}/arpwatch; \ - ${CHOWN} root.operator ${PREFIX}/arpwatch; \ - fi - ${TOUCH} ${PREFIX}/arpwatch/arp.dat - ${CHMOD} 644 ${PREFIX}/arpwatch/arp.dat - for file in ethercodes.dat d.awk e.awk p.awk; do \ - ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/arpwatch/.; \ - done - ${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${PREFIX}/arpwatch/. - ${INSTALL_SCRIPT} ${FILESDIR}/arpwatch.sh ${PREFIX}/etc/rc.d/. - -.include <bsd.port.mk> diff --git a/net-mgmt/arpwatch-devel/distinfo b/net-mgmt/arpwatch-devel/distinfo deleted file mode 100644 index 9a254b37a33d..000000000000 --- a/net-mgmt/arpwatch-devel/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (arpwatch-2.1a10.tar.gz) = c3f82f51f0c0bfcaf72b5fb216ab6a7b diff --git a/net-mgmt/arpwatch-devel/files/arpwatch.sh b/net-mgmt/arpwatch-devel/files/arpwatch.sh deleted file mode 100644 index 1f4ad205b3fe..000000000000 --- a/net-mgmt/arpwatch-devel/files/arpwatch.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -prog=$(realpath $0) || exit 1 -dir=${prog%/*} -PREFIX=${dir%/etc/rc.d} - -if [ ."$dir" = ."$prog" -o ."$PREFIX" = ."$dir" ] -then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case $1 in -start) - if [ -x "$PREFIX"/sbin/arpwatch -a -d "$PREFIX"/arpwatch ]; then - "$PREFIX"/sbin/arpwatch && echo -n ' arpwatch' - fi - ;; -stop) - killall arpwatch && echo -n ' arpwatch' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - exit 64 - ;; -esac - -exit 0 diff --git a/net-mgmt/arpwatch-devel/files/patch-ab b/net-mgmt/arpwatch-devel/files/patch-ab deleted file mode 100644 index 76cbc814dfaf..000000000000 --- a/net-mgmt/arpwatch-devel/files/patch-ab +++ /dev/null @@ -1,22 +0,0 @@ ---- Makefile.in.orig Wed Jul 29 06:16:45 1998 -+++ Makefile.in Fri Aug 21 10:57:51 1998 -@@ -44,7 +44,7 @@ - CC = @CC@ - CCOPT = @V_CCOPT@ - INCLS = -I. @V_INCLS@ --DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\" -+DEFS = @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\" - - # Standard CFLAGS - CFLAGS = $(CCOPT) $(DEFS) $(INCLS) -@@ -109,8 +109,8 @@ - $(CC) $(CFLAGS) -o $@ zap.o intoa.o -lutil - - install: force -- $(INSTALL) -m 555 -o bin -g bin arpwatch $(DESTDIR)$(BINDEST) -- $(INSTALL) -m 555 -o bin -g bin arpsnmp $(DESTDIR)$(BINDEST) -+ $(INSTALL) -s -m 555 -o bin -g bin arpwatch $(DESTDIR)$(BINDEST) -+ $(INSTALL) -s -m 555 -o bin -g bin arpsnmp $(DESTDIR)$(BINDEST) - - install-man: force - $(INSTALL) -m 444 -o bin -g bin $(srcdir)/arpwatch.8 \ diff --git a/net-mgmt/arpwatch-devel/files/patch-ae b/net-mgmt/arpwatch-devel/files/patch-ae deleted file mode 100644 index 3fe876affcc2..000000000000 --- a/net-mgmt/arpwatch-devel/files/patch-ae +++ /dev/null @@ -1,20 +0,0 @@ ---- configure.orig Thu Jun 15 01:37:53 2000 -+++ configure Tue Sep 5 02:57:33 2000 -@@ -649,7 +649,7 @@ - : - fi - -- V_CCOPT="-O" -+# V_CCOPT="-O" - V_INCLS="" - if test "${srcdir}" != "." ; then - V_INCLS="-I\$\(srcdir\)" -@@ -2599,7 +2599,7 @@ - fi - V_CCOPT="$V_CCOPT -Wall" - if test $ac_cv_lbl_gcc_vers -gt 1 ; then -- V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes" -+# V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes" - fi - fi - else diff --git a/net-mgmt/arpwatch-devel/files/patch-af b/net-mgmt/arpwatch-devel/files/patch-af deleted file mode 100644 index 0beb9378c27a..000000000000 --- a/net-mgmt/arpwatch-devel/files/patch-af +++ /dev/null @@ -1,8 +0,0 @@ ---- ethercodes.dat.orig Tue Mar 21 02:37:05 2000 -+++ ethercodes.dat Thu Sep 14 11:18:09 2000 -@@ -897,3 +897,5 @@ - c0:0:0 Western Digital (may be reversed 00 00 C0?) - e2:c:f Kingston Technologies - ec:10:0 Enance Source Co., Ltd. PC clones(?) -+0:bd:11 VMWare Inc -+0:bd:fb VMWare Inc diff --git a/net-mgmt/arpwatch-devel/files/patch-ag b/net-mgmt/arpwatch-devel/files/patch-ag deleted file mode 100644 index bbd68993bc74..000000000000 --- a/net-mgmt/arpwatch-devel/files/patch-ag +++ /dev/null @@ -1,39 +0,0 @@ ---- arpwatch.c.orig Thu Feb 22 22:47:29 2001 -+++ arpwatch.c Thu Feb 22 22:47:29 2001 -@@ -107,6 +107,8 @@ - - char *prog; - -+char *Watcher = NULL; -+ - int can_checkpoint; - int swapped; - int nobogons; -@@ -170,7 +172,7 @@ - interface = NULL; - rfilename = NULL; - pd = NULL; -- while ((op = getopt(argc, argv, "df:i:n:Nr:")) != EOF) -+ while ((op = getopt(argc, argv, "df:i:m:n:Nr:")) != EOF) - switch (op) { - - case 'd': -@@ -202,6 +204,10 @@ - rfilename = optarg; - break; - -+ case 'm': -+ Watcher = optarg; -+ break; -+ - default: - usage(); - } -@@ -751,6 +757,6 @@ - - (void)fprintf(stderr, "Version %s\n", version); - (void)fprintf(stderr, "usage: %s [-dN] [-f datafile] [-i interface]" -- " [-n net[/width]] [-r file]\n", prog); -+ " [-m email] [-n net[/width]] [-r file]\n", prog); - exit(1); - } diff --git a/net-mgmt/arpwatch-devel/files/patch-ah b/net-mgmt/arpwatch-devel/files/patch-ah deleted file mode 100644 index 0dd2433a689f..000000000000 --- a/net-mgmt/arpwatch-devel/files/patch-ah +++ /dev/null @@ -1,20 +0,0 @@ ---- report.c.orig Sun Oct 1 00:41:10 2000 -+++ report.c Thu Feb 22 22:47:29 2001 -@@ -70,6 +70,8 @@ - - #define PLURAL(n) ((n) == 1 || (n) == -1 ? "" : "s") - -+extern char *Watcher; -+ - static int cdepth; /* number of outstanding children */ - - static char *fmtdate(time_t); -@@ -240,7 +242,7 @@ - register FILE *f; - char tempfile[64], cpu[64], os[64]; - char *fmt = "%20s: %s\n"; -- char *watcher = WATCHER; -+ char *watcher = Watcher ? Watcher : WATCHER; - char *watchee = WATCHEE; - char *sendmail = PATH_SENDMAIL; - char *unknown = "<unknown>"; diff --git a/net-mgmt/arpwatch-devel/files/patch-ai b/net-mgmt/arpwatch-devel/files/patch-ai deleted file mode 100644 index ef251223d844..000000000000 --- a/net-mgmt/arpwatch-devel/files/patch-ai +++ /dev/null @@ -1,39 +0,0 @@ ---- arpsnmp.c.orig Mon Jan 18 01:47:40 1999 -+++ arpsnmp.c Thu Feb 22 22:47:29 2001 -@@ -68,6 +68,8 @@ - - char *prog; - -+char *Watcher; -+ - extern int optind; - extern int opterr; - extern char *optarg; -@@ -90,7 +92,7 @@ - } - - opterr = 0; -- while ((op = getopt(argc, argv, "df:")) != EOF) -+ while ((op = getopt(argc, argv, "df:m:")) != EOF) - switch (op) { - - case 'd': -@@ -105,6 +107,10 @@ - arpfile = optarg; - break; - -+ case 'm': -+ Watcher = optarg; -+ break; -+ - default: - usage(); - } -@@ -184,6 +190,6 @@ - - (void)fprintf(stderr, "Version %s\n", version); - (void)fprintf(stderr, -- "usage: %s [-d] [-f datafile] file [...]\n", prog); -+ "usage: %s [-d] [-f datafile] [-m email] file [...]\n", prog); - exit(1); - } diff --git a/net-mgmt/arpwatch-devel/files/patch-aj b/net-mgmt/arpwatch-devel/files/patch-aj deleted file mode 100644 index 85e34bf47345..000000000000 --- a/net-mgmt/arpwatch-devel/files/patch-aj +++ /dev/null @@ -1,25 +0,0 @@ ---- arpwatch.8.orig Sun Oct 8 21:31:28 2000 -+++ arpwatch.8 Thu Feb 22 22:47:29 2001 -@@ -38,6 +38,9 @@ - .br - .ti +8 - [ -+.B -m -+.I email -+] [ - .B -n - .IR net [/ width - ]] [ -@@ -69,6 +72,12 @@ - The - .B -i - flag is used to override the default interface. -+.LP -+The -+.B -m -+flag specifies the address that will receive the emails. -+The default is -+.IR root . - .LP - The - .B -n diff --git a/net-mgmt/arpwatch-devel/files/patch-ak b/net-mgmt/arpwatch-devel/files/patch-ak deleted file mode 100644 index 50b504b27435..000000000000 --- a/net-mgmt/arpwatch-devel/files/patch-ak +++ /dev/null @@ -1,25 +0,0 @@ ---- arpsnmp.8.orig Sun Sep 17 21:34:48 2000 -+++ arpsnmp.8 Thu Feb 22 22:47:29 2001 -@@ -30,6 +30,9 @@ - ] [ - .B -f - .I datafile -+] [ -+.B -m -+.I email - ] - .I file - [ -@@ -54,6 +57,12 @@ - flag is used to set the ethernet/ip address database filename. - The default is - .IR arp.dat . -+.LP -+The -+.B -m -+flag specifies the address that will receive the emails. -+The default is -+.IR root . - .LP - Note that an empty - .I arp.dat diff --git a/net-mgmt/arpwatch-devel/pkg-comment b/net-mgmt/arpwatch-devel/pkg-comment deleted file mode 100644 index 73ccdb9c117c..000000000000 --- a/net-mgmt/arpwatch-devel/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Monitor arp & rarp requests diff --git a/net-mgmt/arpwatch-devel/pkg-descr b/net-mgmt/arpwatch-devel/pkg-descr deleted file mode 100644 index 1e2e8138080c..000000000000 --- a/net-mgmt/arpwatch-devel/pkg-descr +++ /dev/null @@ -1,21 +0,0 @@ -ARPWATCH 2.0 -Lawrence Berkeley National Laboratory -Network Research Group -arpwatch@ee.lbl.gov -ftp://ftp.ee.lbl.gov/arpwatch.tar.Z - -This directory contains source code for arpwatch and arpsnmp, tools -that monitors ethernet activity and maintain a database of ethernet/ip -address pairings. It also reports certain changes via email. - -Arpsnmp has the same database features of arpwatch but relies on an -external agent to collect the arp data. This distribution contains a -script, arpfetch, that uses snmpwalk from the CMU SNMP package. This -package is available from: - - ftp://ftp.net.cmu.edu/pub/snmp-dist/cmu-snmp*.tar.Z - -It should be trivial to adaptive the output of any snmp query program -for use with arpsnmp. - -Please send bugs and comments to arpwatch@ee.lbl.gov. diff --git a/net-mgmt/arpwatch-devel/pkg-plist b/net-mgmt/arpwatch-devel/pkg-plist deleted file mode 100644 index 2d3d476f15f1..000000000000 --- a/net-mgmt/arpwatch-devel/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -sbin/arpwatch -sbin/arpsnmp -@unexec test -f %D/arpwatch/arp.dat && test -s %D/arpwatch/arp.dat || rm -f %D/arpwatch/arp.dat -arpwatch/arp2ethers -arpwatch/ethercodes.dat -arpwatch/d.awk -arpwatch/e.awk -arpwatch/p.awk -etc/rc.d/arpwatch.sh -@dirrm arpwatch diff --git a/net-mgmt/arpwatch/Makefile b/net-mgmt/arpwatch/Makefile deleted file mode 100644 index 157cddbed58c..000000000000 --- a/net-mgmt/arpwatch/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# New ports collection makefile for: arpwatch -# Date created: March 24 1997 -# Whom: Brian Somers <brian@Awfulhak.org> -# -# $FreeBSD$ -# - -PORTNAME= arpwatch -PORTVERSION= 2.1.a10 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://www.Awfulhak.org/arpwatch/ \ - ftp://ftp.ee.lbl.gov/ -DISTNAME= arpwatch-2.1a10 - -MAINTAINER= brian@Awfulhak.org - -GNU_CONFIGURE= yes -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --quiet -INSTALL_TARGET= install install-man -MAN8= arpwatch.8 arpsnmp.8 - -post-install: - if [ ! -d ${PREFIX}/arpwatch ]; then \ - ${MKDIR} ${PREFIX}/arpwatch; \ - ${CHMOD} 775 ${PREFIX}/arpwatch; \ - ${CHOWN} root.operator ${PREFIX}/arpwatch; \ - fi - ${TOUCH} ${PREFIX}/arpwatch/arp.dat - ${CHMOD} 644 ${PREFIX}/arpwatch/arp.dat - for file in ethercodes.dat d.awk e.awk p.awk; do \ - ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/arpwatch/.; \ - done - ${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${PREFIX}/arpwatch/. - ${INSTALL_SCRIPT} ${FILESDIR}/arpwatch.sh ${PREFIX}/etc/rc.d/. - -.include <bsd.port.mk> diff --git a/net-mgmt/arpwatch/distinfo b/net-mgmt/arpwatch/distinfo deleted file mode 100644 index 9a254b37a33d..000000000000 --- a/net-mgmt/arpwatch/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (arpwatch-2.1a10.tar.gz) = c3f82f51f0c0bfcaf72b5fb216ab6a7b diff --git a/net-mgmt/arpwatch/files/arpwatch.sh b/net-mgmt/arpwatch/files/arpwatch.sh deleted file mode 100644 index 1f4ad205b3fe..000000000000 --- a/net-mgmt/arpwatch/files/arpwatch.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -prog=$(realpath $0) || exit 1 -dir=${prog%/*} -PREFIX=${dir%/etc/rc.d} - -if [ ."$dir" = ."$prog" -o ."$PREFIX" = ."$dir" ] -then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case $1 in -start) - if [ -x "$PREFIX"/sbin/arpwatch -a -d "$PREFIX"/arpwatch ]; then - "$PREFIX"/sbin/arpwatch && echo -n ' arpwatch' - fi - ;; -stop) - killall arpwatch && echo -n ' arpwatch' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - exit 64 - ;; -esac - -exit 0 diff --git a/net-mgmt/arpwatch/files/patch-ab b/net-mgmt/arpwatch/files/patch-ab deleted file mode 100644 index 76cbc814dfaf..000000000000 --- a/net-mgmt/arpwatch/files/patch-ab +++ /dev/null @@ -1,22 +0,0 @@ ---- Makefile.in.orig Wed Jul 29 06:16:45 1998 -+++ Makefile.in Fri Aug 21 10:57:51 1998 -@@ -44,7 +44,7 @@ - CC = @CC@ - CCOPT = @V_CCOPT@ - INCLS = -I. @V_INCLS@ --DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\" -+DEFS = @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\" - - # Standard CFLAGS - CFLAGS = $(CCOPT) $(DEFS) $(INCLS) -@@ -109,8 +109,8 @@ - $(CC) $(CFLAGS) -o $@ zap.o intoa.o -lutil - - install: force -- $(INSTALL) -m 555 -o bin -g bin arpwatch $(DESTDIR)$(BINDEST) -- $(INSTALL) -m 555 -o bin -g bin arpsnmp $(DESTDIR)$(BINDEST) -+ $(INSTALL) -s -m 555 -o bin -g bin arpwatch $(DESTDIR)$(BINDEST) -+ $(INSTALL) -s -m 555 -o bin -g bin arpsnmp $(DESTDIR)$(BINDEST) - - install-man: force - $(INSTALL) -m 444 -o bin -g bin $(srcdir)/arpwatch.8 \ diff --git a/net-mgmt/arpwatch/files/patch-ae b/net-mgmt/arpwatch/files/patch-ae deleted file mode 100644 index 3fe876affcc2..000000000000 --- a/net-mgmt/arpwatch/files/patch-ae +++ /dev/null @@ -1,20 +0,0 @@ ---- configure.orig Thu Jun 15 01:37:53 2000 -+++ configure Tue Sep 5 02:57:33 2000 -@@ -649,7 +649,7 @@ - : - fi - -- V_CCOPT="-O" -+# V_CCOPT="-O" - V_INCLS="" - if test "${srcdir}" != "." ; then - V_INCLS="-I\$\(srcdir\)" -@@ -2599,7 +2599,7 @@ - fi - V_CCOPT="$V_CCOPT -Wall" - if test $ac_cv_lbl_gcc_vers -gt 1 ; then -- V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes" -+# V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes" - fi - fi - else diff --git a/net-mgmt/arpwatch/files/patch-af b/net-mgmt/arpwatch/files/patch-af deleted file mode 100644 index 0beb9378c27a..000000000000 --- a/net-mgmt/arpwatch/files/patch-af +++ /dev/null @@ -1,8 +0,0 @@ ---- ethercodes.dat.orig Tue Mar 21 02:37:05 2000 -+++ ethercodes.dat Thu Sep 14 11:18:09 2000 -@@ -897,3 +897,5 @@ - c0:0:0 Western Digital (may be reversed 00 00 C0?) - e2:c:f Kingston Technologies - ec:10:0 Enance Source Co., Ltd. PC clones(?) -+0:bd:11 VMWare Inc -+0:bd:fb VMWare Inc diff --git a/net-mgmt/arpwatch/files/patch-ag b/net-mgmt/arpwatch/files/patch-ag deleted file mode 100644 index bbd68993bc74..000000000000 --- a/net-mgmt/arpwatch/files/patch-ag +++ /dev/null @@ -1,39 +0,0 @@ ---- arpwatch.c.orig Thu Feb 22 22:47:29 2001 -+++ arpwatch.c Thu Feb 22 22:47:29 2001 -@@ -107,6 +107,8 @@ - - char *prog; - -+char *Watcher = NULL; -+ - int can_checkpoint; - int swapped; - int nobogons; -@@ -170,7 +172,7 @@ - interface = NULL; - rfilename = NULL; - pd = NULL; -- while ((op = getopt(argc, argv, "df:i:n:Nr:")) != EOF) -+ while ((op = getopt(argc, argv, "df:i:m:n:Nr:")) != EOF) - switch (op) { - - case 'd': -@@ -202,6 +204,10 @@ - rfilename = optarg; - break; - -+ case 'm': -+ Watcher = optarg; -+ break; -+ - default: - usage(); - } -@@ -751,6 +757,6 @@ - - (void)fprintf(stderr, "Version %s\n", version); - (void)fprintf(stderr, "usage: %s [-dN] [-f datafile] [-i interface]" -- " [-n net[/width]] [-r file]\n", prog); -+ " [-m email] [-n net[/width]] [-r file]\n", prog); - exit(1); - } diff --git a/net-mgmt/arpwatch/files/patch-ah b/net-mgmt/arpwatch/files/patch-ah deleted file mode 100644 index 0dd2433a689f..000000000000 --- a/net-mgmt/arpwatch/files/patch-ah +++ /dev/null @@ -1,20 +0,0 @@ ---- report.c.orig Sun Oct 1 00:41:10 2000 -+++ report.c Thu Feb 22 22:47:29 2001 -@@ -70,6 +70,8 @@ - - #define PLURAL(n) ((n) == 1 || (n) == -1 ? "" : "s") - -+extern char *Watcher; -+ - static int cdepth; /* number of outstanding children */ - - static char *fmtdate(time_t); -@@ -240,7 +242,7 @@ - register FILE *f; - char tempfile[64], cpu[64], os[64]; - char *fmt = "%20s: %s\n"; -- char *watcher = WATCHER; -+ char *watcher = Watcher ? Watcher : WATCHER; - char *watchee = WATCHEE; - char *sendmail = PATH_SENDMAIL; - char *unknown = "<unknown>"; diff --git a/net-mgmt/arpwatch/files/patch-ai b/net-mgmt/arpwatch/files/patch-ai deleted file mode 100644 index ef251223d844..000000000000 --- a/net-mgmt/arpwatch/files/patch-ai +++ /dev/null @@ -1,39 +0,0 @@ ---- arpsnmp.c.orig Mon Jan 18 01:47:40 1999 -+++ arpsnmp.c Thu Feb 22 22:47:29 2001 -@@ -68,6 +68,8 @@ - - char *prog; - -+char *Watcher; -+ - extern int optind; - extern int opterr; - extern char *optarg; -@@ -90,7 +92,7 @@ - } - - opterr = 0; -- while ((op = getopt(argc, argv, "df:")) != EOF) -+ while ((op = getopt(argc, argv, "df:m:")) != EOF) - switch (op) { - - case 'd': -@@ -105,6 +107,10 @@ - arpfile = optarg; - break; - -+ case 'm': -+ Watcher = optarg; -+ break; -+ - default: - usage(); - } -@@ -184,6 +190,6 @@ - - (void)fprintf(stderr, "Version %s\n", version); - (void)fprintf(stderr, -- "usage: %s [-d] [-f datafile] file [...]\n", prog); -+ "usage: %s [-d] [-f datafile] [-m email] file [...]\n", prog); - exit(1); - } diff --git a/net-mgmt/arpwatch/files/patch-aj b/net-mgmt/arpwatch/files/patch-aj deleted file mode 100644 index 85e34bf47345..000000000000 --- a/net-mgmt/arpwatch/files/patch-aj +++ /dev/null @@ -1,25 +0,0 @@ ---- arpwatch.8.orig Sun Oct 8 21:31:28 2000 -+++ arpwatch.8 Thu Feb 22 22:47:29 2001 -@@ -38,6 +38,9 @@ - .br - .ti +8 - [ -+.B -m -+.I email -+] [ - .B -n - .IR net [/ width - ]] [ -@@ -69,6 +72,12 @@ - The - .B -i - flag is used to override the default interface. -+.LP -+The -+.B -m -+flag specifies the address that will receive the emails. -+The default is -+.IR root . - .LP - The - .B -n diff --git a/net-mgmt/arpwatch/files/patch-ak b/net-mgmt/arpwatch/files/patch-ak deleted file mode 100644 index 50b504b27435..000000000000 --- a/net-mgmt/arpwatch/files/patch-ak +++ /dev/null @@ -1,25 +0,0 @@ ---- arpsnmp.8.orig Sun Sep 17 21:34:48 2000 -+++ arpsnmp.8 Thu Feb 22 22:47:29 2001 -@@ -30,6 +30,9 @@ - ] [ - .B -f - .I datafile -+] [ -+.B -m -+.I email - ] - .I file - [ -@@ -54,6 +57,12 @@ - flag is used to set the ethernet/ip address database filename. - The default is - .IR arp.dat . -+.LP -+The -+.B -m -+flag specifies the address that will receive the emails. -+The default is -+.IR root . - .LP - Note that an empty - .I arp.dat diff --git a/net-mgmt/arpwatch/pkg-comment b/net-mgmt/arpwatch/pkg-comment deleted file mode 100644 index 73ccdb9c117c..000000000000 --- a/net-mgmt/arpwatch/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Monitor arp & rarp requests diff --git a/net-mgmt/arpwatch/pkg-descr b/net-mgmt/arpwatch/pkg-descr deleted file mode 100644 index 1e2e8138080c..000000000000 --- a/net-mgmt/arpwatch/pkg-descr +++ /dev/null @@ -1,21 +0,0 @@ -ARPWATCH 2.0 -Lawrence Berkeley National Laboratory -Network Research Group -arpwatch@ee.lbl.gov -ftp://ftp.ee.lbl.gov/arpwatch.tar.Z - -This directory contains source code for arpwatch and arpsnmp, tools -that monitors ethernet activity and maintain a database of ethernet/ip -address pairings. It also reports certain changes via email. - -Arpsnmp has the same database features of arpwatch but relies on an -external agent to collect the arp data. This distribution contains a -script, arpfetch, that uses snmpwalk from the CMU SNMP package. This -package is available from: - - ftp://ftp.net.cmu.edu/pub/snmp-dist/cmu-snmp*.tar.Z - -It should be trivial to adaptive the output of any snmp query program -for use with arpsnmp. - -Please send bugs and comments to arpwatch@ee.lbl.gov. diff --git a/net-mgmt/arpwatch/pkg-plist b/net-mgmt/arpwatch/pkg-plist deleted file mode 100644 index 2d3d476f15f1..000000000000 --- a/net-mgmt/arpwatch/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -sbin/arpwatch -sbin/arpsnmp -@unexec test -f %D/arpwatch/arp.dat && test -s %D/arpwatch/arp.dat || rm -f %D/arpwatch/arp.dat -arpwatch/arp2ethers -arpwatch/ethercodes.dat -arpwatch/d.awk -arpwatch/e.awk -arpwatch/p.awk -etc/rc.d/arpwatch.sh -@dirrm arpwatch diff --git a/net-mgmt/arts++/Makefile b/net-mgmt/arts++/Makefile deleted file mode 100644 index eca27e89d964..000000000000 --- a/net-mgmt/arts++/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# New ports collection makefile for: arts++ -# Date created: Di 7 Nov 2000 19:48:50 CET -# Whom: Andreas Klemm <andreas@klemm.gtn.com> -# -# $FreeBSD$ -# - -PORTNAME= arts++ -PORTVERSION= 1-1-a8 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= ftp://ftp.caida.org/pub/arts++/ -DISTNAME= ${PORTNAME}-${PORTVERSION} - -MAINTAINER= andreas@FreeBSD.org - -GNU_CONFIGURE= yes -USE_GMAKE= yes -USE_NEWGCC= yes -CONFIGURE_ARGS+=--enable-shared - -MANL= artsportagg.l artsports.l artsprotos.l artsnets.l artsdump.l \ - artsases.l artstoc.l artsagg.l artsprotoagg.l artsnetagg.l \ - artsasagg.l artsportms.l artsportmagg.l artsintfms.l \ - artsintfmagg.l artsnexthops.l artsnexthopagg.l artstos.l - -.include <bsd.port.mk> diff --git a/net-mgmt/arts++/distinfo b/net-mgmt/arts++/distinfo deleted file mode 100644 index 1f03497106f1..000000000000 --- a/net-mgmt/arts++/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (arts++-1-1-a8.tar.gz) = 3527ba0fa7ab6fb579573969967d1059 diff --git a/net-mgmt/arts++/pkg-comment b/net-mgmt/arts++/pkg-comment deleted file mode 100644 index 9a786e8b04b0..000000000000 --- a/net-mgmt/arts++/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A network data storage and analysis library from CAIDA diff --git a/net-mgmt/arts++/pkg-descr b/net-mgmt/arts++/pkg-descr deleted file mode 100644 index dcfe77237170..000000000000 --- a/net-mgmt/arts++/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -arts++ is a support package for CAIDA's cflowd and skitter. - -It provides a C++ class library and simple applications for handling -data produced by cflowd and skitter. - -See: http://www.caida.org/tools/measurement/cflowd/ - http://www.caida.org/tools/measurement/skitter/ - -WWW: http://www.caida.org/tools/utilities/arts/ diff --git a/net-mgmt/arts++/pkg-plist b/net-mgmt/arts++/pkg-plist deleted file mode 100644 index 214c15a800c9..000000000000 --- a/net-mgmt/arts++/pkg-plist +++ /dev/null @@ -1,98 +0,0 @@ -bin/artsagg -bin/artsasagg -bin/artsases -bin/artsdump -bin/artsintfmagg -bin/artsintfms -bin/artsnetagg -bin/artsnets -bin/artsnexthopagg -bin/artsnexthops -bin/artsportagg -bin/artsportmagg -bin/artsportms -bin/artsports -bin/artsprotoagg -bin/artsprotos -bin/artstoc -bin/artstos -include/Arts.hh -include/ArtsAggregatorMapKey.hh -include/ArtsAsMatrix.hh -include/ArtsAsMatrixAggregator.hh -include/ArtsAsMatrixAggregatorMap.hh -include/ArtsAsMatrixData.hh -include/ArtsAsMatrixEntry.hh -include/ArtsAttribute.hh -include/ArtsAttributeVector.hh -include/ArtsBgp4AggregatorAttribute.hh -include/ArtsBgp4AsPathAttribute.hh -include/ArtsBgp4AsPathSegment.hh -include/ArtsBgp4Attribute.hh -include/ArtsBgp4DPAttribute.hh -include/ArtsBgp4Prefix.hh -include/ArtsBgp4RouteEntry.hh -include/ArtsBgp4RouteTable.hh -include/ArtsBgp4RouteTableData.hh -include/ArtsBitString.hh -include/ArtsDebug.hh -include/ArtsFileUtil.hh -include/ArtsHeader.hh -include/ArtsIfIndexSelectionSet.hh -include/ArtsInterfaceMatrix.hh -include/ArtsInterfaceMatrixAggregator.hh -include/ArtsInterfaceMatrixAggregatorMap.hh -include/ArtsInterfaceMatrixData.hh -include/ArtsInterfaceMatrixEntry.hh -include/ArtsIpPath.hh -include/ArtsIpPathData.hh -include/ArtsIpPathEntry.hh -include/ArtsNetMatrix.hh -include/ArtsNetMatrixAggregator.hh -include/ArtsNetMatrixAggregatorMap.hh -include/ArtsNetMatrixData.hh -include/ArtsNetMatrixEntry.hh -include/ArtsNextHopTable.hh -include/ArtsNextHopTableAggregator.hh -include/ArtsNextHopTableAggregatorMap.hh -include/ArtsNextHopTableData.hh -include/ArtsNextHopTableEntry.hh -include/ArtsObjectTypeSelectionSet.hh -include/ArtsPackageVersion.hh -include/ArtsPortChoice.hh -include/ArtsPortChooser.hh -include/ArtsPortMatrix.hh -include/ArtsPortMatrixAggregator.hh -include/ArtsPortMatrixAggregatorMap.hh -include/ArtsPortMatrixData.hh -include/ArtsPortMatrixEntry.hh -include/ArtsPortTable.hh -include/ArtsPortTableAggregator.hh -include/ArtsPortTableData.hh -include/ArtsPortTableEntry.hh -include/ArtsPrimitive.hh -include/ArtsProtocolTable.hh -include/ArtsProtocolTableAggregator.hh -include/ArtsProtocolTableAggregatorMap.hh -include/ArtsProtocolTableData.hh -include/ArtsProtocolTableEntry.hh -include/ArtsRttTimeSeriesTable.hh -include/ArtsRttTimeSeriesTableData.hh -include/ArtsSelectedPortTable.hh -include/ArtsSelectedPortTableData.hh -include/ArtsTimeIntervalSelectionSet.hh -include/ArtsTosTable.hh -include/ArtsTosTableAggregator.hh -include/ArtsTosTableAggregatorMap.hh -include/ArtsTosTableData.hh -include/ArtsTosTableEntry.hh -include/Ipv4Network.hh -include/Ipv4PrefixPatricia.hh -include/artslocal.h -include/caida_t.h -lib/libArts.a -lib/libArts.la -lib/libArts.so -lib/libArts.so.0 -@unexec /usr/bin/env /sbin/ldconfig -R -@exec /usr/bin/env /sbin/ldconfig -m %B diff --git a/net-mgmt/bpft/Makefile b/net-mgmt/bpft/Makefile deleted file mode 100644 index 851e7c25ef5f..000000000000 --- a/net-mgmt/bpft/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# New ports collection makefile for: bpft -# Date created: 17 March 1999 -# Whom: oddbjorn@tricknology.org -# -# $FreeBSD$ -# - -PORTNAME= bpft -PORTVERSION= 2.0 -CATEGORIES= net -MASTER_SITES= ftp://ftp.nsk.su/pub/unix/ -EXTRACT_SUFX= .tgz - -MAINTAINER= oddbjorn@tricknology.org - -MAN1= trafshow2.1 - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/bpft - ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/bpft/README -.endif - -.include <bsd.port.mk> diff --git a/net-mgmt/bpft/distinfo b/net-mgmt/bpft/distinfo deleted file mode 100644 index c4045debf0e4..000000000000 --- a/net-mgmt/bpft/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (bpft-2.0.tgz) = b7a13bc81e5893931ff4662311ee744f diff --git a/net-mgmt/bpft/files/patch-aa b/net-mgmt/bpft/files/patch-aa deleted file mode 100644 index fcfcb2275b7b..000000000000 --- a/net-mgmt/bpft/files/patch-aa +++ /dev/null @@ -1,80 +0,0 @@ -*** Makefile.orig Wed Oct 30 13:38:00 1996 ---- Makefile Wed Jan 5 15:41:25 2000 -*************** -*** 11,16 **** ---- 11,17 ---- - - # Target directory for install execution files. - PATH_BINDIR=/usr/local/bin -+ PATH_SBINDIR=/usr/local/sbin - - # Target directory for install man pages. - PATH_MANDIR=/usr/local/man/man1 -*************** -*** 18,24 **** - # Trailing slash directory, summary traffic log files will be put there. - PATH_TOSAVE=/var/log/ - -! # Full pathname where locate tarfstat program. - PATH_TRAFSTAT=/usr/local/bin/trafstat - - # Where locate trafstatd log file, if you want log then file must exist. ---- 19,25 ---- - # Trailing slash directory, summary traffic log files will be put there. - PATH_TOSAVE=/var/log/ - -! # Full pathname where locate trafstat program. - PATH_TRAFSTAT=/usr/local/bin/trafstat - - # Where locate trafstatd log file, if you want log then file must exist. -*************** -*** 56,79 **** - $(MAKE) CC=$(CC) CFLAGS='$(CFLAGS)' LIB='$(LIB)') - @(cd trafstatd; echo "Build trafstatd in `pwd`"; \ - $(MAKE) CC=$(CC) CFLAGS='$(CFLAGS)' LIB='$(LIB)') -! @(cd traflog; echo "Build tarflog in `pwd`"; \ - $(MAKE) CC=$(CC) CFLAGS='$(CFLAGS)' LIB='$(LIB)') - @(cd trafshow; echo "Build trafshow in `pwd`"; \ - $(MAKE) CC=$(CC) CFLAGS='$(CFLAGS)' LIB='$(LIB)') - @echo Done. - - install: all -! install -s -o root -g $(GROUP) -m $(MODE) trafd/trafd $(PATH_BINDIR) -! install -c -o root -g $(GROUP) -m $(MODE) trafd/trafstart $(PATH_BINDIR) -! install -c -o root -g $(GROUP) -m $(MODE) trafd/trafstop $(PATH_BINDIR) -! install -c -o root -g $(GROUP) -m $(MODE) trafd/trafsave $(PATH_BINDIR) -! install -c -o root -g $(GROUP) -m $(MODE) trafd/trafdump $(PATH_BINDIR) - install -s -o root -g $(GROUP) -m $(MODE) trafstat/trafstat $(PATH_BINDIR) -! install -s -o root -g $(GROUP) -m $(MODE) trafstatd/trafstatd $(PATH_BINDIR) -! install -s -o root -g $(GROUP) -m $(MODE) traflog/traflog $(PATH_BINDIR) - install -c -o root -g $(GROUP) -m $(MODE) traflog/traflog.format $(PATH_TRAFLOG_FMT) -! install -s -o root -g $(GROUP) -m $(MODE) trafshow/trafshow $(PATH_BINDIR) -! install -c -m 644 trafshow/trafshow.1 $(PATH_MANDIR) - @echo Done. - - clean: ---- 57,80 ---- - $(MAKE) CC=$(CC) CFLAGS='$(CFLAGS)' LIB='$(LIB)') - @(cd trafstatd; echo "Build trafstatd in `pwd`"; \ - $(MAKE) CC=$(CC) CFLAGS='$(CFLAGS)' LIB='$(LIB)') -! @(cd traflog; echo "Build traflog in `pwd`"; \ - $(MAKE) CC=$(CC) CFLAGS='$(CFLAGS)' LIB='$(LIB)') - @(cd trafshow; echo "Build trafshow in `pwd`"; \ - $(MAKE) CC=$(CC) CFLAGS='$(CFLAGS)' LIB='$(LIB)') - @echo Done. - - install: all -! install -s -o root -g $(GROUP) -m $(MODE) trafd/trafd $(PATH_SBINDIR) -! install -c -o root -g $(GROUP) -m $(MODE) trafd/trafstart $(PATH_BINDIR) -! install -c -o root -g $(GROUP) -m $(MODE) trafd/trafstop $(PATH_BINDIR) -! install -c -o root -g $(GROUP) -m $(MODE) trafd/trafsave $(PATH_BINDIR) -! install -c -o root -g $(GROUP) -m $(MODE) trafd/trafdump $(PATH_BINDIR) - install -s -o root -g $(GROUP) -m $(MODE) trafstat/trafstat $(PATH_BINDIR) -! install -s -o root -g $(GROUP) -m $(MODE) trafstatd/trafstatd $(PATH_SBINDIR) -! install -s -o root -g $(GROUP) -m $(MODE) traflog/traflog $(PATH_BINDIR) - install -c -o root -g $(GROUP) -m $(MODE) traflog/traflog.format $(PATH_TRAFLOG_FMT) -! install -s -o root -g $(GROUP) -m $(MODE) trafshow/trafshow $(PATH_BINDIR)/trafshow2 -! install -c -m 644 trafshow/trafshow.1 $(PATH_MANDIR)/trafshow2.1 - @echo Done. - - clean: diff --git a/net-mgmt/bpft/files/patch-ab b/net-mgmt/bpft/files/patch-ab deleted file mode 100644 index ceba57fa1e19..000000000000 --- a/net-mgmt/bpft/files/patch-ab +++ /dev/null @@ -1,19 +0,0 @@ -*** trafd/trafstop.orig Fri Mar 19 21:03:06 1999 ---- trafd/trafstop Fri Mar 19 21:04:13 1999 -*************** -*** 6,12 **** - # - # usage: trafstop interfaces... - # -! PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin - WHERE_PID=/var/run/trafd. - LOG_FILE=/var/log/traffic.log - ---- 6,12 ---- - # - # usage: trafstop interfaces... - # -! PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin - WHERE_PID=/var/run/trafd. - LOG_FILE=/var/log/traffic.log - diff --git a/net-mgmt/bpft/files/patch-ac b/net-mgmt/bpft/files/patch-ac deleted file mode 100644 index 407d0129f48a..000000000000 --- a/net-mgmt/bpft/files/patch-ac +++ /dev/null @@ -1,45 +0,0 @@ ---- lib/addrtoname.c Fri Jan 12 17:42:37 1996 -+++ lib/addrtoname.c Thu Jul 25 07:37:56 1996 -@@ -294,8 +294,8 @@ - #ifdef ETHER_SERVICE - if (!nflag) { -- cp = ETHER_ntohost(ep); -- if (cp) { -- tp->e_name = cp; -- return cp; -+ char buf[128]; -+ if (ether_ntohost(buf, ep) == 0) { -+ tp->e_name =strdup(buf); -+ return tp->e_name; - } - } ---- lib/gencode.c Wed Jan 10 12:27:13 1996 -+++ lib/gencode.c Thu Jul 25 07:43:16 1996 -@@ -841,4 +841,5 @@ - struct block *b, *tmp; - int port, real_proto; -+ static char wrk[6]; - - switch (q.addr) { -@@ -854,6 +855,9 @@ - case Q_HOST: - if (proto == Q_LINK) { - /* XXX Should lookup hw addr based on link layer */ -- eaddr = ETHER_hostton(name); -+ if (ether_hostton(name, wrk) == 0) -+ eaddr = wrk; -+ else -+ eaddr = 0; - if (eaddr == 0) - error("unknown ether host '%s'", name); -@@ -896,5 +901,9 @@ - - case Q_GATEWAY: -- eaddr = ETHER_hostton(name); -+ /* XXX Should lookup hw addr based on link layer */ -+ if (ether_hostton(name, wrk) == 0) -+ eaddr = wrk; -+ else -+ eaddr = 0; - if (eaddr == 0) - error("unknown ether host: %s", name); diff --git a/net-mgmt/bpft/files/patch-ad b/net-mgmt/bpft/files/patch-ad deleted file mode 100644 index 938545f4f556..000000000000 --- a/net-mgmt/bpft/files/patch-ad +++ /dev/null @@ -1,10 +0,0 @@ ---- trafshow/show.c.orig Sun Sep 19 18:27:49 1999 -+++ trafshow/show.c Sun Sep 19 18:28:03 1999 -@@ -15,6 +15,7 @@ - - static char copyright[] = "* Copyright (c) 1993-1996 CAD lab, Institute of Telecommunication, Novosibirsk *"; - -+#include <sys/types.h> - #include <curses.h> - #include <stdlib.h> - #include <string.h> diff --git a/net-mgmt/bpft/files/patch-ae b/net-mgmt/bpft/files/patch-ae deleted file mode 100644 index 71e55bf62bbf..000000000000 --- a/net-mgmt/bpft/files/patch-ae +++ /dev/null @@ -1,13 +0,0 @@ ---- trafd/trafstart.orig Wed Oct 27 09:04:52 1993 -+++ trafd/trafstart Mon Oct 25 11:26:55 1999 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # - # trafstart Copyright (c)1993 CAD lab - # -@@ -20,4 +21,4 @@ - #trafd -i ne0 port ftp or ftp-data - # - echo I am storage, before use invoke editor and edit as your need. --trafd -? -+/usr/local/sbin/trafd -? diff --git a/net-mgmt/bpft/files/patch-af b/net-mgmt/bpft/files/patch-af deleted file mode 100644 index 1ecb1dfa036e..000000000000 --- a/net-mgmt/bpft/files/patch-af +++ /dev/null @@ -1,7 +0,0 @@ ---- trafd/trafstop.orig Mon Oct 25 11:27:48 1999 -+++ trafd/trafstop Mon Oct 25 11:28:29 1999 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # - # trafstop Copyright (c)1993 CAD lab - # diff --git a/net-mgmt/bpft/files/patch-ag b/net-mgmt/bpft/files/patch-ag deleted file mode 100644 index c126de30db80..000000000000 --- a/net-mgmt/bpft/files/patch-ag +++ /dev/null @@ -1,228 +0,0 @@ ---- trafd.orig/main.c Sun Jun 6 08:54:09 1999 -+++ trafd/main.c Sun Jun 6 08:53:33 1999 -@@ -53,6 +53,17 @@ - int pflag; /* don't put the interface into promiscuous mode */ - int rflag; /* attempt to resume data from safe file if exist */ - -+int Iflag = 0; /* don't destinguish packets by port/protocol -> only by IP */ -+int Dflag = 1; /* do daemonize */ -+ -+#define MAX_ACC_ADDRESSES 256 -+ -+struct AccRecord AccAddr[MAX_ACC_ADDRESSES]; -+int AccRecNum = 0; -+ -+struct AccRecord AggAddr[MAX_ACC_ADDRESSES]; -+int AggRecNum = 0; -+ - /* Global interrupts flags */ - int flag_hup; /* SIGHUP - drop collected data to tempfile */ - int flag_int; /* SIGINT - append collected data to savefile */ -@@ -80,7 +91,52 @@ - - static int if_fd = -1; - --void -+int getnet(char *s, struct AccRecord *ar) -+{ -+ int rc; -+ char *r; -+ r = strchr(s, '/'); -+ if (r) *r++ = '\0'; -+ rc = inet_aton(s, (struct in_addr *)&ar->network); -+ if (rc != 1 || !r || !atoi(r)) { -+ fprintf(stderr, "Incorrect parametr '%s' must be in XXX.XXX.XXX.XXX/MASKLEN form\n", s); -+ exit(1); -+ } -+ ar->netmask = htonl(~(0xFFFFFFFF >> atoi(r))); -+ ar->network &= ar->netmask; -+ return(0); -+} -+ -+void AccAdd(char *s, struct AccRecord *ar, int *ap) { -+ if (isdigit(*s)) { /* network */ -+ if (*ap + 1 >= MAX_ACC_ADDRESSES) { -+ fprintf( stderr, "too many '-S/-A' flags, only %d allowed for each\n", MAX_ACC_ADDRESSES ); -+ exit(1); -+ } -+ getnet(optarg, &ar[(*ap)++]); -+ } else { /* file */ -+ char buf[256]; -+ FILE *f = fopen(s, "r"); -+ if (!f) { -+ perror("can't open file"); -+ exit(1); -+ } -+ while(fgets(buf, sizeof(buf)-1, f)) { -+ char *ent; -+ if (*ap + 1 >= MAX_ACC_ADDRESSES) { -+ fprintf( stderr, "too many entries in %s, only %d allowed for each\n", s, MAX_ACC_ADDRESSES ); -+ exit(1); -+ } -+ ent = buf; -+ while(*ent && isspace(*ent)) ent++; -+ if (!*ent || *ent == '#') continue; -+ getnet(buf, &ar[(*ap)++]); -+ } -+ fclose(f); -+ } -+} -+ -+int - main(argc, argv) - int argc; - char **argv; -@@ -100,7 +156,7 @@ - program_name = stripdir(argv[0]); - - opterr = 0; -- while ((op = getopt(argc, argv, "c:df:F:i:Opr")) != EOF) -+ while ((op = getopt(argc, argv, "c:df:F:i:OprIS:A:D")) != EOF) - switch (op) { - case 'c': - cnt = atoi(optarg); -@@ -126,6 +182,18 @@ - case 'r': - ++rflag; - break; -+ case 'I': -+ Iflag = 1; -+ break; -+ case 'D': -+ Dflag = 0; -+ break; -+ case 'S': -+ AccAdd(optarg, AccAddr, &AccRecNum); -+ break; -+ case 'A': -+ AccAdd(optarg, AggAddr, &AggRecNum); -+ break; - default: - usage(); - } -@@ -185,7 +253,9 @@ - device_name); - - /* Jump to background */ -- daemon(1, 0); -+ if (Dflag) -+ daemon(1, 0); -+ - if ((fd = fopen(file_pid, "w")) == NULL) - exit(1); - -@@ -207,6 +277,7 @@ - (void)syslog(LOG_ERR, "(%s) traffic collector aborted: %m", - device_name); - exit(1); -+ return(1); - } - - /* make a clean exit on interrupts */ -@@ -284,6 +355,22 @@ - fprintf(stderr, "trafd v%s - tcp/udp data traffic collector daemon\n", - version); - fprintf(stderr, --"Usage: %s [-dOpr] [-c count] [-i iface] [-f ext] [-F file | expr]\n", program_name); -+ "Usage: %s [<flags>] [-F file | expr]\n" -+ "flags:\n" -+ "\t-d\t\tdump packet-matching code\n" -+ "\t-O\t\tdon't run the packet-matching code optimizer\n" -+ "\t-p\t\tdon't put the interface into promiscuous mode\n" -+ "\t-r\t\tattempt to resume data from safe file if exist\n" -+ "\t-I\t\tdon't destinguish ports and protocols\n" -+ "\t-D\t\trun in foreground\n" -+ "\t-c <N>\t\taccount only <N> packets\n" -+ "\t-i <iface>\tlisten interface <iface>\n" -+ "\t-S <net/mlen>\tdo accounting only for this address range\n" -+ "\t-S <filename>\t--\"\"--, read address ranges from file\n" -+ "\t-A <net/mlen>\taggregate addreses from this range to one\n" -+ "\t-A <filename>\t--\"\"--, read address range from file\n" -+ "\t-f <ext>\tuse <ext> as interface name for data files\n" -+ "\n", -+ program_name); - exit(-1); - } -diff -u -N -r trafd.orig/trafd.h trafd/trafd.h ---- trafd.orig/trafd.h Sun Jun 6 08:54:09 1999 -+++ trafd/trafd.h Sun Jun 6 08:16:50 1999 -@@ -32,3 +32,15 @@ - extern void traf_save(); - extern void traf_pipe(); - extern void traf_clear(); -+ -+struct AccRecord { -+ unsigned int network; -+ unsigned int netmask; -+}; -+ -+extern struct AccRecord AccAddr[]; -+extern int AccRecNum; -+ -+extern struct AccRecord AggAddr[]; -+extern int AggRecNum; -+ -\ No newline at end of file -diff -u -N -r trafd.orig/traffic.c trafd/traffic.c ---- trafd.orig/traffic.c Sun Jun 6 08:54:09 1999 -+++ trafd/traffic.c Sun Jun 6 08:53:33 1999 -@@ -138,6 +138,9 @@ - return -2; - } - -+ -+extern int Iflag; -+extern struct bpf_program *Scode; - /* - * Insert entry. - */ -@@ -146,8 +149,48 @@ - register p_entry e; - /* return -1 if success digit if already in table or -2 if table full */ - { -- register int ec = findentry(e); -+ register int ec; - register unsigned inx; -+ -+ if (Iflag) { /* don't match/store protocol&ports */ -+ e->ip_protocol = 0; -+ e->who_srv = 0; -+ e->p_port = 0; -+ } -+ -+ if (AccRecNum) { -+ int i; -+ int src = 0, dst = 0; -+ for(i = 0; i < AccRecNum; i++) { -+ if ((e->in_ip.s_addr & AccAddr[i].netmask) == -+ AccAddr[i].network) src = 1; -+ if ((e->out_ip.s_addr & AccAddr[i].netmask) == -+ AccAddr[i].network) dst = 1; -+ } -+ if (!src) e->in_ip.s_addr = 0xFFFFFFFF; -+ if (!dst) e->out_ip.s_addr = 0xFFFFFFFF; -+ } -+ -+ if (AggRecNum) { -+ int i; -+ int src = 0, dst = 0; -+ for(i = 0; i < AggRecNum; i++) { -+ if (!src && -+ (e->in_ip.s_addr & AggAddr[i].netmask) == -+ AggAddr[i].network) { -+ src = 1; -+ e->in_ip.s_addr = (e->in_ip.s_addr & AggAddr[i].netmask); -+ } -+ if (!dst && -+ (e->out_ip.s_addr & AggAddr[i].netmask) == -+ AggAddr[i].network) { -+ dst = 1; -+ e->out_ip.s_addr = (e->out_ip.s_addr & AggAddr[i].netmask); -+ } -+ } -+ } -+ -+ ec = findentry(e); - if (ec != -1) - return ec; - inx = hash(e); diff --git a/net-mgmt/bpft/pkg-comment b/net-mgmt/bpft/pkg-comment deleted file mode 100644 index f2898ca78fed..000000000000 --- a/net-mgmt/bpft/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -The BPF Traffic Collector diff --git a/net-mgmt/bpft/pkg-descr b/net-mgmt/bpft/pkg-descr deleted file mode 100644 index f0e0642ef318..000000000000 --- a/net-mgmt/bpft/pkg-descr +++ /dev/null @@ -1,21 +0,0 @@ -bpft is a superset of trafshow, and extends it by adding a daemon -which collects data about network connections (src, dst, protocol -and length). The resulting data can be dumped to a file for later -processing. - -Read /usr/local/share/doc/bpft/README after installation for more -information. - -To use bpft, your kernel must be rebuilt with the following line -added to your kernel config file (/sys/i386/conf/<YourMachine>): - -pseudo-device bpfilter 4 # Berkeley packet filter - -The number after bpfilter is the number of interfaces that can be -examined simultaneously. See section 6.1 of the Handbook for details. - -On FreeBSD 4 or later, use the following line instead: - -device bpf # Berkeley packet filter - -- oddbjorn <oddbjorn@tricknology.org> diff --git a/net-mgmt/bpft/pkg-plist b/net-mgmt/bpft/pkg-plist deleted file mode 100644 index 3d3e7c8854d0..000000000000 --- a/net-mgmt/bpft/pkg-plist +++ /dev/null @@ -1,12 +0,0 @@ -bin/trafdump -bin/traflog -bin/trafsave -bin/trafshow2 -bin/trafstart -bin/trafstat -bin/trafstop -etc/traflog.format -sbin/trafd -sbin/trafstatd -share/doc/bpft/README -@dirrm share/doc/bpft diff --git a/net-mgmt/cflowd/Makefile b/net-mgmt/cflowd/Makefile deleted file mode 100644 index 3445d989e09f..000000000000 --- a/net-mgmt/cflowd/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection makefile for: cflowd -# Date created: Di 7 Nov 2000 19:48:50 CET -# Whom: Andreas Klemm <andreas@klemm.gtn.com> -# -# $FreeBSD$ -# - -PORTNAME= cflowd -PORTVERSION= 2-1-b1 -PORTREVISION= 5 -CATEGORIES= net -MASTER_SITES= ftp://ftp.caida.org/pub/cflowd/ -DISTNAME= ${PORTNAME}-${PORTVERSION} - -.if defined(CFLOWD_FLOWSCAN_PATCH) -PATCH_SITES= http://net.doit.wisc.edu/~plonka/cflowd/ -PATCHFILES= cflowd-2-1-b1-djp.patch -.endif - -MAINTAINER= andreas@FreeBSD.org - -BUILD_DEPENDS= ${LOCALBASE}/lib/libArts.a:${PORTSDIR}/net/arts++ - -GNU_CONFIGURE= yes -USE_GMAKE= yes -USE_NEWGCC= yes -USE_BISON= yes - -CONFIGURE_ARGS+=--enable-shared --with-artspp=${PREFIX} - -MANL= cfdases.l cfdifmatrix.l cfdnets.l cfdnexthops.l \ - cfdportmatrix.l cfdprotos.l cfdtos.l flowdump.l flowwatch.l - -.if !defined(CFLOWD_FLOWSCAN_PATCH) -pre-everything: - @${ECHO} "you can compile cflowd with patches for FlowScan by typing:" - @${ECHO} "make CFLOWD_FLOWSCAN_PATCH=yes" -.endif - -post-install: - ${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \ - ${PREFIX}/etc/rc.d/cflowd-base.sh.sample - -.include <bsd.port.mk> diff --git a/net-mgmt/cflowd/distinfo b/net-mgmt/cflowd/distinfo deleted file mode 100644 index ce0058d33564..000000000000 --- a/net-mgmt/cflowd/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (cflowd-2-1-b1.tar.gz) = 6f0543390e9d46c4274f6b12b6517f62 -MD5 (cflowd-2-1-b1-djp.patch) = 77e96671521ff1870a51d0dc11161eae diff --git a/net-mgmt/cflowd/files/cflowd.sh b/net-mgmt/cflowd/files/cflowd.sh deleted file mode 100644 index e063398026d4..000000000000 --- a/net-mgmt/cflowd/files/cflowd.sh +++ /dev/null @@ -1,36 +0,0 @@ -#! /bin/sh - -# rc script for cflowd -# Andreas Klemm <andreas@FreeBSD.org>, So 25 Mär 2001 12:46:10 CEST -# $FreeBSD$ - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -'start') - [ -x $PREFIX/sbin/cflowdmux -a -s $PREFIX/etc/cflowd.conf ] \ - && $PREFIX/sbin/cflowdmux $PREFIX/etc/cflowd.conf \ - && echo -n " cflowdmux" - sleep 2 - [ -x $PREFIX/sbin/cflowd -a -s $PREFIX/etc/cflowd.conf ] \ - && $PREFIX/sbin/cflowd $PREFIX/etc/cflowd.conf \ - && echo -n " cflowd" - sleep 2 - [ -x $PREFIX/sbin/cfdcollect -a -s $PREFIX/etc/cfdcollect.conf ] \ - && $PREFIX/sbin/cfdcollect $PREFIX/etc/cfdcollect.conf \ - && echo -n " cfdcollect" - ;; - -'stop') - for i in cfdcollect cflowd cflowdmux - do - sleep 2 - killall -15 $i && echo "graceful shutdown of $i" - done - ;; -esac - -exit 0 diff --git a/net-mgmt/cflowd/pkg-comment b/net-mgmt/cflowd/pkg-comment deleted file mode 100644 index fa68b88e46f0..000000000000 --- a/net-mgmt/cflowd/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Flow analysis tool used for analyzing Cisco's NetFlow switching diff --git a/net-mgmt/cflowd/pkg-descr b/net-mgmt/cflowd/pkg-descr deleted file mode 100644 index 0d330ecd991a..000000000000 --- a/net-mgmt/cflowd/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -cflowd is a flow analysis tool currently used for analyzing Cisco's -NetFlow enabled switching method. - -The current release includes the collections, storage, and basic -analysis modules for cflowd and for arts++ libraries. - -This analysis package permits data collection and analysis by ISPs -and network engineers in support of capacity planning, trends analysis, -and characterization of workloads in a network service provider environment. - -Other areas where cflowd may prove useful include usage tracking for Web -hosting, accounting and billing, network planning and analysis, network -monitoring, developing user profiles, data warehousing and mining, -as well as security-related investigations. - -WWW: http://www.caida.org/tools/measurement/cflowd/ diff --git a/net-mgmt/cflowd/pkg-plist b/net-mgmt/cflowd/pkg-plist deleted file mode 100644 index 60e4ad377a61..000000000000 --- a/net-mgmt/cflowd/pkg-plist +++ /dev/null @@ -1,92 +0,0 @@ -bin/cfdases -bin/cfdifmatrix -bin/cfdnets -bin/cfdnexthops -bin/cfdportmatrix -bin/cfdprotos -bin/cfdtos -bin/flowdump -bin/flowwatch -etc/cfdcollect.conf.example -etc/cflowd.conf.example -etc/rc.d/cflowd-base.sh.sample -include/cflowd/CflowdAsMatrix.hh -include/cflowd/CflowdAsMatrixKey.hh -include/cflowd/CflowdAsMatrixTrafficCounter.hh -include/cflowd/CflowdCisco.hh -include/cflowd/CflowdCiscoFlowEngine.hh -include/cflowd/CflowdCiscoFlowEngineMap.hh -include/cflowd/CflowdCiscoFlowInterface.hh -include/cflowd/CflowdCiscoFlowInterfaceMap.hh -include/cflowd/CflowdCiscoMap.hh -include/cflowd/CflowdCollector.hh -include/cflowd/CflowdCollectorMap.hh -include/cflowd/CflowdConfig.hh -include/cflowd/CflowdConfigLex.hh -include/cflowd/CflowdFlowFilter.hh -include/cflowd/CflowdFlowPdu.h -include/cflowd/CflowdFlowPortList.hh -include/cflowd/CflowdInterfaceInfo.hh -include/cflowd/CflowdInterfaceMatrix.hh -include/cflowd/CflowdInterfaceMatrixKey.hh -include/cflowd/CflowdInterfaceMatrixTrafficCounter.hh -include/cflowd/CflowdNetMatrix.hh -include/cflowd/CflowdNetMatrixKey.hh -include/cflowd/CflowdNetMatrixTrafficCounter.hh -include/cflowd/CflowdNextHopTable.hh -include/cflowd/CflowdNextHopTableTrafficCounter.hh -include/cflowd/CflowdPacketQueue.hh -include/cflowd/CflowdPortMatrix.hh -include/cflowd/CflowdPortMatrixKey.hh -include/cflowd/CflowdPortMatrixTrafficCounter.hh -include/cflowd/CflowdProtocolTable.hh -include/cflowd/CflowdProtocolTableTrafficCounter.hh -include/cflowd/CflowdRawFlow.hh -include/cflowd/CflowdRawFlowConverter.hh -include/cflowd/CflowdRawFlowLogger.hh -include/cflowd/CflowdTableRequest.hh -include/cflowd/CflowdTosTable.hh -include/cflowd/CflowdUint16Uint16Key.hh -include/cflowd/CflowdUint64TrafficCounter.hh -include/cflowd/CflowdVersion.hh -include/cflowd/snmp++/address.h -include/cflowd/snmp++/asn1.h -include/cflowd/snmp++/collect.h -include/cflowd/snmp++/counter.h -include/cflowd/snmp++/ctr64.h -include/cflowd/snmp++/eventlist.h -include/cflowd/snmp++/gauge.h -include/cflowd/snmp++/integer.h -include/cflowd/snmp++/msec.h -include/cflowd/snmp++/msgqueue.h -include/cflowd/snmp++/notifyqueue.h -include/cflowd/snmp++/octet.h -include/cflowd/snmp++/oid.h -include/cflowd/snmp++/oid_def.h -include/cflowd/snmp++/pdu.h -include/cflowd/snmp++/smi.h -include/cflowd/snmp++/smival.h -include/cflowd/snmp++/snmp_pp.h -include/cflowd/snmp++/snmperrs.h -include/cflowd/snmp++/snmpmsg.h -include/cflowd/snmp++/target.h -include/cflowd/snmp++/timetick.h -include/cflowd/snmp++/userdefined.h -include/cflowd/snmp++/usertimeout.h -include/cflowd/snmp++/vb.h -lib/cflowd/libCfd.a -lib/cflowd/libCfd.la -lib/cflowd/libCfd.so -lib/cflowd/libCfd.so.0 -lib/cflowd/libsnmp++.a -lib/cflowd/libsnmp++.la -lib/cflowd/libsnmp++.so -lib/cflowd/libsnmp++.so.0 -sbin/cfdcollect -sbin/cflowd -sbin/cflowdmux -@dirrm include/cflowd/snmp++ -@dirrm include/cflowd -@dirrm lib/cflowd -@unexec /usr/bin/env /sbin/ldconfig -R -@exec /usr/bin/env /sbin/ldconfig -m %B diff --git a/net-mgmt/choparp/Makefile b/net-mgmt/choparp/Makefile deleted file mode 100644 index 5cb2e9408498..000000000000 --- a/net-mgmt/choparp/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# New ports collection makefile for: choparp -# Date created: 7 October 1997 -# Whom: itojun@itojun.org -# -# $FreeBSD$ -# - -PORTNAME= choparp -PORTVERSION= 971007 -CATEGORIES= net -MASTER_SITES= http://delegate.uec.ac.jp:8081/club/mma/~tree/soft/choparp/ - -MAINTAINER= ports@freebsd.org - -MAN8= choparp.8 -MANCOMPRESSED= maybe - -WRKSRC= ${WRKDIR}/choparp - -.include <bsd.port.mk> diff --git a/net-mgmt/choparp/distinfo b/net-mgmt/choparp/distinfo deleted file mode 100644 index 1c84e847921e..000000000000 --- a/net-mgmt/choparp/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (choparp-971007.tar.gz) = dae13260334a96a388357c34d313946c diff --git a/net-mgmt/choparp/files/patch-aa b/net-mgmt/choparp/files/patch-aa deleted file mode 100644 index 02c13fd65b80..000000000000 --- a/net-mgmt/choparp/files/patch-aa +++ /dev/null @@ -1,80 +0,0 @@ ---- /dev/null Wed Oct 8 06:50:58 1997 -+++ choparp.8 Tue Oct 7 23:34:42 1997 -@@ -0,0 +1,77 @@ -+.\" Copyright (c) 1997 by Takamichi Tateoka. 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. -+.\" 3. All advertising materials mentioning features or use of this software -+.\" must display the following acknowledgement: -+.\" This product includes software developed by Takamichi Tateoka. -+.\" 4. Neither the name of the author may be used to endorse or promote -+.\" products derived from this software without specific prior -+.\" written permission. -+.\" -+.\" THIS SOFTWARE IS PROVIDED BY TAKAMICHI TATEOKA ``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 REGENTS 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. -+.\" -+.Dd October 7, 1997 -+.Dt CHOPARP 8 -+.Os -+.Sh NAME -+.Nm choparp -+.Nd cheap and omitted proxy arp -+.Sh SYNOPSIS -+.Nm chpoarp -+.Ar if_name mac_addr net_addr net_mask -+.Sh DESCRIPTION -+.Pp -+.Nm choparp -+is a easy-to-use proxy arp daemon. -+It watches arp request packets visible on the interface specified by argument -+.Ar if_name , -+and sends proxy arp reply to the sender if the arp request queries the -+MAC address (ethernet hardware address) for the network speicified by -+.Ar net_addr -+and -+.Ar net_mask . -+.Pp -+.Ar mac_addr -+has to be the MAC address assigned to the interface -+.Ar if_name . -+The format of -+.Ar mac_addr -+must be 6 bytes of hexadecimal value, separated by colons (":") ; -+for example, "00:00:01:01:14:46". -+The format of -+.Ar net_addr -+and -+.Ar net_mask -+must be dot notation (say, 133.138.1.134) or 32bit hexadecimal value -+starting with "0x" (say, 0x858a0186). -+.Sh EXAMPLES -+If you have network interface "ne0" with MAC address "00:00:01:01:14:16", -+and would like to send proxy arp reply for 192.168.0.64/26, -+the argument would be as follows: -+.Bd -literal -offset indent -+choparp ne0 00:00:01:01:14:46 192.168.0.64 255.255.255.192 -+.Ed -+.Sh BUGS -+Supports ethernet interfaces only. -+Handles single interface at a time. -+(you can start multiple -+.Nm choparp -+for multiple interfaces, though) -+MAC address should be automatically detected. diff --git a/net-mgmt/choparp/files/patch-ab b/net-mgmt/choparp/files/patch-ab deleted file mode 100644 index 5cb299411e3b..000000000000 --- a/net-mgmt/choparp/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- /dev/null Tue Oct 7 23:33:35 1997 -+++ Makefile Tue Oct 7 23:42:51 1997 -@@ -0,0 +1,8 @@ -+PROG= choparp -+MAN8= choparp.8 -+ -+DESTDIR=${PREFIX} -+BINDIR= /sbin -+MANDIR= /man/man -+ -+.include <bsd.prog.mk> diff --git a/net-mgmt/choparp/files/patch-ac b/net-mgmt/choparp/files/patch-ac deleted file mode 100644 index dc51d4b91067..000000000000 --- a/net-mgmt/choparp/files/patch-ac +++ /dev/null @@ -1,12 +0,0 @@ ---- choparp.c.orig Sat Nov 29 15:38:49 1997 -+++ choparp.c Sat Nov 29 15:45:52 1997 -@@ -21,6 +21,9 @@ - #include <net/if.h> - #include <netinet/in.h> - /* #include <net/if_arp.h> */ -+#if (__FreeBSD__ >= 3) -+ #include <net/if_var.h> -+#endif - #include <netinet/if_ether.h> - #include <sys/param.h> - #include <errno.h> diff --git a/net-mgmt/choparp/pkg-comment b/net-mgmt/choparp/pkg-comment deleted file mode 100644 index 59c1140147aa..000000000000 --- a/net-mgmt/choparp/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Simple proxy arp daemon diff --git a/net-mgmt/choparp/pkg-descr b/net-mgmt/choparp/pkg-descr deleted file mode 100644 index a1106c21e43b..000000000000 --- a/net-mgmt/choparp/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -SYNOPSIS - chpoarp if_name mac_addr net_addr net_mask - -DESCRIPTION - choparp is a easy-to-use proxy arp daemon. It watches arp request pack- - ets visible on the interface specified by argument if_name, and sends - proxy arp reply to the sender if the arp request queries the MAC address - (ethernet hardware address) for the network speicified by net_addr and - net_mask. diff --git a/net-mgmt/choparp/pkg-plist b/net-mgmt/choparp/pkg-plist deleted file mode 100644 index 7e9114b42cab..000000000000 --- a/net-mgmt/choparp/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -sbin/choparp diff --git a/net-mgmt/cidr/Makefile b/net-mgmt/cidr/Makefile deleted file mode 100644 index 5b2f33bb4043..000000000000 --- a/net-mgmt/cidr/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: sqsh -# Date created: 18 Jun 2000 -# Whom: Domas Mituzas <midom@dammit.lt> -# -# $FreeBSD$ - -PORTNAME= cidr -PORTVERSION= 2.3 -CATEGORIES= net -MASTER_SITES= http://home.netcom.com/~naym/cidr/ -DISTNAME= cidr-current - -MAINTAINER= midom@dammit.lt - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -ALL_TARGET= cidr - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cidr ${PREFIX}/bin/cidr - ${INSTALL_MAN} ${WRKSRC}/cidr.1 ${PREFIX}/man/man1/cidr.1 - -MAN1= cidr.1 - -.include <bsd.port.mk> diff --git a/net-mgmt/cidr/distinfo b/net-mgmt/cidr/distinfo deleted file mode 100644 index 645ae8083b36..000000000000 --- a/net-mgmt/cidr/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (cidr-current.tar.gz) = 59b4c94b2a721a0e47973d0f79d72d91 diff --git a/net-mgmt/cidr/files/patch-aa b/net-mgmt/cidr/files/patch-aa deleted file mode 100644 index 063439a16695..000000000000 --- a/net-mgmt/cidr/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.old Wed Jul 19 12:44:39 2000 -+++ Makefile Sat Jun 17 14:26:22 2000 -@@ -4,7 +4,7 @@ - OBJS = cidr.o - - cidr: $(OBJS) -- gcc -Wall -o cidr cidr.c -+ gcc -Wall -o cidr $(OBJS) - - clean: - rm $(OBJS) cidr diff --git a/net-mgmt/cidr/pkg-comment b/net-mgmt/cidr/pkg-comment deleted file mode 100644 index 44872cd8446e..000000000000 --- a/net-mgmt/cidr/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -RFC 1878 subnet calculator / helper diff --git a/net-mgmt/cidr/pkg-descr b/net-mgmt/cidr/pkg-descr deleted file mode 100644 index 486dc316e448..000000000000 --- a/net-mgmt/cidr/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -cidr is a tiny command-line tool for determining network and broadcast -addresses a la RFC 1878. It takes an IP address and netmask and -outputs the network address, broadcast address, and total number of -addresses for the corresponding subnet. The IP can be in binary, -decimal, hex, or dotted quad. The mask can be in binary, decimal, hex, -dotted quad, or prefix. diff --git a/net-mgmt/cidr/pkg-plist b/net-mgmt/cidr/pkg-plist deleted file mode 100644 index 5485d27b325b..000000000000 --- a/net-mgmt/cidr/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -bin/cidr diff --git a/net-mgmt/cisco_conf/Makefile b/net-mgmt/cisco_conf/Makefile deleted file mode 100644 index 9899432b5098..000000000000 --- a/net-mgmt/cisco_conf/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# New ports collection makefile for: cisco_conf -# Date created: 27 March 2001 -# Whom: Anton Voronin <anton@urc.ac.ru> -# -# $FreeBSD$ -# - -PORTNAME= cisco_conf -PORTVERSION= 1.0 -CATEGORIES= net -MASTER_SITES= http://rnoc.urc.ac.ru/~anton/projects/files/ -DISTNAME= ciscoconf-${PORTVERSION} - -MAINTAINER= anton@urc.ac.ru - -RUN_DEPENDS= ${LOCALBASE}/bin/joe:${PORTSDIR}/editors/joe - -WRKSRC= ${WRKDIR}/ciscoconf - -NO_BUILD= YES - -.include <bsd.port.mk> diff --git a/net-mgmt/cisco_conf/distinfo b/net-mgmt/cisco_conf/distinfo deleted file mode 100644 index 69d458449d7e..000000000000 --- a/net-mgmt/cisco_conf/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ciscoconf-1.0.tar.gz) = 89ee5f31d10a0cfe9922164cd5dd180f diff --git a/net-mgmt/cisco_conf/pkg-comment b/net-mgmt/cisco_conf/pkg-comment deleted file mode 100644 index 42bce08511e5..000000000000 --- a/net-mgmt/cisco_conf/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Simple configuration editor for Cisco devices diff --git a/net-mgmt/cisco_conf/pkg-descr b/net-mgmt/cisco_conf/pkg-descr deleted file mode 100644 index 1085061c57f9..000000000000 --- a/net-mgmt/cisco_conf/pkg-descr +++ /dev/null @@ -1,13 +0,0 @@ -This is an interactive configuration editor for Cisco devices. It is based on -joe editor's macros that let you load either running or startup configuration -from a Cisco router/switch/access server directly into the editor and commit -it back after modification. - -The CiscoConf program maintains the database of previous versions of startup -and running configurations for each router in /var/db/CiscoConf. The -number of versions to keep is specified in its configuration file. - -It also provides locking to prevent concurrent editing of the same -configuration by more than one person. - -WWW: http://rnoc.urc.ac.ru/~anton/projects/ciscoconf/CiscoConf.html diff --git a/net-mgmt/cisco_conf/pkg-plist b/net-mgmt/cisco_conf/pkg-plist deleted file mode 100644 index 9d83e02c6471..000000000000 --- a/net-mgmt/cisco_conf/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -etc/ciscoconf/.joerc -etc/ciscoconf/CiscoConf.conf.sample -etc/ciscoconf/toggle_no.sed -sbin/CiscoConf -share/doc/ciscoconf/CiscoConf.html -@dirrm etc/ciscoconf -@dirrm share/doc/ciscoconf -@cwd / -@dirrm var/db/ciscoconf diff --git a/net-mgmt/ciscoconf/Makefile b/net-mgmt/ciscoconf/Makefile deleted file mode 100644 index b2f0f17401e0..000000000000 --- a/net-mgmt/ciscoconf/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# New ports collection makefile for: ciscoconf -# Date created: 11 September 1998 -# Whom: jabley@clear.co.nz -# -# $FreeBSD$ -# - -PORTNAME= ciscoconf -PORTVERSION= 1.1 -CATEGORIES= net -MASTER_SITES= http://www.automagic.org/~jabley/ - -MAINTAINER= jabley@automagic.org - -BUILD_DEPENDS= makedepend:${PORTSDIR}/x11/XFree86 -ALL_TARGET= depend all -MAN8= ciscoconfd.8 ciscoconfr.8 - -post-patch: - - ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old - ${CAT} ${WRKSRC}/Makefile.old | \ - ${SED} -e 's#/usr/local#${PREFIX}#g' | \ - ${SED} -e 's#lib/cisco#share/cisco#' \ - >> ${WRKSRC}/Makefile - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ciscoconfd ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/ciscoconfr ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/ciscoconfd.man ${PREFIX}/man/man8/ciscoconfd.8 - ${INSTALL_MAN} ${WRKSRC}/ciscoconfr.man ${PREFIX}/man/man8/ciscoconfr.8 - -post-install: - ${MKDIR} ${PREFIX}/share/cisco/RCS - -.include <bsd.port.mk> diff --git a/net-mgmt/ciscoconf/distinfo b/net-mgmt/ciscoconf/distinfo deleted file mode 100644 index 21d6bf376786..000000000000 --- a/net-mgmt/ciscoconf/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ciscoconf-1.1.tar.gz) = b6b598c31b92209fdab99d56cdde2555 diff --git a/net-mgmt/ciscoconf/pkg-comment b/net-mgmt/ciscoconf/pkg-comment deleted file mode 100644 index 7091ef143f43..000000000000 --- a/net-mgmt/ciscoconf/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Fetches configuration from Cisco routers and stores them under RCS diff --git a/net-mgmt/ciscoconf/pkg-descr b/net-mgmt/ciscoconf/pkg-descr deleted file mode 100644 index 71e121b1c896..000000000000 --- a/net-mgmt/ciscoconf/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Ciscoconf automagically fetches configuration from Cisco routers whenever -syslog indicates that a change has been made, and stores them under RCS. - -MORE INFORMATION - -For more information, or to foward comments or details of problems, please -contact Joe Abley <jabley@automagic.org>. diff --git a/net-mgmt/ciscoconf/pkg-plist b/net-mgmt/ciscoconf/pkg-plist deleted file mode 100644 index 5d53dfb8e418..000000000000 --- a/net-mgmt/ciscoconf/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/ciscoconfd -bin/ciscoconfr -@dirrm share/cisco/RCS -@dirrm share/cisco diff --git a/net-mgmt/clog/Makefile b/net-mgmt/clog/Makefile deleted file mode 100644 index 1153e03e57d9..000000000000 --- a/net-mgmt/clog/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: clog -# Date created: Tue Nov 04, 1997 -# Whom: David O'Brien (obrien@NUXI.com) -# -# $FreeBSD$ -# - -PORTNAME= clog -PORTVERSION= 1.6 -CATEGORIES= net security -MASTER_SITES= ftp://ftp.saturn.net/pub/users/brian/clog/ \ - ftp://ftp.cso.uiuc.edu/pub/security/coast/unix/clog/ \ - ftp://ftp.auscert.org.au/pub/coast/mirrors/ftp.saturn.net/clog/ \ - ftp://ftp.ox.ac.uk/pub/comp/security/COAST/mirrors/ftp.saturn.net/clog/ \ - ftp://ftp.rediris.es/mirror/coast/tools/unix/clog/ - -MAINTAINER= obrien@FreeBSD.org - -WRKSRC= ${WRKDIR}/clog -ALL_TARGET= freebsd -MAN8= clog.8 - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/clog ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/clog.8 ${PREFIX}/man/man8 - -.include <bsd.port.mk> diff --git a/net-mgmt/clog/distinfo b/net-mgmt/clog/distinfo deleted file mode 100644 index e8722397edba..000000000000 --- a/net-mgmt/clog/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (clog-1.6.tar.gz) = f8732ed25def0e4c56d8d5b8007b6074 diff --git a/net-mgmt/clog/pkg-comment b/net-mgmt/clog/pkg-comment deleted file mode 100644 index 3b949f50d368..000000000000 --- a/net-mgmt/clog/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Tcp connection logger daemon diff --git a/net-mgmt/clog/pkg-descr b/net-mgmt/clog/pkg-descr deleted file mode 100644 index 294c3921f98c..000000000000 --- a/net-mgmt/clog/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -clog is a program that logs all connections on your subnet. It uses the -pcap(3) packet capture library to log any SYN packets to a logfile. The -output format is designed to be very easily parsed by various text -processing tools. - - --- David - (obrien@NUXI.com) diff --git a/net-mgmt/clog/pkg-plist b/net-mgmt/clog/pkg-plist deleted file mode 100644 index b6ec57722f90..000000000000 --- a/net-mgmt/clog/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -@comment $FreeBSD$ -sbin/clog diff --git a/net-mgmt/cricket/Makefile b/net-mgmt/cricket/Makefile deleted file mode 100644 index 4ef207dd44d1..000000000000 --- a/net-mgmt/cricket/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection makefile for: Cricket -# Date created: 20 November 1999 -# Whom: torstenb -# -# $FreeBSD$ -# - -PORTNAME= cricket -PORTVERSION= 1.0.2 -CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} - -MAINTAINER= torstenb@FreeBSD.org - -RUN_DEPENDS= ${SITE_PERL}/SNMP_Session.pm:${PORTSDIR}/net/p5-SNMP_Session \ - ${SITE_PERL_ARCH}/RRDs.pm:${PORTSDIR}/net/rrdtool \ - ${SITE_PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ - ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \ - ${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate \ - ${SITE_PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes - -SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} -SITE_PERL_ARCH= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} - -NO_PACKAGE= "needs customization" -USE_PERL5= yes -SCRIPTS_ENV+= PERL5=${PERL5} - -do-build: - -do-install: - @${MKDIR} -m 755 ${PREFIX}/cricket - @${CP} -R ${WRKSRC}/* ${PREFIX}/cricket - @find ${PREFIX}/cricket -name \*.orig -or -name \*.bak | xargs ${RM} -f - -post-install: - @${ECHO} "" - @${ECHO} "Cricket has been installed in ${PREFIX}/cricket. You'll find" - @${ECHO} "executables and configfiles there. Please take a look at" - @${ECHO} "http://cricket.sourceforge.net/. The documentation can" - @${ECHO} "be found in ${PREFIX}/cricket/doc/ too." - -.include <bsd.port.mk> diff --git a/net-mgmt/cricket/distinfo b/net-mgmt/cricket/distinfo deleted file mode 100644 index bd65373e363a..000000000000 --- a/net-mgmt/cricket/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (cricket-1.0.2.tar.gz) = 7bba92c227358304a5da7757482c11a2 diff --git a/net-mgmt/cricket/files/patch-aa b/net-mgmt/cricket/files/patch-aa deleted file mode 100644 index 7bce91d18f91..000000000000 --- a/net-mgmt/cricket/files/patch-aa +++ /dev/null @@ -1,19 +0,0 @@ -*** sample-config/news-server/Defaults.orig Sat Jan 22 12:39:37 2000 ---- sample-config/news-server/Defaults Sat Jan 22 12:40:10 2000 -*************** -*** 11,17 **** - # you'll probably want to change this... unless you - # have Cricket in ~/cricket and your config tree in ~/config - util-dir = %auto-base%/../cricket/util -! remexec = "/usr/local/net/bin/ssh -l %user% %server%" - user = news - server = nntp-host - target-type = news-server ---- 11,17 ---- - # you'll probably want to change this... unless you - # have Cricket in ~/cricket and your config tree in ~/config - util-dir = %auto-base%/../cricket/util -! remexec = "%%PREFIX%%/bin/ssh -l %user% %server%" - user = news - server = nntp-host - target-type = news-server diff --git a/net-mgmt/cricket/files/patch-ab b/net-mgmt/cricket/files/patch-ab deleted file mode 100644 index 650ceb627c1f..000000000000 --- a/net-mgmt/cricket/files/patch-ab +++ /dev/null @@ -1,31 +0,0 @@ -*** util/dump-targets.orig Sun Jan 9 09:25:52 2000 ---- util/dump-targets Sun Feb 13 20:46:15 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files ---- 1,4 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files -*************** -*** 20,26 **** - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! $Common::global::gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; - } - - use lib "$Common::global::gInstallRoot/../lib"; ---- 20,27 ---- - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! # $Common::global::gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; -! $Common::global::gInstallRoot = '%%PREFIX%%/cricket'; - } - - use lib "$Common::global::gInstallRoot/../lib"; diff --git a/net-mgmt/cricket/files/patch-ac b/net-mgmt/cricket/files/patch-ac deleted file mode 100644 index 2bdff6c439ff..000000000000 --- a/net-mgmt/cricket/files/patch-ac +++ /dev/null @@ -1,40 +0,0 @@ -*** util/generate-statics.orig Sun Jan 9 09:29:20 2000 ---- util/generate-statics Sun Feb 13 20:47:27 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files ---- 1,4 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files -*************** -*** 20,30 **** - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; - - # You need to update this to point to the URL - # you use to access Cricket. -! $gBaseURL = "http://localhost/~cricket/grapher.cgi"; - } - - use lib "$gInstallRoot/../lib"; ---- 20,32 ---- - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! # $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; -! $gInstallRoot = '%%PREFIX%%/cricket'; - - # You need to update this to point to the URL - # you use to access Cricket. -! # $gBaseURL = "http://localhost/~cricket/grapher.cgi"; -! $gBaseURL = "http://localhost/cgi-bin/grapher.cgi"; - } - - use lib "$gInstallRoot/../lib"; diff --git a/net-mgmt/cricket/files/patch-ad b/net-mgmt/cricket/files/patch-ad deleted file mode 100644 index 886df19252f5..000000000000 --- a/net-mgmt/cricket/files/patch-ad +++ /dev/null @@ -1,31 +0,0 @@ -*** util/listInterfaces.orig Mon Jul 19 19:55:45 1999 ---- util/listInterfaces Sun Feb 13 20:48:15 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files ---- 1,4 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files -*************** -*** 20,26 **** - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . ".."; - } - - use lib "$gInstallRoot/lib"; ---- 20,27 ---- - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! # $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . ".."; -! $gInstallRoot = '%%PREFIX%%/cricket'; - } - - use lib "$gInstallRoot/lib"; diff --git a/net-mgmt/cricket/files/patch-ae b/net-mgmt/cricket/files/patch-ae deleted file mode 100644 index 11802a51fd23..000000000000 --- a/net-mgmt/cricket/files/patch-ae +++ /dev/null @@ -1,13 +0,0 @@ -*** util/newsstats.orig Sat Jan 22 12:41:06 2000 ---- util/newsstats Sat Jan 22 12:41:12 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl - - ## - # Get simple stats from INND with cleanfeed ---- 1,4 ---- -! #!%%PATHPERLBIN%% - - ## - # Get simple stats from INND with cleanfeed diff --git a/net-mgmt/cricket/files/patch-af b/net-mgmt/cricket/files/patch-af deleted file mode 100644 index 18d6bcb1ef21..000000000000 --- a/net-mgmt/cricket/files/patch-af +++ /dev/null @@ -1,13 +0,0 @@ -*** util/pmlines.pl.orig Sat Jan 22 12:41:27 2000 ---- util/pmlines.pl Sat Jan 22 12:41:35 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl - - # pmlines.pl - # ---- 1,4 ---- -! #!%%PATHPERLBIN%% - - # pmlines.pl - # diff --git a/net-mgmt/cricket/files/patch-ag b/net-mgmt/cricket/files/patch-ag deleted file mode 100644 index 830972963a84..000000000000 --- a/net-mgmt/cricket/files/patch-ag +++ /dev/null @@ -1,28 +0,0 @@ -*** util/rrd-dump.orig Wed Jun 16 04:28:02 1999 ---- util/rrd-dump Sun Feb 13 20:49:13 2000 -*************** -*** 1,11 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # this is a little script to exercise RRD::File -- useful - # when I was developing it, and possibly useful now too - - BEGIN { -! $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . ".."; - } - - use lib "$gInstallRoot/lib"; ---- 1,12 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # this is a little script to exercise RRD::File -- useful - # when I was developing it, and possibly useful now too - - BEGIN { -! # $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . ".."; -! $gInstallRoot = '%%PREFIX%%/cricket'; - } - - use lib "$gInstallRoot/lib"; diff --git a/net-mgmt/cricket/files/patch-ah b/net-mgmt/cricket/files/patch-ah deleted file mode 100644 index 7f204c5d03b2..000000000000 --- a/net-mgmt/cricket/files/patch-ah +++ /dev/null @@ -1,31 +0,0 @@ -*** util/rrd-tune.orig Mon Jan 10 06:38:41 2000 ---- util/rrd-tune Sun Feb 13 20:49:47 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files ---- 1,4 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files -*************** -*** 20,26 **** - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; - } - - use lib "$gInstallRoot/../lib"; ---- 20,27 ---- - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! # $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; -! $gInstallRoot = '%%PREFIX%%/cricket'; - } - - use lib "$gInstallRoot/../lib"; diff --git a/net-mgmt/cricket/files/patch-ai b/net-mgmt/cricket/files/patch-ai deleted file mode 100644 index 76da6e08e799..000000000000 --- a/net-mgmt/cricket/files/patch-ai +++ /dev/null @@ -1,13 +0,0 @@ -*** util/test-url.orig Sat Jan 22 12:43:07 2000 ---- util/test-url Sat Jan 22 12:43:15 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # test-url: a simple script to see how fast a webserver is ---- 1,4 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # test-url: a simple script to see how fast a webserver is diff --git a/net-mgmt/cricket/files/patch-aj b/net-mgmt/cricket/files/patch-aj deleted file mode 100644 index ee86b8388f14..000000000000 --- a/net-mgmt/cricket/files/patch-aj +++ /dev/null @@ -1,31 +0,0 @@ -*** util/usrModemUsage.orig Tue Jul 20 03:02:29 1999 ---- util/usrModemUsage Sun Feb 13 20:50:34 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # usrModemUsage ---- 1,4 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # usrModemUsage -*************** -*** 23,29 **** - # modem chassis. - - BEGIN { -! $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . ".."; - } - - # ---- 23,30 ---- - # modem chassis. - - BEGIN { -! # $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . ".."; -! $gInstallRoot = '%%PREFIX%%/cricket'; - } - - # diff --git a/net-mgmt/cricket/files/patch-ak b/net-mgmt/cricket/files/patch-ak deleted file mode 100644 index c856a71a5639..000000000000 --- a/net-mgmt/cricket/files/patch-ak +++ /dev/null @@ -1,31 +0,0 @@ -*** collect-subtrees.orig Mon Jan 24 03:24:13 2000 ---- collect-subtrees Sun Feb 13 20:42:15 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files ---- 1,4 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files -*************** -*** 30,36 **** - # to tell collect-subtrees where to find it. - - BEGIN { -! $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; - } - - use Getopt::Long; ---- 30,37 ---- - # to tell collect-subtrees where to find it. - - BEGIN { -! # $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; -! $gInstallRoot = '%%PREFIX%%/cricket'; - } - - use Getopt::Long; diff --git a/net-mgmt/cricket/files/patch-al b/net-mgmt/cricket/files/patch-al deleted file mode 100644 index c391d5d62086..000000000000 --- a/net-mgmt/cricket/files/patch-al +++ /dev/null @@ -1,31 +0,0 @@ -*** collector.orig Mon Jan 10 06:37:37 2000 ---- collector Sun Feb 13 20:42:06 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files ---- 1,4 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files -*************** -*** 20,26 **** - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! $Common::global::gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; - } - - use lib "$Common::global::gInstallRoot/lib"; ---- 20,27 ---- - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! # $Common::global::gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; -! $Common::global::gInstallRoot = '%%PREFIX%%/cricket'; - } - - use lib "$Common::global::gInstallRoot/lib"; diff --git a/net-mgmt/cricket/files/patch-am b/net-mgmt/cricket/files/patch-am deleted file mode 100644 index 5a5562994c42..000000000000 --- a/net-mgmt/cricket/files/patch-am +++ /dev/null @@ -1,44 +0,0 @@ -*** grapher.cgi.orig Mon Jan 24 08:47:49 2000 ---- grapher.cgi Sun Feb 13 20:44:03 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files ---- 1,4 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files -*************** -*** 27,39 **** - # be prepended. Special care is taken to set $HOME right, - # even when running as user nobody (see fixHome for info). - -! $Common::global::gConfigRoot = 'cricket-config'; # i.e. $HOME/config - - # This magic attempts to guess the install directory based - # on how the script was called. If it fails for you, just - # hardcode it. - -! $Common::global::gInstallRoot = (($0 =~ m:^(.*/):)[0] || './') . '.'; - - # cached images are stored here... there will be no more than - # 5 minutes worth of images, so it won't take too much space. ---- 27,41 ---- - # be prepended. Special care is taken to set $HOME right, - # even when running as user nobody (see fixHome for info). - -! # $Common::global::gConfigRoot = 'cricket-config'; # i.e. $HOME/config -! $Common::global::gConfigRoot = '%%PREFIX%%/cricket/cricket-config'; - - # This magic attempts to guess the install directory based - # on how the script was called. If it fails for you, just - # hardcode it. - -! # $Common::global::gInstallRoot = (($0 =~ m:^(.*/):)[0] || './') . '.'; -! $Common::global::gInstallRoot = '%%PREFIX%%/cricket'; - - # cached images are stored here... there will be no more than - # 5 minutes worth of images, so it won't take too much space. diff --git a/net-mgmt/cricket/files/patch-an b/net-mgmt/cricket/files/patch-an deleted file mode 100644 index b8d06434bef8..000000000000 --- a/net-mgmt/cricket/files/patch-an +++ /dev/null @@ -1,31 +0,0 @@ -*** mini-graph.cgi.orig Sat Jul 10 05:17:41 1999 ---- mini-graph.cgi Sun Feb 13 20:44:34 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files ---- 1,4 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files -*************** -*** 24,30 **** - # on how the script was called. If it fails for you, just - # hardcode it. - -! $gInstallRoot = (($0 =~ m:^(.*/):)[0] || './') . '.'; - - # cached images are stored here... there will be no more than - # 5 minutes worth of images, so it won't take too much space. ---- 24,31 ---- - # on how the script was called. If it fails for you, just - # hardcode it. - -! # $gInstallRoot = (($0 =~ m:^(.*/):)[0] || './') . '.'; -! $gInstallRoot = '%%PREFIX%%/cricket'; - - # cached images are stored here... there will be no more than - # 5 minutes worth of images, so it won't take too much space. diff --git a/net-mgmt/cricket/files/patch-ao b/net-mgmt/cricket/files/patch-ao deleted file mode 100644 index f9834d9dfb96..000000000000 --- a/net-mgmt/cricket/files/patch-ao +++ /dev/null @@ -1,31 +0,0 @@ -*** compile.orig Fri Jul 16 08:07:25 1999 ---- compile Sun Feb 13 20:42:54 2000 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files ---- 1,4 ---- -! #!%%PATHPERLBIN%% -w - # -*- perl -*- - - # Cricket: a configuration, polling and data display wrapper for RRD files -*************** -*** 20,26 **** - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! $Common::global::gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; - } - - use lib "$Common::global::gInstallRoot/lib"; ---- 20,27 ---- - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - BEGIN { -! # $Common::global::gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "."; -! $Common::global::gInstallRoot = '%%PREFIX%%/cricket'; - } - - use lib "$Common::global::gInstallRoot/lib"; diff --git a/net-mgmt/cricket/pkg-comment b/net-mgmt/cricket/pkg-comment deleted file mode 100644 index 5bcf5d816419..000000000000 --- a/net-mgmt/cricket/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A high performance, extremely flexible monitoring system diff --git a/net-mgmt/cricket/pkg-descr b/net-mgmt/cricket/pkg-descr deleted file mode 100644 index 5cd78bf82833..000000000000 --- a/net-mgmt/cricket/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Cricket is a high performance, extremely flexible system for monitoring -trends in time-series data. Cricket was expressly developed to help network -managers visualize and understand the traffic on their networks, but it can -be used all kinds of other jobs, as well. -It's similar to mrtg, but has a different approach. - -WWW: http://cricket.sourceforge.net/ diff --git a/net-mgmt/cricket/pkg-plist b/net-mgmt/cricket/pkg-plist deleted file mode 100644 index 7b54fa6ade1d..000000000000 --- a/net-mgmt/cricket/pkg-plist +++ /dev/null @@ -1,115 +0,0 @@ -cricket/CHANGES -cricket/COPYING -cricket/README -cricket/THANKS -cricket/TODO -cricket/VERSION -cricket/collect-subtrees -cricket/collector -cricket/compile -cricket/configure -cricket/doc/beginner.html -cricket/doc/gpl.html -cricket/doc/history.html -cricket/doc/index.html -cricket/doc/inst-mapping.html -cricket/doc/intro.html -cricket/doc/modperl.html -cricket/doc/neta-paper/fig1.gif -cricket/doc/neta-paper/fig2.gif -cricket/doc/neta-paper/paper.html -cricket/doc/neta-paper/paper.ps.gz -cricket/doc/neta-paper/peer1.gif -cricket/doc/neta-paper/peer2.gif -cricket/doc/neta-paper/ss.gif -cricket/doc/new-devices.html -cricket/doc/reference.html -cricket/doc/tools.html -cricket/grapher.cgi -cricket/images/cricket-sm.gif -cricket/images/failed.gif -cricket/images/rrdtool.gif -cricket/lib/Bundle/CricketPrereq.pm -cricket/lib/Common/HandleTarget.pm -cricket/lib/Common/Log.pm -cricket/lib/Common/Map.pm -cricket/lib/Common/Options.pm -cricket/lib/Common/Util.pm -cricket/lib/Common/Version.pm -cricket/lib/ConfigTree/Cache.pm -cricket/lib/ConfigTree/Node.pm -cricket/lib/Monitor.pm -cricket/lib/RPN.pm -cricket/lib/RRD/File.pm -cricket/lib/RRD/Format.pm -cricket/lib/exec.pm -cricket/lib/file.pm -cricket/lib/func.pm -cricket/lib/snmp.pm -cricket/lib/snmpUtils.pm -cricket/mini-graph.cgi -cricket/sample-config/Defaults -cricket/sample-config/atm-interfaces/Defaults -cricket/sample-config/atm-interfaces/atm-intb-pvc/Defaults -cricket/sample-config/atm-interfaces/atm-intb-pvc/interfaces -cricket/sample-config/atm-interfaces/atm-rtr-uni/Defaults -cricket/sample-config/atm-interfaces/atm-rtr-uni/interfaces -cricket/sample-config/atm-interfaces/atm-trunks/Defaults -cricket/sample-config/atm-interfaces/atm-trunks/interfaces -cricket/sample-config/http-performance/Defaults -cricket/sample-config/http-performance/urls -cricket/sample-config/news-server/Defaults -cricket/sample-config/news-server/targets -cricket/sample-config/portmasters/Defaults -cricket/sample-config/portmasters/portmasters -cricket/sample-config/router-interfaces/Defaults -cricket/sample-config/router-interfaces/interfaces -cricket/sample-config/routers/Defaults -cricket/sample-config/routers/Targets -cricket/sample-config/routing/Defaults -cricket/sample-config/routing/Targets -cricket/sample-config/squid-proxy/Defaults -cricket/sample-config/switch-ports/Defaults -cricket/sample-config/switch-ports/switches -cricket/sample-config/switches/Defaults -cricket/sample-config/switches/switches -cricket/sample-config/usr/Defaults -cricket/sample-config/usr/targets -cricket/subtree-sets -cricket/util/README -cricket/util/dump-targets -cricket/util/generate-statics -cricket/util/getFormat.c -cricket/util/listInterfaces -cricket/util/newsstats -cricket/util/pmlines.pl -cricket/util/relocate-perl -cricket/util/rrd-dump -cricket/util/rrd-tune -cricket/util/test-url -cricket/util/usrModemUsage -@dirrm cricket/util -@dirrm cricket/sample-config/usr -@dirrm cricket/sample-config/switches -@dirrm cricket/sample-config/switch-ports -@dirrm cricket/sample-config/squid-proxy -@dirrm cricket/sample-config/routing -@dirrm cricket/sample-config/routers -@dirrm cricket/sample-config/router-interfaces -@dirrm cricket/sample-config/portmasters -@dirrm cricket/sample-config/news-server -@dirrm cricket/sample-config/http-performance -@dirrm cricket/sample-config/atm-interfaces/atm-trunks -@dirrm cricket/sample-config/atm-interfaces/atm-rtr-uni -@dirrm cricket/sample-config/atm-interfaces/atm-intb-pvc -@dirrm cricket/sample-config/atm-interfaces -@dirrm cricket/sample-config -@dirrm cricket/lib/RRD -@dirrm cricket/lib/ConfigTree -@dirrm cricket/lib/Common -@dirrm cricket/lib/Bundle -@dirrm cricket/lib -@dirrm cricket/images -@dirrm cricket/doc/neta-paper -@dirrm cricket/doc -@dirrm cricket diff --git a/net-mgmt/cricket/scripts/configure b/net-mgmt/cricket/scripts/configure deleted file mode 100644 index bcf7568dd6b3..000000000000 --- a/net-mgmt/cricket/scripts/configure +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -echo var set to ${PERL5} >/tmp/debug1 - -FILES_PERLPATH="util/dump-targets util/generate-statics util/listInterfaces \ - compile util/newsstats util/pmlines.pl util/rrd-dump util/rrd-tune \ - util/test-url util/usrModemUsage collect-subtrees collector \ - grapher.cgi mini-graph.cgi" -FILES_PREFIX="sample-config/news-server/Defaults collect-subtrees collector \ - compile grapher.cgi mini-graph.cgi util/dump-targets \ - util/generate-statics util/listInterfaces util/rrd-dump \ - util/rrd-tune util/usrModemUsage" - -for f in $FILES_PERLPATH ; do - mv ${WRKSRC}/${f} ${WRKSRC}/$f.bak && sed <${WRKSRC}/${f}.bak \ - s+%%PATHPERLBIN%%+${PERL5}+g >${WRKSRC}/${f} -done - -for f in $FILES_PREFIX ; do - mv ${WRKSRC}/${f} ${WRKSRC}/$f.bak && sed <${WRKSRC}/${f}.bak \ - s+%%PREFIX%%+${PREFIX}+g >${WRKSRC}/${f} -done diff --git a/net-mgmt/dhcpconf/Makefile b/net-mgmt/dhcpconf/Makefile deleted file mode 100644 index a5d909e42100..000000000000 --- a/net-mgmt/dhcpconf/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# New ports collection makefile for: dhcp-conf -# Date created: 20 Dec 1999 -# Whom: Will Andrews <andrews@technologist.com> -# -# $FreeBSD$ -# - -PORTNAME= dhcpconf -PORTVERSION= 0.7.0 -CATEGORIES= net sysutils -MASTER_SITES= http://members.xoom.com/vschade/dhcp-conf/ -DISTNAME= dhcp-conf -EXTRACT_SUFX= .tgz - -MAINTAINER= ports@FreeBSD.org - -LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm \ - newt.0:${PORTSDIR}/devel/newt - -ALL_TARGET= ${DISTNAME} -WRKSRC= ${WRKDIR}/${DISTNAME}_${PORTVERSION} -MAKE_ENV+= PCFLAGS="${CFLAGS}" - -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/dhcp-conf ${PREFIX}/sbin/dhcpconf -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/dhcpconf - @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/dhcpconf -.endif - -.include <bsd.port.mk> diff --git a/net-mgmt/dhcpconf/distinfo b/net-mgmt/dhcpconf/distinfo deleted file mode 100644 index f7f23a52c2ea..000000000000 --- a/net-mgmt/dhcpconf/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (dhcp-conf.tgz) = 1aceda39e035a1817957896bf2ca1d96 diff --git a/net-mgmt/dhcpconf/files/patch-aa b/net-mgmt/dhcpconf/files/patch-aa deleted file mode 100644 index b1f1467673d7..000000000000 --- a/net-mgmt/dhcpconf/files/patch-aa +++ /dev/null @@ -1,34 +0,0 @@ ---- Makefile Wed Dec 15 12:45:24 1999 -+++ Makefile.new Wed Jan 26 23:15:10 2000 -@@ -1,23 +1,24 @@ - TARGET = dhcp-conf --CC = gcc --LIBS = -lgdbm -lnewt -+CC ?= gcc -+CFLAGS = $(PCFLAGS) -I$(PREFIX)/include -+LIBS = -L$(PREFIX)/lib -lgdbm -lnewt - OBJS = main.o screen.o help.o data.o - #OPTS = -D__DEBUG__ -D__TRACE__ - - $(TARGET) : $(OBJS) -- $(CC) -o $(TARGET) $(LIBS) $(OBJS) -+ $(CC) $(CFLAGS) -o $(TARGET) $(LIBS) $(OBJS) - - main.o : main.c includes.h main-proto.h screen-proto.h -- $(CC) -c main.c $(OPTS) -+ $(CC) $(CFLAGS) -c main.c $(OPTS) - - screen.o : screen.c includes.h screen-proto.h -- $(CC) -c screen.c $(OPTS) -+ $(CC) $(CFLAGS) -c screen.c $(OPTS) - - help.o : help.c includes.h help-proto.h -- $(CC) -c help.c $(OPTS) -+ $(CC) $(CFLAGS) -c help.c $(OPTS) - - data.o : data.c includes.h data-proto.h -- $(CC) -c data.c $(OPTS) -+ $(CC) $(CFLAGS) -c data.c $(OPTS) - - install : $(TARGET) - chown root dhcp-conf diff --git a/net-mgmt/dhcpconf/pkg-comment b/net-mgmt/dhcpconf/pkg-comment deleted file mode 100644 index 4dd22162a099..000000000000 --- a/net-mgmt/dhcpconf/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Neat console-based ISC DHCP server configuration-generating utility diff --git a/net-mgmt/dhcpconf/pkg-descr b/net-mgmt/dhcpconf/pkg-descr deleted file mode 100644 index ab1ffc76967a..000000000000 --- a/net-mgmt/dhcpconf/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -dhcpconf is a neat configuration utility for the ISC DHCP server. -It works by bringing up a couple dialog boxes that look strangely -like they're created using ncurses but really newt - and then checking -your options and generating a dhcpd.conf. - -WWW: http://members.xoom.com/vschade/dhcp-conf/ -Author: Vee Schade <vschade@mindless.com> - ---Will <andrews@technologist.com> diff --git a/net-mgmt/dhcpconf/pkg-plist b/net-mgmt/dhcpconf/pkg-plist deleted file mode 100644 index 7be764c6360f..000000000000 --- a/net-mgmt/dhcpconf/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -sbin/dhcpconf -share/dhcpconf/README -@dirrm share/dhcpconf diff --git a/net-mgmt/etherape/Makefile b/net-mgmt/etherape/Makefile deleted file mode 100644 index 1313acf494ec..000000000000 --- a/net-mgmt/etherape/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# New ports collection makefile for: etherape -# Date created: 4 April 2001 -# Whom: Holger Lamm <holger@eit.uni-kl.de> -# -# $FreeBSD$ -# - -PORTNAME= etherape -PORTVERSION= 0.5.7 -CATEGORIES= net gnome -MASTER_SITES= http://prdownloads.sourceforge.net/etherape/ \ - ftp://etherape.sourceforge.net/pub/etherape/ - -MAINTAINER= holger@eit.uni-kl.de - -LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade - -HAS_CONFIGURE= yes -CONFIGURE_ENV= GTK_CONFIG=${X11BASE}/bin/gtk12-config -MAN8= etherape.8 - -.include <bsd.port.mk> diff --git a/net-mgmt/etherape/distinfo b/net-mgmt/etherape/distinfo deleted file mode 100644 index 720dc1e2a758..000000000000 --- a/net-mgmt/etherape/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (etherape-0.5.7.tar.gz) = 4d59800707fb0c86c6c115c024544ba5 diff --git a/net-mgmt/etherape/pkg-comment b/net-mgmt/etherape/pkg-comment deleted file mode 100644 index c6d63a3b5129..000000000000 --- a/net-mgmt/etherape/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A graphical network traffic visualization tool for gnome diff --git a/net-mgmt/etherape/pkg-descr b/net-mgmt/etherape/pkg-descr deleted file mode 100644 index 6490924d24c9..000000000000 --- a/net-mgmt/etherape/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -EtherApe is a graphical network monitor for Unix modeled after etherman. -Featuring ether, ip and tcp modes, it displays network activity -graphically. Hosts and links change in size with traffic. Color coded -protocols display. It supports ethernet, fddi, ppp and slip devices. -It can filter traffic to be shown, and can read traffic from a -file as well as live from the network. diff --git a/net-mgmt/etherape/pkg-plist b/net-mgmt/etherape/pkg-plist deleted file mode 100644 index 0da0535f37b4..000000000000 --- a/net-mgmt/etherape/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -share/locale/es/LC_MESSAGES/etherape.mo -share/locale/nl/LC_MESSAGES/etherape.mo -share/locale/fr/LC_MESSAGES/etherape.mo -share/gnome/apps/Applications/etherape.desktop -share/etherape/glade/etherape.glade -@dirrm share/etherape/glade -@dirrm share/etherape -share/pixmaps/etherape.png -etc/etherape/services -@dirrm etc/etherape -sbin/etherape diff --git a/net-mgmt/ettercap/Makefile b/net-mgmt/ettercap/Makefile deleted file mode 100644 index 530581b9d35b..000000000000 --- a/net-mgmt/ettercap/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: ettercap -# Date created: 19 February 2001 -# Whom: George Reid <greid@ukug.uk.freebsd.org> -# -# $FreeBSD$ -# - -PORTNAME= ettercap -PORTVERSION= 0.3.1 -CATEGORIES= net -MASTER_SITES= http://ettercap.sourceforge.net/download/ - -MAINTAINER= greid@FreeBSD.org - -GNU_CONFIGURE= yes - -.if !defined(NOPORTDOCS) -INSTALL_TARGET= install install-doc -.endif - -PLIST_SUB= PORTVERSION=${PORTVERSION} - -MAN8= ettercap.8 - -.include <bsd.port.mk> diff --git a/net-mgmt/ettercap/distinfo b/net-mgmt/ettercap/distinfo deleted file mode 100644 index 9f206eafedc9..000000000000 --- a/net-mgmt/ettercap/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ettercap-0.3.1.tar.gz) = 990c41f21faf81a30ac8708bb819ce2f diff --git a/net-mgmt/ettercap/files/patch-aa b/net-mgmt/ettercap/files/patch-aa deleted file mode 100644 index eb9a151df316..000000000000 --- a/net-mgmt/ettercap/files/patch-aa +++ /dev/null @@ -1,35 +0,0 @@ ---- Makefile.in.orig Thu Apr 5 23:55:42 2001 -+++ Makefile.in Thu Apr 5 23:57:01 2001 -@@ -13,7 +13,7 @@ - BINDIR = @bindir@ - MANDIR = @mandir@ - SHAREDIR = ${prefix}/share/@PROG@ --DOCDIR = ${prefix}/doc/@PROG@-@VERSION@ -+DOCDIR = ${prefix}/share/doc/@PROG@-@VERSION@ - DOC = COPYING README README.PLUGINS CHANGELOG HISTORY AUTHORS TODO THANKS KNOWN-BUGS PORTINGS - - DEBUG = @DEBUG@ -@@ -42,12 +42,15 @@ - $(INSTALL) -m 700 $(PROG) $(DESTDIR)$(BINDIR) - $(INSTALL) -d $(DESTDIR)$(SHAREDIR) - $(INSTALL) -m 644 ./share/* $(DESTDIR)$(SHAREDIR) -- $(INSTALL) -d $(DESTDIR)$(DOCDIR) -- $(INSTALL) -m 644 $(DOC) $(DESTDIR)$(DOCDIR) - $(INSTALL) -d $(DESTDIR)$(MANDIR)/man8 - $(INSTALL) -m 644 $(PROG).8 $(DESTDIR)$(MANDIR)/man8/$(PROG).8 - - -+install-doc: -+ $(INSTALL) -d $(DESTDIR)$(DOCDIR) -+ $(INSTALL) -m 644 $(DOC) $(DESTDIR)$(DOCDIR) -+ -+ - plug-ins: - cd plugins && make && cd .. - cp -f ./plugins/*/ec_*.so ./ -@@ -98,4 +101,4 @@ - - targz: distro - mv $(PROG)-$(VERSION).tar.gz $(PROG)-$(VERSION)-@SERIAL@.tar.gz -- chmod 644 $(PROG)-$(VERSION)-@SERIAL@.tar.gz -+ chmod 644 $(PROG)-$(VERSION)-@SERIAL@.tar.gz diff --git a/net-mgmt/ettercap/pkg-comment b/net-mgmt/ettercap/pkg-comment deleted file mode 100644 index a3e009bbc485..000000000000 --- a/net-mgmt/ettercap/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A network sniffer/interceptor/injector/logger for switched LANs diff --git a/net-mgmt/ettercap/pkg-descr b/net-mgmt/ettercap/pkg-descr deleted file mode 100644 index a86a7a1239bd..000000000000 --- a/net-mgmt/ettercap/pkg-descr +++ /dev/null @@ -1,15 +0,0 @@ -Ettercap is a network sniffer/interceptor/logger for switched LAN. -It uses ARP poisoning and the man-in-the-middle technique to sniff all -the connections between two host. - -It's possible to sniff in three modes: - - + IP Based, the packets are filtered on IP source and dest - + MAC Based, packets filtered on mac address, useful to sniff - connections through gateway - + ARP based, uses arp poisoning to sniff in switched lan. - -Ettercap also supports character injection and plugins. - -- George Reid -greid@ukug.uk.freebsd.org diff --git a/net-mgmt/ettercap/pkg-plist b/net-mgmt/ettercap/pkg-plist deleted file mode 100644 index ef69bfb78bc3..000000000000 --- a/net-mgmt/ettercap/pkg-plist +++ /dev/null @@ -1,15 +0,0 @@ -bin/ettercap -share/ettercap/mac-fingerprints -share/ettercap/nmap-os-fingerprints -@dirrm share/ettercap -%%PORTDOCS%%share/doc/ettercap-%%PORTVERSION%%/AUTHORS -%%PORTDOCS%%share/doc/ettercap-%%PORTVERSION%%/CHANGELOG -%%PORTDOCS%%share/doc/ettercap-%%PORTVERSION%%/COPYING -%%PORTDOCS%%share/doc/ettercap-%%PORTVERSION%%/HISTORY -%%PORTDOCS%%share/doc/ettercap-%%PORTVERSION%%/KNOWN-BUGS -%%PORTDOCS%%share/doc/ettercap-%%PORTVERSION%%/PORTINGS -%%PORTDOCS%%share/doc/ettercap-%%PORTVERSION%%/README -%%PORTDOCS%%share/doc/ettercap-%%PORTVERSION%%/README.PLUGINS -%%PORTDOCS%%share/doc/ettercap-%%PORTVERSION%%/THANKS -%%PORTDOCS%%share/doc/ettercap-%%PORTVERSION%%/TODO -%%PORTDOCS%%@dirrm share/doc/ettercap-%%PORTVERSION%% diff --git a/net-mgmt/flow-tools/Makefile b/net-mgmt/flow-tools/Makefile deleted file mode 100644 index 66d65a5ac031..000000000000 --- a/net-mgmt/flow-tools/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# New ports collection makefile for: flow-tools -# Date created: 2000 Jul 25 -# Whom: @BABOLO <.@babolo.ru> -# -# $FreeBSD$ -# - -PORTNAME= flow-tools -PORTVERSION= 0.34 -CATEGORIES= net -MASTER_SITES= ftp://ftp.net.ohio-state.edu/users/maf/cisco/ - -MAINTAINER= .@babolo.ru - -ALL_TARGET= i386-fbsd docs -USE_GMAKE= yes - -MAN1= flow-capture.1 flow-export.1 flow-stat.1 flow-cat.1 \ - flow-fanout.1 flow-tools.1 flow-dscan.1 flow-filter.1 \ - flow-print.1 flow-expire.1 flow-gen.1 flow-profile.1 - -#MANCOMPRESSED= yes - -.include <bsd.port.mk> diff --git a/net-mgmt/flow-tools/distinfo b/net-mgmt/flow-tools/distinfo deleted file mode 100644 index 1a2c4ae48768..000000000000 --- a/net-mgmt/flow-tools/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (flow-tools-0.34.tar.gz) = 994ba902972cea7497a9fa0f0b927275 diff --git a/net-mgmt/flow-tools/files/patch-aa b/net-mgmt/flow-tools/files/patch-aa deleted file mode 100644 index ab7f5a3e2ff8..000000000000 --- a/net-mgmt/flow-tools/files/patch-aa +++ /dev/null @@ -1,8 +0,0 @@ ---- asn2c.orig Fri May 1 19:35:11 1998 -+++ asn2c Mon Jul 17 19:32:58 2000 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - - # - # converts internic netinfo/asn.txt to C code diff --git a/net-mgmt/flow-tools/files/patch-ab b/net-mgmt/flow-tools/files/patch-ab deleted file mode 100644 index a1248d461de8..000000000000 --- a/net-mgmt/flow-tools/files/patch-ab +++ /dev/null @@ -1,65 +0,0 @@ ---- Makefile.orig Mon May 1 22:54:20 2000 -+++ Makefile Tue Jul 25 19:30:16 2000 -@@ -32,22 +32,29 @@ - FL="flow-tools" - DIST=flow-tools-0.34 - SHELL=/bin/sh --BINDIR=/usr/local/netflow/bin -+PREFIX ?= /usr/local -+BINDIR ?= ${PREFIX}/bin -+MANDIR ?= ${PREFIX}/man - - LEX=flex - CC=gcc --INSTALL=install -c -m0755 -+ -+BINMODE ?= 0555 -+MANMODE ?= 0444 -+INSTALL_PROGRAM ?= install -c -s -o root -g wheel -m ${BINMODE} -+INSTALL_MAN ?= install -c -o root -g wheel -m ${MANMODE} -+ - - YACC=yacc -t -v - #YACC=bison -y - - POD2MAN=pod2man - POD2HTML=pod2html --P2MFLAGS = --center="OSU FLOW TOOLS" --date="2000-04-26" -+P2MFLAGS = --center="OSU FLOW TOOLS" --date="2000-04-26" --release="OSU flow tools 0.34" - - - #CFLAGS = -g -DPOSIX_SIGNALS -DDEBUG -DLIBWRAP -I/usr/local/include -L/usr/local/lib --CFLAGS = -O2 -funroll-all-loops -ffast-math -I/usr/local/include -L/usr/local/lib -DPOSIX_SIGNALS -DLIBWRAP -+CFLAGS+= -O2 -funroll-all-loops -ffast-math -I/usr/local/include -L/usr/local/lib -DPOSIX_SIGNALS -DLIBWRAP - - LIBS = -L. -lz - -@@ -94,20 +101,23 @@ - #flow-test - - MAN = flow-capture.1 flow-export.1 flow-stat.1 flow-cat.1 \ -- flow-fanout.1 flow-mirror.1 flow-tools.1 flow-dscan.1 flow-filter.1 \ -- flow-print.1 flow-expire.1 flow-gen.1 flow-search.1 flow-profile.1 -+ flow-fanout.1 flow-tools.1 flow-dscan.1 flow-filter.1 \ -+ flow-print.1 flow-expire.1 flow-gen.1 flow-profile.1 - - HTML = flow-capture.html flow-export.html flow-stat.html \ -- flow-cat.html flow-fanout.html flow-mirror.html flow-tools.html \ -+ flow-cat.html flow-fanout.html flow-tools.html \ - flow-dscan.html flow-filter.html flow-print.html flow-expire.html \ -- flow-gen.html flow-search.html flow-profile.html -+ flow-gen.html flow-profile.html - - all: ${BINS} - - install: - mkdir -p ${BINDIR} -- ${INSTALL} ${BINS} flow-mirror ${BINDIR} -+ ${INSTALL_PROGRAM} ${BINS} ${BINDIR} - @echo files installed in ${BINDIR} -+ mkdir -p ${MANDIR}/man1 -+ ${INSTALL_MAN} ${MAN} ${MANDIR}/man1 -+ @echo files installed in ${MANDIR}/man1 - - clean: - /bin/rm -f ${BINS} *.o sym_asn.c *.1 *.html diff --git a/net-mgmt/flow-tools/pkg-comment b/net-mgmt/flow-tools/pkg-comment deleted file mode 100644 index 46496e56824e..000000000000 --- a/net-mgmt/flow-tools/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Programs to work with Cisco NetFlow diff --git a/net-mgmt/flow-tools/pkg-descr b/net-mgmt/flow-tools/pkg-descr deleted file mode 100644 index b5db6104714b..000000000000 --- a/net-mgmt/flow-tools/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Tools to capture, replicate, print, filter, send and other works -on Cisco's NetFlow Export. - -WWW: http://www.usenix.org/publications/login/1999-9/osu.html diff --git a/net-mgmt/flow-tools/pkg-plist b/net-mgmt/flow-tools/pkg-plist deleted file mode 100644 index 5f5b5fc9b122..000000000000 --- a/net-mgmt/flow-tools/pkg-plist +++ /dev/null @@ -1,13 +0,0 @@ -bin/flow-capture -bin/flow-stat -bin/flow-print -bin/flow-cat -bin/flow-dscan -bin/flow-export -bin/flow-filter -bin/flow-fanout -bin/flow-send -bin/flow-receive -bin/flow-gen -bin/flow-profile -bin/flow-expire diff --git a/net-mgmt/flowscan/Makefile b/net-mgmt/flowscan/Makefile deleted file mode 100644 index d8ca6f18e172..000000000000 --- a/net-mgmt/flowscan/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -# New ports collection makefile for: flowscan -# Date created: Di 13 Mär 2001 08:23:55 CET -# Whom: andreas@freebsd.org -# -# $FreeBSD$ -# - -PORTNAME= flowscan -PORTVERSION= 1.006 -PORTREVISION= 5 -CATEGORIES= net -MASTER_SITES= http://net.doit.wisc.edu/~plonka/FlowScan/ -DISTFILES= FlowScan-${PORTVERSION}.tar.gz - -MAINTAINER= andreas@freebsd.org - -BUILD_DEPENDS= ksh:${PORTSDIR}/shells/pdksh \ - rrdtool:${PORTSDIR}/net/rrdtool \ - ${LOCALBASE}/sbin/cflowd:${PORTSDIR}/net/cflowd \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Boulder/Stream.pm:${PORTSDIR}/converters/p5-Boulder \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/ConfigReader/DirectiveStyle.pm:${PORTSDIR}/devel/p5-ConfigReader \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/HTML/Table.pm:${PORTSDIR}/www/p5-HTML-Table \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Cflow.pm:${PORTSDIR}/net/p5-Cflow \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Net/Patricia.pm:${PORTSDIR}/net/p5-Net-Patricia -RUN_DEPENDS= gmake:${PORTSDIR}/devel/gmake - -CFLOWD_FLOWSCAN_PATCH= yes -HAS_CONFIGURE= yes -CONFIGURE_ARGS+= --prefix=${PREFIX}/var/db/flows -WRKSRC= ${WRKDIR}/FlowScan-${PORTVERSION} - -pre-install: - @ ${MKDIR} ${PREFIX}/var/db/flows/bin - @ ${MKDIR} ${PREFIX}/var/db/flows/graphs - -post-install: - # sample startup script - @ ${INSTALL_SCRIPT} ${FILESDIR}/flowscan.sh \ - ${PREFIX}/etc/rc.d/cflowd-flowscan.sh.sample - # overwrite cflowd startup script, since we need some additional - # parameters ! - @ ${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \ - ${PREFIX}/etc/rc.d/cflowd-base.sh.sample - # sample Makefile to generate graphs - @ ${INSTALL_DATA} ${WRKSRC}/graphs.mf \ - ${PREFIX}/var/db/flows/graphs/Makefile.sample - # sample config files -.for i in CampusIO.cf Napster_subnets.boulder SubNetIO.cf flowscan.cf \ - local_nets.boulder our_subnets.boulder - @ ${INSTALL_DATA} ${WRKSRC}/cf/${i} \ - ${PREFIX}/var/db/flows/bin/${i}.sample -.endfor - # important docu files - @ ${MKDIR} ${PREFIX}/share/doc/flowscan - @ ${INSTALL_DATA} ${WRKSRC}/example/crontab \ - ${PREFIX}/share/doc/flowscan/crontab.sample - @ ${INSTALL_DATA} ${WRKSRC}/rc/linux/cflowd \ - ${PREFIX}/share/doc/flowscan/cflowd.sample - @ ${INSTALL_DATA} ${WRKSRC}/rc/linux/flowscan \ - ${PREFIX}/share/doc/flowscan/flowscan.sample - @ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/flowscan - # less important docu files -.if !defined(NOPORTDOCS) - @ ${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" -.for i in README README.html INSTALL.html TODO - @ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/flowscan -.endfor -.endif - # info - @ ${CAT} ${.CURDIR}/pkg-message - -.include <bsd.port.mk> diff --git a/net-mgmt/flowscan/distinfo b/net-mgmt/flowscan/distinfo deleted file mode 100644 index bbc3e808e600..000000000000 --- a/net-mgmt/flowscan/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (FlowScan-1.006.tar.gz) = 3c687ae0ffab82dadeb4086f122bcee5 diff --git a/net-mgmt/flowscan/files/cflowd.sh b/net-mgmt/flowscan/files/cflowd.sh deleted file mode 100644 index ae9b46a6fa54..000000000000 --- a/net-mgmt/flowscan/files/cflowd.sh +++ /dev/null @@ -1,37 +0,0 @@ -#! /bin/sh - -# rc script for cflowd -# modified to use proper commandline options for flowscan -# Andreas Klemm <andreas@FreeBSD.org>, So 25 Mär 2001 12:46:10 CEST -# $FreeBSD$ - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -'start') - [ -x $PREFIX/sbin/cflowdmux -a -s $PREFIX/etc/cflowd.conf ] \ - && $PREFIX/sbin/cflowdmux $PREFIX/etc/cflowd.conf \ - && echo -n " cflowdmux" - sleep 2 - [ -x $PREFIX/sbin/cflowd -a -s $PREFIX/etc/cflowd.conf ] \ - && $PREFIX/sbin/cflowd -s 300 -O 0 -m $PREFIX/etc/cflowd.conf \ - && echo -n " cflowd" - sleep 2 - [ -x $PREFIX/sbin/cfdcollect -a -s $PREFIX/etc/cfdcollect.conf ] \ - && $PREFIX/sbin/cfdcollect $PREFIX/etc/cfdcollect.conf \ - && echo -n " cfdcollect" - ;; - -'stop') - for i in cfdcollect cflowd cflowdmux - do - sleep 2 - killall -15 $i && echo "graceful shutdown of $i" - done - ;; -esac - -exit 0 diff --git a/net-mgmt/flowscan/files/flowscan.sh b/net-mgmt/flowscan/files/flowscan.sh deleted file mode 100644 index 08e88d0a35a8..000000000000 --- a/net-mgmt/flowscan/files/flowscan.sh +++ /dev/null @@ -1,39 +0,0 @@ -#! /bin/sh - -# rc script for flowscan -# Andreas Klemm <andreas@FreeBSD.org>, So 25 Mär 2001 12:46:10 CEST -# $FreeBSD$ - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -awk=/usr/bin/awk -bindir=$PREFIX/var/db/flows/bin -grep=/usr/bin/grep -kill=/bin/kill -logfile=$PREFIX/var/db/flows/flowscan.log -perl=/usr/bin/perl -scandir=$PREFIX/var/db/flows - -case "$1" in -'start') - [ -x $bindir/flowscan ] \ - && ( cd $scandir \ - && $perl $bindir/flowscan \ - >> $logfile 2>&1 </dev/null \ - > /dev/null & ) \ - && echo -n " flowscan" - ;; - -'stop') - pid=`ps -ax | $grep "$perl $bindir/flowscan" | $awk '{ print $1 }'` - if [ -n "$pid" ]; then - echo "killing flowscan" - $kill $pid - fi - ;; -esac - -exit 0 diff --git a/net-mgmt/flowscan/pkg-comment b/net-mgmt/flowscan/pkg-comment deleted file mode 100644 index 750edc47a025..000000000000 --- a/net-mgmt/flowscan/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Processes IP flows recorded in cflowd-format raw flow files diff --git a/net-mgmt/flowscan/pkg-descr b/net-mgmt/flowscan/pkg-descr deleted file mode 100644 index a45b99b0aff7..000000000000 --- a/net-mgmt/flowscan/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -FlowScan is a tool to monitor and graph flow information from -Cisco, Juniper and Riverstone routers in near real-time. - -Amonst many other things, FlowScan can measure and graph traffic -for applications such as Napster. - -A sample of what FlowScan can do is at: http://wwwstats.net.wisc.edu - -WWW: http://net.doit.wisc.edu/~plonka/FlowScan/ diff --git a/net-mgmt/flowscan/pkg-message b/net-mgmt/flowscan/pkg-message deleted file mode 100644 index f7709b2877c2..000000000000 --- a/net-mgmt/flowscan/pkg-message +++ /dev/null @@ -1,35 +0,0 @@ -This is not an "easy" port. You have to take many things into consideration, -what flow data to collect (disk space, etc), how and when to remove unneeded -flow files. And you have to know, what it is all about. If you don't know -Cisco NetFlow switching and its data export feature, then I recommend you -to deinstall this port. - -Prerequisites: -A) You need to read the installation instructions closely, see: - ${PREFIX}/share/doc/flowscan/INSTALL - -B) You need to configure your Cisco Router, to enable Netflow Switching - and Netflow data export (version 5 flow export format). - -PLEASE NOTE, YOU HAVE TO KNOW EXACTLY, IF YOU REALLY WANT TO ENABLE NETFLOW -SWITCHING ON YOUR CISCO CORE OR DISTRIBUTION ROUTERS, WHAT PERFORMANCE IMPACT -MIGHT BE INVOLVED WHEN DOING THIS, WITH THE GOAL, NOT TO LOOSE YOUR ROUTING/ -SWITCHING PERFORMANCE. BE WARNED !!! - -C) You need to configure SNMP on your Cisco Router. - -Post-installation tasks involve: -a) Configure cflowd properly for your needs, see above mentioned docu ! - Example files reside in ${PREFIX}/etc, files: - cflowd.conf.example and cfdcollect.conf -b) Configure flowscan, see above mentioned docu ! - Example files reside in ${PREFIX}/var/db/flows/bin, files: - "foo".sample ... -c) Customize and install crontab file, example see: - ${PREFIX}/share/doc/flowscan/crontab.sample -d) Activate flowscan startscript by renaming it as usual, see example in: - ${PREFIX}/etc/rc.d/flowscan.sh.sample -e) Create graphs using make by customizing the sample Makefile, see docu ! - ${PREFIX}/var/db/flows/graphs/Makefile.sample - Please note, that the Makefile has to be reconfigured if you add - or remove protocols in ${PREFIX}/var/db/flows/bin/CampusIO.cf ! diff --git a/net-mgmt/flowscan/pkg-plist b/net-mgmt/flowscan/pkg-plist deleted file mode 100644 index 15d672abbdf8..000000000000 --- a/net-mgmt/flowscan/pkg-plist +++ /dev/null @@ -1,31 +0,0 @@ -etc/rc.d/cflowd-base.sh.sample -etc/rc.d/cflowd-flowscan.sh.sample -var/db/flows/bin/flowscan -var/db/flows/bin/FlowScan.pm -var/db/flows/bin/CampusIO.pm -var/db/flows/bin/SubNetIO.pm -var/db/flows/bin/locker -var/db/flows/bin/add_ds.pl -var/db/flows/bin/add_txrx -var/db/flows/bin/event2vrule -var/db/flows/bin/ip2hostname -var/db/flows/bin/CampusIO.cf.sample -var/db/flows/bin/Napster_subnets.boulder.sample -var/db/flows/bin/SubNetIO.cf.sample -var/db/flows/bin/flowscan.cf.sample -var/db/flows/bin/local_nets.boulder.sample -var/db/flows/bin/our_subnets.boulder.sample -var/db/flows/graphs/Makefile.sample -share/doc/flowscan/README -share/doc/flowscan/README.html -share/doc/flowscan/INSTALL -share/doc/flowscan/INSTALL.html -share/doc/flowscan/TODO -share/doc/flowscan/crontab.sample -share/doc/flowscan/cflowd.sample -share/doc/flowscan/flowscan.sample -@dirrm var/db/flows/graphs -@dirrm var/db/flows/bin -@dirrm var/db/flows -@dirrm var/db -@dirrm share/doc/flowscan diff --git a/net-mgmt/icmpquery/Makefile b/net-mgmt/icmpquery/Makefile deleted file mode 100644 index 00c195d2cff7..000000000000 --- a/net-mgmt/icmpquery/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# New ports collection makefile for: icmpquery -# Date created: Jan 7 1999 -# Whom: dom@myrddin.demon.co.uk -# -# $FreeBSD$ -# - -PORTNAME= icmpquery -PORTVERSION= 1.0.3 -CATEGORIES= net -MASTER_SITES= http://www.angio.net/security/ -DISTNAME= icmpquery -EXTRACT_SUFX= .c - -MAINTAINER= dom@myrddin.demon.co.uk - -NO_WRKSUBDIR= YES -ALL_TARGET= icmpquery - -do-extract: - @${MKDIR} ${WRKDIR} - @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR} - @${CP} ${FILESDIR}/Makefile ${WRKDIR} - -do-install: - @${INSTALL_PROGRAM} ${WRKDIR}/icmpquery ${PREFIX}/bin - @${CHMOD} u+s ${PREFIX}/bin/icmpquery - -.include <bsd.port.mk> diff --git a/net-mgmt/icmpquery/distinfo b/net-mgmt/icmpquery/distinfo deleted file mode 100644 index 3487bcab0115..000000000000 --- a/net-mgmt/icmpquery/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (icmpquery.c) = 49ec82cc335951652662211fd1759cbd diff --git a/net-mgmt/icmpquery/files/Makefile b/net-mgmt/icmpquery/files/Makefile deleted file mode 100644 index 45bf000780e4..000000000000 --- a/net-mgmt/icmpquery/files/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# -# Small Makefile for icmpquery. -# -# $FreeBSD$ -# - -PROG=icmpquery - -.include <bsd.prog.mk> diff --git a/net-mgmt/icmpquery/pkg-comment b/net-mgmt/icmpquery/pkg-comment deleted file mode 100644 index 5dc48af1e144..000000000000 --- a/net-mgmt/icmpquery/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Small utility for finding out time & netmask through ICMP diff --git a/net-mgmt/icmpquery/pkg-descr b/net-mgmt/icmpquery/pkg-descr deleted file mode 100644 index abe44fd5ba54..000000000000 --- a/net-mgmt/icmpquery/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -A small utility for finding out time & netmask through ICMP. - -Written by David G. Andersen (danderse@cs.utah.edu) diff --git a/net-mgmt/icmpquery/pkg-plist b/net-mgmt/icmpquery/pkg-plist deleted file mode 100644 index f7afa54c2f39..000000000000 --- a/net-mgmt/icmpquery/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -bin/icmpquery diff --git a/net-mgmt/ipcad/Makefile b/net-mgmt/ipcad/Makefile deleted file mode 100644 index 480d6c1ae15d..000000000000 --- a/net-mgmt/ipcad/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# New ports collection makefile for: ipcad -# Date created: 15 April 2001 -# Whom: vlm@spelio.net.ru -# -# $FreeBSD$ -# - -PORTNAME= ipcad -PORTVERSION= 2.0 -CATEGORIES= net -MASTER_SITES= http://www.spelio.net.ru/soft/ - -MAINTAINER= vlm@spelio.net.ru - -post-install: - strip ${PREFIX}/bin/ipcad -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/ipcad - ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/ipcad -.endif - -.include <bsd.port.mk> diff --git a/net-mgmt/ipcad/distinfo b/net-mgmt/ipcad/distinfo deleted file mode 100644 index 4023e823a0d1..000000000000 --- a/net-mgmt/ipcad/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ipcad-2.0.tar.gz) = fe1bbed928e89b78e46e4595cf47ff3b diff --git a/net-mgmt/ipcad/pkg-comment b/net-mgmt/ipcad/pkg-comment deleted file mode 100644 index ac6ad94c071e..000000000000 --- a/net-mgmt/ipcad/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -IP accounting daemon simulating Cisco ip accounting diff --git a/net-mgmt/ipcad/pkg-descr b/net-mgmt/ipcad/pkg-descr deleted file mode 100644 index 0d5d1a036952..000000000000 --- a/net-mgmt/ipcad/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -IPCAD is an ip accounting daemon. It uses bpf or pcap to access interfaces -and gather ip statistics. Gathered numbers are arranged to form a -address-to-address flow pairs and than can be accessed via rsh in Cisco -fashion. - -See README file for details. - -WWW: http://www.spelio.net.ru/soft/ - --- -Lev Walkin -vlm@spelio.net.ru diff --git a/net-mgmt/ipcad/pkg-plist b/net-mgmt/ipcad/pkg-plist deleted file mode 100644 index 3ac015c57621..000000000000 --- a/net-mgmt/ipcad/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/ipcad -etc/ipcad.conf.sample -%%PORTDOCS%%share/doc/ipcad/README -@dirrm share/doc/ipcad diff --git a/net-mgmt/ipfm/Makefile b/net-mgmt/ipfm/Makefile deleted file mode 100644 index 040eb1e5c92e..000000000000 --- a/net-mgmt/ipfm/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# New ports collection makefile for: ipfm -# Date Created: 4 Mar 2000 -# Whom: Roman Shterenzon <roman@xpert.com> -# -# $FreeBSD$ -# - -PORTNAME= ipfm -PORTVERSION= 0.10.4 -CATEGORIES= net -MASTER_SITES= http://www.via.ecp.fr/~tibob/ipfm/archive/ -EXTRACT_SUFX= .tgz - -MAINTAINER= roman@xpert.com - -PATCH_STRIP= -p1 - -GNU_CONFIGURE= yes - -.include <bsd.port.mk> diff --git a/net-mgmt/ipfm/distinfo b/net-mgmt/ipfm/distinfo deleted file mode 100644 index 49137eecea7e..000000000000 --- a/net-mgmt/ipfm/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ipfm-0.10.4.tgz) = bf5b0adc9301449dce2da0d42a0116d0 diff --git a/net-mgmt/ipfm/files/patch-aa b/net-mgmt/ipfm/files/patch-aa deleted file mode 100644 index 0778be48bd19..000000000000 --- a/net-mgmt/ipfm/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- ipfm-0.10.4.orig/configure Sat Oct 16 17:18:30 1999 -+++ ipfm-0.10.4/configure Sat Mar 4 23:57:54 2000 -@@ -1370,7 +1370,7 @@ - done - - --sysconfdir=/etc -+sysconfdir=$prefix/etc - - trap '' 1 2 15 - cat > confcache <<\EOF diff --git a/net-mgmt/ipfm/files/patch-ab b/net-mgmt/ipfm/files/patch-ab deleted file mode 100644 index 996ed7f79691..000000000000 --- a/net-mgmt/ipfm/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- ipfm-0.10.4/Makefile.in Mon Oct 11 15:45:58 1999 -+++ ipfm-0.10.4.orig/Makefile.in Sun Mar 5 00:48:36 2000 -@@ -15,7 +15,7 @@ - - install: all - $(INSTALL) -d -m 755 $(SBINDIR) -- $(INSTALL) -m 755 source/ipfm $(SBINDIR)/ipfm -+ $(INSTALL) -s -m 755 source/ipfm $(SBINDIR)/ipfm - $(INSTALL) -d -m 755 $(ETCDIR) - [ -f $(CONFIGURATION_FILE) ] || \ - $(INSTALL) -m 644 ipfm.conf.sample $(CONFIGURATION_FILE) diff --git a/net-mgmt/ipfm/pkg-comment b/net-mgmt/ipfm/pkg-comment deleted file mode 100644 index 6e7a86b484a7..000000000000 --- a/net-mgmt/ipfm/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A bandwidth analysis tool diff --git a/net-mgmt/ipfm/pkg-descr b/net-mgmt/ipfm/pkg-descr deleted file mode 100644 index 7cd5879ab32a..000000000000 --- a/net-mgmt/ipfm/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -IP Flow Meter is a bandwidth analysis tool, that measures how much bandwidth -specified hosts use on their Internet link. - -It is written using libpcap ( ftp://ftp.ee.lbl.gov/libpcap.tar.Z ), -so it ought to be portable. - -WWW: http://www.via.ecp.fr/~tibob/ipfm/ diff --git a/net-mgmt/ipfm/pkg-plist b/net-mgmt/ipfm/pkg-plist deleted file mode 100644 index 8d60c11b7b4f..000000000000 --- a/net-mgmt/ipfm/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -sbin/ipfm -man/man5/ipfm.conf.5 -man/man8/ipfm.8 -etc/ipfm.conf -@unexec rm -rf /var/log/ipfm diff --git a/net-mgmt/irrtoolset/Makefile b/net-mgmt/irrtoolset/Makefile deleted file mode 100644 index 1e5a2c29bc26..000000000000 --- a/net-mgmt/irrtoolset/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# New ports collection makefile for: RAToolSet -# Date created: May 4th 1997 -# Whom: James FitzGibbon <jfitz@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= ratoolset -PORTVERSION= 3.5.8 -CATEGORIES= net tk82 -MASTER_SITES= ftp://ftp.isi.edu/ra/RAToolSet/ -DISTNAME= RAToolSet-3.5.8 - -MAINTAINER= ports@FreeBSD.org - -LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 - -USE_BISON= yes -GNU_CONFIGURE= Yes -CONFIGURE_ENV= TCL_TK_INCLUDE_DIR="${PREFIX}/include/tcl8.2:${PREFIX}/include/tk8.2" \ - TCL_TK_LIBRARY_DIR=${PREFIX}/lib \ - TCL_LIBRARY=${PREFIX}/lib/tcl8.2 \ - TK_LIBRARY=${PREFIX}/lib/tk8.2 \ - LD_TCL_TK_LIBS="-ltk82 -ltcl82" - -MAN1= CIDRAdvisor.1 aoe.1 pmatch.1 prpath.1 RtConfig.1 peval.1 \ - prcheck.1 roe.1 -MAN8= prtraceroute.8 relayd.8 - -ALL_TARGET= depend all - -.include <bsd.port.mk> diff --git a/net-mgmt/irrtoolset/distinfo b/net-mgmt/irrtoolset/distinfo deleted file mode 100644 index bf0f43d9ff9e..000000000000 --- a/net-mgmt/irrtoolset/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (RAToolSet-3.5.8.tar.gz) = 4c7a04539a878ba3bcc5a6de3d12ac38 diff --git a/net-mgmt/irrtoolset/files/patch-aa b/net-mgmt/irrtoolset/files/patch-aa deleted file mode 100644 index b4052b639c36..000000000000 --- a/net-mgmt/irrtoolset/files/patch-aa +++ /dev/null @@ -1,45 +0,0 @@ ---- src/misc/net.hh.orig Wed Jan 28 17:40:42 1998 -+++ src/misc/net.hh Sat Nov 27 18:11:23 1999 -@@ -86,12 +86,12 @@ - int bind (...); - int listen (...); - int accept (...); --int recvfrom(...); -+ssize_t recvfrom(...); - int gethostname (...); - int setsockopt (...); - int select (...); --int sendto (...); --int send (...); -+ssize_t sendto (...); -+ssize_t send (...); - int gettimeofday (...); - } - -@@ -132,7 +132,7 @@ - class Timer { - struct timeval tv; - struct timezone tz; -- init_time () { -+ void init_time () { - bzero ((char *) &tv, sizeof (struct timeval)); - ::gettimeofday (&tv, &tz); - } -@@ -256,7 +256,7 @@ - return ptr; - } - u_long getInaddr () { return hexaddr; } -- print () { printf ("%s\n%s\n0x%x\n", hostname, dottedaddr, hexaddr); } -+ void print () { printf ("%s\n%s\n0x%x\n", hostname, dottedaddr, hexaddr); } - - Error error; - }; -@@ -331,7 +331,7 @@ - error.warn("listen"); - return error(); - } -- accept () { -+ int accept () { - //u_long addrlen; - int addrlen = sizeof (struct sockaddr); - bzero ((char *) &socknew, sizeof (socknew)); diff --git a/net-mgmt/irrtoolset/files/patch-ab b/net-mgmt/irrtoolset/files/patch-ab deleted file mode 100644 index 6566ed2b1af4..000000000000 --- a/net-mgmt/irrtoolset/files/patch-ab +++ /dev/null @@ -1,20 +0,0 @@ ---- src/dbase/Route.hh.orig Sat Nov 27 18:08:21 1999 -+++ src/dbase/Route.hh Sat Nov 27 18:08:41 1999 -@@ -92,7 +92,7 @@ - clear(); - } - -- clear () { -+ void clear () { - pix = NULL; - _dontcare = 0; - } -@@ -248,7 +248,7 @@ - pref = 0; - } - -- set (Pix asn, int p) { -+ void set (Pix asn, int p) { - asno = asn; - pref = p; - } diff --git a/net-mgmt/irrtoolset/files/patch-ac b/net-mgmt/irrtoolset/files/patch-ac deleted file mode 100644 index ca2b0e1d8f1f..000000000000 --- a/net-mgmt/irrtoolset/files/patch-ac +++ /dev/null @@ -1,208 +0,0 @@ ---- src/dbase/Node.h.orig Sat Nov 27 18:11:57 1999 -+++ src/dbase/Node.h Sat Nov 27 18:16:21 1999 -@@ -101,7 +101,7 @@ - protected: - virtual void print(ostream &os) = 0; - public: -- virtual operator== (Node &b) = 0; -+ virtual int operator== (Node &b) = 0; - virtual void InOrderPrint() = 0; - virtual void PostOrderPrint() { InOrderPrint(); } - virtual ~Node() {}; -@@ -144,7 +144,7 @@ - virtual void print(ostream &os) = 0; - - public: -- virtual Execute(Route &r) = 0; -+ virtual void Execute(Route &r) = 0; - virtual ActionNode *FindFirst(Node_t _type) = 0; - int operator< (ActionNode &b); - friend ostream &operator<<(ostream &os, ActionNode *an) { -@@ -172,7 +172,7 @@ - type = T_ANDNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_ANDNode - && left == ((ANDNode&) b).left - && right == ((ANDNode&) b).right; -@@ -200,7 +200,7 @@ - type = T_ORNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_ORNode - && left == ((ORNode&) b).left - && right == ((ORNode&) b).right; -@@ -227,7 +227,7 @@ - type = T_NotNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_NotNode - && left == ((NotNode&) b).left; - } -@@ -256,7 +256,7 @@ - type = T_AssignNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_AssignNode - && val == ((AssignNode&) b).val - && left == ((AssignNode&) b).left; -@@ -281,7 +281,7 @@ - type = T_ANYNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_ANYNode; - } - -@@ -305,7 +305,7 @@ - type = T_ASNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_ASNode - && val == ((ASNode&) b).val; - } -@@ -330,7 +330,7 @@ - type = T_ASMacroNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_ASMacroNode - && val == ((ASMacroNode&) b).val; - } -@@ -355,7 +355,7 @@ - type = T_CommNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_CommNode - && val == ((CommNode&) b).val; - } -@@ -382,7 +382,7 @@ - cidr_root = NULL; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_NetListNode - && nets == ((NetListNode&) b).nets; - } -@@ -391,7 +391,7 @@ - virtual NormalExpression *Evaluate(int expand); - virtual int match(Route &r, char dontcare); - virtual int match_exact_or_more_specific(Route &r, char dontcare); -- add(Pix pi) { nets.add(pi); } -+ void add(Pix pi) { nets.add(pi); } - }; - - ////////////////////////////// ASPathNode ////////////////////////////// -@@ -412,7 +412,7 @@ - type = T_ASPathNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - ASSERT(0); - return 0; - } -@@ -438,7 +438,7 @@ - type = T_RegisterNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_RegisterNode - && val == ((RegisterNode&) b).val; - } -@@ -460,13 +460,13 @@ - type = T_PrefNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_PrefNode - && val == ((PrefNode&) b).val; - } - - virtual void InOrderPrint(); -- virtual Execute(Route &r) { -+ virtual void Execute(Route &r) { - } - virtual ActionNode *FindFirst(Node_t _type) { - if (type == _type) -@@ -492,13 +492,13 @@ - type = T_MEDNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_MEDNode - && val == ((MEDNode&) b).val; - } - - virtual void InOrderPrint(); -- virtual Execute(Route &r) { -+ virtual void Execute(Route &r) { - } - virtual ActionNode *FindFirst(Node_t _type) { - if (type == _type) -@@ -524,13 +524,13 @@ - type = T_DPANode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_DPANode - && val == ((DPANode&) b).val; - } - - virtual void InOrderPrint(); -- virtual Execute(Route &r) { -+ virtual void Execute(Route &r) { - } - virtual ActionNode *FindFirst(Node_t _type) { - if (type == _type) -@@ -552,12 +552,12 @@ - type = T_NoopNode; - } - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_NoopNode; - } - - virtual void InOrderPrint(); -- virtual Execute(Route &r) {} -+ virtual void Execute(Route &r) {} - virtual ActionNode *FindFirst(Node_t _type) { - if (type == _type) - return this; -@@ -581,14 +581,14 @@ - } - virtual ~ComposeNode(); - -- virtual operator== (Node& b) { -+ virtual int operator== (Node& b) { - return b.type == T_ComposeNode - && left == ((ComposeNode&) b).left - && right == ((ComposeNode&) b).right; - } - - virtual void InOrderPrint(); -- virtual Execute(Route &r) {} -+ virtual void Execute(Route &r) {} - virtual ActionNode *FindFirst(Node_t _type) { - ActionNode *r; - if (type == _type) diff --git a/net-mgmt/irrtoolset/files/patch-ad b/net-mgmt/irrtoolset/files/patch-ad deleted file mode 100644 index d0560a973b2a..000000000000 --- a/net-mgmt/irrtoolset/files/patch-ad +++ /dev/null @@ -1,11 +0,0 @@ ---- src/misc/Error.hh.orig Sat Nov 27 18:17:24 1999 -+++ src/misc/Error.hh Sat Nov 27 18:17:31 1999 -@@ -378,7 +378,7 @@ - reset(); - } - -- reset() { -+ void reset() { - errno = 0; - level_ = ErrorNone; - messages_.clear(); diff --git a/net-mgmt/irrtoolset/files/patch-ae b/net-mgmt/irrtoolset/files/patch-ae deleted file mode 100644 index 8c3005236be0..000000000000 --- a/net-mgmt/irrtoolset/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- src/peval/xx_lexer.y.orig Sat Nov 27 18:18:56 1999 -+++ src/peval/xx_lexer.y Sat Nov 27 18:19:07 1999 -@@ -94,7 +94,7 @@ - NULL, ERROR_TKN - }; - --static inline strtoupper(char *c) { -+static inline void strtoupper(char *c) { - for (; *c; c++) - if (isascii(*c) && isalpha(*c)) - *c = toupper(*c); diff --git a/net-mgmt/irrtoolset/files/patch-af b/net-mgmt/irrtoolset/files/patch-af deleted file mode 100644 index 50022888976a..000000000000 --- a/net-mgmt/irrtoolset/files/patch-af +++ /dev/null @@ -1,10 +0,0 @@ ---- src/misc/net.cc.orig Sat Nov 27 18:20:31 1999 -+++ src/misc/net.cc Sat Nov 27 18:21:15 1999 -@@ -215,6 +215,7 @@ - init_server (p); - } - -+int - TCP::init_server (int p) { - setLocalPort (p); - bind(); diff --git a/net-mgmt/irrtoolset/files/patch-ag b/net-mgmt/irrtoolset/files/patch-ag deleted file mode 100644 index f5519df2a198..000000000000 --- a/net-mgmt/irrtoolset/files/patch-ag +++ /dev/null @@ -1,11 +0,0 @@ ---- src/dbase/irr_lexer.y.orig Sat Nov 27 18:22:22 1999 -+++ src/dbase/irr_lexer.y Sat Nov 27 18:22:44 1999 -@@ -73,7 +73,7 @@ - - #include <cctype> - --static inline strtoupper(char *c) { -+static inline void strtoupper(char *c) { - for (; *c; c++) - if (isascii(*c) && isalpha(*c)) - *c = toupper(*c); diff --git a/net-mgmt/irrtoolset/files/patch-ah b/net-mgmt/irrtoolset/files/patch-ah deleted file mode 100644 index 4278782c08ab..000000000000 --- a/net-mgmt/irrtoolset/files/patch-ah +++ /dev/null @@ -1,20 +0,0 @@ ---- src/dbase/irr_parser.y.orig Sat Nov 27 18:23:53 1999 -+++ src/dbase/irr_parser.y Sat Nov 27 18:25:00 1999 -@@ -90,7 +90,7 @@ - char *error_while_expecting = NULL; - - static regexp_symbol *re_symbol; --static insert_or_update_filter_action(ListHead<Filter_Action> &l, -+static void insert_or_update_filter_action(ListHead<Filter_Action> &l, - ActionNode *action, FilterNode *filter); - static ASPolicy *find_or_insert_peer_as(Pix peer); - static InterASPolicy *find_or_insert_peering(ASPolicy *p, Pix laddr, Pix raddr); -@@ -635,7 +635,7 @@ - return(0); - } - --static insert_or_update_filter_action(ListHead<Filter_Action> &l, -+static void insert_or_update_filter_action(ListHead<Filter_Action> &l, - ActionNode *action, FilterNode *filter) { - Filter_Action *fap, *fap2; - diff --git a/net-mgmt/irrtoolset/files/patch-ai b/net-mgmt/irrtoolset/files/patch-ai deleted file mode 100644 index 18de9569197e..000000000000 --- a/net-mgmt/irrtoolset/files/patch-ai +++ /dev/null @@ -1,11 +0,0 @@ ---- src/roe/roe_config.hh.orig Sat Nov 27 18:35:37 1999 -+++ src/roe/roe_config.hh Sat Nov 27 18:36:14 1999 -@@ -42,7 +42,7 @@ - - class Configure { - public: -- const int size = 12; -+ static const int size = 12; - - class DBUpdate { - public: diff --git a/net-mgmt/irrtoolset/files/patch-aj b/net-mgmt/irrtoolset/files/patch-aj deleted file mode 100644 index 6d190fb677b6..000000000000 --- a/net-mgmt/irrtoolset/files/patch-aj +++ /dev/null @@ -1,14 +0,0 @@ ---- src/aoe/TclApp.cc.orig Sat Nov 27 18:38:25 1999 -+++ src/aoe/TclApp.cc Sat Nov 27 18:43:51 1999 -@@ -186,9 +186,9 @@ - // Call Tcl function to create a Tcl command - if (Tcl_CreateCommand(ptInterp, - pcCommand->getName(), -- TclCommand::command, -+ &TclCommand::command, - (ClientData)pcCommand, -- TclCommand::cleanUp) == NULL) return 0; -+ &TclCommand::cleanUp) == NULL) return 0; - return 1; - } - diff --git a/net-mgmt/irrtoolset/files/patch-ak b/net-mgmt/irrtoolset/files/patch-ak deleted file mode 100644 index 05060ae5f711..000000000000 --- a/net-mgmt/irrtoolset/files/patch-ak +++ /dev/null @@ -1,11 +0,0 @@ ---- src/aoe/TclLabel.cc.orig Sat Nov 27 18:45:09 1999 -+++ src/aoe/TclLabel.cc Sat Nov 27 18:45:24 1999 -@@ -47,7 +47,7 @@ - #include "TclLabel.hh" - #include "TclApp.hh" - --TclLabel::clear(void) -+int TclLabel::clear(void) - { - TclApplication *pcApp = (TclApplication *)getExtraArgument(); - return (pcApp->evalf("%s configure -text {}", getName())); diff --git a/net-mgmt/irrtoolset/files/patch-al b/net-mgmt/irrtoolset/files/patch-al deleted file mode 100644 index 49b068f99199..000000000000 --- a/net-mgmt/irrtoolset/files/patch-al +++ /dev/null @@ -1,11 +0,0 @@ ---- src/prtraceroute/netraw.hh.orig Sat Nov 27 18:46:27 1999 -+++ src/prtraceroute/netraw.hh Sat Nov 27 18:46:49 1999 -@@ -121,7 +121,7 @@ - rawIP (int protocol = IPPROTO_RAW); - rawIP (char *hostname, int protocol = IPPROTO_RAW); - -- setIpaddresses (); // can be used for incoming packets. -+ void setIpaddresses (); // can be used for incoming packets. - - int write (){return rawPacket::write ((char *) ip_hdr, ip_hdr->ip_len);} - int send (){return rawPacket::send ((char *) ip_hdr, ip_hdr->ip_len);} diff --git a/net-mgmt/irrtoolset/files/patch-am b/net-mgmt/irrtoolset/files/patch-am deleted file mode 100644 index 70e7cb9572ed..000000000000 --- a/net-mgmt/irrtoolset/files/patch-am +++ /dev/null @@ -1,11 +0,0 @@ ---- src/prtraceroute/prtraceroute.hh.orig Sat Nov 27 18:47:35 1999 -+++ src/prtraceroute/prtraceroute.hh Sat Nov 27 18:47:45 1999 -@@ -121,7 +121,7 @@ - u_int flags; - void _add (ipAddr *ipaddr); - -- _hop () { -+ void _hop () { - ipaddr = (ipAddr *) NULL; - autnum = NULL; - route = new Route(); diff --git a/net-mgmt/irrtoolset/pkg-comment b/net-mgmt/irrtoolset/pkg-comment deleted file mode 100644 index 74aadb1512e4..000000000000 --- a/net-mgmt/irrtoolset/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A suite of policy analysis tools diff --git a/net-mgmt/irrtoolset/pkg-descr b/net-mgmt/irrtoolset/pkg-descr deleted file mode 100644 index 5129fb44e3a5..000000000000 --- a/net-mgmt/irrtoolset/pkg-descr +++ /dev/null @@ -1,24 +0,0 @@ -RAToolSet is a suite of policy analysis tools. It is implemented in C++ on a -UNIX platform. It has been ported successfully to many platforms including -Sun Sparc stations running SunOS 4.1.3 or Solaris, FreeBSD, DEC Alphas -running OSF/1, and BSDI. It contains the following programs: - -RtConfig routing policies analyzer and router configuration tool - -peval a low-level policy evaluation tool - -roe route object editor - -CIDRAdvisor suggests safe cidr aggregates - -aoe autonomous system object editor - -pmatch prints matching policies for destinations in aut-num objects - -prpath enumerates a list of patchs between ASes and destinations - -prtraceroute prints route and policy information packets take to a - network host - -prcheck syntax checks the aut-num objects in the Internet Routing - Registry diff --git a/net-mgmt/irrtoolset/pkg-plist b/net-mgmt/irrtoolset/pkg-plist deleted file mode 100644 index a56f950cdc49..000000000000 --- a/net-mgmt/irrtoolset/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -bin/peval -bin/pmatch -bin/prpath -bin/RtConfig -bin/CIDRAdvisor -bin/prcheck -bin/irrstat -bin/roe -bin/aoe -bin/relayd -bin/prtraceroute diff --git a/net-mgmt/isic/Makefile b/net-mgmt/isic/Makefile deleted file mode 100644 index 483f43df42a2..000000000000 --- a/net-mgmt/isic/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# New ports collection makefile for: isic -# Date created: 25 February 2000 -# Whom: Brad Hendrickse <bradh@uunet.co.za> -# -# $FreeBSD$ -# - -PORTNAME= isic -PORTVERSION= 0.05 -CATEGORIES= net -MASTER_SITES= http://www.packetfactory.net/Projects/ISIC/ -EXTRACT_SUFX= .tgz - -MAINTAINER= bradh@uunet.co.za - -BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet - -GNU_CONFIGURE= yes - -.include <bsd.port.mk> diff --git a/net-mgmt/isic/distinfo b/net-mgmt/isic/distinfo deleted file mode 100644 index 0ba0790827a9..000000000000 --- a/net-mgmt/isic/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (isic-0.05.tgz) = 652d07978f050f090924bd98d2548cd7 diff --git a/net-mgmt/isic/pkg-comment b/net-mgmt/isic/pkg-comment deleted file mode 100644 index 3e352a228b5f..000000000000 --- a/net-mgmt/isic/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -IP Stack Integrity Checker diff --git a/net-mgmt/isic/pkg-descr b/net-mgmt/isic/pkg-descr deleted file mode 100644 index 4d5318c62934..000000000000 --- a/net-mgmt/isic/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -IP Stack Integrity Checker - -Its purpose is to test the stability of an IP Stack and its component stacks -(TCP, UDP, ICMP et. al.) It does this be generating random packets of the -desired protocol. The packets can have tendancies. ie by default all packets -have a 50% chance of having IP Options. The packets are then sent against the -target machine to either penetrate its firewall rules or find bugs in the IP -stack. - -WWW: http://www.packetfactory.net/Projects/ISIC/ - --- -Brad Hendrickse -bradh@uunet.co.za diff --git a/net-mgmt/isic/pkg-plist b/net-mgmt/isic/pkg-plist deleted file mode 100644 index 4ab4bf83b0a0..000000000000 --- a/net-mgmt/isic/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -bin/isic -bin/tcpsic -bin/udpsic -bin/icmpsic -bin/esic diff --git a/net-mgmt/libsmi/Makefile b/net-mgmt/libsmi/Makefile deleted file mode 100644 index a1ad49ad1ffa..000000000000 --- a/net-mgmt/libsmi/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# New ports collection makefile for: libsmi -# Date created: Tue Jan 27 2000 -# Whom: Marcin Cieslak <saper@system.pl> -# -# $FreeBSD$ -# - -PORTNAME= libsmi -PORTVERSION= 0.2.14 -CATEGORIES= net -MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/ - -MAINTAINER= saper@system.pl - -#LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 - -#USE_X_PREFIX= yes - -USE_LIBTOOL= yes -INSTALLS_SHLIB= yes -USE_GMAKE= yes -MIBDIR= ${PREFIX}/share/smi/mibs -CONFIGURE_ARGS+=--with-data-dir=${PREFIX}/share/smi \ - --with-mibdir=${MIBDIR} - -MAN1= smiquery.1 smilint.1 smidump.1 smistrip.1 -MAN3= libsmi.3 smi_config.3 smi_module.3 smi_macro.3 smi_node.3 smi_type.3 - -.include <bsd.port.mk> diff --git a/net-mgmt/libsmi/distinfo b/net-mgmt/libsmi/distinfo deleted file mode 100644 index 1a2034239936..000000000000 --- a/net-mgmt/libsmi/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (libsmi-0.2.14.tar.gz) = 62715679a31ae56f5d249fb8c8ee37dd diff --git a/net-mgmt/libsmi/pkg-comment b/net-mgmt/libsmi/pkg-comment deleted file mode 100644 index 671a84fd6453..000000000000 --- a/net-mgmt/libsmi/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A library to access SMI MIB information diff --git a/net-mgmt/libsmi/pkg-descr b/net-mgmt/libsmi/pkg-descr deleted file mode 100644 index 9f08903edd23..000000000000 --- a/net-mgmt/libsmi/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -The purpose of libsmi is to give network management applications -a concise programmer-friendly interface to access MIB module information, -separate the knowledge on SMI from the main parts of management applications, -allow to add new kinds of MIB repositories without the need -to adapt applications that make use of libsmi. - -There are also simple tools to handle MIBs included. - -WWW: http://www.ibr.cs.tu-bs.de/projects/libsmi/ - -Marcin Cieslak <saper@system.pl> diff --git a/net-mgmt/libsmi/pkg-plist b/net-mgmt/libsmi/pkg-plist deleted file mode 100644 index ed197bb4a116..000000000000 --- a/net-mgmt/libsmi/pkg-plist +++ /dev/null @@ -1,189 +0,0 @@ -bin/smidump -bin/smilint -bin/smiquery -bin/smistrip -include/smi.h -lib/libsmi.a -lib/libsmi.so -lib/libsmi.so.2 -share/aclocal/libsmi.m4 -share/smi/mibs/iana/IANA-ADDRESS-FAMILY-NUMBERS-MIB -share/smi/mibs/iana/IANA-LANGUAGE-MIB -share/smi/mibs/iana/IANA-RTPROTO-MIB -share/smi/mibs/iana/IANATn3270eTC-MIB -share/smi/mibs/iana/IANAifType-MIB -share/smi/mibs/ietf/ACCOUNTING-CONTROL-MIB -share/smi/mibs/ietf/ADSL-LINE-MIB -share/smi/mibs/ietf/ADSL-TC-MIB -share/smi/mibs/ietf/AGENTX-MIB -share/smi/mibs/ietf/APPC-MIB -share/smi/mibs/ietf/APPLETALK-MIB -share/smi/mibs/ietf/APPLICATION-MIB -share/smi/mibs/ietf/APPN-DLUR-MIB -share/smi/mibs/ietf/APPN-MIB -share/smi/mibs/ietf/APPN-TRAP-MIB -share/smi/mibs/ietf/ATM-ACCOUNTING-INFORMATION-MIB -share/smi/mibs/ietf/ATM-MIB -share/smi/mibs/ietf/ATM-TC-MIB -share/smi/mibs/ietf/BGP4-MIB -share/smi/mibs/ietf/BRIDGE-MIB -share/smi/mibs/ietf/CHARACTER-MIB -share/smi/mibs/ietf/CLNS-MIB -share/smi/mibs/ietf/COPS-CLIENT-MIB -share/smi/mibs/ietf/DECNET-PHIV-MIB -share/smi/mibs/ietf/DIAL-CONTROL-MIB -share/smi/mibs/ietf/DIRECTORY-SERVER-MIB -share/smi/mibs/ietf/DISMAN-EVENT-MIB -share/smi/mibs/ietf/DISMAN-EXPRESSION-MIB -share/smi/mibs/ietf/DISMAN-NSLOOKUP-MIB -share/smi/mibs/ietf/DISMAN-PING-MIB -share/smi/mibs/ietf/DISMAN-SCHEDULE-MIB -share/smi/mibs/ietf/DISMAN-SCRIPT-MIB -share/smi/mibs/ietf/DISMAN-TRACEROUTE-MIB -share/smi/mibs/ietf/DLSW-MIB -share/smi/mibs/ietf/DNS-RESOLVER-MIB -share/smi/mibs/ietf/DNS-SERVER-MIB -share/smi/mibs/ietf/DOCS-CABLE-DEVICE-MIB -share/smi/mibs/ietf/DOCS-IF-MIB -share/smi/mibs/ietf/DOT12-IF-MIB -share/smi/mibs/ietf/DOT12-RPTR-MIB -share/smi/mibs/ietf/DS0-MIB -share/smi/mibs/ietf/DS0BUNDLE-MIB -share/smi/mibs/ietf/DS1-MIB -share/smi/mibs/ietf/DS3-MIB -share/smi/mibs/ietf/DSA-MIB -share/smi/mibs/ietf/EBN-MIB -share/smi/mibs/ietf/ENTITY-MIB -share/smi/mibs/ietf/ETHER-CHIPSET-MIB -share/smi/mibs/ietf/EtherLike-MIB -share/smi/mibs/ietf/FDDI-SMT73-MIB -share/smi/mibs/ietf/FIBRE-CHANNEL-FE-MIB -share/smi/mibs/ietf/FLOW-METER-MIB -share/smi/mibs/ietf/FR-ATM-PVC-SERVICE-IWF-MIB -share/smi/mibs/ietf/FR-MFR-MIB -share/smi/mibs/ietf/FRAME-RELAY-DTE-MIB -share/smi/mibs/ietf/FRNETSERV-MIB -share/smi/mibs/ietf/HCNUM-TC -share/smi/mibs/ietf/HOST-RESOURCES-MIB -share/smi/mibs/ietf/HOST-RESOURCES-TYPES -share/smi/mibs/ietf/HPR-IP-MIB -share/smi/mibs/ietf/HPR-MIB -share/smi/mibs/ietf/IF-INVERTED-STACK-MIB -share/smi/mibs/ietf/IF-MIB -share/smi/mibs/ietf/IGMP-STD-MIB -share/smi/mibs/ietf/INET-ADDRESS-MIB -share/smi/mibs/ietf/INTEGRATED-SERVICES-GUARANTEED-MIB -share/smi/mibs/ietf/INTEGRATED-SERVICES-MIB -share/smi/mibs/ietf/IP-FORWARD-MIB -share/smi/mibs/ietf/IP-MIB -share/smi/mibs/ietf/IPATM-IPMC-MIB -share/smi/mibs/ietf/IPMROUTE-STD-MIB -share/smi/mibs/ietf/IPOA-MIB -share/smi/mibs/ietf/IPV6-ICMP-MIB -share/smi/mibs/ietf/IPV6-MIB -share/smi/mibs/ietf/IPV6-MLD-MIB -share/smi/mibs/ietf/IPV6-TC -share/smi/mibs/ietf/IPV6-TCP-MIB -share/smi/mibs/ietf/IPV6-UDP-MIB -share/smi/mibs/ietf/ISDN-MIB -share/smi/mibs/ietf/Job-Monitoring-MIB -share/smi/mibs/ietf/MAU-MIB -share/smi/mibs/ietf/MIOX25-MIB -share/smi/mibs/ietf/MIP-MIB -share/smi/mibs/ietf/MTA-MIB -share/smi/mibs/ietf/Modem-MIB -share/smi/mibs/ietf/NETWORK-SERVICES-MIB -share/smi/mibs/ietf/NHRP-MIB -share/smi/mibs/ietf/NOTIFICATION-LOG-MIB -share/smi/mibs/ietf/OSPF-MIB -share/smi/mibs/ietf/OSPF-TRAP-MIB -share/smi/mibs/ietf/P-BRIDGE-MIB -share/smi/mibs/ietf/PARALLEL-MIB -share/smi/mibs/ietf/PIM-MIB -share/smi/mibs/ietf/PINT-MIB -share/smi/mibs/ietf/PPP-BRIDGE-NCP-MIB -share/smi/mibs/ietf/PPP-IP-NCP-MIB -share/smi/mibs/ietf/PPP-LCP-MIB -share/smi/mibs/ietf/PPP-SEC-MIB -share/smi/mibs/ietf/PTOPO-MIB -share/smi/mibs/ietf/PerfHist-TC-MIB -share/smi/mibs/ietf/Printer-MIB -share/smi/mibs/ietf/Q-BRIDGE-MIB -share/smi/mibs/ietf/RADIUS-ACC-CLIENT-MIB -share/smi/mibs/ietf/RADIUS-ACC-SERVER-MIB -share/smi/mibs/ietf/RADIUS-AUTH-CLIENT-MIB -share/smi/mibs/ietf/RADIUS-AUTH-SERVER-MIB -share/smi/mibs/ietf/RDBMS-MIB -share/smi/mibs/ietf/RFC-1212 -share/smi/mibs/ietf/RFC-1215 -share/smi/mibs/ietf/RFC1155-SMI -share/smi/mibs/ietf/RFC1158-MIB -share/smi/mibs/ietf/RFC1213-MIB -share/smi/mibs/ietf/RFC1269-MIB -share/smi/mibs/ietf/RFC1271-MIB -share/smi/mibs/ietf/RFC1285-MIB -share/smi/mibs/ietf/RFC1316-MIB -share/smi/mibs/ietf/RFC1381-MIB -share/smi/mibs/ietf/RFC1382-MIB -share/smi/mibs/ietf/RFC1414-MIB -share/smi/mibs/ietf/RIPv2-MIB -share/smi/mibs/ietf/RMON-MIB -share/smi/mibs/ietf/RMON2-MIB -share/smi/mibs/ietf/RS-232-MIB -share/smi/mibs/ietf/RSVP-MIB -share/smi/mibs/ietf/RTP-MIB -share/smi/mibs/ietf/SIP-MIB -share/smi/mibs/ietf/SLAPM-MIB -share/smi/mibs/ietf/SMON-MIB -share/smi/mibs/ietf/SNA-NAU-MIB -share/smi/mibs/ietf/SNA-SDLC-MIB -share/smi/mibs/ietf/SNMP-COMMUNITY-MIB -share/smi/mibs/ietf/SNMP-FRAMEWORK-MIB -share/smi/mibs/ietf/SNMP-MPD-MIB -share/smi/mibs/ietf/SNMP-NOTIFICATION-MIB -share/smi/mibs/ietf/SNMP-PROXY-MIB -share/smi/mibs/ietf/SNMP-REPEATER-MIB -share/smi/mibs/ietf/SNMP-TARGET-MIB -share/smi/mibs/ietf/SNMP-USER-BASED-SM-MIB -share/smi/mibs/ietf/SNMP-USM-DH-OBJECTS-MIB -share/smi/mibs/ietf/SNMP-VIEW-BASED-ACM-MIB -share/smi/mibs/ietf/SNMPv2-CONF -share/smi/mibs/ietf/SNMPv2-MIB -share/smi/mibs/ietf/SNMPv2-SMI -share/smi/mibs/ietf/SNMPv2-TC -share/smi/mibs/ietf/SNMPv2-TM -share/smi/mibs/ietf/SNMPv2-USEC-MIB -share/smi/mibs/ietf/SONET-MIB -share/smi/mibs/ietf/SOURCE-ROUTING-MIB -share/smi/mibs/ietf/SYSAPPL-MIB -share/smi/mibs/ietf/TCP-MIB -share/smi/mibs/ietf/TCPIPX-MIB -share/smi/mibs/ietf/TN3270E-MIB -share/smi/mibs/ietf/TN3270E-RT-MIB -share/smi/mibs/ietf/TOKEN-RING-RMON-MIB -share/smi/mibs/ietf/TOKENRING-MIB -share/smi/mibs/ietf/TOKENRING-STATION-SR-MIB -share/smi/mibs/ietf/TUNNEL-MIB -share/smi/mibs/ietf/UDP-MIB -share/smi/mibs/ietf/UPS-MIB -share/smi/mibs/ietf/VRRP-MIB -share/smi/mibs/ietf/WWW-MIB -share/smi/mibs/irtf/IRTF-NMRG-SMING -share/smi/mibs/irtf/IRTF-NMRG-SMING-EXTENSIONS -share/smi/mibs/irtf/IRTF-NMRG-SMING-TYPES -share/smi/mibs/tubs/TUBS-IBR-AGENT-CAPABILITIES -share/smi/mibs/tubs/TUBS-IBR-LINUX-MIB -share/smi/mibs/tubs/TUBS-IBR-NFS-MIB -share/smi/mibs/tubs/TUBS-IBR-PING-MIB -share/smi/mibs/tubs/TUBS-IBR-PROC-MIB -share/smi/mibs/tubs/TUBS-IBR-TEST-MIB -share/smi/mibs/tubs/TUBS-IBR-TNM-MIB -share/smi/mibs/tubs/TUBS-SMI -@dirrm share/smi/mibs/iana -@dirrm share/smi/mibs/ietf -@dirrm share/smi/mibs/irtf -@dirrm share/smi/mibs/site -@dirrm share/smi/mibs/tubs -@dirrm share/smi/mibs -@dirrm share/smi -@exec mkdir %D/share/smi/mibs/site diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile deleted file mode 100644 index 7b26e820dd14..000000000000 --- a/net-mgmt/mrtg/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -# New ports collection makefile for: MRTG -# Date created: April 18th 1997 -# Whom: James FitzGibbon <jfitz@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= mrtg -PORTVERSION= 2.9.11 -CATEGORIES= net -MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/ \ - ${MASTER_SITE_RINGSERVER} -MASTER_SITE_SUBDIR= net/mrtg - -MAINTAINER= demon@FreeBSD.org - -LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd - -USE_PERL5= YES -MAKE_ENV+= PERL=${PERL} - -GNU_CONFIGURE= YES - -CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \ - --with-gd-inc=${LOCALBASE}/include/gd - -CONFIGURE_ENV= PERL=${PERL} - -MAN1= cfgmaker.1 contrib.1 faq.1 forum.1 indexmaker.1 logfile.1 \ - mibhelp.1 mrtg.1 mrtg-rrd.1 mrtglib.1 nt-guide.1 reference.1 \ - squid.1 unix-guide.1 webserver.1 - -do-install: - ${MKDIR} -m 755 ${PREFIX}/etc/mrtg - ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER} - ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod - ${MKDIR} -m 755 ${PREFIX}/share/mrtg -.if !defined(NOPORTDOCS) - ${MKDIR} -m 755 ${PREFIX}/share/doc/mrtg - for file in ANNOUNCE CHANGES COPYRIGHT MANIFEST README \ - doc/*.html doc/*.pod doc/*.txt doc/*wml doc/*.png ; do \ - ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/mrtg/; \ - done -.endif - ${INSTALL_DATA} ${WRKSRC}/contrib/mrtgmk/cfg/mrtg.cfg ${PREFIX}/etc/mrtg/mrtg.cfg.sample - ${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/share/mrtg - ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1 - ${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER} - ${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/Pod/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod - ${INSTALL_PROGRAM} ${WRKSRC}/bin/rateup ${PREFIX}/bin/ - for file in mrtg cfgmaker indexmaker; do \ - ${INSTALL_SCRIPT} ${WRKSRC}/bin/$$file ${PREFIX}/bin/; \ - done - -post-install: -.if !defined(BATCH) - @${ECHO} "" - @${ECHO} "############################################################################" - @${ECHO} "# Please create a MRTG config file in ${PREFIX}/etc/mrtg #" - @${ECHO} "# A configuration file can be automatically generated with cfgmaker #" - @${ECHO} "# A sample configuration file is installed as mrtg.cfg.sample #" - @${ECHO} "############################################################################" -.endif - -.include <bsd.port.mk> diff --git a/net-mgmt/mrtg/distinfo b/net-mgmt/mrtg/distinfo deleted file mode 100644 index c023fc1f9004..000000000000 --- a/net-mgmt/mrtg/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (mrtg-2.9.11.tar.gz) = 05afedc57e1a50d27c93848b24df6fc0 diff --git a/net-mgmt/mrtg/pkg-comment b/net-mgmt/mrtg/pkg-comment deleted file mode 100644 index ab1a2ba323ed..000000000000 --- a/net-mgmt/mrtg/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -The multi-router traffic grapher diff --git a/net-mgmt/mrtg/pkg-descr b/net-mgmt/mrtg/pkg-descr deleted file mode 100644 index ec4a61fe1c15..000000000000 --- a/net-mgmt/mrtg/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic -load on network-links. MRTG generates HTML pages containing PNG images which -provide a LIVE visual representation of this traffic. Check - -WWW: http://www.mrtg.org/ - -for an example. MRTG is based on Perl and C and works under UNIX and Windows -NT. - -MRTG is being successfully used on many sites arrond the net. -Check the MRTG-Site-Map, which is at: -http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/users.html diff --git a/net-mgmt/mrtg/pkg-plist b/net-mgmt/mrtg/pkg-plist deleted file mode 100644 index 8300fdf983a8..000000000000 --- a/net-mgmt/mrtg/pkg-plist +++ /dev/null @@ -1,84 +0,0 @@ -bin/cfgmaker -bin/indexmaker -bin/mrtg -bin/rateup -etc/mrtg/mrtg.cfg.sample -lib/perl5/site_perl/%%PERL_VER%%/BER.pm -lib/perl5/site_perl/%%PERL_VER%%/MRTG_lib.pm -lib/perl5/site_perl/%%PERL_VER%%/Pod/InputObjects.pm -lib/perl5/site_perl/%%PERL_VER%%/Pod/Parser.pm -lib/perl5/site_perl/%%PERL_VER%%/Pod/PlainText.pm -lib/perl5/site_perl/%%PERL_VER%%/Pod/Select.pm -lib/perl5/site_perl/%%PERL_VER%%/Pod/Usage.pm -lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm -lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm -lib/perl5/site_perl/%%PERL_VER%%/locales_mrtg.pm -%%PORTDOCS%%share/doc/mrtg/ANNOUNCE -%%PORTDOCS%%share/doc/mrtg/CHANGES -%%PORTDOCS%%share/doc/mrtg/COPYRIGHT -%%PORTDOCS%%share/doc/mrtg/MANIFEST -%%PORTDOCS%%share/doc/mrtg/README -%%PORTDOCS%%share/doc/mrtg/cfgmaker.html -%%PORTDOCS%%share/doc/mrtg/cfgmaker.pod -%%PORTDOCS%%share/doc/mrtg/cfgmaker.txt -%%PORTDOCS%%share/doc/mrtg/contrib.html -%%PORTDOCS%%share/doc/mrtg/contrib.pod -%%PORTDOCS%%share/doc/mrtg/contrib.txt -%%PORTDOCS%%share/doc/mrtg/faq.html -%%PORTDOCS%%share/doc/mrtg/faq.pod -%%PORTDOCS%%share/doc/mrtg/faq.txt -%%PORTDOCS%%share/doc/mrtg/forum.html -%%PORTDOCS%%share/doc/mrtg/forum.pod -%%PORTDOCS%%share/doc/mrtg/forum.txt -%%PORTDOCS%%share/doc/mrtg/index.html -%%PORTDOCS%%share/doc/mrtg/index.txt -%%PORTDOCS%%share/doc/mrtg/index.wml -%%PORTDOCS%%share/doc/mrtg/indexmaker.html -%%PORTDOCS%%share/doc/mrtg/indexmaker.pod -%%PORTDOCS%%share/doc/mrtg/indexmaker.txt -%%PORTDOCS%%share/doc/mrtg/logfile.html -%%PORTDOCS%%share/doc/mrtg/logfile.pod -%%PORTDOCS%%share/doc/mrtg/logfile.txt -%%PORTDOCS%%share/doc/mrtg/mibhelp.html -%%PORTDOCS%%share/doc/mrtg/mibhelp.pod -%%PORTDOCS%%share/doc/mrtg/mibhelp.txt -%%PORTDOCS%%share/doc/mrtg/mrtg-l.png -%%PORTDOCS%%share/doc/mrtg/mrtg-m.png -%%PORTDOCS%%share/doc/mrtg/mrtg-r.png -%%PORTDOCS%%share/doc/mrtg/mrtg-rrd.html -%%PORTDOCS%%share/doc/mrtg/mrtg-rrd.pod -%%PORTDOCS%%share/doc/mrtg/mrtg-rrd.txt -%%PORTDOCS%%share/doc/mrtg/mrtg-ti.png -%%PORTDOCS%%share/doc/mrtg/mrtg.html -%%PORTDOCS%%share/doc/mrtg/mrtg.pod -%%PORTDOCS%%share/doc/mrtg/mrtg.txt -%%PORTDOCS%%share/doc/mrtg/mrtglib.html -%%PORTDOCS%%share/doc/mrtg/mrtglib.pod -%%PORTDOCS%%share/doc/mrtg/mrtglib.txt -%%PORTDOCS%%share/doc/mrtg/nt-guide.html -%%PORTDOCS%%share/doc/mrtg/nt-guide.pod -%%PORTDOCS%%share/doc/mrtg/nt-guide.txt -%%PORTDOCS%%share/doc/mrtg/reference.html -%%PORTDOCS%%share/doc/mrtg/reference.pod -%%PORTDOCS%%share/doc/mrtg/reference.txt -%%PORTDOCS%%share/doc/mrtg/squid.html -%%PORTDOCS%%share/doc/mrtg/squid.pod -%%PORTDOCS%%share/doc/mrtg/squid.txt -%%PORTDOCS%%share/doc/mrtg/unix-guide.html -%%PORTDOCS%%share/doc/mrtg/unix-guide.pod -%%PORTDOCS%%share/doc/mrtg/unix-guide.txt -%%PORTDOCS%%share/doc/mrtg/webserver.html -%%PORTDOCS%%share/doc/mrtg/webserver.pod -%%PORTDOCS%%share/doc/mrtg/webserver.txt -share/mrtg/mrtg-l.gif -share/mrtg/mrtg-l.png -share/mrtg/mrtg-m.gif -share/mrtg/mrtg-m.png -share/mrtg/mrtg-r.gif -share/mrtg/mrtg-r.png -share/mrtg/mrtg-ti.gif -share/mrtg/mrtg-ti.png -@dirrm etc/mrtg -@dirrm lib/perl5/site_perl/%%PERL_VER%%/Pod -%%PORTDOCS%%@dirrm share/doc/mrtg -@dirrm share/mrtg diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile deleted file mode 100644 index 6d84d42c1fa8..000000000000 --- a/net-mgmt/nagios-plugins/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# New ports collection makefile for: netsaint-plugins -# Date created: Wed 12 Jul 2000 -# Whom: will -# -# $FreeBSD$ -# - -PORTNAME= netsaint-plugins -PORTVERSION= 1.2.9.3 -PORTREVISION= 2 -CATEGORIES= net -MASTER_SITES= http://download.sourceforge.net/netsaintplug/ -DISTNAME= ${PORTNAME}-1.2.9-3 - -MAINTAINER= blaz@amis.net - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --sbindir=${PREFIX}/share/netsaint/sbin \ - --libexecdir=${PREFIX}/libexec/netsaint \ - --datadir=${PREFIX}/share/netsaint \ - --sysconfdir=${PREFIX}/etc/netsaint \ - --localstatedir=${PREFIX}/var/netsaint -CONFIGURE_ENV= LOCALBASE=${LOCALBASE} -USE_AUTOMAKE= yes -USE_GMAKE= yes - -pre-fetch: - @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure - -.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) -.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" -.endif - -pre-install: - ${PERL} ${SCRIPTDIR}/createuser - -post-clean: - @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc - -.include <bsd.port.mk> diff --git a/net-mgmt/nagios-plugins/distinfo b/net-mgmt/nagios-plugins/distinfo deleted file mode 100644 index 57e3a22ebee0..000000000000 --- a/net-mgmt/nagios-plugins/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (netsaint-plugins-1.2.9-3.tar.gz) = 2e9928dcb1d522144ba0bb9a98619035 diff --git a/net-mgmt/nagios-plugins/files/patch-ab b/net-mgmt/nagios-plugins/files/patch-ab deleted file mode 100644 index 4d27df545d40..000000000000 --- a/net-mgmt/nagios-plugins/files/patch-ab +++ /dev/null @@ -1,273 +0,0 @@ ---- configure.in.orig Tue Mar 6 06:40:44 2001 -+++ configure.in Mon Apr 16 12:24:22 2001 -@@ -7,7 +7,7 @@ - dnl AM_INIT_AUTOMAKE(netsaint-plugins,$VERSION) - AM_CONFIG_HEADER(plugins/config.h plugins/common.h plugins/version.h plugins/netutils.h plugins/utils.h plugins/popen.h) - --AC_PREFIX_DEFAULT(/usr/local/netsaint) -+dnl AC_PREFIX_DEFAULT(/usr/local/netsaint) - - dnl Figure out how to invoke "install" and what install options to use. - -@@ -126,25 +126,37 @@ - LIBS="$_SAVEDLIBS" - CPPFLAGS="$_SAVEDCPPFLAGS" - -+AC_ARG_ENABLE(radius,--enable-radius compile check_radius) -+if test $enableval; then -+dnl Check for radiusclient header file -+_SAVEDCPPFLAGS="$CPPFLAGS" -+CPPFLAGS="-I${LOCALBASE}/include" -+AC_CHECK_HEADERS(radiusclient.h,RADIUSINCLUDE="-I${LOCALBASE}/include") -+AC_SUBST(RADIUSINCLUDE) -+CPPFLAGS="$_SAVEDCPPFLAGS $RADIUSINCLUDE" -+ - dnl Check for radius libraries - _SAVEDLIBS="$LIBS" --AC_CHECK_LIB(radiusclient,rc_read_config) -+AC_CHECK_LIB(radiusclient,rc_read_config,,,-L${LOCALBASE}/lib) - if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then - EXTRAS="$EXTRAS check_radius" -- RADIUSLIBS="-lradiusclient" -+ RADIUSLIBS="-L${LOCALBASE}/lib -lradiusclient" - AC_SUBST(RADIUSLIBS) - else - AC_MSG_WARN([Skipping radius plugin]) - AC_MSG_WARN([install radius libs to compile this plugin (see Requirements).]) - fi - LIBS="$_SAVEDLIBS" -+fi - -+AC_ARG_ENABLE(ldap,--enable-ldap compile check_ldap) -+if test $enableval; then - dnl Check for LDAP libraries - _SAVEDLIBS="$LIBS" --AC_CHECK_LIB(ldap,main,,,-llber) --if test "$ac_cv_lib_ldap_main" = "yes"; then -- LDAPLIBS="-lldap -llber"\ -- LDAPINCLUDE="-I/usr/include/ldap" -+AC_CHECK_LIB(ldap,ldap_simple_bind,,,-L${LOCALBASE}/lib -llber) -+if test "$ac_cv_lib_ldap_ldap_simple_bind" = "yes"; then -+ LDAPLIBS="-L${LOCALBASE}/lib -lldap -llber"\ -+ LDAPINCLUDE="-I${LOCALBASE}/include" - AC_SUBST(LDAPLIBS) - AC_SUBST(LDAPINCLUDE) - EXTRAS="$EXTRAS check_ldap" -@@ -153,13 +165,14 @@ - AC_MSG_WARN([install LDAP libs to compile this plugin (see Requirements).]) - fi - LIBS="$_SAVEDLIBS" -+fi - - dnl Check for mysql libraries - _SAVEDLIBS="$LIBS" - _SAVEDCPPFLAGS="$CPPFLAGS" --CPPFLAGS="-I/usr/include" -+CPPFLAGS="-I${LOCALBASE}/include" - AC_ARG_WITH(mysqllibdir,--with-mysqllibdir=<dir> sets path to mysql libraries,[MYSQLLIBDIR=$withval]) --if test -n "$MYSQLLIBS"; then -+if test -n "$MYSQLLIBDIR"; then - AC_CHECK_LIB(mysqlclient,mysql_init,MYSQLLIBS="-lmysqlclient -lz" check_mysql_LDFLAGS="-L$MYSQLLIBDIR",,-L$MYSQLLIBDIR -lz) - elif test -f /usr/lib/libmysqlclient.so; then - AC_CHECK_LIB(mysqlclient,mysql_init,MYSQLLIBS="-lmysqlclient -lz",,-lz) -@@ -175,7 +188,8 @@ - AC_CHECK_LIB(mysqlclient,mysql_close,MYSQLLIBS="-lmysqlclient" check_mysql_LDFLAGS="-L/usr/lib/mysql",,-L/usr/lib/mysql) - fi - if test "$ac_cv_lib_mysqlclient_mysql_init" = "yes" -o "$ac_cv_lib_mysqlclient_mysql_close" = "yes"; then -- AC_CHECK_HEADERS(mysql/mysql.h mysql/errmsg.h) -+ AC_CHECK_HEADERS(mysql/mysql.h mysql/errmsg.h,MYSQLINCLUDE="-I${LOCALBASE}/include") -+ AC_SUBST(MYSQLINCLUDE) - if test "$ac_cv_header_mysql_mysql_h" = "yes" -a "$ac_cv_header_mysql_errmsg_h" = "yes"; then - EXTRAS="$EXTRAS check_mysql" - AC_SUBST(MYSQLLIBS) -@@ -189,7 +203,7 @@ - AC_MSG_WARN([install mysql client libs to compile this plugin (see Requirements).]) - fi - LIBS="$_SAVEDLIBS" --CPPFLAGS="$_SAVEDCPPFLAGS" -+CPPFLAGS="$_SAVEDCPPFLAGS $MYSQLINCLUDE" - - dnl Check for OpenSSL location - AC_PATH_PROG(OPENSSL,openssl) -@@ -268,16 +282,16 @@ - dnl AC_SUBST(libgetopt_a_DEPENDENCIES) - dnl AC_SUBST(libsnprintf_a_SOURCES) - --AC_MSG_CHECKING(for getopt_long) --AC_TRY_COMPILE([#include <getopt.h> --#include <stdlib.h>], --[int option_index=0; --static struct option *long_options; --getopt_long(0,NULL,"+h",long_options,&option_index);], --[AC_DEFINE(HAVE_GETOPT_H) AC_DEFINE(HAVE_GETOPT_LONG) AC_MSG_RESULT(yes)], --[AC_DEFINE(HAVE_GETOPT_H) AC_DEFINE(HAVE_GETOPT_LONG) AC_MSG_RESULT(no) import_sources=getopt]) -+dnl AC_MSG_CHECKING(for getopt_long) -+dnl AC_TRY_COMPILE([#include <getopt.h> -+dnl #include <stdlib.h>], -+dnl [int option_index=0; -+dnl static struct option *long_options; -+dnl getopt_long(0,NULL,"+h",long_options,&option_index);], -+dnl [AC_DEFINE(HAVE_GETOPT_H) AC_DEFINE(HAVE_GETOPT_LONG) AC_MSG_RESULT(yes)], -+dnl [AC_DEFINE(HAVE_GETOPT_H) AC_DEFINE(HAVE_GETOPT_LONG) AC_MSG_RESULT(no) import_sources=getopt]) - --AC_CHECK_FUNCS(getopt_long_only,,LIBS="$LIBS -lgetopt" DEPLIBS="$DEPLIBS libgetopt.a") -+dnl AC_CHECK_FUNCS(getopt_long_only,,LIBS="$LIBS -lgetopt" DEPLIBS="$DEPLIBS libgetopt.a") - - AC_CHECK_FUNC(vsnprintf,,LIBS="$LIBS -lsnprintf" DEPLIBS="$DEPLIBS libsnprintf.a") - -@@ -328,72 +342,72 @@ - AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -eo 'rss comm'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") - echo " ps syntax... $PATH_TO_PS -eo 's comm vsz rss user ppid args'" --elif [ps -Ao 's comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] -+elif [ps -axo 's comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] - then - AC_DEFINE(USE_PS_VARS) - AC_DEFINE_UNQUOTED(PS_VARLIST,[procstat,&procuid,&procppid,procprog,&pos]) -- AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -Ao 's user ppid args'") -+ AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -axo 's user ppid args'") - EXTRAS="$EXTRAS check_netsaint" -- AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -Ao 's uid ppid comm args'") -+ AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -axo 's uid ppid comm args'") - AC_DEFINE_UNQUOTED(PS_FORMAT,"%s %d %d %s %n") -- AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -Ao 'vsz comm'") -+ AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -axo 'vsz comm'") - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") -- AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -Ao 'rss comm'") -+ AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -axo 'rss comm'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -Ao 's comm vsz rss'" --elif [ps -Ao 'status comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] -+ echo " ps syntax... $PATH_TO_PS -axo 's comm vsz rss'" -+elif [ps -axo 'status comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] - then - AC_DEFINE(USE_PS_VARS) - AC_DEFINE_UNQUOTED(PS_VARLIST,[procstat,&procuid,&procppid,procprog,&pos]) -- AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -Ao 'status user ppid args'") -+ AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -axo 'status user ppid args'") - EXTRAS="$EXTRAS check_netsaint" -- AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -Ao 'status uid ppid comm args'") -+ AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -axo 'status uid ppid comm args'") - AC_DEFINE_UNQUOTED(PS_FORMAT,"%s %d %d %s %n") -- AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -Ao 'vsz comm'") -+ AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -axo 'vsz comm'") - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") -- AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -Ao 'rss comm'") -+ AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -axo 'rss comm'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -Ao 'status comm vsz rss'" --elif [ps -Ao 'state comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] -+ echo " ps syntax... $PATH_TO_PS -axo 'status comm vsz rss'" -+elif [ps -axo 'state comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] - then - AC_DEFINE(USE_PS_VARS) - AC_DEFINE_UNQUOTED(PS_VARLIST,[procstat,&procuid,&procppid,procprog,&pos]) -- AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -Ao 'state user ppid args'") -+ AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -axo 'state user ppid args'") - EXTRAS="$EXTRAS check_netsaint" -- AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -Ao 'state uid ppid comm args'") -+ AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -axo 'state uid ppid comm args'") - AC_DEFINE_UNQUOTED(PS_FORMAT,"%s %d %d %s %n") -- AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -Ao 'vsz comm'") -+ AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -axo 'vsz comm'") - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") -- AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -Ao 'rss comm'") -+ AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -axo 'rss comm'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -Ao 'state comm vsz rss'" --elif [ps -ao 'state command vsz rss user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] -+ echo " ps syntax... $PATH_TO_PS -axo 'state comm vsz rss'" -+elif [ps -axo 'state command vsz rss user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] - then - AC_DEFINE(USE_PS_VARS) - AC_DEFINE_UNQUOTED(PS_VARLIST,[procstat,&procuid,&procppid,procprog,&pos]) -- AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -ao 'state user ppid args'") -+ AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -axo 'state user ppid args'") - EXTRAS="$EXTRAS check_netsaint" -- AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -ao 'state uid ppid command args'") -+ AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -axo 'state uid ppid command args'") - AC_DEFINE_UNQUOTED(PS_FORMAT,"%s %d %d %s %n") -- AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -ao 'vsz command'") -+ AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -axo 'vsz command'") - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") -- AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -ao 'rss command'") -+ AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -axo 'rss command'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -ao 'state command vsz rss'" -+ echo " ps syntax... $PATH_TO_PS -axo 'state command vsz rss'" - dnl FreeBSD --elif [ps waxco 'state command vsz rss uid user ppid' 2>/dev/null | egrep -i "^STAT +COMMAND +VSZ +RSS +UID +USER +PPID" >/dev/null] -+elif [ps waxo 'state command vsz rss uid user ppid' 2>/dev/null | egrep -i "^STAT +COMMAND +VSZ +RSS +UID +USER +PPID" >/dev/null] - then - AC_DEFINE(USE_PS_VARS) - AC_DEFINE_UNQUOTED(PS_VARLIST,[procstat,&procuid,&procppid,procprog,&pos]) - AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS waxo 'state uid ppid command'") - EXTRAS="$EXTRAS check_netsaint" -- AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS waxco 'state uid ppid command command'") -+ AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS waxo 'state uid ppid command command'") - AC_DEFINE_UNQUOTED(PS_FORMAT,"%s %d %d %s %n") -- AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS waxco 'vsz command'") -+ AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS waxo 'vsz command'") - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") -- AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS waxco 'rss command'") -+ AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS waxo 'rss command'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -Ao 'state command vsz rss'" -+ echo " ps syntax... $PATH_TO_PS -axo 'state command vsz rss'" - dnl BSD-like mode in RH 6.1 - elif [ps waxno 'state comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S +COMMAND +VSZ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] - then -@@ -407,7 +421,7 @@ - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") - AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS waxno 'rss comm'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -waxco 'state comm vsz rss'" -+ echo " ps syntax... $PATH_TO_PS -waxo 'state comm vsz rss'" - dnl IRIX 53 - elif [ps -el 2>/dev/null | egrep -i "^ *F +S +UID +PID +PPID +C +PRI +NI +P +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+" >/dev/null] - then -@@ -618,6 +632,8 @@ - AC_DEFINE_UNQUOTED(WHO_COMMAND,"$PATH_TO_WHO") - fi - -+AC_ARG_ENABLE(snmp,--enable-snmp compile check_hpjd and check_snmp) -+if test $enableval; then - AC_PATH_PROG(PATH_TO_SNMPGET,snmpget) - if test -f "$PATH_TO_SNMPGET" - then -@@ -626,6 +642,7 @@ - else - echo "** Get snmpget from http://ucd-snmp.ucdavis.edu to make check_hpjd and check_snmp plugins" - fi -+fi - - AC_PATH_PROG(PATH_TO_SNMPGETNEXT,snmpgetnext) - if test -f "$PATH_TO_SNMPGETNEXT" -@@ -633,6 +650,8 @@ - AC_DEFINE_UNQUOTED(PATH_TO_SNMPGETNEXT,"$PATH_TO_SNMPGETNEXT") - fi - -+AC_ARG_ENABLE(qstat,--enable-qstat compile check_game) -+if test $enableval; then - AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat) - AC_PATH_PROG(PATH_TO_QSTAT,qstat) - if test -n "$PATH_TO_QUAKESTAT" -@@ -646,7 +665,10 @@ - else - echo "** Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin" - fi -+fi - -+AC_ARG_ENABLE(fping,--enable-fping compile check_fping) -+if test $enableval; then - AC_PATH_PROG(PATH_TO_FPING,fping) - if test -n "$PATH_TO_FPING" - then -@@ -654,6 +676,7 @@ - EXTRAS="$EXTRAS check_fping" - else - echo "** Get fping from http://www.stanford.edu/~schemers/docs/fping/fping.html in order to make check_fping plugin" -+fi - fi - - AC_PATH_PROG(PATH_TO_SSH,ssh) diff --git a/net-mgmt/nagios-plugins/files/patch-ac b/net-mgmt/nagios-plugins/files/patch-ac deleted file mode 100644 index 994cda94580f..000000000000 --- a/net-mgmt/nagios-plugins/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins-scripts/check_ntp.pl.orig Mon Aug 28 17:00:59 2000 -+++ plugins-scripts/check_ntp.pl Mon Apr 9 19:37:32 2001 -@@ -153,7 +153,7 @@ - ### - ### - --if (#open(NTPDC,"/usr/sbin/ntpdc -c $host 2>&1 |") || -+if (open(NTPDC,"/usr/sbin/ntpdc -c $host 2>&1 |") || - open(NTPDC,"/usr/sbin/xntpdc -c $host 2>&1 |") ) { - while (<NTPDC>) { - print if ($verbose); diff --git a/net-mgmt/nagios-plugins/pkg-comment b/net-mgmt/nagios-plugins/pkg-comment deleted file mode 100644 index e5f08464789b..000000000000 --- a/net-mgmt/nagios-plugins/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Plugins for netsaint diff --git a/net-mgmt/nagios-plugins/pkg-descr b/net-mgmt/nagios-plugins/pkg-descr deleted file mode 100644 index da28433b287c..000000000000 --- a/net-mgmt/nagios-plugins/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -This is a plugin package for Netsaint. Quoting from the -main Netsaint package: - -NetSaint is a program that will monitor hosts and services -on your network. It has the ability to email or page you -when a problem arises and when it gets resolved. NetSaint -is written in C and is designed to run under Linux, although -it should work under most other *NIX variants. It can run -either as a normal process or as a daemon, intermittently -running checks on various services that you specify. The -actual service checks are performed by external "plugins" -which return service information to NetSaint. Several CGI -programs are included with NetSaint in order to allow you -to view the current service status, history, etc. via a web browser. - -WWW: http://www.netsaint.org/ diff --git a/net-mgmt/nagios-plugins/pkg-plist b/net-mgmt/nagios-plugins/pkg-plist deleted file mode 100644 index dad66c5abf20..000000000000 --- a/net-mgmt/nagios-plugins/pkg-plist +++ /dev/null @@ -1,50 +0,0 @@ -libexec/netsaint/check_breeze -libexec/netsaint/check_by_ssh -libexec/netsaint/check_dig -libexec/netsaint/check_disk -libexec/netsaint/check_disk_smb -libexec/netsaint/check_dns -libexec/netsaint/check_dummy -libexec/netsaint/check_flexlm -%%SUB_FPING%%libexec/netsaint/check_fping -libexec/netsaint/check_ftp -%%SUB_QSTAT%%libexec/netsaint/check_game -%%SUB_SNMP%%libexec/netsaint/check_hpjd -libexec/netsaint/check_http -libexec/netsaint/check_imap -libexec/netsaint/check_ircd -%%SUB_LDAP%%libexec/netsaint/check_ldap -libexec/netsaint/check_load -libexec/netsaint/check_log -libexec/netsaint/check_mrtg -libexec/netsaint/check_mrtgtraf -%%SUB_MYSQL%%libexec/netsaint/check_mysql -libexec/netsaint/check_netsaint -libexec/netsaint/check_nntp -libexec/netsaint/check_ntp -libexec/netsaint/check_nwstat -libexec/netsaint/check_oracle -libexec/netsaint/check_overcr -%%SUB_PGSQL%%libexec/netsaint/check_pgsql -libexec/netsaint/check_ping -libexec/netsaint/check_pop -libexec/netsaint/check_procs -%%SUB_RADIUS%%libexec/netsaint/check_radius -libexec/netsaint/check_real -libexec/netsaint/check_rpc -libexec/netsaint/check_sensors -libexec/netsaint/check_smtp -%%SUB_SNMP%%libexec/netsaint/check_snmp -libexec/netsaint/check_ssh -libexec/netsaint/check_swap -libexec/netsaint/check_tcp -libexec/netsaint/check_time -libexec/netsaint/check_udp -libexec/netsaint/check_ups -libexec/netsaint/check_users -libexec/netsaint/check_vsz -libexec/netsaint/check_wave -libexec/netsaint/urlize -libexec/netsaint/utils.pm -libexec/netsaint/utils.sh -@dirrm libexec/netsaint diff --git a/net-mgmt/nagios-plugins/scripts/configure b/net-mgmt/nagios-plugins/scripts/configure deleted file mode 100644 index efb83034f1d2..000000000000 --- a/net-mgmt/nagios-plugins/scripts/configure +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then - exit -fi - -tempfile=`mktemp -t checklist` - -if [ "${BATCH}" = "yes" ]; then -else - /usr/bin/dialog --title "NetSaint plugins configuration options" --clear \ - --checklist "\n\ -Please select desired options:" -1 -1 16 \ -QStat "Game server query support" OFF \ -FPing "Support for non-flooding fast ping" OFF \ -NetSNMP "SNMP support" OFF \ -Radiusclient "Radius support" OFF \ -MySQL "MySQL support" OFF \ -PostgreSQL "PostgreSQL support" OFF \ -OpenLDAP "OpenLDAP support" OFF \ -2> $tempfile - - retval=$? - - if [ -s $tempfile ]; then - set `cat $tempfile` - fi - rm -f $tempfile - - case $retval in - 0) if [ -z "$*" ]; then - echo "Nothing selected" - fi - ;; - 1) echo "Cancel pressed." - exit 1 - ;; - esac -fi - -exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - -SUB_QSTAT="@comment " -SUB_FPING="@comment " -SUB_SNMP="@comment " -SUB_RADIUS="@comment " -SUB_MYSQL="@comment " -SUB_PGSQL="@comment " -SUB_LDAP="@comment " - -while [ "$1" ]; do - case $1 in - \"QStat\") - echo "BUILD_DEPENDS+= qstat:\${PORTSDIR}/games/qstat" - echo "RUN_DEPENDS+= qstat:\${PORTSDIR}/games/qstat" - echo "CONFIGURE_ARGS+= --enable-qstat" - SUB_QSTAT="" - ;; - \"FPing\") - echo "BUILD_DEPENDS+= fping:\${PORTSDIR}/net/fping" - echo "RUN_DEPENDS+= fping:\${PORTSDIR}/net/fping" - echo "CONFIGURE_ARGS+= --enable-fping" - SUB_FPING="" - ;; - \"NetSNMP\") - echo "BUILD_DEPENDS+= snmpcheck:\${PORTSDIR}/net/net-snmp" - echo "RUN_DEPENDS+= snmpcheck:\${PORTSDIR}/net/net-snmp" - echo "CONFIGURE_ARGS+= --enable-snmp" - SUB_SNMP="" - ;; - \"Radiusclient\") - echo "LIB_DEPENDS+= radiusclient.0:\${PORTSDIR}/net/radiusclient" - echo "CONFIGURE_ARGS+= --enable-radius" - SUB_RADIUS="" - ;; - \"MySQL\") - echo "LIB_DEPENDS+= mysqlclient.10:\${PORTSDIR}/databases/mysql323-client" - echo "CONFIGURE_ARGS+= --with-mysqllibdir=\${LOCALBASE}/lib/mysql" - SUB_MYSQL="" - ;; - \"PostgreSQL\") - echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7" - echo "CONFIGURE_ARGS+= --with-pgsql=\${LOCALBASE}/pgsql" - SUB_PGSQL="" - ;; - \"OpenLDAP\") - echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2" - echo "CONFIGURE_ARGS+= --enable-ldap" - SUB_LDAP="" - ;; - *) - echo "Invalid option(s): $*" > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - ;; - esac - shift -done - -echo "PLIST_SUB+= SUB_QSTAT=\"${SUB_QSTAT}\"" -echo "PLIST_SUB+= SUB_FPING=\"${SUB_FPING}\"" -echo "PLIST_SUB+= SUB_SNMP=\"${SUB_SNMP}\"" -echo "PLIST_SUB+= SUB_RADIUS=\"${SUB_RADIUS}\"" -echo "PLIST_SUB+= SUB_MYSQL=\"${SUB_MYSQL}\"" -echo "PLIST_SUB+= SUB_PGSQL=\"${SUB_PGSQL}\"" -echo "PLIST_SUB+= SUB_LDAP=\"${SUB_LDAP}\"" diff --git a/net-mgmt/nagios-plugins/scripts/createuser b/net-mgmt/nagios-plugins/scripts/createuser deleted file mode 100644 index 0ebde3c5496d..000000000000 --- a/net-mgmt/nagios-plugins/scripts/createuser +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/perl -# - -eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' -& eval 'exec /usr/bin/perl -S $0 $argv:q' -if 0; - -if( $> ) { - print "\nYou must be root to run this step!\n\n"; - exit 1; -} - -if( getpwnam( "netsaint" ) ) { - ( $null, $null, $nsUID ) = getpwnam( "netsaint" ); -} else { - $nsUID = 70; - while( getpwuid( $nsUID ) ) { - $nsUID++; - } -} - -if( getgrnam( "netsaint" ) ) { - ( $null, $null, $nsGID ) = getgrnam( "netsaint" ); -} else { - $nsGID = 70; - while( getgrgid( $nsGID ) ) { - $nsGID++; - } - &append_file( "/etc/group", "netsaint:*:$nsGID:" ); -} - -print "netsaint user using uid $nsUID and gid $nsGID\n"; - -system( "/usr/bin/chpass -a \"netsaint:*:$nsUID:$nsGID\:\:0:0:Netsaint pseudo-user:/var/netsaint:/sbin/nologin\"" ); - -sub append_file { - local($file,@list) = @_; - local($LOCK_EX) = 2; - local($LOCK_NB) = 4; - local($LOCK_UN) = 8; - - open(F, ">> $file") || die "$file: $!\n"; - while( ! flock( F, $LOCK_EX | $LOCK_NB ) ) { - exit 1; - } - print F join( "\n", @list) . "\n"; - close F; - flock( F, $LOCK_UN ); -} diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile deleted file mode 100644 index dc57265d8145..000000000000 --- a/net-mgmt/nagios/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# New ports collection makefile for: netsaint -# Date created: Wed 12 Jul 2000 -# Whom: will -# -# $FreeBSD$ -# - -PORTNAME= netsaint -PORTVERSION= 0.0.7b3 -CATEGORIES= net -MASTER_SITES= http://netsaint.sourceforge.net/download/ - -MAINTAINER= blaz@amis.net - -LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \ - gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -RUN_DEPENDS= ${LOCALBASE}/libexec/netsaint/check_netsaint:${PORTSDIR}/net/netsaint-plugins - -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib -lgd -lgnugetopt" -CONFIGURE_ARGS= --with-command-user=nobody \ - --with-command-grp=nogroup \ - --with-netsaint-user=netsaint \ - --with-netsaint-grp=netsaint \ - --sbindir=${PREFIX}/share/netsaint/sbin \ - --libexecdir=${PREFIX}/libexec/netsaint \ - --datadir=${PREFIX}/share/netsaint \ - --sysconfdir=${PREFIX}/etc/netsaint \ - --localstatedir=${PREFIX}/var/netsaint - -INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode - -pre-fetch: - @${SH} ${SCRIPTDIR}/checkps - -pre-install: - ${PERL} ${SCRIPTDIR}/createuser - -.include <bsd.port.mk> diff --git a/net-mgmt/nagios/distinfo b/net-mgmt/nagios/distinfo deleted file mode 100644 index ebfae039965a..000000000000 --- a/net-mgmt/nagios/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (netsaint-0.0.7b3.tar.gz) = b21ed67a86266b021037f46c78c5900f diff --git a/net-mgmt/nagios/files/patch-aa b/net-mgmt/nagios/files/patch-aa deleted file mode 100644 index e106d0e255b3..000000000000 --- a/net-mgmt/nagios/files/patch-aa +++ /dev/null @@ -1,34 +0,0 @@ ---- Makefile.in.orig Thu Mar 1 05:49:19 2001 -+++ Makefile.in Tue Apr 3 10:02:31 2001 -@@ -27,7 +27,7 @@ - INSTALL_OPTS=@INSTALL_OPTS@ - COMMAND_OPTS=@COMMAND_OPTS@ - INIT_DIR=@init_dir@ --INIT_OPTS=-o root -g root -+INIT_OPTS=-o root -g wheel - CGICFGDIR=$(CGIDIR) - PERLDIR=@PERLDIR@ - -@@ -99,16 +99,16 @@ - - install-config: - $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) netsaint.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) hosts.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) commands.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) nscgi.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 660 $(INSTALL_OPTS) resource.cfg $(DESTDIR)$(CFGDIR) -+ $(INSTALL) -m 664 $(INSTALL_OPTS) netsaint.cfg $(DESTDIR)$(CFGDIR)/netsaint.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) hosts.cfg $(DESTDIR)$(CFGDIR)/hosts.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) commands.cfg $(DESTDIR)$(CFGDIR)/commands.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) nscgi.cfg $(DESTDIR)$(CFGDIR)/nscgi.cfg.dist -+ $(INSTALL) -m 660 $(INSTALL_OPTS) resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg.dist - - install-init: install-daemoninit - - install-daemoninit: -- $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/netsaint -+ $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/netsaint.sh - - install-commandmode: - $(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(LOGDIR)/rw diff --git a/net-mgmt/nagios/files/patch-ab b/net-mgmt/nagios/files/patch-ab deleted file mode 100644 index 52c154d64fd0..000000000000 --- a/net-mgmt/nagios/files/patch-ab +++ /dev/null @@ -1,10 +0,0 @@ ---- base/Makefile.in.orig Sun Feb 18 22:33:22 2001 -+++ base/Makefile.in Thu Mar 1 21:58:39 2001 -@@ -86,7 +86,6 @@ - devclean: clean - - install: -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR) - $(INSTALL) -m 774 $(INSTALL_OPTS) netsaint $(DESTDIR)$(BINDIR) - - diff --git a/net-mgmt/nagios/files/patch-ad b/net-mgmt/nagios/files/patch-ad deleted file mode 100644 index 6d8038c4bd21..000000000000 --- a/net-mgmt/nagios/files/patch-ad +++ /dev/null @@ -1,42 +0,0 @@ ---- configure.orig Thu Mar 1 04:54:12 2001 -+++ configure Thu Mar 1 21:58:09 2001 -@@ -11,7 +11,7 @@ - ac_help= - ac_default_prefix=/usr/local - # Any additions from configure.in: --ac_default_prefix=/usr/local/netsaint -+#ac_default_prefix=/usr/local/netsaint - ac_help="$ac_help - --with-netsaint-user=<user> sets user name to run netsaint" - ac_help="$ac_help -@@ -562,9 +562,9 @@ - # Prefer explicitly selected file to automatically selected ones. - if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then -- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" -+ CONFIG_SITE="$prefix/share/netsaint/config.site $prefix/etc/netsaint/config.site" - else -- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" -+ CONFIG_SITE="$ac_default_prefix/share/netsaint/config.site $ac_default_prefix/etc/netsaint/config.site" - fi - fi - for ac_site_file in $CONFIG_SITE; do -@@ -1298,6 +1298,9 @@ - LDFLAGS="${LDFLAGS} -L${withval}" - LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}" - -+else -+ LDFLAGS="${LDFLAGS} -L/usr/local/lib" -+ LD_RUN_PATH="/usr/local/ib${LD_RUN_PATH:+:}${LD_RUN_PATH}" - fi - - # Check whether --with-gd-inc or --without-gd-inc was given. -@@ -1305,6 +1308,8 @@ - withval="$with_gd_inc" - - CFLAGS="${CFLAGS} -I${withval}" -+else -+ CFLAGS="${CFLAGS} -I/usr/local/include/gd" - - fi - diff --git a/net-mgmt/nagios/files/patch-ae b/net-mgmt/nagios/files/patch-ae deleted file mode 100644 index 6cbf9e27ebbf..000000000000 --- a/net-mgmt/nagios/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.in Fri Apr 7 11:11:34 2000 -+++ configure.in.new Mon Jun 5 16:09:21 2000 -@@ -1,7 +1,7 @@ - dnl Process this file with autoconf to produce a configure script. - AC_INIT(base/netsaint.c) - AC_CONFIG_HEADER(common/config.h base/netsaint.h cgi/cgiutils.h) --AC_PREFIX_DEFAULT(/usr/local/netsaint) -+AC_PREFIX_DEFAULT(/usr/local) - - dnl Figure out how to invoke "install" and what install options to use. - diff --git a/net-mgmt/nagios/files/patch-ag b/net-mgmt/nagios/files/patch-ag deleted file mode 100644 index 14027c5d9cc9..000000000000 --- a/net-mgmt/nagios/files/patch-ag +++ /dev/null @@ -1,31 +0,0 @@ ---- functions Fri Apr 7 11:11:34 2000 -+++ functions.new Sat Jun 10 13:31:31 2000 -@@ -11,7 +11,7 @@ - # - - # First set up a default search path. --PATH=/opt/gnu/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin -+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin - export PATH - - # Get a sane screen width -@@ -174,7 +174,7 @@ - # fi - - # Finally try to extract it from ps -- pid=`ps -eo pid,ppid,fname | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` -+ pid=`ps -axco pid,ppid,command | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` - if [ "$pid" != "" ] ; then - echo $pid - return 0 -@@ -206,8 +206,8 @@ - fi - fi - -- # See if /var/lock/subsys/$1 exists -- if [ -f /var/lock/subsys/$1 ]; then -+ # See if /var/spool/lock/$1 exists -+ if [ -f /var/spool/lock/$1 ]; then - echo "$1 dead but subsys locked" - return 2 - fi diff --git a/net-mgmt/nagios/files/patch-ai b/net-mgmt/nagios/files/patch-ai deleted file mode 100644 index ef3b63b31395..000000000000 --- a/net-mgmt/nagios/files/patch-ai +++ /dev/null @@ -1,27 +0,0 @@ ---- daemon-init.in.orig Sun Feb 18 23:33:21 2001 -+++ daemon-init.in Tue Apr 3 20:58:18 2001 -@@ -68,12 +68,9 @@ - - - # Source function library --# Solaris doesn't have an rc.d directory, so do a test first --#if [ -f /etc/rc.d/init.d/functions ]; then --#. /etc/rc.d/init.d/functions --#elif [ -f /etc/init.d/functions ]; then --#. /etc/init.d/functions --#fi -+if [ -f @sysconfdir@/functions ]; then -+. @sysconfdir@/functions -+fi - - prefix=@prefix@ - exec_prefix=@exec_prefix@ -@@ -101,7 +98,7 @@ - - start) - echo "Starting network monitor: netsaint" -- su $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" -+ su -m $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" - $NetsaintBin -d $NetsaintCfg - if [ -d $NetsaintLckDir ]; then touch $NetsaintLckDir/$NetsaintLckFile; fi - sleep 1 diff --git a/net-mgmt/nagios/pkg-comment b/net-mgmt/nagios/pkg-comment deleted file mode 100644 index 5641db14d8cc..000000000000 --- a/net-mgmt/nagios/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Extremely powerful network monitoring system diff --git a/net-mgmt/nagios/pkg-descr b/net-mgmt/nagios/pkg-descr deleted file mode 100644 index ba87fff062b8..000000000000 --- a/net-mgmt/nagios/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -NetSaint is a program that will monitor hosts and services on your -network. It has the ability to email or page you when a problem arises -and when it gets resolved. NetSaint is written in C and is designed to -run under Linux, although it should work under most other *NIX variants. -It can run either as a normal process or as a daemon, intermittently -running checks on various services that you specify. The actual service -checks are performed by external "plugins" which return service -information to NetSaint. Several CGI programs are included with NetSaint -in order to allow you to view the current service status, history, etc. -via a web browser. - -WWW: http://www.netsaint.org/ diff --git a/net-mgmt/nagios/pkg-plist b/net-mgmt/nagios/pkg-plist deleted file mode 100644 index d71e872be420..000000000000 --- a/net-mgmt/nagios/pkg-plist +++ /dev/null @@ -1,293 +0,0 @@ -@exec mkdir -p %D/var/netsaint/archives -@exec mkdir -p %D/var/netsaint/rw -@exec chmod 775 %D/var/netsaint %D/var/netsaint/archives %D/var/netsaint/rw -@exec chown netsaint:netsaint %D/var/netsaint %D/var/netsaint/archives -@exec chown nobody:nogroup %D/var/netsaint/rw -bin/netsaint -etc/netsaint/commands.cfg.dist -etc/netsaint/hosts.cfg.dist -etc/netsaint/netsaint.cfg.dist -etc/netsaint/nscgi.cfg.dist -etc/netsaint/resource.cfg.dist -etc/rc.d/netsaint.sh -share/netsaint/docs/about.html -share/netsaint/docs/addons.html -share/netsaint/docs/cgiauth.html -share/netsaint/docs/cgis.html -share/netsaint/docs/checkscheduling.html -share/netsaint/docs/clusters.html -share/netsaint/docs/commandfile.html -share/netsaint/docs/config.html -share/netsaint/docs/configcgi.html -share/netsaint/docs/confighost.html -share/netsaint/docs/configmain.html -share/netsaint/docs/dependencies.html -share/netsaint/docs/developer/commentfile.html -share/netsaint/docs/developer/images/xcdapi.gif -share/netsaint/docs/developer/images/xedapi.gif -share/netsaint/docs/developer/images/xodapi.gif -share/netsaint/docs/developer/images/xrdapi.gif -share/netsaint/docs/developer/images/xsdapi.gif -share/netsaint/docs/developer/index.html -share/netsaint/docs/developer/pluginhowto.html -share/netsaint/docs/developer/stateretentionfile.html -share/netsaint/docs/developer/statusfile.html -share/netsaint/docs/developer/xcd.html -share/netsaint/docs/developer/xdata.html -share/netsaint/docs/developer/xed.html -share/netsaint/docs/developer/xod.html -share/netsaint/docs/developer/xrd.html -share/netsaint/docs/developer/xsd.html -share/netsaint/docs/distributed.html -share/netsaint/docs/downtime.html -share/netsaint/docs/escalations.html -share/netsaint/docs/eventhandlers.html -share/netsaint/docs/extcommands.html -share/netsaint/docs/faqs.html -share/netsaint/docs/flapping.html -share/netsaint/docs/funstuff.html -share/netsaint/docs/images/activepassive.gif -share/netsaint/docs/images/avail_cgi.gif -share/netsaint/docs/images/checktiming.gif -share/netsaint/docs/images/cmd_cgi.gif -share/netsaint/docs/images/config_cgi.gif -share/netsaint/docs/images/distributed.gif -share/netsaint/docs/images/extinfo_cgi_a.gif -share/netsaint/docs/images/extinfo_cgi_b.gif -share/netsaint/docs/images/extinfo_cgi_c.gif -share/netsaint/docs/images/extinfo_cgi_d.gif -share/netsaint/docs/images/extinfo_cgi_e.gif -share/netsaint/docs/images/history_cgi.gif -share/netsaint/docs/images/indirecthostcheck.gif -share/netsaint/docs/images/indirectsvccheck.gif -share/netsaint/docs/images/indirectsvccheck2.gif -share/netsaint/docs/images/interleaved1.gif -share/netsaint/docs/images/interleaved2.gif -share/netsaint/docs/images/network-heirarchy.gif -share/netsaint/docs/images/network-outage1.gif -share/netsaint/docs/images/network-outage2.gif -share/netsaint/docs/images/noninterleaved1.gif -share/netsaint/docs/images/noninterleaved2.gif -share/netsaint/docs/images/notification-process.gif -share/netsaint/docs/images/notifications_cgi.gif -share/netsaint/docs/images/outages_cgi.gif -share/netsaint/docs/images/physical-network.gif -share/netsaint/docs/images/plugintheory.gif -share/netsaint/docs/images/redundancy-1.gif -share/netsaint/docs/images/redundancy-2.gif -share/netsaint/docs/images/service-dependencies.gif -share/netsaint/docs/images/showlog_cgi.gif -share/netsaint/docs/images/statetransitions.gif -share/netsaint/docs/images/statetransitions2.gif -share/netsaint/docs/images/status_cgi_a.gif -share/netsaint/docs/images/status_cgi_b.gif -share/netsaint/docs/images/statusmap_cgi.gif -share/netsaint/docs/images/statuswml_cgi.gif -share/netsaint/docs/images/statuswrl_cgi.gif -share/netsaint/docs/images/tac_cgi.gif -share/netsaint/docs/images/trends_cgi.gif -share/netsaint/docs/index.html -share/netsaint/docs/indirectchecks.html -share/netsaint/docs/installing.html -share/netsaint/docs/installweb.html -share/netsaint/docs/macros.html -share/netsaint/docs/makehtml.html -share/netsaint/docs/networkoutages.html -share/netsaint/docs/networkreachability.html -share/netsaint/docs/notifications.html -share/netsaint/docs/oldplugins.html -share/netsaint/docs/parallelization.html -share/netsaint/docs/passivechecks.html -share/netsaint/docs/perfdata.html -share/netsaint/docs/pluginhowto.html -share/netsaint/docs/plugins.html -share/netsaint/docs/plugintheory.html -share/netsaint/docs/programmodes.html -share/netsaint/docs/redundancy.html -share/netsaint/docs/robots.txt -share/netsaint/docs/security.html -share/netsaint/docs/starting.html -share/netsaint/docs/statetypes.html -share/netsaint/docs/statuslevels.html -share/netsaint/docs/stoprestart.html -share/netsaint/docs/theory.html -share/netsaint/docs/timeperiods.html -share/netsaint/docs/tuning.html -share/netsaint/docs/verifyconfig.html -share/netsaint/docs/volatileservices.html -share/netsaint/docs/whatsnew.html -share/netsaint/docs/xdata-db.html -share/netsaint/images/ack.gif -share/netsaint/images/active.gif -share/netsaint/images/command.gif -share/netsaint/images/comment.gif -share/netsaint/images/config.gif -share/netsaint/images/contact.gif -share/netsaint/images/contactgroup.gif -share/netsaint/images/critical.gif -share/netsaint/images/delay.gif -share/netsaint/images/delete.gif -share/netsaint/images/disabled.gif -share/netsaint/images/down.gif -share/netsaint/images/downtime.gif -share/netsaint/images/enabled.gif -share/netsaint/images/extinfo.gif -share/netsaint/images/flapping.gif -share/netsaint/images/greendot.gif -share/netsaint/images/history.gif -share/netsaint/images/host.gif -share/netsaint/images/hostevent.gif -share/netsaint/images/info.gif -share/netsaint/images/left.gif -share/netsaint/images/logofullsize.gif -share/netsaint/images/logos/aix.gd2 -share/netsaint/images/logos/aix.gif -share/netsaint/images/logos/amiga.gd2 -share/netsaint/images/logos/amiga.gif -share/netsaint/images/logos/apple.gd2 -share/netsaint/images/logos/apple.gif -share/netsaint/images/logos/beos.gd2 -share/netsaint/images/logos/beos.gif -share/netsaint/images/logos/caldera.gd2 -share/netsaint/images/logos/caldera.gif -share/netsaint/images/logos/cat1900.gd2 -share/netsaint/images/logos/cat2900.gd2 -share/netsaint/images/logos/cat5000.gd2 -share/netsaint/images/logos/debian.gd2 -share/netsaint/images/logos/debian.gif -share/netsaint/images/logos/freebsd40.gd2 -share/netsaint/images/logos/freebsd40.gif -share/netsaint/images/logos/hp-printer40.gd2 -share/netsaint/images/logos/hp-printer40.gif -share/netsaint/images/logos/hpux.gd2 -share/netsaint/images/logos/hpux.gif -share/netsaint/images/logos/irix.gd2 -share/netsaint/images/logos/irix.gif -share/netsaint/images/logos/linux40.gd2 -share/netsaint/images/logos/linux40.gif -share/netsaint/images/logos/logo.gd2 -share/netsaint/images/logos/mac40.gd2 -share/netsaint/images/logos/mac40.gif -share/netsaint/images/logos/mandrake.gd2 -share/netsaint/images/logos/mandrake.gif -share/netsaint/images/logos/next.gd2 -share/netsaint/images/logos/next.gif -share/netsaint/images/logos/netsaint.gd2 -share/netsaint/images/logos/ng-switch40.gd2 -share/netsaint/images/logos/ng-switch40.gif -share/netsaint/images/logos/novell40.gd2 -share/netsaint/images/logos/novell40.gif -share/netsaint/images/logos/openbsd.gd2 -share/netsaint/images/logos/openbsd.gif -share/netsaint/images/logos/redhat.gd2 -share/netsaint/images/logos/redhat.gif -share/netsaint/images/logos/router40.gd2 -share/netsaint/images/logos/router40.gif -share/netsaint/images/logos/slackware.gd2 -share/netsaint/images/logos/slackware.gif -share/netsaint/images/logos/stampede.gd2 -share/netsaint/images/logos/stampede.gif -share/netsaint/images/logos/storm.gd2 -share/netsaint/images/logos/storm.gif -share/netsaint/images/logos/sun40.gd2 -share/netsaint/images/logos/sun40.gif -share/netsaint/images/logos/sunlogo.gd2 -share/netsaint/images/logos/sunlogo.gif -share/netsaint/images/logos/switch40.gd2 -share/netsaint/images/logos/switch40.gif -share/netsaint/images/logos/turbolinux.gd2 -share/netsaint/images/logos/turbolinux.gif -share/netsaint/images/logos/ultrapenguin.gd2 -share/netsaint/images/logos/ultrapenguin.gif -share/netsaint/images/logos/unicos.gd2 -share/netsaint/images/logos/unicos.gif -share/netsaint/images/logos/unknown.gd2 -share/netsaint/images/logos/win40.gd2 -share/netsaint/images/logos/win40.gif -share/netsaint/images/logos/yellowdog.gd2 -share/netsaint/images/logos/yellowdog.gif -share/netsaint/images/logrotate.gif -share/netsaint/images/logs.gif -share/netsaint/images/ndisabled.gif -share/netsaint/images/noack.gif -share/netsaint/images/notes.gif -share/netsaint/images/notify.gif -share/netsaint/images/orangedot.gif -share/netsaint/images/parentup.gif -share/netsaint/images/recovery.gif -share/netsaint/images/restart.gif -share/netsaint/images/right.gif -share/netsaint/images/sbbg.gif -share/netsaint/images/sbconfig.gif -share/netsaint/images/sbgeneral.gif -share/netsaint/images/sblogo.gif -share/netsaint/images/sbmonitor.gif -share/netsaint/images/serviceevent.gif -share/netsaint/images/sideback.jpg -share/netsaint/images/standby.gif -share/netsaint/images/start.gif -share/netsaint/images/status.gif -share/netsaint/images/status2.gif -share/netsaint/images/status3.gif -share/netsaint/images/status4.gif -share/netsaint/images/stop.gif -share/netsaint/images/tacdisabled.jpg -share/netsaint/images/tacenabled.jpg -share/netsaint/images/thermcrit.gif -share/netsaint/images/thermok.gif -share/netsaint/images/thermwarn.gif -share/netsaint/images/trends.gif -share/netsaint/images/trendshost.png -share/netsaint/images/trendssvc.png -share/netsaint/images/unknown.gif -share/netsaint/images/up.gif -share/netsaint/images/warning.gif -share/netsaint/images/zoom1.gif -share/netsaint/images/zoom2.gif -share/netsaint/index.html -share/netsaint/main.html -share/netsaint/media/critical.wav -share/netsaint/media/hostdown.wav -share/netsaint/media/warning.wav -share/netsaint/robots.txt -share/netsaint/sbin/avail.cgi -share/netsaint/sbin/cmd.cgi -share/netsaint/sbin/config.cgi -share/netsaint/sbin/extinfo.cgi -share/netsaint/sbin/history.cgi -share/netsaint/sbin/notifications.cgi -share/netsaint/sbin/outages.cgi -share/netsaint/sbin/showlog.cgi -share/netsaint/sbin/status.cgi -share/netsaint/sbin/statusmap.cgi -share/netsaint/sbin/statuswml.cgi -share/netsaint/sbin/statuswrl.cgi -share/netsaint/sbin/tac.cgi -share/netsaint/sbin/trends.cgi -share/netsaint/side.html -share/netsaint/stylesheets/avail.css -share/netsaint/stylesheets/cmd.css -share/netsaint/stylesheets/config.css -share/netsaint/stylesheets/extinfo.css -share/netsaint/stylesheets/history.css -share/netsaint/stylesheets/notifications.css -share/netsaint/stylesheets/outages.css -share/netsaint/stylesheets/showlog.css -share/netsaint/stylesheets/status.css -share/netsaint/stylesheets/statusmap.css -share/netsaint/stylesheets/tac.css -share/netsaint/stylesheets/trends.css -@unexec rmdir %D/etc/netsaint 2>/dev/null || true -@dirrm share/netsaint/docs/developer/images -@dirrm share/netsaint/docs/developer -@dirrm share/netsaint/docs/images -@dirrm share/netsaint/docs -@dirrm share/netsaint/images/logos -@dirrm share/netsaint/images -@dirrm share/netsaint/media -@dirrm share/netsaint/sbin -@dirrm share/netsaint/stylesheets -@dirrm share/netsaint -@unexec rmdir %D/var/netsaint/archives 2>/dev/null || true -@unexec rmdir %D/var/netsaint/rw 2>/dev/null || true -@unexec rmdir %D/var/netsaint 2>/dev/null || true diff --git a/net-mgmt/nagios/scripts/checkps b/net-mgmt/nagios/scripts/checkps deleted file mode 100644 index 61a4d67baaa7..000000000000 --- a/net-mgmt/nagios/scripts/checkps +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -/bin/ps 999999 2>&1 >/dev/null -if [ $? = 0 ]; then - echo "You need to upgrade to RELENG_3, RELENG_4, or HEAD sometime" - echo "after July 8, 2000 around 5:15AM UTC, so that ps(1) will" - echo "return an error code if a PID does not exist. Netsaint needs this!" - exit -else - echo "Great, you have a working ps(1)! Netsaint can build." -fi diff --git a/net-mgmt/nagios/scripts/createuser b/net-mgmt/nagios/scripts/createuser deleted file mode 100644 index 0ebde3c5496d..000000000000 --- a/net-mgmt/nagios/scripts/createuser +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/perl -# - -eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' -& eval 'exec /usr/bin/perl -S $0 $argv:q' -if 0; - -if( $> ) { - print "\nYou must be root to run this step!\n\n"; - exit 1; -} - -if( getpwnam( "netsaint" ) ) { - ( $null, $null, $nsUID ) = getpwnam( "netsaint" ); -} else { - $nsUID = 70; - while( getpwuid( $nsUID ) ) { - $nsUID++; - } -} - -if( getgrnam( "netsaint" ) ) { - ( $null, $null, $nsGID ) = getgrnam( "netsaint" ); -} else { - $nsGID = 70; - while( getgrgid( $nsGID ) ) { - $nsGID++; - } - &append_file( "/etc/group", "netsaint:*:$nsGID:" ); -} - -print "netsaint user using uid $nsUID and gid $nsGID\n"; - -system( "/usr/bin/chpass -a \"netsaint:*:$nsUID:$nsGID\:\:0:0:Netsaint pseudo-user:/var/netsaint:/sbin/nologin\"" ); - -sub append_file { - local($file,@list) = @_; - local($LOCK_EX) = 2; - local($LOCK_NB) = 4; - local($LOCK_UN) = 8; - - open(F, ">> $file") || die "$file: $!\n"; - while( ! flock( F, $LOCK_EX | $LOCK_NB ) ) { - exit 1; - } - print F join( "\n", @list) . "\n"; - close F; - flock( F, $LOCK_UN ); -} diff --git a/net-mgmt/nagios12/Makefile b/net-mgmt/nagios12/Makefile deleted file mode 100644 index dc57265d8145..000000000000 --- a/net-mgmt/nagios12/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# New ports collection makefile for: netsaint -# Date created: Wed 12 Jul 2000 -# Whom: will -# -# $FreeBSD$ -# - -PORTNAME= netsaint -PORTVERSION= 0.0.7b3 -CATEGORIES= net -MASTER_SITES= http://netsaint.sourceforge.net/download/ - -MAINTAINER= blaz@amis.net - -LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \ - gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -RUN_DEPENDS= ${LOCALBASE}/libexec/netsaint/check_netsaint:${PORTSDIR}/net/netsaint-plugins - -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib -lgd -lgnugetopt" -CONFIGURE_ARGS= --with-command-user=nobody \ - --with-command-grp=nogroup \ - --with-netsaint-user=netsaint \ - --with-netsaint-grp=netsaint \ - --sbindir=${PREFIX}/share/netsaint/sbin \ - --libexecdir=${PREFIX}/libexec/netsaint \ - --datadir=${PREFIX}/share/netsaint \ - --sysconfdir=${PREFIX}/etc/netsaint \ - --localstatedir=${PREFIX}/var/netsaint - -INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode - -pre-fetch: - @${SH} ${SCRIPTDIR}/checkps - -pre-install: - ${PERL} ${SCRIPTDIR}/createuser - -.include <bsd.port.mk> diff --git a/net-mgmt/nagios12/distinfo b/net-mgmt/nagios12/distinfo deleted file mode 100644 index ebfae039965a..000000000000 --- a/net-mgmt/nagios12/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (netsaint-0.0.7b3.tar.gz) = b21ed67a86266b021037f46c78c5900f diff --git a/net-mgmt/nagios12/files/patch-aa b/net-mgmt/nagios12/files/patch-aa deleted file mode 100644 index e106d0e255b3..000000000000 --- a/net-mgmt/nagios12/files/patch-aa +++ /dev/null @@ -1,34 +0,0 @@ ---- Makefile.in.orig Thu Mar 1 05:49:19 2001 -+++ Makefile.in Tue Apr 3 10:02:31 2001 -@@ -27,7 +27,7 @@ - INSTALL_OPTS=@INSTALL_OPTS@ - COMMAND_OPTS=@COMMAND_OPTS@ - INIT_DIR=@init_dir@ --INIT_OPTS=-o root -g root -+INIT_OPTS=-o root -g wheel - CGICFGDIR=$(CGIDIR) - PERLDIR=@PERLDIR@ - -@@ -99,16 +99,16 @@ - - install-config: - $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) netsaint.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) hosts.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) commands.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) nscgi.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 660 $(INSTALL_OPTS) resource.cfg $(DESTDIR)$(CFGDIR) -+ $(INSTALL) -m 664 $(INSTALL_OPTS) netsaint.cfg $(DESTDIR)$(CFGDIR)/netsaint.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) hosts.cfg $(DESTDIR)$(CFGDIR)/hosts.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) commands.cfg $(DESTDIR)$(CFGDIR)/commands.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) nscgi.cfg $(DESTDIR)$(CFGDIR)/nscgi.cfg.dist -+ $(INSTALL) -m 660 $(INSTALL_OPTS) resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg.dist - - install-init: install-daemoninit - - install-daemoninit: -- $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/netsaint -+ $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/netsaint.sh - - install-commandmode: - $(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(LOGDIR)/rw diff --git a/net-mgmt/nagios12/files/patch-ab b/net-mgmt/nagios12/files/patch-ab deleted file mode 100644 index 52c154d64fd0..000000000000 --- a/net-mgmt/nagios12/files/patch-ab +++ /dev/null @@ -1,10 +0,0 @@ ---- base/Makefile.in.orig Sun Feb 18 22:33:22 2001 -+++ base/Makefile.in Thu Mar 1 21:58:39 2001 -@@ -86,7 +86,6 @@ - devclean: clean - - install: -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR) - $(INSTALL) -m 774 $(INSTALL_OPTS) netsaint $(DESTDIR)$(BINDIR) - - diff --git a/net-mgmt/nagios12/files/patch-ad b/net-mgmt/nagios12/files/patch-ad deleted file mode 100644 index 6d8038c4bd21..000000000000 --- a/net-mgmt/nagios12/files/patch-ad +++ /dev/null @@ -1,42 +0,0 @@ ---- configure.orig Thu Mar 1 04:54:12 2001 -+++ configure Thu Mar 1 21:58:09 2001 -@@ -11,7 +11,7 @@ - ac_help= - ac_default_prefix=/usr/local - # Any additions from configure.in: --ac_default_prefix=/usr/local/netsaint -+#ac_default_prefix=/usr/local/netsaint - ac_help="$ac_help - --with-netsaint-user=<user> sets user name to run netsaint" - ac_help="$ac_help -@@ -562,9 +562,9 @@ - # Prefer explicitly selected file to automatically selected ones. - if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then -- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" -+ CONFIG_SITE="$prefix/share/netsaint/config.site $prefix/etc/netsaint/config.site" - else -- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" -+ CONFIG_SITE="$ac_default_prefix/share/netsaint/config.site $ac_default_prefix/etc/netsaint/config.site" - fi - fi - for ac_site_file in $CONFIG_SITE; do -@@ -1298,6 +1298,9 @@ - LDFLAGS="${LDFLAGS} -L${withval}" - LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}" - -+else -+ LDFLAGS="${LDFLAGS} -L/usr/local/lib" -+ LD_RUN_PATH="/usr/local/ib${LD_RUN_PATH:+:}${LD_RUN_PATH}" - fi - - # Check whether --with-gd-inc or --without-gd-inc was given. -@@ -1305,6 +1308,8 @@ - withval="$with_gd_inc" - - CFLAGS="${CFLAGS} -I${withval}" -+else -+ CFLAGS="${CFLAGS} -I/usr/local/include/gd" - - fi - diff --git a/net-mgmt/nagios12/files/patch-ae b/net-mgmt/nagios12/files/patch-ae deleted file mode 100644 index 6cbf9e27ebbf..000000000000 --- a/net-mgmt/nagios12/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.in Fri Apr 7 11:11:34 2000 -+++ configure.in.new Mon Jun 5 16:09:21 2000 -@@ -1,7 +1,7 @@ - dnl Process this file with autoconf to produce a configure script. - AC_INIT(base/netsaint.c) - AC_CONFIG_HEADER(common/config.h base/netsaint.h cgi/cgiutils.h) --AC_PREFIX_DEFAULT(/usr/local/netsaint) -+AC_PREFIX_DEFAULT(/usr/local) - - dnl Figure out how to invoke "install" and what install options to use. - diff --git a/net-mgmt/nagios12/files/patch-ag b/net-mgmt/nagios12/files/patch-ag deleted file mode 100644 index 14027c5d9cc9..000000000000 --- a/net-mgmt/nagios12/files/patch-ag +++ /dev/null @@ -1,31 +0,0 @@ ---- functions Fri Apr 7 11:11:34 2000 -+++ functions.new Sat Jun 10 13:31:31 2000 -@@ -11,7 +11,7 @@ - # - - # First set up a default search path. --PATH=/opt/gnu/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin -+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin - export PATH - - # Get a sane screen width -@@ -174,7 +174,7 @@ - # fi - - # Finally try to extract it from ps -- pid=`ps -eo pid,ppid,fname | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` -+ pid=`ps -axco pid,ppid,command | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` - if [ "$pid" != "" ] ; then - echo $pid - return 0 -@@ -206,8 +206,8 @@ - fi - fi - -- # See if /var/lock/subsys/$1 exists -- if [ -f /var/lock/subsys/$1 ]; then -+ # See if /var/spool/lock/$1 exists -+ if [ -f /var/spool/lock/$1 ]; then - echo "$1 dead but subsys locked" - return 2 - fi diff --git a/net-mgmt/nagios12/files/patch-ai b/net-mgmt/nagios12/files/patch-ai deleted file mode 100644 index ef3b63b31395..000000000000 --- a/net-mgmt/nagios12/files/patch-ai +++ /dev/null @@ -1,27 +0,0 @@ ---- daemon-init.in.orig Sun Feb 18 23:33:21 2001 -+++ daemon-init.in Tue Apr 3 20:58:18 2001 -@@ -68,12 +68,9 @@ - - - # Source function library --# Solaris doesn't have an rc.d directory, so do a test first --#if [ -f /etc/rc.d/init.d/functions ]; then --#. /etc/rc.d/init.d/functions --#elif [ -f /etc/init.d/functions ]; then --#. /etc/init.d/functions --#fi -+if [ -f @sysconfdir@/functions ]; then -+. @sysconfdir@/functions -+fi - - prefix=@prefix@ - exec_prefix=@exec_prefix@ -@@ -101,7 +98,7 @@ - - start) - echo "Starting network monitor: netsaint" -- su $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" -+ su -m $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" - $NetsaintBin -d $NetsaintCfg - if [ -d $NetsaintLckDir ]; then touch $NetsaintLckDir/$NetsaintLckFile; fi - sleep 1 diff --git a/net-mgmt/nagios12/pkg-comment b/net-mgmt/nagios12/pkg-comment deleted file mode 100644 index 5641db14d8cc..000000000000 --- a/net-mgmt/nagios12/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Extremely powerful network monitoring system diff --git a/net-mgmt/nagios12/pkg-descr b/net-mgmt/nagios12/pkg-descr deleted file mode 100644 index ba87fff062b8..000000000000 --- a/net-mgmt/nagios12/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -NetSaint is a program that will monitor hosts and services on your -network. It has the ability to email or page you when a problem arises -and when it gets resolved. NetSaint is written in C and is designed to -run under Linux, although it should work under most other *NIX variants. -It can run either as a normal process or as a daemon, intermittently -running checks on various services that you specify. The actual service -checks are performed by external "plugins" which return service -information to NetSaint. Several CGI programs are included with NetSaint -in order to allow you to view the current service status, history, etc. -via a web browser. - -WWW: http://www.netsaint.org/ diff --git a/net-mgmt/nagios12/pkg-plist b/net-mgmt/nagios12/pkg-plist deleted file mode 100644 index d71e872be420..000000000000 --- a/net-mgmt/nagios12/pkg-plist +++ /dev/null @@ -1,293 +0,0 @@ -@exec mkdir -p %D/var/netsaint/archives -@exec mkdir -p %D/var/netsaint/rw -@exec chmod 775 %D/var/netsaint %D/var/netsaint/archives %D/var/netsaint/rw -@exec chown netsaint:netsaint %D/var/netsaint %D/var/netsaint/archives -@exec chown nobody:nogroup %D/var/netsaint/rw -bin/netsaint -etc/netsaint/commands.cfg.dist -etc/netsaint/hosts.cfg.dist -etc/netsaint/netsaint.cfg.dist -etc/netsaint/nscgi.cfg.dist -etc/netsaint/resource.cfg.dist -etc/rc.d/netsaint.sh -share/netsaint/docs/about.html -share/netsaint/docs/addons.html -share/netsaint/docs/cgiauth.html -share/netsaint/docs/cgis.html -share/netsaint/docs/checkscheduling.html -share/netsaint/docs/clusters.html -share/netsaint/docs/commandfile.html -share/netsaint/docs/config.html -share/netsaint/docs/configcgi.html -share/netsaint/docs/confighost.html -share/netsaint/docs/configmain.html -share/netsaint/docs/dependencies.html -share/netsaint/docs/developer/commentfile.html -share/netsaint/docs/developer/images/xcdapi.gif -share/netsaint/docs/developer/images/xedapi.gif -share/netsaint/docs/developer/images/xodapi.gif -share/netsaint/docs/developer/images/xrdapi.gif -share/netsaint/docs/developer/images/xsdapi.gif -share/netsaint/docs/developer/index.html -share/netsaint/docs/developer/pluginhowto.html -share/netsaint/docs/developer/stateretentionfile.html -share/netsaint/docs/developer/statusfile.html -share/netsaint/docs/developer/xcd.html -share/netsaint/docs/developer/xdata.html -share/netsaint/docs/developer/xed.html -share/netsaint/docs/developer/xod.html -share/netsaint/docs/developer/xrd.html -share/netsaint/docs/developer/xsd.html -share/netsaint/docs/distributed.html -share/netsaint/docs/downtime.html -share/netsaint/docs/escalations.html -share/netsaint/docs/eventhandlers.html -share/netsaint/docs/extcommands.html -share/netsaint/docs/faqs.html -share/netsaint/docs/flapping.html -share/netsaint/docs/funstuff.html -share/netsaint/docs/images/activepassive.gif -share/netsaint/docs/images/avail_cgi.gif -share/netsaint/docs/images/checktiming.gif -share/netsaint/docs/images/cmd_cgi.gif -share/netsaint/docs/images/config_cgi.gif -share/netsaint/docs/images/distributed.gif -share/netsaint/docs/images/extinfo_cgi_a.gif -share/netsaint/docs/images/extinfo_cgi_b.gif -share/netsaint/docs/images/extinfo_cgi_c.gif -share/netsaint/docs/images/extinfo_cgi_d.gif -share/netsaint/docs/images/extinfo_cgi_e.gif -share/netsaint/docs/images/history_cgi.gif -share/netsaint/docs/images/indirecthostcheck.gif -share/netsaint/docs/images/indirectsvccheck.gif -share/netsaint/docs/images/indirectsvccheck2.gif -share/netsaint/docs/images/interleaved1.gif -share/netsaint/docs/images/interleaved2.gif -share/netsaint/docs/images/network-heirarchy.gif -share/netsaint/docs/images/network-outage1.gif -share/netsaint/docs/images/network-outage2.gif -share/netsaint/docs/images/noninterleaved1.gif -share/netsaint/docs/images/noninterleaved2.gif -share/netsaint/docs/images/notification-process.gif -share/netsaint/docs/images/notifications_cgi.gif -share/netsaint/docs/images/outages_cgi.gif -share/netsaint/docs/images/physical-network.gif -share/netsaint/docs/images/plugintheory.gif -share/netsaint/docs/images/redundancy-1.gif -share/netsaint/docs/images/redundancy-2.gif -share/netsaint/docs/images/service-dependencies.gif -share/netsaint/docs/images/showlog_cgi.gif -share/netsaint/docs/images/statetransitions.gif -share/netsaint/docs/images/statetransitions2.gif -share/netsaint/docs/images/status_cgi_a.gif -share/netsaint/docs/images/status_cgi_b.gif -share/netsaint/docs/images/statusmap_cgi.gif -share/netsaint/docs/images/statuswml_cgi.gif -share/netsaint/docs/images/statuswrl_cgi.gif -share/netsaint/docs/images/tac_cgi.gif -share/netsaint/docs/images/trends_cgi.gif -share/netsaint/docs/index.html -share/netsaint/docs/indirectchecks.html -share/netsaint/docs/installing.html -share/netsaint/docs/installweb.html -share/netsaint/docs/macros.html -share/netsaint/docs/makehtml.html -share/netsaint/docs/networkoutages.html -share/netsaint/docs/networkreachability.html -share/netsaint/docs/notifications.html -share/netsaint/docs/oldplugins.html -share/netsaint/docs/parallelization.html -share/netsaint/docs/passivechecks.html -share/netsaint/docs/perfdata.html -share/netsaint/docs/pluginhowto.html -share/netsaint/docs/plugins.html -share/netsaint/docs/plugintheory.html -share/netsaint/docs/programmodes.html -share/netsaint/docs/redundancy.html -share/netsaint/docs/robots.txt -share/netsaint/docs/security.html -share/netsaint/docs/starting.html -share/netsaint/docs/statetypes.html -share/netsaint/docs/statuslevels.html -share/netsaint/docs/stoprestart.html -share/netsaint/docs/theory.html -share/netsaint/docs/timeperiods.html -share/netsaint/docs/tuning.html -share/netsaint/docs/verifyconfig.html -share/netsaint/docs/volatileservices.html -share/netsaint/docs/whatsnew.html -share/netsaint/docs/xdata-db.html -share/netsaint/images/ack.gif -share/netsaint/images/active.gif -share/netsaint/images/command.gif -share/netsaint/images/comment.gif -share/netsaint/images/config.gif -share/netsaint/images/contact.gif -share/netsaint/images/contactgroup.gif -share/netsaint/images/critical.gif -share/netsaint/images/delay.gif -share/netsaint/images/delete.gif -share/netsaint/images/disabled.gif -share/netsaint/images/down.gif -share/netsaint/images/downtime.gif -share/netsaint/images/enabled.gif -share/netsaint/images/extinfo.gif -share/netsaint/images/flapping.gif -share/netsaint/images/greendot.gif -share/netsaint/images/history.gif -share/netsaint/images/host.gif -share/netsaint/images/hostevent.gif -share/netsaint/images/info.gif -share/netsaint/images/left.gif -share/netsaint/images/logofullsize.gif -share/netsaint/images/logos/aix.gd2 -share/netsaint/images/logos/aix.gif -share/netsaint/images/logos/amiga.gd2 -share/netsaint/images/logos/amiga.gif -share/netsaint/images/logos/apple.gd2 -share/netsaint/images/logos/apple.gif -share/netsaint/images/logos/beos.gd2 -share/netsaint/images/logos/beos.gif -share/netsaint/images/logos/caldera.gd2 -share/netsaint/images/logos/caldera.gif -share/netsaint/images/logos/cat1900.gd2 -share/netsaint/images/logos/cat2900.gd2 -share/netsaint/images/logos/cat5000.gd2 -share/netsaint/images/logos/debian.gd2 -share/netsaint/images/logos/debian.gif -share/netsaint/images/logos/freebsd40.gd2 -share/netsaint/images/logos/freebsd40.gif -share/netsaint/images/logos/hp-printer40.gd2 -share/netsaint/images/logos/hp-printer40.gif -share/netsaint/images/logos/hpux.gd2 -share/netsaint/images/logos/hpux.gif -share/netsaint/images/logos/irix.gd2 -share/netsaint/images/logos/irix.gif -share/netsaint/images/logos/linux40.gd2 -share/netsaint/images/logos/linux40.gif -share/netsaint/images/logos/logo.gd2 -share/netsaint/images/logos/mac40.gd2 -share/netsaint/images/logos/mac40.gif -share/netsaint/images/logos/mandrake.gd2 -share/netsaint/images/logos/mandrake.gif -share/netsaint/images/logos/next.gd2 -share/netsaint/images/logos/next.gif -share/netsaint/images/logos/netsaint.gd2 -share/netsaint/images/logos/ng-switch40.gd2 -share/netsaint/images/logos/ng-switch40.gif -share/netsaint/images/logos/novell40.gd2 -share/netsaint/images/logos/novell40.gif -share/netsaint/images/logos/openbsd.gd2 -share/netsaint/images/logos/openbsd.gif -share/netsaint/images/logos/redhat.gd2 -share/netsaint/images/logos/redhat.gif -share/netsaint/images/logos/router40.gd2 -share/netsaint/images/logos/router40.gif -share/netsaint/images/logos/slackware.gd2 -share/netsaint/images/logos/slackware.gif -share/netsaint/images/logos/stampede.gd2 -share/netsaint/images/logos/stampede.gif -share/netsaint/images/logos/storm.gd2 -share/netsaint/images/logos/storm.gif -share/netsaint/images/logos/sun40.gd2 -share/netsaint/images/logos/sun40.gif -share/netsaint/images/logos/sunlogo.gd2 -share/netsaint/images/logos/sunlogo.gif -share/netsaint/images/logos/switch40.gd2 -share/netsaint/images/logos/switch40.gif -share/netsaint/images/logos/turbolinux.gd2 -share/netsaint/images/logos/turbolinux.gif -share/netsaint/images/logos/ultrapenguin.gd2 -share/netsaint/images/logos/ultrapenguin.gif -share/netsaint/images/logos/unicos.gd2 -share/netsaint/images/logos/unicos.gif -share/netsaint/images/logos/unknown.gd2 -share/netsaint/images/logos/win40.gd2 -share/netsaint/images/logos/win40.gif -share/netsaint/images/logos/yellowdog.gd2 -share/netsaint/images/logos/yellowdog.gif -share/netsaint/images/logrotate.gif -share/netsaint/images/logs.gif -share/netsaint/images/ndisabled.gif -share/netsaint/images/noack.gif -share/netsaint/images/notes.gif -share/netsaint/images/notify.gif -share/netsaint/images/orangedot.gif -share/netsaint/images/parentup.gif -share/netsaint/images/recovery.gif -share/netsaint/images/restart.gif -share/netsaint/images/right.gif -share/netsaint/images/sbbg.gif -share/netsaint/images/sbconfig.gif -share/netsaint/images/sbgeneral.gif -share/netsaint/images/sblogo.gif -share/netsaint/images/sbmonitor.gif -share/netsaint/images/serviceevent.gif -share/netsaint/images/sideback.jpg -share/netsaint/images/standby.gif -share/netsaint/images/start.gif -share/netsaint/images/status.gif -share/netsaint/images/status2.gif -share/netsaint/images/status3.gif -share/netsaint/images/status4.gif -share/netsaint/images/stop.gif -share/netsaint/images/tacdisabled.jpg -share/netsaint/images/tacenabled.jpg -share/netsaint/images/thermcrit.gif -share/netsaint/images/thermok.gif -share/netsaint/images/thermwarn.gif -share/netsaint/images/trends.gif -share/netsaint/images/trendshost.png -share/netsaint/images/trendssvc.png -share/netsaint/images/unknown.gif -share/netsaint/images/up.gif -share/netsaint/images/warning.gif -share/netsaint/images/zoom1.gif -share/netsaint/images/zoom2.gif -share/netsaint/index.html -share/netsaint/main.html -share/netsaint/media/critical.wav -share/netsaint/media/hostdown.wav -share/netsaint/media/warning.wav -share/netsaint/robots.txt -share/netsaint/sbin/avail.cgi -share/netsaint/sbin/cmd.cgi -share/netsaint/sbin/config.cgi -share/netsaint/sbin/extinfo.cgi -share/netsaint/sbin/history.cgi -share/netsaint/sbin/notifications.cgi -share/netsaint/sbin/outages.cgi -share/netsaint/sbin/showlog.cgi -share/netsaint/sbin/status.cgi -share/netsaint/sbin/statusmap.cgi -share/netsaint/sbin/statuswml.cgi -share/netsaint/sbin/statuswrl.cgi -share/netsaint/sbin/tac.cgi -share/netsaint/sbin/trends.cgi -share/netsaint/side.html -share/netsaint/stylesheets/avail.css -share/netsaint/stylesheets/cmd.css -share/netsaint/stylesheets/config.css -share/netsaint/stylesheets/extinfo.css -share/netsaint/stylesheets/history.css -share/netsaint/stylesheets/notifications.css -share/netsaint/stylesheets/outages.css -share/netsaint/stylesheets/showlog.css -share/netsaint/stylesheets/status.css -share/netsaint/stylesheets/statusmap.css -share/netsaint/stylesheets/tac.css -share/netsaint/stylesheets/trends.css -@unexec rmdir %D/etc/netsaint 2>/dev/null || true -@dirrm share/netsaint/docs/developer/images -@dirrm share/netsaint/docs/developer -@dirrm share/netsaint/docs/images -@dirrm share/netsaint/docs -@dirrm share/netsaint/images/logos -@dirrm share/netsaint/images -@dirrm share/netsaint/media -@dirrm share/netsaint/sbin -@dirrm share/netsaint/stylesheets -@dirrm share/netsaint -@unexec rmdir %D/var/netsaint/archives 2>/dev/null || true -@unexec rmdir %D/var/netsaint/rw 2>/dev/null || true -@unexec rmdir %D/var/netsaint 2>/dev/null || true diff --git a/net-mgmt/nagios12/scripts/checkps b/net-mgmt/nagios12/scripts/checkps deleted file mode 100644 index 61a4d67baaa7..000000000000 --- a/net-mgmt/nagios12/scripts/checkps +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -/bin/ps 999999 2>&1 >/dev/null -if [ $? = 0 ]; then - echo "You need to upgrade to RELENG_3, RELENG_4, or HEAD sometime" - echo "after July 8, 2000 around 5:15AM UTC, so that ps(1) will" - echo "return an error code if a PID does not exist. Netsaint needs this!" - exit -else - echo "Great, you have a working ps(1)! Netsaint can build." -fi diff --git a/net-mgmt/nagios12/scripts/createuser b/net-mgmt/nagios12/scripts/createuser deleted file mode 100644 index 0ebde3c5496d..000000000000 --- a/net-mgmt/nagios12/scripts/createuser +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/perl -# - -eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' -& eval 'exec /usr/bin/perl -S $0 $argv:q' -if 0; - -if( $> ) { - print "\nYou must be root to run this step!\n\n"; - exit 1; -} - -if( getpwnam( "netsaint" ) ) { - ( $null, $null, $nsUID ) = getpwnam( "netsaint" ); -} else { - $nsUID = 70; - while( getpwuid( $nsUID ) ) { - $nsUID++; - } -} - -if( getgrnam( "netsaint" ) ) { - ( $null, $null, $nsGID ) = getgrnam( "netsaint" ); -} else { - $nsGID = 70; - while( getgrgid( $nsGID ) ) { - $nsGID++; - } - &append_file( "/etc/group", "netsaint:*:$nsGID:" ); -} - -print "netsaint user using uid $nsUID and gid $nsGID\n"; - -system( "/usr/bin/chpass -a \"netsaint:*:$nsUID:$nsGID\:\:0:0:Netsaint pseudo-user:/var/netsaint:/sbin/nologin\"" ); - -sub append_file { - local($file,@list) = @_; - local($LOCK_EX) = 2; - local($LOCK_NB) = 4; - local($LOCK_UN) = 8; - - open(F, ">> $file") || die "$file: $!\n"; - while( ! flock( F, $LOCK_EX | $LOCK_NB ) ) { - exit 1; - } - print F join( "\n", @list) . "\n"; - close F; - flock( F, $LOCK_UN ); -} diff --git a/net-mgmt/nagios2/Makefile b/net-mgmt/nagios2/Makefile deleted file mode 100644 index dc57265d8145..000000000000 --- a/net-mgmt/nagios2/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# New ports collection makefile for: netsaint -# Date created: Wed 12 Jul 2000 -# Whom: will -# -# $FreeBSD$ -# - -PORTNAME= netsaint -PORTVERSION= 0.0.7b3 -CATEGORIES= net -MASTER_SITES= http://netsaint.sourceforge.net/download/ - -MAINTAINER= blaz@amis.net - -LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \ - gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -RUN_DEPENDS= ${LOCALBASE}/libexec/netsaint/check_netsaint:${PORTSDIR}/net/netsaint-plugins - -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib -lgd -lgnugetopt" -CONFIGURE_ARGS= --with-command-user=nobody \ - --with-command-grp=nogroup \ - --with-netsaint-user=netsaint \ - --with-netsaint-grp=netsaint \ - --sbindir=${PREFIX}/share/netsaint/sbin \ - --libexecdir=${PREFIX}/libexec/netsaint \ - --datadir=${PREFIX}/share/netsaint \ - --sysconfdir=${PREFIX}/etc/netsaint \ - --localstatedir=${PREFIX}/var/netsaint - -INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode - -pre-fetch: - @${SH} ${SCRIPTDIR}/checkps - -pre-install: - ${PERL} ${SCRIPTDIR}/createuser - -.include <bsd.port.mk> diff --git a/net-mgmt/nagios2/distinfo b/net-mgmt/nagios2/distinfo deleted file mode 100644 index ebfae039965a..000000000000 --- a/net-mgmt/nagios2/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (netsaint-0.0.7b3.tar.gz) = b21ed67a86266b021037f46c78c5900f diff --git a/net-mgmt/nagios2/files/patch-aa b/net-mgmt/nagios2/files/patch-aa deleted file mode 100644 index e106d0e255b3..000000000000 --- a/net-mgmt/nagios2/files/patch-aa +++ /dev/null @@ -1,34 +0,0 @@ ---- Makefile.in.orig Thu Mar 1 05:49:19 2001 -+++ Makefile.in Tue Apr 3 10:02:31 2001 -@@ -27,7 +27,7 @@ - INSTALL_OPTS=@INSTALL_OPTS@ - COMMAND_OPTS=@COMMAND_OPTS@ - INIT_DIR=@init_dir@ --INIT_OPTS=-o root -g root -+INIT_OPTS=-o root -g wheel - CGICFGDIR=$(CGIDIR) - PERLDIR=@PERLDIR@ - -@@ -99,16 +99,16 @@ - - install-config: - $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) netsaint.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) hosts.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) commands.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) nscgi.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 660 $(INSTALL_OPTS) resource.cfg $(DESTDIR)$(CFGDIR) -+ $(INSTALL) -m 664 $(INSTALL_OPTS) netsaint.cfg $(DESTDIR)$(CFGDIR)/netsaint.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) hosts.cfg $(DESTDIR)$(CFGDIR)/hosts.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) commands.cfg $(DESTDIR)$(CFGDIR)/commands.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) nscgi.cfg $(DESTDIR)$(CFGDIR)/nscgi.cfg.dist -+ $(INSTALL) -m 660 $(INSTALL_OPTS) resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg.dist - - install-init: install-daemoninit - - install-daemoninit: -- $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/netsaint -+ $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/netsaint.sh - - install-commandmode: - $(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(LOGDIR)/rw diff --git a/net-mgmt/nagios2/files/patch-ab b/net-mgmt/nagios2/files/patch-ab deleted file mode 100644 index 52c154d64fd0..000000000000 --- a/net-mgmt/nagios2/files/patch-ab +++ /dev/null @@ -1,10 +0,0 @@ ---- base/Makefile.in.orig Sun Feb 18 22:33:22 2001 -+++ base/Makefile.in Thu Mar 1 21:58:39 2001 -@@ -86,7 +86,6 @@ - devclean: clean - - install: -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR) - $(INSTALL) -m 774 $(INSTALL_OPTS) netsaint $(DESTDIR)$(BINDIR) - - diff --git a/net-mgmt/nagios2/files/patch-ad b/net-mgmt/nagios2/files/patch-ad deleted file mode 100644 index 6d8038c4bd21..000000000000 --- a/net-mgmt/nagios2/files/patch-ad +++ /dev/null @@ -1,42 +0,0 @@ ---- configure.orig Thu Mar 1 04:54:12 2001 -+++ configure Thu Mar 1 21:58:09 2001 -@@ -11,7 +11,7 @@ - ac_help= - ac_default_prefix=/usr/local - # Any additions from configure.in: --ac_default_prefix=/usr/local/netsaint -+#ac_default_prefix=/usr/local/netsaint - ac_help="$ac_help - --with-netsaint-user=<user> sets user name to run netsaint" - ac_help="$ac_help -@@ -562,9 +562,9 @@ - # Prefer explicitly selected file to automatically selected ones. - if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then -- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" -+ CONFIG_SITE="$prefix/share/netsaint/config.site $prefix/etc/netsaint/config.site" - else -- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" -+ CONFIG_SITE="$ac_default_prefix/share/netsaint/config.site $ac_default_prefix/etc/netsaint/config.site" - fi - fi - for ac_site_file in $CONFIG_SITE; do -@@ -1298,6 +1298,9 @@ - LDFLAGS="${LDFLAGS} -L${withval}" - LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}" - -+else -+ LDFLAGS="${LDFLAGS} -L/usr/local/lib" -+ LD_RUN_PATH="/usr/local/ib${LD_RUN_PATH:+:}${LD_RUN_PATH}" - fi - - # Check whether --with-gd-inc or --without-gd-inc was given. -@@ -1305,6 +1308,8 @@ - withval="$with_gd_inc" - - CFLAGS="${CFLAGS} -I${withval}" -+else -+ CFLAGS="${CFLAGS} -I/usr/local/include/gd" - - fi - diff --git a/net-mgmt/nagios2/files/patch-ae b/net-mgmt/nagios2/files/patch-ae deleted file mode 100644 index 6cbf9e27ebbf..000000000000 --- a/net-mgmt/nagios2/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.in Fri Apr 7 11:11:34 2000 -+++ configure.in.new Mon Jun 5 16:09:21 2000 -@@ -1,7 +1,7 @@ - dnl Process this file with autoconf to produce a configure script. - AC_INIT(base/netsaint.c) - AC_CONFIG_HEADER(common/config.h base/netsaint.h cgi/cgiutils.h) --AC_PREFIX_DEFAULT(/usr/local/netsaint) -+AC_PREFIX_DEFAULT(/usr/local) - - dnl Figure out how to invoke "install" and what install options to use. - diff --git a/net-mgmt/nagios2/files/patch-ag b/net-mgmt/nagios2/files/patch-ag deleted file mode 100644 index 14027c5d9cc9..000000000000 --- a/net-mgmt/nagios2/files/patch-ag +++ /dev/null @@ -1,31 +0,0 @@ ---- functions Fri Apr 7 11:11:34 2000 -+++ functions.new Sat Jun 10 13:31:31 2000 -@@ -11,7 +11,7 @@ - # - - # First set up a default search path. --PATH=/opt/gnu/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin -+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin - export PATH - - # Get a sane screen width -@@ -174,7 +174,7 @@ - # fi - - # Finally try to extract it from ps -- pid=`ps -eo pid,ppid,fname | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` -+ pid=`ps -axco pid,ppid,command | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` - if [ "$pid" != "" ] ; then - echo $pid - return 0 -@@ -206,8 +206,8 @@ - fi - fi - -- # See if /var/lock/subsys/$1 exists -- if [ -f /var/lock/subsys/$1 ]; then -+ # See if /var/spool/lock/$1 exists -+ if [ -f /var/spool/lock/$1 ]; then - echo "$1 dead but subsys locked" - return 2 - fi diff --git a/net-mgmt/nagios2/files/patch-ai b/net-mgmt/nagios2/files/patch-ai deleted file mode 100644 index ef3b63b31395..000000000000 --- a/net-mgmt/nagios2/files/patch-ai +++ /dev/null @@ -1,27 +0,0 @@ ---- daemon-init.in.orig Sun Feb 18 23:33:21 2001 -+++ daemon-init.in Tue Apr 3 20:58:18 2001 -@@ -68,12 +68,9 @@ - - - # Source function library --# Solaris doesn't have an rc.d directory, so do a test first --#if [ -f /etc/rc.d/init.d/functions ]; then --#. /etc/rc.d/init.d/functions --#elif [ -f /etc/init.d/functions ]; then --#. /etc/init.d/functions --#fi -+if [ -f @sysconfdir@/functions ]; then -+. @sysconfdir@/functions -+fi - - prefix=@prefix@ - exec_prefix=@exec_prefix@ -@@ -101,7 +98,7 @@ - - start) - echo "Starting network monitor: netsaint" -- su $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" -+ su -m $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" - $NetsaintBin -d $NetsaintCfg - if [ -d $NetsaintLckDir ]; then touch $NetsaintLckDir/$NetsaintLckFile; fi - sleep 1 diff --git a/net-mgmt/nagios2/pkg-comment b/net-mgmt/nagios2/pkg-comment deleted file mode 100644 index 5641db14d8cc..000000000000 --- a/net-mgmt/nagios2/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Extremely powerful network monitoring system diff --git a/net-mgmt/nagios2/pkg-descr b/net-mgmt/nagios2/pkg-descr deleted file mode 100644 index ba87fff062b8..000000000000 --- a/net-mgmt/nagios2/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -NetSaint is a program that will monitor hosts and services on your -network. It has the ability to email or page you when a problem arises -and when it gets resolved. NetSaint is written in C and is designed to -run under Linux, although it should work under most other *NIX variants. -It can run either as a normal process or as a daemon, intermittently -running checks on various services that you specify. The actual service -checks are performed by external "plugins" which return service -information to NetSaint. Several CGI programs are included with NetSaint -in order to allow you to view the current service status, history, etc. -via a web browser. - -WWW: http://www.netsaint.org/ diff --git a/net-mgmt/nagios2/pkg-plist b/net-mgmt/nagios2/pkg-plist deleted file mode 100644 index d71e872be420..000000000000 --- a/net-mgmt/nagios2/pkg-plist +++ /dev/null @@ -1,293 +0,0 @@ -@exec mkdir -p %D/var/netsaint/archives -@exec mkdir -p %D/var/netsaint/rw -@exec chmod 775 %D/var/netsaint %D/var/netsaint/archives %D/var/netsaint/rw -@exec chown netsaint:netsaint %D/var/netsaint %D/var/netsaint/archives -@exec chown nobody:nogroup %D/var/netsaint/rw -bin/netsaint -etc/netsaint/commands.cfg.dist -etc/netsaint/hosts.cfg.dist -etc/netsaint/netsaint.cfg.dist -etc/netsaint/nscgi.cfg.dist -etc/netsaint/resource.cfg.dist -etc/rc.d/netsaint.sh -share/netsaint/docs/about.html -share/netsaint/docs/addons.html -share/netsaint/docs/cgiauth.html -share/netsaint/docs/cgis.html -share/netsaint/docs/checkscheduling.html -share/netsaint/docs/clusters.html -share/netsaint/docs/commandfile.html -share/netsaint/docs/config.html -share/netsaint/docs/configcgi.html -share/netsaint/docs/confighost.html -share/netsaint/docs/configmain.html -share/netsaint/docs/dependencies.html -share/netsaint/docs/developer/commentfile.html -share/netsaint/docs/developer/images/xcdapi.gif -share/netsaint/docs/developer/images/xedapi.gif -share/netsaint/docs/developer/images/xodapi.gif -share/netsaint/docs/developer/images/xrdapi.gif -share/netsaint/docs/developer/images/xsdapi.gif -share/netsaint/docs/developer/index.html -share/netsaint/docs/developer/pluginhowto.html -share/netsaint/docs/developer/stateretentionfile.html -share/netsaint/docs/developer/statusfile.html -share/netsaint/docs/developer/xcd.html -share/netsaint/docs/developer/xdata.html -share/netsaint/docs/developer/xed.html -share/netsaint/docs/developer/xod.html -share/netsaint/docs/developer/xrd.html -share/netsaint/docs/developer/xsd.html -share/netsaint/docs/distributed.html -share/netsaint/docs/downtime.html -share/netsaint/docs/escalations.html -share/netsaint/docs/eventhandlers.html -share/netsaint/docs/extcommands.html -share/netsaint/docs/faqs.html -share/netsaint/docs/flapping.html -share/netsaint/docs/funstuff.html -share/netsaint/docs/images/activepassive.gif -share/netsaint/docs/images/avail_cgi.gif -share/netsaint/docs/images/checktiming.gif -share/netsaint/docs/images/cmd_cgi.gif -share/netsaint/docs/images/config_cgi.gif -share/netsaint/docs/images/distributed.gif -share/netsaint/docs/images/extinfo_cgi_a.gif -share/netsaint/docs/images/extinfo_cgi_b.gif -share/netsaint/docs/images/extinfo_cgi_c.gif -share/netsaint/docs/images/extinfo_cgi_d.gif -share/netsaint/docs/images/extinfo_cgi_e.gif -share/netsaint/docs/images/history_cgi.gif -share/netsaint/docs/images/indirecthostcheck.gif -share/netsaint/docs/images/indirectsvccheck.gif -share/netsaint/docs/images/indirectsvccheck2.gif -share/netsaint/docs/images/interleaved1.gif -share/netsaint/docs/images/interleaved2.gif -share/netsaint/docs/images/network-heirarchy.gif -share/netsaint/docs/images/network-outage1.gif -share/netsaint/docs/images/network-outage2.gif -share/netsaint/docs/images/noninterleaved1.gif -share/netsaint/docs/images/noninterleaved2.gif -share/netsaint/docs/images/notification-process.gif -share/netsaint/docs/images/notifications_cgi.gif -share/netsaint/docs/images/outages_cgi.gif -share/netsaint/docs/images/physical-network.gif -share/netsaint/docs/images/plugintheory.gif -share/netsaint/docs/images/redundancy-1.gif -share/netsaint/docs/images/redundancy-2.gif -share/netsaint/docs/images/service-dependencies.gif -share/netsaint/docs/images/showlog_cgi.gif -share/netsaint/docs/images/statetransitions.gif -share/netsaint/docs/images/statetransitions2.gif -share/netsaint/docs/images/status_cgi_a.gif -share/netsaint/docs/images/status_cgi_b.gif -share/netsaint/docs/images/statusmap_cgi.gif -share/netsaint/docs/images/statuswml_cgi.gif -share/netsaint/docs/images/statuswrl_cgi.gif -share/netsaint/docs/images/tac_cgi.gif -share/netsaint/docs/images/trends_cgi.gif -share/netsaint/docs/index.html -share/netsaint/docs/indirectchecks.html -share/netsaint/docs/installing.html -share/netsaint/docs/installweb.html -share/netsaint/docs/macros.html -share/netsaint/docs/makehtml.html -share/netsaint/docs/networkoutages.html -share/netsaint/docs/networkreachability.html -share/netsaint/docs/notifications.html -share/netsaint/docs/oldplugins.html -share/netsaint/docs/parallelization.html -share/netsaint/docs/passivechecks.html -share/netsaint/docs/perfdata.html -share/netsaint/docs/pluginhowto.html -share/netsaint/docs/plugins.html -share/netsaint/docs/plugintheory.html -share/netsaint/docs/programmodes.html -share/netsaint/docs/redundancy.html -share/netsaint/docs/robots.txt -share/netsaint/docs/security.html -share/netsaint/docs/starting.html -share/netsaint/docs/statetypes.html -share/netsaint/docs/statuslevels.html -share/netsaint/docs/stoprestart.html -share/netsaint/docs/theory.html -share/netsaint/docs/timeperiods.html -share/netsaint/docs/tuning.html -share/netsaint/docs/verifyconfig.html -share/netsaint/docs/volatileservices.html -share/netsaint/docs/whatsnew.html -share/netsaint/docs/xdata-db.html -share/netsaint/images/ack.gif -share/netsaint/images/active.gif -share/netsaint/images/command.gif -share/netsaint/images/comment.gif -share/netsaint/images/config.gif -share/netsaint/images/contact.gif -share/netsaint/images/contactgroup.gif -share/netsaint/images/critical.gif -share/netsaint/images/delay.gif -share/netsaint/images/delete.gif -share/netsaint/images/disabled.gif -share/netsaint/images/down.gif -share/netsaint/images/downtime.gif -share/netsaint/images/enabled.gif -share/netsaint/images/extinfo.gif -share/netsaint/images/flapping.gif -share/netsaint/images/greendot.gif -share/netsaint/images/history.gif -share/netsaint/images/host.gif -share/netsaint/images/hostevent.gif -share/netsaint/images/info.gif -share/netsaint/images/left.gif -share/netsaint/images/logofullsize.gif -share/netsaint/images/logos/aix.gd2 -share/netsaint/images/logos/aix.gif -share/netsaint/images/logos/amiga.gd2 -share/netsaint/images/logos/amiga.gif -share/netsaint/images/logos/apple.gd2 -share/netsaint/images/logos/apple.gif -share/netsaint/images/logos/beos.gd2 -share/netsaint/images/logos/beos.gif -share/netsaint/images/logos/caldera.gd2 -share/netsaint/images/logos/caldera.gif -share/netsaint/images/logos/cat1900.gd2 -share/netsaint/images/logos/cat2900.gd2 -share/netsaint/images/logos/cat5000.gd2 -share/netsaint/images/logos/debian.gd2 -share/netsaint/images/logos/debian.gif -share/netsaint/images/logos/freebsd40.gd2 -share/netsaint/images/logos/freebsd40.gif -share/netsaint/images/logos/hp-printer40.gd2 -share/netsaint/images/logos/hp-printer40.gif -share/netsaint/images/logos/hpux.gd2 -share/netsaint/images/logos/hpux.gif -share/netsaint/images/logos/irix.gd2 -share/netsaint/images/logos/irix.gif -share/netsaint/images/logos/linux40.gd2 -share/netsaint/images/logos/linux40.gif -share/netsaint/images/logos/logo.gd2 -share/netsaint/images/logos/mac40.gd2 -share/netsaint/images/logos/mac40.gif -share/netsaint/images/logos/mandrake.gd2 -share/netsaint/images/logos/mandrake.gif -share/netsaint/images/logos/next.gd2 -share/netsaint/images/logos/next.gif -share/netsaint/images/logos/netsaint.gd2 -share/netsaint/images/logos/ng-switch40.gd2 -share/netsaint/images/logos/ng-switch40.gif -share/netsaint/images/logos/novell40.gd2 -share/netsaint/images/logos/novell40.gif -share/netsaint/images/logos/openbsd.gd2 -share/netsaint/images/logos/openbsd.gif -share/netsaint/images/logos/redhat.gd2 -share/netsaint/images/logos/redhat.gif -share/netsaint/images/logos/router40.gd2 -share/netsaint/images/logos/router40.gif -share/netsaint/images/logos/slackware.gd2 -share/netsaint/images/logos/slackware.gif -share/netsaint/images/logos/stampede.gd2 -share/netsaint/images/logos/stampede.gif -share/netsaint/images/logos/storm.gd2 -share/netsaint/images/logos/storm.gif -share/netsaint/images/logos/sun40.gd2 -share/netsaint/images/logos/sun40.gif -share/netsaint/images/logos/sunlogo.gd2 -share/netsaint/images/logos/sunlogo.gif -share/netsaint/images/logos/switch40.gd2 -share/netsaint/images/logos/switch40.gif -share/netsaint/images/logos/turbolinux.gd2 -share/netsaint/images/logos/turbolinux.gif -share/netsaint/images/logos/ultrapenguin.gd2 -share/netsaint/images/logos/ultrapenguin.gif -share/netsaint/images/logos/unicos.gd2 -share/netsaint/images/logos/unicos.gif -share/netsaint/images/logos/unknown.gd2 -share/netsaint/images/logos/win40.gd2 -share/netsaint/images/logos/win40.gif -share/netsaint/images/logos/yellowdog.gd2 -share/netsaint/images/logos/yellowdog.gif -share/netsaint/images/logrotate.gif -share/netsaint/images/logs.gif -share/netsaint/images/ndisabled.gif -share/netsaint/images/noack.gif -share/netsaint/images/notes.gif -share/netsaint/images/notify.gif -share/netsaint/images/orangedot.gif -share/netsaint/images/parentup.gif -share/netsaint/images/recovery.gif -share/netsaint/images/restart.gif -share/netsaint/images/right.gif -share/netsaint/images/sbbg.gif -share/netsaint/images/sbconfig.gif -share/netsaint/images/sbgeneral.gif -share/netsaint/images/sblogo.gif -share/netsaint/images/sbmonitor.gif -share/netsaint/images/serviceevent.gif -share/netsaint/images/sideback.jpg -share/netsaint/images/standby.gif -share/netsaint/images/start.gif -share/netsaint/images/status.gif -share/netsaint/images/status2.gif -share/netsaint/images/status3.gif -share/netsaint/images/status4.gif -share/netsaint/images/stop.gif -share/netsaint/images/tacdisabled.jpg -share/netsaint/images/tacenabled.jpg -share/netsaint/images/thermcrit.gif -share/netsaint/images/thermok.gif -share/netsaint/images/thermwarn.gif -share/netsaint/images/trends.gif -share/netsaint/images/trendshost.png -share/netsaint/images/trendssvc.png -share/netsaint/images/unknown.gif -share/netsaint/images/up.gif -share/netsaint/images/warning.gif -share/netsaint/images/zoom1.gif -share/netsaint/images/zoom2.gif -share/netsaint/index.html -share/netsaint/main.html -share/netsaint/media/critical.wav -share/netsaint/media/hostdown.wav -share/netsaint/media/warning.wav -share/netsaint/robots.txt -share/netsaint/sbin/avail.cgi -share/netsaint/sbin/cmd.cgi -share/netsaint/sbin/config.cgi -share/netsaint/sbin/extinfo.cgi -share/netsaint/sbin/history.cgi -share/netsaint/sbin/notifications.cgi -share/netsaint/sbin/outages.cgi -share/netsaint/sbin/showlog.cgi -share/netsaint/sbin/status.cgi -share/netsaint/sbin/statusmap.cgi -share/netsaint/sbin/statuswml.cgi -share/netsaint/sbin/statuswrl.cgi -share/netsaint/sbin/tac.cgi -share/netsaint/sbin/trends.cgi -share/netsaint/side.html -share/netsaint/stylesheets/avail.css -share/netsaint/stylesheets/cmd.css -share/netsaint/stylesheets/config.css -share/netsaint/stylesheets/extinfo.css -share/netsaint/stylesheets/history.css -share/netsaint/stylesheets/notifications.css -share/netsaint/stylesheets/outages.css -share/netsaint/stylesheets/showlog.css -share/netsaint/stylesheets/status.css -share/netsaint/stylesheets/statusmap.css -share/netsaint/stylesheets/tac.css -share/netsaint/stylesheets/trends.css -@unexec rmdir %D/etc/netsaint 2>/dev/null || true -@dirrm share/netsaint/docs/developer/images -@dirrm share/netsaint/docs/developer -@dirrm share/netsaint/docs/images -@dirrm share/netsaint/docs -@dirrm share/netsaint/images/logos -@dirrm share/netsaint/images -@dirrm share/netsaint/media -@dirrm share/netsaint/sbin -@dirrm share/netsaint/stylesheets -@dirrm share/netsaint -@unexec rmdir %D/var/netsaint/archives 2>/dev/null || true -@unexec rmdir %D/var/netsaint/rw 2>/dev/null || true -@unexec rmdir %D/var/netsaint 2>/dev/null || true diff --git a/net-mgmt/nagios2/scripts/checkps b/net-mgmt/nagios2/scripts/checkps deleted file mode 100644 index 61a4d67baaa7..000000000000 --- a/net-mgmt/nagios2/scripts/checkps +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -/bin/ps 999999 2>&1 >/dev/null -if [ $? = 0 ]; then - echo "You need to upgrade to RELENG_3, RELENG_4, or HEAD sometime" - echo "after July 8, 2000 around 5:15AM UTC, so that ps(1) will" - echo "return an error code if a PID does not exist. Netsaint needs this!" - exit -else - echo "Great, you have a working ps(1)! Netsaint can build." -fi diff --git a/net-mgmt/nagios2/scripts/createuser b/net-mgmt/nagios2/scripts/createuser deleted file mode 100644 index 0ebde3c5496d..000000000000 --- a/net-mgmt/nagios2/scripts/createuser +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/perl -# - -eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' -& eval 'exec /usr/bin/perl -S $0 $argv:q' -if 0; - -if( $> ) { - print "\nYou must be root to run this step!\n\n"; - exit 1; -} - -if( getpwnam( "netsaint" ) ) { - ( $null, $null, $nsUID ) = getpwnam( "netsaint" ); -} else { - $nsUID = 70; - while( getpwuid( $nsUID ) ) { - $nsUID++; - } -} - -if( getgrnam( "netsaint" ) ) { - ( $null, $null, $nsGID ) = getgrnam( "netsaint" ); -} else { - $nsGID = 70; - while( getgrgid( $nsGID ) ) { - $nsGID++; - } - &append_file( "/etc/group", "netsaint:*:$nsGID:" ); -} - -print "netsaint user using uid $nsUID and gid $nsGID\n"; - -system( "/usr/bin/chpass -a \"netsaint:*:$nsUID:$nsGID\:\:0:0:Netsaint pseudo-user:/var/netsaint:/sbin/nologin\"" ); - -sub append_file { - local($file,@list) = @_; - local($LOCK_EX) = 2; - local($LOCK_NB) = 4; - local($LOCK_UN) = 8; - - open(F, ">> $file") || die "$file: $!\n"; - while( ! flock( F, $LOCK_EX | $LOCK_NB ) ) { - exit 1; - } - print F join( "\n", @list) . "\n"; - close F; - flock( F, $LOCK_UN ); -} diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile deleted file mode 100644 index c64556f88633..000000000000 --- a/net-mgmt/net-snmp-devel/Makefile +++ /dev/null @@ -1,82 +0,0 @@ -# New ports collection makefile for: ucd-snmp -# Date created: 26 June 1996 -# Whom: gpalmer -# -# $FreeBSD$ -# - -PORTNAME= ucd-snmp -PORTVERSION= 4.2 -CATEGORIES= net ipv6 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ - ftp://ucd-snmp.ucdavis.edu/ \ - ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ - ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ -MASTER_SITE_SUBDIR= net-snmp - -MAINTAINER= billf@FreeBSD.org - -USE_AUTOCONF= yes -USE_LIBTOOL= yes -INSTALLS_SHLIB= yes -LIBTOOLFLAGS= --disable-ltlibs --release-ignore - -CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host" --with-gnu-ld -.if defined(BATCH) -CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where -.else -IS_INTERACTIVE= yes -.endif - -MAN1= snmpbulkget.1 snmpbulkwalk.1 snmpcmd.1 snmpconf.1 snmpd.1 \ - snmpdelta.1 snmpdf.1 snmpget.1 snmpgetnext.1 snmpinform.1 \ - snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ - snmptranslate.1 snmptrap.1 snmpusm.1 snmpwalk.1 -MAN3= add_mibdir.3 add_module_replacement.3 default_store.3 \ - get_module_node.3 init_mib.3 init_mib_internals.3 mib_api.3 \ - print_description.3 print_mib.3 print_objid.3 print_value.3 \ - print_variable.3 read_all_mibs.3 read_config.3 read_mib.3 \ - read_module.3 read_module_node.3 read_objid.3 shutdown_mib.3 \ - snmp_agent_api.3 snmp_alarm.3 snmp_api.3 snmp_close.3 \ - snmp_free_pdu.3 snmp_open.3 snmp_read.3 snmp_select_info.3 \ - snmp_send.3 snmp_sess_api.3 snmp_sess_async_send.3 \ - snmp_sess_close.3 snmp_sess_error.3 snmp_sess_init.3 \ - snmp_sess_open.3 snmp_sess_read.3 snmp_sess_select_info.3 \ - snmp_sess_send.3 snmp_sess_session.3 snmp_sess_timeout.3 \ - snmp_set_mib_warnings.3 snmp_set_save_descriptions.3 \ - snmp_timeout.3 snmp_trap_api.3 -MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ - snmptrapd.conf.5 variables.5 -MAN8= snmptrapd.8 -BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ - snmpstatus snmptest snmptranslate snmptrap snmpwalk -SBIN= snmpd snmptrapd - -STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 400014 -CONFIGURE_ARGS+= --enable-ipv6 -.endif - -SHLIB_VERSION= 4 -PLIST_SUB+= shlib=${SHLIB_VERSION} - -post-patch: - @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s - -post-install: - @( cd ${PREFIX}/bin && strip ${BIN} ) - @( cd ${PREFIX}/sbin && strip ${SBIN} ) - @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) - @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * ) - @${MKDIR} ${PREFIX}/share/examples/ucd-snmp - @for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; do \ - ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done - @if [ ! -f ${STARTUP_FILE} ]; then \ - ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ - ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${STARTUP_FILE}; \ - fi - -.include <bsd.port.post.mk> diff --git a/net-mgmt/net-snmp-devel/distinfo b/net-mgmt/net-snmp-devel/distinfo deleted file mode 100644 index bda76becbe98..000000000000 --- a/net-mgmt/net-snmp-devel/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ucd-snmp-4.2.tar.gz) = 7370edec952a6830459948d9808da7cb diff --git a/net-mgmt/net-snmp-devel/files/freebsd4.h b/net-mgmt/net-snmp-devel/files/freebsd4.h deleted file mode 100644 index e0774c7e4cd6..000000000000 --- a/net-mgmt/net-snmp-devel/files/freebsd4.h +++ /dev/null @@ -1 +0,0 @@ -#include "freebsd3.h" diff --git a/net-mgmt/net-snmp-devel/files/patch-Makefile.top b/net-mgmt/net-snmp-devel/files/patch-Makefile.top deleted file mode 100644 index 2ecdb3d91c59..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-Makefile.top +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.top.orig Mon Nov 20 05:58:05 2000 -+++ Makefile.top Thu Feb 8 01:21:42 2001 -@@ -51,7 +51,7 @@ - # Misc Compiling Stuff - CC = @CC@ - # version number is prefixed by a 0 for a better shared library version number --LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release 0.$(VERSION) -o -+LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release $(VERSION).0 -version-info 4 -o - LIB_EXTENSION = la - LIB_VERSION = - LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir) diff --git a/net-mgmt/net-snmp-devel/files/patch-aa b/net-mgmt/net-snmp-devel/files/patch-aa deleted file mode 100644 index 6c287d18ac93..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ ---- snmplib/Makefile.in.orig Mon Oct 2 11:41:46 2000 -+++ snmplib/Makefile.in Wed Jan 17 18:29:44 2001 -@@ -70,6 +70,10 @@ - - libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} - $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} -+ ld -Bshareable -soname libsnmp.so.4 \ -+ -o libsnmp.so ${OBJS} -+ ln -f libsnmp.so \ -+ ../libsnmp.so.4 - $(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) - - installdirs: diff --git a/net-mgmt/net-snmp-devel/files/patch-ab b/net-mgmt/net-snmp-devel/files/patch-ab deleted file mode 100644 index 4a8f9a65a244..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-ab +++ /dev/null @@ -1,56 +0,0 @@ ---- agent/mibgroup/ucd-snmp/disk.c~ Fri Mar 5 08:45:00 1999 -+++ agent/mibgroup/ucd-snmp/disk.c Sat Apr 3 13:33:11 1999 -@@ -24,12 +24,12 @@ - #include <sys/vmmeter.h> - #endif - #endif --#if HAVE_SYS_CONF_H --#include <sys/conf.h> --#endif - #if HAVE_SYS_PARAM_H - #include <sys/param.h> - #endif -+#if HAVE_SYS_CONF_H -+#include <sys/conf.h> -+#endif - #if HAVE_ASM_PAGE_H - #include <asm/page.h> - #endif -@@ -86,6 +86,7 @@ - #include <vm/vm.h> - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/errormib.c~ Tue Mar 2 05:27:30 1999 -+++ agent/mibgroup/ucd-snmp/errormib.c Sat Apr 3 13:33:44 1999 -@@ -93,6 +93,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/extensible.c~ Fri Mar 5 08:45:01 1999 -+++ agent/mibgroup/ucd-snmp/extensible.c Sat Apr 3 13:34:13 1999 -@@ -81,6 +81,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/loadave.c~ Tue Mar 16 08:21:02 1999 -+++ agent/mibgroup/ucd-snmp/loadave.c Sat Apr 3 13:34:39 1999 -@@ -80,6 +80,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H diff --git a/net-mgmt/net-snmp-devel/files/patch-ad b/net-mgmt/net-snmp-devel/files/patch-ad deleted file mode 100644 index bd85f7453919..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-ad +++ /dev/null @@ -1,47 +0,0 @@ ---- agent/mibgroup/mibII/interfaces.c.orig Fri Dec 1 14:17:21 2000 -+++ agent/mibgroup/mibII/interfaces.c Thu Jan 18 00:04:42 2001 -@@ -129,7 +129,7 @@ - #if HAVE_SYS_SYSCTL_H - #include <sys/sysctl.h> - --#ifdef freebsd3 -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) - # define USE_SYSCTL_IFLIST - #else - # if defined(CTL_NET) && !defined(freebsd2) -@@ -1842,10 +1842,18 @@ - physaddrbuf = 0; - } - ifm = (struct if_msghdr *)rtm; -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) -+ if (physaddrs != 0) physaddrs[naddrs] = (void*)(ifm + 1); -+ naddrs++; -+#endif - ilen -= ifm->ifm_msglen; - cp += ifm->ifm_msglen; - rtm = (struct rt_msghdr *)cp; - while (ilen > 0 && rtm->rtm_type == RTM_NEWADDR) { -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) -+ ilen -= rtm->rtm_msglen; -+ cp += rtm->rtm_msglen; -+#else - int is_alias = 0; - ifam = (struct ifa_msghdr *)rtm; - ilen -= sizeof(*ifam); -@@ -1868,6 +1876,7 @@ - } - sa = (struct sockaddr *)cp; - } -+#endif - rtm = (struct rt_msghdr *)cp; - } - } -@@ -1982,7 +1991,7 @@ - if (ifmd.ifmd_data.ifi_lastchange.tv_sec == 0 && - ifmd.ifmd_data.ifi_lastchange.tv_usec == 0) { - long_return = 0; -- else if (ifmd.ifmd_data.ifi_lastchange.tv_sec < starttime.tv_sec) -+ } else if (ifmd.ifmd_data.ifi_lastchange.tv_sec < starttime.tv_sec) { - long_return = 0; - } else { - long_return = (u_long) diff --git a/net-mgmt/net-snmp-devel/files/patch-af b/net-mgmt/net-snmp-devel/files/patch-af deleted file mode 100644 index 546933895230..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-af +++ /dev/null @@ -1,14 +0,0 @@ ---- agent/mibgroup/ucd_snmp.h.orig Fri Feb 26 03:03:41 1999 -+++ agent/mibgroup/ucd_snmp.h Sun Apr 4 13:52:23 1999 -@@ -18,5 +18,11 @@ - config_arch_require(bsdi3, ucd-snmp/memory) - config_arch_require(linux, ucd-snmp/vmstat) - config_arch_require(freebsd2, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd3, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd4, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2) - config_arch_require(freebsd2, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd3, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd4, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd5, ucd-snmp/memory_freebsd2) - config_add_mib(UCD-SNMP-MIB) diff --git a/net-mgmt/net-snmp-devel/files/patch-ag b/net-mgmt/net-snmp-devel/files/patch-ag deleted file mode 100644 index 4f8dbd1fe650..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-ag +++ /dev/null @@ -1,11 +0,0 @@ ---- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 -+++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 -@@ -4,7 +4,7 @@ - #include <netinet/in.h> - - /* uncomment if you don't have in_addr_t in netinet/in.h */ --/* typedef u_int in_addr_t; */ -+typedef u_int in_addr_t; - - #include <ucd-snmp/asn1.h> - #include <ucd-snmp/snmp_api.h> diff --git a/net-mgmt/net-snmp-devel/files/patch-ah b/net-mgmt/net-snmp-devel/files/patch-ah deleted file mode 100644 index 194cbf3574b9..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-ah +++ /dev/null @@ -1,7 +0,0 @@ ---- local/tkmib~ Wed Jul 26 08:53:26 2000 -+++ local/tkmib Wed Jan 17 18:32:52 2001 -@@ -1,4 +1,3 @@ --#!/usr/bin/perl - #!/usr/bin/perl -w - - require 5; diff --git a/net-mgmt/net-snmp-devel/files/patch-ak b/net-mgmt/net-snmp-devel/files/patch-ak deleted file mode 100644 index 8a9d310cd7a0..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-ak +++ /dev/null @@ -1,21 +0,0 @@ ---- agent/Makefile.in.orig Sun Nov 19 12:58:06 2000 -+++ agent/Makefile.in Wed Jan 17 18:37:02 2001 -@@ -68,10 +68,18 @@ - - libucdagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - $(LIB_LD_CMD) libucdagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS) -+ ld -Bshareable -soname libucdagent.$(LIB_EXTENSION)$(LIB_VERSION) \ -+ -o libucdagent.so ${LIBAGENTOBJS} -+ ln -f libucdagent.so \ -+ ../libucdagent.so.4 - $(RANLIB) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - - libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS} - $(LIB_LD_CMD) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) -+ ld -Bshareable -soname libucdmibs.so.4 \ -+ -o libucdmibs.so ${MIBOBJS} -+ ln -f libucdmibs.so \ -+ ../libucdmibs.so.4 - $(RANLIB) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - - clean: diff --git a/net-mgmt/net-snmp-devel/files/patch-al b/net-mgmt/net-snmp-devel/files/patch-al deleted file mode 100644 index c2464056b6bc..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-al +++ /dev/null @@ -1,29 +0,0 @@ ---- configure.in~ Sat May 6 01:46:26 2000 -+++ configure.in Wed May 17 11:09:08 2000 -@@ -1286,6 +1286,26 @@ - AC_CACHE_CHECK(type of rtentry structure,ac_cv_RTENTRY_TYPE, - [ - -+dnl 4.4 compatible but renamed on FreeBSD -+AC_TRY_COMPILE([ -+#include <sys/types.h> -+#define KERNEL -+#define _KERNEL -+#include <sys/socket.h> -+#undef KERNEL -+#undef _KERNEL -+#include <net/route.h> -+],[ -+ -+#ifndef STRUCT_RTENTRY_HAS_RT_DST -+#define rt_dst rt_nodes->rn_key -+#endif -+ -+ struct rtentry rt; -+ rt.rt_nodes[0].rn_bit = 1; -+ rt.rt_dst; -+ ], ac_cv_RTENTRY_TYPE="BSD-4.4") -+ - dnl 4.4 compat - AC_TRY_COMPILE([ - #include <sys/types.h> diff --git a/net-mgmt/net-snmp-devel/files/patch-ao b/net-mgmt/net-snmp-devel/files/patch-ao deleted file mode 100644 index 9ba64ec94695..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-ao +++ /dev/null @@ -1,11 +0,0 @@ ---- agent/mibgroup/host/hr_filesys.c.orig Wed Jan 17 19:09:48 2001 -+++ agent/mibgroup/host/hr_filesys.c Wed Jan 17 19:10:22 2001 -@@ -38,7 +38,7 @@ - #include <stdlib.h> - #endif - --#if defined(freebsd3) || defined(bsdi4) -+#if defined(freebsd3) || defined(bsdi4) || defined(freebsd4) || defined(freebsd5) - #if HAVE_GETFSSTAT - #if defined(MFSNAMELEN) - #define MOUNT_NFS "nfs" diff --git a/net-mgmt/net-snmp-devel/files/patch-ap b/net-mgmt/net-snmp-devel/files/patch-ap deleted file mode 100644 index 4d2ec3fa92ab..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-ap +++ /dev/null @@ -1,11 +0,0 @@ ---- man/Makefile.in.orig Thu Jan 18 01:37:31 2001 -+++ man/Makefile.in Thu Jan 18 01:37:39 2001 -@@ -2,7 +2,7 @@ - - MAN1 = snmpcmd.1 snmpget.1 snmpset.1 snmpwalk.1 snmpbulkwalk.1 snmpbulkget.1 \ - snmpgetnext.1 snmptest.1 snmpnetstat.1 snmptranslate.1 snmpstatus.1 \ -- snmptrap.1 snmpdelta.1 snmptable.1 snmpusm.1 snmpinform.1 snmpdf.1 -+ snmptrap.1 snmpdelta.1 snmptable.1 snmpusm.1 snmpinform.1 snmpdf.1 snmpconf.1 - MAN1G = snmpd.1 - MAN3 = snmp_agent_api.3 snmp_api.3 mib_api.3 snmp_sess_api.3 snmp_trap_api.3 \ - snmp_alarm.3 snmp_close.3 snmp_free_pdu.3 snmp_open.3 snmp_read.3 \ diff --git a/net-mgmt/net-snmp-devel/files/patch-hr_swrun.c b/net-mgmt/net-snmp-devel/files/patch-hr_swrun.c deleted file mode 100644 index bd81ed25a52e..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-hr_swrun.c +++ /dev/null @@ -1,309 +0,0 @@ ---- agent/mibgroup/host/hr_swrun.c.orig Tue Oct 3 13:36:38 2000 -+++ agent/mibgroup/host/hr_swrun.c Fri Feb 2 11:27:39 2001 -@@ -216,15 +216,15 @@ - if ( pid == -1 ) - break; - newname[HRSWRUN_ENTRY_NAME_LENGTH] = pid; -- DEBUGMSGOID(("host/hr_swrun", newname, *length)); -- DEBUGMSG(("host/hr_swrun","\n")); -+ DEBUGMSGOID(("host/hr_swrun", newname, *length)); -+ DEBUGMSG(("host/hr_swrun","\n")); - result = snmp_oid_compare(name, *length, newname, vp->namelen + 1); - if (exact && (result == 0)) { - LowPid = pid; - #ifndef linux - LowProcIndex = current_proc_entry-1; - #endif --DEBUGMSGTL(("host/hr_swrun", " saved\n")); -+ DEBUGMSGTL(("host/hr_swrun", " saved\n")); - /* Save process status information */ - break; - } -@@ -235,9 +235,9 @@ - LowProcIndex = current_proc_entry-1; - #endif - /* Save process status information */ --DEBUGMSG(("host/hr_swrun", " saved")); -+ DEBUGMSG(("host/hr_swrun", " saved")); - } --DEBUGMSG(("host/hr_swrun", "\n")); -+ DEBUGMSG(("host/hr_swrun", "\n")); - } - - if ( LowPid == -1 ) { -@@ -279,16 +279,16 @@ - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ - static psinfo_t psinfo; -- static psinfo_t *proc_buf = &psinfo; -+ static psinfo_t *proc_buf; - int procfd; - char procfn[sizeof "/proc/00000/psinfo"]; - #else - static struct proc *proc_buf; -+ char *cp1; - #endif /* _SLASH_PROC_METHOD_ */ - static time_t when = 0; - time_t now; - static int oldpid = -1; -- char *cp1; - #endif - #if HAVE_KVM_GETPROCS - char **argv; -@@ -321,10 +321,13 @@ - } - if (oldpid != pid || proc_buf == NULL) { - #if _SLASH_PROC_METHOD_ -+ proc_buf = &psinfo; - sprintf(procfn, "/proc/%.5d/psinfo", pid); -- if ((procfd = open(procfn, O_RDONLY)) == -1) return NULL; -- if (read(procfd, proc_buf, sizeof(*proc_buf)) != sizeof(*proc_buf)) abort(); -- close(procfd); -+ if ((procfd = open(procfn, O_RDONLY)) != -1) { -+ if (read(procfd, proc_buf, sizeof(*proc_buf)) != sizeof(*proc_buf)) abort(); -+ close(procfd); -+ } else -+ proc_buf = NULL; - #else - if (kd == NULL) return NULL; - if ((proc_buf = kvm_getproc(kd, pid)) == NULL) return NULL; -@@ -340,8 +343,8 @@ - return NULL; - #else - long_return = 1; /* Probably! */ --#endif - return (u_char *)&long_return; -+#endif - - case HRSWRUN_INDEX: - long_return = pid; -@@ -354,12 +357,19 @@ - *cp = '\0'; - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- strcpy(string, proc_buf->pr_fname); -+ if (proc_buf) -+ strcpy(string, proc_buf->pr_fname); -+ else -+ strcpy(string, "<exited>"); - #else - strcpy(string, proc_buf->p_user.u_comm); - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/status", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -398,7 +408,10 @@ - *cp = '\0'; - #elif defined(solaris2) - #ifdef _SLASH_PROC_METHOD_ -- strcpy(string, proc_buf->pr_psargs); -+ if (proc_buf) -+ strcpy(string, proc_buf->pr_psargs); -+ else -+ sprintf(string, "<exited>"); - cp = strchr(string, ' '); - if (cp) *cp = 0; - #else -@@ -408,7 +421,11 @@ - *cp1 = 0; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/cmdline", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -448,9 +465,12 @@ - string[0] = '\0'; - #elif defined(solaris2) - #ifdef _SLASH_PROC_METHOD_ -- cp = strchr(proc_buf->pr_psargs, ' '); -- if (cp) strcpy(string, cp+1); -- else string[0] = 0; -+ if (proc_buf) { -+ cp = strchr(proc_buf->pr_psargs, ' '); -+ if (cp) strcpy(string, cp+1); -+ else string[0] = 0; -+ } else -+ string[0] = 0; - #else - cp = proc_buf->p_user.u_psargs; - while (*cp && *cp != ' ') cp++; -@@ -470,9 +490,15 @@ - sprintf( string, "/proc/%d/cmdline", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; - memset( buf, 0, sizeof(buf) ); -- if(!fgets( buf, sizeof(buf)-2, fp )) -- return NULL; /* argv[0] '\0' argv[1] '\0' .... */ - -+ /* argv[0] '\0' argv[1] '\0' .... */ -+ if(!fgets( buf, sizeof(buf)-2, fp )) { -+ /* maybe be empty (even argv[0] is missing) */ -+ string[0] = '\0'; -+ *var_len = 0; -+ return string; -+ } -+ - /* Skip over argv[0] */ - cp = buf; - while ( *cp ) -@@ -531,10 +557,14 @@ - } - #else - #if HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ switch ( proc_table[LowProcIndex].ki_stat ) { -+#else - switch ( proc_table[LowProcIndex].kp_proc.p_stat ) { -+#endif - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- switch (proc_buf->pr_lwp.pr_state) { -+ switch (proc_buf ? proc_buf->pr_lwp.pr_state : SIDL) { - #else - switch ( proc_buf->p_stat ) { - #endif -@@ -566,32 +596,34 @@ - #endif - #else - sprintf( string, "/proc/%d/stat", pid ); -- if ((fp = fopen( string, "r")) == NULL) return NULL; -- fgets( buf, sizeof(buf), fp ); -- cp = buf; -- for ( i = 0 ; i < 2 ; ++i ) { /* skip two fields */ -- while ( *cp != ' ') -+ if ((fp = fopen( string, "r")) != NULL) { -+ fgets( buf, sizeof(buf), fp ); -+ cp = buf; -+ for ( i = 0 ; i < 2 ; ++i ) { /* skip two fields */ -+ while ( *cp != ' ') -+ ++cp; - ++cp; -- ++cp; -- } -+ } - -- switch ( *cp ) { -- case 'R': -+ switch ( *cp ) { -+ case 'R': - long_return = 1; /* running */ - break; -- case 'S': -+ case 'S': - long_return = 2; /* runnable */ - break; -- case 'D': -- case 'T': -+ case 'D': -+ case 'T': - long_return = 3; /* notRunnable */ - break; -- case 'Z': -- default: -+ case 'Z': -+ default: - long_return = 4; /* invalid */ - break; -- } -- fclose(fp); -+ } -+ fclose(fp); -+ } else -+ long_return = 4; /* invalid */ - #endif - return (u_char *)&long_return; - -@@ -603,16 +635,24 @@ - */ - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- long_return = proc_buf->pr_time.tv_sec * 100 + -- proc_buf->pr_time.tv_nsec/10000000; -+ long_return = proc_buf ? proc_buf->pr_time.tv_sec * 100 + -+ proc_buf->pr_time.tv_nsec/10000000 : 0; - #else - long_return = proc_buf->p_utime*100 + - proc_buf->p_stime*100; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX: Accessing ki_paddr causes sig10 ... -+ long_return = proc_table[LowProcIndex].ki_paddr->p_uticks + -+ proc_table[LowProcIndex].ki_paddr->p_sticks + -+ proc_table[LowProcIndex].ki_paddr->p_iticks; */ -+ long_return = 0; -+#else - long_return = proc_table[LowProcIndex].kp_proc.p_uticks + - proc_table[LowProcIndex].kp_proc.p_sticks + - proc_table[LowProcIndex].kp_proc.p_iticks; -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/stat", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -645,13 +685,20 @@ - long_return = (proc_buf.pst_rssize << PGSHIFT)/1024; - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- long_return = proc_buf->pr_rssize; -+ long_return = proc_buf ? proc_buf->pr_rssize : 0; - #else - long_return = proc_buf->p_swrss; - #endif - #elif HAVE_KVM_GETPROCS --#ifdef freebsd3 -+#if defined(freebsd3) - long_return = proc_table[LowProcIndex].kp_eproc.e_vm.vm_map.size/1024; -+#elif defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX -+ long_return = proc_table[LowProcIndex].ki_vmspace->vm_tsize + -+ proc_table[LowProcIndex].ki_vmspace->vm_ssize + -+ proc_table[LowProcIndex].ki_vmspace->vm_dsize; -+ long_return = long_return * (getpagesize() / 1024); */ -+ long_return = 0; - #else - long_return = proc_table[LowProcIndex].kp_eproc.e_vm.vm_tsize + - proc_table[LowProcIndex].kp_eproc.e_vm.vm_ssize + -@@ -747,6 +794,10 @@ - } - #elif HAVE_KVM_GETPROCS - { -+ if (kd == NULL) { -+ nproc = 0; -+ return; -+ } - proc_table = kvm_getprocs(kd, KERN_PROC_ALL, 0, &nproc); - } - #else -@@ -794,8 +845,13 @@ - #elif defined(solaris2) - return proc_table[current_proc_entry++]; - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ if ( proc_table[current_proc_entry].ki_stat != 0 ) -+ return proc_table[current_proc_entry++].ki_pid; -+#else - if ( proc_table[current_proc_entry].kp_proc.p_stat != 0 ) - return proc_table[current_proc_entry++].kp_proc.p_pid; -+#endif - #else - if ( proc_table[current_proc_entry].p_stat != 0 ) - return proc_table[current_proc_entry++].p_pid; -@@ -853,7 +909,7 @@ - - int count_processes (void) - { --#ifndef linux -+#if !(defined(linux) || defined(hpux10) || defined(solaris2) || HAVE_KVM_GETPROCS) - int i; - #endif - int total=0; diff --git a/net-mgmt/net-snmp-devel/files/snmpd.sh.sample b/net-mgmt/net-snmp-devel/files/snmpd.sh.sample deleted file mode 100644 index 71f8b504ce81..000000000000 --- a/net-mgmt/net-snmp-devel/files/snmpd.sh.sample +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - [ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && echo -n ' snmpd' - ;; -stop) - killall snmpd && echo -n ' snmpd' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 diff --git a/net-mgmt/net-snmp-devel/pkg-comment b/net-mgmt/net-snmp-devel/pkg-comment deleted file mode 100644 index fbaaa7ab347c..000000000000 --- a/net-mgmt/net-snmp-devel/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -An extendable SNMP implimentation diff --git a/net-mgmt/net-snmp-devel/pkg-descr b/net-mgmt/net-snmp-devel/pkg-descr deleted file mode 100644 index d7c5d86a1b58..000000000000 --- a/net-mgmt/net-snmp-devel/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -This is UCD SNMP, a derivative of CMU's SNMP package. - -Various tools relating to the Simple Network Management Protocol including: - - An extensible agent - An SNMP library - tools to request or set information from SNMP agents - tools to generate and handle SNMP traps - a version of the unix 'netstat' command using SNMP - a Tk/perl mib browser - -WWW: http://net-snmp.sourceforge.net/ diff --git a/net-mgmt/net-snmp-devel/pkg-plist b/net-mgmt/net-snmp-devel/pkg-plist deleted file mode 100644 index 013bd98a5326..000000000000 --- a/net-mgmt/net-snmp-devel/pkg-plist +++ /dev/null @@ -1,142 +0,0 @@ -bin/encode_keychange -bin/mib2c -bin/snmpbulkget -bin/snmpbulkwalk -bin/snmpcheck -bin/snmpconf -bin/snmpdelta -bin/snmpdf -bin/snmpget -bin/snmpgetnext -bin/snmpinform -bin/snmpnetstat -bin/snmpset -bin/snmpstatus -bin/snmptable -bin/snmptest -bin/snmptranslate -bin/snmptrap -bin/snmpusm -bin/snmpvacm -bin/snmpwalk -bin/tkmib -etc/rc.d/snmpd.sh -include/ucd-snmp/agent_index.h -include/ucd-snmp/agent_read_config.h -include/ucd-snmp/agent_registry.h -include/ucd-snmp/agent_trap.h -include/ucd-snmp/asn1.h -include/ucd-snmp/auto_nlist.h -include/ucd-snmp/callback.h -include/ucd-snmp/default_store.h -include/ucd-snmp/ds_agent.h -include/ucd-snmp/header_complex.h -include/ucd-snmp/int64.h -include/ucd-snmp/keytools.h -include/ucd-snmp/mib.h -include/ucd-snmp/mibincl.h -include/ucd-snmp/parse.h -include/ucd-snmp/read_config.h -include/ucd-snmp/scapi.h -include/ucd-snmp/snmp.h -include/ucd-snmp/snmp_agent.h -include/ucd-snmp/snmp_alarm.h -include/ucd-snmp/snmp_api.h -include/ucd-snmp/snmp_client.h -include/ucd-snmp/snmp_debug.h -include/ucd-snmp/snmp_impl.h -include/ucd-snmp/snmp_logging.h -include/ucd-snmp/snmp_parse_args.h -include/ucd-snmp/snmp_vars.h -include/ucd-snmp/snmpusm.h -include/ucd-snmp/snmpv3.h -include/ucd-snmp/struct.h -include/ucd-snmp/system.h -include/ucd-snmp/tools.h -include/ucd-snmp/transform_oids.h -include/ucd-snmp/ucd-snmp-agent-includes.h -include/ucd-snmp/ucd-snmp-config.h -include/ucd-snmp/ucd-snmp-includes.h -include/ucd-snmp/util_funcs.h -include/ucd-snmp/var_struct.h -include/ucd-snmp/version.h -@dirrm include/ucd-snmp -lib/libsnmp.a -lib/libsnmp.so -lib/libsnmp.so.%%shlib%% -lib/libucdagent.a -lib/libucdagent.so -lib/libucdagent.so.%%shlib%% -lib/libucdmibs.a -lib/libucdmibs.so -lib/libucdmibs.so.%%shlib%% -sbin/snmpd -sbin/snmptrapd -share/examples/ucd-snmp/EXAMPLE.conf -share/examples/ucd-snmp/ucdDemoPublic.conf -@dirrm share/examples/ucd-snmp -share/snmp/mib2c.conf -share/snmp/mib2c.storage.conf -share/snmp/mib2c.vartypes.conf -share/snmp/mibs/AGENTX-MIB.txt -share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt -share/snmp/mibs/DISMAN-SCRIPT-MIB.txt -share/snmp/mibs/EtherLike-MIB.txt -share/snmp/mibs/HCNUM-TC.txt -share/snmp/mibs/HOST-RESOURCES-MIB.txt -share/snmp/mibs/HOST-RESOURCES-TYPES.txt -share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt -share/snmp/mibs/IANA-LANGUAGE-MIB.txt -share/snmp/mibs/IANAifType-MIB.txt -share/snmp/mibs/IF-INVERTED-STACK-MIB.txt -share/snmp/mibs/IF-MIB.txt -share/snmp/mibs/INET-ADDRESS-MIB.txt -share/snmp/mibs/IP-MIB.txt -share/snmp/mibs/IP-FORWARD-MIB.txt -share/snmp/mibs/IPV6-ICMP-MIB.txt -share/snmp/mibs/IPV6-MIB.txt -share/snmp/mibs/IPV6-TC.txt -share/snmp/mibs/IPV6-TCP-MIB.txt -share/snmp/mibs/IPV6-UDP-MIB.txt -share/snmp/mibs/RFC1155-SMI.txt -share/snmp/mibs/RFC1213-MIB.txt -share/snmp/mibs/RFC-1215.txt -share/snmp/mibs/RMON-MIB.txt -share/snmp/mibs/SMUX-MIB.txt -share/snmp/mibs/SNMP-COMMUNITY-MIB.txt -share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt -share/snmp/mibs/SNMP-MPD-MIB.txt -share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt -share/snmp/mibs/SNMP-PROXY-MIB.txt -share/snmp/mibs/SNMP-TARGET-MIB.txt -share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt -share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt -share/snmp/mibs/SNMPv2-CONF.txt -share/snmp/mibs/SNMPv2-MIB.txt -share/snmp/mibs/SNMPv2-SMI.txt -share/snmp/mibs/SNMPv2-TC.txt -share/snmp/mibs/SNMPv2-TM.txt -share/snmp/mibs/TCP-MIB.txt -share/snmp/mibs/UCD-DEMO-MIB.txt -share/snmp/mibs/UCD-DISKIO-MIB.txt -share/snmp/mibs/UCD-DLMOD-MIB.txt -share/snmp/mibs/UCD-IPFWACC-MIB.txt -share/snmp/mibs/UCD-SNMP-MIB.txt -share/snmp/mibs/UDP-MIB.txt -share/snmp/snmpconf/snmp.conf/authopts -share/snmp/snmpconf/snmp.conf/debugging -share/snmp/snmpconf/snmp.conf/mibs -share/snmp/snmpconf/snmp.conf/output -share/snmp/snmpconf/snmpd.conf/acl -share/snmp/snmpconf/snmpd.conf/basic_setup -share/snmp/snmpconf/snmpd.conf/extending -share/snmp/snmpconf/snmpd.conf/monitor -share/snmp/snmpconf/snmpd.conf/operation -share/snmp/snmpconf/snmpd.conf/system -share/snmp/snmpconf/snmpd.conf/trapsinks -@unexec rm -f %D/share/snmp/mibs/.index -@dirrm share/snmp/mibs -@dirrm share/snmp/snmpconf/snmp.conf -@dirrm share/snmp/snmpconf/snmpd.conf -@dirrm share/snmp/snmpconf -@dirrm share/snmp diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile deleted file mode 100644 index c64556f88633..000000000000 --- a/net-mgmt/net-snmp/Makefile +++ /dev/null @@ -1,82 +0,0 @@ -# New ports collection makefile for: ucd-snmp -# Date created: 26 June 1996 -# Whom: gpalmer -# -# $FreeBSD$ -# - -PORTNAME= ucd-snmp -PORTVERSION= 4.2 -CATEGORIES= net ipv6 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ - ftp://ucd-snmp.ucdavis.edu/ \ - ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ - ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ -MASTER_SITE_SUBDIR= net-snmp - -MAINTAINER= billf@FreeBSD.org - -USE_AUTOCONF= yes -USE_LIBTOOL= yes -INSTALLS_SHLIB= yes -LIBTOOLFLAGS= --disable-ltlibs --release-ignore - -CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host" --with-gnu-ld -.if defined(BATCH) -CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where -.else -IS_INTERACTIVE= yes -.endif - -MAN1= snmpbulkget.1 snmpbulkwalk.1 snmpcmd.1 snmpconf.1 snmpd.1 \ - snmpdelta.1 snmpdf.1 snmpget.1 snmpgetnext.1 snmpinform.1 \ - snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ - snmptranslate.1 snmptrap.1 snmpusm.1 snmpwalk.1 -MAN3= add_mibdir.3 add_module_replacement.3 default_store.3 \ - get_module_node.3 init_mib.3 init_mib_internals.3 mib_api.3 \ - print_description.3 print_mib.3 print_objid.3 print_value.3 \ - print_variable.3 read_all_mibs.3 read_config.3 read_mib.3 \ - read_module.3 read_module_node.3 read_objid.3 shutdown_mib.3 \ - snmp_agent_api.3 snmp_alarm.3 snmp_api.3 snmp_close.3 \ - snmp_free_pdu.3 snmp_open.3 snmp_read.3 snmp_select_info.3 \ - snmp_send.3 snmp_sess_api.3 snmp_sess_async_send.3 \ - snmp_sess_close.3 snmp_sess_error.3 snmp_sess_init.3 \ - snmp_sess_open.3 snmp_sess_read.3 snmp_sess_select_info.3 \ - snmp_sess_send.3 snmp_sess_session.3 snmp_sess_timeout.3 \ - snmp_set_mib_warnings.3 snmp_set_save_descriptions.3 \ - snmp_timeout.3 snmp_trap_api.3 -MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ - snmptrapd.conf.5 variables.5 -MAN8= snmptrapd.8 -BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ - snmpstatus snmptest snmptranslate snmptrap snmpwalk -SBIN= snmpd snmptrapd - -STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 400014 -CONFIGURE_ARGS+= --enable-ipv6 -.endif - -SHLIB_VERSION= 4 -PLIST_SUB+= shlib=${SHLIB_VERSION} - -post-patch: - @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s - -post-install: - @( cd ${PREFIX}/bin && strip ${BIN} ) - @( cd ${PREFIX}/sbin && strip ${SBIN} ) - @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) - @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * ) - @${MKDIR} ${PREFIX}/share/examples/ucd-snmp - @for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; do \ - ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done - @if [ ! -f ${STARTUP_FILE} ]; then \ - ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ - ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${STARTUP_FILE}; \ - fi - -.include <bsd.port.post.mk> diff --git a/net-mgmt/net-snmp/distinfo b/net-mgmt/net-snmp/distinfo deleted file mode 100644 index bda76becbe98..000000000000 --- a/net-mgmt/net-snmp/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ucd-snmp-4.2.tar.gz) = 7370edec952a6830459948d9808da7cb diff --git a/net-mgmt/net-snmp/files/freebsd4.h b/net-mgmt/net-snmp/files/freebsd4.h deleted file mode 100644 index e0774c7e4cd6..000000000000 --- a/net-mgmt/net-snmp/files/freebsd4.h +++ /dev/null @@ -1 +0,0 @@ -#include "freebsd3.h" diff --git a/net-mgmt/net-snmp/files/patch-Makefile.top b/net-mgmt/net-snmp/files/patch-Makefile.top deleted file mode 100644 index 2ecdb3d91c59..000000000000 --- a/net-mgmt/net-snmp/files/patch-Makefile.top +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.top.orig Mon Nov 20 05:58:05 2000 -+++ Makefile.top Thu Feb 8 01:21:42 2001 -@@ -51,7 +51,7 @@ - # Misc Compiling Stuff - CC = @CC@ - # version number is prefixed by a 0 for a better shared library version number --LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release 0.$(VERSION) -o -+LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release $(VERSION).0 -version-info 4 -o - LIB_EXTENSION = la - LIB_VERSION = - LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir) diff --git a/net-mgmt/net-snmp/files/patch-aa b/net-mgmt/net-snmp/files/patch-aa deleted file mode 100644 index 6c287d18ac93..000000000000 --- a/net-mgmt/net-snmp/files/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ ---- snmplib/Makefile.in.orig Mon Oct 2 11:41:46 2000 -+++ snmplib/Makefile.in Wed Jan 17 18:29:44 2001 -@@ -70,6 +70,10 @@ - - libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} - $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} -+ ld -Bshareable -soname libsnmp.so.4 \ -+ -o libsnmp.so ${OBJS} -+ ln -f libsnmp.so \ -+ ../libsnmp.so.4 - $(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) - - installdirs: diff --git a/net-mgmt/net-snmp/files/patch-ab b/net-mgmt/net-snmp/files/patch-ab deleted file mode 100644 index 4a8f9a65a244..000000000000 --- a/net-mgmt/net-snmp/files/patch-ab +++ /dev/null @@ -1,56 +0,0 @@ ---- agent/mibgroup/ucd-snmp/disk.c~ Fri Mar 5 08:45:00 1999 -+++ agent/mibgroup/ucd-snmp/disk.c Sat Apr 3 13:33:11 1999 -@@ -24,12 +24,12 @@ - #include <sys/vmmeter.h> - #endif - #endif --#if HAVE_SYS_CONF_H --#include <sys/conf.h> --#endif - #if HAVE_SYS_PARAM_H - #include <sys/param.h> - #endif -+#if HAVE_SYS_CONF_H -+#include <sys/conf.h> -+#endif - #if HAVE_ASM_PAGE_H - #include <asm/page.h> - #endif -@@ -86,6 +86,7 @@ - #include <vm/vm.h> - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/errormib.c~ Tue Mar 2 05:27:30 1999 -+++ agent/mibgroup/ucd-snmp/errormib.c Sat Apr 3 13:33:44 1999 -@@ -93,6 +93,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/extensible.c~ Fri Mar 5 08:45:01 1999 -+++ agent/mibgroup/ucd-snmp/extensible.c Sat Apr 3 13:34:13 1999 -@@ -81,6 +81,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/loadave.c~ Tue Mar 16 08:21:02 1999 -+++ agent/mibgroup/ucd-snmp/loadave.c Sat Apr 3 13:34:39 1999 -@@ -80,6 +80,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H diff --git a/net-mgmt/net-snmp/files/patch-ad b/net-mgmt/net-snmp/files/patch-ad deleted file mode 100644 index bd85f7453919..000000000000 --- a/net-mgmt/net-snmp/files/patch-ad +++ /dev/null @@ -1,47 +0,0 @@ ---- agent/mibgroup/mibII/interfaces.c.orig Fri Dec 1 14:17:21 2000 -+++ agent/mibgroup/mibII/interfaces.c Thu Jan 18 00:04:42 2001 -@@ -129,7 +129,7 @@ - #if HAVE_SYS_SYSCTL_H - #include <sys/sysctl.h> - --#ifdef freebsd3 -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) - # define USE_SYSCTL_IFLIST - #else - # if defined(CTL_NET) && !defined(freebsd2) -@@ -1842,10 +1842,18 @@ - physaddrbuf = 0; - } - ifm = (struct if_msghdr *)rtm; -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) -+ if (physaddrs != 0) physaddrs[naddrs] = (void*)(ifm + 1); -+ naddrs++; -+#endif - ilen -= ifm->ifm_msglen; - cp += ifm->ifm_msglen; - rtm = (struct rt_msghdr *)cp; - while (ilen > 0 && rtm->rtm_type == RTM_NEWADDR) { -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) -+ ilen -= rtm->rtm_msglen; -+ cp += rtm->rtm_msglen; -+#else - int is_alias = 0; - ifam = (struct ifa_msghdr *)rtm; - ilen -= sizeof(*ifam); -@@ -1868,6 +1876,7 @@ - } - sa = (struct sockaddr *)cp; - } -+#endif - rtm = (struct rt_msghdr *)cp; - } - } -@@ -1982,7 +1991,7 @@ - if (ifmd.ifmd_data.ifi_lastchange.tv_sec == 0 && - ifmd.ifmd_data.ifi_lastchange.tv_usec == 0) { - long_return = 0; -- else if (ifmd.ifmd_data.ifi_lastchange.tv_sec < starttime.tv_sec) -+ } else if (ifmd.ifmd_data.ifi_lastchange.tv_sec < starttime.tv_sec) { - long_return = 0; - } else { - long_return = (u_long) diff --git a/net-mgmt/net-snmp/files/patch-af b/net-mgmt/net-snmp/files/patch-af deleted file mode 100644 index 546933895230..000000000000 --- a/net-mgmt/net-snmp/files/patch-af +++ /dev/null @@ -1,14 +0,0 @@ ---- agent/mibgroup/ucd_snmp.h.orig Fri Feb 26 03:03:41 1999 -+++ agent/mibgroup/ucd_snmp.h Sun Apr 4 13:52:23 1999 -@@ -18,5 +18,11 @@ - config_arch_require(bsdi3, ucd-snmp/memory) - config_arch_require(linux, ucd-snmp/vmstat) - config_arch_require(freebsd2, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd3, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd4, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2) - config_arch_require(freebsd2, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd3, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd4, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd5, ucd-snmp/memory_freebsd2) - config_add_mib(UCD-SNMP-MIB) diff --git a/net-mgmt/net-snmp/files/patch-ag b/net-mgmt/net-snmp/files/patch-ag deleted file mode 100644 index 4f8dbd1fe650..000000000000 --- a/net-mgmt/net-snmp/files/patch-ag +++ /dev/null @@ -1,11 +0,0 @@ ---- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 -+++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 -@@ -4,7 +4,7 @@ - #include <netinet/in.h> - - /* uncomment if you don't have in_addr_t in netinet/in.h */ --/* typedef u_int in_addr_t; */ -+typedef u_int in_addr_t; - - #include <ucd-snmp/asn1.h> - #include <ucd-snmp/snmp_api.h> diff --git a/net-mgmt/net-snmp/files/patch-ah b/net-mgmt/net-snmp/files/patch-ah deleted file mode 100644 index 194cbf3574b9..000000000000 --- a/net-mgmt/net-snmp/files/patch-ah +++ /dev/null @@ -1,7 +0,0 @@ ---- local/tkmib~ Wed Jul 26 08:53:26 2000 -+++ local/tkmib Wed Jan 17 18:32:52 2001 -@@ -1,4 +1,3 @@ --#!/usr/bin/perl - #!/usr/bin/perl -w - - require 5; diff --git a/net-mgmt/net-snmp/files/patch-ak b/net-mgmt/net-snmp/files/patch-ak deleted file mode 100644 index 8a9d310cd7a0..000000000000 --- a/net-mgmt/net-snmp/files/patch-ak +++ /dev/null @@ -1,21 +0,0 @@ ---- agent/Makefile.in.orig Sun Nov 19 12:58:06 2000 -+++ agent/Makefile.in Wed Jan 17 18:37:02 2001 -@@ -68,10 +68,18 @@ - - libucdagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - $(LIB_LD_CMD) libucdagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS) -+ ld -Bshareable -soname libucdagent.$(LIB_EXTENSION)$(LIB_VERSION) \ -+ -o libucdagent.so ${LIBAGENTOBJS} -+ ln -f libucdagent.so \ -+ ../libucdagent.so.4 - $(RANLIB) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - - libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS} - $(LIB_LD_CMD) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) -+ ld -Bshareable -soname libucdmibs.so.4 \ -+ -o libucdmibs.so ${MIBOBJS} -+ ln -f libucdmibs.so \ -+ ../libucdmibs.so.4 - $(RANLIB) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - - clean: diff --git a/net-mgmt/net-snmp/files/patch-al b/net-mgmt/net-snmp/files/patch-al deleted file mode 100644 index c2464056b6bc..000000000000 --- a/net-mgmt/net-snmp/files/patch-al +++ /dev/null @@ -1,29 +0,0 @@ ---- configure.in~ Sat May 6 01:46:26 2000 -+++ configure.in Wed May 17 11:09:08 2000 -@@ -1286,6 +1286,26 @@ - AC_CACHE_CHECK(type of rtentry structure,ac_cv_RTENTRY_TYPE, - [ - -+dnl 4.4 compatible but renamed on FreeBSD -+AC_TRY_COMPILE([ -+#include <sys/types.h> -+#define KERNEL -+#define _KERNEL -+#include <sys/socket.h> -+#undef KERNEL -+#undef _KERNEL -+#include <net/route.h> -+],[ -+ -+#ifndef STRUCT_RTENTRY_HAS_RT_DST -+#define rt_dst rt_nodes->rn_key -+#endif -+ -+ struct rtentry rt; -+ rt.rt_nodes[0].rn_bit = 1; -+ rt.rt_dst; -+ ], ac_cv_RTENTRY_TYPE="BSD-4.4") -+ - dnl 4.4 compat - AC_TRY_COMPILE([ - #include <sys/types.h> diff --git a/net-mgmt/net-snmp/files/patch-ao b/net-mgmt/net-snmp/files/patch-ao deleted file mode 100644 index 9ba64ec94695..000000000000 --- a/net-mgmt/net-snmp/files/patch-ao +++ /dev/null @@ -1,11 +0,0 @@ ---- agent/mibgroup/host/hr_filesys.c.orig Wed Jan 17 19:09:48 2001 -+++ agent/mibgroup/host/hr_filesys.c Wed Jan 17 19:10:22 2001 -@@ -38,7 +38,7 @@ - #include <stdlib.h> - #endif - --#if defined(freebsd3) || defined(bsdi4) -+#if defined(freebsd3) || defined(bsdi4) || defined(freebsd4) || defined(freebsd5) - #if HAVE_GETFSSTAT - #if defined(MFSNAMELEN) - #define MOUNT_NFS "nfs" diff --git a/net-mgmt/net-snmp/files/patch-ap b/net-mgmt/net-snmp/files/patch-ap deleted file mode 100644 index 4d2ec3fa92ab..000000000000 --- a/net-mgmt/net-snmp/files/patch-ap +++ /dev/null @@ -1,11 +0,0 @@ ---- man/Makefile.in.orig Thu Jan 18 01:37:31 2001 -+++ man/Makefile.in Thu Jan 18 01:37:39 2001 -@@ -2,7 +2,7 @@ - - MAN1 = snmpcmd.1 snmpget.1 snmpset.1 snmpwalk.1 snmpbulkwalk.1 snmpbulkget.1 \ - snmpgetnext.1 snmptest.1 snmpnetstat.1 snmptranslate.1 snmpstatus.1 \ -- snmptrap.1 snmpdelta.1 snmptable.1 snmpusm.1 snmpinform.1 snmpdf.1 -+ snmptrap.1 snmpdelta.1 snmptable.1 snmpusm.1 snmpinform.1 snmpdf.1 snmpconf.1 - MAN1G = snmpd.1 - MAN3 = snmp_agent_api.3 snmp_api.3 mib_api.3 snmp_sess_api.3 snmp_trap_api.3 \ - snmp_alarm.3 snmp_close.3 snmp_free_pdu.3 snmp_open.3 snmp_read.3 \ diff --git a/net-mgmt/net-snmp/files/patch-hr_swrun.c b/net-mgmt/net-snmp/files/patch-hr_swrun.c deleted file mode 100644 index bd81ed25a52e..000000000000 --- a/net-mgmt/net-snmp/files/patch-hr_swrun.c +++ /dev/null @@ -1,309 +0,0 @@ ---- agent/mibgroup/host/hr_swrun.c.orig Tue Oct 3 13:36:38 2000 -+++ agent/mibgroup/host/hr_swrun.c Fri Feb 2 11:27:39 2001 -@@ -216,15 +216,15 @@ - if ( pid == -1 ) - break; - newname[HRSWRUN_ENTRY_NAME_LENGTH] = pid; -- DEBUGMSGOID(("host/hr_swrun", newname, *length)); -- DEBUGMSG(("host/hr_swrun","\n")); -+ DEBUGMSGOID(("host/hr_swrun", newname, *length)); -+ DEBUGMSG(("host/hr_swrun","\n")); - result = snmp_oid_compare(name, *length, newname, vp->namelen + 1); - if (exact && (result == 0)) { - LowPid = pid; - #ifndef linux - LowProcIndex = current_proc_entry-1; - #endif --DEBUGMSGTL(("host/hr_swrun", " saved\n")); -+ DEBUGMSGTL(("host/hr_swrun", " saved\n")); - /* Save process status information */ - break; - } -@@ -235,9 +235,9 @@ - LowProcIndex = current_proc_entry-1; - #endif - /* Save process status information */ --DEBUGMSG(("host/hr_swrun", " saved")); -+ DEBUGMSG(("host/hr_swrun", " saved")); - } --DEBUGMSG(("host/hr_swrun", "\n")); -+ DEBUGMSG(("host/hr_swrun", "\n")); - } - - if ( LowPid == -1 ) { -@@ -279,16 +279,16 @@ - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ - static psinfo_t psinfo; -- static psinfo_t *proc_buf = &psinfo; -+ static psinfo_t *proc_buf; - int procfd; - char procfn[sizeof "/proc/00000/psinfo"]; - #else - static struct proc *proc_buf; -+ char *cp1; - #endif /* _SLASH_PROC_METHOD_ */ - static time_t when = 0; - time_t now; - static int oldpid = -1; -- char *cp1; - #endif - #if HAVE_KVM_GETPROCS - char **argv; -@@ -321,10 +321,13 @@ - } - if (oldpid != pid || proc_buf == NULL) { - #if _SLASH_PROC_METHOD_ -+ proc_buf = &psinfo; - sprintf(procfn, "/proc/%.5d/psinfo", pid); -- if ((procfd = open(procfn, O_RDONLY)) == -1) return NULL; -- if (read(procfd, proc_buf, sizeof(*proc_buf)) != sizeof(*proc_buf)) abort(); -- close(procfd); -+ if ((procfd = open(procfn, O_RDONLY)) != -1) { -+ if (read(procfd, proc_buf, sizeof(*proc_buf)) != sizeof(*proc_buf)) abort(); -+ close(procfd); -+ } else -+ proc_buf = NULL; - #else - if (kd == NULL) return NULL; - if ((proc_buf = kvm_getproc(kd, pid)) == NULL) return NULL; -@@ -340,8 +343,8 @@ - return NULL; - #else - long_return = 1; /* Probably! */ --#endif - return (u_char *)&long_return; -+#endif - - case HRSWRUN_INDEX: - long_return = pid; -@@ -354,12 +357,19 @@ - *cp = '\0'; - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- strcpy(string, proc_buf->pr_fname); -+ if (proc_buf) -+ strcpy(string, proc_buf->pr_fname); -+ else -+ strcpy(string, "<exited>"); - #else - strcpy(string, proc_buf->p_user.u_comm); - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/status", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -398,7 +408,10 @@ - *cp = '\0'; - #elif defined(solaris2) - #ifdef _SLASH_PROC_METHOD_ -- strcpy(string, proc_buf->pr_psargs); -+ if (proc_buf) -+ strcpy(string, proc_buf->pr_psargs); -+ else -+ sprintf(string, "<exited>"); - cp = strchr(string, ' '); - if (cp) *cp = 0; - #else -@@ -408,7 +421,11 @@ - *cp1 = 0; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/cmdline", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -448,9 +465,12 @@ - string[0] = '\0'; - #elif defined(solaris2) - #ifdef _SLASH_PROC_METHOD_ -- cp = strchr(proc_buf->pr_psargs, ' '); -- if (cp) strcpy(string, cp+1); -- else string[0] = 0; -+ if (proc_buf) { -+ cp = strchr(proc_buf->pr_psargs, ' '); -+ if (cp) strcpy(string, cp+1); -+ else string[0] = 0; -+ } else -+ string[0] = 0; - #else - cp = proc_buf->p_user.u_psargs; - while (*cp && *cp != ' ') cp++; -@@ -470,9 +490,15 @@ - sprintf( string, "/proc/%d/cmdline", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; - memset( buf, 0, sizeof(buf) ); -- if(!fgets( buf, sizeof(buf)-2, fp )) -- return NULL; /* argv[0] '\0' argv[1] '\0' .... */ - -+ /* argv[0] '\0' argv[1] '\0' .... */ -+ if(!fgets( buf, sizeof(buf)-2, fp )) { -+ /* maybe be empty (even argv[0] is missing) */ -+ string[0] = '\0'; -+ *var_len = 0; -+ return string; -+ } -+ - /* Skip over argv[0] */ - cp = buf; - while ( *cp ) -@@ -531,10 +557,14 @@ - } - #else - #if HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ switch ( proc_table[LowProcIndex].ki_stat ) { -+#else - switch ( proc_table[LowProcIndex].kp_proc.p_stat ) { -+#endif - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- switch (proc_buf->pr_lwp.pr_state) { -+ switch (proc_buf ? proc_buf->pr_lwp.pr_state : SIDL) { - #else - switch ( proc_buf->p_stat ) { - #endif -@@ -566,32 +596,34 @@ - #endif - #else - sprintf( string, "/proc/%d/stat", pid ); -- if ((fp = fopen( string, "r")) == NULL) return NULL; -- fgets( buf, sizeof(buf), fp ); -- cp = buf; -- for ( i = 0 ; i < 2 ; ++i ) { /* skip two fields */ -- while ( *cp != ' ') -+ if ((fp = fopen( string, "r")) != NULL) { -+ fgets( buf, sizeof(buf), fp ); -+ cp = buf; -+ for ( i = 0 ; i < 2 ; ++i ) { /* skip two fields */ -+ while ( *cp != ' ') -+ ++cp; - ++cp; -- ++cp; -- } -+ } - -- switch ( *cp ) { -- case 'R': -+ switch ( *cp ) { -+ case 'R': - long_return = 1; /* running */ - break; -- case 'S': -+ case 'S': - long_return = 2; /* runnable */ - break; -- case 'D': -- case 'T': -+ case 'D': -+ case 'T': - long_return = 3; /* notRunnable */ - break; -- case 'Z': -- default: -+ case 'Z': -+ default: - long_return = 4; /* invalid */ - break; -- } -- fclose(fp); -+ } -+ fclose(fp); -+ } else -+ long_return = 4; /* invalid */ - #endif - return (u_char *)&long_return; - -@@ -603,16 +635,24 @@ - */ - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- long_return = proc_buf->pr_time.tv_sec * 100 + -- proc_buf->pr_time.tv_nsec/10000000; -+ long_return = proc_buf ? proc_buf->pr_time.tv_sec * 100 + -+ proc_buf->pr_time.tv_nsec/10000000 : 0; - #else - long_return = proc_buf->p_utime*100 + - proc_buf->p_stime*100; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX: Accessing ki_paddr causes sig10 ... -+ long_return = proc_table[LowProcIndex].ki_paddr->p_uticks + -+ proc_table[LowProcIndex].ki_paddr->p_sticks + -+ proc_table[LowProcIndex].ki_paddr->p_iticks; */ -+ long_return = 0; -+#else - long_return = proc_table[LowProcIndex].kp_proc.p_uticks + - proc_table[LowProcIndex].kp_proc.p_sticks + - proc_table[LowProcIndex].kp_proc.p_iticks; -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/stat", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -645,13 +685,20 @@ - long_return = (proc_buf.pst_rssize << PGSHIFT)/1024; - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- long_return = proc_buf->pr_rssize; -+ long_return = proc_buf ? proc_buf->pr_rssize : 0; - #else - long_return = proc_buf->p_swrss; - #endif - #elif HAVE_KVM_GETPROCS --#ifdef freebsd3 -+#if defined(freebsd3) - long_return = proc_table[LowProcIndex].kp_eproc.e_vm.vm_map.size/1024; -+#elif defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX -+ long_return = proc_table[LowProcIndex].ki_vmspace->vm_tsize + -+ proc_table[LowProcIndex].ki_vmspace->vm_ssize + -+ proc_table[LowProcIndex].ki_vmspace->vm_dsize; -+ long_return = long_return * (getpagesize() / 1024); */ -+ long_return = 0; - #else - long_return = proc_table[LowProcIndex].kp_eproc.e_vm.vm_tsize + - proc_table[LowProcIndex].kp_eproc.e_vm.vm_ssize + -@@ -747,6 +794,10 @@ - } - #elif HAVE_KVM_GETPROCS - { -+ if (kd == NULL) { -+ nproc = 0; -+ return; -+ } - proc_table = kvm_getprocs(kd, KERN_PROC_ALL, 0, &nproc); - } - #else -@@ -794,8 +845,13 @@ - #elif defined(solaris2) - return proc_table[current_proc_entry++]; - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ if ( proc_table[current_proc_entry].ki_stat != 0 ) -+ return proc_table[current_proc_entry++].ki_pid; -+#else - if ( proc_table[current_proc_entry].kp_proc.p_stat != 0 ) - return proc_table[current_proc_entry++].kp_proc.p_pid; -+#endif - #else - if ( proc_table[current_proc_entry].p_stat != 0 ) - return proc_table[current_proc_entry++].p_pid; -@@ -853,7 +909,7 @@ - - int count_processes (void) - { --#ifndef linux -+#if !(defined(linux) || defined(hpux10) || defined(solaris2) || HAVE_KVM_GETPROCS) - int i; - #endif - int total=0; diff --git a/net-mgmt/net-snmp/files/snmpd.sh.sample b/net-mgmt/net-snmp/files/snmpd.sh.sample deleted file mode 100644 index 71f8b504ce81..000000000000 --- a/net-mgmt/net-snmp/files/snmpd.sh.sample +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - [ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && echo -n ' snmpd' - ;; -stop) - killall snmpd && echo -n ' snmpd' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 diff --git a/net-mgmt/net-snmp/pkg-comment b/net-mgmt/net-snmp/pkg-comment deleted file mode 100644 index fbaaa7ab347c..000000000000 --- a/net-mgmt/net-snmp/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -An extendable SNMP implimentation diff --git a/net-mgmt/net-snmp/pkg-descr b/net-mgmt/net-snmp/pkg-descr deleted file mode 100644 index d7c5d86a1b58..000000000000 --- a/net-mgmt/net-snmp/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -This is UCD SNMP, a derivative of CMU's SNMP package. - -Various tools relating to the Simple Network Management Protocol including: - - An extensible agent - An SNMP library - tools to request or set information from SNMP agents - tools to generate and handle SNMP traps - a version of the unix 'netstat' command using SNMP - a Tk/perl mib browser - -WWW: http://net-snmp.sourceforge.net/ diff --git a/net-mgmt/net-snmp/pkg-plist b/net-mgmt/net-snmp/pkg-plist deleted file mode 100644 index 013bd98a5326..000000000000 --- a/net-mgmt/net-snmp/pkg-plist +++ /dev/null @@ -1,142 +0,0 @@ -bin/encode_keychange -bin/mib2c -bin/snmpbulkget -bin/snmpbulkwalk -bin/snmpcheck -bin/snmpconf -bin/snmpdelta -bin/snmpdf -bin/snmpget -bin/snmpgetnext -bin/snmpinform -bin/snmpnetstat -bin/snmpset -bin/snmpstatus -bin/snmptable -bin/snmptest -bin/snmptranslate -bin/snmptrap -bin/snmpusm -bin/snmpvacm -bin/snmpwalk -bin/tkmib -etc/rc.d/snmpd.sh -include/ucd-snmp/agent_index.h -include/ucd-snmp/agent_read_config.h -include/ucd-snmp/agent_registry.h -include/ucd-snmp/agent_trap.h -include/ucd-snmp/asn1.h -include/ucd-snmp/auto_nlist.h -include/ucd-snmp/callback.h -include/ucd-snmp/default_store.h -include/ucd-snmp/ds_agent.h -include/ucd-snmp/header_complex.h -include/ucd-snmp/int64.h -include/ucd-snmp/keytools.h -include/ucd-snmp/mib.h -include/ucd-snmp/mibincl.h -include/ucd-snmp/parse.h -include/ucd-snmp/read_config.h -include/ucd-snmp/scapi.h -include/ucd-snmp/snmp.h -include/ucd-snmp/snmp_agent.h -include/ucd-snmp/snmp_alarm.h -include/ucd-snmp/snmp_api.h -include/ucd-snmp/snmp_client.h -include/ucd-snmp/snmp_debug.h -include/ucd-snmp/snmp_impl.h -include/ucd-snmp/snmp_logging.h -include/ucd-snmp/snmp_parse_args.h -include/ucd-snmp/snmp_vars.h -include/ucd-snmp/snmpusm.h -include/ucd-snmp/snmpv3.h -include/ucd-snmp/struct.h -include/ucd-snmp/system.h -include/ucd-snmp/tools.h -include/ucd-snmp/transform_oids.h -include/ucd-snmp/ucd-snmp-agent-includes.h -include/ucd-snmp/ucd-snmp-config.h -include/ucd-snmp/ucd-snmp-includes.h -include/ucd-snmp/util_funcs.h -include/ucd-snmp/var_struct.h -include/ucd-snmp/version.h -@dirrm include/ucd-snmp -lib/libsnmp.a -lib/libsnmp.so -lib/libsnmp.so.%%shlib%% -lib/libucdagent.a -lib/libucdagent.so -lib/libucdagent.so.%%shlib%% -lib/libucdmibs.a -lib/libucdmibs.so -lib/libucdmibs.so.%%shlib%% -sbin/snmpd -sbin/snmptrapd -share/examples/ucd-snmp/EXAMPLE.conf -share/examples/ucd-snmp/ucdDemoPublic.conf -@dirrm share/examples/ucd-snmp -share/snmp/mib2c.conf -share/snmp/mib2c.storage.conf -share/snmp/mib2c.vartypes.conf -share/snmp/mibs/AGENTX-MIB.txt -share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt -share/snmp/mibs/DISMAN-SCRIPT-MIB.txt -share/snmp/mibs/EtherLike-MIB.txt -share/snmp/mibs/HCNUM-TC.txt -share/snmp/mibs/HOST-RESOURCES-MIB.txt -share/snmp/mibs/HOST-RESOURCES-TYPES.txt -share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt -share/snmp/mibs/IANA-LANGUAGE-MIB.txt -share/snmp/mibs/IANAifType-MIB.txt -share/snmp/mibs/IF-INVERTED-STACK-MIB.txt -share/snmp/mibs/IF-MIB.txt -share/snmp/mibs/INET-ADDRESS-MIB.txt -share/snmp/mibs/IP-MIB.txt -share/snmp/mibs/IP-FORWARD-MIB.txt -share/snmp/mibs/IPV6-ICMP-MIB.txt -share/snmp/mibs/IPV6-MIB.txt -share/snmp/mibs/IPV6-TC.txt -share/snmp/mibs/IPV6-TCP-MIB.txt -share/snmp/mibs/IPV6-UDP-MIB.txt -share/snmp/mibs/RFC1155-SMI.txt -share/snmp/mibs/RFC1213-MIB.txt -share/snmp/mibs/RFC-1215.txt -share/snmp/mibs/RMON-MIB.txt -share/snmp/mibs/SMUX-MIB.txt -share/snmp/mibs/SNMP-COMMUNITY-MIB.txt -share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt -share/snmp/mibs/SNMP-MPD-MIB.txt -share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt -share/snmp/mibs/SNMP-PROXY-MIB.txt -share/snmp/mibs/SNMP-TARGET-MIB.txt -share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt -share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt -share/snmp/mibs/SNMPv2-CONF.txt -share/snmp/mibs/SNMPv2-MIB.txt -share/snmp/mibs/SNMPv2-SMI.txt -share/snmp/mibs/SNMPv2-TC.txt -share/snmp/mibs/SNMPv2-TM.txt -share/snmp/mibs/TCP-MIB.txt -share/snmp/mibs/UCD-DEMO-MIB.txt -share/snmp/mibs/UCD-DISKIO-MIB.txt -share/snmp/mibs/UCD-DLMOD-MIB.txt -share/snmp/mibs/UCD-IPFWACC-MIB.txt -share/snmp/mibs/UCD-SNMP-MIB.txt -share/snmp/mibs/UDP-MIB.txt -share/snmp/snmpconf/snmp.conf/authopts -share/snmp/snmpconf/snmp.conf/debugging -share/snmp/snmpconf/snmp.conf/mibs -share/snmp/snmpconf/snmp.conf/output -share/snmp/snmpconf/snmpd.conf/acl -share/snmp/snmpconf/snmpd.conf/basic_setup -share/snmp/snmpconf/snmpd.conf/extending -share/snmp/snmpconf/snmpd.conf/monitor -share/snmp/snmpconf/snmpd.conf/operation -share/snmp/snmpconf/snmpd.conf/system -share/snmp/snmpconf/snmpd.conf/trapsinks -@unexec rm -f %D/share/snmp/mibs/.index -@dirrm share/snmp/mibs -@dirrm share/snmp/snmpconf/snmp.conf -@dirrm share/snmp/snmpconf/snmpd.conf -@dirrm share/snmp/snmpconf -@dirrm share/snmp diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile deleted file mode 100644 index c64556f88633..000000000000 --- a/net-mgmt/net-snmp4/Makefile +++ /dev/null @@ -1,82 +0,0 @@ -# New ports collection makefile for: ucd-snmp -# Date created: 26 June 1996 -# Whom: gpalmer -# -# $FreeBSD$ -# - -PORTNAME= ucd-snmp -PORTVERSION= 4.2 -CATEGORIES= net ipv6 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ - ftp://ucd-snmp.ucdavis.edu/ \ - ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ - ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ -MASTER_SITE_SUBDIR= net-snmp - -MAINTAINER= billf@FreeBSD.org - -USE_AUTOCONF= yes -USE_LIBTOOL= yes -INSTALLS_SHLIB= yes -LIBTOOLFLAGS= --disable-ltlibs --release-ignore - -CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host" --with-gnu-ld -.if defined(BATCH) -CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where -.else -IS_INTERACTIVE= yes -.endif - -MAN1= snmpbulkget.1 snmpbulkwalk.1 snmpcmd.1 snmpconf.1 snmpd.1 \ - snmpdelta.1 snmpdf.1 snmpget.1 snmpgetnext.1 snmpinform.1 \ - snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ - snmptranslate.1 snmptrap.1 snmpusm.1 snmpwalk.1 -MAN3= add_mibdir.3 add_module_replacement.3 default_store.3 \ - get_module_node.3 init_mib.3 init_mib_internals.3 mib_api.3 \ - print_description.3 print_mib.3 print_objid.3 print_value.3 \ - print_variable.3 read_all_mibs.3 read_config.3 read_mib.3 \ - read_module.3 read_module_node.3 read_objid.3 shutdown_mib.3 \ - snmp_agent_api.3 snmp_alarm.3 snmp_api.3 snmp_close.3 \ - snmp_free_pdu.3 snmp_open.3 snmp_read.3 snmp_select_info.3 \ - snmp_send.3 snmp_sess_api.3 snmp_sess_async_send.3 \ - snmp_sess_close.3 snmp_sess_error.3 snmp_sess_init.3 \ - snmp_sess_open.3 snmp_sess_read.3 snmp_sess_select_info.3 \ - snmp_sess_send.3 snmp_sess_session.3 snmp_sess_timeout.3 \ - snmp_set_mib_warnings.3 snmp_set_save_descriptions.3 \ - snmp_timeout.3 snmp_trap_api.3 -MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ - snmptrapd.conf.5 variables.5 -MAN8= snmptrapd.8 -BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ - snmpstatus snmptest snmptranslate snmptrap snmpwalk -SBIN= snmpd snmptrapd - -STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 400014 -CONFIGURE_ARGS+= --enable-ipv6 -.endif - -SHLIB_VERSION= 4 -PLIST_SUB+= shlib=${SHLIB_VERSION} - -post-patch: - @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s - -post-install: - @( cd ${PREFIX}/bin && strip ${BIN} ) - @( cd ${PREFIX}/sbin && strip ${SBIN} ) - @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) - @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * ) - @${MKDIR} ${PREFIX}/share/examples/ucd-snmp - @for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; do \ - ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done - @if [ ! -f ${STARTUP_FILE} ]; then \ - ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ - ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${STARTUP_FILE}; \ - fi - -.include <bsd.port.post.mk> diff --git a/net-mgmt/net-snmp4/distinfo b/net-mgmt/net-snmp4/distinfo deleted file mode 100644 index bda76becbe98..000000000000 --- a/net-mgmt/net-snmp4/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ucd-snmp-4.2.tar.gz) = 7370edec952a6830459948d9808da7cb diff --git a/net-mgmt/net-snmp4/files/freebsd4.h b/net-mgmt/net-snmp4/files/freebsd4.h deleted file mode 100644 index e0774c7e4cd6..000000000000 --- a/net-mgmt/net-snmp4/files/freebsd4.h +++ /dev/null @@ -1 +0,0 @@ -#include "freebsd3.h" diff --git a/net-mgmt/net-snmp4/files/patch-Makefile.top b/net-mgmt/net-snmp4/files/patch-Makefile.top deleted file mode 100644 index 2ecdb3d91c59..000000000000 --- a/net-mgmt/net-snmp4/files/patch-Makefile.top +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.top.orig Mon Nov 20 05:58:05 2000 -+++ Makefile.top Thu Feb 8 01:21:42 2001 -@@ -51,7 +51,7 @@ - # Misc Compiling Stuff - CC = @CC@ - # version number is prefixed by a 0 for a better shared library version number --LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release 0.$(VERSION) -o -+LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release $(VERSION).0 -version-info 4 -o - LIB_EXTENSION = la - LIB_VERSION = - LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir) diff --git a/net-mgmt/net-snmp4/files/patch-aa b/net-mgmt/net-snmp4/files/patch-aa deleted file mode 100644 index 6c287d18ac93..000000000000 --- a/net-mgmt/net-snmp4/files/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ ---- snmplib/Makefile.in.orig Mon Oct 2 11:41:46 2000 -+++ snmplib/Makefile.in Wed Jan 17 18:29:44 2001 -@@ -70,6 +70,10 @@ - - libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} - $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} -+ ld -Bshareable -soname libsnmp.so.4 \ -+ -o libsnmp.so ${OBJS} -+ ln -f libsnmp.so \ -+ ../libsnmp.so.4 - $(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) - - installdirs: diff --git a/net-mgmt/net-snmp4/files/patch-ab b/net-mgmt/net-snmp4/files/patch-ab deleted file mode 100644 index 4a8f9a65a244..000000000000 --- a/net-mgmt/net-snmp4/files/patch-ab +++ /dev/null @@ -1,56 +0,0 @@ ---- agent/mibgroup/ucd-snmp/disk.c~ Fri Mar 5 08:45:00 1999 -+++ agent/mibgroup/ucd-snmp/disk.c Sat Apr 3 13:33:11 1999 -@@ -24,12 +24,12 @@ - #include <sys/vmmeter.h> - #endif - #endif --#if HAVE_SYS_CONF_H --#include <sys/conf.h> --#endif - #if HAVE_SYS_PARAM_H - #include <sys/param.h> - #endif -+#if HAVE_SYS_CONF_H -+#include <sys/conf.h> -+#endif - #if HAVE_ASM_PAGE_H - #include <asm/page.h> - #endif -@@ -86,6 +86,7 @@ - #include <vm/vm.h> - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/errormib.c~ Tue Mar 2 05:27:30 1999 -+++ agent/mibgroup/ucd-snmp/errormib.c Sat Apr 3 13:33:44 1999 -@@ -93,6 +93,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/extensible.c~ Fri Mar 5 08:45:01 1999 -+++ agent/mibgroup/ucd-snmp/extensible.c Sat Apr 3 13:34:13 1999 -@@ -81,6 +81,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/loadave.c~ Tue Mar 16 08:21:02 1999 -+++ agent/mibgroup/ucd-snmp/loadave.c Sat Apr 3 13:34:39 1999 -@@ -80,6 +80,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H diff --git a/net-mgmt/net-snmp4/files/patch-ad b/net-mgmt/net-snmp4/files/patch-ad deleted file mode 100644 index bd85f7453919..000000000000 --- a/net-mgmt/net-snmp4/files/patch-ad +++ /dev/null @@ -1,47 +0,0 @@ ---- agent/mibgroup/mibII/interfaces.c.orig Fri Dec 1 14:17:21 2000 -+++ agent/mibgroup/mibII/interfaces.c Thu Jan 18 00:04:42 2001 -@@ -129,7 +129,7 @@ - #if HAVE_SYS_SYSCTL_H - #include <sys/sysctl.h> - --#ifdef freebsd3 -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) - # define USE_SYSCTL_IFLIST - #else - # if defined(CTL_NET) && !defined(freebsd2) -@@ -1842,10 +1842,18 @@ - physaddrbuf = 0; - } - ifm = (struct if_msghdr *)rtm; -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) -+ if (physaddrs != 0) physaddrs[naddrs] = (void*)(ifm + 1); -+ naddrs++; -+#endif - ilen -= ifm->ifm_msglen; - cp += ifm->ifm_msglen; - rtm = (struct rt_msghdr *)cp; - while (ilen > 0 && rtm->rtm_type == RTM_NEWADDR) { -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) -+ ilen -= rtm->rtm_msglen; -+ cp += rtm->rtm_msglen; -+#else - int is_alias = 0; - ifam = (struct ifa_msghdr *)rtm; - ilen -= sizeof(*ifam); -@@ -1868,6 +1876,7 @@ - } - sa = (struct sockaddr *)cp; - } -+#endif - rtm = (struct rt_msghdr *)cp; - } - } -@@ -1982,7 +1991,7 @@ - if (ifmd.ifmd_data.ifi_lastchange.tv_sec == 0 && - ifmd.ifmd_data.ifi_lastchange.tv_usec == 0) { - long_return = 0; -- else if (ifmd.ifmd_data.ifi_lastchange.tv_sec < starttime.tv_sec) -+ } else if (ifmd.ifmd_data.ifi_lastchange.tv_sec < starttime.tv_sec) { - long_return = 0; - } else { - long_return = (u_long) diff --git a/net-mgmt/net-snmp4/files/patch-af b/net-mgmt/net-snmp4/files/patch-af deleted file mode 100644 index 546933895230..000000000000 --- a/net-mgmt/net-snmp4/files/patch-af +++ /dev/null @@ -1,14 +0,0 @@ ---- agent/mibgroup/ucd_snmp.h.orig Fri Feb 26 03:03:41 1999 -+++ agent/mibgroup/ucd_snmp.h Sun Apr 4 13:52:23 1999 -@@ -18,5 +18,11 @@ - config_arch_require(bsdi3, ucd-snmp/memory) - config_arch_require(linux, ucd-snmp/vmstat) - config_arch_require(freebsd2, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd3, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd4, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2) - config_arch_require(freebsd2, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd3, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd4, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd5, ucd-snmp/memory_freebsd2) - config_add_mib(UCD-SNMP-MIB) diff --git a/net-mgmt/net-snmp4/files/patch-ag b/net-mgmt/net-snmp4/files/patch-ag deleted file mode 100644 index 4f8dbd1fe650..000000000000 --- a/net-mgmt/net-snmp4/files/patch-ag +++ /dev/null @@ -1,11 +0,0 @@ ---- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 -+++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 -@@ -4,7 +4,7 @@ - #include <netinet/in.h> - - /* uncomment if you don't have in_addr_t in netinet/in.h */ --/* typedef u_int in_addr_t; */ -+typedef u_int in_addr_t; - - #include <ucd-snmp/asn1.h> - #include <ucd-snmp/snmp_api.h> diff --git a/net-mgmt/net-snmp4/files/patch-ah b/net-mgmt/net-snmp4/files/patch-ah deleted file mode 100644 index 194cbf3574b9..000000000000 --- a/net-mgmt/net-snmp4/files/patch-ah +++ /dev/null @@ -1,7 +0,0 @@ ---- local/tkmib~ Wed Jul 26 08:53:26 2000 -+++ local/tkmib Wed Jan 17 18:32:52 2001 -@@ -1,4 +1,3 @@ --#!/usr/bin/perl - #!/usr/bin/perl -w - - require 5; diff --git a/net-mgmt/net-snmp4/files/patch-ak b/net-mgmt/net-snmp4/files/patch-ak deleted file mode 100644 index 8a9d310cd7a0..000000000000 --- a/net-mgmt/net-snmp4/files/patch-ak +++ /dev/null @@ -1,21 +0,0 @@ ---- agent/Makefile.in.orig Sun Nov 19 12:58:06 2000 -+++ agent/Makefile.in Wed Jan 17 18:37:02 2001 -@@ -68,10 +68,18 @@ - - libucdagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - $(LIB_LD_CMD) libucdagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS) -+ ld -Bshareable -soname libucdagent.$(LIB_EXTENSION)$(LIB_VERSION) \ -+ -o libucdagent.so ${LIBAGENTOBJS} -+ ln -f libucdagent.so \ -+ ../libucdagent.so.4 - $(RANLIB) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - - libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS} - $(LIB_LD_CMD) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) -+ ld -Bshareable -soname libucdmibs.so.4 \ -+ -o libucdmibs.so ${MIBOBJS} -+ ln -f libucdmibs.so \ -+ ../libucdmibs.so.4 - $(RANLIB) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - - clean: diff --git a/net-mgmt/net-snmp4/files/patch-al b/net-mgmt/net-snmp4/files/patch-al deleted file mode 100644 index c2464056b6bc..000000000000 --- a/net-mgmt/net-snmp4/files/patch-al +++ /dev/null @@ -1,29 +0,0 @@ ---- configure.in~ Sat May 6 01:46:26 2000 -+++ configure.in Wed May 17 11:09:08 2000 -@@ -1286,6 +1286,26 @@ - AC_CACHE_CHECK(type of rtentry structure,ac_cv_RTENTRY_TYPE, - [ - -+dnl 4.4 compatible but renamed on FreeBSD -+AC_TRY_COMPILE([ -+#include <sys/types.h> -+#define KERNEL -+#define _KERNEL -+#include <sys/socket.h> -+#undef KERNEL -+#undef _KERNEL -+#include <net/route.h> -+],[ -+ -+#ifndef STRUCT_RTENTRY_HAS_RT_DST -+#define rt_dst rt_nodes->rn_key -+#endif -+ -+ struct rtentry rt; -+ rt.rt_nodes[0].rn_bit = 1; -+ rt.rt_dst; -+ ], ac_cv_RTENTRY_TYPE="BSD-4.4") -+ - dnl 4.4 compat - AC_TRY_COMPILE([ - #include <sys/types.h> diff --git a/net-mgmt/net-snmp4/files/patch-ao b/net-mgmt/net-snmp4/files/patch-ao deleted file mode 100644 index 9ba64ec94695..000000000000 --- a/net-mgmt/net-snmp4/files/patch-ao +++ /dev/null @@ -1,11 +0,0 @@ ---- agent/mibgroup/host/hr_filesys.c.orig Wed Jan 17 19:09:48 2001 -+++ agent/mibgroup/host/hr_filesys.c Wed Jan 17 19:10:22 2001 -@@ -38,7 +38,7 @@ - #include <stdlib.h> - #endif - --#if defined(freebsd3) || defined(bsdi4) -+#if defined(freebsd3) || defined(bsdi4) || defined(freebsd4) || defined(freebsd5) - #if HAVE_GETFSSTAT - #if defined(MFSNAMELEN) - #define MOUNT_NFS "nfs" diff --git a/net-mgmt/net-snmp4/files/patch-ap b/net-mgmt/net-snmp4/files/patch-ap deleted file mode 100644 index 4d2ec3fa92ab..000000000000 --- a/net-mgmt/net-snmp4/files/patch-ap +++ /dev/null @@ -1,11 +0,0 @@ ---- man/Makefile.in.orig Thu Jan 18 01:37:31 2001 -+++ man/Makefile.in Thu Jan 18 01:37:39 2001 -@@ -2,7 +2,7 @@ - - MAN1 = snmpcmd.1 snmpget.1 snmpset.1 snmpwalk.1 snmpbulkwalk.1 snmpbulkget.1 \ - snmpgetnext.1 snmptest.1 snmpnetstat.1 snmptranslate.1 snmpstatus.1 \ -- snmptrap.1 snmpdelta.1 snmptable.1 snmpusm.1 snmpinform.1 snmpdf.1 -+ snmptrap.1 snmpdelta.1 snmptable.1 snmpusm.1 snmpinform.1 snmpdf.1 snmpconf.1 - MAN1G = snmpd.1 - MAN3 = snmp_agent_api.3 snmp_api.3 mib_api.3 snmp_sess_api.3 snmp_trap_api.3 \ - snmp_alarm.3 snmp_close.3 snmp_free_pdu.3 snmp_open.3 snmp_read.3 \ diff --git a/net-mgmt/net-snmp4/files/patch-hr_swrun.c b/net-mgmt/net-snmp4/files/patch-hr_swrun.c deleted file mode 100644 index bd81ed25a52e..000000000000 --- a/net-mgmt/net-snmp4/files/patch-hr_swrun.c +++ /dev/null @@ -1,309 +0,0 @@ ---- agent/mibgroup/host/hr_swrun.c.orig Tue Oct 3 13:36:38 2000 -+++ agent/mibgroup/host/hr_swrun.c Fri Feb 2 11:27:39 2001 -@@ -216,15 +216,15 @@ - if ( pid == -1 ) - break; - newname[HRSWRUN_ENTRY_NAME_LENGTH] = pid; -- DEBUGMSGOID(("host/hr_swrun", newname, *length)); -- DEBUGMSG(("host/hr_swrun","\n")); -+ DEBUGMSGOID(("host/hr_swrun", newname, *length)); -+ DEBUGMSG(("host/hr_swrun","\n")); - result = snmp_oid_compare(name, *length, newname, vp->namelen + 1); - if (exact && (result == 0)) { - LowPid = pid; - #ifndef linux - LowProcIndex = current_proc_entry-1; - #endif --DEBUGMSGTL(("host/hr_swrun", " saved\n")); -+ DEBUGMSGTL(("host/hr_swrun", " saved\n")); - /* Save process status information */ - break; - } -@@ -235,9 +235,9 @@ - LowProcIndex = current_proc_entry-1; - #endif - /* Save process status information */ --DEBUGMSG(("host/hr_swrun", " saved")); -+ DEBUGMSG(("host/hr_swrun", " saved")); - } --DEBUGMSG(("host/hr_swrun", "\n")); -+ DEBUGMSG(("host/hr_swrun", "\n")); - } - - if ( LowPid == -1 ) { -@@ -279,16 +279,16 @@ - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ - static psinfo_t psinfo; -- static psinfo_t *proc_buf = &psinfo; -+ static psinfo_t *proc_buf; - int procfd; - char procfn[sizeof "/proc/00000/psinfo"]; - #else - static struct proc *proc_buf; -+ char *cp1; - #endif /* _SLASH_PROC_METHOD_ */ - static time_t when = 0; - time_t now; - static int oldpid = -1; -- char *cp1; - #endif - #if HAVE_KVM_GETPROCS - char **argv; -@@ -321,10 +321,13 @@ - } - if (oldpid != pid || proc_buf == NULL) { - #if _SLASH_PROC_METHOD_ -+ proc_buf = &psinfo; - sprintf(procfn, "/proc/%.5d/psinfo", pid); -- if ((procfd = open(procfn, O_RDONLY)) == -1) return NULL; -- if (read(procfd, proc_buf, sizeof(*proc_buf)) != sizeof(*proc_buf)) abort(); -- close(procfd); -+ if ((procfd = open(procfn, O_RDONLY)) != -1) { -+ if (read(procfd, proc_buf, sizeof(*proc_buf)) != sizeof(*proc_buf)) abort(); -+ close(procfd); -+ } else -+ proc_buf = NULL; - #else - if (kd == NULL) return NULL; - if ((proc_buf = kvm_getproc(kd, pid)) == NULL) return NULL; -@@ -340,8 +343,8 @@ - return NULL; - #else - long_return = 1; /* Probably! */ --#endif - return (u_char *)&long_return; -+#endif - - case HRSWRUN_INDEX: - long_return = pid; -@@ -354,12 +357,19 @@ - *cp = '\0'; - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- strcpy(string, proc_buf->pr_fname); -+ if (proc_buf) -+ strcpy(string, proc_buf->pr_fname); -+ else -+ strcpy(string, "<exited>"); - #else - strcpy(string, proc_buf->p_user.u_comm); - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/status", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -398,7 +408,10 @@ - *cp = '\0'; - #elif defined(solaris2) - #ifdef _SLASH_PROC_METHOD_ -- strcpy(string, proc_buf->pr_psargs); -+ if (proc_buf) -+ strcpy(string, proc_buf->pr_psargs); -+ else -+ sprintf(string, "<exited>"); - cp = strchr(string, ' '); - if (cp) *cp = 0; - #else -@@ -408,7 +421,11 @@ - *cp1 = 0; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/cmdline", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -448,9 +465,12 @@ - string[0] = '\0'; - #elif defined(solaris2) - #ifdef _SLASH_PROC_METHOD_ -- cp = strchr(proc_buf->pr_psargs, ' '); -- if (cp) strcpy(string, cp+1); -- else string[0] = 0; -+ if (proc_buf) { -+ cp = strchr(proc_buf->pr_psargs, ' '); -+ if (cp) strcpy(string, cp+1); -+ else string[0] = 0; -+ } else -+ string[0] = 0; - #else - cp = proc_buf->p_user.u_psargs; - while (*cp && *cp != ' ') cp++; -@@ -470,9 +490,15 @@ - sprintf( string, "/proc/%d/cmdline", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; - memset( buf, 0, sizeof(buf) ); -- if(!fgets( buf, sizeof(buf)-2, fp )) -- return NULL; /* argv[0] '\0' argv[1] '\0' .... */ - -+ /* argv[0] '\0' argv[1] '\0' .... */ -+ if(!fgets( buf, sizeof(buf)-2, fp )) { -+ /* maybe be empty (even argv[0] is missing) */ -+ string[0] = '\0'; -+ *var_len = 0; -+ return string; -+ } -+ - /* Skip over argv[0] */ - cp = buf; - while ( *cp ) -@@ -531,10 +557,14 @@ - } - #else - #if HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ switch ( proc_table[LowProcIndex].ki_stat ) { -+#else - switch ( proc_table[LowProcIndex].kp_proc.p_stat ) { -+#endif - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- switch (proc_buf->pr_lwp.pr_state) { -+ switch (proc_buf ? proc_buf->pr_lwp.pr_state : SIDL) { - #else - switch ( proc_buf->p_stat ) { - #endif -@@ -566,32 +596,34 @@ - #endif - #else - sprintf( string, "/proc/%d/stat", pid ); -- if ((fp = fopen( string, "r")) == NULL) return NULL; -- fgets( buf, sizeof(buf), fp ); -- cp = buf; -- for ( i = 0 ; i < 2 ; ++i ) { /* skip two fields */ -- while ( *cp != ' ') -+ if ((fp = fopen( string, "r")) != NULL) { -+ fgets( buf, sizeof(buf), fp ); -+ cp = buf; -+ for ( i = 0 ; i < 2 ; ++i ) { /* skip two fields */ -+ while ( *cp != ' ') -+ ++cp; - ++cp; -- ++cp; -- } -+ } - -- switch ( *cp ) { -- case 'R': -+ switch ( *cp ) { -+ case 'R': - long_return = 1; /* running */ - break; -- case 'S': -+ case 'S': - long_return = 2; /* runnable */ - break; -- case 'D': -- case 'T': -+ case 'D': -+ case 'T': - long_return = 3; /* notRunnable */ - break; -- case 'Z': -- default: -+ case 'Z': -+ default: - long_return = 4; /* invalid */ - break; -- } -- fclose(fp); -+ } -+ fclose(fp); -+ } else -+ long_return = 4; /* invalid */ - #endif - return (u_char *)&long_return; - -@@ -603,16 +635,24 @@ - */ - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- long_return = proc_buf->pr_time.tv_sec * 100 + -- proc_buf->pr_time.tv_nsec/10000000; -+ long_return = proc_buf ? proc_buf->pr_time.tv_sec * 100 + -+ proc_buf->pr_time.tv_nsec/10000000 : 0; - #else - long_return = proc_buf->p_utime*100 + - proc_buf->p_stime*100; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX: Accessing ki_paddr causes sig10 ... -+ long_return = proc_table[LowProcIndex].ki_paddr->p_uticks + -+ proc_table[LowProcIndex].ki_paddr->p_sticks + -+ proc_table[LowProcIndex].ki_paddr->p_iticks; */ -+ long_return = 0; -+#else - long_return = proc_table[LowProcIndex].kp_proc.p_uticks + - proc_table[LowProcIndex].kp_proc.p_sticks + - proc_table[LowProcIndex].kp_proc.p_iticks; -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/stat", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -645,13 +685,20 @@ - long_return = (proc_buf.pst_rssize << PGSHIFT)/1024; - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- long_return = proc_buf->pr_rssize; -+ long_return = proc_buf ? proc_buf->pr_rssize : 0; - #else - long_return = proc_buf->p_swrss; - #endif - #elif HAVE_KVM_GETPROCS --#ifdef freebsd3 -+#if defined(freebsd3) - long_return = proc_table[LowProcIndex].kp_eproc.e_vm.vm_map.size/1024; -+#elif defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX -+ long_return = proc_table[LowProcIndex].ki_vmspace->vm_tsize + -+ proc_table[LowProcIndex].ki_vmspace->vm_ssize + -+ proc_table[LowProcIndex].ki_vmspace->vm_dsize; -+ long_return = long_return * (getpagesize() / 1024); */ -+ long_return = 0; - #else - long_return = proc_table[LowProcIndex].kp_eproc.e_vm.vm_tsize + - proc_table[LowProcIndex].kp_eproc.e_vm.vm_ssize + -@@ -747,6 +794,10 @@ - } - #elif HAVE_KVM_GETPROCS - { -+ if (kd == NULL) { -+ nproc = 0; -+ return; -+ } - proc_table = kvm_getprocs(kd, KERN_PROC_ALL, 0, &nproc); - } - #else -@@ -794,8 +845,13 @@ - #elif defined(solaris2) - return proc_table[current_proc_entry++]; - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ if ( proc_table[current_proc_entry].ki_stat != 0 ) -+ return proc_table[current_proc_entry++].ki_pid; -+#else - if ( proc_table[current_proc_entry].kp_proc.p_stat != 0 ) - return proc_table[current_proc_entry++].kp_proc.p_pid; -+#endif - #else - if ( proc_table[current_proc_entry].p_stat != 0 ) - return proc_table[current_proc_entry++].p_pid; -@@ -853,7 +909,7 @@ - - int count_processes (void) - { --#ifndef linux -+#if !(defined(linux) || defined(hpux10) || defined(solaris2) || HAVE_KVM_GETPROCS) - int i; - #endif - int total=0; diff --git a/net-mgmt/net-snmp4/files/snmpd.sh.sample b/net-mgmt/net-snmp4/files/snmpd.sh.sample deleted file mode 100644 index 71f8b504ce81..000000000000 --- a/net-mgmt/net-snmp4/files/snmpd.sh.sample +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - [ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && echo -n ' snmpd' - ;; -stop) - killall snmpd && echo -n ' snmpd' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 diff --git a/net-mgmt/net-snmp4/pkg-comment b/net-mgmt/net-snmp4/pkg-comment deleted file mode 100644 index fbaaa7ab347c..000000000000 --- a/net-mgmt/net-snmp4/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -An extendable SNMP implimentation diff --git a/net-mgmt/net-snmp4/pkg-descr b/net-mgmt/net-snmp4/pkg-descr deleted file mode 100644 index d7c5d86a1b58..000000000000 --- a/net-mgmt/net-snmp4/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -This is UCD SNMP, a derivative of CMU's SNMP package. - -Various tools relating to the Simple Network Management Protocol including: - - An extensible agent - An SNMP library - tools to request or set information from SNMP agents - tools to generate and handle SNMP traps - a version of the unix 'netstat' command using SNMP - a Tk/perl mib browser - -WWW: http://net-snmp.sourceforge.net/ diff --git a/net-mgmt/net-snmp4/pkg-plist b/net-mgmt/net-snmp4/pkg-plist deleted file mode 100644 index 013bd98a5326..000000000000 --- a/net-mgmt/net-snmp4/pkg-plist +++ /dev/null @@ -1,142 +0,0 @@ -bin/encode_keychange -bin/mib2c -bin/snmpbulkget -bin/snmpbulkwalk -bin/snmpcheck -bin/snmpconf -bin/snmpdelta -bin/snmpdf -bin/snmpget -bin/snmpgetnext -bin/snmpinform -bin/snmpnetstat -bin/snmpset -bin/snmpstatus -bin/snmptable -bin/snmptest -bin/snmptranslate -bin/snmptrap -bin/snmpusm -bin/snmpvacm -bin/snmpwalk -bin/tkmib -etc/rc.d/snmpd.sh -include/ucd-snmp/agent_index.h -include/ucd-snmp/agent_read_config.h -include/ucd-snmp/agent_registry.h -include/ucd-snmp/agent_trap.h -include/ucd-snmp/asn1.h -include/ucd-snmp/auto_nlist.h -include/ucd-snmp/callback.h -include/ucd-snmp/default_store.h -include/ucd-snmp/ds_agent.h -include/ucd-snmp/header_complex.h -include/ucd-snmp/int64.h -include/ucd-snmp/keytools.h -include/ucd-snmp/mib.h -include/ucd-snmp/mibincl.h -include/ucd-snmp/parse.h -include/ucd-snmp/read_config.h -include/ucd-snmp/scapi.h -include/ucd-snmp/snmp.h -include/ucd-snmp/snmp_agent.h -include/ucd-snmp/snmp_alarm.h -include/ucd-snmp/snmp_api.h -include/ucd-snmp/snmp_client.h -include/ucd-snmp/snmp_debug.h -include/ucd-snmp/snmp_impl.h -include/ucd-snmp/snmp_logging.h -include/ucd-snmp/snmp_parse_args.h -include/ucd-snmp/snmp_vars.h -include/ucd-snmp/snmpusm.h -include/ucd-snmp/snmpv3.h -include/ucd-snmp/struct.h -include/ucd-snmp/system.h -include/ucd-snmp/tools.h -include/ucd-snmp/transform_oids.h -include/ucd-snmp/ucd-snmp-agent-includes.h -include/ucd-snmp/ucd-snmp-config.h -include/ucd-snmp/ucd-snmp-includes.h -include/ucd-snmp/util_funcs.h -include/ucd-snmp/var_struct.h -include/ucd-snmp/version.h -@dirrm include/ucd-snmp -lib/libsnmp.a -lib/libsnmp.so -lib/libsnmp.so.%%shlib%% -lib/libucdagent.a -lib/libucdagent.so -lib/libucdagent.so.%%shlib%% -lib/libucdmibs.a -lib/libucdmibs.so -lib/libucdmibs.so.%%shlib%% -sbin/snmpd -sbin/snmptrapd -share/examples/ucd-snmp/EXAMPLE.conf -share/examples/ucd-snmp/ucdDemoPublic.conf -@dirrm share/examples/ucd-snmp -share/snmp/mib2c.conf -share/snmp/mib2c.storage.conf -share/snmp/mib2c.vartypes.conf -share/snmp/mibs/AGENTX-MIB.txt -share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt -share/snmp/mibs/DISMAN-SCRIPT-MIB.txt -share/snmp/mibs/EtherLike-MIB.txt -share/snmp/mibs/HCNUM-TC.txt -share/snmp/mibs/HOST-RESOURCES-MIB.txt -share/snmp/mibs/HOST-RESOURCES-TYPES.txt -share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt -share/snmp/mibs/IANA-LANGUAGE-MIB.txt -share/snmp/mibs/IANAifType-MIB.txt -share/snmp/mibs/IF-INVERTED-STACK-MIB.txt -share/snmp/mibs/IF-MIB.txt -share/snmp/mibs/INET-ADDRESS-MIB.txt -share/snmp/mibs/IP-MIB.txt -share/snmp/mibs/IP-FORWARD-MIB.txt -share/snmp/mibs/IPV6-ICMP-MIB.txt -share/snmp/mibs/IPV6-MIB.txt -share/snmp/mibs/IPV6-TC.txt -share/snmp/mibs/IPV6-TCP-MIB.txt -share/snmp/mibs/IPV6-UDP-MIB.txt -share/snmp/mibs/RFC1155-SMI.txt -share/snmp/mibs/RFC1213-MIB.txt -share/snmp/mibs/RFC-1215.txt -share/snmp/mibs/RMON-MIB.txt -share/snmp/mibs/SMUX-MIB.txt -share/snmp/mibs/SNMP-COMMUNITY-MIB.txt -share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt -share/snmp/mibs/SNMP-MPD-MIB.txt -share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt -share/snmp/mibs/SNMP-PROXY-MIB.txt -share/snmp/mibs/SNMP-TARGET-MIB.txt -share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt -share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt -share/snmp/mibs/SNMPv2-CONF.txt -share/snmp/mibs/SNMPv2-MIB.txt -share/snmp/mibs/SNMPv2-SMI.txt -share/snmp/mibs/SNMPv2-TC.txt -share/snmp/mibs/SNMPv2-TM.txt -share/snmp/mibs/TCP-MIB.txt -share/snmp/mibs/UCD-DEMO-MIB.txt -share/snmp/mibs/UCD-DISKIO-MIB.txt -share/snmp/mibs/UCD-DLMOD-MIB.txt -share/snmp/mibs/UCD-IPFWACC-MIB.txt -share/snmp/mibs/UCD-SNMP-MIB.txt -share/snmp/mibs/UDP-MIB.txt -share/snmp/snmpconf/snmp.conf/authopts -share/snmp/snmpconf/snmp.conf/debugging -share/snmp/snmpconf/snmp.conf/mibs -share/snmp/snmpconf/snmp.conf/output -share/snmp/snmpconf/snmpd.conf/acl -share/snmp/snmpconf/snmpd.conf/basic_setup -share/snmp/snmpconf/snmpd.conf/extending -share/snmp/snmpconf/snmpd.conf/monitor -share/snmp/snmpconf/snmpd.conf/operation -share/snmp/snmpconf/snmpd.conf/system -share/snmp/snmpconf/snmpd.conf/trapsinks -@unexec rm -f %D/share/snmp/mibs/.index -@dirrm share/snmp/mibs -@dirrm share/snmp/snmpconf/snmp.conf -@dirrm share/snmp/snmpconf/snmpd.conf -@dirrm share/snmp/snmpconf -@dirrm share/snmp diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile deleted file mode 100644 index c64556f88633..000000000000 --- a/net-mgmt/net-snmp53/Makefile +++ /dev/null @@ -1,82 +0,0 @@ -# New ports collection makefile for: ucd-snmp -# Date created: 26 June 1996 -# Whom: gpalmer -# -# $FreeBSD$ -# - -PORTNAME= ucd-snmp -PORTVERSION= 4.2 -CATEGORIES= net ipv6 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ - ftp://ucd-snmp.ucdavis.edu/ \ - ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ - ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ -MASTER_SITE_SUBDIR= net-snmp - -MAINTAINER= billf@FreeBSD.org - -USE_AUTOCONF= yes -USE_LIBTOOL= yes -INSTALLS_SHLIB= yes -LIBTOOLFLAGS= --disable-ltlibs --release-ignore - -CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host" --with-gnu-ld -.if defined(BATCH) -CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where -.else -IS_INTERACTIVE= yes -.endif - -MAN1= snmpbulkget.1 snmpbulkwalk.1 snmpcmd.1 snmpconf.1 snmpd.1 \ - snmpdelta.1 snmpdf.1 snmpget.1 snmpgetnext.1 snmpinform.1 \ - snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ - snmptranslate.1 snmptrap.1 snmpusm.1 snmpwalk.1 -MAN3= add_mibdir.3 add_module_replacement.3 default_store.3 \ - get_module_node.3 init_mib.3 init_mib_internals.3 mib_api.3 \ - print_description.3 print_mib.3 print_objid.3 print_value.3 \ - print_variable.3 read_all_mibs.3 read_config.3 read_mib.3 \ - read_module.3 read_module_node.3 read_objid.3 shutdown_mib.3 \ - snmp_agent_api.3 snmp_alarm.3 snmp_api.3 snmp_close.3 \ - snmp_free_pdu.3 snmp_open.3 snmp_read.3 snmp_select_info.3 \ - snmp_send.3 snmp_sess_api.3 snmp_sess_async_send.3 \ - snmp_sess_close.3 snmp_sess_error.3 snmp_sess_init.3 \ - snmp_sess_open.3 snmp_sess_read.3 snmp_sess_select_info.3 \ - snmp_sess_send.3 snmp_sess_session.3 snmp_sess_timeout.3 \ - snmp_set_mib_warnings.3 snmp_set_save_descriptions.3 \ - snmp_timeout.3 snmp_trap_api.3 -MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ - snmptrapd.conf.5 variables.5 -MAN8= snmptrapd.8 -BIN= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ - snmpstatus snmptest snmptranslate snmptrap snmpwalk -SBIN= snmpd snmptrapd - -STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 400014 -CONFIGURE_ARGS+= --enable-ipv6 -.endif - -SHLIB_VERSION= 4 -PLIST_SUB+= shlib=${SHLIB_VERSION} - -post-patch: - @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s - -post-install: - @( cd ${PREFIX}/bin && strip ${BIN} ) - @( cd ${PREFIX}/sbin && strip ${SBIN} ) - @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) - @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * ) - @${MKDIR} ${PREFIX}/share/examples/ucd-snmp - @for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; do \ - ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done - @if [ ! -f ${STARTUP_FILE} ]; then \ - ${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \ - ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${STARTUP_FILE}; \ - fi - -.include <bsd.port.post.mk> diff --git a/net-mgmt/net-snmp53/distinfo b/net-mgmt/net-snmp53/distinfo deleted file mode 100644 index bda76becbe98..000000000000 --- a/net-mgmt/net-snmp53/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ucd-snmp-4.2.tar.gz) = 7370edec952a6830459948d9808da7cb diff --git a/net-mgmt/net-snmp53/files/freebsd4.h b/net-mgmt/net-snmp53/files/freebsd4.h deleted file mode 100644 index e0774c7e4cd6..000000000000 --- a/net-mgmt/net-snmp53/files/freebsd4.h +++ /dev/null @@ -1 +0,0 @@ -#include "freebsd3.h" diff --git a/net-mgmt/net-snmp53/files/patch-Makefile.top b/net-mgmt/net-snmp53/files/patch-Makefile.top deleted file mode 100644 index 2ecdb3d91c59..000000000000 --- a/net-mgmt/net-snmp53/files/patch-Makefile.top +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.top.orig Mon Nov 20 05:58:05 2000 -+++ Makefile.top Thu Feb 8 01:21:42 2001 -@@ -51,7 +51,7 @@ - # Misc Compiling Stuff - CC = @CC@ - # version number is prefixed by a 0 for a better shared library version number --LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release 0.$(VERSION) -o -+LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release $(VERSION).0 -version-info 4 -o - LIB_EXTENSION = la - LIB_VERSION = - LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir) diff --git a/net-mgmt/net-snmp53/files/patch-aa b/net-mgmt/net-snmp53/files/patch-aa deleted file mode 100644 index 6c287d18ac93..000000000000 --- a/net-mgmt/net-snmp53/files/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ ---- snmplib/Makefile.in.orig Mon Oct 2 11:41:46 2000 -+++ snmplib/Makefile.in Wed Jan 17 18:29:44 2001 -@@ -70,6 +70,10 @@ - - libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} - $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} -+ ld -Bshareable -soname libsnmp.so.4 \ -+ -o libsnmp.so ${OBJS} -+ ln -f libsnmp.so \ -+ ../libsnmp.so.4 - $(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) - - installdirs: diff --git a/net-mgmt/net-snmp53/files/patch-ab b/net-mgmt/net-snmp53/files/patch-ab deleted file mode 100644 index 4a8f9a65a244..000000000000 --- a/net-mgmt/net-snmp53/files/patch-ab +++ /dev/null @@ -1,56 +0,0 @@ ---- agent/mibgroup/ucd-snmp/disk.c~ Fri Mar 5 08:45:00 1999 -+++ agent/mibgroup/ucd-snmp/disk.c Sat Apr 3 13:33:11 1999 -@@ -24,12 +24,12 @@ - #include <sys/vmmeter.h> - #endif - #endif --#if HAVE_SYS_CONF_H --#include <sys/conf.h> --#endif - #if HAVE_SYS_PARAM_H - #include <sys/param.h> - #endif -+#if HAVE_SYS_CONF_H -+#include <sys/conf.h> -+#endif - #if HAVE_ASM_PAGE_H - #include <asm/page.h> - #endif -@@ -86,6 +86,7 @@ - #include <vm/vm.h> - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/errormib.c~ Tue Mar 2 05:27:30 1999 -+++ agent/mibgroup/ucd-snmp/errormib.c Sat Apr 3 13:33:44 1999 -@@ -93,6 +93,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/extensible.c~ Fri Mar 5 08:45:01 1999 -+++ agent/mibgroup/ucd-snmp/extensible.c Sat Apr 3 13:34:13 1999 -@@ -81,6 +81,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H ---- agent/mibgroup/ucd-snmp/loadave.c~ Tue Mar 16 08:21:02 1999 -+++ agent/mibgroup/ucd-snmp/loadave.c Sat Apr 3 13:34:39 1999 -@@ -80,6 +80,7 @@ - #define statvfs statfs - #endif - #if HAVE_VM_SWAP_PAGER_H -+#include <vm/vm.h> - #include <vm/swap_pager.h> - #endif - #if HAVE_SYS_FIXPOINT_H diff --git a/net-mgmt/net-snmp53/files/patch-ad b/net-mgmt/net-snmp53/files/patch-ad deleted file mode 100644 index bd85f7453919..000000000000 --- a/net-mgmt/net-snmp53/files/patch-ad +++ /dev/null @@ -1,47 +0,0 @@ ---- agent/mibgroup/mibII/interfaces.c.orig Fri Dec 1 14:17:21 2000 -+++ agent/mibgroup/mibII/interfaces.c Thu Jan 18 00:04:42 2001 -@@ -129,7 +129,7 @@ - #if HAVE_SYS_SYSCTL_H - #include <sys/sysctl.h> - --#ifdef freebsd3 -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) - # define USE_SYSCTL_IFLIST - #else - # if defined(CTL_NET) && !defined(freebsd2) -@@ -1842,10 +1842,18 @@ - physaddrbuf = 0; - } - ifm = (struct if_msghdr *)rtm; -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) -+ if (physaddrs != 0) physaddrs[naddrs] = (void*)(ifm + 1); -+ naddrs++; -+#endif - ilen -= ifm->ifm_msglen; - cp += ifm->ifm_msglen; - rtm = (struct rt_msghdr *)cp; - while (ilen > 0 && rtm->rtm_type == RTM_NEWADDR) { -+#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) -+ ilen -= rtm->rtm_msglen; -+ cp += rtm->rtm_msglen; -+#else - int is_alias = 0; - ifam = (struct ifa_msghdr *)rtm; - ilen -= sizeof(*ifam); -@@ -1868,6 +1876,7 @@ - } - sa = (struct sockaddr *)cp; - } -+#endif - rtm = (struct rt_msghdr *)cp; - } - } -@@ -1982,7 +1991,7 @@ - if (ifmd.ifmd_data.ifi_lastchange.tv_sec == 0 && - ifmd.ifmd_data.ifi_lastchange.tv_usec == 0) { - long_return = 0; -- else if (ifmd.ifmd_data.ifi_lastchange.tv_sec < starttime.tv_sec) -+ } else if (ifmd.ifmd_data.ifi_lastchange.tv_sec < starttime.tv_sec) { - long_return = 0; - } else { - long_return = (u_long) diff --git a/net-mgmt/net-snmp53/files/patch-af b/net-mgmt/net-snmp53/files/patch-af deleted file mode 100644 index 546933895230..000000000000 --- a/net-mgmt/net-snmp53/files/patch-af +++ /dev/null @@ -1,14 +0,0 @@ ---- agent/mibgroup/ucd_snmp.h.orig Fri Feb 26 03:03:41 1999 -+++ agent/mibgroup/ucd_snmp.h Sun Apr 4 13:52:23 1999 -@@ -18,5 +18,11 @@ - config_arch_require(bsdi3, ucd-snmp/memory) - config_arch_require(linux, ucd-snmp/vmstat) - config_arch_require(freebsd2, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd3, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd4, ucd-snmp/vmstat_freebsd2) -+config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2) - config_arch_require(freebsd2, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd3, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd4, ucd-snmp/memory_freebsd2) -+config_arch_require(freebsd5, ucd-snmp/memory_freebsd2) - config_add_mib(UCD-SNMP-MIB) diff --git a/net-mgmt/net-snmp53/files/patch-ag b/net-mgmt/net-snmp53/files/patch-ag deleted file mode 100644 index 4f8dbd1fe650..000000000000 --- a/net-mgmt/net-snmp53/files/patch-ag +++ /dev/null @@ -1,11 +0,0 @@ ---- snmplib/ucd-snmp-includes.h.orig Wed Jan 20 18:18:42 1999 -+++ snmplib/ucd-snmp-includes.h Sat Aug 28 02:13:56 1999 -@@ -4,7 +4,7 @@ - #include <netinet/in.h> - - /* uncomment if you don't have in_addr_t in netinet/in.h */ --/* typedef u_int in_addr_t; */ -+typedef u_int in_addr_t; - - #include <ucd-snmp/asn1.h> - #include <ucd-snmp/snmp_api.h> diff --git a/net-mgmt/net-snmp53/files/patch-ah b/net-mgmt/net-snmp53/files/patch-ah deleted file mode 100644 index 194cbf3574b9..000000000000 --- a/net-mgmt/net-snmp53/files/patch-ah +++ /dev/null @@ -1,7 +0,0 @@ ---- local/tkmib~ Wed Jul 26 08:53:26 2000 -+++ local/tkmib Wed Jan 17 18:32:52 2001 -@@ -1,4 +1,3 @@ --#!/usr/bin/perl - #!/usr/bin/perl -w - - require 5; diff --git a/net-mgmt/net-snmp53/files/patch-ak b/net-mgmt/net-snmp53/files/patch-ak deleted file mode 100644 index 8a9d310cd7a0..000000000000 --- a/net-mgmt/net-snmp53/files/patch-ak +++ /dev/null @@ -1,21 +0,0 @@ ---- agent/Makefile.in.orig Sun Nov 19 12:58:06 2000 -+++ agent/Makefile.in Wed Jan 17 18:37:02 2001 -@@ -68,10 +68,18 @@ - - libucdagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - $(LIB_LD_CMD) libucdagent.$(LIB_EXTENSION)$(LIB_VERSION) ${LLIBAGENTOBJS} $(LIB_LD_LIBS) -+ ld -Bshareable -soname libucdagent.$(LIB_EXTENSION)$(LIB_VERSION) \ -+ -o libucdagent.so ${LIBAGENTOBJS} -+ ln -f libucdagent.so \ -+ ../libucdagent.so.4 - $(RANLIB) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - - libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION): ${LMIBOBJS} - $(LIB_LD_CMD) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) ${LMIBOBJS} $(LIB_LD_LIBS) -+ ld -Bshareable -soname libucdmibs.so.4 \ -+ -o libucdmibs.so ${MIBOBJS} -+ ln -f libucdmibs.so \ -+ ../libucdmibs.so.4 - $(RANLIB) libucdmibs.$(LIB_EXTENSION)$(LIB_VERSION) - - clean: diff --git a/net-mgmt/net-snmp53/files/patch-al b/net-mgmt/net-snmp53/files/patch-al deleted file mode 100644 index c2464056b6bc..000000000000 --- a/net-mgmt/net-snmp53/files/patch-al +++ /dev/null @@ -1,29 +0,0 @@ ---- configure.in~ Sat May 6 01:46:26 2000 -+++ configure.in Wed May 17 11:09:08 2000 -@@ -1286,6 +1286,26 @@ - AC_CACHE_CHECK(type of rtentry structure,ac_cv_RTENTRY_TYPE, - [ - -+dnl 4.4 compatible but renamed on FreeBSD -+AC_TRY_COMPILE([ -+#include <sys/types.h> -+#define KERNEL -+#define _KERNEL -+#include <sys/socket.h> -+#undef KERNEL -+#undef _KERNEL -+#include <net/route.h> -+],[ -+ -+#ifndef STRUCT_RTENTRY_HAS_RT_DST -+#define rt_dst rt_nodes->rn_key -+#endif -+ -+ struct rtentry rt; -+ rt.rt_nodes[0].rn_bit = 1; -+ rt.rt_dst; -+ ], ac_cv_RTENTRY_TYPE="BSD-4.4") -+ - dnl 4.4 compat - AC_TRY_COMPILE([ - #include <sys/types.h> diff --git a/net-mgmt/net-snmp53/files/patch-ao b/net-mgmt/net-snmp53/files/patch-ao deleted file mode 100644 index 9ba64ec94695..000000000000 --- a/net-mgmt/net-snmp53/files/patch-ao +++ /dev/null @@ -1,11 +0,0 @@ ---- agent/mibgroup/host/hr_filesys.c.orig Wed Jan 17 19:09:48 2001 -+++ agent/mibgroup/host/hr_filesys.c Wed Jan 17 19:10:22 2001 -@@ -38,7 +38,7 @@ - #include <stdlib.h> - #endif - --#if defined(freebsd3) || defined(bsdi4) -+#if defined(freebsd3) || defined(bsdi4) || defined(freebsd4) || defined(freebsd5) - #if HAVE_GETFSSTAT - #if defined(MFSNAMELEN) - #define MOUNT_NFS "nfs" diff --git a/net-mgmt/net-snmp53/files/patch-ap b/net-mgmt/net-snmp53/files/patch-ap deleted file mode 100644 index 4d2ec3fa92ab..000000000000 --- a/net-mgmt/net-snmp53/files/patch-ap +++ /dev/null @@ -1,11 +0,0 @@ ---- man/Makefile.in.orig Thu Jan 18 01:37:31 2001 -+++ man/Makefile.in Thu Jan 18 01:37:39 2001 -@@ -2,7 +2,7 @@ - - MAN1 = snmpcmd.1 snmpget.1 snmpset.1 snmpwalk.1 snmpbulkwalk.1 snmpbulkget.1 \ - snmpgetnext.1 snmptest.1 snmpnetstat.1 snmptranslate.1 snmpstatus.1 \ -- snmptrap.1 snmpdelta.1 snmptable.1 snmpusm.1 snmpinform.1 snmpdf.1 -+ snmptrap.1 snmpdelta.1 snmptable.1 snmpusm.1 snmpinform.1 snmpdf.1 snmpconf.1 - MAN1G = snmpd.1 - MAN3 = snmp_agent_api.3 snmp_api.3 mib_api.3 snmp_sess_api.3 snmp_trap_api.3 \ - snmp_alarm.3 snmp_close.3 snmp_free_pdu.3 snmp_open.3 snmp_read.3 \ diff --git a/net-mgmt/net-snmp53/files/patch-hr_swrun.c b/net-mgmt/net-snmp53/files/patch-hr_swrun.c deleted file mode 100644 index bd81ed25a52e..000000000000 --- a/net-mgmt/net-snmp53/files/patch-hr_swrun.c +++ /dev/null @@ -1,309 +0,0 @@ ---- agent/mibgroup/host/hr_swrun.c.orig Tue Oct 3 13:36:38 2000 -+++ agent/mibgroup/host/hr_swrun.c Fri Feb 2 11:27:39 2001 -@@ -216,15 +216,15 @@ - if ( pid == -1 ) - break; - newname[HRSWRUN_ENTRY_NAME_LENGTH] = pid; -- DEBUGMSGOID(("host/hr_swrun", newname, *length)); -- DEBUGMSG(("host/hr_swrun","\n")); -+ DEBUGMSGOID(("host/hr_swrun", newname, *length)); -+ DEBUGMSG(("host/hr_swrun","\n")); - result = snmp_oid_compare(name, *length, newname, vp->namelen + 1); - if (exact && (result == 0)) { - LowPid = pid; - #ifndef linux - LowProcIndex = current_proc_entry-1; - #endif --DEBUGMSGTL(("host/hr_swrun", " saved\n")); -+ DEBUGMSGTL(("host/hr_swrun", " saved\n")); - /* Save process status information */ - break; - } -@@ -235,9 +235,9 @@ - LowProcIndex = current_proc_entry-1; - #endif - /* Save process status information */ --DEBUGMSG(("host/hr_swrun", " saved")); -+ DEBUGMSG(("host/hr_swrun", " saved")); - } --DEBUGMSG(("host/hr_swrun", "\n")); -+ DEBUGMSG(("host/hr_swrun", "\n")); - } - - if ( LowPid == -1 ) { -@@ -279,16 +279,16 @@ - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ - static psinfo_t psinfo; -- static psinfo_t *proc_buf = &psinfo; -+ static psinfo_t *proc_buf; - int procfd; - char procfn[sizeof "/proc/00000/psinfo"]; - #else - static struct proc *proc_buf; -+ char *cp1; - #endif /* _SLASH_PROC_METHOD_ */ - static time_t when = 0; - time_t now; - static int oldpid = -1; -- char *cp1; - #endif - #if HAVE_KVM_GETPROCS - char **argv; -@@ -321,10 +321,13 @@ - } - if (oldpid != pid || proc_buf == NULL) { - #if _SLASH_PROC_METHOD_ -+ proc_buf = &psinfo; - sprintf(procfn, "/proc/%.5d/psinfo", pid); -- if ((procfd = open(procfn, O_RDONLY)) == -1) return NULL; -- if (read(procfd, proc_buf, sizeof(*proc_buf)) != sizeof(*proc_buf)) abort(); -- close(procfd); -+ if ((procfd = open(procfn, O_RDONLY)) != -1) { -+ if (read(procfd, proc_buf, sizeof(*proc_buf)) != sizeof(*proc_buf)) abort(); -+ close(procfd); -+ } else -+ proc_buf = NULL; - #else - if (kd == NULL) return NULL; - if ((proc_buf = kvm_getproc(kd, pid)) == NULL) return NULL; -@@ -340,8 +343,8 @@ - return NULL; - #else - long_return = 1; /* Probably! */ --#endif - return (u_char *)&long_return; -+#endif - - case HRSWRUN_INDEX: - long_return = pid; -@@ -354,12 +357,19 @@ - *cp = '\0'; - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- strcpy(string, proc_buf->pr_fname); -+ if (proc_buf) -+ strcpy(string, proc_buf->pr_fname); -+ else -+ strcpy(string, "<exited>"); - #else - strcpy(string, proc_buf->p_user.u_comm); - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/status", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -398,7 +408,10 @@ - *cp = '\0'; - #elif defined(solaris2) - #ifdef _SLASH_PROC_METHOD_ -- strcpy(string, proc_buf->pr_psargs); -+ if (proc_buf) -+ strcpy(string, proc_buf->pr_psargs); -+ else -+ sprintf(string, "<exited>"); - cp = strchr(string, ' '); - if (cp) *cp = 0; - #else -@@ -408,7 +421,11 @@ - *cp1 = 0; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/cmdline", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -448,9 +465,12 @@ - string[0] = '\0'; - #elif defined(solaris2) - #ifdef _SLASH_PROC_METHOD_ -- cp = strchr(proc_buf->pr_psargs, ' '); -- if (cp) strcpy(string, cp+1); -- else string[0] = 0; -+ if (proc_buf) { -+ cp = strchr(proc_buf->pr_psargs, ' '); -+ if (cp) strcpy(string, cp+1); -+ else string[0] = 0; -+ } else -+ string[0] = 0; - #else - cp = proc_buf->p_user.u_psargs; - while (*cp && *cp != ' ') cp++; -@@ -470,9 +490,15 @@ - sprintf( string, "/proc/%d/cmdline", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; - memset( buf, 0, sizeof(buf) ); -- if(!fgets( buf, sizeof(buf)-2, fp )) -- return NULL; /* argv[0] '\0' argv[1] '\0' .... */ - -+ /* argv[0] '\0' argv[1] '\0' .... */ -+ if(!fgets( buf, sizeof(buf)-2, fp )) { -+ /* maybe be empty (even argv[0] is missing) */ -+ string[0] = '\0'; -+ *var_len = 0; -+ return string; -+ } -+ - /* Skip over argv[0] */ - cp = buf; - while ( *cp ) -@@ -531,10 +557,14 @@ - } - #else - #if HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ switch ( proc_table[LowProcIndex].ki_stat ) { -+#else - switch ( proc_table[LowProcIndex].kp_proc.p_stat ) { -+#endif - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- switch (proc_buf->pr_lwp.pr_state) { -+ switch (proc_buf ? proc_buf->pr_lwp.pr_state : SIDL) { - #else - switch ( proc_buf->p_stat ) { - #endif -@@ -566,32 +596,34 @@ - #endif - #else - sprintf( string, "/proc/%d/stat", pid ); -- if ((fp = fopen( string, "r")) == NULL) return NULL; -- fgets( buf, sizeof(buf), fp ); -- cp = buf; -- for ( i = 0 ; i < 2 ; ++i ) { /* skip two fields */ -- while ( *cp != ' ') -+ if ((fp = fopen( string, "r")) != NULL) { -+ fgets( buf, sizeof(buf), fp ); -+ cp = buf; -+ for ( i = 0 ; i < 2 ; ++i ) { /* skip two fields */ -+ while ( *cp != ' ') -+ ++cp; - ++cp; -- ++cp; -- } -+ } - -- switch ( *cp ) { -- case 'R': -+ switch ( *cp ) { -+ case 'R': - long_return = 1; /* running */ - break; -- case 'S': -+ case 'S': - long_return = 2; /* runnable */ - break; -- case 'D': -- case 'T': -+ case 'D': -+ case 'T': - long_return = 3; /* notRunnable */ - break; -- case 'Z': -- default: -+ case 'Z': -+ default: - long_return = 4; /* invalid */ - break; -- } -- fclose(fp); -+ } -+ fclose(fp); -+ } else -+ long_return = 4; /* invalid */ - #endif - return (u_char *)&long_return; - -@@ -603,16 +635,24 @@ - */ - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- long_return = proc_buf->pr_time.tv_sec * 100 + -- proc_buf->pr_time.tv_nsec/10000000; -+ long_return = proc_buf ? proc_buf->pr_time.tv_sec * 100 + -+ proc_buf->pr_time.tv_nsec/10000000 : 0; - #else - long_return = proc_buf->p_utime*100 + - proc_buf->p_stime*100; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX: Accessing ki_paddr causes sig10 ... -+ long_return = proc_table[LowProcIndex].ki_paddr->p_uticks + -+ proc_table[LowProcIndex].ki_paddr->p_sticks + -+ proc_table[LowProcIndex].ki_paddr->p_iticks; */ -+ long_return = 0; -+#else - long_return = proc_table[LowProcIndex].kp_proc.p_uticks + - proc_table[LowProcIndex].kp_proc.p_sticks + - proc_table[LowProcIndex].kp_proc.p_iticks; -+#endif - #elif defined(linux) - sprintf( string, "/proc/%d/stat", pid ); - if ((fp = fopen( string, "r")) == NULL) return NULL; -@@ -645,13 +685,20 @@ - long_return = (proc_buf.pst_rssize << PGSHIFT)/1024; - #elif defined(solaris2) - #if _SLASH_PROC_METHOD_ -- long_return = proc_buf->pr_rssize; -+ long_return = proc_buf ? proc_buf->pr_rssize : 0; - #else - long_return = proc_buf->p_swrss; - #endif - #elif HAVE_KVM_GETPROCS --#ifdef freebsd3 -+#if defined(freebsd3) - long_return = proc_table[LowProcIndex].kp_eproc.e_vm.vm_map.size/1024; -+#elif defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX -+ long_return = proc_table[LowProcIndex].ki_vmspace->vm_tsize + -+ proc_table[LowProcIndex].ki_vmspace->vm_ssize + -+ proc_table[LowProcIndex].ki_vmspace->vm_dsize; -+ long_return = long_return * (getpagesize() / 1024); */ -+ long_return = 0; - #else - long_return = proc_table[LowProcIndex].kp_eproc.e_vm.vm_tsize + - proc_table[LowProcIndex].kp_eproc.e_vm.vm_ssize + -@@ -747,6 +794,10 @@ - } - #elif HAVE_KVM_GETPROCS - { -+ if (kd == NULL) { -+ nproc = 0; -+ return; -+ } - proc_table = kvm_getprocs(kd, KERN_PROC_ALL, 0, &nproc); - } - #else -@@ -794,8 +845,13 @@ - #elif defined(solaris2) - return proc_table[current_proc_entry++]; - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ if ( proc_table[current_proc_entry].ki_stat != 0 ) -+ return proc_table[current_proc_entry++].ki_pid; -+#else - if ( proc_table[current_proc_entry].kp_proc.p_stat != 0 ) - return proc_table[current_proc_entry++].kp_proc.p_pid; -+#endif - #else - if ( proc_table[current_proc_entry].p_stat != 0 ) - return proc_table[current_proc_entry++].p_pid; -@@ -853,7 +909,7 @@ - - int count_processes (void) - { --#ifndef linux -+#if !(defined(linux) || defined(hpux10) || defined(solaris2) || HAVE_KVM_GETPROCS) - int i; - #endif - int total=0; diff --git a/net-mgmt/net-snmp53/files/snmpd.sh.sample b/net-mgmt/net-snmp53/files/snmpd.sh.sample deleted file mode 100644 index 71f8b504ce81..000000000000 --- a/net-mgmt/net-snmp53/files/snmpd.sh.sample +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - [ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && echo -n ' snmpd' - ;; -stop) - killall snmpd && echo -n ' snmpd' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 diff --git a/net-mgmt/net-snmp53/pkg-comment b/net-mgmt/net-snmp53/pkg-comment deleted file mode 100644 index fbaaa7ab347c..000000000000 --- a/net-mgmt/net-snmp53/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -An extendable SNMP implimentation diff --git a/net-mgmt/net-snmp53/pkg-descr b/net-mgmt/net-snmp53/pkg-descr deleted file mode 100644 index d7c5d86a1b58..000000000000 --- a/net-mgmt/net-snmp53/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -This is UCD SNMP, a derivative of CMU's SNMP package. - -Various tools relating to the Simple Network Management Protocol including: - - An extensible agent - An SNMP library - tools to request or set information from SNMP agents - tools to generate and handle SNMP traps - a version of the unix 'netstat' command using SNMP - a Tk/perl mib browser - -WWW: http://net-snmp.sourceforge.net/ diff --git a/net-mgmt/net-snmp53/pkg-plist b/net-mgmt/net-snmp53/pkg-plist deleted file mode 100644 index 013bd98a5326..000000000000 --- a/net-mgmt/net-snmp53/pkg-plist +++ /dev/null @@ -1,142 +0,0 @@ -bin/encode_keychange -bin/mib2c -bin/snmpbulkget -bin/snmpbulkwalk -bin/snmpcheck -bin/snmpconf -bin/snmpdelta -bin/snmpdf -bin/snmpget -bin/snmpgetnext -bin/snmpinform -bin/snmpnetstat -bin/snmpset -bin/snmpstatus -bin/snmptable -bin/snmptest -bin/snmptranslate -bin/snmptrap -bin/snmpusm -bin/snmpvacm -bin/snmpwalk -bin/tkmib -etc/rc.d/snmpd.sh -include/ucd-snmp/agent_index.h -include/ucd-snmp/agent_read_config.h -include/ucd-snmp/agent_registry.h -include/ucd-snmp/agent_trap.h -include/ucd-snmp/asn1.h -include/ucd-snmp/auto_nlist.h -include/ucd-snmp/callback.h -include/ucd-snmp/default_store.h -include/ucd-snmp/ds_agent.h -include/ucd-snmp/header_complex.h -include/ucd-snmp/int64.h -include/ucd-snmp/keytools.h -include/ucd-snmp/mib.h -include/ucd-snmp/mibincl.h -include/ucd-snmp/parse.h -include/ucd-snmp/read_config.h -include/ucd-snmp/scapi.h -include/ucd-snmp/snmp.h -include/ucd-snmp/snmp_agent.h -include/ucd-snmp/snmp_alarm.h -include/ucd-snmp/snmp_api.h -include/ucd-snmp/snmp_client.h -include/ucd-snmp/snmp_debug.h -include/ucd-snmp/snmp_impl.h -include/ucd-snmp/snmp_logging.h -include/ucd-snmp/snmp_parse_args.h -include/ucd-snmp/snmp_vars.h -include/ucd-snmp/snmpusm.h -include/ucd-snmp/snmpv3.h -include/ucd-snmp/struct.h -include/ucd-snmp/system.h -include/ucd-snmp/tools.h -include/ucd-snmp/transform_oids.h -include/ucd-snmp/ucd-snmp-agent-includes.h -include/ucd-snmp/ucd-snmp-config.h -include/ucd-snmp/ucd-snmp-includes.h -include/ucd-snmp/util_funcs.h -include/ucd-snmp/var_struct.h -include/ucd-snmp/version.h -@dirrm include/ucd-snmp -lib/libsnmp.a -lib/libsnmp.so -lib/libsnmp.so.%%shlib%% -lib/libucdagent.a -lib/libucdagent.so -lib/libucdagent.so.%%shlib%% -lib/libucdmibs.a -lib/libucdmibs.so -lib/libucdmibs.so.%%shlib%% -sbin/snmpd -sbin/snmptrapd -share/examples/ucd-snmp/EXAMPLE.conf -share/examples/ucd-snmp/ucdDemoPublic.conf -@dirrm share/examples/ucd-snmp -share/snmp/mib2c.conf -share/snmp/mib2c.storage.conf -share/snmp/mib2c.vartypes.conf -share/snmp/mibs/AGENTX-MIB.txt -share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt -share/snmp/mibs/DISMAN-SCRIPT-MIB.txt -share/snmp/mibs/EtherLike-MIB.txt -share/snmp/mibs/HCNUM-TC.txt -share/snmp/mibs/HOST-RESOURCES-MIB.txt -share/snmp/mibs/HOST-RESOURCES-TYPES.txt -share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt -share/snmp/mibs/IANA-LANGUAGE-MIB.txt -share/snmp/mibs/IANAifType-MIB.txt -share/snmp/mibs/IF-INVERTED-STACK-MIB.txt -share/snmp/mibs/IF-MIB.txt -share/snmp/mibs/INET-ADDRESS-MIB.txt -share/snmp/mibs/IP-MIB.txt -share/snmp/mibs/IP-FORWARD-MIB.txt -share/snmp/mibs/IPV6-ICMP-MIB.txt -share/snmp/mibs/IPV6-MIB.txt -share/snmp/mibs/IPV6-TC.txt -share/snmp/mibs/IPV6-TCP-MIB.txt -share/snmp/mibs/IPV6-UDP-MIB.txt -share/snmp/mibs/RFC1155-SMI.txt -share/snmp/mibs/RFC1213-MIB.txt -share/snmp/mibs/RFC-1215.txt -share/snmp/mibs/RMON-MIB.txt -share/snmp/mibs/SMUX-MIB.txt -share/snmp/mibs/SNMP-COMMUNITY-MIB.txt -share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt -share/snmp/mibs/SNMP-MPD-MIB.txt -share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt -share/snmp/mibs/SNMP-PROXY-MIB.txt -share/snmp/mibs/SNMP-TARGET-MIB.txt -share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt -share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt -share/snmp/mibs/SNMPv2-CONF.txt -share/snmp/mibs/SNMPv2-MIB.txt -share/snmp/mibs/SNMPv2-SMI.txt -share/snmp/mibs/SNMPv2-TC.txt -share/snmp/mibs/SNMPv2-TM.txt -share/snmp/mibs/TCP-MIB.txt -share/snmp/mibs/UCD-DEMO-MIB.txt -share/snmp/mibs/UCD-DISKIO-MIB.txt -share/snmp/mibs/UCD-DLMOD-MIB.txt -share/snmp/mibs/UCD-IPFWACC-MIB.txt -share/snmp/mibs/UCD-SNMP-MIB.txt -share/snmp/mibs/UDP-MIB.txt -share/snmp/snmpconf/snmp.conf/authopts -share/snmp/snmpconf/snmp.conf/debugging -share/snmp/snmpconf/snmp.conf/mibs -share/snmp/snmpconf/snmp.conf/output -share/snmp/snmpconf/snmpd.conf/acl -share/snmp/snmpconf/snmpd.conf/basic_setup -share/snmp/snmpconf/snmpd.conf/extending -share/snmp/snmpconf/snmpd.conf/monitor -share/snmp/snmpconf/snmpd.conf/operation -share/snmp/snmpconf/snmpd.conf/system -share/snmp/snmpconf/snmpd.conf/trapsinks -@unexec rm -f %D/share/snmp/mibs/.index -@dirrm share/snmp/mibs -@dirrm share/snmp/snmpconf/snmp.conf -@dirrm share/snmp/snmpconf/snmpd.conf -@dirrm share/snmp/snmpconf -@dirrm share/snmp diff --git a/net-mgmt/netmask/Makefile b/net-mgmt/netmask/Makefile deleted file mode 100644 index 1b21c29cb1e9..000000000000 --- a/net-mgmt/netmask/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: netmask -# Date created: 19 Novemver 2000 -# Whom: Mike Bristow <mike@urgle.com> -# $FreeBSD$ - -PORTNAME= netmask -PORTVERSION= 2.3.3 -CATEGORIES= net -MASTER_SITES= http://ftp.debian.org/debian/dists/potato/main/source/net/ -DISTNAME= netmask_${PORTVERSION} - -MAINTAINER= mike@urgle.com - -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt - -WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} -USE_AUTOMAKE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" - -USE_GMAKE= yes - -MAN1= netmask.1 - -.include <bsd.port.mk> diff --git a/net-mgmt/netmask/distinfo b/net-mgmt/netmask/distinfo deleted file mode 100644 index 5a8c0e7cf0f8..000000000000 --- a/net-mgmt/netmask/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (netmask_2.3.3.tar.gz) = feea81712136bd200c3f87ab40b509b8 diff --git a/net-mgmt/netmask/files/patch-aa b/net-mgmt/netmask/files/patch-aa deleted file mode 100644 index f6142c16da70..000000000000 --- a/net-mgmt/netmask/files/patch-aa +++ /dev/null @@ -1,21 +0,0 @@ ---- netmask.c.orig Mon Nov 20 00:22:41 2000 -+++ netmask.c Mon Nov 20 00:22:58 2000 -@@ -17,15 +17,15 @@ - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -+#include <sys/types.h> -+#include <sys/socket.h> -+#include <netinet/in.h> - #include <arpa/inet.h> - #include <getopt.h> - #include <netdb.h> --#include <netinet/in.h> - #include <stdio.h> - #include <stdlib.h> - #include <string.h> --#include <sys/socket.h> --#include <sys/types.h> - #include "errors.h" - - struct addrmask { diff --git a/net-mgmt/netmask/files/patch-ab b/net-mgmt/netmask/files/patch-ab deleted file mode 100644 index df6d8e0d8b12..000000000000 --- a/net-mgmt/netmask/files/patch-ab +++ /dev/null @@ -1,14 +0,0 @@ ---- netmask.texi.orig Mon Nov 20 00:39:20 2000 -+++ netmask.texi Mon Nov 20 00:39:33 2000 -@@ -3,6 +3,11 @@ - @setfilename netmask.info - @settitle Generating Optimized Network Masks - @finalout -+@dircategory Miscellaneous -+@direntry -+* netmask: (netmask). Tool for generating terse netmasks. -+@end direntry -+ - @setchapternewpage odd - @c %**end of header - diff --git a/net-mgmt/netmask/pkg-comment b/net-mgmt/netmask/pkg-comment deleted file mode 100644 index abf8d5a8043c..000000000000 --- a/net-mgmt/netmask/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Tool for generating terse netmasks in several common formats. diff --git a/net-mgmt/netmask/pkg-descr b/net-mgmt/netmask/pkg-descr deleted file mode 100644 index 8222dcbf0534..000000000000 --- a/net-mgmt/netmask/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -This is a handy tool for generating terse netmasks in several common -formats. If you've ever maintained a firewall with more than a few rules -in it, you might use netmask to clean up and generalize sloppy rules left by -the netadmin before you. It will also convert netmasks from one format -to another for the day you change your firewall software. diff --git a/net-mgmt/netmask/pkg-plist b/net-mgmt/netmask/pkg-plist deleted file mode 100644 index 3fa9b282b0a5..000000000000 --- a/net-mgmt/netmask/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/netmask -@unexec install-info --delete %D/info/netmask.info %D/info/dir -info/netmask.info -@exec install-info %D/info/netmask.info %D/info/dir diff --git a/net-mgmt/netsaint-plugins/Makefile b/net-mgmt/netsaint-plugins/Makefile deleted file mode 100644 index 6d84d42c1fa8..000000000000 --- a/net-mgmt/netsaint-plugins/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# New ports collection makefile for: netsaint-plugins -# Date created: Wed 12 Jul 2000 -# Whom: will -# -# $FreeBSD$ -# - -PORTNAME= netsaint-plugins -PORTVERSION= 1.2.9.3 -PORTREVISION= 2 -CATEGORIES= net -MASTER_SITES= http://download.sourceforge.net/netsaintplug/ -DISTNAME= ${PORTNAME}-1.2.9-3 - -MAINTAINER= blaz@amis.net - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --sbindir=${PREFIX}/share/netsaint/sbin \ - --libexecdir=${PREFIX}/libexec/netsaint \ - --datadir=${PREFIX}/share/netsaint \ - --sysconfdir=${PREFIX}/etc/netsaint \ - --localstatedir=${PREFIX}/var/netsaint -CONFIGURE_ENV= LOCALBASE=${LOCALBASE} -USE_AUTOMAKE= yes -USE_GMAKE= yes - -pre-fetch: - @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure - -.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) -.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" -.endif - -pre-install: - ${PERL} ${SCRIPTDIR}/createuser - -post-clean: - @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc - -.include <bsd.port.mk> diff --git a/net-mgmt/netsaint-plugins/distinfo b/net-mgmt/netsaint-plugins/distinfo deleted file mode 100644 index 57e3a22ebee0..000000000000 --- a/net-mgmt/netsaint-plugins/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (netsaint-plugins-1.2.9-3.tar.gz) = 2e9928dcb1d522144ba0bb9a98619035 diff --git a/net-mgmt/netsaint-plugins/files/patch-ab b/net-mgmt/netsaint-plugins/files/patch-ab deleted file mode 100644 index 4d27df545d40..000000000000 --- a/net-mgmt/netsaint-plugins/files/patch-ab +++ /dev/null @@ -1,273 +0,0 @@ ---- configure.in.orig Tue Mar 6 06:40:44 2001 -+++ configure.in Mon Apr 16 12:24:22 2001 -@@ -7,7 +7,7 @@ - dnl AM_INIT_AUTOMAKE(netsaint-plugins,$VERSION) - AM_CONFIG_HEADER(plugins/config.h plugins/common.h plugins/version.h plugins/netutils.h plugins/utils.h plugins/popen.h) - --AC_PREFIX_DEFAULT(/usr/local/netsaint) -+dnl AC_PREFIX_DEFAULT(/usr/local/netsaint) - - dnl Figure out how to invoke "install" and what install options to use. - -@@ -126,25 +126,37 @@ - LIBS="$_SAVEDLIBS" - CPPFLAGS="$_SAVEDCPPFLAGS" - -+AC_ARG_ENABLE(radius,--enable-radius compile check_radius) -+if test $enableval; then -+dnl Check for radiusclient header file -+_SAVEDCPPFLAGS="$CPPFLAGS" -+CPPFLAGS="-I${LOCALBASE}/include" -+AC_CHECK_HEADERS(radiusclient.h,RADIUSINCLUDE="-I${LOCALBASE}/include") -+AC_SUBST(RADIUSINCLUDE) -+CPPFLAGS="$_SAVEDCPPFLAGS $RADIUSINCLUDE" -+ - dnl Check for radius libraries - _SAVEDLIBS="$LIBS" --AC_CHECK_LIB(radiusclient,rc_read_config) -+AC_CHECK_LIB(radiusclient,rc_read_config,,,-L${LOCALBASE}/lib) - if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then - EXTRAS="$EXTRAS check_radius" -- RADIUSLIBS="-lradiusclient" -+ RADIUSLIBS="-L${LOCALBASE}/lib -lradiusclient" - AC_SUBST(RADIUSLIBS) - else - AC_MSG_WARN([Skipping radius plugin]) - AC_MSG_WARN([install radius libs to compile this plugin (see Requirements).]) - fi - LIBS="$_SAVEDLIBS" -+fi - -+AC_ARG_ENABLE(ldap,--enable-ldap compile check_ldap) -+if test $enableval; then - dnl Check for LDAP libraries - _SAVEDLIBS="$LIBS" --AC_CHECK_LIB(ldap,main,,,-llber) --if test "$ac_cv_lib_ldap_main" = "yes"; then -- LDAPLIBS="-lldap -llber"\ -- LDAPINCLUDE="-I/usr/include/ldap" -+AC_CHECK_LIB(ldap,ldap_simple_bind,,,-L${LOCALBASE}/lib -llber) -+if test "$ac_cv_lib_ldap_ldap_simple_bind" = "yes"; then -+ LDAPLIBS="-L${LOCALBASE}/lib -lldap -llber"\ -+ LDAPINCLUDE="-I${LOCALBASE}/include" - AC_SUBST(LDAPLIBS) - AC_SUBST(LDAPINCLUDE) - EXTRAS="$EXTRAS check_ldap" -@@ -153,13 +165,14 @@ - AC_MSG_WARN([install LDAP libs to compile this plugin (see Requirements).]) - fi - LIBS="$_SAVEDLIBS" -+fi - - dnl Check for mysql libraries - _SAVEDLIBS="$LIBS" - _SAVEDCPPFLAGS="$CPPFLAGS" --CPPFLAGS="-I/usr/include" -+CPPFLAGS="-I${LOCALBASE}/include" - AC_ARG_WITH(mysqllibdir,--with-mysqllibdir=<dir> sets path to mysql libraries,[MYSQLLIBDIR=$withval]) --if test -n "$MYSQLLIBS"; then -+if test -n "$MYSQLLIBDIR"; then - AC_CHECK_LIB(mysqlclient,mysql_init,MYSQLLIBS="-lmysqlclient -lz" check_mysql_LDFLAGS="-L$MYSQLLIBDIR",,-L$MYSQLLIBDIR -lz) - elif test -f /usr/lib/libmysqlclient.so; then - AC_CHECK_LIB(mysqlclient,mysql_init,MYSQLLIBS="-lmysqlclient -lz",,-lz) -@@ -175,7 +188,8 @@ - AC_CHECK_LIB(mysqlclient,mysql_close,MYSQLLIBS="-lmysqlclient" check_mysql_LDFLAGS="-L/usr/lib/mysql",,-L/usr/lib/mysql) - fi - if test "$ac_cv_lib_mysqlclient_mysql_init" = "yes" -o "$ac_cv_lib_mysqlclient_mysql_close" = "yes"; then -- AC_CHECK_HEADERS(mysql/mysql.h mysql/errmsg.h) -+ AC_CHECK_HEADERS(mysql/mysql.h mysql/errmsg.h,MYSQLINCLUDE="-I${LOCALBASE}/include") -+ AC_SUBST(MYSQLINCLUDE) - if test "$ac_cv_header_mysql_mysql_h" = "yes" -a "$ac_cv_header_mysql_errmsg_h" = "yes"; then - EXTRAS="$EXTRAS check_mysql" - AC_SUBST(MYSQLLIBS) -@@ -189,7 +203,7 @@ - AC_MSG_WARN([install mysql client libs to compile this plugin (see Requirements).]) - fi - LIBS="$_SAVEDLIBS" --CPPFLAGS="$_SAVEDCPPFLAGS" -+CPPFLAGS="$_SAVEDCPPFLAGS $MYSQLINCLUDE" - - dnl Check for OpenSSL location - AC_PATH_PROG(OPENSSL,openssl) -@@ -268,16 +282,16 @@ - dnl AC_SUBST(libgetopt_a_DEPENDENCIES) - dnl AC_SUBST(libsnprintf_a_SOURCES) - --AC_MSG_CHECKING(for getopt_long) --AC_TRY_COMPILE([#include <getopt.h> --#include <stdlib.h>], --[int option_index=0; --static struct option *long_options; --getopt_long(0,NULL,"+h",long_options,&option_index);], --[AC_DEFINE(HAVE_GETOPT_H) AC_DEFINE(HAVE_GETOPT_LONG) AC_MSG_RESULT(yes)], --[AC_DEFINE(HAVE_GETOPT_H) AC_DEFINE(HAVE_GETOPT_LONG) AC_MSG_RESULT(no) import_sources=getopt]) -+dnl AC_MSG_CHECKING(for getopt_long) -+dnl AC_TRY_COMPILE([#include <getopt.h> -+dnl #include <stdlib.h>], -+dnl [int option_index=0; -+dnl static struct option *long_options; -+dnl getopt_long(0,NULL,"+h",long_options,&option_index);], -+dnl [AC_DEFINE(HAVE_GETOPT_H) AC_DEFINE(HAVE_GETOPT_LONG) AC_MSG_RESULT(yes)], -+dnl [AC_DEFINE(HAVE_GETOPT_H) AC_DEFINE(HAVE_GETOPT_LONG) AC_MSG_RESULT(no) import_sources=getopt]) - --AC_CHECK_FUNCS(getopt_long_only,,LIBS="$LIBS -lgetopt" DEPLIBS="$DEPLIBS libgetopt.a") -+dnl AC_CHECK_FUNCS(getopt_long_only,,LIBS="$LIBS -lgetopt" DEPLIBS="$DEPLIBS libgetopt.a") - - AC_CHECK_FUNC(vsnprintf,,LIBS="$LIBS -lsnprintf" DEPLIBS="$DEPLIBS libsnprintf.a") - -@@ -328,72 +342,72 @@ - AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -eo 'rss comm'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") - echo " ps syntax... $PATH_TO_PS -eo 's comm vsz rss user ppid args'" --elif [ps -Ao 's comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] -+elif [ps -axo 's comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] - then - AC_DEFINE(USE_PS_VARS) - AC_DEFINE_UNQUOTED(PS_VARLIST,[procstat,&procuid,&procppid,procprog,&pos]) -- AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -Ao 's user ppid args'") -+ AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -axo 's user ppid args'") - EXTRAS="$EXTRAS check_netsaint" -- AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -Ao 's uid ppid comm args'") -+ AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -axo 's uid ppid comm args'") - AC_DEFINE_UNQUOTED(PS_FORMAT,"%s %d %d %s %n") -- AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -Ao 'vsz comm'") -+ AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -axo 'vsz comm'") - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") -- AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -Ao 'rss comm'") -+ AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -axo 'rss comm'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -Ao 's comm vsz rss'" --elif [ps -Ao 'status comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] -+ echo " ps syntax... $PATH_TO_PS -axo 's comm vsz rss'" -+elif [ps -axo 'status comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] - then - AC_DEFINE(USE_PS_VARS) - AC_DEFINE_UNQUOTED(PS_VARLIST,[procstat,&procuid,&procppid,procprog,&pos]) -- AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -Ao 'status user ppid args'") -+ AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -axo 'status user ppid args'") - EXTRAS="$EXTRAS check_netsaint" -- AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -Ao 'status uid ppid comm args'") -+ AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -axo 'status uid ppid comm args'") - AC_DEFINE_UNQUOTED(PS_FORMAT,"%s %d %d %s %n") -- AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -Ao 'vsz comm'") -+ AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -axo 'vsz comm'") - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") -- AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -Ao 'rss comm'") -+ AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -axo 'rss comm'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -Ao 'status comm vsz rss'" --elif [ps -Ao 'state comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] -+ echo " ps syntax... $PATH_TO_PS -axo 'status comm vsz rss'" -+elif [ps -axo 'state comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] - then - AC_DEFINE(USE_PS_VARS) - AC_DEFINE_UNQUOTED(PS_VARLIST,[procstat,&procuid,&procppid,procprog,&pos]) -- AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -Ao 'state user ppid args'") -+ AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -axo 'state user ppid args'") - EXTRAS="$EXTRAS check_netsaint" -- AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -Ao 'state uid ppid comm args'") -+ AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -axo 'state uid ppid comm args'") - AC_DEFINE_UNQUOTED(PS_FORMAT,"%s %d %d %s %n") -- AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -Ao 'vsz comm'") -+ AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -axo 'vsz comm'") - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") -- AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -Ao 'rss comm'") -+ AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -axo 'rss comm'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -Ao 'state comm vsz rss'" --elif [ps -ao 'state command vsz rss user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] -+ echo " ps syntax... $PATH_TO_PS -axo 'state comm vsz rss'" -+elif [ps -axo 'state command vsz rss user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] - then - AC_DEFINE(USE_PS_VARS) - AC_DEFINE_UNQUOTED(PS_VARLIST,[procstat,&procuid,&procppid,procprog,&pos]) -- AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -ao 'state user ppid args'") -+ AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS -axo 'state user ppid args'") - EXTRAS="$EXTRAS check_netsaint" -- AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -ao 'state uid ppid command args'") -+ AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS -axo 'state uid ppid command args'") - AC_DEFINE_UNQUOTED(PS_FORMAT,"%s %d %d %s %n") -- AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -ao 'vsz command'") -+ AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -axo 'vsz command'") - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") -- AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -ao 'rss command'") -+ AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -axo 'rss command'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -ao 'state command vsz rss'" -+ echo " ps syntax... $PATH_TO_PS -axo 'state command vsz rss'" - dnl FreeBSD --elif [ps waxco 'state command vsz rss uid user ppid' 2>/dev/null | egrep -i "^STAT +COMMAND +VSZ +RSS +UID +USER +PPID" >/dev/null] -+elif [ps waxo 'state command vsz rss uid user ppid' 2>/dev/null | egrep -i "^STAT +COMMAND +VSZ +RSS +UID +USER +PPID" >/dev/null] - then - AC_DEFINE(USE_PS_VARS) - AC_DEFINE_UNQUOTED(PS_VARLIST,[procstat,&procuid,&procppid,procprog,&pos]) - AC_DEFINE_UNQUOTED(PS_RAW_COMMAND,"$PATH_TO_PS waxo 'state uid ppid command'") - EXTRAS="$EXTRAS check_netsaint" -- AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS waxco 'state uid ppid command command'") -+ AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_PS waxo 'state uid ppid command command'") - AC_DEFINE_UNQUOTED(PS_FORMAT,"%s %d %d %s %n") -- AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS waxco 'vsz command'") -+ AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS waxo 'vsz command'") - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") -- AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS waxco 'rss command'") -+ AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS waxo 'rss command'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -Ao 'state command vsz rss'" -+ echo " ps syntax... $PATH_TO_PS -axo 'state command vsz rss'" - dnl BSD-like mode in RH 6.1 - elif [ps waxno 'state comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S +COMMAND +VSZ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null] - then -@@ -407,7 +421,7 @@ - AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s") - AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS waxno 'rss comm'") - AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s") -- echo " ps syntax... $PATH_TO_PS -waxco 'state comm vsz rss'" -+ echo " ps syntax... $PATH_TO_PS -waxo 'state comm vsz rss'" - dnl IRIX 53 - elif [ps -el 2>/dev/null | egrep -i "^ *F +S +UID +PID +PPID +C +PRI +NI +P +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+" >/dev/null] - then -@@ -618,6 +632,8 @@ - AC_DEFINE_UNQUOTED(WHO_COMMAND,"$PATH_TO_WHO") - fi - -+AC_ARG_ENABLE(snmp,--enable-snmp compile check_hpjd and check_snmp) -+if test $enableval; then - AC_PATH_PROG(PATH_TO_SNMPGET,snmpget) - if test -f "$PATH_TO_SNMPGET" - then -@@ -626,6 +642,7 @@ - else - echo "** Get snmpget from http://ucd-snmp.ucdavis.edu to make check_hpjd and check_snmp plugins" - fi -+fi - - AC_PATH_PROG(PATH_TO_SNMPGETNEXT,snmpgetnext) - if test -f "$PATH_TO_SNMPGETNEXT" -@@ -633,6 +650,8 @@ - AC_DEFINE_UNQUOTED(PATH_TO_SNMPGETNEXT,"$PATH_TO_SNMPGETNEXT") - fi - -+AC_ARG_ENABLE(qstat,--enable-qstat compile check_game) -+if test $enableval; then - AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat) - AC_PATH_PROG(PATH_TO_QSTAT,qstat) - if test -n "$PATH_TO_QUAKESTAT" -@@ -646,7 +665,10 @@ - else - echo "** Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin" - fi -+fi - -+AC_ARG_ENABLE(fping,--enable-fping compile check_fping) -+if test $enableval; then - AC_PATH_PROG(PATH_TO_FPING,fping) - if test -n "$PATH_TO_FPING" - then -@@ -654,6 +676,7 @@ - EXTRAS="$EXTRAS check_fping" - else - echo "** Get fping from http://www.stanford.edu/~schemers/docs/fping/fping.html in order to make check_fping plugin" -+fi - fi - - AC_PATH_PROG(PATH_TO_SSH,ssh) diff --git a/net-mgmt/netsaint-plugins/files/patch-ac b/net-mgmt/netsaint-plugins/files/patch-ac deleted file mode 100644 index 994cda94580f..000000000000 --- a/net-mgmt/netsaint-plugins/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins-scripts/check_ntp.pl.orig Mon Aug 28 17:00:59 2000 -+++ plugins-scripts/check_ntp.pl Mon Apr 9 19:37:32 2001 -@@ -153,7 +153,7 @@ - ### - ### - --if (#open(NTPDC,"/usr/sbin/ntpdc -c $host 2>&1 |") || -+if (open(NTPDC,"/usr/sbin/ntpdc -c $host 2>&1 |") || - open(NTPDC,"/usr/sbin/xntpdc -c $host 2>&1 |") ) { - while (<NTPDC>) { - print if ($verbose); diff --git a/net-mgmt/netsaint-plugins/pkg-comment b/net-mgmt/netsaint-plugins/pkg-comment deleted file mode 100644 index e5f08464789b..000000000000 --- a/net-mgmt/netsaint-plugins/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Plugins for netsaint diff --git a/net-mgmt/netsaint-plugins/pkg-descr b/net-mgmt/netsaint-plugins/pkg-descr deleted file mode 100644 index da28433b287c..000000000000 --- a/net-mgmt/netsaint-plugins/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -This is a plugin package for Netsaint. Quoting from the -main Netsaint package: - -NetSaint is a program that will monitor hosts and services -on your network. It has the ability to email or page you -when a problem arises and when it gets resolved. NetSaint -is written in C and is designed to run under Linux, although -it should work under most other *NIX variants. It can run -either as a normal process or as a daemon, intermittently -running checks on various services that you specify. The -actual service checks are performed by external "plugins" -which return service information to NetSaint. Several CGI -programs are included with NetSaint in order to allow you -to view the current service status, history, etc. via a web browser. - -WWW: http://www.netsaint.org/ diff --git a/net-mgmt/netsaint-plugins/pkg-plist b/net-mgmt/netsaint-plugins/pkg-plist deleted file mode 100644 index dad66c5abf20..000000000000 --- a/net-mgmt/netsaint-plugins/pkg-plist +++ /dev/null @@ -1,50 +0,0 @@ -libexec/netsaint/check_breeze -libexec/netsaint/check_by_ssh -libexec/netsaint/check_dig -libexec/netsaint/check_disk -libexec/netsaint/check_disk_smb -libexec/netsaint/check_dns -libexec/netsaint/check_dummy -libexec/netsaint/check_flexlm -%%SUB_FPING%%libexec/netsaint/check_fping -libexec/netsaint/check_ftp -%%SUB_QSTAT%%libexec/netsaint/check_game -%%SUB_SNMP%%libexec/netsaint/check_hpjd -libexec/netsaint/check_http -libexec/netsaint/check_imap -libexec/netsaint/check_ircd -%%SUB_LDAP%%libexec/netsaint/check_ldap -libexec/netsaint/check_load -libexec/netsaint/check_log -libexec/netsaint/check_mrtg -libexec/netsaint/check_mrtgtraf -%%SUB_MYSQL%%libexec/netsaint/check_mysql -libexec/netsaint/check_netsaint -libexec/netsaint/check_nntp -libexec/netsaint/check_ntp -libexec/netsaint/check_nwstat -libexec/netsaint/check_oracle -libexec/netsaint/check_overcr -%%SUB_PGSQL%%libexec/netsaint/check_pgsql -libexec/netsaint/check_ping -libexec/netsaint/check_pop -libexec/netsaint/check_procs -%%SUB_RADIUS%%libexec/netsaint/check_radius -libexec/netsaint/check_real -libexec/netsaint/check_rpc -libexec/netsaint/check_sensors -libexec/netsaint/check_smtp -%%SUB_SNMP%%libexec/netsaint/check_snmp -libexec/netsaint/check_ssh -libexec/netsaint/check_swap -libexec/netsaint/check_tcp -libexec/netsaint/check_time -libexec/netsaint/check_udp -libexec/netsaint/check_ups -libexec/netsaint/check_users -libexec/netsaint/check_vsz -libexec/netsaint/check_wave -libexec/netsaint/urlize -libexec/netsaint/utils.pm -libexec/netsaint/utils.sh -@dirrm libexec/netsaint diff --git a/net-mgmt/netsaint-plugins/scripts/configure b/net-mgmt/netsaint-plugins/scripts/configure deleted file mode 100644 index efb83034f1d2..000000000000 --- a/net-mgmt/netsaint-plugins/scripts/configure +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then - exit -fi - -tempfile=`mktemp -t checklist` - -if [ "${BATCH}" = "yes" ]; then -else - /usr/bin/dialog --title "NetSaint plugins configuration options" --clear \ - --checklist "\n\ -Please select desired options:" -1 -1 16 \ -QStat "Game server query support" OFF \ -FPing "Support for non-flooding fast ping" OFF \ -NetSNMP "SNMP support" OFF \ -Radiusclient "Radius support" OFF \ -MySQL "MySQL support" OFF \ -PostgreSQL "PostgreSQL support" OFF \ -OpenLDAP "OpenLDAP support" OFF \ -2> $tempfile - - retval=$? - - if [ -s $tempfile ]; then - set `cat $tempfile` - fi - rm -f $tempfile - - case $retval in - 0) if [ -z "$*" ]; then - echo "Nothing selected" - fi - ;; - 1) echo "Cancel pressed." - exit 1 - ;; - esac -fi - -exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - -SUB_QSTAT="@comment " -SUB_FPING="@comment " -SUB_SNMP="@comment " -SUB_RADIUS="@comment " -SUB_MYSQL="@comment " -SUB_PGSQL="@comment " -SUB_LDAP="@comment " - -while [ "$1" ]; do - case $1 in - \"QStat\") - echo "BUILD_DEPENDS+= qstat:\${PORTSDIR}/games/qstat" - echo "RUN_DEPENDS+= qstat:\${PORTSDIR}/games/qstat" - echo "CONFIGURE_ARGS+= --enable-qstat" - SUB_QSTAT="" - ;; - \"FPing\") - echo "BUILD_DEPENDS+= fping:\${PORTSDIR}/net/fping" - echo "RUN_DEPENDS+= fping:\${PORTSDIR}/net/fping" - echo "CONFIGURE_ARGS+= --enable-fping" - SUB_FPING="" - ;; - \"NetSNMP\") - echo "BUILD_DEPENDS+= snmpcheck:\${PORTSDIR}/net/net-snmp" - echo "RUN_DEPENDS+= snmpcheck:\${PORTSDIR}/net/net-snmp" - echo "CONFIGURE_ARGS+= --enable-snmp" - SUB_SNMP="" - ;; - \"Radiusclient\") - echo "LIB_DEPENDS+= radiusclient.0:\${PORTSDIR}/net/radiusclient" - echo "CONFIGURE_ARGS+= --enable-radius" - SUB_RADIUS="" - ;; - \"MySQL\") - echo "LIB_DEPENDS+= mysqlclient.10:\${PORTSDIR}/databases/mysql323-client" - echo "CONFIGURE_ARGS+= --with-mysqllibdir=\${LOCALBASE}/lib/mysql" - SUB_MYSQL="" - ;; - \"PostgreSQL\") - echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7" - echo "CONFIGURE_ARGS+= --with-pgsql=\${LOCALBASE}/pgsql" - SUB_PGSQL="" - ;; - \"OpenLDAP\") - echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2" - echo "CONFIGURE_ARGS+= --enable-ldap" - SUB_LDAP="" - ;; - *) - echo "Invalid option(s): $*" > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - ;; - esac - shift -done - -echo "PLIST_SUB+= SUB_QSTAT=\"${SUB_QSTAT}\"" -echo "PLIST_SUB+= SUB_FPING=\"${SUB_FPING}\"" -echo "PLIST_SUB+= SUB_SNMP=\"${SUB_SNMP}\"" -echo "PLIST_SUB+= SUB_RADIUS=\"${SUB_RADIUS}\"" -echo "PLIST_SUB+= SUB_MYSQL=\"${SUB_MYSQL}\"" -echo "PLIST_SUB+= SUB_PGSQL=\"${SUB_PGSQL}\"" -echo "PLIST_SUB+= SUB_LDAP=\"${SUB_LDAP}\"" diff --git a/net-mgmt/netsaint-plugins/scripts/createuser b/net-mgmt/netsaint-plugins/scripts/createuser deleted file mode 100644 index 0ebde3c5496d..000000000000 --- a/net-mgmt/netsaint-plugins/scripts/createuser +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/perl -# - -eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' -& eval 'exec /usr/bin/perl -S $0 $argv:q' -if 0; - -if( $> ) { - print "\nYou must be root to run this step!\n\n"; - exit 1; -} - -if( getpwnam( "netsaint" ) ) { - ( $null, $null, $nsUID ) = getpwnam( "netsaint" ); -} else { - $nsUID = 70; - while( getpwuid( $nsUID ) ) { - $nsUID++; - } -} - -if( getgrnam( "netsaint" ) ) { - ( $null, $null, $nsGID ) = getgrnam( "netsaint" ); -} else { - $nsGID = 70; - while( getgrgid( $nsGID ) ) { - $nsGID++; - } - &append_file( "/etc/group", "netsaint:*:$nsGID:" ); -} - -print "netsaint user using uid $nsUID and gid $nsGID\n"; - -system( "/usr/bin/chpass -a \"netsaint:*:$nsUID:$nsGID\:\:0:0:Netsaint pseudo-user:/var/netsaint:/sbin/nologin\"" ); - -sub append_file { - local($file,@list) = @_; - local($LOCK_EX) = 2; - local($LOCK_NB) = 4; - local($LOCK_UN) = 8; - - open(F, ">> $file") || die "$file: $!\n"; - while( ! flock( F, $LOCK_EX | $LOCK_NB ) ) { - exit 1; - } - print F join( "\n", @list) . "\n"; - close F; - flock( F, $LOCK_UN ); -} diff --git a/net-mgmt/netsaint/Makefile b/net-mgmt/netsaint/Makefile deleted file mode 100644 index dc57265d8145..000000000000 --- a/net-mgmt/netsaint/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# New ports collection makefile for: netsaint -# Date created: Wed 12 Jul 2000 -# Whom: will -# -# $FreeBSD$ -# - -PORTNAME= netsaint -PORTVERSION= 0.0.7b3 -CATEGORIES= net -MASTER_SITES= http://netsaint.sourceforge.net/download/ - -MAINTAINER= blaz@amis.net - -LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \ - gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -RUN_DEPENDS= ${LOCALBASE}/libexec/netsaint/check_netsaint:${PORTSDIR}/net/netsaint-plugins - -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib -lgd -lgnugetopt" -CONFIGURE_ARGS= --with-command-user=nobody \ - --with-command-grp=nogroup \ - --with-netsaint-user=netsaint \ - --with-netsaint-grp=netsaint \ - --sbindir=${PREFIX}/share/netsaint/sbin \ - --libexecdir=${PREFIX}/libexec/netsaint \ - --datadir=${PREFIX}/share/netsaint \ - --sysconfdir=${PREFIX}/etc/netsaint \ - --localstatedir=${PREFIX}/var/netsaint - -INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode - -pre-fetch: - @${SH} ${SCRIPTDIR}/checkps - -pre-install: - ${PERL} ${SCRIPTDIR}/createuser - -.include <bsd.port.mk> diff --git a/net-mgmt/netsaint/distinfo b/net-mgmt/netsaint/distinfo deleted file mode 100644 index ebfae039965a..000000000000 --- a/net-mgmt/netsaint/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (netsaint-0.0.7b3.tar.gz) = b21ed67a86266b021037f46c78c5900f diff --git a/net-mgmt/netsaint/files/patch-aa b/net-mgmt/netsaint/files/patch-aa deleted file mode 100644 index e106d0e255b3..000000000000 --- a/net-mgmt/netsaint/files/patch-aa +++ /dev/null @@ -1,34 +0,0 @@ ---- Makefile.in.orig Thu Mar 1 05:49:19 2001 -+++ Makefile.in Tue Apr 3 10:02:31 2001 -@@ -27,7 +27,7 @@ - INSTALL_OPTS=@INSTALL_OPTS@ - COMMAND_OPTS=@COMMAND_OPTS@ - INIT_DIR=@init_dir@ --INIT_OPTS=-o root -g root -+INIT_OPTS=-o root -g wheel - CGICFGDIR=$(CGIDIR) - PERLDIR=@PERLDIR@ - -@@ -99,16 +99,16 @@ - - install-config: - $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) netsaint.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) hosts.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) commands.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) nscgi.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 660 $(INSTALL_OPTS) resource.cfg $(DESTDIR)$(CFGDIR) -+ $(INSTALL) -m 664 $(INSTALL_OPTS) netsaint.cfg $(DESTDIR)$(CFGDIR)/netsaint.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) hosts.cfg $(DESTDIR)$(CFGDIR)/hosts.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) commands.cfg $(DESTDIR)$(CFGDIR)/commands.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) nscgi.cfg $(DESTDIR)$(CFGDIR)/nscgi.cfg.dist -+ $(INSTALL) -m 660 $(INSTALL_OPTS) resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg.dist - - install-init: install-daemoninit - - install-daemoninit: -- $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/netsaint -+ $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/netsaint.sh - - install-commandmode: - $(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(LOGDIR)/rw diff --git a/net-mgmt/netsaint/files/patch-ab b/net-mgmt/netsaint/files/patch-ab deleted file mode 100644 index 52c154d64fd0..000000000000 --- a/net-mgmt/netsaint/files/patch-ab +++ /dev/null @@ -1,10 +0,0 @@ ---- base/Makefile.in.orig Sun Feb 18 22:33:22 2001 -+++ base/Makefile.in Thu Mar 1 21:58:39 2001 -@@ -86,7 +86,6 @@ - devclean: clean - - install: -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR) - $(INSTALL) -m 774 $(INSTALL_OPTS) netsaint $(DESTDIR)$(BINDIR) - - diff --git a/net-mgmt/netsaint/files/patch-ad b/net-mgmt/netsaint/files/patch-ad deleted file mode 100644 index 6d8038c4bd21..000000000000 --- a/net-mgmt/netsaint/files/patch-ad +++ /dev/null @@ -1,42 +0,0 @@ ---- configure.orig Thu Mar 1 04:54:12 2001 -+++ configure Thu Mar 1 21:58:09 2001 -@@ -11,7 +11,7 @@ - ac_help= - ac_default_prefix=/usr/local - # Any additions from configure.in: --ac_default_prefix=/usr/local/netsaint -+#ac_default_prefix=/usr/local/netsaint - ac_help="$ac_help - --with-netsaint-user=<user> sets user name to run netsaint" - ac_help="$ac_help -@@ -562,9 +562,9 @@ - # Prefer explicitly selected file to automatically selected ones. - if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then -- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" -+ CONFIG_SITE="$prefix/share/netsaint/config.site $prefix/etc/netsaint/config.site" - else -- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" -+ CONFIG_SITE="$ac_default_prefix/share/netsaint/config.site $ac_default_prefix/etc/netsaint/config.site" - fi - fi - for ac_site_file in $CONFIG_SITE; do -@@ -1298,6 +1298,9 @@ - LDFLAGS="${LDFLAGS} -L${withval}" - LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}" - -+else -+ LDFLAGS="${LDFLAGS} -L/usr/local/lib" -+ LD_RUN_PATH="/usr/local/ib${LD_RUN_PATH:+:}${LD_RUN_PATH}" - fi - - # Check whether --with-gd-inc or --without-gd-inc was given. -@@ -1305,6 +1308,8 @@ - withval="$with_gd_inc" - - CFLAGS="${CFLAGS} -I${withval}" -+else -+ CFLAGS="${CFLAGS} -I/usr/local/include/gd" - - fi - diff --git a/net-mgmt/netsaint/files/patch-ae b/net-mgmt/netsaint/files/patch-ae deleted file mode 100644 index 6cbf9e27ebbf..000000000000 --- a/net-mgmt/netsaint/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.in Fri Apr 7 11:11:34 2000 -+++ configure.in.new Mon Jun 5 16:09:21 2000 -@@ -1,7 +1,7 @@ - dnl Process this file with autoconf to produce a configure script. - AC_INIT(base/netsaint.c) - AC_CONFIG_HEADER(common/config.h base/netsaint.h cgi/cgiutils.h) --AC_PREFIX_DEFAULT(/usr/local/netsaint) -+AC_PREFIX_DEFAULT(/usr/local) - - dnl Figure out how to invoke "install" and what install options to use. - diff --git a/net-mgmt/netsaint/files/patch-ag b/net-mgmt/netsaint/files/patch-ag deleted file mode 100644 index 14027c5d9cc9..000000000000 --- a/net-mgmt/netsaint/files/patch-ag +++ /dev/null @@ -1,31 +0,0 @@ ---- functions Fri Apr 7 11:11:34 2000 -+++ functions.new Sat Jun 10 13:31:31 2000 -@@ -11,7 +11,7 @@ - # - - # First set up a default search path. --PATH=/opt/gnu/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin -+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin - export PATH - - # Get a sane screen width -@@ -174,7 +174,7 @@ - # fi - - # Finally try to extract it from ps -- pid=`ps -eo pid,ppid,fname | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` -+ pid=`ps -axco pid,ppid,command | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` - if [ "$pid" != "" ] ; then - echo $pid - return 0 -@@ -206,8 +206,8 @@ - fi - fi - -- # See if /var/lock/subsys/$1 exists -- if [ -f /var/lock/subsys/$1 ]; then -+ # See if /var/spool/lock/$1 exists -+ if [ -f /var/spool/lock/$1 ]; then - echo "$1 dead but subsys locked" - return 2 - fi diff --git a/net-mgmt/netsaint/files/patch-ai b/net-mgmt/netsaint/files/patch-ai deleted file mode 100644 index ef3b63b31395..000000000000 --- a/net-mgmt/netsaint/files/patch-ai +++ /dev/null @@ -1,27 +0,0 @@ ---- daemon-init.in.orig Sun Feb 18 23:33:21 2001 -+++ daemon-init.in Tue Apr 3 20:58:18 2001 -@@ -68,12 +68,9 @@ - - - # Source function library --# Solaris doesn't have an rc.d directory, so do a test first --#if [ -f /etc/rc.d/init.d/functions ]; then --#. /etc/rc.d/init.d/functions --#elif [ -f /etc/init.d/functions ]; then --#. /etc/init.d/functions --#fi -+if [ -f @sysconfdir@/functions ]; then -+. @sysconfdir@/functions -+fi - - prefix=@prefix@ - exec_prefix=@exec_prefix@ -@@ -101,7 +98,7 @@ - - start) - echo "Starting network monitor: netsaint" -- su $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" -+ su -m $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" - $NetsaintBin -d $NetsaintCfg - if [ -d $NetsaintLckDir ]; then touch $NetsaintLckDir/$NetsaintLckFile; fi - sleep 1 diff --git a/net-mgmt/netsaint/pkg-comment b/net-mgmt/netsaint/pkg-comment deleted file mode 100644 index 5641db14d8cc..000000000000 --- a/net-mgmt/netsaint/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Extremely powerful network monitoring system diff --git a/net-mgmt/netsaint/pkg-descr b/net-mgmt/netsaint/pkg-descr deleted file mode 100644 index ba87fff062b8..000000000000 --- a/net-mgmt/netsaint/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -NetSaint is a program that will monitor hosts and services on your -network. It has the ability to email or page you when a problem arises -and when it gets resolved. NetSaint is written in C and is designed to -run under Linux, although it should work under most other *NIX variants. -It can run either as a normal process or as a daemon, intermittently -running checks on various services that you specify. The actual service -checks are performed by external "plugins" which return service -information to NetSaint. Several CGI programs are included with NetSaint -in order to allow you to view the current service status, history, etc. -via a web browser. - -WWW: http://www.netsaint.org/ diff --git a/net-mgmt/netsaint/pkg-plist b/net-mgmt/netsaint/pkg-plist deleted file mode 100644 index d71e872be420..000000000000 --- a/net-mgmt/netsaint/pkg-plist +++ /dev/null @@ -1,293 +0,0 @@ -@exec mkdir -p %D/var/netsaint/archives -@exec mkdir -p %D/var/netsaint/rw -@exec chmod 775 %D/var/netsaint %D/var/netsaint/archives %D/var/netsaint/rw -@exec chown netsaint:netsaint %D/var/netsaint %D/var/netsaint/archives -@exec chown nobody:nogroup %D/var/netsaint/rw -bin/netsaint -etc/netsaint/commands.cfg.dist -etc/netsaint/hosts.cfg.dist -etc/netsaint/netsaint.cfg.dist -etc/netsaint/nscgi.cfg.dist -etc/netsaint/resource.cfg.dist -etc/rc.d/netsaint.sh -share/netsaint/docs/about.html -share/netsaint/docs/addons.html -share/netsaint/docs/cgiauth.html -share/netsaint/docs/cgis.html -share/netsaint/docs/checkscheduling.html -share/netsaint/docs/clusters.html -share/netsaint/docs/commandfile.html -share/netsaint/docs/config.html -share/netsaint/docs/configcgi.html -share/netsaint/docs/confighost.html -share/netsaint/docs/configmain.html -share/netsaint/docs/dependencies.html -share/netsaint/docs/developer/commentfile.html -share/netsaint/docs/developer/images/xcdapi.gif -share/netsaint/docs/developer/images/xedapi.gif -share/netsaint/docs/developer/images/xodapi.gif -share/netsaint/docs/developer/images/xrdapi.gif -share/netsaint/docs/developer/images/xsdapi.gif -share/netsaint/docs/developer/index.html -share/netsaint/docs/developer/pluginhowto.html -share/netsaint/docs/developer/stateretentionfile.html -share/netsaint/docs/developer/statusfile.html -share/netsaint/docs/developer/xcd.html -share/netsaint/docs/developer/xdata.html -share/netsaint/docs/developer/xed.html -share/netsaint/docs/developer/xod.html -share/netsaint/docs/developer/xrd.html -share/netsaint/docs/developer/xsd.html -share/netsaint/docs/distributed.html -share/netsaint/docs/downtime.html -share/netsaint/docs/escalations.html -share/netsaint/docs/eventhandlers.html -share/netsaint/docs/extcommands.html -share/netsaint/docs/faqs.html -share/netsaint/docs/flapping.html -share/netsaint/docs/funstuff.html -share/netsaint/docs/images/activepassive.gif -share/netsaint/docs/images/avail_cgi.gif -share/netsaint/docs/images/checktiming.gif -share/netsaint/docs/images/cmd_cgi.gif -share/netsaint/docs/images/config_cgi.gif -share/netsaint/docs/images/distributed.gif -share/netsaint/docs/images/extinfo_cgi_a.gif -share/netsaint/docs/images/extinfo_cgi_b.gif -share/netsaint/docs/images/extinfo_cgi_c.gif -share/netsaint/docs/images/extinfo_cgi_d.gif -share/netsaint/docs/images/extinfo_cgi_e.gif -share/netsaint/docs/images/history_cgi.gif -share/netsaint/docs/images/indirecthostcheck.gif -share/netsaint/docs/images/indirectsvccheck.gif -share/netsaint/docs/images/indirectsvccheck2.gif -share/netsaint/docs/images/interleaved1.gif -share/netsaint/docs/images/interleaved2.gif -share/netsaint/docs/images/network-heirarchy.gif -share/netsaint/docs/images/network-outage1.gif -share/netsaint/docs/images/network-outage2.gif -share/netsaint/docs/images/noninterleaved1.gif -share/netsaint/docs/images/noninterleaved2.gif -share/netsaint/docs/images/notification-process.gif -share/netsaint/docs/images/notifications_cgi.gif -share/netsaint/docs/images/outages_cgi.gif -share/netsaint/docs/images/physical-network.gif -share/netsaint/docs/images/plugintheory.gif -share/netsaint/docs/images/redundancy-1.gif -share/netsaint/docs/images/redundancy-2.gif -share/netsaint/docs/images/service-dependencies.gif -share/netsaint/docs/images/showlog_cgi.gif -share/netsaint/docs/images/statetransitions.gif -share/netsaint/docs/images/statetransitions2.gif -share/netsaint/docs/images/status_cgi_a.gif -share/netsaint/docs/images/status_cgi_b.gif -share/netsaint/docs/images/statusmap_cgi.gif -share/netsaint/docs/images/statuswml_cgi.gif -share/netsaint/docs/images/statuswrl_cgi.gif -share/netsaint/docs/images/tac_cgi.gif -share/netsaint/docs/images/trends_cgi.gif -share/netsaint/docs/index.html -share/netsaint/docs/indirectchecks.html -share/netsaint/docs/installing.html -share/netsaint/docs/installweb.html -share/netsaint/docs/macros.html -share/netsaint/docs/makehtml.html -share/netsaint/docs/networkoutages.html -share/netsaint/docs/networkreachability.html -share/netsaint/docs/notifications.html -share/netsaint/docs/oldplugins.html -share/netsaint/docs/parallelization.html -share/netsaint/docs/passivechecks.html -share/netsaint/docs/perfdata.html -share/netsaint/docs/pluginhowto.html -share/netsaint/docs/plugins.html -share/netsaint/docs/plugintheory.html -share/netsaint/docs/programmodes.html -share/netsaint/docs/redundancy.html -share/netsaint/docs/robots.txt -share/netsaint/docs/security.html -share/netsaint/docs/starting.html -share/netsaint/docs/statetypes.html -share/netsaint/docs/statuslevels.html -share/netsaint/docs/stoprestart.html -share/netsaint/docs/theory.html -share/netsaint/docs/timeperiods.html -share/netsaint/docs/tuning.html -share/netsaint/docs/verifyconfig.html -share/netsaint/docs/volatileservices.html -share/netsaint/docs/whatsnew.html -share/netsaint/docs/xdata-db.html -share/netsaint/images/ack.gif -share/netsaint/images/active.gif -share/netsaint/images/command.gif -share/netsaint/images/comment.gif -share/netsaint/images/config.gif -share/netsaint/images/contact.gif -share/netsaint/images/contactgroup.gif -share/netsaint/images/critical.gif -share/netsaint/images/delay.gif -share/netsaint/images/delete.gif -share/netsaint/images/disabled.gif -share/netsaint/images/down.gif -share/netsaint/images/downtime.gif -share/netsaint/images/enabled.gif -share/netsaint/images/extinfo.gif -share/netsaint/images/flapping.gif -share/netsaint/images/greendot.gif -share/netsaint/images/history.gif -share/netsaint/images/host.gif -share/netsaint/images/hostevent.gif -share/netsaint/images/info.gif -share/netsaint/images/left.gif -share/netsaint/images/logofullsize.gif -share/netsaint/images/logos/aix.gd2 -share/netsaint/images/logos/aix.gif -share/netsaint/images/logos/amiga.gd2 -share/netsaint/images/logos/amiga.gif -share/netsaint/images/logos/apple.gd2 -share/netsaint/images/logos/apple.gif -share/netsaint/images/logos/beos.gd2 -share/netsaint/images/logos/beos.gif -share/netsaint/images/logos/caldera.gd2 -share/netsaint/images/logos/caldera.gif -share/netsaint/images/logos/cat1900.gd2 -share/netsaint/images/logos/cat2900.gd2 -share/netsaint/images/logos/cat5000.gd2 -share/netsaint/images/logos/debian.gd2 -share/netsaint/images/logos/debian.gif -share/netsaint/images/logos/freebsd40.gd2 -share/netsaint/images/logos/freebsd40.gif -share/netsaint/images/logos/hp-printer40.gd2 -share/netsaint/images/logos/hp-printer40.gif -share/netsaint/images/logos/hpux.gd2 -share/netsaint/images/logos/hpux.gif -share/netsaint/images/logos/irix.gd2 -share/netsaint/images/logos/irix.gif -share/netsaint/images/logos/linux40.gd2 -share/netsaint/images/logos/linux40.gif -share/netsaint/images/logos/logo.gd2 -share/netsaint/images/logos/mac40.gd2 -share/netsaint/images/logos/mac40.gif -share/netsaint/images/logos/mandrake.gd2 -share/netsaint/images/logos/mandrake.gif -share/netsaint/images/logos/next.gd2 -share/netsaint/images/logos/next.gif -share/netsaint/images/logos/netsaint.gd2 -share/netsaint/images/logos/ng-switch40.gd2 -share/netsaint/images/logos/ng-switch40.gif -share/netsaint/images/logos/novell40.gd2 -share/netsaint/images/logos/novell40.gif -share/netsaint/images/logos/openbsd.gd2 -share/netsaint/images/logos/openbsd.gif -share/netsaint/images/logos/redhat.gd2 -share/netsaint/images/logos/redhat.gif -share/netsaint/images/logos/router40.gd2 -share/netsaint/images/logos/router40.gif -share/netsaint/images/logos/slackware.gd2 -share/netsaint/images/logos/slackware.gif -share/netsaint/images/logos/stampede.gd2 -share/netsaint/images/logos/stampede.gif -share/netsaint/images/logos/storm.gd2 -share/netsaint/images/logos/storm.gif -share/netsaint/images/logos/sun40.gd2 -share/netsaint/images/logos/sun40.gif -share/netsaint/images/logos/sunlogo.gd2 -share/netsaint/images/logos/sunlogo.gif -share/netsaint/images/logos/switch40.gd2 -share/netsaint/images/logos/switch40.gif -share/netsaint/images/logos/turbolinux.gd2 -share/netsaint/images/logos/turbolinux.gif -share/netsaint/images/logos/ultrapenguin.gd2 -share/netsaint/images/logos/ultrapenguin.gif -share/netsaint/images/logos/unicos.gd2 -share/netsaint/images/logos/unicos.gif -share/netsaint/images/logos/unknown.gd2 -share/netsaint/images/logos/win40.gd2 -share/netsaint/images/logos/win40.gif -share/netsaint/images/logos/yellowdog.gd2 -share/netsaint/images/logos/yellowdog.gif -share/netsaint/images/logrotate.gif -share/netsaint/images/logs.gif -share/netsaint/images/ndisabled.gif -share/netsaint/images/noack.gif -share/netsaint/images/notes.gif -share/netsaint/images/notify.gif -share/netsaint/images/orangedot.gif -share/netsaint/images/parentup.gif -share/netsaint/images/recovery.gif -share/netsaint/images/restart.gif -share/netsaint/images/right.gif -share/netsaint/images/sbbg.gif -share/netsaint/images/sbconfig.gif -share/netsaint/images/sbgeneral.gif -share/netsaint/images/sblogo.gif -share/netsaint/images/sbmonitor.gif -share/netsaint/images/serviceevent.gif -share/netsaint/images/sideback.jpg -share/netsaint/images/standby.gif -share/netsaint/images/start.gif -share/netsaint/images/status.gif -share/netsaint/images/status2.gif -share/netsaint/images/status3.gif -share/netsaint/images/status4.gif -share/netsaint/images/stop.gif -share/netsaint/images/tacdisabled.jpg -share/netsaint/images/tacenabled.jpg -share/netsaint/images/thermcrit.gif -share/netsaint/images/thermok.gif -share/netsaint/images/thermwarn.gif -share/netsaint/images/trends.gif -share/netsaint/images/trendshost.png -share/netsaint/images/trendssvc.png -share/netsaint/images/unknown.gif -share/netsaint/images/up.gif -share/netsaint/images/warning.gif -share/netsaint/images/zoom1.gif -share/netsaint/images/zoom2.gif -share/netsaint/index.html -share/netsaint/main.html -share/netsaint/media/critical.wav -share/netsaint/media/hostdown.wav -share/netsaint/media/warning.wav -share/netsaint/robots.txt -share/netsaint/sbin/avail.cgi -share/netsaint/sbin/cmd.cgi -share/netsaint/sbin/config.cgi -share/netsaint/sbin/extinfo.cgi -share/netsaint/sbin/history.cgi -share/netsaint/sbin/notifications.cgi -share/netsaint/sbin/outages.cgi -share/netsaint/sbin/showlog.cgi -share/netsaint/sbin/status.cgi -share/netsaint/sbin/statusmap.cgi -share/netsaint/sbin/statuswml.cgi -share/netsaint/sbin/statuswrl.cgi -share/netsaint/sbin/tac.cgi -share/netsaint/sbin/trends.cgi -share/netsaint/side.html -share/netsaint/stylesheets/avail.css -share/netsaint/stylesheets/cmd.css -share/netsaint/stylesheets/config.css -share/netsaint/stylesheets/extinfo.css -share/netsaint/stylesheets/history.css -share/netsaint/stylesheets/notifications.css -share/netsaint/stylesheets/outages.css -share/netsaint/stylesheets/showlog.css -share/netsaint/stylesheets/status.css -share/netsaint/stylesheets/statusmap.css -share/netsaint/stylesheets/tac.css -share/netsaint/stylesheets/trends.css -@unexec rmdir %D/etc/netsaint 2>/dev/null || true -@dirrm share/netsaint/docs/developer/images -@dirrm share/netsaint/docs/developer -@dirrm share/netsaint/docs/images -@dirrm share/netsaint/docs -@dirrm share/netsaint/images/logos -@dirrm share/netsaint/images -@dirrm share/netsaint/media -@dirrm share/netsaint/sbin -@dirrm share/netsaint/stylesheets -@dirrm share/netsaint -@unexec rmdir %D/var/netsaint/archives 2>/dev/null || true -@unexec rmdir %D/var/netsaint/rw 2>/dev/null || true -@unexec rmdir %D/var/netsaint 2>/dev/null || true diff --git a/net-mgmt/netsaint/scripts/checkps b/net-mgmt/netsaint/scripts/checkps deleted file mode 100644 index 61a4d67baaa7..000000000000 --- a/net-mgmt/netsaint/scripts/checkps +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -/bin/ps 999999 2>&1 >/dev/null -if [ $? = 0 ]; then - echo "You need to upgrade to RELENG_3, RELENG_4, or HEAD sometime" - echo "after July 8, 2000 around 5:15AM UTC, so that ps(1) will" - echo "return an error code if a PID does not exist. Netsaint needs this!" - exit -else - echo "Great, you have a working ps(1)! Netsaint can build." -fi diff --git a/net-mgmt/netsaint/scripts/createuser b/net-mgmt/netsaint/scripts/createuser deleted file mode 100644 index 0ebde3c5496d..000000000000 --- a/net-mgmt/netsaint/scripts/createuser +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/perl -# - -eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' -& eval 'exec /usr/bin/perl -S $0 $argv:q' -if 0; - -if( $> ) { - print "\nYou must be root to run this step!\n\n"; - exit 1; -} - -if( getpwnam( "netsaint" ) ) { - ( $null, $null, $nsUID ) = getpwnam( "netsaint" ); -} else { - $nsUID = 70; - while( getpwuid( $nsUID ) ) { - $nsUID++; - } -} - -if( getgrnam( "netsaint" ) ) { - ( $null, $null, $nsGID ) = getgrnam( "netsaint" ); -} else { - $nsGID = 70; - while( getgrgid( $nsGID ) ) { - $nsGID++; - } - &append_file( "/etc/group", "netsaint:*:$nsGID:" ); -} - -print "netsaint user using uid $nsUID and gid $nsGID\n"; - -system( "/usr/bin/chpass -a \"netsaint:*:$nsUID:$nsGID\:\:0:0:Netsaint pseudo-user:/var/netsaint:/sbin/nologin\"" ); - -sub append_file { - local($file,@list) = @_; - local($LOCK_EX) = 2; - local($LOCK_NB) = 4; - local($LOCK_UN) = 8; - - open(F, ">> $file") || die "$file: $!\n"; - while( ! flock( F, $LOCK_EX | $LOCK_NB ) ) { - exit 1; - } - print F join( "\n", @list) . "\n"; - close F; - flock( F, $LOCK_UN ); -} diff --git a/net-mgmt/nocol/Makefile b/net-mgmt/nocol/Makefile deleted file mode 100644 index a8b5a8855b0f..000000000000 --- a/net-mgmt/nocol/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# New ports collection makefile for: NOCOL -# Date created: 21 Nov 1998 -# Whom: bradh -# -# $FreeBSD$ -# - -PORTNAME= nocol -PORTVERSION= 4.3 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://www.netplex-tech.com/software/nocol/downloads/ - -MAINTAINER= bradh@uunet.co.za - -MANPREFIX= ${PREFIX}/nocol/ -MAN1= netconsole.1 -MAN3= nocol-prog.3 perlnocol.3 -MAN8= etherload.8 eventselect.8 genmon.8 multiping.8 noclogd.8 \ - nocol-overview.8 nocol-utility.8 nsmon.8 ntpmon.8 pingmon.8 \ - portmon.8 tpmon.8 trapmon.8 - -IS_INTERACTIVE= yes -GNU_CONFIGURE= yes -CONFIGURE_SCRIPT= Configure - -NO_PACKAGE= Hostname is needed. - -post-install: - @cd ${WRKSRC} && make root - -.include <bsd.port.mk> diff --git a/net-mgmt/nocol/distinfo b/net-mgmt/nocol/distinfo deleted file mode 100644 index 2e8f2c19056c..000000000000 --- a/net-mgmt/nocol/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (nocol-4.3.tar.gz) = 461576cf497f6a35fb87da152151269e diff --git a/net-mgmt/nocol/files/patch-aa b/net-mgmt/nocol/files/patch-aa deleted file mode 100644 index 606fdc3ee39f..000000000000 --- a/net-mgmt/nocol/files/patch-aa +++ /dev/null @@ -1,21 +0,0 @@ -*** Configure Fri Oct 2 21:50:16 1998 ---- Configure Sat Nov 21 18:57:22 1998 -*************** -*** 92,107 **** - a VAR directory (or alternately create soft links to these directories). - ! - -- echo "Enter top level directory [${ROOTDIR}]: " | tr -d '\012' -- read input ; if [ "X$input" != "X" ]; then ROOTDIR=${input}; fi -- -- MANDIR=${ROOTDIR}/man -- echo "Enter location of man pages [${MANDIR}]: " | tr -d '\012' -- read input ; if [ "X$input" != "X" ]; then MANDIR=${input} ; fi -- -- echo "Enter extension for man pages [${MANEXT}]: " | tr -d '\012' -- read input ; if [ "X$input" != "X" ]; then MANEXT=${input} ; fi -- - echo " SELECT A LOGHOST" - echo " The various monitors will log messages to a loghost. It might" - echo " be useful to create a CNAME entry for ${package}.your.domain..." ---- 92,97 ---- diff --git a/net-mgmt/nocol/files/patch-ab b/net-mgmt/nocol/files/patch-ab deleted file mode 100644 index c9c7dcc41ff0..000000000000 --- a/net-mgmt/nocol/files/patch-ab +++ /dev/null @@ -1,37 +0,0 @@ ---- doc/Makefile.mid.orig Fri Aug 28 12:28:12 1998 -+++ doc/Makefile.mid Mon Nov 23 09:26:25 1998 -@@ -6,26 +6,26 @@ - MANPAGES1 = netconsole.1 - MANPAGES3 = perlnocol.3 nocol-prog.3 - MANPAGES8 = etherload.8 eventselect.8 genmon.8 multiping.8 \ -- noclogd.8 nocol-overview.8 nocol-utility.8 nsmon.8 \ -+ noclogd.8 nocol-overview.8 nocol-utility.8 nsmon.8 ntpmon.8 \ - pingmon.8 portmon.8 tpmon.8 trapmon.8 - - all: - @echo "Building all in 'doc'" - --install: installdir -+install: # installdir - @echo "Installing in 'doc'" - @- [ -d $(MANDIR) ] || mkdir $(MANDIR) --# @-for d in $(MANDIR)/man1 $(MANDIR)/man3 $(MANDIR)/man8; do \ --# [! -d $$d ] && mkdir $$d ;\ --# done -+ @-for d in $(MANDIR)/man1 $(MANDIR)/man3 $(MANDIR)/man8; do \ -+ [ -d $$d ] || mkdir $$d ;\ -+ done - @- for m in $(MANPAGES1); do \ -- $(INSTALL) -c -m 644 $$m $(MANDIR)/`basename $$m 1`$(MANEXT) ;\ -+ $(INSTALL) -c -m 644 $$m $(MANDIR)/man1/ ;\ - done - @- for m in $(MANPAGES3); do \ -- $(INSTALL) -c -m 644 $$m $(MANDIR)/`basename $$m 3`$(MANEXT) ;\ -+ $(INSTALL) -c -m 644 $$m $(MANDIR)/man3/ ;\ - done - @- for m in $(MANPAGES8); do \ -- $(INSTALL) -c -m 644 $$m $(MANDIR)/`basename $$m 8`$(MANEXT) ;\ -+ $(INSTALL) -c -m 644 $$m $(MANDIR)/man8/ ;\ - done - - clean: diff --git a/net-mgmt/nocol/pkg-comment b/net-mgmt/nocol/pkg-comment deleted file mode 100644 index 04925db55923..000000000000 --- a/net-mgmt/nocol/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Network/Service monitoring software diff --git a/net-mgmt/nocol/pkg-descr b/net-mgmt/nocol/pkg-descr deleted file mode 100644 index 2190505d828a..000000000000 --- a/net-mgmt/nocol/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -NOCOL/NetConsole (Network Operation Center On-Line) is a network monitoring -package that runs on Unix platforms and is capable of monitoring network and -system variables such as ICMP or RPC reachability, RMON variables, -nameservers, ethernet load, port reachability, host performance, SNMP traps, -modem line usage, appletalk & novell routes/services, BGP peers, syslog -files, etc. The software is extensible and new monitors can be added easily. - -WWW: http://www.netplex-tech.com/software/nocol/ - --- -Brad Hendrickse -bradh@uunet.co.za diff --git a/net-mgmt/nocol/pkg-plist b/net-mgmt/nocol/pkg-plist deleted file mode 100644 index b4219baae56d..000000000000 --- a/net-mgmt/nocol/pkg-plist +++ /dev/null @@ -1,107 +0,0 @@ -@exec mkdir -p %D/nocol/data %D/nocol/msgs %D/nocol/run -nocol/bin/apcmon -nocol/bin/armon -nocol/bin/bgpmon -nocol/bin/bpmon -nocol/bin/ciscomon -nocol/bin/crontab.nocol -nocol/bin/display_nocol_datafile -nocol/bin/docrypt.pl -nocol/bin/etherload -nocol/bin/eventselect -nocol/bin/genmon -nocol/bin/genweb.pl -nocol/bin/hostmon -nocol/bin/hostmon-osclients/hostmon-client -nocol/bin/hostmon-osclients/hostmon-client.aix -nocol/bin/hostmon-osclients/hostmon-client.bsdi -nocol/bin/hostmon-osclients/hostmon-client.freebsd -nocol/bin/hostmon-osclients/hostmon-client.hpux -nocol/bin/hostmon-osclients/hostmon-client.irix5 -nocol/bin/hostmon-osclients/hostmon-client.irix6 -nocol/bin/hostmon-osclients/hostmon-client.linux -nocol/bin/hostmon-osclients/hostmon-client.osf1 -nocol/bin/hostmon-osclients/hostmon-client.seds -nocol/bin/hostmon-osclients/hostmon-client.solaris2 -nocol/bin/hostmon-osclients/hostmon-client.sunos4 -nocol/bin/hostmon-osclients/hostmon-client.ultrix -nocol/bin/hostmon-osclients/newsys.sh -nocol/bin/ippingmon -nocol/bin/keepalive_monitors -nocol/bin/log-maint -nocol/bin/logstats -nocol/bin/modemmon -nocol/bin/multiping -nocol/bin/ndaemon -nocol/bin/netconsole -nocol/bin/noclogd -nocol/bin/nocollib.pl -nocol/bin/notifier -nocol/bin/notifier.pl -nocol/bin/novellmon -nocol/bin/nrmon -nocol/bin/nsmon -nocol/bin/ntpmon -nocol/bin/osipingmon -nocol/bin/portmon -nocol/bin/radiusmon -nocol/bin/rcisco -nocol/bin/rpcping -nocol/bin/rpcpingmon -nocol/bin/show_nocol_struct_sizes -nocol/bin/smbmon -nocol/bin/snmpgeneric -nocol/bin/snmpget -nocol/bin/snmpmon -nocol/bin/snmpmon-client -nocol/bin/snmpwalk -nocol/bin/sqlmon -nocol/bin/syslogmon -nocol/bin/testlog -nocol/bin/tkNocol -nocol/bin/tpmon -nocol/bin/trapmon -nocol/bin/upsmon -nocol/bin/webnocol.cgi -nocol/etc/mib-v2.txt -nocol/etc/netconsole-help -nocol/etc/samples/apcmon-confg -nocol/etc/samples/armon-confg -nocol/etc/samples/bgpmon-confg -nocol/etc/samples/bpmon-confg -nocol/etc/samples/ciscomon-confg -nocol/etc/samples/etherload-confg -nocol/etc/samples/hostmon-confg -nocol/etc/samples/ippingmon-confg -nocol/etc/samples/modemmon-confg -nocol/etc/samples/noclogd-confg -nocol/etc/samples/notifier-confg -nocol/etc/samples/novellmon-confg -nocol/etc/samples/nsmon-confg -nocol/etc/samples/ntpmon-confg -nocol/etc/samples/pm3dmmon-confg -nocol/etc/samples/pm3t1e1mon-confg -nocol/etc/samples/portmon-confg -nocol/etc/samples/radiusmon-confg -nocol/etc/samples/rpcpingmon-confg -nocol/etc/samples/smbmon-confg -nocol/etc/samples/snmpgeneric-confg -nocol/etc/samples/snmpmon-client-confg -nocol/etc/samples/snmpmon-confg -nocol/etc/samples/sqlmon-confg -nocol/etc/samples/syslogmon-confg -nocol/etc/samples/tpmon-confg -nocol/help/default -@dirrm nocol/run -@dirrm nocol/msgs -@dirrm nocol/man/man8 -@dirrm nocol/man/man3 -@dirrm nocol/man/man1 -@dirrm nocol/man -@dirrm nocol/help -@dirrm nocol/etc/samples -@dirrm nocol/etc -@dirrm nocol/data -@dirrm nocol/bin/hostmon-osclients -@dirrm nocol/bin -@dirrm nocol diff --git a/net-mgmt/nsc/Makefile b/net-mgmt/nsc/Makefile deleted file mode 100644 index e9f35e9aa8a7..000000000000 --- a/net-mgmt/nsc/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# ports collection makefile for: nsc -# Date created: Tue Apr 3 14:25:48 CEST 2001 -# Whom: Dirk Froemberg <dirk@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= nsc -PORTVERSION= 0.50c -CATEGORIES= net -MASTER_SITES= http://www.goth.dk/~goth/nsc/ - -MAINTAINER= dirk@FreeBSD.org - -RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/i386-freebsd/Curses.pm:${PORTSDIR}/devel/p5-Curses - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -do-install: - ${PERL} -i -pe 's|%%PREFIX%%|${PREFIX}|g; s|%%PERL%%|${PERL}|g' ${WRKSRC}/nsc.pl - ${INSTALL_SCRIPT} ${WRKSRC}/nsc.pl ${PREFIX}/bin/nsc - -.include <bsd.port.mk> diff --git a/net-mgmt/nsc/distinfo b/net-mgmt/nsc/distinfo deleted file mode 100644 index 539a7fcbb8c1..000000000000 --- a/net-mgmt/nsc/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (nsc-0.50c.tar.gz) = 9a75d49f65808e185b40e9f8e50abe01 diff --git a/net-mgmt/nsc/files/patch-aa b/net-mgmt/nsc/files/patch-aa deleted file mode 100644 index 435a97d1bf54..000000000000 --- a/net-mgmt/nsc/files/patch-aa +++ /dev/null @@ -1,21 +0,0 @@ ---- nsc.pl.orig Mon Mar 6 19:07:46 2000 -+++ nsc.pl Tue Apr 3 14:41:23 2001 -@@ -1,4 +1,4 @@ --#!/bin/perl -w -+#!%%PERL%% -w - # vim:aw: - - # nsc.pl - curses-based console monitor for Netsaint -@@ -41,9 +41,9 @@ - my $fnConfig = "$ENV{'HOME'}/.nsc.conf"; - - my %NSC_KEYWORDS = ( -- 'nslog', '/usr/local/netsaint/var/status.log', -- 'hostcfg', '/usr/local/netsaint/etc/hosts.cfg', -- 'reloadcmd','/etc/rc.d/init.d/netsaint reload', -+ 'nslog', '%%PREFIX%%/var/netsaint/status.log', -+ 'hostcfg', '%%PREFIX%%/etc/netsaint/hosts.cfg', -+ 'reloadcmd','%%PREFIX%%/etc/rc.d/netsaint.sh reload', - 'showall', '1', - 'details', '1', - 'reverse', '0', diff --git a/net-mgmt/nsc/pkg-comment b/net-mgmt/nsc/pkg-comment deleted file mode 100644 index a4c5a26a06f5..000000000000 --- a/net-mgmt/nsc/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Netsaint Console monitor diff --git a/net-mgmt/nsc/pkg-descr b/net-mgmt/nsc/pkg-descr deleted file mode 100644 index cbaaf4b1c770..000000000000 --- a/net-mgmt/nsc/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -nsc is a curses-based console monitor for Netsaint. It allows you -to monitor Netsaint services without the expense or availability -of a GUI. - -WWW: http://www.goth.dk/~goth/nsc/ diff --git a/net-mgmt/nsc/pkg-plist b/net-mgmt/nsc/pkg-plist deleted file mode 100644 index fee2153c25d3..000000000000 --- a/net-mgmt/nsc/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -bin/nsc diff --git a/net-mgmt/nstreams/Makefile b/net-mgmt/nstreams/Makefile deleted file mode 100644 index be216ae9b680..000000000000 --- a/net-mgmt/nstreams/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# New ports collection makefile for: nstreams -# Date created: 22 September 1999 -# Whom: darius@dons.net.au -# -# $FreeBSD$ -# - -PORTNAME= nstreams -PORTVERSION= 1.0.0 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://www.hsc.fr/ressources/outils/nstreams/download/ - -MAINTAINER= ports@FreeBSD.org - -WRKSRC= ${WRKDIR}/${PORTNAME} - -GNU_CONFIGURE= yes - -MAN1= nstreams.1 - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/nstreams ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/docs/nstreams.1 ${MANPREFIX}/man/man1 -.for file in nstreams-networks nstreams-services - ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/etc/${file}.sample -.endfor - -.include <bsd.port.mk> diff --git a/net-mgmt/nstreams/distinfo b/net-mgmt/nstreams/distinfo deleted file mode 100644 index 6449615d7bc3..000000000000 --- a/net-mgmt/nstreams/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (nstreams-1.0.0.tar.gz) = 2d4ed1be1938a1cc24fabade616f31d0 diff --git a/net-mgmt/nstreams/files/patch-aa b/net-mgmt/nstreams/files/patch-aa deleted file mode 100644 index 1180995d5d34..000000000000 --- a/net-mgmt/nstreams/files/patch-aa +++ /dev/null @@ -1,26 +0,0 @@ ---- src/nstreams.c Thu Nov 11 22:13:14 1999 -+++ src/nstreams.c Fri Dec 29 07:04:41 2000 -@@ -179,6 +179,7 @@ - char * output_name = NULL; - - -+ bzero(cache, sizeof(struct cache)); - - - parser = parse_tcpdump_line; ---- src/output.c Thu Nov 11 22:13:15 1999 -+++ src/output.c Fri Dec 29 07:20:51 2000 -@@ -122,11 +122,11 @@ - else { - ret->sports = malloc(10); - sprintf(ret->sports, "%d", ret->sport); -- realloc(ret->sports, strlen(ret->sports)+1); -+ ret->sports = realloc(ret->sports, strlen(ret->sports)+1); - - ret->dports = malloc(10); - sprintf(ret->dports, "%d", ret->dport); -- realloc(ret->dports, strlen(ret->dports)+1); -+ ret->dports = realloc(ret->dports, strlen(ret->dports)+1); - } - - ret->show_net = shownet; diff --git a/net-mgmt/nstreams/pkg-comment b/net-mgmt/nstreams/pkg-comment deleted file mode 100644 index 890b9127d712..000000000000 --- a/net-mgmt/nstreams/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Analyses network traffic and produces ipfw rules to allow it diff --git a/net-mgmt/nstreams/pkg-descr b/net-mgmt/nstreams/pkg-descr deleted file mode 100644 index d0710f77aaae..000000000000 --- a/net-mgmt/nstreams/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -Nstreams is a program which analyzes the streams that occur on a network. It -displays which streams are generated by the users between several networks, -and between the networks and the outside. It can optionally generate the -ipchains or ipfw rules that will match these streams, thus only allowing what -is required for the users, and nothing more. - -Nstreams can parse the tcpdump output, or the files generated with the -w -option of tcpdump. It can also directly sniff the data that occurs on the -network (the use of tcpdump is however recommanded as long as nstreams is in -version 0.99.x). - -This product was designed by HSC and coded by Renaud Deraison -(deraison@cvs.nessus.org), author of the Nessus software (www.nessus.org). It -is available for free and under GNU license. - -WWW: http://www.hsc.fr/ressources/outils/nstreams/ diff --git a/net-mgmt/nstreams/pkg-plist b/net-mgmt/nstreams/pkg-plist deleted file mode 100644 index 529f8ba5af72..000000000000 --- a/net-mgmt/nstreams/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/nstreams -etc/nstreams-networks.sample -etc/nstreams-services.sample diff --git a/net-mgmt/oproute/Makefile b/net-mgmt/oproute/Makefile deleted file mode 100644 index fb6498848c59..000000000000 --- a/net-mgmt/oproute/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# ex:ts=8 -# New ports collection makefile for: oproute -# Date created: Mar 3, 2001 -# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= oproute -PORTVERSION= 0.7 -CATEGORIES= net -MASTER_SITES= ftp://ftp.opnix.com/pub/oproute/ -EXTRACT_SUFX= .tgz - -MAINTAINER= ijliao@FreeBSD.org - -post-patch: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile - -.include <bsd.port.mk> diff --git a/net-mgmt/oproute/distinfo b/net-mgmt/oproute/distinfo deleted file mode 100644 index bea7a003aa13..000000000000 --- a/net-mgmt/oproute/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (oproute-0.7.tgz) = 57b45cd6218371e601501ed4d647bff7 diff --git a/net-mgmt/oproute/files/patch-Makefile b/net-mgmt/oproute/files/patch-Makefile deleted file mode 100644 index 022c8851f031..000000000000 --- a/net-mgmt/oproute/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig Sat Mar 3 23:03:42 2001 -+++ Makefile Sat Mar 3 23:03:59 2001 -@@ -1,7 +1,7 @@ - - CPPFLAGS = -O3 - VERSION = 0.7 --BIN = /usr/local/bin -+BIN = %%PREFIX%%/bin - - all: oproute - diff --git a/net-mgmt/oproute/files/patch-oproute.cpp b/net-mgmt/oproute/files/patch-oproute.cpp deleted file mode 100644 index 324e25cc901d..000000000000 --- a/net-mgmt/oproute/files/patch-oproute.cpp +++ /dev/null @@ -1,28 +0,0 @@ ---- oproute.cpp.orig Sat Mar 3 23:16:17 2001 -+++ oproute.cpp Sat Mar 3 23:18:11 2001 -@@ -706,7 +706,7 @@ - udp = (struct udphdr *)(recvbuf + hlen1 + 8 +hlen2); - if(hip->ip_p == IPPROTO_UDP) - { -- pHop->nPort = ntohs(udp->dest); -+ pHop->nPort = ntohs(udp->uh_dport); - pHop->sRouterIP = sock_ntop_host((sockaddr *)sa_recv, sa_len); - pHop->state = HOP_COMPLETED; - pHop->fLatency = GetLatencyFromTV(tvNow, tvTimeOfLastSend); -@@ -721,14 +721,14 @@ - { - if (icmp->icmp_code == ICMP_UNREACH_PORT) - { -- pHop->nPort = ntohs(udp->dest); -+ pHop->nPort = ntohs(udp->uh_dport); - pHop->sRouterIP = sock_ntop_host((sockaddr *)sa_recv, sa_len); - pHop->state = HOP_ENDOFLINE; - pHop->fLatency = GetLatencyFromTV(tvNow, tvTimeOfLastSend); - } - else - { -- pHop->nPort = ntohs(udp->dest); -+ pHop->nPort = ntohs(udp->uh_dport); - pHop->sRouterIP = sock_ntop_host((sockaddr *)sa_recv, sa_len); - pHop->state = HOP_FAILED; - } diff --git a/net-mgmt/oproute/files/patch-oproute.h b/net-mgmt/oproute/files/patch-oproute.h deleted file mode 100644 index 22407f88729b..000000000000 --- a/net-mgmt/oproute/files/patch-oproute.h +++ /dev/null @@ -1,12 +0,0 @@ ---- oproute.h.orig Thu Mar 1 10:28:31 2001 -+++ oproute.h Sat Mar 3 23:12:12 2001 -@@ -3,6 +3,9 @@ - - #include <vector> - #include <string> -+#include <sys/types.h> -+#include <sys/socket.h> -+#include <netinet/in.h> - #include <sys/time.h> - #include <map> - diff --git a/net-mgmt/oproute/pkg-comment b/net-mgmt/oproute/pkg-comment deleted file mode 100644 index 2a9eb3887e15..000000000000 --- a/net-mgmt/oproute/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A tool for measuring general performance of the Internet diff --git a/net-mgmt/oproute/pkg-descr b/net-mgmt/oproute/pkg-descr deleted file mode 100644 index 3a45998f2ba9..000000000000 --- a/net-mgmt/oproute/pkg-descr +++ /dev/null @@ -1,18 +0,0 @@ -Everyone knows that no one can agree on a system of metrics for -measuring general performance of the Internet. It's one of these -horrible religious issues that no matter how hard we try, we just -can't reach a happy middle ground. - -The purpose of OpRoute is to attempt to establish a *generalized* -measurement system which takes into account all of the factors that -are usually considered to be important when it comes to performance. -Specifically: - - - Packet Loss - - Latency - - Layer 3 Hops - - AS Hops - - NAP Hops - - Throughput - -WWW: http://www.oproute.net/ diff --git a/net-mgmt/oproute/pkg-plist b/net-mgmt/oproute/pkg-plist deleted file mode 100644 index 686bd9793546..000000000000 --- a/net-mgmt/oproute/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -bin/oproute diff --git a/net-mgmt/p0f/Makefile b/net-mgmt/p0f/Makefile deleted file mode 100644 index af0b6cdc0c8d..000000000000 --- a/net-mgmt/p0f/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# New ports collection makefile for: p0f -# Date created: 2000-06-12 -# Whom: Trevor Johnson -# -# $FreeBSD$ -# - -PORTNAME= p0f -PORTVERSION= 1.7 -CATEGORIES= net -MASTER_SITES= http://lcamtuf.hack.pl/ -DISTNAME= ${PORTNAME} -EXTRACT_SUFX= .tgz - -MAINTAINER= trevor@FreeBSD.org - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -post-patch: - @${PERL} -pi -e "s=/etc=${PREFIX}/etc=g ; \ - s=/etc=${PREFIX}/etc=g" ${WRKSRC}/README - -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/etc - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/p0f - @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/p0f -.endif - -.include <bsd.port.mk> diff --git a/net-mgmt/p0f/distinfo b/net-mgmt/p0f/distinfo deleted file mode 100644 index 198e93223d63..000000000000 --- a/net-mgmt/p0f/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (p0f.tgz) = 5d4242df39c6325683ee02f9e95f2801 diff --git a/net-mgmt/p0f/files/patch-Makefile b/net-mgmt/p0f/files/patch-Makefile deleted file mode 100644 index a5ba44cb2520..000000000000 --- a/net-mgmt/p0f/files/patch-Makefile +++ /dev/null @@ -1,17 +0,0 @@ ---- Makefile.orig Sat Sep 2 17:41:34 2000 -+++ Makefile Sat Sep 2 17:41:48 2000 -@@ -3,11 +3,12 @@ - # (c) <lcamtuf@tpi.pl> - # - --CC = gcc -+CC ?= gcc - CLIBS = -lpcap - SUNLIBS = -lsocket -lnsl -D_SUN_=1 - STRIP = strip --CFLAGS = -O3 -Wall -+CFLAGS ?= -O3 -+CFLAGS += -Wall - FILE = p0f - VERSION = 1.7 - diff --git a/net-mgmt/p0f/files/patch-README b/net-mgmt/p0f/files/patch-README deleted file mode 100644 index 270fb4e42ac1..000000000000 --- a/net-mgmt/p0f/files/patch-README +++ /dev/null @@ -1,78 +0,0 @@ ---- README.orig Mon Jun 12 15:28:41 2000 -+++ README Mon Jun 12 21:15:54 2000 -@@ -27,30 +27,31 @@ - - Background: - -- * What is passive OS fingerprinting? -+ * What is passive OS fingerprinting? - -- Passive OS fingerprinting technique bases on information coming -- from remote host when it establishes connection to our system. Captured -- packets contains enough information to determine OS - and, unlike -- active scanners (nmap, queSO) - without sending anything to this host. -+ Passive OS fingerprinting is based on information coming from a remote host -+ when it establishes a connection to our system. Captured packets contain -+ enough information to identify the operating system. In contrast to active -+ scanners such as nmap and QueSO, p0f does not send anything to the host being -+ identified. - - If you're looking for more information, read Spitzner's text at: - http://www.enteract.com/~lspitz/finger.html - -- * How it works? -+ * How does it work? - - Well, there are some TCP/IP flag settings specific for given systems. - Usually initial TTL (8 bits), window size (16 bits), maximum segment size - (16 bits), don't fragment flag (1 bit), sackOK option (1 bit), nop option -- (1 bit) and window scaling option (8 bits) combined together gives unique, -+ (1 bit) and window scaling option (8 bits) combined together give a unique, - 51-bit signature for every system. - -- * What are main advantages? -+ * What are the main advantages? - -- Passive OS fingerprinting can be done on huge portions of input data - eg. -- information gathered on firewall, proxy, routing device or Internet server, -- without causing any network activity. You can launch passive OS detection -- software on such machine and leave it for days, weeks or months, collecting -+ Passive OS fingerprinting can be done on huge amounts of input data - -+ gathered on a firewall, proxy, routing device or Internet server - without -+ causing any network activity. You can launch passive OS detection -+ software on such a machine and leave it for days or months, collecting - really interesting statistical and - *erm* - just interesting information. - What's really funny - packet filtering firewalls, network address - translation and so on are transparent to p0f-alike software, so you're able -@@ -62,7 +63,7 @@ - Limitations - - Proxy firewalls and other high-level proxy devices are not transparent to -- any tcp fingerprinting software. It applies to p0f, as well. -+ any TCP fingerprinting software. It applies to p0f, as well. - - In order to obtain information required for fingerprinting, you have to - receive at least one SYN packet initializing TCP connection to your -@@ -78,9 +79,9 @@ - window size are constant for initial TCP/IP packet, but changing rapidly - later). - --Why our bubble gum is better? -+Why is our bubble gum better? - -- There is another passive OS detection utility, called 'siphon'. It's -+ There is another passive OS detection utility, called 'siphon'. It's a - pretty good piece of proof-of-concept software, but it isn't perfect. Well, - p0f isn't perfect for sure, but has several improvements: - -@@ -128,8 +129,8 @@ - - Files: - -- /etc/p0f.fp or ./p0f.fp - OS fingerprints database. Format is described -- inside: -+ /etc/p0f.fp or ./p0f.fp - OS fingerprints database. -+ The format is described inside: - - # Valid entry describes the way server starts TCP handshake (first SYN). - # Important options are: window size (wss), maximum segment size (mss), diff --git a/net-mgmt/p0f/pkg-comment b/net-mgmt/p0f/pkg-comment deleted file mode 100644 index acf5b5aa214d..000000000000 --- a/net-mgmt/p0f/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Passive OS fingerprinting tool diff --git a/net-mgmt/p0f/pkg-descr b/net-mgmt/p0f/pkg-descr deleted file mode 100644 index a48562804ca6..000000000000 --- a/net-mgmt/p0f/pkg-descr +++ /dev/null @@ -1,24 +0,0 @@ -from the README: - -Passive OS fingerprinting is based on information coming from a remote host -when it establishes a connection to our system. Captured packets contain -enough information to identify the operating system. In contrast to active -scanners such as nmap and QueSO, p0f does not send anything to the host being -identified. - -For more information, read Spitzner's text at: -http://www.enteract.com/~lspitz/finger.html . - -from the maintainer: - -Use of this program requires read access to the packet filtering -device, typically /dev/bpf0. Granting such access allows the users -who have it to put your Ethernet device into promiscuous mode and -sniff your network. See -http://www.infoworld.com/articles/op/xml/00/05/29/000529opswatch.xml -if you do not understand how this can be harmful. Running p0f with -no options will cause it to analyse packets intended for other -hosts. - -Trevor Johnson -trevor@jpj.net diff --git a/net-mgmt/p0f/pkg-plist b/net-mgmt/p0f/pkg-plist deleted file mode 100644 index ac2c86b8a336..000000000000 --- a/net-mgmt/p0f/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/p0f -etc/p0f.fp -share/doc/p0f/README -@dirrm share/doc/p0f diff --git a/net-mgmt/p5-Cflow/Makefile b/net-mgmt/p5-Cflow/Makefile deleted file mode 100644 index 2f7e2dffb736..000000000000 --- a/net-mgmt/p5-Cflow/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# New ports collection makefile for: p5-Cflow -# Date created: Di 13 Mär 2001 19:37:25 CET -# Whom: Andreas Klemm <andreas@klemm.gtn.com> -# -# $FreeBSD$ -# - -PORTNAME= Cflow -PORTVERSION= 1.030 -CATEGORIES= net perl5 -MASTER_SITES= http://net.doit.wisc.edu/~plonka/Cflow/ -PKGNAMEPREFIX= p5- - -MAINTAINER= ports@FreeBSD.org - -PERL_CONFIGURE= YES - -MAN1= flowdumper.1 -MAN3= Cflow.3 -MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} - -.include <bsd.port.mk> diff --git a/net-mgmt/p5-Cflow/distinfo b/net-mgmt/p5-Cflow/distinfo deleted file mode 100644 index 23c223e4c78f..000000000000 --- a/net-mgmt/p5-Cflow/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (Cflow-1.030.tar.gz) = 938163c9006927db87e9fc1c9adde492 diff --git a/net-mgmt/p5-Cflow/pkg-comment b/net-mgmt/p5-Cflow/pkg-comment deleted file mode 100644 index ee1d8af16c79..000000000000 --- a/net-mgmt/p5-Cflow/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Analyze raw flow files written by cflowd (Cisco NetFlow data) diff --git a/net-mgmt/p5-Cflow/pkg-descr b/net-mgmt/p5-Cflow/pkg-descr deleted file mode 100644 index d66cf016a2b4..000000000000 --- a/net-mgmt/p5-Cflow/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Cflow is a perl module for analyzing raw flow files written by -cflowd, a package used to collect Cisco NetFlow data. - -WWW: http://net.doit.wisc.edu/~plonka/Cflow/ diff --git a/net-mgmt/p5-Cflow/pkg-plist b/net-mgmt/p5-Cflow/pkg-plist deleted file mode 100644 index b6979f86cd3e..000000000000 --- a/net-mgmt/p5-Cflow/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/flowdumper -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cflow/Cflow.so -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cflow/Cflow.bs -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cflow/autosplit.ix -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Cflow.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cflow/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cflow diff --git a/net-mgmt/p5-Mon/Makefile b/net-mgmt/p5-Mon/Makefile deleted file mode 100644 index 596306bb1380..000000000000 --- a/net-mgmt/p5-Mon/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: p5-Mon -# Date created: October 30th, 2000 -# Whom: Nicholas Esborn <nick@netdot.net> -# -# $FreeBSD$ -# - -PORTNAME= Mon -PORTVERSION= 0.9 -CATEGORIES= net sysutils perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Mon -PKGNAMEPREFIX= p5- -DISTNAME= Mon-${PORTVERSION} - -MAINTAINER= nick@netdot.net - -PERL_CONFIGURE= YES - -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -MAN3= Mon::SNMP.3 \ - Mon::Client.3 \ - Mon::Protocol.3 - -.include <bsd.port.mk> diff --git a/net-mgmt/p5-Mon/distinfo b/net-mgmt/p5-Mon/distinfo deleted file mode 100644 index 6f3ec6c8ae16..000000000000 --- a/net-mgmt/p5-Mon/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (Mon-0.9.tar.gz) = 7c8cc3469023a4be52d2552bbd550da1 diff --git a/net-mgmt/p5-Mon/pkg-comment b/net-mgmt/p5-Mon/pkg-comment deleted file mode 100644 index bda04ec13b06..000000000000 --- a/net-mgmt/p5-Mon/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A perl module that supports mon, a network and system monitoring daemon diff --git a/net-mgmt/p5-Mon/pkg-descr b/net-mgmt/p5-Mon/pkg-descr deleted file mode 100644 index a97b1716a277..000000000000 --- a/net-mgmt/p5-Mon/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -This is the Perl5 module for interfacing with the Mon system monitoring -package. Currently only the client interface is implemented, but more -things like special logging routines and persistent monitors are being -considered. - -"mon" is a tool for monitoring the availability of services. - -WWW: http://www.kernel.org/software/mon/. diff --git a/net-mgmt/p5-Mon/pkg-plist b/net-mgmt/p5-Mon/pkg-plist deleted file mode 100644 index 2ecd0782ab22..000000000000 --- a/net-mgmt/p5-Mon/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -lib/perl5/site_perl/%%PERL_VER%%/Mon/SNMP.pm -lib/perl5/site_perl/%%PERL_VER%%/Mon/Client.pm -lib/perl5/site_perl/%%PERL_VER%%/Mon/Protocol.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mon/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Mon -@dirrm lib/perl5/site_perl/%%PERL_VER%%/Mon diff --git a/net-mgmt/p5-Net-IPv4Addr/Makefile b/net-mgmt/p5-Net-IPv4Addr/Makefile deleted file mode 100644 index ef34bababbe4..000000000000 --- a/net-mgmt/p5-Net-IPv4Addr/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# New ports collection makefile for: p5-Net-IPv4Addr -# Date created: 25 February 2000 -# Whom: Brad Hendrickse <bradh@uunet.co.za> -# -# $FreeBSD$ -# - -PORTNAME= Net-IPv4Addr -PORTVERSION= 0.09 -CATEGORIES= net perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Net -PKGNAMEPREFIX= p5- - -MAINTAINER= bradh@uunet.co.za - -PERL_CONFIGURE= yes - -MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -MAN1= ipv4calc.1 -MAN3= Net::IPv4Addr.3 - -.include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-IPv4Addr/distinfo b/net-mgmt/p5-Net-IPv4Addr/distinfo deleted file mode 100644 index 738fa96d1fa7..000000000000 --- a/net-mgmt/p5-Net-IPv4Addr/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (Net-IPv4Addr-0.09.tar.gz) = 9c1a7f72b632c6babb52b7368fe5cf83 diff --git a/net-mgmt/p5-Net-IPv4Addr/pkg-comment b/net-mgmt/p5-Net-IPv4Addr/pkg-comment deleted file mode 100644 index c8377d484065..000000000000 --- a/net-mgmt/p5-Net-IPv4Addr/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Perl extension for manipulating IPv4 addresses diff --git a/net-mgmt/p5-Net-IPv4Addr/pkg-descr b/net-mgmt/p5-Net-IPv4Addr/pkg-descr deleted file mode 100644 index e65ca924a6c6..000000000000 --- a/net-mgmt/p5-Net-IPv4Addr/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -Net::IPv4Addr provides functions to parse IPv4 addresses both -in traditional address/netmask format and in the new CIDR format. -Methods for calculating the network and broadcast address, and -also to check if a given address is in a specific network also exist. - -WWW: http://indev.insu.com/ - --- -Brad Hendrickse -bradh@uunet.co.za diff --git a/net-mgmt/p5-Net-IPv4Addr/pkg-plist b/net-mgmt/p5-Net-IPv4Addr/pkg-plist deleted file mode 100644 index 0a3f254d4f64..000000000000 --- a/net-mgmt/p5-Net-IPv4Addr/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -bin/ipv4calc -lib/perl5/site_perl/%%PERL_VER%%/Net/IPv4Addr.pm -lib/perl5/site_perl/%%PERL_VER%%/auto/Net/IPv4Addr/autosplit.ix -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/IPv4Addr/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/IPv4Addr -@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Net/IPv4Addr -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Net 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true diff --git a/net-mgmt/p5-Net-Netmask/Makefile b/net-mgmt/p5-Net-Netmask/Makefile deleted file mode 100644 index 5cd8d012e6ab..000000000000 --- a/net-mgmt/p5-Net-Netmask/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# New ports collection makefile for: p5-Net-Netmask -# Date created: Jan 28 2000 -# Whom: Wei-chun Chao -# -# $FreeBSD$ -# - -PORTNAME= Net-Netmask -PORTVERSION= 1.8 -CATEGORIES= net perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Net -PKGNAMEPREFIX= p5- - -MAINTAINER= wchao@isi.edu - -PERL_CONFIGURE= yes - -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -MAN3= Net::Netmask.3 - -.include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-Netmask/distinfo b/net-mgmt/p5-Net-Netmask/distinfo deleted file mode 100644 index 9cf05adc37a2..000000000000 --- a/net-mgmt/p5-Net-Netmask/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (Net-Netmask-1.8.tar.gz) = 31dcfdf69155da58746835a67817970d diff --git a/net-mgmt/p5-Net-Netmask/pkg-comment b/net-mgmt/p5-Net-Netmask/pkg-comment deleted file mode 100644 index df837cb4bdbd..000000000000 --- a/net-mgmt/p5-Net-Netmask/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Perl module to parse, manipulate and lookup IP network blocks diff --git a/net-mgmt/p5-Net-Netmask/pkg-descr b/net-mgmt/p5-Net-Netmask/pkg-descr deleted file mode 100644 index d8c74320657b..000000000000 --- a/net-mgmt/p5-Net-Netmask/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Net::Netmask parses and understand IPv4 CIDR blocks. It's built with an -object-oriented interface. Nearly all functions are methods that operate -on a Net::Netmask object. - -WWW: http://www.cpan.org diff --git a/net-mgmt/p5-Net-Netmask/pkg-plist b/net-mgmt/p5-Net-Netmask/pkg-plist deleted file mode 100644 index 6a04e9c5fa62..000000000000 --- a/net-mgmt/p5-Net-Netmask/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -lib/perl5/site_perl/%%PERL_VER%%/Net/Netmask.pod -lib/perl5/site_perl/%%PERL_VER%%/Net/Netmask.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Netmask/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Netmask -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true diff --git a/net-mgmt/p5-Net-SNMP/Makefile b/net-mgmt/p5-Net-SNMP/Makefile deleted file mode 100644 index 974a033225ac..000000000000 --- a/net-mgmt/p5-Net-SNMP/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# New ports collection makefile for: p5-Net-SNMP -# Date created: 30 June 2000 -# Whom: Christopher N. Harrell <cnh@ivmg.net> -# -# $FreeBSD$ -# - -PORTNAME= Net-SNMP -PORTVERSION= 3.60 -CATEGORIES= net perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Net -PKGNAMEPREFIX= p5- - -MAINTAINER= ports@FreeBSD.org - -WRKSRC= ${WRKDIR}/${PORTNAME}-3.6 - -PERL_CONFIGURE= yes - -MAN3= Net::SNMP.3 -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} - -.include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-SNMP/distinfo b/net-mgmt/p5-Net-SNMP/distinfo deleted file mode 100644 index 1cfe6cd03c4e..000000000000 --- a/net-mgmt/p5-Net-SNMP/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (Net-SNMP-3.60.tar.gz) = 9b416095aec3615b60c527eb2cb1c449 diff --git a/net-mgmt/p5-Net-SNMP/pkg-comment b/net-mgmt/p5-Net-SNMP/pkg-comment deleted file mode 100644 index 23cc30a9b8ef..000000000000 --- a/net-mgmt/p5-Net-SNMP/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A perl module for SNMP... Net::SNMP diff --git a/net-mgmt/p5-Net-SNMP/pkg-descr b/net-mgmt/p5-Net-SNMP/pkg-descr deleted file mode 100644 index 753a5e759c62..000000000000 --- a/net-mgmt/p5-Net-SNMP/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -The module Net::SNMP implements an object oriented -interface to the Simple Network Management Protocol. Perl -applications can use the module to retrieve or update -information on a remote host using the SNMP protocol. -Net::SNMP is implemented completely in Perl, requires no -compiling, and uses only standard Perl modules. Both -SNMPv1 and SNMPv2c (Community-Based SNMPv2) are supported -by the module. diff --git a/net-mgmt/p5-Net-SNMP/pkg-plist b/net-mgmt/p5-Net-SNMP/pkg-plist deleted file mode 100644 index c50918a689ad..000000000000 --- a/net-mgmt/p5-Net-SNMP/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -lib/perl5/site_perl/%%PERL_VER%%/Net/SNMP.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SNMP/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SNMP -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true diff --git a/net-mgmt/p5-Net-SNMP3/Makefile b/net-mgmt/p5-Net-SNMP3/Makefile deleted file mode 100644 index 974a033225ac..000000000000 --- a/net-mgmt/p5-Net-SNMP3/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# New ports collection makefile for: p5-Net-SNMP -# Date created: 30 June 2000 -# Whom: Christopher N. Harrell <cnh@ivmg.net> -# -# $FreeBSD$ -# - -PORTNAME= Net-SNMP -PORTVERSION= 3.60 -CATEGORIES= net perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Net -PKGNAMEPREFIX= p5- - -MAINTAINER= ports@FreeBSD.org - -WRKSRC= ${WRKDIR}/${PORTNAME}-3.6 - -PERL_CONFIGURE= yes - -MAN3= Net::SNMP.3 -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} - -.include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-SNMP3/distinfo b/net-mgmt/p5-Net-SNMP3/distinfo deleted file mode 100644 index 1cfe6cd03c4e..000000000000 --- a/net-mgmt/p5-Net-SNMP3/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (Net-SNMP-3.60.tar.gz) = 9b416095aec3615b60c527eb2cb1c449 diff --git a/net-mgmt/p5-Net-SNMP3/pkg-comment b/net-mgmt/p5-Net-SNMP3/pkg-comment deleted file mode 100644 index 23cc30a9b8ef..000000000000 --- a/net-mgmt/p5-Net-SNMP3/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A perl module for SNMP... Net::SNMP diff --git a/net-mgmt/p5-Net-SNMP3/pkg-descr b/net-mgmt/p5-Net-SNMP3/pkg-descr deleted file mode 100644 index 753a5e759c62..000000000000 --- a/net-mgmt/p5-Net-SNMP3/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -The module Net::SNMP implements an object oriented -interface to the Simple Network Management Protocol. Perl -applications can use the module to retrieve or update -information on a remote host using the SNMP protocol. -Net::SNMP is implemented completely in Perl, requires no -compiling, and uses only standard Perl modules. Both -SNMPv1 and SNMPv2c (Community-Based SNMPv2) are supported -by the module. diff --git a/net-mgmt/p5-Net-SNMP3/pkg-plist b/net-mgmt/p5-Net-SNMP3/pkg-plist deleted file mode 100644 index c50918a689ad..000000000000 --- a/net-mgmt/p5-Net-SNMP3/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -lib/perl5/site_perl/%%PERL_VER%%/Net/SNMP.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SNMP/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SNMP -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true diff --git a/net-mgmt/p5-NetAddr-IP/Makefile b/net-mgmt/p5-NetAddr-IP/Makefile deleted file mode 100644 index 94a303297cfb..000000000000 --- a/net-mgmt/p5-NetAddr-IP/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# New ports collection makefile for: p5-NetAddr-IP -# Date created: 12 July 2000 -# Whom: Christopher N. Harrell <cnh@ivmg.net> -# -# $FreeBSD$ -# - -PORTNAME= NetAddr-IP -PORTVERSION= 2.22 -CATEGORIES= net perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= NetAddr -PKGNAMEPREFIX= p5- - -MAINTAINER= tobez@tobez.org - -PERL_CONFIGURE= yes - -MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -MAN3= NetAddr::IP.3 - -.include <bsd.port.mk> diff --git a/net-mgmt/p5-NetAddr-IP/distinfo b/net-mgmt/p5-NetAddr-IP/distinfo deleted file mode 100644 index d1a33b53d16c..000000000000 --- a/net-mgmt/p5-NetAddr-IP/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (NetAddr-IP-2.22.tar.gz) = 0584a5aeab1afffd4ca5486e9e3d8f76 diff --git a/net-mgmt/p5-NetAddr-IP/pkg-comment b/net-mgmt/p5-NetAddr-IP/pkg-comment deleted file mode 100644 index 59f71b01edd5..000000000000 --- a/net-mgmt/p5-NetAddr-IP/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Perl module for working with IP addresses and blocks thereof diff --git a/net-mgmt/p5-NetAddr-IP/pkg-descr b/net-mgmt/p5-NetAddr-IP/pkg-descr deleted file mode 100644 index 6cda11436edd..000000000000 --- a/net-mgmt/p5-NetAddr-IP/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -This perl module provides a simple interface to the tedious bit manipulation -involved when handling IP address calculations. It also helps by performing -range comparisons between subnets as well as other frequently used functions. diff --git a/net-mgmt/p5-NetAddr-IP/pkg-plist b/net-mgmt/p5-NetAddr-IP/pkg-plist deleted file mode 100644 index 06ce8b14fa22..000000000000 --- a/net-mgmt/p5-NetAddr-IP/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -lib/perl5/site_perl/%%PERL_VER%%/NetAddr/IP.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/NetAddr/IP/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/NetAddr/IP -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/NetAddr -@dirrm lib/perl5/site_perl/%%PERL_VER%%/NetAddr diff --git a/net-mgmt/p5-SNMP-Util/Makefile b/net-mgmt/p5-SNMP-Util/Makefile deleted file mode 100644 index 558fcdc7262d..000000000000 --- a/net-mgmt/p5-SNMP-Util/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# New ports collection makefile for: p5-SNMP-Util -# Date created: September 7 1999 -# Whom: Bill Fenner <fenner@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= SNMP-Util -PORTVERSION= 1.6 -CATEGORIES= net perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= SNMP -PKGNAMEPREFIX= p5- - -MAINTAINER= fenner@FreeBSD.org - -RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/SNMP.pm:${PORTSDIR}/net/p5-SNMP - -PERL_CONFIGURE= yes - -MAN3= SNMP::Util.3 -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} - -.include <bsd.port.mk> diff --git a/net-mgmt/p5-SNMP-Util/distinfo b/net-mgmt/p5-SNMP-Util/distinfo deleted file mode 100644 index 50212b275c8d..000000000000 --- a/net-mgmt/p5-SNMP-Util/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (SNMP-Util-1.6.tar.gz) = a7fab959fe6eef8c9044a21f7859b024 diff --git a/net-mgmt/p5-SNMP-Util/files/patch-aa b/net-mgmt/p5-SNMP-Util/files/patch-aa deleted file mode 100644 index 1ada2f247c76..000000000000 --- a/net-mgmt/p5-SNMP-Util/files/patch-aa +++ /dev/null @@ -1,24 +0,0 @@ ---- Makefile.PL.orig Tue Sep 7 15:26:45 1999 -+++ Makefile.PL Tue Sep 7 15:27:02 1999 -@@ -12,21 +12,6 @@ - print "ok\n"; - } - --$FILE = new FileHandle; --open($FILE,">t/snmp.data"); -- --print "\nEnter the IP address of the Device: "; --chomp($IP = <stdin>); -- --print "Enter the SNMP community string: "; --chomp($community = <stdin>); -- --print $FILE "IP = $IP\n"; --print $FILE "community = $community\n"; -- --close $FILE; -- -- - # See lib/ExtUtils/MakeMaker.pm for details of how to influence - # the contents of the Makefile that is written. - WriteMakefile( diff --git a/net-mgmt/p5-SNMP-Util/pkg-comment b/net-mgmt/p5-SNMP-Util/pkg-comment deleted file mode 100644 index 94b7a9342c00..000000000000 --- a/net-mgmt/p5-SNMP-Util/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Perl modules to perform SNMP set,get,walk,next,walk_hash etc diff --git a/net-mgmt/p5-SNMP-Util/pkg-descr b/net-mgmt/p5-SNMP-Util/pkg-descr deleted file mode 100644 index 0e94a34f7fc0..000000000000 --- a/net-mgmt/p5-SNMP-Util/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -This Perl library is a set of utilities for configuring and monitoring -SNMP based devices. This library requires the UCD port of SNMP and the -SNMP.pm module written by Joe Marzot. diff --git a/net-mgmt/p5-SNMP-Util/pkg-plist b/net-mgmt/p5-SNMP-Util/pkg-plist deleted file mode 100644 index 8d1bb8e92c43..000000000000 --- a/net-mgmt/p5-SNMP-Util/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -lib/perl5/site_perl/%%PERL_VER%%/SNMP/Util.pm -lib/perl5/site_perl/%%PERL_VER%%/SNMP/Util_env.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP/Util/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP/Util -@dirrm lib/perl5/site_perl/%%PERL_VER%%/SNMP diff --git a/net-mgmt/p5-SNMP/Makefile b/net-mgmt/p5-SNMP/Makefile deleted file mode 100644 index b20696c57b45..000000000000 --- a/net-mgmt/p5-SNMP/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: p5-SNMP -# Date created: May 5th 1997 -# Whom: James FitzGibbon <jfitz@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= SNMP -PORTVERSION= 4.2.0 -CATEGORIES= net perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= SNMP -PKGNAMEPREFIX= p5- - -MAINTAINER= ports@FreeBSD.org - -LIB_DEPENDS= snmp.4:${PORTSDIR}/net/net-snmp - -PERL_CONFIGURE= yes - -post-install: - @${INSTALL_DATA} ${WRKSRC}/README \ - ${PREFIX}/lib/perl5/site_perl/README.SNMP - -.include <bsd.port.mk> diff --git a/net-mgmt/p5-SNMP/distinfo b/net-mgmt/p5-SNMP/distinfo deleted file mode 100644 index 3213e134a65e..000000000000 --- a/net-mgmt/p5-SNMP/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (SNMP-4.2.0.tar.gz) = 46715f457f3bcf5bf599d441f7e5300b diff --git a/net-mgmt/p5-SNMP/files/patch-Makefile.PL b/net-mgmt/p5-SNMP/files/patch-Makefile.PL deleted file mode 100644 index 959663ef3629..000000000000 --- a/net-mgmt/p5-SNMP/files/patch-Makefile.PL +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.PL Mon Jan 8 19:58:04 2001 -+++ Makefile.PL.orig Sat Feb 5 08:09:39 2000 -@@ -27,7 +27,7 @@ - $snmp_link_lib = 'libsnmp'; - $sep = '\\'; - } else { -- $snmp_lib = 'libsnmp.a'; -+ $snmp_lib = 'libsnmp.so'; - $snmp_link_lib = 'snmp'; - $sep = '/'; - } diff --git a/net-mgmt/p5-SNMP/pkg-comment b/net-mgmt/p5-SNMP/pkg-comment deleted file mode 100644 index 85245b547f55..000000000000 --- a/net-mgmt/p5-SNMP/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A perl5 module for interfacing with the CMU SNMP library diff --git a/net-mgmt/p5-SNMP/pkg-descr b/net-mgmt/p5-SNMP/pkg-descr deleted file mode 100644 index cd4684825f48..000000000000 --- a/net-mgmt/p5-SNMP/pkg-descr +++ /dev/null @@ -1,13 +0,0 @@ -This is a Perl5 extension module which provides an interface to the -UCD-SNMP library. - -Description: - -The basic operations offered by SNMP are provided through an object -oriented interface for modularity and ease of use. The primary object is -SNMP::Session which is implemented as a blessed hash reference. The -object supports 'get', 'set', and 'getNext' method calls. All calls are -blocking/synchronous (i.e., they must receive a response or timeout -before control is returned to the caller). The methods take a variety of -input argument formats (example/* for examples). A description of the -objects data fields follow. diff --git a/net-mgmt/p5-SNMP/pkg-plist b/net-mgmt/p5-SNMP/pkg-plist deleted file mode 100644 index ab35e7ecaf97..000000000000 --- a/net-mgmt/p5-SNMP/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -lib/perl5/site_perl/README.SNMP -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SNMP.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP/.packlist -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP/SNMP.bs -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP/SNMP.so -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP/autosplit.ix -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP diff --git a/net-mgmt/p5-SNMP_Session/Makefile b/net-mgmt/p5-SNMP_Session/Makefile deleted file mode 100644 index 18467d482485..000000000000 --- a/net-mgmt/p5-SNMP_Session/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# New ports collection makefile for: p5-SNMP_Session -# Date created: 13 June 1999 -# Whom: Stephen J. Roznowski <sjr@home.net> -# -# $FreeBSD$ -# - -PORTNAME= SNMP_Session -PORTVERSION= 0.83 -CATEGORIES= net perl5 -MASTER_SITES= ftp://ftp.switch.ch/software/sources/network/snmp/perl/ -PKGNAMEPREFIX= p5- - -MAINTAINER= ports@FreeBSD.org - -PERL_CONFIGURE= yes - -pre-install: - ${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile; - -.include <bsd.port.mk> diff --git a/net-mgmt/p5-SNMP_Session/distinfo b/net-mgmt/p5-SNMP_Session/distinfo deleted file mode 100644 index a27281616b2d..000000000000 --- a/net-mgmt/p5-SNMP_Session/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (SNMP_Session-0.83.tar.gz) = d18ce3007d6b4f1cfd523c122c0653c9 diff --git a/net-mgmt/p5-SNMP_Session/pkg-comment b/net-mgmt/p5-SNMP_Session/pkg-comment deleted file mode 100644 index e85f52bac626..000000000000 --- a/net-mgmt/p5-SNMP_Session/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A perl5 module for providing rudimentary access to SNMPv1 agents diff --git a/net-mgmt/p5-SNMP_Session/pkg-descr b/net-mgmt/p5-SNMP_Session/pkg-descr deleted file mode 100644 index 6bf0dc052143..000000000000 --- a/net-mgmt/p5-SNMP_Session/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -This archive contains Perl 5 modules SNMP_Session.pm and BER.pm, -which, when used together, provide rudimentary access to remote SNMP -(v1) agents. - -This module differs from existing SNMP packages in that it is -completely stand-alone, i.e. you don't need to have another SNMP -package such as CMU SNMP. It is also written entirely in Perl, so you -don't have to compile any C modules. It uses the Perl 5 Socket.pm -module and should therefore be very portable, even to non-Unix systems. - -The SNMP operations currently supported are "get", "get-next", and -"set", as well as trap generation and reception. - -For an excellent example of the type of application this is useful -for, see Tobias Oetiker's ``mrtg'' (Multi Router Traffic Grapher) -tool. diff --git a/net-mgmt/p5-SNMP_Session/pkg-plist b/net-mgmt/p5-SNMP_Session/pkg-plist deleted file mode 100644 index cbb2f5d1003a..000000000000 --- a/net-mgmt/p5-SNMP_Session/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -lib/perl5/site_perl/%%PERL_VER%%/BER.pm -lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm -lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP_Session/.packlist -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP_Session diff --git a/net-mgmt/p5-Tie-NetAddr-IP/Makefile b/net-mgmt/p5-Tie-NetAddr-IP/Makefile deleted file mode 100644 index f8d9557bd401..000000000000 --- a/net-mgmt/p5-Tie-NetAddr-IP/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: net/p5-Tie-NetAddr-IP -# Date created: 29 March 2001 -# Whom: Anton Berezin <tobez@tobez.org> -# -# $FreeBSD$ -# - -PORTNAME= Tie-NetAddr-IP -PORTVERSION= 1.00 -CATEGORIES= net perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Tie -PKGNAMEPREFIX= p5- - -MAINTAINER= tobez@tobez.org - -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/NetAddr/IP.pm:${PORTSDIR}/net/p5-NetAddr-IP -RUN_DEPENDS= ${BUILD_DEPENDS} - -PERL_CONFIGURE= yes - -MAN3= Tie::NetAddr::IP.3 -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} - -.include <bsd.port.mk> diff --git a/net-mgmt/p5-Tie-NetAddr-IP/distinfo b/net-mgmt/p5-Tie-NetAddr-IP/distinfo deleted file mode 100644 index 5b81be082636..000000000000 --- a/net-mgmt/p5-Tie-NetAddr-IP/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (Tie-NetAddr-IP-1.00.tar.gz) = dc7ee471241e9b0e4070a49e3cbb2252 diff --git a/net-mgmt/p5-Tie-NetAddr-IP/pkg-comment b/net-mgmt/p5-Tie-NetAddr-IP/pkg-comment deleted file mode 100644 index 0b23d2661afb..000000000000 --- a/net-mgmt/p5-Tie-NetAddr-IP/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Tie::NetAddr::IP - Implements a Hash where the key is a subnet diff --git a/net-mgmt/p5-Tie-NetAddr-IP/pkg-descr b/net-mgmt/p5-Tie-NetAddr-IP/pkg-descr deleted file mode 100644 index ab51574b9134..000000000000 --- a/net-mgmt/p5-Tie-NetAddr-IP/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -This module overloads hashes so that the key can be a subnet as in -NetAddr::IP. When looking values up, an interpretation will be made to -find the given key within the subnets specified in the hash. - -Care must be taken, as only strings that can be parsed as an IP address -by NetAddr::IP can be used as keys for this hash. - --Anton -<tobez@tobez.org> diff --git a/net-mgmt/p5-Tie-NetAddr-IP/pkg-plist b/net-mgmt/p5-Tie-NetAddr-IP/pkg-plist deleted file mode 100644 index c3af0ea294f7..000000000000 --- a/net-mgmt/p5-Tie-NetAddr-IP/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/NetAddr/IP/.packlist -lib/perl5/site_perl/%%PERL_VER%%/Tie/NetAddr/sample.pl -lib/perl5/site_perl/%%PERL_VER%%/Tie/NetAddr/IP.pm -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/NetAddr/IP -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie/NetAddr 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Tie 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Tie/NetAddr 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Tie 2>/dev/null || true diff --git a/net-mgmt/ruby-snmp/Makefile b/net-mgmt/ruby-snmp/Makefile deleted file mode 100644 index aaa6f4ad22f2..000000000000 --- a/net-mgmt/ruby-snmp/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# New ports collection makefile for: Ruby-SNMP -# Date created: 1 Sep 2000 -# Whom: Akinori MUSHA aka knu <knu@idaemons.org> -# -# $FreeBSD$ -# - -PORTNAME= snmp -PORTVERSION= 0.2.1 -CATEGORIES= net ruby -MASTER_SITES= http://w3cic.riken.go.jp/~tsuruoka/ -PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTNAME= ruby${PORTNAME}-${PORTVERSION} -EXTRACT_SUFX= .tgz -DIST_SUBDIR= ruby - -MAINTAINER= knu@FreeBSD.org - -LIB_DEPENDS= snmp.4:${PORTSDIR}/net/net-snmp - -USE_RUBY= yes -USE_RUBY_EXTCONF= yes - -WRKSRC= ${WRKDIR}/SNMP -INSTALL_TARGET= site-install -CONFIGURE_ARGS= --with-snmp-dir="${LOCALBASE}" - -DOCS_EN= mib_view.html \ - rubysnmp.html \ - sampleout.html \ - snmp_module.html \ - snmp_session.html \ - snmp_var.html - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_DOCDIR}/snmp -.for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/snmp/ -.endfor -.endif - -.include <bsd.port.mk> diff --git a/net-mgmt/ruby-snmp/distinfo b/net-mgmt/ruby-snmp/distinfo deleted file mode 100644 index fcb93d287454..000000000000 --- a/net-mgmt/ruby-snmp/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ruby/rubysnmp-0.2.1.tgz) = 0c30ae623895aa5304c808fddf34dd81 diff --git a/net-mgmt/ruby-snmp/files/patch-aa b/net-mgmt/ruby-snmp/files/patch-aa deleted file mode 100644 index 8e10fe8dbe29..000000000000 --- a/net-mgmt/ruby-snmp/files/patch-aa +++ /dev/null @@ -1,45 +0,0 @@ ---- extconf.rb.orig Mon Jul 10 19:18:51 2000 -+++ extconf.rb Fri Sep 1 01:53:44 2000 -@@ -1,15 +1,11 @@ --require './mkmf.rb' -+require 'mkmf.rb' - - def crash(str) - printf " extconf failure:%s\n", str - exit 1 - end - --if /linux/ =~ RUBY_PLATFORM -- $LDFLAGS = "-L/usr/lib" --else -- $LDFLAGS = "-L/usr/local/lib" --end -+dir_config('snmp') - - # Headers - ruby_h = have_header("ruby.h") -@@ -35,8 +31,10 @@ - EOF - - # Libraies -+have_library("crypto") if test(?e, "/usr/lib/libcrypto.so"); -+ - snmpsessinit = have_library("snmp", "snmp_sess_init") --unless snmpsessinit or snmpsessopen or snmpsessclose or snmpsessread or snmpsesssend -+unless snmpsessinit # or snmpsessopen or snmpsessclose or snmpsessread or snmpsesssend - crash "This module require snmp_sess_(init|open|close|read|send) functions." - end - -@@ -51,10 +49,10 @@ - $CFLAGS = "-DNO_SNMP_FREE " + $CFLAGS - end - --unless try_link(header+<<EOF, "-lsnmp") -+if try_link(header+<<EOF, "-lsnmp") - - void main() { -- init_snmp("snmpapp"); -+ init_snmp(); - } - EOF - $CFLAGS = "-DVOID_INIT_SNMP " + $CFLAGS diff --git a/net-mgmt/ruby-snmp/pkg-comment b/net-mgmt/ruby-snmp/pkg-comment deleted file mode 100644 index 273e18db69f3..000000000000 --- a/net-mgmt/ruby-snmp/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Ruby interface to UCD-SNMP library diff --git a/net-mgmt/ruby-snmp/pkg-descr b/net-mgmt/ruby-snmp/pkg-descr deleted file mode 100644 index b2d233893508..000000000000 --- a/net-mgmt/ruby-snmp/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -Ruby SNMP is UCD-SNMP library interface for the Ruby. - -The current version only supports SNMPv1 GET and GETNEXT requests. - -Author: Nobuhiko Tsuruoka <tsuruoka@postman.riken.go.jp> -WWW: http://w3cic.riken.go.jp/~tsuruoka/ diff --git a/net-mgmt/ruby-snmp/pkg-plist b/net-mgmt/ruby-snmp/pkg-plist deleted file mode 100644 index 9e8c464d66bb..000000000000 --- a/net-mgmt/ruby-snmp/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -%%RUBY_SITEARCHLIBDIR%%/snmp.so -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/mib_view.html -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/rubysnmp.html -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/sampleout.html -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/snmp_module.html -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/snmp_session.html -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/snmp_var.html -%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/snmp diff --git a/net-mgmt/satellite/Makefile b/net-mgmt/satellite/Makefile deleted file mode 100644 index 0b8f7e93ec06..000000000000 --- a/net-mgmt/satellite/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# New ports collection makefile for: satellite -# Date created: 24 Feb 2001 -# Whom: Mark Pulford <mark@kyne.com.au> -# -# $FreeBSD$ -# - -PORTNAME= satellite -PORTVERSION= 1.0.2 -CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_SUNSITE} -MASTER_SITE_SUBDIR= system/network - -MAINTAINER= mark@kyne.com.au - -LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm - -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \ - LDFLAGS='-L${LOCALBASE}/lib' -CONFIGURE_ARGS+= --localstatedir=/var/log - -MAN8= satcfg.8 satellite.8 satellited.8 satwatch.8 - -pre-install: - @${SH} pkg-install ${PKGNAME} PRE-INSTALL - -post-install: - @${SH} pkg-install ${PKGNAME} POST-INSTALL - -.include <bsd.port.mk> diff --git a/net-mgmt/satellite/distinfo b/net-mgmt/satellite/distinfo deleted file mode 100644 index 5dbda79f0298..000000000000 --- a/net-mgmt/satellite/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (satellite-1.0.2.tar.gz) = 7a6ed7d10ebf864b6b9dde0cbcc478d7 diff --git a/net-mgmt/satellite/pkg-comment b/net-mgmt/satellite/pkg-comment deleted file mode 100644 index ad2715dacd53..000000000000 --- a/net-mgmt/satellite/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A system for tracking machines with dynamic IP addresses diff --git a/net-mgmt/satellite/pkg-descr b/net-mgmt/satellite/pkg-descr deleted file mode 100644 index 566fa4fee119..000000000000 --- a/net-mgmt/satellite/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -Satellite can track many remote machines with dynamic IP addresses in -situations where public DNS services are inappropriate. It can log -and alert an admin immediately when a site moves around, comes online, -or needs attention. - -WWW: http://www.kyne.com.au/~mark/software.html - -- Mark Pulford -mark@kyne.com.au diff --git a/net-mgmt/satellite/pkg-install b/net-mgmt/satellite/pkg-install deleted file mode 100644 index 7145c4db65da..000000000000 --- a/net-mgmt/satellite/pkg-install +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -[ "${PKG_PREFIX}" ] && PREFIX="${PKG_PREFIX}" -[ "${PREFIX}" ] || PREFIX=/usr/local - -case "$2" in - PRE-INSTALL) - if ! pw user show satellite >/dev/null 2>&1 - then - echo "===> Creating user satellite" - pw add user -n satellite -c 'Satellite system user' -s /sbin/nologin -h - -d / - fi - ;; - POST-INSTALL) - if [ ! -f "${PREFIX}/etc/satellite.db" ] - then - echo "===> Creating ${PREFIX}/etc/satellite.db configuration file" - ${PREFIX}/sbin/satcfg -L - chown satellite ${PREFIX}/etc/satellite.db - chmod 600 ${PREFIX}/etc/satellite.db - fi - if [ ! -f "/var/log/satellite" ] - then - echo "===> Creating initial log file /var/log/satellite" - touch /var/log/satellite - chown satellite /var/log/satellite - fi - echo "===> To run the satellited server you will need to change a few files." - echo "===> Please add the following line to /etc/services" - echo "satellite 1764/tcp" - echo "===> Please add the following line to /etc/inetd.conf and restart inetd" - echo "satellite stream tcp nowait satellite ${PREFIX}/sbin/satellited satellited -v" - ;; - *) - echo "Incorrect parameter" - exit 1 - ;; -esac diff --git a/net-mgmt/satellite/pkg-plist b/net-mgmt/satellite/pkg-plist deleted file mode 100644 index 0cd0d8969de7..000000000000 --- a/net-mgmt/satellite/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -sbin/satcfg -sbin/satellite -sbin/satellited -sbin/satwatch diff --git a/net-mgmt/scotty3/Makefile b/net-mgmt/scotty3/Makefile deleted file mode 100644 index bb9ae82aa85c..000000000000 --- a/net-mgmt/scotty3/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -# New ports collection makefile for: scotty-current -# Date created: 06 June 2000 -# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.ORG.ru> -# -# $FreeBSD$ -# - -PORTNAME= scotty -PORTVERSION= 20000221 -CATEGORIES= net -MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/devel/ -DISTNAME= ${PORTNAME}-00-02-21 - -MAINTAINER= ozz@FreeBSD.org.ru - -.ifdef (NO_X) -PKGNAMESUFFIX= -nox11 -LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83 -.else -LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 -.endif - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.3 \ - --enable-multicast - -.ifdef (NO_X) -CONFIGURE_ARGS+=--with-tk=no -.else -CONFIGURE_ARGS+=--with-tk=${PREFIX}/lib/tk8.3 -CONFIGURE_ENV+= wish=${PREFIX}/bin/wish8.3 -.endif - -WRKSRC= ${WRKDIR}/${DISTNAME}/unix -MAN1= scotty.1 -MAN8= nmicmpd.8 nmtrapd.8 -MANN= Tnm.n TnmDialog.n TnmDisman.n TnmEther.n TnmIetf.n\ - TnmInet.n TnmMap.n TnmMib.n TnmSnmp.n TnmTerm.n\ - dns.n icmp.n job.n map.n mib.n netdb.n \ - ntp.n snmp.n sunrpc.n syslog.n udp.n -PLIST_SUB= SCOTTY_VERSION=3.0.0 TKINED_VERSION=1.5.0 - -MAKE_ARGS+= -j2 # better than -j1 on all machines... -INSTALL_TARGET= tnm-install sinstall - -.if !defined(NO_X) -MAN1+= tkined.1 -MANN+= ined.n -PLIST_SUB+= X11='' -INSTALL_TARGET+=tki-install -.else -PLIST_SUB+= X11='@comment ' -.endif - -post-patch: - ${MV} ${WRKSRC}/scotty.c ${WRKSRC}/scotty.c.orig - ${CP} -p ${FILESDIR}/scotty.c ${WRKSRC}/scotty.c - -post-install: - ${RM} -f ${PREFIX}/bin/scotty ${PREFIX}/bin/tkined - ${LN} -s scotty3.0.0 ${PREFIX}/bin/scotty -.ifndef NO_X - ${LN} -s tkined1.5.0 ${PREFIX}/bin/tkined -.endif - -.include <bsd.port.mk> diff --git a/net-mgmt/scotty3/distinfo b/net-mgmt/scotty3/distinfo deleted file mode 100644 index aa9d240730bd..000000000000 --- a/net-mgmt/scotty3/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (scotty-00-02-21.tar.gz) = ca39ecfaa32f3c5defa81974e8d9ebe2 diff --git a/net-mgmt/scotty3/files/patch-aa b/net-mgmt/scotty3/files/patch-aa deleted file mode 100644 index de3a255d2b03..000000000000 --- a/net-mgmt/scotty3/files/patch-aa +++ /dev/null @@ -1,12 +0,0 @@ ---- tkined.sh.in~ Fri Sep 13 09:30:41 1996 -+++ tkined.sh.in Fri Sep 13 09:26:21 1996 -@@ -0,0 +1,3 @@ -+#!/bin/sh -+export TCLLIBPATH="@PREFIX@/lib/tkined1.4.10 @PREFIX@/lib/tnm2.1.10" -+exec @PREFIX@/bin/tkined1.4.10 $* ---- scotty.sh.in~ Fri Sep 13 09:30:41 1996 -+++ scotty.sh.in Fri Sep 13 09:26:21 1996 -@@ -0,0 +1,3 @@ -+#!/bin/sh -+export TCLLIBPATH="@PREFIX@/lib/tnm3.0.0" -+exec @PREFIX@/bin/scotty3.0.0 diff --git a/net-mgmt/scotty3/files/patch-ab b/net-mgmt/scotty3/files/patch-ab deleted file mode 100644 index a441e9db4ce8..000000000000 --- a/net-mgmt/scotty3/files/patch-ab +++ /dev/null @@ -1,15 +0,0 @@ ---- ../tkined/apps/snmp_monitor.tcl.orig Thu Feb 3 23:11:40 2000 -+++ ../tkined/apps/snmp_monitor.tcl Wed Jun 7 16:02:39 2000 -@@ -517,8 +517,11 @@ - - set args $ip - set i 0 -+ set snmpconfig [ined attribute $id "SNMP:Config"] - foreach if $iflist { -- lappend args [CreateChart $id [expr 30+$i] [expr 30+$i]] -+ set nid [CreateChart $id [expr 30+$i] [expr 30+$i]] -+ lappend args $nid -+ ined -noupdate attribute $nid "SNMP:Config" $snmpconfig - lappend args $if - incr i - } diff --git a/net-mgmt/scotty3/files/patch-ac b/net-mgmt/scotty3/files/patch-ac deleted file mode 100644 index cc564591c641..000000000000 --- a/net-mgmt/scotty3/files/patch-ac +++ /dev/null @@ -1,46 +0,0 @@ ---- Makefile.in Wed Feb 16 11:08:00 2000 -+++ Makefile.in Thu Mar 8 19:20:25 2001 -@@ -56,7 +56,7 @@ - - # To change the compiler switches, for example to change from -O - # to -g, change the following line: --CFLAGS = -O -+CFLAGS = @CFLAGS@ - - # NMICMPD should contain the full path to the installed nmicmpd binary. - NMICMPD = $(BIN_INSTALL_DIR)/nmicmpd -@@ -473,7 +473,7 @@ - $(LD) $(LD_FLAGS) $(LD_SEARCH_FLAGS) -o scotty scotty.o $(TCL_LIB_SPEC) $(LIBS) $(DL_LIBS) -lm - - tnm$(SHLIB_SUFFIX): $(TNM_OBJS) -- $(SHLIB_LD) $(TNM_OBJS) -o tnm$(SHLIB_SUFFIX) $(LIBS) -+ $(SHLIB_LD) $(TNM_OBJS) -o tnm$(SHLIB_SUFFIX) @NEED_TCL_LIB@ $(LIBS) - - tkined: tkined$(SHLIB_SUFFIX) $(UNIX_DIR)/tkined.in - @sed -e 's+%WISH%+$(TK_WISH)+' \ -@@ -528,7 +528,7 @@ - @$(INSTALL_PROGRAM) scotty $(BIN_INSTALL_DIR)/scotty$(TNM_VERSION) - @$(INSTALL_DATA) tnm$(SHLIB_SUFFIX) $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)$(SHLIB_SUFFIX) - @chmod 555 $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)$(SHLIB_SUFFIX) -- @echo 'package ifneeded Tnm $(TNM_VERSION) "load $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)[info sharedlibextension]"' > $(TNM_INSTALL_DIR)/pkgIndex.tcl -+ @echo 'package ifneeded Tnm $(TNM_VERSION) "load $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION).so"' > $(TNM_INSTALL_DIR)/pkgIndex.tcl - - tnm-install-man: - @for i in $(MAN_INSTALL_DIR) $(MAN1_INSTALL_DIR) $(MAN8_INSTALL_DIR) $(MANN_INSTALL_DIR) ; \ -@@ -708,10 +708,14 @@ - fi; \ - done; - @echo "Installing tkined$(TKI_VERSION) and tkined$(TKI_VERSION)$(SHLIB_SUFFIX)" -- @$(INSTALL_PROGRAM) tkined $(BIN_INSTALL_DIR)/tkined$(TKI_VERSION) -+ @$(INSTALL_DATA) -m 555 tkined $(BIN_INSTALL_DIR)/tkined$(TKI_VERSION) -+ @sed s,@PREFIX@,${prefix},g tkined.sh.in >tkined.sh -+ @sed s,@PREFIX@,${prefix},g scotty.sh.in >scotty.sh -+ @$(INSTALL_DATA) -m 555 tkined.sh ${BIN_INSTALL_DIR}/tkined -+ @$(INSTALL_DATA) -m 555 scotty.sh ${BIN_INSTALL_DIR}/scotty - @$(INSTALL_DATA) tkined$(SHLIB_SUFFIX) $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)$(SHLIB_SUFFIX) - @chmod 555 $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)$(SHLIB_SUFFIX) -- @echo 'package ifneeded Tkined $(TKI_VERSION) "load $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)[info sharedlibextension]"' > $(TKI_INSTALL_DIR)/pkgIndex.tcl -+ @echo 'package ifneeded Tkined $(TKI_VERSION) "load $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION).so"' > $(TKI_INSTALL_DIR)/pkgIndex.tcl - @$(INSTALL_DATA) $(TKI_DIR)/tkined.defaults $(TKI_INSTALL_DIR) - - tki-install-man: diff --git a/net-mgmt/scotty3/files/patch-ad b/net-mgmt/scotty3/files/patch-ad deleted file mode 100644 index e09d45dc0d54..000000000000 --- a/net-mgmt/scotty3/files/patch-ad +++ /dev/null @@ -1,71 +0,0 @@ ---- configure Wed Feb 16 11:08:00 2000 -+++ configure Thu Mar 8 19:22:52 2001 -@@ -749,9 +749,14 @@ - LD_FLAGS=$TCL_LD_FLAGS - LD_SEARCH_FLAGS=$TCL_LD_SEARCH_FLAGS - TCL_EXEC_PREFIX=$TCL_EXEC_PREFIX --TCL_INCLUDES=-I$TCL_PREFIX/include -+TCL_INCLUDES=-I$TCL_PREFIX/include/tcl$TCL_VERSION - TK_EXEC_PREFIX=$TK_EXEC_PREFIX - -+if /usr/bin/ldd ${prefix}/bin/tclsh$TCL_VERSION | fgrep -qv libtcl; then -+ CFLAGS="$CFLAGS -DUSE_TCL_STUBS" -+ NEED_TCL_LIB=$TCL_LIB_SPEC -+fi -+ - if test $TCL_SHARED_BUILD -ne 1 ; then - { echo "configure: error: Tcl is not configured with --enable-shared" 1>&2; exit 1; } - fi -@@ -763,8 +767,8 @@ - echo $ac_n "checking for tcl version""... $ac_c" 1>&6 - echo "configure:765: checking for tcl version" >&5 - echo "$ac_t"""$TCL_VERSION"" 1>&6 --if test "$TCL_VERSION" != "8.2" ; then -- { echo "configure: error: "Tcl version 8.2 needed"" 1>&2; exit 1; } -+if test "$TCL_VERSION" \< "8.2" ; then -+ { echo "configure: error: "Tcl version at least 8.2 needed"" 1>&2; exit 1; } - fi - - BUILD_TARGETS="$BUILD_TARGETS scotty" -@@ -821,6 +825,7 @@ - fi - - -+if test x$tnm_path_tk_config != xno; then - dirs="$tnm_path_tk_config $wish_prefix/lib $prefix/lib /usr/local/lib" - - found=0 -@@ -842,7 +847,7 @@ - echo "configure: warning: "will not build tkined"" 1>&2 - else - . $tnm_cv_path_tk_config/tkConfig.sh -- TK_INCLUDES=-I$TK_PREFIX/include -+ TK_INCLUDES=-I$TK_PREFIX/include/tk$TK_VERSION - if test "$TK_INCLUDES" = "$TCL_INCLUDES" ; then - TK_INCLUDES="" - fi -@@ -850,13 +855,14 @@ - echo $ac_n "checking for tk version""... $ac_c" 1>&6 - echo "configure:852: checking for tk version" >&5 - echo "$ac_t"""$TK_VERSION"" 1>&6 -- if test "$TK_VERSION" != "8.2" ; then -- { echo "configure: error: "Tk version 8.2 needed"" 1>&2; exit 1; } -+ if test "$TK_VERSION" \< "8.2" ; then -+ { echo "configure: error: "Tk version at least 8.2 needed"" 1>&2; exit 1; } - fi - - BUILD_TARGETS="$BUILD_TARGETS tkined" - INSTALL_TARGETS="$INSTALL_TARGETS tki-install" - fi -+fi # --with-tk=<something other than ``no''> - - #---------------------------------------------------------------------------- - # Check for some basic stuff. We don't check for the compiler. -@@ -3318,6 +3324,7 @@ - s%@DEFS@%$DEFS%g - s%@LDFLAGS@%$LDFLAGS%g - s%@LIBS@%$LIBS%g -+s%@NEED_TCL_LIB@%$NEED_TCL_LIB%g - s%@exec_prefix@%$exec_prefix%g - s%@prefix@%$prefix%g - s%@program_transform_name@%$program_transform_name%g diff --git a/net-mgmt/scotty3/files/patch-ae b/net-mgmt/scotty3/files/patch-ae deleted file mode 100644 index 95bd9e1a0721..000000000000 --- a/net-mgmt/scotty3/files/patch-ae +++ /dev/null @@ -1,8 +0,0 @@ ---- tkined.sh.in.orig Tue Jun 6 05:14:19 2000 -+++ tkined.sh.in Tue Jun 6 05:13:12 2000 -@@ -1,3 +1,3 @@ - #!/bin/sh --export TCLLIBPATH="@PREFIX@/lib/tkined1.4.10 @PREFIX@/lib/tnm2.1.10" --exec @PREFIX@/bin/tkined1.4.10 $* -+export TCLLIBPATH="@PREFIX@/lib/tkined1.5.0 @PREFIX@/lib/tnm3.0.0" -+exec @PREFIX@/bin/tkined1.5.0 $* diff --git a/net-mgmt/scotty3/files/patch-fixes b/net-mgmt/scotty3/files/patch-fixes deleted file mode 100644 index 0940c7e0c6cd..000000000000 --- a/net-mgmt/scotty3/files/patch-fixes +++ /dev/null @@ -1,38 +0,0 @@ -This patches fix actual BUGS in the Scotty code: - . any Tcl above 8.2 will also work fine; - . icmp.test no longer causes crashes -- an off-by-one - error in argument parsing code was the reason for - occasional segfaults - . TUBS-REGISTRATION was renamed to TUBS-SMI, but the - mibs.test did not know about it -There still are some test failures, but I think (hope), they are due to -mistakes in the tests themselves. - - -mi - ---- ../tnm/generic/tnmInit.c Wed Oct 6 05:35:57 1999 -+++ ../tnm/generic/tnmInit.c Thu Mar 8 19:49:33 2001 -@@ -431,3 +431,3 @@ - #ifdef USE_TCL_STUBS -- if (Tcl_InitStubs(interp, "8.2", 1) == NULL) { -+ if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL) { - return TCL_ERROR; ---- ../tnm/generic/tnmIcmp.c Wed Oct 6 05:07:04 1999 -+++ ../tnm/generic/tnmIcmp.c Fri Mar 9 17:58:05 2001 -@@ -273,6 +273,6 @@ - * Parse the options. - */ - -- while (1) { -+ while (x < objc) { - code = TnmGetTableKeyFromObj(interp, icmpOptionTable, - objv[x], "option"); ---- ../tnm/tests/mib.test Fri Feb 11 14:43:38 2000 -+++ ../tnm/tests/mib.test Fri Mar 9 18:25:48 2001 -@@ -30,1 +30,1 @@ --lappend tnm(mibs) TUBS-REGISTRATION TUBS-IBR-TEST-MIB -+lappend tnm(mibs) TUBS-SMI TUBS-IBR-TEST-MIB -@@ -689,2 +689,2 @@ - mib info files *SMI --} {RFC1155-SMI SNMPv2-SMI} -+} {RFC1155-SMI SNMPv2-SMI TUBS-SMI} diff --git a/net-mgmt/scotty3/files/scotty.c b/net-mgmt/scotty3/files/scotty.c deleted file mode 100644 index 375cd2a7529e..000000000000 --- a/net-mgmt/scotty3/files/scotty.c +++ /dev/null @@ -1,27 +0,0 @@ -/* All that's needed for bin/scotty, really... -mi */ - -#include "tnmInt.h" - -static int -Tcl_AppInit(interp) - Tcl_Interp *interp; -{ - if (Tcl_Init(interp) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_PkgRequire(interp, "Tnm", TNM_VERSION, 1) == NULL) { - return TCL_ERROR; - } - - Tcl_SetVar(interp, "tcl_rcFileName", "~/.tclshrc", TCL_GLOBAL_ONLY); - return TCL_OK; -} - -int -main(argc, argv) - int argc; - char **argv; -{ - Tcl_Main(argc, argv, Tcl_AppInit); -} diff --git a/net-mgmt/scotty3/pkg-comment b/net-mgmt/scotty3/pkg-comment deleted file mode 100644 index 8c63ccd18277..000000000000 --- a/net-mgmt/scotty3/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Network management extensions to tcl diff --git a/net-mgmt/scotty3/pkg-descr b/net-mgmt/scotty3/pkg-descr deleted file mode 100644 index fcc22b336440..000000000000 --- a/net-mgmt/scotty3/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -scotty is a tcl extension which allows to set up TCP and UDP -connections, to send various ICMP packets, to query the domain name -system (DNS), to check clock skew using the NTP protocol and to query -various SUN RPC services (like rstat and mountd). - -WWW: http://wwwhome.cs.utwente.nl/~schoenw/scotty/ diff --git a/net-mgmt/scotty3/pkg-plist b/net-mgmt/scotty3/pkg-plist deleted file mode 100644 index 600a90964bb3..000000000000 --- a/net-mgmt/scotty3/pkg-plist +++ /dev/null @@ -1,375 +0,0 @@ -bin/nmicmpd -bin/nmtrapd -bin/scotty%%SCOTTY_VERSION%% -bin/scotty -%%X11%%bin/tkined -%%X11%%bin/tkined%%TKINED_VERSION%% -lib/tnm%%SCOTTY_VERSION%%/mibs/ACCOUNTING-CONTROL-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/ADSL-LINE-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/ADSL-TC-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/AGENTX-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/APPC-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/APPLETALK-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/APPLICATION-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/APPN-DLUR-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/APPN-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/APPN-TRAP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/ATM-ACCOUNTING-INFORMATION-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/ATM-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/ATM-TC-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/BGP4-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/BRIDGE-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/CHARACTER-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/CLNS-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DECNET-PHIV-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DIAL-CONTROL-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DIRECTORY-SERVER-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DISMAN-SCHEDULE-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DISMAN-SCRIPT-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DLSW-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DNS-RESOLVER-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DNS-SERVER-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DOCS-CABLE-DEVICE-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DOCS-IF-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DOT12-IF-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DOT12-RPTR-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DS0-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DS0BUNDLE-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DS1-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DS3-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/DSA-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/EBN-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/ENTITY-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/ETHER-CHIPSET-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/EtherLike-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/FDDI-SMT73-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/FLOW-METER-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/FRAME-RELAY-DTE-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/FRNETSERV-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/HOST-RESOURCES-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/HPR-IP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/HPR-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IANA-LANGUAGE-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IANATn3270eTC-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IANAifType-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IF-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/INTEGRATED-SERVICES-GUARANTEED-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/INTEGRATED-SERVICES-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IP-FORWARD-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IPATM-IPMC-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IPOA-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IPV6-ICMP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IPV6-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IPV6-TC -lib/tnm%%SCOTTY_VERSION%%/mibs/IPV6-TCP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/IPV6-UDP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/ISDN-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/Job-Monitoring-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/MAU-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/MIOX25-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/MIP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/MTA-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/Modem-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/NETWORK-SERVICES-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/NHRP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/OSPF-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/OSPF-TRAP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/P-BRIDGE-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/PARALLEL-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/PPP-BRIDGE-NCP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/PPP-IP-NCP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/PPP-LCP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/PPP-SEC-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/PerfHist-TC-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/Printer-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/Q-BRIDGE-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RADIUS-ACC-CLIENT-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RADIUS-ACC-SERVER-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RADIUS-AUTH-CLIENT-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RADIUS-AUTH-SERVER-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RDBMS-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RFC1155-SMI -lib/tnm%%SCOTTY_VERSION%%/mibs/RFC1213-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RFC1269-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RFC1381-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RFC1382-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RFC1414-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RIPv2-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RMON-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RMON2-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RS-232-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/RSVP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SIP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SMON-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNA-NAU-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNA-SDLC-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMP-FRAMEWORK-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMP-MPD-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMP-NOTIFICATION-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMP-PROXY-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMP-REPEATER-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMP-TARGET-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMP-USER-BASED-SM-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMP-VIEW-BASED-ACM-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMPv2-CONF -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMPv2-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMPv2-SMI -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMPv2-TC -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMPv2-TM -lib/tnm%%SCOTTY_VERSION%%/mibs/SNMPv2-USEC-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SONET-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SOURCE-ROUTING-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/SYSAPPL-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TCP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TCPIPX-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TN3270E-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TN3270E-RT-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TOKEN-RING-RMON-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TOKENRING-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TOKENRING-STATION-SR-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TUBS-IBR-LINUX-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TUBS-IBR-NFS-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TUBS-IBR-PROC-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TUBS-IBR-TEST-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TUBS-IBR-TNM-COMPAT -lib/tnm%%SCOTTY_VERSION%%/mibs/TUBS-IBR-TNM-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/TUBS-SMI -lib/tnm%%SCOTTY_VERSION%%/mibs/TUNNEL-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/UDP-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/UPS-MIB -lib/tnm%%SCOTTY_VERSION%%/mibs/WWW-MIB -lib/tnm%%SCOTTY_VERSION%%/pkgIndex.tcl -lib/tnm%%SCOTTY_VERSION%%/library/README -lib/tnm%%SCOTTY_VERSION%%/library/TnmDialog.tcl -lib/tnm%%SCOTTY_VERSION%%/library/TnmDisman.tcl -lib/tnm%%SCOTTY_VERSION%%/library/TnmEther.tcl -lib/tnm%%SCOTTY_VERSION%%/library/TnmIetf.tcl -lib/tnm%%SCOTTY_VERSION%%/library/TnmInet.tcl -lib/tnm%%SCOTTY_VERSION%%/library/TnmMap.tcl -lib/tnm%%SCOTTY_VERSION%%/library/TnmMib.tcl -lib/tnm%%SCOTTY_VERSION%%/library/TnmMonitor.tcl -lib/tnm%%SCOTTY_VERSION%%/library/TnmSnmp.tcl -lib/tnm%%SCOTTY_VERSION%%/library/TnmTerm.tcl -lib/tnm%%SCOTTY_VERSION%%/library/init.tcl -lib/tnm%%SCOTTY_VERSION%%/library/pkgIndex.tcl -lib/tnm%%SCOTTY_VERSION%%/agents/snmpd -lib/tnm%%SCOTTY_VERSION%%/agents/snmpd-tnm.tcl -lib/tnm%%SCOTTY_VERSION%%/agents/snmpd-nfs.tcl -lib/tnm%%SCOTTY_VERSION%%/agents/snmpd-proc.tcl -lib/tnm%%SCOTTY_VERSION%%/agents/README -lib/tnm%%SCOTTY_VERSION%%/examples/bridge -lib/tnm%%SCOTTY_VERSION%%/examples/bridge.n -lib/tnm%%SCOTTY_VERSION%%/examples/discover -lib/tnm%%SCOTTY_VERSION%%/examples/discover.n -lib/tnm%%SCOTTY_VERSION%%/examples/emok -lib/tnm%%SCOTTY_VERSION%%/examples/emok.n -lib/tnm%%SCOTTY_VERSION%%/examples/etherload -lib/tnm%%SCOTTY_VERSION%%/examples/etherload.n -lib/tnm%%SCOTTY_VERSION%%/examples/ifload -lib/tnm%%SCOTTY_VERSION%%/examples/ifload.n -lib/tnm%%SCOTTY_VERSION%%/examples/ifload2gif -lib/tnm%%SCOTTY_VERSION%%/examples/ifload2gif.n -lib/tnm%%SCOTTY_VERSION%%/examples/mibgrep -lib/tnm%%SCOTTY_VERSION%%/examples/mibgrep.n -lib/tnm%%SCOTTY_VERSION%%/examples/mibtree -lib/tnm%%SCOTTY_VERSION%%/examples/mibtree.n -lib/tnm%%SCOTTY_VERSION%%/examples/nslook -lib/tnm%%SCOTTY_VERSION%%/examples/nslook.n -lib/tnm%%SCOTTY_VERSION%%/examples/pcnfs -lib/tnm%%SCOTTY_VERSION%%/examples/pcnfs.n -lib/tnm%%SCOTTY_VERSION%%/examples/rpcprobe -lib/tnm%%SCOTTY_VERSION%%/examples/rpcprobe.n -lib/tnm%%SCOTTY_VERSION%%/examples/rstat -lib/tnm%%SCOTTY_VERSION%%/examples/rstat.n -lib/tnm%%SCOTTY_VERSION%%/examples/snmptrapd -lib/tnm%%SCOTTY_VERSION%%/examples/snmptrapd.n -lib/tnm%%SCOTTY_VERSION%%/examples/snmpwalk -lib/tnm%%SCOTTY_VERSION%%/examples/snmpwalk.n -lib/tnm%%SCOTTY_VERSION%%/examples/tcpspeed -lib/tnm%%SCOTTY_VERSION%%/examples/tcpspeed.n -lib/tnm%%SCOTTY_VERSION%%/examples/traceroute -lib/tnm%%SCOTTY_VERSION%%/examples/traceroute.n -lib/tnm%%SCOTTY_VERSION%%/examples/udploss -lib/tnm%%SCOTTY_VERSION%%/examples/udploss.n -lib/tnm%%SCOTTY_VERSION%%/examples/udpspeed -lib/tnm%%SCOTTY_VERSION%%/examples/udpspeed.n -lib/tnm%%SCOTTY_VERSION%%/examples/uiping -lib/tnm%%SCOTTY_VERSION%%/examples/uiping.n -lib/tnm%%SCOTTY_VERSION%%/examples/yanny -lib/tnm%%SCOTTY_VERSION%%/examples/yanny.n -lib/tnm%%SCOTTY_VERSION%%/site/init.tcl -lib/tnm%%SCOTTY_VERSION%%.so -%%X11%%lib/tkined%%TKINED_VERSION%%/pkgIndex.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/tkined.defaults -%%X11%%lib/tkined%%TKINED_VERSION%%/library/Command.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/library/Diagram.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/library/Dialog.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/library/Editor.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/library/Event.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/library/Help.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/library/Misc.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/library/Objects.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/library/Tool.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/library/pkgIndex.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/Box.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/BoxMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/DEC-Server.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/DEC-ServerMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/DEC.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/DECMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/HP.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/HP7550.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/HP7550Mask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/HPMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/HPdj.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/HPdjMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/HPsj.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/HPsjMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/IPC.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/IPCMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/NFS-client.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/NFS-clientMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/NFS-server.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/NFS-serverMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/RS6000.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/RS6000Mask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/SLC.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/SLCMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/SUN-Server.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/SUN-ServerMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/SUN3.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/SUN3Mask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/SparcStation.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/SparcStationMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/Xstation.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/XstationMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/action.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/actionMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/backbone.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/backboneMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/bigBox.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/bigBoxMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/bone.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/boneMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/bridge.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/bridgeMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/bus.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/busMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/cisco.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/ciscoMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/clock.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/clockMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/concent.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/concentMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/connector.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/connectorMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/corner.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/explode.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/explodeMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/graph.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/group.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/groupMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/hand.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/handMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/hyper.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/hyperMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/icon.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/ined.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/inedMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/laser.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/laserMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/link.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/linkMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/locker.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/lockerMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/mac.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/macMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/machine.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/machineMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/modem.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/modemMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/mx.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/mxMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/network.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/networkMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/node.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/nodeMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/noicon.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/octane.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/octaneMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/parsytec.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/parsytecMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/pc.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/pcMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/phone.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/phoneMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/pointer.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/pointerMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/printer.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/printerMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/pserver.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/pserverMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/reference.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/referenceMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/ring.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/ringMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/router.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/routerMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/smallBox.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/smallBoxMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/spock.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/switch.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/switchMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/text.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/textMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/tkined.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/tkinedMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/tserver.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/tserverMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/unixpc.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/unixpcMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/world.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/worldMask.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/zoomin.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/bitmaps/zoomout.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/README -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/clock.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/event.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/game.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/germany-map.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/ip_discover.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/ip_layout.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/ip_monitor.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/ip_trouble.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/ip_world.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/library.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/locations -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/manager.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/mibtree -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/movie.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/netherlands-map.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/snmp_browser.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/snmp_cisco.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/snmp_config.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/snmp_disman.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/snmp_host.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/snmp_hp.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/snmp_monitor.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/snmp_trouble.tcl -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/usa-map.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/world-map.xbm -%%X11%%lib/tkined%%TKINED_VERSION%%/apps/tclIndex -%%X11%%lib/tkined%%TKINED_VERSION%%.so -%%X11%%@dirrm lib/tkined%%TKINED_VERSION%%/library -%%X11%%@dirrm lib/tkined%%TKINED_VERSION%%/bitmaps -%%X11%%@dirrm lib/tkined%%TKINED_VERSION%%/apps -%%X11%%@dirrm lib/tkined%%TKINED_VERSION%% -@dirrm lib/tnm%%SCOTTY_VERSION%%/mibs -@dirrm lib/tnm%%SCOTTY_VERSION%%/icons -@dirrm lib/tnm%%SCOTTY_VERSION%%/library -@dirrm lib/tnm%%SCOTTY_VERSION%%/examples -@dirrm lib/tnm%%SCOTTY_VERSION%%/agents -@dirrm lib/tnm%%SCOTTY_VERSION%%/site -@dirrm lib/tnm%%SCOTTY_VERSION%% diff --git a/net-mgmt/sendip/Makefile b/net-mgmt/sendip/Makefile deleted file mode 100644 index 18ebf007f5df..000000000000 --- a/net-mgmt/sendip/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# New ports collection makefile for: sendip -# Date created: Wed 29 Nov 2000 -# Whom: joseph@randomnetworks.com -# -# $FreeBSD$ -# - -PORTNAME= sendip -PORTVERSION= 1.4 -CATEGORIES= net -MASTER_SITES= http://www.earth.li/projectpurple/files/ - -MAINTAINER= joseph@randomnetworks.com - -WRKSRC= ${WRKDIR}/sendip - -MAN1= sendip.1 - -.include <bsd.port.mk> diff --git a/net-mgmt/sendip/distinfo b/net-mgmt/sendip/distinfo deleted file mode 100644 index 746920e82be6..000000000000 --- a/net-mgmt/sendip/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (sendip-1.4.tar.gz) = f5b2a15d30e7d8359be25dcacdff663c diff --git a/net-mgmt/sendip/pkg-comment b/net-mgmt/sendip/pkg-comment deleted file mode 100644 index 7bd683ab820c..000000000000 --- a/net-mgmt/sendip/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -SendIP is a commandline tool to allow sending arbitrary IP packets diff --git a/net-mgmt/sendip/pkg-descr b/net-mgmt/sendip/pkg-descr deleted file mode 100644 index 03b0c1211c7b..000000000000 --- a/net-mgmt/sendip/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -SendIP has a large number of command line options to specify the content of -every header of a RIP, TCP, UDP, ICMP or raw IPv4 and IPv6 packet. It also -allows any data to be added to the packet. Checksums can be calculated -automatically, but if you wish to send out wrong checksums, that is -supported too. - -WWW: http://www.earth.li/projectpurple/progs/sendip.html diff --git a/net-mgmt/sendip/pkg-plist b/net-mgmt/sendip/pkg-plist deleted file mode 100644 index 2bae76f4d56b..000000000000 --- a/net-mgmt/sendip/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -bin/sendip diff --git a/net-mgmt/sing/Makefile b/net-mgmt/sing/Makefile deleted file mode 100644 index 051d68ebf840..000000000000 --- a/net-mgmt/sing/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# Ports collection makefile for: sing -# Date created: Oct 6 2000 -# Whom: Roman Shterenzon <roman@xpert.com> -# -# $FreeBSD$ -# - -PORTNAME= sing -PORTVERSION= 1.0 -CATEGORIES= net security -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= SING-${PORTVERSION} -EXTRACT_SUFX= .tgz - -MAINTAINER= roman@xpert.com - -GNU_CONFIGURE= yes -MAN8= sing.8 - -post-extract: - @${RM} -rf ${WRKSRC}/libpcap* - -.include <bsd.port.mk> diff --git a/net-mgmt/sing/distinfo b/net-mgmt/sing/distinfo deleted file mode 100644 index e9dbbf324f85..000000000000 --- a/net-mgmt/sing/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (SING-1.0.tgz) = 0e478a271068eefc6e26e45d236e7694 diff --git a/net-mgmt/sing/files/patch-aa b/net-mgmt/sing/files/patch-aa deleted file mode 100644 index 40c157d9c527..000000000000 --- a/net-mgmt/sing/files/patch-aa +++ /dev/null @@ -1,45 +0,0 @@ ---- Makefile.in.orig Sat Sep 16 13:03:43 2000 -+++ Makefile.in Fri Oct 6 01:17:29 2000 -@@ -72,7 +72,7 @@ - getopt_SOURCES = @getopt_SOURCES@ - libpcapdir = @libpcapdir@ - --INCLUDES = -I$(includedir) -I$(libpcapdir) -+INCLUDES = -I$(includedir) # -I$(libpcapdir) - - LIBS = @LIBS@ -lpcap - -@@ -108,7 +108,7 @@ - SOURCES = $(sing_SOURCES) - OBJECTS = $(sing_OBJECTS) - --all: libpcap all-redirect -+all: all-redirect - .SUFFIXES: - .SUFFIXES: .S .c .o .s - -@@ -149,11 +149,11 @@ - - install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) -- $(mkinstalldirs) $(DESTDIR)$(bindir) -+ $(mkinstalldirs) $(DESTDIR)$(sbindir) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ -- echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ -- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ -+ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ -+ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - else :; fi; \ - done - -@@ -223,8 +223,7 @@ - - - help.o: help.c config.h --sing.o: sing.c config.h libpcap-0.4/pcap.h libpcap-0.4/net/bpf.h \ -- sing.h ipcompat.h misc.h packet.h dev_struct.h -+sing.o: sing.c config.h sing.h ipcompat.h misc.h packet.h dev_struct.h - ip_options.o: ip_options.c config.h ip_options.h ipcompat.h packet.h \ - misc.h - device.o: device.c config.h device.h misc.h packet.h dev_struct.h diff --git a/net-mgmt/sing/files/patch-ab b/net-mgmt/sing/files/patch-ab deleted file mode 100644 index 2934e7389816..000000000000 --- a/net-mgmt/sing/files/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ ---- configure.orig Fri Oct 6 01:19:57 2000 -+++ configure Fri Oct 6 01:20:05 2000 -@@ -1097,10 +1097,6 @@ - fi - fi - --if test -n "$GCC"; then -- CFLAGS="-O3 -Wall" --fi -- - echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 - echo "configure:1104: checking how to run the C preprocessor" >&5 - # On Suns, sometimes $CPP names a directory. diff --git a/net-mgmt/sing/pkg-comment b/net-mgmt/sing/pkg-comment deleted file mode 100644 index 0d8947d23727..000000000000 --- a/net-mgmt/sing/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Tool for sending customized ICMP packets diff --git a/net-mgmt/sing/pkg-descr b/net-mgmt/sing/pkg-descr deleted file mode 100644 index d53357cb5ff9..000000000000 --- a/net-mgmt/sing/pkg-descr +++ /dev/null @@ -1,20 +0,0 @@ -Sing is a little tool that sends ICMP packets fully customized from command -line. The main purpose is to replace/complement the niceful ping command -with certain enhancements as: - - - Send fragmented packets (Linux and BSD). - - Send monster packets > 65534 (Linux and BSD). - - Send/read spoofed packets. - - Send many ICMP Information types in addition to the ECHO REQUEST type sent - by default as Address Mask Request, Timestamp, Information Request, Router - Solicitation and Router Advertisement. - - Send many ICMP error types: Redirect, Source Quench, Time Exceeded, - Destination Unreach and Parameter Problem. - - Send to host with Loose or Strict Source Routing. - - Use little fingerprinting techniques to discover Windows or Solaris boxes. - - Send ICMP packets emulating certain OS: Cisco, Solaris, Linux, Shiva, - Unix and Windows at the moment. - -WWW: http://sourceforge.net/projects/sing/ - ---Roman <roman@xpert.com> diff --git a/net-mgmt/sing/pkg-plist b/net-mgmt/sing/pkg-plist deleted file mode 100644 index 8c8ba8603195..000000000000 --- a/net-mgmt/sing/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -sbin/sing diff --git a/net-mgmt/sting/Makefile b/net-mgmt/sting/Makefile deleted file mode 100644 index 3f70effc3bc7..000000000000 --- a/net-mgmt/sting/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# New ports collection makefile for: sting -# Date created: 10 May 2000 -# Whom: benno@netizen.com.au -# -# $FreeBSD$ -# - -PORTNAME= sting -PORTVERSION= 0.7 -CATEGORIES= net -MASTER_SITES= http://www.cs.washington.edu/homes/savage/sting/ -DISTNAME= sting - -MAINTAINER= kbyanc@posi.net - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sting ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.sting -.endif - -.include <bsd.port.mk> diff --git a/net-mgmt/sting/distinfo b/net-mgmt/sting/distinfo deleted file mode 100644 index a5ae317e5f3b..000000000000 --- a/net-mgmt/sting/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (sting.tar.gz) = 7b0d22f96bbde22f94ed5eb0f4a39e29 diff --git a/net-mgmt/sting/files/patch-aa b/net-mgmt/sting/files/patch-aa deleted file mode 100644 index 97e617a7d8cd..000000000000 --- a/net-mgmt/sting/files/patch-aa +++ /dev/null @@ -1,19 +0,0 @@ ---- Makefile.orig Thu Nov 4 11:00:22 1999 -+++ Makefile Sat Jul 1 16:27:33 2000 -@@ -37,12 +37,13 @@ - HDR = inet.h capture.h gmt2local.h distribtion.h - - LIBPCAP = ./libpcap-0.4 --CC = gcc -+CC ?= gcc -+CFLAGS ?= -O -pipe - OBJS = version.o $(SRC:.c=.o) - INCLS = -I. -I$(LIBPCAP) - DEFS = -DRETSIGTYPE=void -DHAVE_SIGACTION=1 --CFLAGS = -Wall $(CCOPT) $(DEFS) $(INCLS) --LIBS = -lm $(LIBPCAP)/libpcap.a -+CFLAGS += -Wall $(DEFS) $(INCLS) -+LIBS = -lm -lpcap - - all: sting - diff --git a/net-mgmt/sting/files/patch-ab b/net-mgmt/sting/files/patch-ab deleted file mode 100644 index 11ec20827f7b..000000000000 --- a/net-mgmt/sting/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- gmt2local.c Fri Nov 5 06:00:22 1999 -+++ gmt2local.c.new Wed May 10 11:10:05 2000 -@@ -32,7 +32,7 @@ - #include <time.h> - #endif - --#include "gnuc.h" -+/* #include "gnuc.h" */ - #ifdef HAVE_OS_PROTO_H - #include "os-proto.h" - #endif diff --git a/net-mgmt/sting/files/patch-ac b/net-mgmt/sting/files/patch-ac deleted file mode 100644 index 346d2c9cb3ef..000000000000 --- a/net-mgmt/sting/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- setsignal.c Fri Nov 5 06:00:22 1999 -+++ setsignal.c.new Wed May 10 11:10:59 2000 -@@ -34,7 +34,7 @@ - #include <string.h> - #endif - --#include "gnuc.h" -+/* #include "gnuc.h" */ - #ifdef HAVE_OS_PROTO_H - #include "os-proto.h" - #endif diff --git a/net-mgmt/sting/pkg-comment b/net-mgmt/sting/pkg-comment deleted file mode 100644 index d1050a3c894e..000000000000 --- a/net-mgmt/sting/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A tool that measures end-to-end TCP connection characteristics diff --git a/net-mgmt/sting/pkg-descr b/net-mgmt/sting/pkg-descr deleted file mode 100644 index a989bbf4db19..000000000000 --- a/net-mgmt/sting/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -sting is a TCP-based network measurement tool that measures end-to-end -network path characteristics. sting is unique because it can estimate -one-way properties, such as loss rate, through careful manipulation and -observation of TCP behavior. In addition, using TCP allows sting to -leverage the existing Internet infrastructure -- any TCP server can be -used as a de facto measurement service -- and it avoids increasing -problems with ICMP-based network measurement (blocking, spoofing, rate -limiting, etc). - -WWW: http://www.cs.washington.edu/homes/savage/sting/ diff --git a/net-mgmt/sting/pkg-plist b/net-mgmt/sting/pkg-plist deleted file mode 100644 index 8fb50dd64617..000000000000 --- a/net-mgmt/sting/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -bin/sting -share/doc/README.sting diff --git a/net-mgmt/tas/Makefile b/net-mgmt/tas/Makefile deleted file mode 100644 index 5df04cc4c069..000000000000 --- a/net-mgmt/tas/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# New ports collection makefile for: tas -# Date created: 25 December 2000 -# Whom: anton -# -# $FreeBSD$ -# - -PORTNAME= tas -PORTVERSION= 1.1 -CATEGORIES= net -MASTER_SITES= http://tas.net-conex.com/ \ - http://rnoc.urc.ac.ru/~anton/projects/tas/ -DISTNAME= tas-${PORTVERSION} - -MAINTAINER= anton@urc.ac.ru - -WRKSRC= ${WRKDIR}/tas - -NO_BUILD= yes - -.include <bsd.port.mk> diff --git a/net-mgmt/tas/distinfo b/net-mgmt/tas/distinfo deleted file mode 100644 index ae03d2089bac..000000000000 --- a/net-mgmt/tas/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (tas-1.1.tar.gz) = 70b4a436296d5cec2fe6f5dad6e88c82 diff --git a/net-mgmt/tas/pkg-comment b/net-mgmt/tas/pkg-comment deleted file mode 100644 index a6687b9c936b..000000000000 --- a/net-mgmt/tas/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Traffic accounting system diff --git a/net-mgmt/tas/pkg-descr b/net-mgmt/tas/pkg-descr deleted file mode 100644 index 46db2a5ebc64..000000000000 --- a/net-mgmt/tas/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -TAS is a traffic accounting system that picks up ip and application level -traffic statistics, stores it and processes to build reports. Report is a -set of user-defined tables. Table columns and rows are groups of hosts -(traffic sources or destinations) aggregated according to the rules defined -by user. - -WWW: http://tas.net-conex.com - http://rnoc.urc.ac.ru/~anton/projects/tas/TAS.html diff --git a/net-mgmt/tas/pkg-plist b/net-mgmt/tas/pkg-plist deleted file mode 100644 index adf50982dd04..000000000000 --- a/net-mgmt/tas/pkg-plist +++ /dev/null @@ -1,21 +0,0 @@ -etc/periodic/daily/accounting -etc/periodic/monthly/accounting -etc/tas/AcctLog.conf -etc/tas/AcctLog.conf.default -etc/tas/accounting.conf -etc/tas/accounting.conf.default -etc/tas/tas.conf -etc/tas/tas.conf.default -sbin/AcctFetch -sbin/AcctJoin -sbin/AcctLog -sbin/AcctMailgate -sbin/AcctMax -sbin/AcctSendmail -sbin/AcctSquid -share/doc/tas/TAS.html -@dirrm share/doc/tas -@dirrm etc/tas -@dirrm etc/periodic/monthly -@dirrm etc/periodic/daily -@dirrm etc/periodic diff --git a/net-mgmt/tcpreplay/Makefile b/net-mgmt/tcpreplay/Makefile deleted file mode 100644 index 575a4e1dbbe9..000000000000 --- a/net-mgmt/tcpreplay/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# New ports collection makefile for: tcpreplay -# Date created: 2 November 2000 -# Whom: cnh@ivmg.net -# -# $FreeBSD$ -# - -PORTNAME= tcpreplay -PORTVERSION= 1.0.1 -CATEGORIES= net -MASTER_SITES= http://www.anzen.com/research/nidsbench/ - -MAINTAINER= ports@FreeBSD.org - -BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet - -USE_AUTOCONF= yes - -MAN8= tcpreplay.8 - -.include <bsd.port.mk> diff --git a/net-mgmt/tcpreplay/distinfo b/net-mgmt/tcpreplay/distinfo deleted file mode 100644 index b5ba6a8f4ff4..000000000000 --- a/net-mgmt/tcpreplay/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (tcpreplay-1.0.1.tar.gz) = 4b9335761e9202abfc175c06b169e991 diff --git a/net-mgmt/tcpreplay/files/patch-Makefile.in b/net-mgmt/tcpreplay/files/patch-Makefile.in deleted file mode 100644 index a54081d50383..000000000000 --- a/net-mgmt/tcpreplay/files/patch-Makefile.in +++ /dev/null @@ -1,45 +0,0 @@ ---- Makefile.in.orig Thu Apr 22 07:16:41 1999 -+++ Makefile.in Thu Jan 18 01:05:19 2001 -@@ -9,22 +9,23 @@ - CC = @CC@ - CFLAGS = @CFLAGS@ - LDFLAGS = @LDFLAGS@ --DEFS = @DEFS@ -+DEFS = @DEFS@ `libnet-config --defines` - INCS = $(LNETINCS) $(PCAPINCS) - LIBS = @LIBS@ $(LNETLIBS) $(PCAPLIBS) - - INSTALL = @INSTALL@ - INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_DATA = @INSTALL_DATA@ - --PCAPDIR = libpcap-0.4 --PCAPINCS = -I$(PCAPDIR) --PCAPLIBS = -L$(PCAPDIR) -lpcap --PCAPDEP = $(PCAPDIR)/pcap.h $(PCAPDIR)/libpcap.a -+# PCAPDIR = libpcap-0.4 -+# PCAPINCS = -I$(PCAPDIR) -+PCAPLIBS = -lpcap -+# PCAPDEP = $(PCAPDIR)/pcap.h $(PCAPDIR)/libpcap.a - --LNETDIR = Libnet-0.99 -+LNETDIR = ${LOCALBASE} - LNETINCS = -I$(LNETDIR)/include --LNETLIBS = -L$(LNETDIR)/lib -lnet --LNETDEP = $(LNETDIR)/include/libnet.h $(LNETDIR)/libnet.a -+LNETLIBS = -L$(LNETDIR)/lib `libnet-config --libs` -+# LNETDEP = $(LNETDIR)/include/libnet.h $(LNETDIR)/libnet.a - - PROGRAMS = tcpreplay - -@@ -51,8 +52,8 @@ - rm -f Makefile config.h config.status config.cache config.log - - install: -- $(INSTALL_PROGRAM) -m 755 tcpreplay $(SBINDIR) -- $(INSTALL) -m 644 tcpreplay.8 $(MANDIR) -+ $(INSTALL_PROGRAM) tcpreplay $(SBINDIR) -+ $(INSTALL_DATA) tcpreplay.8 $(MANDIR) - - uninstall: - rm -f $(SBINDIR)/tcpreplay diff --git a/net-mgmt/tcpreplay/files/patch-configure.in b/net-mgmt/tcpreplay/files/patch-configure.in deleted file mode 100644 index b3ff9a2b4fec..000000000000 --- a/net-mgmt/tcpreplay/files/patch-configure.in +++ /dev/null @@ -1,25 +0,0 @@ ---- configure.in.orig Thu May 20 04:55:28 1999 -+++ configure.in Thu Jan 18 01:02:11 2001 -@@ -8,13 +8,6 @@ - AC_PROG_INSTALL - AC_PROG_MAKE_SET - --dnl Use these compiler flags if we have gcc. --dnl --if test $ac_cv_prog_gcc = yes; then -- CCOPTS='-O3 -pipe -Wall' -- CFLAGS="$CCOPTS" --fi -- - dnl Checks for libraries. - AC_CHECK_LIB(socket, socket) - AC_CHECK_LIB(nsl, gethostbyname) -@@ -28,8 +21,6 @@ - - dnl Checks for library functions. - AC_CHECK_FUNCS(gettimeofday) -- --AC_CONFIG_SUBDIRS(Libnet-0.99 libpcap-0.4) - - AC_CONFIG_HEADER(config.h) - AC_OUTPUT(Makefile) diff --git a/net-mgmt/tcpreplay/files/patch-tcpreplay.c b/net-mgmt/tcpreplay/files/patch-tcpreplay.c deleted file mode 100644 index 1b49c631bfaf..000000000000 --- a/net-mgmt/tcpreplay/files/patch-tcpreplay.c +++ /dev/null @@ -1,31 +0,0 @@ ---- tcpreplay.c.orig Wed May 19 13:00:35 1999 -+++ tcpreplay.c Thu Nov 2 17:58:27 2000 -@@ -229,8 +229,8 @@ - } - - while (write_status < 0) { -- write_status = write_link_layer((struct link_int *)user, interface, -- data,pcap_hdr->caplen); -+ write_status = libnet_write_link_layer((struct libnet_link_int *)user, -+ interface,data,pcap_hdr->caplen); - #ifdef DEBUG - if (debug > 1) { - fprintf(stderr, "write_status = %i\n", write_status); -@@ -255,7 +255,7 @@ - int main(int argc, char * argv[]) - { - pcap_t * in_file; -- struct link_int * write_if; -+ struct libnet_link_int * write_if; - float Mrate = 0; - double starttime_local, startusec; - char ebuf[256]; -@@ -327,7 +327,7 @@ - failed_writes = 0; - pkts_sent = 0; - bytes_sent = 0; -- write_if = open_link_interface(interface,ebuf); -+ write_if = libnet_open_link_interface(interface,ebuf); - if (write_if <= 0) { - fprintf(stderr, "output i/f: %s\n",ebuf); - exit(1); diff --git a/net-mgmt/tcpreplay/pkg-comment b/net-mgmt/tcpreplay/pkg-comment deleted file mode 100644 index db5ed6432b4a..000000000000 --- a/net-mgmt/tcpreplay/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A tool to replay saved tcpdump files diff --git a/net-mgmt/tcpreplay/pkg-descr b/net-mgmt/tcpreplay/pkg-descr deleted file mode 100644 index c63b49408891..000000000000 --- a/net-mgmt/tcpreplay/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -Tcpreplay is aimed at testing the performance of a Network Intrusion Detection -System by replaying real background network traffic in which to hide attacks. - -Tcpreplay allows you to control the speed at which the traffic is replayed, -and can replay arbitrary libpcap traces. - -Unlike programmatically-generated artificial traffic which doesn't exercise -the application/protocol inspection that a NIDS performs, and doesn't -reproduce the real-world anomalies that appear on production networks -(asymmetric routes, traffic bursts/lulls, fragmentation, retransmissions, -etc.), tcpreplay allows for exact replication of real traffic seen on real -networks. - -WWW: http://www.anzen.com/research/nidsbench/ diff --git a/net-mgmt/tcpreplay/pkg-plist b/net-mgmt/tcpreplay/pkg-plist deleted file mode 100644 index 69ef82f2515c..000000000000 --- a/net-mgmt/tcpreplay/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -sbin/tcpreplay diff --git a/net-mgmt/trafd/Makefile b/net-mgmt/trafd/Makefile deleted file mode 100644 index 4364e0c031ae..000000000000 --- a/net-mgmt/trafd/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# New ports collection makefile for: trafd -# Date created: 22 January 2000 -# Whom: Michael Vasilenko <acid@stu.cn.ua> -# -# $FreeBSD$ -# - -PORTNAME= trafd -PORTVERSION= 3.0.1 -CATEGORIES= net -MASTER_SITES= ftp://ftp.riss-telecom.ru/pub/dev/trafd/ -EXTRACT_SUFX= .tgz - -MAINTAINER= ports@FreeBSD.org - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/trafd/trafd ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafstart ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafstop ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafsave ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafdump ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/trafstat/trafstat ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/trafstatd/trafstatd ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/traflog/traflog ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/traflog/traflog.format ${PREFIX}/etc - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/trafd - ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/trafd/README -.endif - ${MKDIR} ${PREFIX}/var/trafd - ${MKDIR} ${PREFIX}/var/log -.include <bsd.port.mk> diff --git a/net-mgmt/trafd/distinfo b/net-mgmt/trafd/distinfo deleted file mode 100644 index ce0641ac7f92..000000000000 --- a/net-mgmt/trafd/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (trafd-3.0.1.tgz) = 4793d475ed8403d86012023ce459f88d diff --git a/net-mgmt/trafd/files/patch-aa b/net-mgmt/trafd/files/patch-aa deleted file mode 100644 index 250fb8c59302..000000000000 --- a/net-mgmt/trafd/files/patch-aa +++ /dev/null @@ -1,71 +0,0 @@ ---- Makefile.orig Thu Nov 25 03:38:29 1999 -+++ Makefile Thu Feb 17 00:51:02 2000 -@@ -12,22 +12,22 @@ - # - - # Target directory for install execution files. --PATH_BINDIR=/usr/local/bin -+PATH_BINDIR=${PREFIX}/bin - - # Target directory for install man pages. --PATH_MANDIR=/usr/local/man/man1 -+PATH_MANDIR=${MANPREFIX}/man1 - - # Trailing slash directory, summary traffic log files will be put there. --PATH_TOSAVE=/var/trafd/ -+PATH_TOSAVE=${PREFIX}/var/trafd/ - - # Full pathname where locate tarfstat program. --PATH_TRAFSTAT=/usr/local/bin/trafstat -+PATH_TRAFSTAT=${PREFIX}/bin/trafstat - - # Where locate trafstatd log file, if you want log then file must exist. --PATH_TRAFSTAT_LOG=/var/log/trafstat.log -+PATH_TRAFSTAT_LOG=${PREFIX}/var/log/trafstat.log - - # File with user defined descriptions of the traflog output format. --PATH_TRAFLOG_FMT=/usr/local/etc/traflog.format -+PATH_TRAFLOG_FMT=${PREFIX}/etc/traflog.format - - # Only group wheel can execute binary files. - SHELL = /bin/sh -@@ -35,8 +35,8 @@ - GROUP = wheel - - # This options intended for BSD/OS V2. --CC = gcc --FLAGS = -O2 -+CC ?= gcc -+#FLAGS = -O2 - DEFINE = -DRETSIGTYPE=void -DRETSIGVAL= - #DEFINE += -DHAVE_FCNTL_H=1 - #DEFINE += -DHAVE_MEMORY_H=1 -@@ -45,7 +45,7 @@ - LDFLAGS = -L../lib -lbpft -lpcap -lcurses -ltermcap -ll - - INCLUDE = -I../include --CFLAGS = ${FLAGS} ${INCLUDE} ${DEFINE} \ -+CFLAGS += ${INCLUDE} ${DEFINE} \ - -DPATH_TOSAVE=\"${PATH_TOSAVE}\"\ - -DPATH_TRAFSTAT=\"${PATH_TRAFSTAT}\"\ - -DPATH_TRAFSTAT_LOG=\"${PATH_TRAFSTAT_LOG}\"\ -@@ -69,10 +69,15 @@ - install -c -o root -g ${GROUP} -m ${MODE} trafd/trafstop ${PATH_BINDIR} - install -c -o root -g ${GROUP} -m ${MODE} trafd/trafsave ${PATH_BINDIR} - install -c -o root -g ${GROUP} -m ${MODE} trafd/trafdump ${PATH_BINDIR} -- install -s -o root -g ${GROUP} -m ${MODE} trafstat/trafstat ${PATH_BINDIR} -- install -s -o root -g ${GROUP} -m ${MODE} trafstatd/trafstatd ${PATH_BINDIR} -- install -s -o root -g ${GROUP} -m ${MODE} traflog/traflog ${PATH_BINDIR} -- install -c -o root -g ${GROUP} -m ${MODE} traflog/traflog.format ${PATH_TRAFLOG_FMT} -+ ${BSD_INSTALL_PROGRAM} trafd/trafd ${PATH_BINDIR} -+ ${BSD_INSTALL_SCRIPT} trafd/trafstart ${PATH_BINDIR} -+ ${BSD_INSTALL_SCRIPT} trafd/trafstop ${PATH_BINDIR} -+ ${BSD_INSTALL_SCRIPT} trafd/trafsave ${PATH_BINDIR} -+ ${BSD_INSTALL_SCRIPT} trafd/trafdump ${PATH_BINDIR} -+ ${BSD_INSTALL_PROGRAM} trafstat/trafstat ${PATH_BINDIR} -+ ${BSD_INSTALL_PROGRAM} trafstatd/trafstatd ${PATH_BINDIR} -+ ${BSD_INSTALL_PROGRAM} traflog/traflog ${PATH_BINDIR} -+ ${BSD_INSTALL_SCRIPT} traflog/traflog.format ${PATH_TRAFLOG_FMT} - @echo Done. - - clean: diff --git a/net-mgmt/trafd/files/patch-ab b/net-mgmt/trafd/files/patch-ab deleted file mode 100644 index 37b96f3f6542..000000000000 --- a/net-mgmt/trafd/files/patch-ab +++ /dev/null @@ -1,7 +0,0 @@ ---- trafd/trafdump.orig Tue Feb 8 00:14:22 2000 -+++ trafd/trafdump Tue Feb 8 00:15:05 2000 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # - # trafdump Copyright (c)1993 CAD lab - # diff --git a/net-mgmt/trafd/files/patch-ac b/net-mgmt/trafd/files/patch-ac deleted file mode 100644 index 3bd0c67318ad..000000000000 --- a/net-mgmt/trafd/files/patch-ac +++ /dev/null @@ -1,7 +0,0 @@ ---- trafd/trafsave.orig Tue Feb 8 00:14:31 2000 -+++ trafd/trafsave Tue Feb 8 00:15:15 2000 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # - # trafsave Copyright (c)1993 CAD lab - # diff --git a/net-mgmt/trafd/files/patch-ad b/net-mgmt/trafd/files/patch-ad deleted file mode 100644 index d03435051373..000000000000 --- a/net-mgmt/trafd/files/patch-ad +++ /dev/null @@ -1,7 +0,0 @@ ---- trafd/trafstart.orig Tue Feb 8 00:14:42 2000 -+++ trafd/trafstart Tue Feb 8 00:15:38 2000 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # - # trafstart Copyright (c)1993 CAD lab - # diff --git a/net-mgmt/trafd/files/patch-ae b/net-mgmt/trafd/files/patch-ae deleted file mode 100644 index b583de35ce86..000000000000 --- a/net-mgmt/trafd/files/patch-ae +++ /dev/null @@ -1,7 +0,0 @@ ---- trafd/trafstop.orig Tue Feb 8 00:14:49 2000 -+++ trafd/trafstop Tue Feb 8 00:15:51 2000 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # - # trafstop Copyright (c)1993 CAD lab - # diff --git a/net-mgmt/trafd/files/patch-ah b/net-mgmt/trafd/files/patch-ah deleted file mode 100644 index 832f7e5333d7..000000000000 --- a/net-mgmt/trafd/files/patch-ah +++ /dev/null @@ -1,39 +0,0 @@ ---- trafd/traffic.c.buggy Mon Aug 7 18:45:54 2000 -+++ trafd/traffic.c Mon Aug 7 18:46:42 2000 -@@ -253,7 +253,7 @@ - t.p_port = tp->th_sport, t.who_srv = 1; - else if (tp->th_sport > tp->th_dport) - t.p_port = tp->th_dport, t.who_srv = 2; -- else if (tp->th_sport = tp->th_dport) -+ else if (tp->th_sport == tp->th_dport) - t.p_port = tp->th_sport, t.who_srv = 3; - if (t.p_port > IPPORT_RESERVED) { - if (s_port_big[tp->th_sport & (IPPORT_RESERVED-1)] & IPPROTO_TCP) { -@@ -263,7 +263,7 @@ - t.p_port = tp->th_dport; - t.who_srv = 2; - } -- if (tp->th_sport = tp->th_dport) t.who_srv = 3; -+ if (tp->th_sport == tp->th_dport) t.who_srv = 3; - } - traf_add(insertentry(&t), t.n_bytes, t.n_psize); - -@@ -300,7 +300,7 @@ - t.p_port = up->uh_sport, t.who_srv = 1; - else if (up->uh_sport > up->uh_dport) - t.p_port = up->uh_dport, t.who_srv = 2; -- else if (up->uh_sport = up->uh_dport) -+ else if (up->uh_sport == up->uh_dport) - t.p_port = up->uh_sport, t.who_srv = 3; - if (t.p_port > IPPORT_RESERVED) { - if (s_port_big[up->uh_sport & (IPPORT_RESERVED-1)] & IPPROTO_UDP) { -@@ -310,7 +310,7 @@ - t.p_port = up->uh_dport; - t.who_srv = 2; - } -- if (up->uh_sport = up->uh_dport) t.who_srv = 3; -+ if (up->uh_sport == up->uh_dport) t.who_srv = 3; - } - traf_add(insertentry(&t), t.n_bytes, t.n_psize); - - diff --git a/net-mgmt/trafd/pkg-comment b/net-mgmt/trafd/pkg-comment deleted file mode 100644 index f2898ca78fed..000000000000 --- a/net-mgmt/trafd/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -The BPF Traffic Collector diff --git a/net-mgmt/trafd/pkg-descr b/net-mgmt/trafd/pkg-descr deleted file mode 100644 index d4d4190e1098..000000000000 --- a/net-mgmt/trafd/pkg-descr +++ /dev/null @@ -1,21 +0,0 @@ -trafd is a superset of trafshow, and extends it by adding a daemon -which collects data about network connections (src, dst, protocol -and length). The resulting data can be dumped to a file for later -processing. - -Read /usr/local/share/doc/trafd/README after installation for more -information. - -To use trafd, your kernel must be rebuilt with the following line -added to your kernel config file (/sys/i386/conf/<YourMachine>): - -pseudo-device bpfilter 4 # Berkeley packet filter - -The number after bpfilter is the number of interfaces that can be -examined simultaneously. See section 6.1 of the Handbook for details. - -On FreeBSD 4.0 or later versions, use the following line instead: - -pseudo-device bpf 4 # Berkeley packet filter - -- oddbjorn <oddbjorn@tricknology.org> diff --git a/net-mgmt/trafd/pkg-plist b/net-mgmt/trafd/pkg-plist deleted file mode 100644 index 1791a3e25ef9..000000000000 --- a/net-mgmt/trafd/pkg-plist +++ /dev/null @@ -1,14 +0,0 @@ -bin/trafd -bin/trafdump -bin/traflog -bin/trafsave -bin/trafstart -bin/trafstat -bin/trafstatd -bin/trafstop -etc/traflog.format -share/doc/trafd/README -@dirrm share/doc/trafd -@dirrm var/trafd -@unexec rmdir %D/var/log 2>/dev/null || true -@unexec rmdir %D/var 2>/dev/null || true diff --git a/net-mgmt/wide-dhcp/Makefile b/net-mgmt/wide-dhcp/Makefile deleted file mode 100644 index 797b8213ff41..000000000000 --- a/net-mgmt/wide-dhcp/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: dhcp -# Date created: 21 November 1995 -# Whom: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp> -# -# $FreeBSD$ -# - -PORTNAME= wide-dhcp -PORTVERSION= 1.4.0.6 -CATEGORIES= net -MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/dhcp/ \ - ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/wide-dhcp/ \ - ftp://ftp.st.ryukoku.ac.jp/pub/network/dhcp/wide/ \ - ftp://ftp.sage-au.org.au/pub/network/boot/wide-dhcp/ -DISTNAME= dhcp-1.4.0p6 - -MAINTAINER= obrien@FreeBSD.org - -MAKE_ENV= OSTYPE=${OPSYS} - -MAN5= dhcpdb.server.5 dhcpdb.pool.5 dhcpdb.relay.5 -MAN8= dhcpc.8 dhcps.8 relay.8 dhcpm.8 - -STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/wide-dhcps.sh.sample - -post-install: -.if !defined(NOPORTDOCS) - @if [ ! -d ${PREFIX}/share/doc/dhcp ]; then \ - ${MKDIR} ${PREFIX}/share/doc/dhcp; \ - fi - @if [ ! -d ${PREFIX}/share/examples/dhcp ]; then \ - ${MKDIR} ${PREFIX}/share/examples/dhcp; \ - fi - @${CP} ${WRKSRC}/README ${PREFIX}/share/doc/dhcp/ - @${CP} ${WRKSRC}/README.jis ${PREFIX}/share/doc/dhcp/ - @${CP} ${WRKSRC}/db_sample/dhcpdb.pool \ - ${PREFIX}/share/examples/dhcp/dhcpdb.pool.sample - @${CP} ${WRKSRC}/db_sample/dhcpdb.relay \ - ${PREFIX}/share/examples/dhcp/dhcpdb.relay.sample - @${CP} ${WRKSRC}/db_sample/dhcpdb.server \ - ${PREFIX}/share/examples/dhcp/dhcpdb.server.sample - @${CP} ${WRKSRC}/db_sample/intro.dhcp ${PREFIX}/share/doc/dhcp/ - @${CP} ${WRKSRC}/db_sample/intro.dhcp.jis \ - ${PREFIX}/share/doc/dhcp/ -.endif - @if [ ! -f ${STARTUP_SCRIPT} ]; then \ - ${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \ - ${INSTALL_SCRIPT} ${FILESDIR}/wide-dhcps.sh.sample ${STARTUP_SCRIPT}; \ - fi - @if [ ! -c /dev/bpf1 ]; then \ - ${ECHO} "********************************************************";\ - ${ECHO} "* W a r n i n g *";\ - ${ECHO} "* DHCP the needs Berkeley Packet Filter (bpf). *";\ - ${ECHO} "* To use DHCP, your kernel must be rebuilt with bpf, *";\ - ${ECHO} "* and make bpf devices on /dev directory. *";\ - ${ECHO} "* Please read the info file by \`pkg_info ${PKGNAME}'. *";\ - ${ECHO} "********************************************************";\ - fi - -.include <bsd.port.mk> diff --git a/net-mgmt/wide-dhcp/distinfo b/net-mgmt/wide-dhcp/distinfo deleted file mode 100644 index aed0c91049b9..000000000000 --- a/net-mgmt/wide-dhcp/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (dhcp-1.4.0p6.tar.gz) = 2344ea3a93ea5b6c1dae6999c4904c37 diff --git a/net-mgmt/wide-dhcp/files/patch-aa b/net-mgmt/wide-dhcp/files/patch-aa deleted file mode 100644 index d76aca16f6d9..000000000000 --- a/net-mgmt/wide-dhcp/files/patch-aa +++ /dev/null @@ -1,22 +0,0 @@ ---- client/Makefile.FreeBSD.orig Fri Jan 1 06:21:32 1999 -+++ client/Makefile.FreeBSD Sun Feb 7 10:38:40 1999 -@@ -2,16 +2,16 @@ - OBJ = dhcpc_subr.o flushroute.o getmac.o common_subr.o dhcpc.o - - CC = cc --CFLAGS = -O2 -I. -I../server -DRETRY_FOREVER #-DMOBILE_IP -DDEBUG -+CFLAGS += -O2 -I. -I../server -DRETRY_FOREVER #-DMOBILE_IP -DDEBUG - LDFLAGS = - --PREFIX = /usr/local -+#PREFIX = /usr/local - SBIN = $(PREFIX)/sbin - LIBEXEC = $(PREFIX)/libexec - MAN = $(PREFIX)/man - CP = /bin/cp - RM = /bin/rm --GZIP = /usr/bin/gzip -+GZIP = /usr/bin/touch # don't `gzip' anything for FreeBSD - - dhcpc: ${OBJ} - ${CC} ${CFLAGS} -o dhcpc ${OBJ} ${LDFLAGS} diff --git a/net-mgmt/wide-dhcp/files/patch-ac b/net-mgmt/wide-dhcp/files/patch-ac deleted file mode 100644 index 36fcc36aa7d7..000000000000 --- a/net-mgmt/wide-dhcp/files/patch-ac +++ /dev/null @@ -1,53 +0,0 @@ ---- client/dhcpc_subr.c.orig Fri Jan 1 06:21:08 1999 -+++ client/dhcpc_subr.c Sun Feb 7 10:46:25 1999 -@@ -170,6 +170,8 @@ - - int config_if(); - void set_route(); -+void set_resolv(); -+void set_hostname(); - void make_decline(); - void make_release(); - Long generate_xid(); -@@ -3221,4 +3223,41 @@ - - buf += OPTLEN(buf) + 1; - return(0); -+} -+ -+void -+set_resolv(param) -+struct dhcp_param *param; -+{ -+ FILE *fp; -+ int i; -+ -+ /* -+ * set resolv.conf -+ */ -+ if (param && param->dns_server != NULL) { -+ if (param->dns_server->num && param->dns_server->addr != NULL) { -+ unlink(_PATH_RESCONF); -+ if ((fp = fopen(_PATH_RESCONF, "w")) == NULL) { -+ return; -+ } -+ if (param->dns_domain != NULL) -+ fprintf(fp, "domain %s\n", param->dns_domain); -+ if (param->dns_server->addr) -+ for (i = 0; i < param->dns_server->num; i++) { -+ fprintf(fp,"nameserver %s\n",inet_ntoa(param->dns_server->addr[i])); -+ } -+ fclose(fp); -+ } -+ } -+} -+ -+void -+set_hostname(param) -+struct dhcp_param *param; -+{ -+ if (param && param->hostname != NULL) { -+ sethostname(param->hostname,strlen(param->hostname)); -+ } -+ return; - } diff --git a/net-mgmt/wide-dhcp/files/patch-ae b/net-mgmt/wide-dhcp/files/patch-ae deleted file mode 100644 index 2b565f37a4e9..000000000000 --- a/net-mgmt/wide-dhcp/files/patch-ae +++ /dev/null @@ -1,18 +0,0 @@ ---- server/Makefile.FreeBSD.orig Tue Jan 26 02:13:13 1999 -+++ server/Makefile.FreeBSD Sun Feb 7 10:54:41 1999 -@@ -5,13 +5,13 @@ - CFLAGS = -O2 -I. #-DMAC_FILTER #-DCOMPAT_RFC1541 #-DNOICMPCHK - LDFLAGS = - --PREFIX = /usr/local -+#PREFIX = /usr/local - SBIN = ${PREFIX}/sbin - LIBEXEC = ${PREFIX}/libexec - MAN = ${PREFIX}/man - CP = /bin/cp - RM = /bin/rm --GZIP = /usr/bin/gzip -+GZIP = /usr/bin/touch # don't `gzip' anything for FreeBSD - - dhcps: ${OBJ} - ${CC} ${CFLAGS} -o dhcps ${OBJ} ${LDFLAGS} diff --git a/net-mgmt/wide-dhcp/files/patch-ag b/net-mgmt/wide-dhcp/files/patch-ag deleted file mode 100644 index 403705393395..000000000000 --- a/net-mgmt/wide-dhcp/files/patch-ag +++ /dev/null @@ -1,18 +0,0 @@ ---- relay/Makefile.FreeBSD.orig Fri Jan 1 02:25:43 1999 -+++ relay/Makefile.FreeBSD Sun Feb 7 10:56:47 1999 -@@ -4,13 +4,13 @@ - CFLAGS = -O2 -I. -I../server - LDFLAGS = - --PREFIX = /usr/local -+#PREFIX = /usr/local - SBIN = ${PREFIX}/sbin - LIBEXEC = ${PREFIX}/libexec - MAN = ${PREFIX}/man - CP = /bin/cp - RM = /bin/rm --GZIP = /usr/bin/gzip -+GZIP = /usr/bin/touch # don't `gzip' anything for FreeBSD - - relay: ${OBJ} - ${CC} ${CFLAGS} -o relay ${OBJ} ${LDFLAGS} diff --git a/net-mgmt/wide-dhcp/files/patch-aq b/net-mgmt/wide-dhcp/files/patch-aq deleted file mode 100644 index c2b9b0000741..000000000000 --- a/net-mgmt/wide-dhcp/files/patch-aq +++ /dev/null @@ -1,19 +0,0 @@ ---- tools/Makefile.FreeBSD.orig Fri Jan 1 02:31:45 1999 -+++ tools/Makefile.FreeBSD Sun Feb 7 11:00:20 1999 -@@ -1,14 +1,14 @@ - CC = cc - CFLAGS = -O2 -I. -I../server - --PREFIX = /usr/local -+#PREFIX = /usr/local - SBIN = ${PREFIX}/sbin - LIBEXEC = ${PREFIX}/libexec - MAN = ${PREFIX}/man - - CP = /bin/cp - RM = /bin/rm --GZIP = /usr/bin/gzip -+GZIP = /usr/bin/touch # don't `gzip' anything for FreeBSD - - dhcpm: dhcpm.c ../server/dhcp.h - $(CC) $(CFLAGS) dhcpm.c -o dhcpm diff --git a/net-mgmt/wide-dhcp/files/patch-as b/net-mgmt/wide-dhcp/files/patch-as deleted file mode 100644 index a977a72eb2ba..000000000000 --- a/net-mgmt/wide-dhcp/files/patch-as +++ /dev/null @@ -1,319 +0,0 @@ ---- client/dhcpc.c.orig Fri Jan 1 05:20:08 1999 -+++ client/dhcpc.c Thu Jan 20 13:21:05 2000 -@@ -88,6 +88,7 @@ - struct dhcp_reqspec reqspec; - struct if_info intface; - struct dhcp_param *param_list; -+int f_resolv, f_hostname; - char pid_filename[MAXPATHLEN]; - char cache_filename[MAXPATHLEN]; - -@@ -256,6 +257,14 @@ - if (config_if(&intface, &addr, &mask, &brdaddr) == 0) { - set_route(paramp); - } -+#ifdef __FreeBSD__ -+ if (f_resolv) { -+ set_resolv(param_list); -+ } -+ if (f_hostname) { -+ set_hostname(param_list); -+ } -+#endif - #endif - - return; -@@ -293,7 +302,7 @@ - /* - * split conditions into pieces for debugging - */ --#ifndef sun -+#if !defined(sun) && !defined(__FreeBSD__) - if (ntohs(rcv.ip->ip_len) < MINDHCPLEN + UDPHL + IPHL) - return(0); - if (ntohs(rcv.udp->uh_ulen) < MINDHCPLEN + UDPHL) -@@ -350,7 +359,7 @@ - /* - * split conditions into pieces for debugging - */ --#ifndef sun -+#if !defined(sun) && !defined(__FreeBSD__) - if (ntohs(rcv.ip->ip_len) < MINDHCPLEN + UDPHL + IPHL) - return(0); - if (ntohs(rcv.udp->uh_ulen) < MINDHCPLEN + UDPHL) -@@ -398,11 +407,14 @@ - - bzero(&tmp_reqspec, sizeof(tmp_reqspec)); - bzero(errmsg, sizeof(errmsg)); -- bzero(&newsigmask, sizeof(newsigmask)); -- bzero(&oldsigmask, sizeof(oldsigmask)); - -- newsigmask = sigmask(SIGUSR1) | sigmask(SIGALRM); -- oldsigmask = sigblock(newsigmask); /* begin critical */ -+ sigemptyset(&newsigmask); -+ -+ sigprocmask(0, NULL, &oldsigmask); -+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t)); -+ sigaddset(&newsigmask, SIGUSR1); -+ sigaddset(&newsigmask, SIGALRM); -+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); - - switch (curr_state) { - case BOUND: -@@ -423,7 +435,7 @@ - default: - break; - } -- sigsetmask(oldsigmask); /* end critical */ -+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */ - - unlink(pid_filename); - -@@ -1157,8 +1169,8 @@ - struct dhcp_param tmpparam; - - bzero(errmsg, sizeof(errmsg)); -- bzero(&newsigmask, sizeof(newsigmask)); -- bzero(&oldsigmask, sizeof(oldsigmask)); -+ sigemptyset(&newsigmask); -+ sigemptyset(&oldsigmask); - bzero(&tmpparam, sizeof(tmpparam)); - - if (prev_state != RENEWING) { -@@ -1247,12 +1259,15 @@ - errmsg); - } - -- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2); -- oldsigmask = sigblock(newsigmask); /* begin critical */ -+ sigprocmask(0, NULL, &oldsigmask); /* begin critical */ -+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t)); -+ sigaddset(&newsigmask, SIGUSR1); -+ sigaddset(&newsigmask, SIGUSR2); -+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); - clean_param(param_list); - free(param_list); - param_list = NULL; -- sigsetmask(oldsigmask); /* end critical */ -+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */ - - return(INIT); /* Next state is INIT */ - } -@@ -1260,13 +1275,16 @@ - dhcp_msgtoparam(rcv.dhcp, DHCPLEN(rcv.udp), - &tmpparam) == OK) { - -- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2); -- oldsigmask = sigblock(newsigmask); /* begin critical */ -+ sigprocmask(0, NULL, &oldsigmask); -+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t)); -+ sigaddset(&newsigmask, SIGUSR1); -+ sigaddset(&newsigmask, SIGUSR2); -+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */ - merge_param(param_list, &tmpparam); - *param_list = tmpparam; - param_list->lease_origin = send_epoch; - param_list->next = NULL; -- sigsetmask(oldsigmask); /* end critical */ -+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */ - - syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %d secs)", - inet_ntoa(param_list->yiaddr), param_list->lease_duration); -@@ -1316,8 +1334,8 @@ - struct dhcp_param tmpparam; - - bzero(errmsg, sizeof(errmsg)); -- bzero(&newsigmask, sizeof(newsigmask)); -- bzero(&oldsigmask, sizeof(oldsigmask)); -+ sigemptyset(&newsigmask); -+ sigemptyset(&oldsigmask); - bzero(&tmpparam, sizeof(tmpparam)); - - if (time(&curr_epoch) == -1) { -@@ -1386,12 +1404,15 @@ - errmsg); - } - -- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2); -- oldsigmask = sigblock(newsigmask); /* begin critical */ -+ sigprocmask(0, NULL, &oldsigmask); -+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t)); -+ sigaddset(&newsigmask, SIGUSR1); -+ sigaddset(&newsigmask, SIGUSR2); -+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */ - clean_param(param_list); - free(param_list); - param_list = NULL; -- sigsetmask(oldsigmask); /* end critical */ -+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */ - - return(INIT); /* Next state is INIT */ - } -@@ -1399,13 +1420,16 @@ - dhcp_msgtoparam(rcv.dhcp, DHCPLEN(rcv.udp), - &tmpparam) == OK) { - -- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2); -- oldsigmask = sigblock(newsigmask); /* begin critical */ -+ sigprocmask(0, NULL, &oldsigmask); -+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t)); -+ sigaddset(&newsigmask, SIGUSR1); -+ sigaddset(&newsigmask, SIGUSR2); -+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */ - merge_param(param_list, &tmpparam); - *param_list = tmpparam; - param_list->lease_origin = send_epoch; - param_list->next = NULL; -- sigsetmask(oldsigmask); /* end critical */ -+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */ - - syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %d secs)", - inet_ntoa(param_list->yiaddr), param_list->lease_duration); -@@ -1577,8 +1601,8 @@ - struct dhcp_reqspec tmp_reqspec; - - bzero(errmsg, sizeof(errmsg)); -- bzero(&newsigmask, sizeof(newsigmask)); -- bzero(&oldsigmask, sizeof(oldsigmask)); -+ sigemptyset(&newsigmask); -+ sigemptyset(&oldsigmask); - bzero(&tmpparam, sizeof(tmpparam)); - bzero(&tmp_reqspec, sizeof(tmp_reqspec)); - -@@ -1666,12 +1690,15 @@ - errmsg); - } - -- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2); -- oldsigmask = sigblock(newsigmask); /* begin critical */ -+ sigprocmask(0, NULL, &oldsigmask); -+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t)); -+ sigaddset(&newsigmask, SIGUSR1); -+ sigaddset(&newsigmask, SIGUSR2); -+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */ - clean_param(param_list); - free(param_list); - param_list = NULL; -- sigsetmask(oldsigmask); /* end critical */ -+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */ - - return(INIT); /* Next state is INIT */ - } -@@ -1679,13 +1706,16 @@ - dhcp_msgtoparam(rcv.dhcp, DHCPLEN(rcv.udp), - &tmpparam) == OK) { - if ((arpans = arp_check(&tmpparam.yiaddr, &arpif)) == OK) { -- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2); -- oldsigmask = sigblock(newsigmask); /* begin critical */ -+ sigprocmask(0, NULL, &oldsigmask); -+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t)); -+ sigaddset(&newsigmask, SIGUSR1); -+ sigaddset(&newsigmask, SIGUSR2); -+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */ - merge_param(param_list, &tmpparam); - *param_list = tmpparam; - param_list->lease_origin = init_epoch; - param_list->next = NULL; -- sigsetmask(oldsigmask); /* end critical */ -+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */ - - syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %d secs)", - inet_ntoa(param_list->yiaddr), param_list->lease_duration); -@@ -1697,12 +1727,15 @@ - set_declinfo(&tmp_reqspec, param_list, errmsg, arpans); - dhcp_decline(&tmp_reqspec); - -- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2); -- oldsigmask = sigblock(newsigmask); /* begin critical */ -+ sigprocmask(0, NULL, &oldsigmask); -+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t)); -+ sigaddset(&newsigmask, SIGUSR1); -+ sigaddset(&newsigmask, SIGUSR2); -+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */ - clean_param(param_list); - free(param_list); - param_list = NULL; -- sigsetmask(oldsigmask); /* end critical */ -+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */ - - syslog(LOG_NOTICE, - "Got non-preferable DHCPACK, so go into INIT state"); -@@ -1789,7 +1822,11 @@ - void - usage() - { -- fprintf(stderr, "Usage: dhcpc [-d] if_name\n"); -+#ifdef __FreeBSD__ -+ fprintf(stderr, "Usage: dhcpc [-v] [-drn] if_name\n"); -+#else -+ fprintf(stderr, "Usage: dhcpc [-v] [-d] if_name\n"); -+#endif - exit(1); - } - -@@ -1809,26 +1846,39 @@ - { - int debug = 0; - int n = 0; -+ int count; - struct if_info ifinfo; - - bzero(&reqspec, sizeof(reqspec)); - bzero(&ifinfo, sizeof(ifinfo)); - -- while (*++argv && argv[0][0] == '-') { -- switch (argv[0][1]) { -- case 'v': -- version(); -- break; -- case 'd': -- debug = 1; -- break; -- default: -- usage(); -- break; -- } -- } -- if (argv[0] == NULL) usage(); -+#ifdef __FreeBSD__ -+#define COM_OPTS "vdrn" -+#else -+#define COM_OPTS "vd" -+#endif - -+ while ((count = getopt(argc, argv, COM_OPTS)) != EOF) { -+ switch (count) { -+ case 'v': -+ version(); -+ case 'd': -+ debug = 1; -+ break; -+#ifdef __FreeBSD__ -+ case 'r': -+ f_resolv = 1; -+ break; -+ case 'n': -+ f_hostname = 1; -+ break; -+#endif -+ } -+ } -+ argc -= optind; -+ argv += optind; -+ -+ if (argc < 1) usage(); - strcpy(ifinfo.name, argv[0]); - - /* -@@ -1859,6 +1909,11 @@ - reqspec.reqlist.list[reqspec.reqlist.len++] = SUBNET_MASK; - reqspec.reqlist.list[reqspec.reqlist.len++] = ROUTER; - reqspec.reqlist.list[reqspec.reqlist.len++] = BRDCAST_ADDR; -+#ifdef __FreeBSD__ -+ reqspec.reqlist.list[reqspec.reqlist.len++] = DNS_DOMAIN; -+ reqspec.reqlist.list[reqspec.reqlist.len++] = DNS_SERVER; -+ reqspec.reqlist.list[reqspec.reqlist.len++] = HOSTNAME; -+#endif - - n = dhcp_client(&ifinfo); - unlink(pid_filename); diff --git a/net-mgmt/wide-dhcp/files/patch-aw b/net-mgmt/wide-dhcp/files/patch-aw deleted file mode 100644 index 23a9473fa546..000000000000 --- a/net-mgmt/wide-dhcp/files/patch-aw +++ /dev/null @@ -1,20 +0,0 @@ ---- db_sample.bak/dhcpdb.pool Thu Jul 21 19:39:46 1994 -+++ db_sample/dhcpdb.pool Sun Mar 23 00:07:21 1997 -@@ -2,12 +2,14 @@ - global:!snmk=255.255.255.224:tmof=32400: - - # define different master entries for each subnet. . . -+# `dnsv' is IP address of DNS server. -+# `dnsd' is domain name of your domain. - subnet30:tblc=global:rout=133.4.30.1:dht1=500:dht2=850:\ -- :brda=133.4.30.31: -+ :brda=133.4.30.31:dnsv=133.4.30.10:dnsd=you.domain.name: - - # entries for manual allocation (DHCP, BOOTP) --3001: :ipad=133.4.30.1:tblc=subnet30:clid="1:0x0080c75fdc03": --3002: :ipad=133.4.30.2:tblc=subnet30:clid="1:0x08004600e5d5": -+3001: :ipad=133.4.30.1:hstn="yourclient1.host.name":tblc=subnet30:clid="1:0x0080c75fdc03": -+3002: :ipad=133.4.30.2:hstn="yourclient2.host.name":tblc=subnet30:clid="1:0x08004600e5d5": - - # entries for dynamic allocation (DHCP) - 3003: :ipad=133.4.30.3:dfll=3600:maxl=7200:tblc=subnet30: diff --git a/net-mgmt/wide-dhcp/files/patch-az b/net-mgmt/wide-dhcp/files/patch-az deleted file mode 100644 index ab04b6ed492f..000000000000 --- a/net-mgmt/wide-dhcp/files/patch-az +++ /dev/null @@ -1,53 +0,0 @@ ---- client/dhcpc.8.orig Sat Jan 9 20:54:01 1999 -+++ client/dhcpc.8 Sun Feb 7 11:27:29 1999 -@@ -5,7 +5,7 @@ - .SH SYNOPSIS - .B dhcpc - [ --.B \-d -+.B \-drn - ] - .I interface - .SH DESCRIPTION -@@ -26,7 +26,7 @@ - requests server to assign the same address as before. - To get the same address, - .B dhcpc --creates file named /etc/dhcpc_cache.interface -+creates file named /var/db/dhcpc_cache.interface - (or /var/db/dhcpc_cache.interface for BSD/OS and FreeBSD). This - file name could be configured when it is compiled. But it is required - that the file must remains after the host reboot. For example, the -@@ -38,6 +38,21 @@ - .B dhcpc - runs in foreground and debugging mode. - .LP -+If the -+.B \-r -+option is specified, and if your DHCP server supplies the DNS address, -+.B dhcpc -+overwrites "/etc/resolv.conf" with supplied address. -+.LP -+If the -+.B \-n -+option is specified, and if your DHCP server supplies the hostname of -+the client, -+.B dhcpc -+call -+.B sethostname(3) -+with supplied name. -+.LP - The DHCP client can verify whether its assigned information is still - valid at any time. - .B dhcpc -@@ -70,6 +85,10 @@ - .TP - .B /etc/dhcpc_cache.interface - The file to record previously assigned informations (for others) -+.TP -+.B /var/run/dhcpc.[interface name].pid -+File which includes process ID -+.PD - .PD - .SH SEE ALSO - R. Droms, diff --git a/net-mgmt/wide-dhcp/files/patch-ba b/net-mgmt/wide-dhcp/files/patch-ba deleted file mode 100644 index c98ed7d460fe..000000000000 --- a/net-mgmt/wide-dhcp/files/patch-ba +++ /dev/null @@ -1,11 +0,0 @@ ---- server/dhcps.8.orig Fri Jan 1 05:28:25 1999 -+++ server/dhcps.8 Sun Feb 7 11:30:56 1999 -@@ -37,7 +37,7 @@ - .B dhcps - manages these with files, /etc/dhcpdb.pool and /etc/dhcpdb.bind - (/var/db/dhcpdb.bind for BSD/OS and FreeBSD). It is possible to change --these path with command line option. -+this path with command line options. - .LP - Also - .B dhcps diff --git a/net-mgmt/wide-dhcp/files/wide-dhcps.sh.sample b/net-mgmt/wide-dhcp/files/wide-dhcps.sh.sample deleted file mode 100644 index 6cab4e824a0f..000000000000 --- a/net-mgmt/wide-dhcp/files/wide-dhcps.sh.sample +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -DB_POOL=/etc/dhcpdb.pool -DB_RELAY=/etc/dhcpdb.relay -DB_BIND=/var/db/dhcpdb.bind - -case "$1" in -start) - if [ -f ${DB_POOL} -a -f ${DB_RELAY} -a -x ${PREFIX}/sbin/dhcps ]; then - if [ -f ${DB_BIND} ]; then - find ${DB_POOL} -newer ${DB_BIND} -exec rm ${DB_BIND} \; - fi - ${PREFIX}/sbin/dhcps [Interface Name] - echo -n ' dhcps' - fi - ;; -stop) - killall dhcps && echo -n ' dhcps' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 diff --git a/net-mgmt/wide-dhcp/pkg-comment b/net-mgmt/wide-dhcp/pkg-comment deleted file mode 100644 index 3108e3092de9..000000000000 --- a/net-mgmt/wide-dhcp/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Dynamic Host Configuration Protocol, WIDE-Implimentation diff --git a/net-mgmt/wide-dhcp/pkg-descr b/net-mgmt/wide-dhcp/pkg-descr deleted file mode 100644 index 816bd08fa7f3..000000000000 --- a/net-mgmt/wide-dhcp/pkg-descr +++ /dev/null @@ -1,66 +0,0 @@ - << DHCP WIDE-Implementation, version 1.3.6 >> - - April, 1997. - - This package is a distribution kit of DHCP WIDE-Implementation - version 1.3.6. DHCP (Dynamic Host Configuration Protocol) is a - protocol which provides informations to computer when it boots. - This release includes DHCP server, relay agent, and client. - - -<License> - - See "Copyright" included in this directory. - - Also, portions of this software may fall under the copyrights which - are included the end of this file. These are included corresponded - source code files. - - -<Package> - - You can get the latest version from; - ftp://sh.wide.ad.jp/WIDE/free-ware/dhcp/ - ------------------------------- - -** Attention for this ports file ** - - To use DHCP, your kernel must be rebuilt with the following - line added to your kernel config file (/sys/i386/conf/<YourMachine>): - -pseudo-device bpfilter 4 #Berkeley packet filter - - and make bpf devices in your /dev directory: /dev/bpf[1-3]. - -cd /dev -./MAKEDEV bpf1 -./MAKEDEV bpf2 -./MAKEDEV bpf3 - -** dhcpdb.relay file is need without relay agent ** - - Please read more information in - /usr/local/share/doc/dhcp/intro.dhcp or intro.dhcp.jis. - -** additional function ** - - DHCP client(dhcpc) in this port is supported "dynamic change - /etc/resolv.conf and hostname via DHCP infomation". - - o `-r' is recreate /etc/resolv.conf - (resolv.conf file is overwritten.) - o `-n' is reset HOSTNAME - -** Acknowledgements to this ports file ** - Special thanks to: - Hirotaka TAKETA<taketa@csk.co.jp> - Hajimu UMEMOTO<ume@calm.imasy.or.jp> - Tamotsu KANOH<kanoh@kanoh.iijnet.or.jp> - Junichi SATOH<junichi@astec.co.jp> - Hisashi HIRAMOTO<hiramoto@phys.chs.nihon-u.ac.jp> - Takeshi TAGUCHI<taguchi@tohoku.iij.ad.jp> - Keisuke INOUE<keisuke@aa.cs.keio.ac.jp> - -- Yoshiro MIHIRA -(sanpei@yy.cs.keio.ac.jp) diff --git a/net-mgmt/wide-dhcp/pkg-plist b/net-mgmt/wide-dhcp/pkg-plist deleted file mode 100644 index 45e94f3984a7..000000000000 --- a/net-mgmt/wide-dhcp/pkg-plist +++ /dev/null @@ -1,20 +0,0 @@ -@comment $FreeBSD$ -sbin/dhcpc -sbin/dhcpm -sbin/relay -sbin/dhcps -share/doc/dhcp/README -share/doc/dhcp/README.jis -share/doc/dhcp/intro.dhcp -share/doc/dhcp/intro.dhcp.jis -share/examples/dhcp/dhcpdb.pool.sample -share/examples/dhcp/dhcpdb.relay.sample -share/examples/dhcp/dhcpdb.server.sample -etc/rc.d/wide-dhcps.sh.sample -@exec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^dhcps /etc/services.bak ; echo "dhcps 67/udp # dhcp server") > /etc/services -@unexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^dhcps /etc/services.bak ) > /etc/services -@exec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^dhcpc /etc/services.bak ; echo "dhcpc 68/udp # dhcp client") > /etc/services -@unexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^dhcpc /etc/services.bak ) > /etc/services -@unexec rm -f /var/db/dhcp_cache -@dirrm share/doc/dhcp -@dirrm share/examples/dhcp diff --git a/net-mgmt/wide-dhcp/pkg-req b/net-mgmt/wide-dhcp/pkg-req deleted file mode 100644 index f4b0f7421d4f..000000000000 --- a/net-mgmt/wide-dhcp/pkg-req +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -if [ "$2" != "INSTALL" ]; then - exit 0 -fi -if [ ! -c /dev/bpf1 ]; then \ - echo "**********************************************************";\ - echo "* W a r n i n g *";\ - echo "* This DHCP program need Berkeley packet filter(bpf). *";\ - echo "* To use DHCP, your kernel must be rebuilt with bpf, and *";\ - echo "* make bpf devices on /dev directory. *";\ - echo "* Please read some info file with \`pkg_info dhcp-1.3b'. *";\ - echo "**********************************************************";\ -fi |