diff options
Diffstat (limited to 'net')
100 files changed, 0 insertions, 2508 deletions
diff --git a/net/Makefile b/net/Makefile index d3c9c3db3aa2..d79b1b08ec74 100644 --- a/net/Makefile +++ b/net/Makefile @@ -58,10 +58,8 @@ SUBDIR += bird SUBDIR += bird2 SUBDIR += bittwist - SUBDIR += bluemix-cli SUBDIR += bmon SUBDIR += bnxt-kmod - SUBDIR += boclient SUBDIR += boinc-client SUBDIR += boinc_curses SUBDIR += boringtun @@ -99,7 +97,6 @@ SUBDIR += cppzmq SUBDIR += cryptcat SUBDIR += csocks - SUBDIR += csync2 SUBDIR += ctrace SUBDIR += cvsup-static SUBDIR += cvsync @@ -125,7 +122,6 @@ SUBDIR += dhcping SUBDIR += dhcprelya SUBDIR += dictd - SUBDIR += dictd-database SUBDIR += dimes SUBDIR += dpdk SUBDIR += dpinger @@ -220,7 +216,6 @@ SUBDIR += gstreamer-plugins-libmms SUBDIR += gstreamer1-plugins-libmms SUBDIR += gstreamer1-plugins-srtp - SUBDIR += gtic SUBDIR += gtk-vnc SUBDIR += gtknetcat SUBDIR += guacamole-server @@ -239,7 +234,6 @@ SUBDIR += haproxy18 SUBDIR += haproxy19 SUBDIR += hexinject - SUBDIR += hidentd SUBDIR += hinfo SUBDIR += hlmaster SUBDIR += honeyd @@ -335,7 +329,6 @@ SUBDIR += lambdamoo SUBDIR += latd SUBDIR += ldap-stats - SUBDIR += ldap2dns SUBDIR += ldapbrowser SUBDIR += ldapdiff SUBDIR += ldapscripts @@ -371,7 +364,6 @@ SUBDIR += libmdf SUBDIR += libmediawiki SUBDIR += libmms - SUBDIR += libmxp SUBDIR += libnatpmp SUBDIR += libnet SUBDIR += libnfs @@ -395,7 +387,6 @@ SUBDIR += libproxy-python SUBDIR += libproxy-webkit3 SUBDIR += librdkafka - SUBDIR += librouteros SUBDIR += librsync2 SUBDIR += libsignal SUBDIR += libsocket++ @@ -497,7 +488,6 @@ SUBDIR += netsed SUBDIR += netselect SUBDIR += netstrain - SUBDIR += nettest SUBDIR += netwib SUBDIR += nfs-ganesha SUBDIR += nfs-ganesha-kmod @@ -1066,7 +1056,6 @@ SUBDIR += py-netifaces SUBDIR += py-netlib SUBDIR += py-netsnmpagent - SUBDIR += py-netstring SUBDIR += py-nnpy SUBDIR += py-ntplib SUBDIR += py-oauth @@ -1166,7 +1155,6 @@ SUBDIR += raddump SUBDIR += radiator SUBDIR += radiusclient - SUBDIR += radiusd-cistron SUBDIR += radreport SUBDIR += radsecproxy SUBDIR += radvd @@ -1206,7 +1194,6 @@ SUBDIR += rtg SUBDIR += rtpbreak SUBDIR += rtpproxy - SUBDIR += rtptools SUBDIR += rubygem-activestorage52 SUBDIR += rubygem-amazon-ec2 SUBDIR += rubygem-amq-protocol @@ -1386,7 +1373,6 @@ SUBDIR += skstream SUBDIR += sl2tps SUBDIR += slurm - SUBDIR += smbldap-tools SUBDIR += smcroute SUBDIR += smm++ SUBDIR += sngrep @@ -1447,7 +1433,6 @@ SUBDIR += tcpsplit SUBDIR += tcpstat SUBDIR += tcptestsuite - SUBDIR += tcptrace SUBDIR += tcptraceroute SUBDIR += tcpview SUBDIR += tcpwatch @@ -1517,7 +1502,6 @@ SUBDIR += vortex SUBDIR += vtun SUBDIR += wackamole - SUBDIR += wackford-squeers SUBDIR += wakeonlan SUBDIR += waypipe SUBDIR += whois @@ -1530,7 +1514,6 @@ SUBDIR += wlan2eth SUBDIR += wmnd SUBDIR += wmnet - SUBDIR += wmnet2 SUBDIR += wmnetload SUBDIR += wmnetmon SUBDIR += wmpiki diff --git a/net/bluemix-cli/Makefile b/net/bluemix-cli/Makefile deleted file mode 100644 index 83c89982add5..000000000000 --- a/net/bluemix-cli/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# $FreeBSD$ - -PORTNAME= bluemix-cli -PORTVERSION= 0.4.6 -CATEGORIES= net -MASTER_SITES= http://public.dhe.ibm.com/cloud/${PORTNAME:C/-.*//}/cli/${PORTNAME}/ -DISTNAME= Bluemix_CLI_${PORTVERSION}_386 - -MAINTAINER= ports@FreeBSD.org -COMMENT= Bluemix command line interface - -LICENSE= BLUEMIX -LICENSE_NAME= IBM Bluemix Service Description -LICENSE_FILE= ${WRKSRC}/bin/LICENSE -LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -RUN_DEPENDS= cf:net/cf - -USES= linux -NO_BUILD= yes -NO_ARCH= yes -STRIP= # empty - -WRKSRC= ${WRKDIR}/Bluemix_CLI - -PLIST_FILES= bin/bluemix bin/bluemix-analytics bin/bx \ - etc/bash_completion.d/bluemix.sh - -pre-install: - ${BRANDELF} -t Linux ${WRKSRC}/bin/bluemix* - -do-install: - cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} bluemix bluemix-analytics \ - ${STAGEDIR}${PREFIX}/bin - ${LN} -s bluemix ${STAGEDIR}${PREFIX}/bin/bx - @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d - ${INSTALL_DATA} ${WRKSRC}/bx/bash_autocomplete ${STAGEDIR}${PREFIX}/etc/bash_completion.d/bluemix.sh - -.include <bsd.port.mk> diff --git a/net/bluemix-cli/distinfo b/net/bluemix-cli/distinfo deleted file mode 100644 index 21883671db04..000000000000 --- a/net/bluemix-cli/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1484996748 -SHA256 (Bluemix_CLI_0.4.6_386.tar.gz) = a33ea0d6ca9c9aa287f35f1dcf452596b0a3c5aa29ba5a8fec507f548ddf82ec -SIZE (Bluemix_CLI_0.4.6_386.tar.gz) = 5051330 diff --git a/net/bluemix-cli/pkg-descr b/net/bluemix-cli/pkg-descr deleted file mode 100644 index 161c71349033..000000000000 --- a/net/bluemix-cli/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Bluemix CLI provides a unified way for you to interact with your -applications, virtual servers, containers, and other components in -Bluemix through a command line interface. It also leverages command -line tools from Cloud Foundry, Docker, and the OpenStack community -when you interact with specific compute types. Bluemix CLI helps you -handle the environment settings when these community tools are used. - -WWW: http://clis.ng.bluemix.net diff --git a/net/bluemix-cli/pkg-message b/net/bluemix-cli/pkg-message deleted file mode 100644 index 60a6cbbd8017..000000000000 --- a/net/bluemix-cli/pkg-message +++ /dev/null @@ -1,14 +0,0 @@ -[ -{ type: install - message: <<EOM -With IBM Bluemix CLI 0.4.0 or later, the CLI can automatically collect -diagnostic and usage information and send it to Bluemix for analysis. -This information will help us better understand current client usage -and plan for future use. No personally identifiable data is collected. - -To stop collecting information, you can run the following command: - -$ bluemix config --usage-stats-collect false -EOM -} -] diff --git a/net/boclient/Makefile b/net/boclient/Makefile deleted file mode 100644 index 8c7e4995cab0..000000000000 --- a/net/boclient/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# Created by: darius@dons.net.au -# $FreeBSD$ - -PORTNAME= boclient -PORTVERSION= 1.21 -CATEGORIES= net security -MASTER_SITES= http://www.cultdeadcow.com/tools/ -DISTNAME= bo121unix - -MAINTAINER= ports@FreeBSD.org -COMMENT= Client program for the Back Orifice Windows program - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -PLIST_FILES= bin/bounix -WRKSRC= ${WRKDIR}/bo -GNU_CONFIGURE= yes - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bounix - -.include <bsd.port.mk> diff --git a/net/boclient/distinfo b/net/boclient/distinfo deleted file mode 100644 index 5f0bde4ab08a..000000000000 --- a/net/boclient/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (bo121unix.tar.gz) = bbedccf0b5b6d0f313fe5051044b1a6ea8113fdb5bc5bc36f7e623752d1d6481 -SIZE (bo121unix.tar.gz) = 27642 diff --git a/net/boclient/files/patch-Makefile.in b/net/boclient/files/patch-Makefile.in deleted file mode 100644 index 1c672425732f..000000000000 --- a/net/boclient/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig 2014-06-09 18:03:32.820418765 +0800 -+++ Makefile.in 2014-06-09 18:03:44.724423559 +0800 -@@ -6,7 +6,7 @@ all: bounix - clean: - rm *.o bounix - install: -- $(INSTALL) bounix /usr/local/bin/bounix -+ $(INSTALL) bounix $(DESTDIR)${PREFIX}/bin/bounix - distclean: - rm *.o bounix config.status config.cache config.log config.h Makefile - .o: diff --git a/net/boclient/pkg-descr b/net/boclient/pkg-descr deleted file mode 100644 index 90f6cfd5c094..000000000000 --- a/net/boclient/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -This is a Unix version of the client program for Back Orifice. This program -when installed on the victim machine hides itself. It can be used to remotely -administer a Windows 95/98 machine. - -WWW: http://www.cultdeadcow.com/tools/ diff --git a/net/csync2/Makefile b/net/csync2/Makefile deleted file mode 100644 index c58fd8f06b88..000000000000 --- a/net/csync2/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -# Created by: Aaron Dalton <aaron@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= csync2 -PORTVERSION= 2.0 -PORTREVISION= 2 -CATEGORIES= net -MASTER_SITES= http://oss.linbit.com/csync2/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Cluster synchronization tool - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -LIB_DEPENDS= librsync.so.2:net/librsync2 \ - libgnutls.so:security/gnutls \ - libsqlite3.so:databases/sqlite3 - -OPTIONS_DEFINE= CSYNC2_COMPARE DOCS -OPTIONS_SUB= yes -CSYNC2_COMPARE_DESC= Install csync2-compare script -CSYNC2_COMPARE_RUN_DEPENDS= bash:shells/bash - -USES= pkgconfig shebangfix -SHEBANG_FILES= csync2-compare - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= ac_cv_prog_PDFLATEX= -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib - -USE_RC_SUBR= csync2 - -SUB_FILES= pkg-install - -post-patch: - @${REINPLACE_CMD} -e 's|(localstatedir)/lib|(localstatedir)/db|' \ - -e 's/-ldl//' ${WRKSRC}/Makefile.in - -post-install: - ${MV} ${STAGEDIR}${PREFIX}/etc/csync2.cfg \ - ${STAGEDIR}${PREFIX}/etc/csync2.cfg.sample - ${MKDIR} ${STAGEDIR}/var/backups/csync2 - -.include <bsd.port.mk> diff --git a/net/csync2/distinfo b/net/csync2/distinfo deleted file mode 100644 index 9ddef1e7c94e..000000000000 --- a/net/csync2/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (csync2-2.0.tar.gz) = 11cb37380fb185bce0c22b804fec9b01c385d9d83cc528cfd48d748453834fa2 -SIZE (csync2-2.0.tar.gz) = 411013 diff --git a/net/csync2/files/csync2.in b/net/csync2/files/csync2.in deleted file mode 100644 index 85a100d1e94a..000000000000 --- a/net/csync2/files/csync2.in +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh -# -# PROVIDE: csync2 -# REQUIRE: LOGIN -# KEYWORD: shutdown - -# Add the following line to /etc/rc.conf to enable csync2: -# csync2_enable="YES" -# -# Optional configuration of csync2: -# csync2_cfg (str): Path to csync2 main configuration. -# Default is %%PREFIX%%/etc/csync2.cfg. -# csync2_flags (str): Extra flags passed to csync2 program. -# Default to "-ii -v". -# csync2_logfile (str): Path to logfile where daemon' output logged to. -# Default to "/var/log/csync2.log". - -. /etc/rc.subr - -name="csync2" -rcvar=csync2_enable - -pidfile=/var/run/${name}.pid -command=%%PREFIX%%/sbin/csync2 - -start_cmd="csync2_start" - -load_rc_config $name -: ${csync2_enable="NO"} -: ${csync2_flags="-ii -v"} -: ${csync2_cfg="%%PREFIX%%/etc/csync2.cfg"} -: ${csync2_logfile="/var/log/csync2.log"} - -required_files="${csync2_cfg}" - -csync2_check_keys() -{ - [ -f "${csync2_cfg}" ] || return 1 - - _key=`grep '^[[:blank:]]*key[[:space:]]\+.\+;\?$' ${csync2_cfg} |\ - awk '{print($2)}'` - [ -n "${_key}" ] || return 1 - - for _file in ${_key}; do - _file=${_file%;} - [ ! -f "${_file}" ] && \ - warn "PSK specified but not found, use csync2 -k ${_file} to create it." - done - - return 0 -} - -csync2_start() { - - if [ -z "$rc_fast" -a -n "$rc_pid" ]; then - echo 1>&2 "${name} already running? (pid=$rc_pid)." - return 1 - fi - - csync2_check_keys - - check_startmsgs && echo "Starting ${name}." - - /usr/sbin/daemon -p ${pidfile} \ - ${command} ${csync2_flags} >> ${csync2_logfile} 2>&1 -} - -run_rc_command "$1" diff --git a/net/csync2/files/patch-csync2.c b/net/csync2/files/patch-csync2.c deleted file mode 100644 index 82a700578f63..000000000000 --- a/net/csync2/files/patch-csync2.c +++ /dev/null @@ -1,21 +0,0 @@ ---- csync2.c.orig 2013-05-02 12:58:04 UTC -+++ csync2.c -@@ -256,7 +256,7 @@ static int csync_server_bind(void) - struct addrinfo hints; - struct addrinfo *result, *rp; - int save_errno; -- int sfd = -1, s, on = 1; -+ int sfd = -1, s, off = 0, on = 1; - memset(&hints, 0, sizeof(struct addrinfo)); - hints.ai_family = AF_UNSPEC; /* Allow IPv4 or IPv6 */ - hints.ai_socktype = SOCK_STREAM; -@@ -284,6 +284,9 @@ static int csync_server_bind(void) - goto error; - if (setsockopt(sfd, IPPROTO_TCP, TCP_NODELAY, &on, (socklen_t) sizeof(on)) < 0) - goto error; -+ if (rp->ai_family == AF_INET6) -+ if (setsockopt(sfd, IPPROTO_IPV6, IPV6_V6ONLY, &off, (socklen_t) sizeof(off)) < 0) -+ goto error; - - if (bind(sfd, rp->ai_addr, rp->ai_addrlen) == 0) - break; /* Success */ diff --git a/net/csync2/files/patch-csync2.h b/net/csync2/files/patch-csync2.h deleted file mode 100644 index c6d392192ac5..000000000000 --- a/net/csync2/files/patch-csync2.h +++ /dev/null @@ -1,11 +0,0 @@ ---- csync2.h.orig 2013-05-02 12:58:14 UTC -+++ csync2.h -@@ -80,7 +80,7 @@ extern int csync_perm(const char *filena - - extern void csync_printtime(); - extern void csync_printtotaltime(); --extern void csync_fatal(const char *fmt, ...); -+extern void csync_fatal(const char *fmt, ...) __dead2; - extern void csync_debug(int lv, const char *fmt, ...); - - #define csync_debug_ping(N) \ diff --git a/net/csync2/files/patch-rsync.c b/net/csync2/files/patch-rsync.c deleted file mode 100644 index c8f47627d5cb..000000000000 --- a/net/csync2/files/patch-rsync.c +++ /dev/null @@ -1,30 +0,0 @@ ---- rsync.c.orig 2015-03-09 14:08:51 UTC -+++ rsync.c -@@ -41,6 +41,7 @@ - - /* This has been taken from rsync:lib/compat.c */ - -+#if 0 - /** - * Like strncpy but does not 0 fill the buffer and always null - * terminates. -@@ -61,6 +62,7 @@ static size_t strlcpy(char *d, const cha - } - return ret; - } -+#endif - - /* splits filepath at the last '/', if any, like so: - * dirname basename filepath -@@ -117,7 +119,10 @@ int mkpath(const char *path, mode_t mode - return -1; - } - -- strlcpy(temp,path,strlen(path)); -+ if(strlcpy(temp,path,sizeof(temp))>=sizeof(temp)) { -+ csync_debug(1,"path too long: %s",path); -+ return -1; -+ } - csync_debug(1,"mkpath full path: %s",temp); - for( remaining=strchr(temp+1, '/'); remaining!=NULL; remaining=strchr(remaining+1, '/') ){ - *remaining='\0'; diff --git a/net/csync2/files/pkg-install.in b/net/csync2/files/pkg-install.in deleted file mode 100644 index 9401f90b79e0..000000000000 --- a/net/csync2/files/pkg-install.in +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh - -create_cert() { - - _errlog=`mktemp /tmp/.${0##*/}.XXXXX` - code=0 - - exec 3>&2 2>${_errlog} - - openssl genrsa -out ${PKG_PREFIX}/etc/csync2_ssl_key.pem 1024 || code=1 - yes '' | openssl req -new -key ${PKG_PREFIX}/etc/csync2_ssl_key.pem \ - -out /tmp/csync2_ssl_cert.csr || code=1 - openssl x509 -req -days 600 -in /tmp/csync2_ssl_cert.csr \ - -signkey ${PKG_PREFIX}/etc/csync2_ssl_key.pem \ - -out ${PKG_PREFIX}/etc/csync2_ssl_cert.pem || code=1 - - rm -f /tmp/csync2_ssl_cert.csr - - if [ ${code} -ne 0 ]; then - echo "csync2: OpenSSL error occurred:" - echo - cat ${_errlog} - echo - rm -f ${_errlog} - return 1 - fi - - exec 2>&3 - - rm -f ${_errlog} - - chmod 600 ${PKG_PREFIX}/etc/csync2_ssl_key.pem \ - ${PKG_PREFIX}/etc/csync2_ssl_cert.pem - - echo "csync2: RSA certificate-key pair installed." - - return 0 -} - -pre_install() { - return 0 -} - -post_install() { - - [ -n "${PACKAGE_BUILDING}" ] && return 0 - - if [ ! -f ${PKG_PREFIX}/etc/csync2_ssl_cert.pem ]; then - create_cert || return $? - fi - - return 0 -} - -[ $# -eq 2 ] || exit 0 - -case $2 in - "PRE-INSTALL") pre_install ;; - "POST-INSTALL") post_install ;; -esac diff --git a/net/csync2/pkg-descr b/net/csync2/pkg-descr deleted file mode 100644 index 45ced1051132..000000000000 --- a/net/csync2/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -Csync2 is a cluster synchronization tool. It can be used to keep files on -multiple hosts in a cluster in sync. Csync2 can handle complex setups with -much more than just 2 hosts, handle file deletions and can detect -conflicts. - -It is expedient for HA-clusters, HPC-clusters, COWs and server farms. If -you are looking for a tool to sync your laptop with your workstation, you -better have a look at Unison (http://www.cis.upenn.edu/~bcpierce/unison/) -too. - -WWW: http://oss.linbit.com/csync2/ diff --git a/net/csync2/pkg-plist b/net/csync2/pkg-plist deleted file mode 100644 index 17e61f7124ff..000000000000 --- a/net/csync2/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -@sample etc/csync2.cfg.sample -man/man1/csync2.1.gz -sbin/csync2 -%%CSYNC2_COMPARE%%sbin/csync2-compare -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/README -@dir(,,700) /var/db/csync2 -@dir(,,700) /var/backups/csync2 diff --git a/net/dictd-database/Makefile b/net/dictd-database/Makefile deleted file mode 100644 index af2d3baadc45..000000000000 --- a/net/dictd-database/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# Created by: clive -# $FreeBSD$ - -PORTNAME= dictd-database -PORTVERSION= 20031009 -# clive: Ok, I have no idea how to name this somewhat-meta-port -CATEGORIES= net textproc -MASTER_SITES= ftp://ftp.dict.org/dict/pre/ -DISTFILES= devils-dict-pre.tar.gz \ - dict-foldoc-20030927-pre.tar.gz \ - dict-gazetteer-1.2-pre.tar.gz \ - dict-gcide-0.44.tar.gz \ - dict-jargon_4.3.1.tgz \ - dict-misc-1.5b-pre.tar.gz \ - dict-vera-1.9-pre.tar.gz \ - dict-web1913-1.4-pre.tar.gz \ - dict-wn-2.0-pre.tar.gz \ - dict-world02-20030215.tar.gz \ - elements-20001107-pre.tar.gz - -MAINTAINER= ports@FreeBSD.org -COMMENT= Dictd words database - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -RUN_DEPENDS= ${LOCALBASE}/sbin/dictd:net/dictd - -NO_BUILD= yes -NO_WRKSUBDIR= yes - -do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/dict - @${INSTALL_DATA} ${WRKSRC}/*.index ${STAGEDIR}${PREFIX}/lib/dict - @${INSTALL_DATA} ${WRKSRC}/*.dict.dz ${STAGEDIR}${PREFIX}/lib/dict - @cd ${WRKSRC}/world02-2003-02-15/ && dictzip -k world02.dict - @${INSTALL_DATA} ${WRKSRC}/world02-2003-02-15/*.index ${STAGEDIR}${PREFIX}/lib/dict - @${INSTALL_DATA} ${WRKSRC}/world02-2003-02-15/*.dict.dz ${STAGEDIR}${PREFIX}/lib/dict - -.include <bsd.port.mk> diff --git a/net/dictd-database/distinfo b/net/dictd-database/distinfo deleted file mode 100644 index 820a7c3cd8be..000000000000 --- a/net/dictd-database/distinfo +++ /dev/null @@ -1,22 +0,0 @@ -SHA256 (devils-dict-pre.tar.gz) = e1a6189190282da4a0655a0a3181c3a611f08b0adc71346d57b189598f166410 -SIZE (devils-dict-pre.tar.gz) = 175823 -SHA256 (dict-foldoc-20030927-pre.tar.gz) = cdf9ef1a9e18235fd45cae59e45b5d3be4d953ce20c6e9e9406bc72b1f455a5e -SIZE (dict-foldoc-20030927-pre.tar.gz) = 2333857 -SHA256 (dict-gazetteer-1.2-pre.tar.gz) = d85d1a2f1bbfd109795c4679f2553b69d98efb328b31c735a278a42e2f06c5cb -SIZE (dict-gazetteer-1.2-pre.tar.gz) = 2209944 -SHA256 (dict-gcide-0.44.tar.gz) = 5f7444567d0b36b7141c88d9a3e9ad1907543a6818203d9f1ab6eaf3d98bd406 -SIZE (dict-gcide-0.44.tar.gz) = 14888171 -SHA256 (dict-jargon_4.3.1.tgz) = f6261f277b324ab4718d9ba8a7a3f0be83c6148968fa4c0c0f94895d6eebcc82 -SIZE (dict-jargon_4.3.1.tgz) = 665457 -SHA256 (dict-misc-1.5b-pre.tar.gz) = aa1ff12aa1eb045a22f9605fb4311426ecbbc713fe44602a5c553d4c17d420ec -SIZE (dict-misc-1.5b-pre.tar.gz) = 2167909 -SHA256 (dict-vera-1.9-pre.tar.gz) = 2ef2d1bac51ad40dd7a632722aed03abab6684c8dc5c3dfd30514965466b7259 -SIZE (dict-vera-1.9-pre.tar.gz) = 222229 -SHA256 (dict-web1913-1.4-pre.tar.gz) = 731f73cb7a47250017d16619f7ac446cdc8043a4bffb84d87071cac91898c183 -SIZE (dict-web1913-1.4-pre.tar.gz) = 13147422 -SHA256 (dict-wn-2.0-pre.tar.gz) = f5d802f09e097295c706ad1bfd6a1ee752e74e9d4ee6901be9b5138e2dc2f86c -SIZE (dict-wn-2.0-pre.tar.gz) = 10395417 -SHA256 (dict-world02-20030215.tar.gz) = 1154bc8ddb704010dcc60ad331fd8e62997f4b53bbe57bef47eb58b9cd0c0a21 -SIZE (dict-world02-20030215.tar.gz) = 1405056 -SHA256 (elements-20001107-pre.tar.gz) = 8fabe38240f5894a9614572d941ea3986c7d40a9dc1aaff092cd3b985a7e592b -SIZE (elements-20001107-pre.tar.gz) = 16934 diff --git a/net/dictd-database/pkg-descr b/net/dictd-database/pkg-descr deleted file mode 100644 index e3125571227d..000000000000 --- a/net/dictd-database/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -Dictd words database. diff --git a/net/dictd-database/pkg-plist b/net/dictd-database/pkg-plist deleted file mode 100644 index dfe16d5b795b..000000000000 --- a/net/dictd-database/pkg-plist +++ /dev/null @@ -1,26 +0,0 @@ -lib/dict/devils.dict.dz -lib/dict/devils.index -lib/dict/easton.dict.dz -lib/dict/easton.index -lib/dict/elements.dict.dz -lib/dict/elements.index -lib/dict/foldoc.dict.dz -lib/dict/foldoc.index -lib/dict/gazetteer.dict.dz -lib/dict/gazetteer.index -lib/dict/gcide.dict.dz -lib/dict/gcide.index -lib/dict/hitchcock.dict.dz -lib/dict/hitchcock.index -lib/dict/jargon.dict.dz -lib/dict/jargon.index -lib/dict/vera.dict.dz -lib/dict/vera.index -lib/dict/web1913.dict.dz -lib/dict/web1913.index -lib/dict/wn.dict.dz -lib/dict/wn.index -lib/dict/world02.dict.dz -lib/dict/world02.index -lib/dict/world95.dict.dz -lib/dict/world95.index diff --git a/net/gtic/Makefile b/net/gtic/Makefile deleted file mode 100644 index a2646bceec01..000000000000 --- a/net/gtic/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# Created by: Denis Shaposhnikov <dsh@vlink.ru> -# $FreeBSD$ - -PORTNAME= gtic -PORTVERSION= 1.3.b -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= ftp://ftp.kspu.kr.ua/pub/unix/FIDO/gtic/ \ - ftp://ftp.braz.ru/pub/fido/gtic/ -DISTNAME= ${PORTNAME}-1.3b - -MAINTAINER= ports@FreeBSD.org -COMMENT= The GNU file forwarder (FSC-0087) for fidonet-like networks - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -MAKE_ENV+= DEFINES="${DEFINES}" - -.if defined(WITH_AMIGA4D) -DEFINES+= -DAMIGA4D -.endif - -.include <bsd.port.pre.mk> - -do-install: - ${MKDIR} ${STAGEDIR}${ETCDIR} -.for i in areagroups areas config domains help users - ${INSTALL_DATA} ${WRKSRC}/etc/${i} ${STAGEDIR}${ETCDIR}/${i}.sample -.endfor - ${INSTALL_PROGRAM} ${WRKSRC}/src/gtic ${STAGEDIR}${PREFIX}/sbin/ - -.include <bsd.port.post.mk> diff --git a/net/gtic/distinfo b/net/gtic/distinfo deleted file mode 100644 index f5a8af3952c0..000000000000 --- a/net/gtic/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (gtic-1.3b.tar.gz) = b3f9f4cfb54ee29c93cb9cd607e44983e7b8ed25817aaa69ac34a11b81c26020 -SIZE (gtic-1.3b.tar.gz) = 74766 diff --git a/net/gtic/files/patch-CONFIG b/net/gtic/files/patch-CONFIG deleted file mode 100644 index a1f6346eb18a..000000000000 --- a/net/gtic/files/patch-CONFIG +++ /dev/null @@ -1,28 +0,0 @@ ---- CONFIG.orig Mon Jul 6 16:09:40 1998 -+++ CONFIG Sun Mar 5 19:42:04 2000 -@@ -2,7 +2,7 @@ - VERSION = "1.3b" - - # Main configuration file. --CONFIG = "/etc/gtic/config" -+CONFIG = "${PREFIX}/etc/gtic/config" - - # Path to other configuration files (also see default config file). - CONFIGDIR = "/etc/gtic" -@@ -15,13 +15,13 @@ - GROUP = gtic - - # Name of C compiler. --CC = gcc -+#CC = gcc - - # Compiler flags. --CFLAGS=-Wall -g -+#CFLAGS=-Wall -g - - # Defines for gtic's sources use. --DEFINES = ${OPTS} -DCONFIG=\"${CONFIG}\" -DVERSION=\"${VERSION}\" -+DEFINES += ${OPTS} -DCONFIG=\"${CONFIG}\" -DVERSION=\"${VERSION}\" - - # Compile-time options. - diff --git a/net/gtic/files/patch-src_areas.c b/net/gtic/files/patch-src_areas.c deleted file mode 100644 index 8c8c2ecec80f..000000000000 --- a/net/gtic/files/patch-src_areas.c +++ /dev/null @@ -1,12 +0,0 @@ ---- src/areas.c.orig Sun Oct 24 20:16:14 1999 -+++ src/areas.c Sun Oct 24 20:19:15 1999 -@@ -305,9 +305,6 @@ - - /* make a backup copy of areas_file */ - strcpy(new_path,areas_file); -- if(strchr(new_path,'.')) -- strcpy(strrchr(new_path,'.'),".bak"); -- else - strcat(new_path,".bak"); - if(rename(areas_file,new_path)) - l_printf("Warning: unable to move %s to %s",areas_file,new_path); diff --git a/net/gtic/files/patch-src_tic.c b/net/gtic/files/patch-src_tic.c deleted file mode 100644 index 0265e10170ba..000000000000 --- a/net/gtic/files/patch-src_tic.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/tic.c.orig Mon Jul 6 15:39:46 1998 -+++ src/tic.c Sun Sep 12 15:38:14 1999 -@@ -227,7 +227,7 @@ - else if(!strcasecmp(buff,"ReceiptRequest")) continue; /* skip by FSC-0087 */ - else - { -- e_printf("readtic: %s(%d) - %s[%s] - keyword unknown - ignored", -+ l_printf("readtic: %s(%d) - %s[%s] - keyword unknown - ignored", - tlist->name,linecnt,buff,v); - continue; - } diff --git a/net/gtic/files/patch-src_toss.c b/net/gtic/files/patch-src_toss.c deleted file mode 100644 index c872ca60c7ad..000000000000 --- a/net/gtic/files/patch-src_toss.c +++ /dev/null @@ -1,57 +0,0 @@ ---- src/toss.c.orig Mon Jul 6 16:04:30 1998 -+++ src/toss.c Sun Mar 5 18:35:41 2000 -@@ -316,11 +316,16 @@ - newtic->areadesc=xstrcpy(acur->desc); - - /* make base of outbound file name */ -+#ifndef AMIGA4D - if(utmp->addr.point!=0) - snprintf(ftmp,sizeof(ftmp)-1,"%04x%04x.pnt/%08x", - utmp->addr.net,utmp->addr.node,utmp->addr.point); - else - snprintf(ftmp,sizeof(ftmp)-1,"%04x%04x",utmp->addr.net,utmp->addr.node); -+#else -+ snprintf(ftmp,sizeof(ftmp)-1,"%d.%d.%d.%d", utmp->addr.zone, -+ utmp->addr.net, utmp->addr.node, utmp->addr.point); -+#endif /* AMIGA4D */ - - /* determine queue directory */ - strcpy(qdir,get_outbound(utmp->addr.zone)); strcat(qdir,"/"); -@@ -342,21 +347,28 @@ - outbound/xxxxyyyy.pnt[/gtic_q]/zzzzzzzz.xlo - */ - strcpy(xlo,get_outbound(utmp->addr.zone)); strcat(xlo,"/"); -+#ifndef AMIGA4D - if(utmp->addr.point!=0) - { - snprintf(ftmp,sizeof(ftmp)-1,"%04x%04x.pnt/", - utmp->addr.net,utmp->addr.node); - strcat(xlo,ftmp); - } -+#endif /* AMIGA4D */ - if(mk_bsy==FALSE) - { - strcat(xlo,"gtic_q/"); - mkdirs(xlo,dirmode(outbound_mode)); - } -+#ifndef AMIGA4D - if(newtic->to.point!=0) - snprintf(ftmp,sizeof(ftmp)-1,"%08x",newtic->to.point); - else - snprintf(ftmp,sizeof(ftmp)-1,"%04x%04x",newtic->to.net,newtic->to.node); -+#else -+ snprintf(ftmp,sizeof(ftmp)-1,"%d.%d.%d.%d", newtic->to.zone, -+ newtic->to.net, newtic->to.node, newtic->to.point); -+#endif /* AMIGA4D */ - if(utmp->flags & USER_HOLD) - strcat(ftmp,".hlo"); - else -@@ -873,7 +885,7 @@ - - if(announce_f) - { -- fprintf(announce_f,"AREA: %-15s FILE: %s\n",curarea->name,cur->file); -+ fprintf(announce_f,">AREA: %-15s FILE: %s\n",curarea->name,cur->file); - if(pub_path && pub_url && - strlen(curarea->path)>=strlen(pub_path) && - strncmp(curarea->path,pub_path,strlen(pub_path))==0) diff --git a/net/gtic/files/patch-src_users.c b/net/gtic/files/patch-src_users.c deleted file mode 100644 index 5681ad8946fc..000000000000 --- a/net/gtic/files/patch-src_users.c +++ /dev/null @@ -1,12 +0,0 @@ ---- src/users.c.orig Sun Oct 24 20:19:46 1999 -+++ src/users.c Sun Oct 24 20:20:10 1999 -@@ -125,9 +125,6 @@ - - /* make a backup copy of users_file */ - strcpy(new_path,users_file); -- if(strchr(new_path,'.')) -- strcpy(strrchr(new_path,'.'),".bak"); -- else - strcat(new_path,".bak"); - if(rename(users_file,new_path)) - l_printf("Warning: unable to move %s to %s",users_file,new_path); diff --git a/net/gtic/files/patch-src_xmalloc.h b/net/gtic/files/patch-src_xmalloc.h deleted file mode 100644 index 8e9ea1a9433f..000000000000 --- a/net/gtic/files/patch-src_xmalloc.h +++ /dev/null @@ -1,12 +0,0 @@ ---- src/xmalloc.h.orig Sun Feb 6 10:50:42 2000 -+++ src/xmalloc.h Sun Feb 6 10:51:14 2000 -@@ -1,7 +1,9 @@ - #ifndef __XMALLOC_H - #define __XMALLOC_H - -+#if !defined(__FreeBSD__) - void *xmalloc(size_t size); -+#endif - void xfree(void *ptr); - - #endif diff --git a/net/gtic/pkg-descr b/net/gtic/pkg-descr deleted file mode 100644 index ae2a5c67640a..000000000000 --- a/net/gtic/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -The GNU file forwarder (FSC-0087) for fidonet-like networks. diff --git a/net/gtic/pkg-plist b/net/gtic/pkg-plist deleted file mode 100644 index 6cc3ddae6a55..000000000000 --- a/net/gtic/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -@sample %%ETCDIR%%/areagroups.sample -@sample %%ETCDIR%%/areas.sample -@sample %%ETCDIR%%/config.sample -@sample %%ETCDIR%%/domains.sample -@sample %%ETCDIR%%/help.sample -@sample %%ETCDIR%%/users.sample -sbin/gtic diff --git a/net/hidentd/Makefile b/net/hidentd/Makefile deleted file mode 100644 index 073dff8637ae..000000000000 --- a/net/hidentd/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# Created by: Kirill Ponomarew <krion@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= hidentd -PORTVERSION= 0.4 -CATEGORIES= net -MASTER_SITES= http://core.segfault.pl/~hobbit/hidentd/dist/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Simple and secure ident (RFC1413) server - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -GNU_CONFIGURE= yes - -PORTDOCS= README -PLIST_FILES= man/man8/hidentd.8.gz sbin/hidentd - -OPTIONS_DEFINE= DOCS - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/net/hidentd/distinfo b/net/hidentd/distinfo deleted file mode 100644 index c6aaec41a7d6..000000000000 --- a/net/hidentd/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (hidentd-0.4.tar.gz) = cc89268edb2964e15dfd21b147fcf745cc49a832deab003ff0968bf999195f78 -SIZE (hidentd-0.4.tar.gz) = 85615 diff --git a/net/hidentd/pkg-descr b/net/hidentd/pkg-descr deleted file mode 100644 index 766a8e8f824f..000000000000 --- a/net/hidentd/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -hidentd is a simple and secure GPLed ident (RFC1413) server. It -requires either inetd, xinetd or ucspi-tcp to run. Basic -features: - -* small and simple - around 300 lines of code -* secure - runs without root priviledges -* easy - no complicated configuration file syntax to learn. -* hidentd is entirely controlled with command line options. -* can be configured to provide fake usernames, protecting your privacy -* limited masqueraded/NAT connections support. - -WWW: http://core.segfault.pl/~hobbit/hidentd/ diff --git a/net/ldap2dns/Makefile b/net/ldap2dns/Makefile deleted file mode 100644 index ea00ce72258d..000000000000 --- a/net/ldap2dns/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -# Created by: Bruce M Simpson <bms@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= ldap2dns -PORTVERSION= 0.4.2 -PORTREVISION= 2 -CATEGORIES= net -MASTER_SITES= GHC - -MAINTAINER= ports@FreeBSD.org -COMMENT= Maintain DNS zones using an LDAP directory - -LICENSE= GPLv2 - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -RUN_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DNS \ - p5-perl-ldap>=0:net/p5-perl-ldap - -USE_GITHUB= yes -GH_ACCOUNT= bklang - -USES= gmake localbase:ldflags perl5 shebangfix -SHEBANG_FILES= scripts/*.pl -USE_PERL5= run -USE_OPENLDAP= yes -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}" - -PORTDOCS= * -PLIST_FILES= bin/ldap2dns \ - bin/ldap2dnsd \ - man/man1/ldap2dns.1.gz \ - %%DATADIR%%/axfr2ldap.pl \ - %%DATADIR%%/data2ldif.pl \ - %%DATADIR%%/ldap2dns.schema \ - %%DATADIR%%/ldap2tinydns-conf - -OPTIONS_DEFINE= DOCS - -post-patch: - @${REINPLACE_CMD} 's|?=|=|' ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e \ - 's|"/etc|"${PREFIX}/etc|' ${WRKSRC}/ldap2dns.c - @${REINPLACE_CMD} -e \ - 's|^/etc|${PREFIX}/etc|' ${WRKSRC}/ldap2dns.1 - @${REINPLACE_CMD} -e \ - 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/ldap2tinydns-conf - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ldap2dns ${STAGEDIR}${PREFIX}/bin - ${LN} -sf ldap2dns ${STAGEDIR}${PREFIX}/bin/ldap2dnsd - ${INSTALL_MAN} ${WRKSRC}/ldap2dns.1 ${STAGEDIR}${MANPREFIX}/man/man1 - @${MKDIR} ${STAGEDIR}${DATADIR} - (cd ${WRKSRC} && ${INSTALL_DATA} ldap2dns.schema ldap2tinydns-conf \ - ${STAGEDIR}${DATADIR}) - (cd ${WRKSRC}/scripts && ${INSTALL_SCRIPT} axfr2ldap.pl data2ldif.pl \ - ${STAGEDIR}${DATADIR}) - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC}/doc && ${INSTALL_DATA} README.html example.ldif \ - ${STAGEDIR}${DOCSDIR}) - -.include <bsd.port.mk> diff --git a/net/ldap2dns/distinfo b/net/ldap2dns/distinfo deleted file mode 100644 index f95598ea52d5..000000000000 --- a/net/ldap2dns/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (ldap2dns-0.4.2.tar.gz) = 23a24bd2233dafeb40cc2d755fa24cc4bd1207e92fdee614e642ea1064711b98 -SIZE (ldap2dns-0.4.2.tar.gz) = 61325 diff --git a/net/ldap2dns/files/patch-ldap2tinydns-conf b/net/ldap2dns/files/patch-ldap2tinydns-conf deleted file mode 100644 index 439fc54ab707..000000000000 --- a/net/ldap2dns/files/patch-ldap2tinydns-conf +++ /dev/null @@ -1,12 +0,0 @@ ---- ldap2tinydns-conf.orig Fri Dec 16 20:49:47 2005 -+++ ldap2tinydns-conf Sat Jan 14 12:19:18 2006 -@@ -22,7 +22,8 @@ - cat << EOF_run > $LDAP2DNSDIR/run - #!/bin/sh - exec 2>&1 --exec setuidgid $LDAP2DNSUSER envdir ./env softlimit -d250000 /usr/bin/ldap2dns -e "cd \$TINYDNSDIR && tinydns-data" -+exec envdir ./env sh -c ' -+ setuidgid $LDAP2DNSUSER softlimit -d250000 %%PREFIX%%/bin/ldap2dns -e "cd \$TINYDNSDIR && tinydns-data"' - EOF_run - - chmod +t $LDAP2DNSDIR diff --git a/net/ldap2dns/pkg-descr b/net/ldap2dns/pkg-descr deleted file mode 100644 index 5eda6530a0ca..000000000000 --- a/net/ldap2dns/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -From the website: - -ldap2dns is a program to create DNS (Domain Name Service) records directly -from a LDAP directory. ldap2dns is designed to write ASCII data files used -by tinydns from the djbdns package, but also may be used to write .db-files -used by named as found in the BIND package. - -WWW: https://github.com/bklang/ldap2dns diff --git a/net/libmxp/Makefile b/net/libmxp/Makefile deleted file mode 100644 index 3f2559af9e53..000000000000 --- a/net/libmxp/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# Created by: Michael Nottebrock <lofi@kiste> -# $FreeBSD$ - -PORTNAME= libmxp -PORTVERSION= 0.2.4 -CATEGORIES= net games textproc -MASTER_SITES= http://www.kmuddy.com/libmxp/files/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Parser for the MUD eXtension protocol - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -USES= cmake -USE_LDCONFIG= yes - -.include <bsd.port.mk> diff --git a/net/libmxp/distinfo b/net/libmxp/distinfo deleted file mode 100644 index d31ffd2cdeea..000000000000 --- a/net/libmxp/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (libmxp-0.2.4.tar.gz) = 812bbdf52c4360f80f6c68c7fd9cb51ea206a06fc00ca95905374957c1460509 -SIZE (libmxp-0.2.4.tar.gz) = 68974 diff --git a/net/libmxp/pkg-descr b/net/libmxp/pkg-descr deleted file mode 100644 index 9a0017cca897..000000000000 --- a/net/libmxp/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -The MXP library implements the parser for the MUD eXtension protocol. This -protocol aims to provide a better experience for MUD players. - -WWW: http://www.kmuddy.com/libmxp/ diff --git a/net/libmxp/pkg-plist b/net/libmxp/pkg-plist deleted file mode 100644 index e1d6c64b3328..000000000000 --- a/net/libmxp/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -include/libmxp/libmxp.h -lib/libmxp.so.0.0.4 -lib/libmxp.so.0 -lib/libmxp.so diff --git a/net/librouteros/Makefile b/net/librouteros/Makefile deleted file mode 100644 index e6997beb3a8f..000000000000 --- a/net/librouteros/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# Created by: Mark Felder <feld@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= librouteros -PORTVERSION= 1.1.2 -PORTREVISION= 5 -CATEGORIES= net -MASTER_SITES= http://verplant.org/librouteros/files/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Library for communicating with network devices by MikroTik - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -LIB_DEPENDS= libgcrypt.so:security/libgcrypt - -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip -USES= libtool tar:bzip2 -USE_LDCONFIG= yes - -LDFLAGS+= -L${LOCALBASE}/lib -CFLAGS+= -I${LOCALBASE}/include -Wno-error - -PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README - -OPTIONS_DEFINE= DOCS - -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/net/librouteros/distinfo b/net/librouteros/distinfo deleted file mode 100644 index 41d90270031e..000000000000 --- a/net/librouteros/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (librouteros-1.1.2.tar.bz2) = 1c58ada1ab70e15bb1490b5a24e54e3baf909554173445f71921558e2c111376 -SIZE (librouteros-1.1.2.tar.bz2) = 234942 diff --git a/net/librouteros/pkg-descr b/net/librouteros/pkg-descr deleted file mode 100644 index 3aafa29c30fb..000000000000 --- a/net/librouteros/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -librouteros (or libRouterOS) is a C library to communicate with network -devices by MikroTik running their Linux-based operating system RouterOS. - -WWW: http://verplant.org/librouteros/ diff --git a/net/librouteros/pkg-plist b/net/librouteros/pkg-plist deleted file mode 100644 index 81f734d45c0c..000000000000 --- a/net/librouteros/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -bin/ros -include/routeros_version.h -include/routeros_api.h -lib/librouteros.a -lib/librouteros.so -lib/librouteros.so.0 -lib/librouteros.so.0.2.2 -man/man1/ros.1.gz -man/man3/librouteros.3.gz diff --git a/net/nettest/Makefile b/net/nettest/Makefile deleted file mode 100644 index 7fef1441ba98..000000000000 --- a/net/nettest/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# Created by: proot@iaces.com -# $FreeBSD$ - -PORTNAME= nettest -PORTVERSION= 92.11.09 -CATEGORIES= net -MASTER_SITES= ftp://ftp.cray.com/src/nettest/ -DISTNAME= nettest.92.11.09 - -MAINTAINER= ports@FreeBSD.org -COMMENT= Performs client and server functions for timing data throughput - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -NO_WRKSUBDIR= yes -USES= tar:Z - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nettest ${STAGEDIR}${PREFIX}/bin/nettest - ${INSTALL_PROGRAM} ${WRKSRC}/nettestd ${STAGEDIR}${PREFIX}/bin/nettestd - ${INSTALL_MAN} ${WRKSRC}/nettest.8 ${STAGEDIR}${PREFIX}/man/man8/nettest.8 - -.include <bsd.port.mk> diff --git a/net/nettest/distinfo b/net/nettest/distinfo deleted file mode 100644 index 21f132564283..000000000000 --- a/net/nettest/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (nettest.92.11.09.tar.Z) = 980415a97e155a40fa8dc65801f036a59edc5a235cf44ce51d305069c6850dd0 -SIZE (nettest.92.11.09.tar.Z) = 35068 diff --git a/net/nettest/files/patch-Makefile b/net/nettest/files/patch-Makefile deleted file mode 100644 index fd16c80ee55a..000000000000 --- a/net/nettest/files/patch-Makefile +++ /dev/null @@ -1,38 +0,0 @@ -*** Makefile.orig Thu Nov 5 16:03:14 1992 ---- Makefile Mon Oct 20 12:50:14 1997 -*************** -*** 3,12 **** - FILES=README Makefile nettest.h nettest.c nettestd.c nettest.8 - - all: -! @if [ -f /bin/hostname -o -f /usr/bin/hostname ]; then \ -! $(MAKE) `hostname`; \ -! elif [ -f /bin/uname ]; then \ -! $(MAKE) `uname -n`; \ - else \ - echo You must specify what machine you are on,;\ - echo e.g. \"make sun\", \"make cray2\", \"make pyramid\", \"make xmp\";\ ---- 3,10 ---- - FILES=README Makefile nettest.h nettest.c nettestd.c nettest.8 - - all: -! @if [ -f /bin/uname -o -f /usr/bin/uname ]; then \ -! $(MAKE) `uname -s`; \ - else \ - echo You must specify what machine you are on,;\ - echo e.g. \"make sun\", \"make cray2\", \"make pyramid\", \"make xmp\";\ -*************** -*** 32,37 **** ---- 30,41 ---- - INCLUDE="-I." \ - DEFINES="-DWAIT3CODE -DNO_ISO" \ - LIBS="" OPT="-O" -+ -+ FreeBSD: -+ $(MAKE) objs \ -+ INCLUDE="" \ -+ DEFINES="-DWAIT3CODE -DBSD44 -DNAMEDPIPES -DNO_ISO" \ -+ OPT="-O" LIBS="-lcompat" - - 4.4alpha: - $(MAKE) objs \ diff --git a/net/nettest/files/patch-nettest.c b/net/nettest/files/patch-nettest.c deleted file mode 100644 index 151746bf75f5..000000000000 --- a/net/nettest/files/patch-nettest.c +++ /dev/null @@ -1,95 +0,0 @@ -*** nettest.c.orig Thu Nov 5 15:52:58 1992 ---- nettest.c Sun Sep 19 17:33:02 1999 -*************** -*** 92,98 **** ---- 92,102 ---- - int nodelay = 0; - int mesghdr = 0; - -+ #ifdef BSD44 -+ clock_t times(); -+ #else - long times(); -+ #endif - #if !defined(CRAY) && !defined(SYSV) - #define GETTIMES(a, b) ftime(&a); times(&b); - #define TIMETYPE struct timeb -*************** -*** 126,132 **** - - void do_children(), do_stream(), usage(), do_dgram(), prtimes(); - -! int read(), recv(); - - int (*rfunc)() = read; - ---- 130,137 ---- - - void do_children(), do_stream(), usage(), do_dgram(), prtimes(); - -! int read(); -! ssize_t recv(); - - int (*rfunc)() = read; - -*************** -*** 550,556 **** ---- 555,565 ---- - shutdown(s, 2); - exit(0); - } -+ #ifdef BSD44 -+ if (connect(s, (struct sockaddr *)&name, namesize) < 0) { -+ #else - if (connect(s, (char *)&name, namesize) < 0) { -+ #endif - perror("connect"); - exit(1); - } -*************** -*** 1160,1167 **** - *data = 0; - for (i = 0; i < nchunks; i++) { - ret = mesghdr ? sendmsg(s, &outmsg, 0) -! : sendto(s, data, chunksize, 0, (caddr_t)&name, -! namesize); - - if (ret < 0) { - perror(mesghdr ? "sendmsg" : "sendto"); ---- 1169,1176 ---- - *data = 0; - for (i = 0; i < nchunks; i++) { - ret = mesghdr ? sendmsg(s, &outmsg, 0) -! : sendto(s, data, chunksize, 0, -! (struct sockaddr *)&name, namesize); - - if (ret < 0) { - perror(mesghdr ? "sendmsg" : "sendto"); -*************** -*** 1397,1408 **** - register char *c; - int tos; - - #ifdef IP_TOS - struct tosent *tosp; - -! tosp = gettosbyname(name, proto); - if (tosp) { -! tos = tosp->t_tos; - } else { - #endif - for (c = name; *c; c++) { ---- 1406,1418 ---- - register char *c; - int tos; - -+ #undef IP_TOS - #ifdef IP_TOS - struct tosent *tosp; - -! tosp = (struct tosent *)gettosbyname(name, proto); - if (tosp) { -! tos = (int)tosp->t_tos; - } else { - #endif - for (c = name; *c; c++) { diff --git a/net/nettest/files/patch-nettestd.c b/net/nettest/files/patch-nettestd.c deleted file mode 100644 index a669d597b7b6..000000000000 --- a/net/nettest/files/patch-nettestd.c +++ /dev/null @@ -1,94 +0,0 @@ -*** nettestd.c.orig Thu Nov 5 15:52:58 1992 ---- nettestd.c Sun Sep 19 17:31:20 1999 -*************** -*** 107,113 **** - } name; - int namesize; - -! int read(), recv(); - int (*rfunc)() = read; - - main(argc, argv) ---- 107,114 ---- - } name; - int namesize; - -! int read(); -! ssize_t recv(); - int (*rfunc)() = read; - - main(argc, argv) -*************** -*** 271,277 **** - # endif - #endif - if (daemon) { -! if (setpgrp() < 0) - perror("setpgrp"); - if ((c = open(_PATH_TTY, O_RDWR)) >= 0) { - (void)ioctl(c, TIOCNOTTY, (char *)0); ---- 272,278 ---- - # endif - #endif - if (daemon) { -! if (setpgrp(0, getpid()) < 0) - perror("setpgrp"); - if ((c = open(_PATH_TTY, O_RDWR)) >= 0) { - (void)ioctl(c, TIOCNOTTY, (char *)0); -*************** -*** 416,422 **** - ) - error("setsockopt (IP_OPTIONS)"); - #endif -! if (bind(s, (char *)&name, namesize) < 0) { - error("bind"); - exit(1); - } ---- 417,423 ---- - ) - error("setsockopt (IP_OPTIONS)"); - #endif -! if (bind(s, (struct sockaddr *)&name, namesize) < 0) { - error("bind"); - exit(1); - } -*************** -*** 447,456 **** - #endif - listen(s, 5); - -! signal(SIGCHLD, dochild); - for (;;) { - namesize = sizeof(name); -! s2 = accept(s, (char *)&name, &namesize); - if (s2 < 0) { - extern int errno; - if (errno == EINTR) ---- 448,457 ---- - #endif - listen(s, 5); - -! signal(SIGCHLD, (void *)dochild); - for (;;) { - namesize = sizeof(name); -! s2 = accept(s, (struct sockaddr *)&name, &namesize); - if (s2 < 0) { - extern int errno; - if (errno == EINTR) -*************** -*** 723,729 **** - #endif - { - namesize = sizeof(name.d_inet); -! t = recvfrom(s, data, MAXSIZE, 0, (char *)&name.d_inet, - &namesize); - } - if (t < 0) { ---- 724,730 ---- - #endif - { - namesize = sizeof(name.d_inet); -! t = recvfrom(s, data, MAXSIZE, 0, (struct sockaddr *)&name.d_inet, - &namesize); - } - if (t < 0) { diff --git a/net/nettest/pkg-descr b/net/nettest/pkg-descr deleted file mode 100644 index 3f9b23a042b8..000000000000 --- a/net/nettest/pkg-descr +++ /dev/null @@ -1,15 +0,0 @@ -The nettest and nettestd commands invoke client and server -programs that are used for timing data throughput of vari- -ous methods of interprocess communication. For TCP and -OSI connections, the nettest program establishes a connec- -tion with the nettestd program, and then it does count -writes of size bytes, followed by count reads of size -bytes. For UDP, the nettest program performs only writes; -reads are not performed. The nettestd program, if used -with UDP connections, reads the data packets and prints a -message for each data packet it receives. The number and -size of the reads and writes may not correlate with the -number and size of the actual data packets that are trans- -ferred; it depends on the protocol that is chosen. If you -append an optional k (or K) to the size, count, or bufsize -value, the number specified is multiplied by 1024. diff --git a/net/nettest/pkg-plist b/net/nettest/pkg-plist deleted file mode 100644 index 5de932561ece..000000000000 --- a/net/nettest/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/nettest -bin/nettestd -man/man8/nettest.8.gz diff --git a/net/py-netstring/Makefile b/net/py-netstring/Makefile deleted file mode 100644 index 2473f39374fd..000000000000 --- a/net/py-netstring/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Created by: Alexander Botero-Lowry <alexbl@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= netstring -PORTVERSION= 1.14 -CATEGORIES= net devel python -MASTER_SITES= ftp://ftp.tummy.com/pub/tummy/Python/netstring/ -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= python-${PORTNAME}-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Python module implementing the netstring protocol - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -USES= python:2.7 -USE_PYTHON= distutils autoplist - -.include <bsd.port.mk> diff --git a/net/py-netstring/distinfo b/net/py-netstring/distinfo deleted file mode 100644 index 1d686baf6a80..000000000000 --- a/net/py-netstring/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (python-netstring-1.14.tar.gz) = d8d9a8269a946de9ef7eb209322556f62ea479c637bf8322d4c462fa3d4e94aa -SIZE (python-netstring-1.14.tar.gz) = 3459 diff --git a/net/py-netstring/pkg-descr b/net/py-netstring/pkg-descr deleted file mode 100644 index 3f1a6dc755a9..000000000000 --- a/net/py-netstring/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -An implementation of the netstrings protocol developed by D.J. Bernstein. -netstrings transmits each string as the length followed by : followed by -the string. diff --git a/net/radiusd-cistron/Makefile b/net/radiusd-cistron/Makefile deleted file mode 100644 index 0346f5d8253c..000000000000 --- a/net/radiusd-cistron/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -# Created by: john@nlc.net.au -# $FreeBSD$ - -PORTNAME= radiusd-cistron -PORTVERSION= 1.6.8 -PORTREVISION= 3 -CATEGORIES= net -MASTER_SITES= ftp://ftp.radius.cistron.nl/pub/radius/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= RADIUS-compliant remote authentication and accounting server - -LICENSE= GPLv2+ - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -CONFLICTS?= freeradius-0.* gnu-radius-1.* openradius-0.* - -USES= shebangfix -SHEBANG_FILES= src/checkrad.pl -MAKEFILE= Makefile.BSD -RADIUS_DIR= ${PREFIX}/etc/raddb -MAKE_ENV= RADIUS_DIR="${RADIUS_DIR}" DESTROOT="${STAGEDIR}" -BUILD_WRKSRC= ${WRKSRC}/src -INSTALL_WRKSRC= ${WRKSRC}/src -MAKE_JOBS_UNSAFE= yes - -USE_RC_SUBR= radiusd-cistron radrelay-cistron -DOCFILES= COPYRIGHT INSTALL doc/ChangeLog doc/README doc/README.Y2K \ - doc/README.cisco doc/README.pam doc/README.proxy \ - doc/README.simul doc/README.usersfile - -OPTIONS_DEFINE= PAM DOCS # PAM is used in pkg-plist -OPTIONS_DEFAULT=PAM -OPTIONS_SUB= yes - -post-install: - @${MKDIR} ${STAGEDIR}/var/log/radacct - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/net/radiusd-cistron/distinfo b/net/radiusd-cistron/distinfo deleted file mode 100644 index 3cd0340cf591..000000000000 --- a/net/radiusd-cistron/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (radiusd-cistron-1.6.8.tar.gz) = ed08ff8fb3f49ac5a921c2e23b639e9b87db85e3e6105953c5a921b9a2cc6150 -SIZE (radiusd-cistron-1.6.8.tar.gz) = 199459 diff --git a/net/radiusd-cistron/files/patch-Make.inc b/net/radiusd-cistron/files/patch-Make.inc deleted file mode 100644 index d9122a21b818..000000000000 --- a/net/radiusd-cistron/files/patch-Make.inc +++ /dev/null @@ -1,66 +0,0 @@ ---- src/Make.inc.orig 2003-04-10 10:51:47 UTC -+++ src/Make.inc -@@ -4,7 +4,7 @@ - # - # - --RADIUS_DIR = /etc/raddb -+RADIUS_DIR = ${PREFIX}/etc/raddb - - SERVER_OBJS = radiusd.o files.o acct.o pam.o version.o proxy.o \ - exec.o auth.o timestr.o cache.o readusers.o -@@ -115,35 +115,35 @@ - - install: - # Install the binaries -- $(DINSTALL) $(SBINDIR) -- $(DINSTALL) $(BINDIR) -- $(DINSTALL) $(RADIUS_DIR) -- $(INSTALL) -m 755 -s radiusd $(SBINDIR)/radiusd -- $(INSTALL) -m 755 -s radrelay $(SBINDIR)/radrelay -- $(INSTALL) -m 755 -s radwho $(BINDIR) -- $(INSTALL) -m 755 -s radzap $(BINDIR) -- $(INSTALL) -m 755 -s radclient $(BINDIR) -- test -z "$(DBM)" || $(INSTALL) -m 755 -s builddbm $(BINDIR) -- $(INSTALL) -m 755 checkrad.pl $(SBINDIR)/checkrad -- $(INSTALL) -m 755 radlast $(BINDIR) -- $(INSTALL) -m 755 radtest $(BINDIR) -+ $(DINSTALL) $(DESTROOT)$(SBINDIR) -+ $(DINSTALL) $(DESTROOT)$(BINDIR) -+ $(DINSTALL) $(DESTROOT)$(RADIUS_DIR) -+ $(INSTALL) -m 755 -s radiusd $(DESTROOT)$(SBINDIR)/radiusd -+ $(INSTALL) -m 755 -s radrelay $(DESTROOT)$(SBINDIR)/radrelay -+ $(INSTALL) -m 755 -s radwho $(DESTROOT)$(BINDIR) -+ $(INSTALL) -m 755 -s radzap $(DESTROOT)$(BINDIR) -+ $(INSTALL) -m 755 -s radclient $(DESTROOT)$(BINDIR) -+ test -z "$(DBM)" || $(INSTALL) -m 755 -s builddbm $(DESTROOT)$(BINDIR) -+ $(INSTALL) -m 755 checkrad.pl $(DESTROOT)$(SBINDIR)/checkrad -+ $(INSTALL) -m 755 radlast $(DESTROOT)$(BINDIR) -+ $(INSTALL) -m 755 radtest $(DESTROOT)$(BINDIR) - # Install the man pages - @for section in 1 5 8; do \ -- $(DINSTALL) $(MANDIR)/man$$section; \ -+ $(DINSTALL) $(DESTROOT)$(MANDIR)/man$$section; \ - for manfile in ../doc/*.$$section*; do \ -- echo $(INSTALL) -m 644 $$manfile $(MANDIR)/man$$section; \ -- $(INSTALL) -m 644 $$manfile $(MANDIR)/man$$section; \ -+ echo $(INSTALL) -m 644 $$manfile $(DESTROOT)$(MANDIR)/man$$section; \ -+ $(INSTALL) -m 644 $$manfile $(DESTROOT)$(MANDIR)/man$$section; \ - done ; \ - done -- test -n "$(DBM)" || rm -f $(MANDIR)/man8/builddbm.8rad -- @if [ -d /etc/pam.d/ ] && [ ! -f /etc/pam.d/radius ]; then \ -- $(INSTALL) -m 644 ../redhat/radiusd-pam /etc/pam.d/radius;\ -+ test -n "$(DBM)" || rm -f $(DESTROOT)$(MANDIR)/man8/builddbm.8rad -+ @if [ -d $(DESTROOT)${PREFIX}/etc/pam.d/ ] && [ ! -f $(DESTROOT)${PREFIX}/etc/pam.d/radius ]; then \ -+ $(INSTALL) -m 644 ../redhat/radiusd-pam $(DESTROOT)${PREFIX}/etc/pam.d/radius;\ - fi - @# Install the config files - @echo; echo "Creating/updating files in $(RADIUS_DIR)"; \ - cd ../raddb; \ - for i in [a-c]* [e-z]*; do \ -- [ ! -f $(RADIUS_DIR)/$$i ] && cp $$i $(RADIUS_DIR)/$$i; \ -+ [ ! -f $(RADIUS_DIR)/$$i ] && cp $$i $(DESTROOT)$(RADIUS_DIR)/$$i.sample; \ - done; true - @# Install the dictionary files - @sh dict-install.sh ../raddb $(RADIUS_DIR) $(SHAREDIR) diff --git a/net/radiusd-cistron/files/patch-Makefile.BSD b/net/radiusd-cistron/files/patch-Makefile.BSD deleted file mode 100644 index 6d39f0443540..000000000000 --- a/net/radiusd-cistron/files/patch-Makefile.BSD +++ /dev/null @@ -1,37 +0,0 @@ ---- src/Makefile.BSD.orig Thu Apr 10 12:38:23 2003 -+++ src/Makefile.BSD Mon Oct 17 09:48:11 2005 -@@ -3,9 +3,9 @@ - # - # - --CC = gcc --CFLAGS = -Wall -g -DNOSHADOW --LDFLAGS = # -s -+#CC = gcc -+CFLAGS += -DNOSHADOW -DPREFIX=\"$(PREFIX)\" #-Wall -g -DNOSHADOW -+LDFLAGS = -s - LIBS = - LCRYPT = -lcrypt - -@@ -13,15 +13,15 @@ - #DBM = -DUSE_DB1 - #DBMLIB = #-ldb - --#PAM = -DPAM --#PAMLIB = -lpam -+PAM = -DPAM -+PAMLIB = -lpam - - INSTALL = install - DINSTALL = mkdir -p - --BINDIR = /usr/local/bin --SBINDIR = /usr/local/sbin --MANDIR = /usr/local/man --SHAREDIR = /usr/local/share/radius -+BINDIR = $(PREFIX)/bin -+SBINDIR = $(PREFIX)/sbin -+MANDIR = $(PREFIX)/man -+SHAREDIR = ${PREFIX}/share/radius - - .include "Make.inc" diff --git a/net/radiusd-cistron/files/patch-acct.c b/net/radiusd-cistron/files/patch-acct.c deleted file mode 100644 index 1a445f97fee7..000000000000 --- a/net/radiusd-cistron/files/patch-acct.c +++ /dev/null @@ -1,16 +0,0 @@ ---- src/acct.c.orig 2006-02-08 18:05:53.000000000 +0100 -+++ src/acct.c 2010-01-27 07:05:49.000000000 +0100 -@@ -167,8 +167,13 @@ - #ifdef __svr4__ - wt->ut_xtime = ut->time; - #else -+#if defined(__FreeBSD__) && __FreeBSD_version > 900007 -+ wt->ut_tv.tv_sec = ut->time; -+ wt->ut_tv.tv_usec = 0; -+#else - wt->ut_time = ut->time; - #endif -+#endif - #ifdef USER_PROCESS - /* - * And we can use the ID field to store diff --git a/net/radiusd-cistron/files/patch-conf.h b/net/radiusd-cistron/files/patch-conf.h deleted file mode 100644 index c48f09178890..000000000000 --- a/net/radiusd-cistron/files/patch-conf.h +++ /dev/null @@ -1,10 +0,0 @@ ---- src/conf.h.orig Thu Mar 30 10:24:59 2000 -+++ src/conf.h Wed May 3 18:37:57 2000 -@@ -1,6 +1,6 @@ - /* Default Database File Names */ - --#define RADIUS_DIR "/etc/raddb" -+#define RADIUS_DIR PREFIX "/etc/raddb" - #define RADLOG_DIR "/var/log" - - #ifdef aix diff --git a/net/radiusd-cistron/files/patch-dict-install.sh b/net/radiusd-cistron/files/patch-dict-install.sh deleted file mode 100644 index 222009106d07..000000000000 --- a/net/radiusd-cistron/files/patch-dict-install.sh +++ /dev/null @@ -1,23 +0,0 @@ ---- src/dict-install.sh.orig 2003-04-10 16:17:11.000000000 +0200 -+++ src/dict-install.sh 2013-12-01 06:23:00.000000000 +0100 -@@ -31,7 +31,7 @@ - - if [ $NEWTYPE = yes ] - then -- DESTDIR=$SHAREDIR -+ DESTDIR=$DESTROOT$SHAREDIR - else - DESTDIR=$RADDBDIR - fi -@@ -41,9 +41,9 @@ - mkdir -p $DESTDIR - fi - --if [ $NEWTYPE ] && [ ! -f $RADDBDIR/dictionary ] -+if [ $NEWTYPE ] && [ ! -f $DESTROOT$RADDBDIR/dictionary ] - then -- sed -e "s!SHAREDIR!$SHAREDIR!" < dictionary > $RADDBDIR/dictionary -+ sed -e "s!SHAREDIR!$SHAREDIR!" < dictionary > $DESTROOT$RADDBDIR/dictionary - fi - - echo "Creating/updating dictionary files in $DESTDIR" diff --git a/net/radiusd-cistron/files/patch-radiusd.c b/net/radiusd-cistron/files/patch-radiusd.c deleted file mode 100644 index 994559596b0c..000000000000 --- a/net/radiusd-cistron/files/patch-radiusd.c +++ /dev/null @@ -1,18 +0,0 @@ ---- src/radiusd.c.orig Thu Mar 31 23:06:51 2005 -+++ src/radiusd.c Mon Dec 25 20:40:17 2006 -@@ -48,6 +48,7 @@ - char *radacct_dir; - int log_stripped_names; - int cache_passwd = 0; -+int radius_pid; - int use_dbm = 0; - int use_wtmp = 1; - int use_utmp = 1; -@@ -74,7 +75,6 @@ - static int acctfd; - static int spawn_flag; - static int acct_pid; --static int radius_pid; - static int need_reload = 0; - static time_t start_time; - static AUTH_REQ *first_request; diff --git a/net/radiusd-cistron/files/patch-raduse b/net/radiusd-cistron/files/patch-raduse deleted file mode 100644 index 609b25f2f432..000000000000 --- a/net/radiusd-cistron/files/patch-raduse +++ /dev/null @@ -1,54 +0,0 @@ ---- src/cache.c Mon May 7 14:33:45 2001 -+++ src/cache.c Thu Apr 3 09:39:09 2003 -@@ -51,7 +51,10 @@ - * in memory. Returns -1 on failure, 0 on success. - */ - int buildHashTable(void) { -- FILE *passwd, *shadow; -+ FILE *passwd; -+#if !defined(NOSHADOW) -+ FILE *shadow; -+#endif /* SHADOW */ - char buffer[BUFSIZE]; - char idtmp[10]; - char username[MAXUSERNAME]; ---- src/readusers.c Sat Nov 10 05:41:39 2001 -+++ src/readusers.c Thu Apr 3 09:42:12 2003 -@@ -179,7 +179,7 @@ - char *ptr; - char buffer[256]; - int first = 1; -- int parsecode; -+ int parsecode = 0; - int state = 0; - int c; - ---- src/pair.c.orig Wed Jun 4 17:45:28 2003 -+++ src/pair.c Wed Jun 25 17:45:01 2003 -@@ -444,9 +444,9 @@ - VALUE_PAIR *pair; - struct tm *tm; - time_t timeval; -- int operator; -+ int operator = 0; - int rcode; -- int tag; -+ int tag = 0; - int base; - - rcode = USERPARSE_EOS; ---- src/radclient.c Tue Nov 13 05:55:14 2001 -+++ src/radclient.c Thu Apr 3 09:46:58 2003 -@@ -122,10 +122,10 @@ - char *radius_dir; - UINT4 server_ip; - int port; -- int code; -+ int code = 0; - int sockfd; - int salen; -- int result; -+ int result = 0; - int length; - int i; - diff --git a/net/radiusd-cistron/files/patch-radwho.c b/net/radiusd-cistron/files/patch-radwho.c deleted file mode 100644 index d88c41b4da19..000000000000 --- a/net/radiusd-cistron/files/patch-radwho.c +++ /dev/null @@ -1,194 +0,0 @@ ---- src/radwho.c.orig 2003-12-09 01:10:24.000000000 +0900 -+++ src/radwho.c 2011-10-19 10:22:04.000000000 +0900 -@@ -20,6 +20,7 @@ - #include <errno.h> - #include <sys/stat.h> - #include <sys/utsname.h> -+#include <sys/ioctl.h> - #include <time.h> - #include <ctype.h> - #include <netinet/in.h> -@@ -40,18 +41,20 @@ - * Header above output and format. - */ - char *hdr1 = --"Login Name What TTY When From Location"; --char *ufmt1 = "%-10.10s %-17.17s %-5.5s %-4.4s %-9.9s %-9.9s %-.16s%s"; --char *ufmt1r = "%s,%s,%s,%s,%s,%s,%s%s"; --char *rfmt1 = "%-10.10s %-17.17s %-5.5s %s%-3d %-9.9s %-9.9s %-.19s%s"; --char *rfmt1r = "%s,%s,%s,%s%u,%s,%s,%s%s"; -+"Login Name What TTY When From Location"; -+char *ufmt1 = "%-16.16s %-17.17s %-5.5s %-4.4s %-9.9s %-9.9s %-.*s%s"; -+char *ufmt1r = "%s,%s,%s,%s,%s,%s,%*s%s"; -+char *rfmt1 = "%-16.16s %-17.17s %-5.5s %s%-3d %-9.9s %-9.9s %-.*s%s"; -+char *rfmt1r = "%s,%s,%s,%s%u,%s,%s,%*s%s"; -+#define FMT1_HOST_SIZE 13 - - char *hdr2 = --"Login Port What When From Location"; --char *ufmt2 = "%-10.10s %-6.6d %-7.7s %-13.13s %-10.10s %-.16s%s"; --char *ufmt2r = "%s,%u,%s,%s,%s,%s%s"; --char *rfmt2 = "%-10.10s %s%-5d %-6.6s %-13.13s %-10.10s %-.28s%s"; --char *rfmt2r = "%s,%s%u,%s,%s,%s,%s%s"; -+"Login Port What When From Location"; -+char *ufmt2 = "%-16.16s %-6.6d %-7.7s %-13.13s %-10.10s %-.*s%s"; -+char *ufmt2r = "%s,%u,%s,%s,%s,%*s%s"; -+char *rfmt2 = "%-16.16s %s%-5d %-6.6s %-13.13s %-10.10s %-.*s%s"; -+char *rfmt2r = "%s,%s%u,%s,%s,%s,%*s%s"; -+#define FMT2_HOST_SIZE 19 - - char *eol = "\n"; - NAS *naslist; -@@ -307,7 +310,8 @@ - return tmp; - } - if (strncmp(tty, "cu", 2) == 0) { -- return tmp + 2; -+ sprintf(tmp, "%.15s", tty + 2); -+ return tmp; - } - return "??"; - } -@@ -371,6 +375,8 @@ - */ - int main(int argc, char **argv) - { -+ struct winsize ws; -+ int extra_width = 0; - FILE *fp; - struct radutmp rt; - struct utmp ut; -@@ -389,6 +395,11 @@ - char *p, *q, *portind; - int c, portno; - -+ ioctl(0, TIOCGWINSZ, &ws); -+ if (ws.ws_col >= 80) { -+ extra_width = ws.ws_col - 80; -+ } -+ - while((c = getopt(argc, argv, "Dd:flhnsipcru:")) != EOF) switch(c) { - case 'D': - use_dns = 0; -@@ -471,6 +482,55 @@ - if (*p) sys_finger(p); - } - -+#if defined(__FreeBSD__) && __FreeBSD_version > 900007 -+ if (showlocal) { -+ struct utmpx *utx; -+ -+ if (rawoutput == 0) -+ { -+ fputs(showname ? hdr1 : hdr2, stdout); -+ fputs(eol, stdout); -+ } -+ hdrdone = 1; -+ -+ /* -+ * Show the logged in UNIX users. -+ */ -+ gethostname(myname, 128); -+ setutxent(); -+ for (;;) { -+ utx = getutxent(); -+ if (utx == NULL) -+ break; -+ if (utx->ut_user[0] && utx->ut_line[0] && -+ utx->ut_type == USER_PROCESS) { -+ strncpy(inbuf, utx->ut_name, UT_NAMESIZE); -+ inbuf[UT_NAMESIZE] = '\0'; -+ if (showname) -+ printf((rawoutput == 0? ufmt1: ufmt1r), -+ inbuf, -+ fullname(inbuf), -+ "shell", -+ ttyshort(utx->ut_line), -+ dotime(utx->ut_tv.tv_sec), -+ utx->ut_host, -+ (rawoutput == 0 ? FMT1_HOST_SIZE + extra_width : 0), -+ myname, eol); -+ else -+ printf((rawoutput==0? ufmt2:ufmt2r), -+ inbuf, -+ ttyshort(utx->ut_line), -+ "shell", -+ dotime(utx->ut_tv.tv_sec), -+ utx->ut_host, -+ (rawoutput == 0 ? FMT2_HOST_SIZE + extra_width : 0), -+ myname, eol); -+ } -+ -+ } -+ endutxent(); -+ } -+#else - if (showlocal && (fp = fopen(UTMP_FILE, "r"))) { - if (rawoutput == 0) - { -@@ -486,14 +546,17 @@ - while(fread(&ut, sizeof(ut), 1, fp) == 1) { - #ifdef USER_PROCESS - if (ut.ut_user[0] && ut.ut_line[0] && -- ut.ut_type == USER_PROCESS) { -+ ut.ut_type == USER_PROCESS) - #else -- if (ut.ut_user[0] && ut.ut_line[0]) { -+ if (ut.ut_user[0] && ut.ut_line[0]) - #endif -- if (showname) -+ { -+ strncpy(inbuf, ut.ut_name, UT_NAMESIZE); -+ inbuf[UT_NAMESIZE] = '\0'; -+ if (showname) - printf((rawoutput == 0? ufmt1: ufmt1r), -- ut.ut_name, -- fullname(ut.ut_name), -+ inbuf, -+ fullname(inbuf), - "shell", - ttyshort(ut.ut_line), - #ifdef __svr4__ -@@ -502,10 +565,11 @@ - dotime(ut.ut_time), - #endif - ut.ut_host, -+ (rawoutput == 0 ? FMT1_HOST_SIZE + extra_width : 0), - myname, eol); - else - printf((rawoutput==0? ufmt2:ufmt2r), -- ut.ut_name, -+ inbuf, - ttyshort(ut.ut_line), - "shell", - #ifdef __svr4__ -@@ -514,11 +578,13 @@ - dotime(ut.ut_time), - #endif - ut.ut_host, -+ (rawoutput == 0 ? FMT2_HOST_SIZE + extra_width : 0), - myname, eol); - } - } - fclose(fp); - } -+#endif - - /* - * Show the users logged in on the terminal server(s). -@@ -560,6 +626,7 @@ - portind, portno, - dotime(rt.time), - nasname(ntohl(rt.nas_address)), -+ (rawoutput == 0 ? FMT1_HOST_SIZE + extra_width : 0), - hostname(rt.framed_address), eol); - else - printf((rawoutput == 0? rfmt2: rfmt2r), -@@ -568,6 +635,7 @@ - proto(rt.proto, rt.porttype), - dotime(rt.time), - nasname(ntohl(rt.nas_address)), -+ (rawoutput == 0 ? FMT2_HOST_SIZE + extra_width : 0), - hostname(rt.framed_address), eol); - } - } diff --git a/net/radiusd-cistron/files/patch-sysdep.h b/net/radiusd-cistron/files/patch-sysdep.h deleted file mode 100644 index 101d7985fe4b..000000000000 --- a/net/radiusd-cistron/files/patch-sysdep.h +++ /dev/null @@ -1,40 +0,0 @@ ---- src/sysdep.h.orig 2003-06-04 17:45:28.000000000 +0200 -+++ src/sysdep.h 2010-01-27 07:21:57.000000000 +0100 -@@ -50,6 +50,10 @@ - # include <malloc.h> - #endif /* FreeBSD */ - -+#if defined(__FreeBSD__) -+# include <osreldate.h> -+#endif /* FreeBSD */ -+ - #if defined(aix) - #include <sys/select.h> - #include <strings.h> -@@ -67,8 +71,17 @@ - # define UT_LINESIZE 32 - # define UT_HOSTSIZE 257 - #else -+#if __FreeBSD_version >= 900007 -+# include <utmpx.h> -+# define utmp utmpx -+# define UT_NAMESIZE 32 -+# define UT_LINESIZE 16 -+# define UT_HOSTSIZE 128 -+# define ut_name ut_user -+#else - # include <utmp.h> - #endif -+#endif - #ifdef __osf__ - # define UT_NAMESIZE 32 - # define UT_LINESIZE 32 -@@ -83,7 +96,7 @@ - # define __hpux__ - # endif - #endif --#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(bsdi) -+#if (defined(__FreeBSD__) && __FreeBSD_version < 900007 ) || defined(__NetBSD__) || defined(bsdi) - # ifndef UTMP_FILE - # define UTMP_FILE "/var/run/utmp" - # endif diff --git a/net/radiusd-cistron/files/radiusd-cistron.in b/net/radiusd-cistron/files/radiusd-cistron.in deleted file mode 100644 index eef24ded7508..000000000000 --- a/net/radiusd-cistron/files/radiusd-cistron.in +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# PROVIDE: radiusd-cistron -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# radiusd_enable (bool): Set to NO by default. -# Set it to YES to enable radiusd-cistron. -# - -. /etc/rc.subr - -name="radiusd" -rcvar="radiusd_enable" - -command=%%PREFIX%%/sbin/${name} -pidfile=/var/run/${name}.pid - -load_rc_config $name - -: ${radiusd_enable="NO"} - -command_args="-y" - -run_rc_command "$1" diff --git a/net/radiusd-cistron/files/radrelay-cistron.in b/net/radiusd-cistron/files/radrelay-cistron.in deleted file mode 100644 index 49d4b5cf1548..000000000000 --- a/net/radiusd-cistron/files/radrelay-cistron.in +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# PROVIDE: radrelay-cistron -# REQUIRE: LOGIN radiusd-cistron -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# radrelay_enable (bool): Set it to "YES" to enable radrelay. -# Default is "NO". -# radrelay_flags (flags): Set extra flags to radrelay. -# Default is "". see radrelay(1). -# - -. /etc/rc.subr - -name="radrelay" -rcvar="radrelay_enable" - -command=%%PREFIX%%/sbin/${name} -pidfile=/var/run/${name}.pid - -load_rc_config $name - -: ${radrelay_enable="NO"} -: ${radrelay_flags=""} - -run_rc_command "$1" diff --git a/net/radiusd-cistron/pkg-descr b/net/radiusd-cistron/pkg-descr deleted file mode 100644 index e75cfa5f9134..000000000000 --- a/net/radiusd-cistron/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -This is the Cistron RADIUS daemon. Radiusd is a daemon that handles -remote authentication requests and accounting for RADIUS clients. The -clients may be terminal servers, Network Access Servers or other -RADIUS servers. diff --git a/net/radiusd-cistron/pkg-message b/net/radiusd-cistron/pkg-message deleted file mode 100644 index 9d374e5928e9..000000000000 --- a/net/radiusd-cistron/pkg-message +++ /dev/null @@ -1,8 +0,0 @@ -[ -{ type: install - message: <<EOM -To start cistron radiusd automaticall during boot -add radiusd_enable="YES" to /etc/rc.conf -EOM -} -] diff --git a/net/radiusd-cistron/pkg-plist b/net/radiusd-cistron/pkg-plist deleted file mode 100644 index 4d8bb945838c..000000000000 --- a/net/radiusd-cistron/pkg-plist +++ /dev/null @@ -1,52 +0,0 @@ -bin/radclient -bin/radlast -bin/radtest -bin/radwho -bin/radzap -%%PAM%%etc/pam.d/radius -etc/raddb/clients.sample -etc/raddb/dictionary -etc/raddb/hints.sample -etc/raddb/huntgroups.sample -etc/raddb/naslist.sample -etc/raddb/naspasswd.sample -etc/raddb/realms.sample -etc/raddb/users.sample -man/man1/radclient.1.gz -man/man1/radlast.1.gz -man/man1/radtest.1.gz -man/man1/radwho.1.gz -man/man1/radzap.1.gz -man/man5/clients.5rad.gz -man/man5/naslist.5rad.gz -man/man8/radiusd.8.gz -man/man8/radrelay.8.gz -man/man8/radwatch.8.gz -sbin/checkrad -sbin/radiusd -sbin/radrelay -share/radius/dictionary.ascend -share/radius/dictionary.bay -share/radius/dictionary.cisco -share/radius/dictionary.cistron -share/radius/dictionary.compat -share/radius/dictionary.erx -share/radius/dictionary.livingston -share/radius/dictionary.redback -share/radius/dictionary.shiva -share/radius/dictionary.standard -share/radius/dictionary.tunnel -share/radius/dictionary.usr -share/radius/dictionary.versanet -%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/README.Y2K -%%PORTDOCS%%%%DOCSDIR%%/README.cisco -%%PORTDOCS%%%%DOCSDIR%%/README.pam -%%PORTDOCS%%%%DOCSDIR%%/README.proxy -%%PORTDOCS%%%%DOCSDIR%%/README.simul -%%PORTDOCS%%%%DOCSDIR%%/README.usersfile -@dir(,,700) /var/log/radacct -@unexec echo "Leaving /var/run/radutmp, /var/log/radwtmp and /var/log/radacct alone." diff --git a/net/rtptools/Makefile b/net/rtptools/Makefile deleted file mode 100644 index c22ce5371232..000000000000 --- a/net/rtptools/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# Created by: fenner -# $FreeBSD$ - -PORTNAME= rtptools -DISTVERSION= 1.22 -CATEGORIES= net mbone -MASTER_SITES= http://www.cs.columbia.edu/IRT/software/rtptools/download/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Set of tools to record, playback, and monitor RTPv2 data streams - -LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -USES= dos2unix -DOS2UNIX_GLOB= *.c -GNU_CONFIGURE= yes - -.for f in multidump multiplay rtpdump rtpplay rtpsend rtptrans -PLIST_FILES+= bin/${f} -PLIST_FILES+= man/man1/${f}.1.gz -.endfor - -OPTIONS_DEFINE= DOCS - -PORTDOCS= README.md ChangeLog.html rtptools.html - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} html - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/net/rtptools/distinfo b/net/rtptools/distinfo deleted file mode 100644 index 9ef99bf815db..000000000000 --- a/net/rtptools/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1521621535 -SHA256 (rtptools-1.22.tar.gz) = 7783a135d945ed1507fd50bde652f223ff2623e44b959b9ed5b7bff61cb9f089 -SIZE (rtptools-1.22.tar.gz) = 8622279 diff --git a/net/rtptools/files/patch-rtp.h b/net/rtptools/files/patch-rtp.h deleted file mode 100644 index 469b663d5dba..000000000000 --- a/net/rtptools/files/patch-rtp.h +++ /dev/null @@ -1,23 +0,0 @@ ---- rtp.h.orig 2018-03-20 06:17:35 UTC -+++ rtp.h -@@ -130,13 +130,18 @@ typedef struct { - #define RTCP_VALID_MASK (0xc000 | 0x2000 | 0xfe) - #define RTCP_VALID_VALUE ((RTP_VERSION << 14) | RTCP_SR) - -+#define RTCP_FRACTION(x) (((x) >> 24) & 0xFF) -+#define RTCP_LOST(x) ((((x) & 0xFFFFFF) < 0x800000) ? \ -+ ((x) & 0xFFFFFF) \ -+ : (((x) & 0xFFFFFF) - 0x1000000)) -+ - /* - * Reception report block - */ - typedef struct { - uint32_t ssrc; /* data source being reported */ -- unsigned int fraction:8; /* fraction lost since last SR/RR */ -- int lost:24; /* cumul. no. pkts lost (signed!) */ -+ uint32_t fraclost; /* fraction lost since last SR/RR and */ -+ /* cumul. no. pkts lost (signed!) */ - uint32_t last_seq; /* extended last seq. no. received */ - uint32_t jitter; /* interarrival jitter */ - uint32_t lsr; /* last SR packet from this source */ diff --git a/net/rtptools/files/patch-rtpdump.c b/net/rtptools/files/patch-rtpdump.c deleted file mode 100644 index e353f478436a..000000000000 --- a/net/rtptools/files/patch-rtpdump.c +++ /dev/null @@ -1,24 +0,0 @@ ---- rtpdump.c.orig 2016-06-20 15:59:04 UTC -+++ rtpdump.c -@@ -441,8 +441,8 @@ static int parse_control(FILE *out, char - for (i = 0; i < r->common.count; i++) { - fprintf(out, " (ssrc=0x%lx fraction=%g lost=%lu last_seq=%lu jit=%lu lsr=%lu dlsr=%lu )\n", - (unsigned long)ntohl(r->r.sr.rr[i].ssrc), -- r->r.sr.rr[i].fraction / 256., -- (unsigned long)ntohl(r->r.sr.rr[i].lost), /* XXX I'm pretty sure this is wrong */ -+ RTCP_FRACTION(ntohl(r->r.sr.rr[i].fraclost)) / 256., -+ RTCP_LOST(ntohl(r->r.sr.rr[i].fraclost)), - (unsigned long)ntohl(r->r.sr.rr[i].last_seq), - (unsigned long)ntohl(r->r.sr.rr[i].jitter), - (unsigned long)ntohl(r->r.sr.rr[i].lsr), -@@ -458,8 +458,8 @@ static int parse_control(FILE *out, char - for (i = 0; i < r->common.count; i++) { - fprintf(out, " (ssrc=0x%lx fraction=%g lost=%lu last_seq=%lu jit=%lu lsr=%lu dlsr=%lu )\n", - (unsigned long)ntohl(r->r.rr.rr[i].ssrc), -- r->r.rr.rr[i].fraction / 256., -- (unsigned long)ntohl(r->r.rr.rr[i].lost), -+ RTCP_FRACTION(ntohl(r->r.rr.rr[i].fraclost)) / 256., -+ RTCP_LOST(ntohl(r->r.rr.rr[i].fraclost)), - (unsigned long)ntohl(r->r.rr.rr[i].last_seq), - (unsigned long)ntohl(r->r.rr.rr[i].jitter), - (unsigned long)ntohl(r->r.rr.rr[i].lsr), diff --git a/net/rtptools/files/patch-rtpsend.c b/net/rtptools/files/patch-rtpsend.c deleted file mode 100644 index 1153d0816ca1..000000000000 --- a/net/rtptools/files/patch-rtpsend.c +++ /dev/null @@ -1,24 +0,0 @@ ---- rtpsend.c.orig 2016-06-20 15:59:04 UTC -+++ rtpsend.c -@@ -354,9 +354,9 @@ static int rtcp_rr(node_t *list, char *p - if (strcmp(n->type, "ssrc") == 0) - rr->ssrc = htonl(n->num); - else if (strcmp(n->type, "fraction") == 0) -- rr->fraction = (n->num)*256; -- else if (strcmp(n->type, "lost") == 0) /* PP: alignment OK? */ -- rr->lost = htonl(n->num); -+ rr->fraclost = htonl((ntohl(rr->fraclost) & 0x00ffffff) | ((n->num)*256 << 24)); -+ else if (strcmp(n->type, "lost") == 0) -+ rr->fraclost = htonl((ntohl(rr->fraclost) & 0xff000000) | n->num); - else if (strcmp(n->type, "last_seq") == 0) - rr->last_seq = htonl(n->num); - else if (strcmp(n->type, "jit") == 0) -@@ -926,6 +926,8 @@ int main(int argc, char *argv[]) - local = (struct in_addr *)host->h_addr_list[0]; - sin.sin_addr = *local; - } -+ } else { -+ usage(argv[0]); - } - - /* create/connect sockets */ diff --git a/net/rtptools/pkg-descr b/net/rtptools/pkg-descr deleted file mode 100644 index be50ee27bf15..000000000000 --- a/net/rtptools/pkg-descr +++ /dev/null @@ -1,15 +0,0 @@ -The rtptools distribution consists of a number of small applications that -can be used for processing RTP data. - -rtpplay - play back RTP sessions recorded by rtpdump -rtpsend - generate RTP packets from textual description, generated by hand or - rtpdump -rtpdump - parse and print RTP packets, generating output files suitable for - rtpplay and rtpsend -rtptrans - RTP translator between unicast and multicast networks - -WWW: http://www.cs.columbia.edu/irt/software/rtptools/ diff --git a/net/smbldap-tools/Makefile b/net/smbldap-tools/Makefile deleted file mode 100644 index aa519063160b..000000000000 --- a/net/smbldap-tools/Makefile +++ /dev/null @@ -1,69 +0,0 @@ -# Created by: Florent Thoumie <flz@xbsd.org> -# $FreeBSD$ - -PORTNAME= smbldap-tools -PORTVERSION= 0.9.11 -CATEGORIES= net -MASTER_SITES= http://download.gna.org/smbldap-tools/sources/${PORTVERSION}/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Samba-LDAP management and support tools - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -BUILD_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap \ - p5-Crypt-SmbHash>=0:security/p5-Crypt-SmbHash \ - p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \ - p5-Unicode-MapUTF8>=0:converters/p5-Unicode-MapUTF8 -RUN_DEPENDS:= ${BUILD_DEPENDS} - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/a//} - -USES= gmake perl5 -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-samba-sysconfdir=${LOCALBASE}/etc \ - --with-samba-bindir=${LOCALBASE}/bin \ - --with-perl=${PERL} \ - --with-perl-libdir=sitelib -ALL_TARGET= build -NO_ARCH= yes - -PORTDOCS= * - -OPTIONS_DEFINE= MIGRATION_SCRIPTS DOCS -OPTIONS_SUB= yes -MIGRATION_SCRIPTS_DESC= Install migration scripts - -post-patch: - @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ - ${WRKSRC}/smbldap-config.pl - -post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/etc/smbldap-tools -.for i in smbldap.conf smbldap_bind.conf - ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${PREFIX}/etc/smbldap-tools/$i.sample -.endfor - -post-install-MIGRATION_SCRIPTS-on: -.for i in smbldap-migrate-pwdump-accounts smbldap-migrate-pwdump-groups \ -smbldap-migrate-unix-accounts smbldap-migrate-unix-groups - @${SED} -e 's|/usr/bin/perl|${PERL}|g' \ - ${WRKSRC}/doc/migration_scripts/$i > ${STAGEDIR}${PREFIX}/sbin/$i -.endfor - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/smbldap-config.cmd ${STAGEDIR}${DOCSDIR}/smbldap-config - ${INSTALL_SCRIPT} ${WRKSRC}/smbldap-upgrade-0.9.6.cmd ${STAGEDIR}${DOCSDIR}/smbldap-upgrade-0.9.6 -.for f in CONTRIBUTORS COPYING ChangeLog FILES INFRA INSTALL README TODO - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ -.endfor - ${INSTALL_DATA} ${WRKSRC}/doc/smbldap-tools.html ${STAGEDIR}${DOCSDIR}/smbldap-tools.html - ${INSTALL_DATA} ${WRKSRC}/doc/smbldap-tools.pdf ${STAGEDIR}${DOCSDIR}/smbldap-tools.pdf - -.include <bsd.port.mk> diff --git a/net/smbldap-tools/distinfo b/net/smbldap-tools/distinfo deleted file mode 100644 index a5346377478d..000000000000 --- a/net/smbldap-tools/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1472019475 -SHA256 (smbldap-tools-0.9.11.tar.gz) = bf263c7b6cee2f51cb2b53a69f55747a7a3698f25d8571aedc026572fead9df5 -SIZE (smbldap-tools-0.9.11.tar.gz) = 337468 diff --git a/net/smbldap-tools/files/patch-smbldap-config.pl b/net/smbldap-tools/files/patch-smbldap-config.pl deleted file mode 100644 index ba2626212b4a..000000000000 --- a/net/smbldap-tools/files/patch-smbldap-config.pl +++ /dev/null @@ -1,55 +0,0 @@ ---- smbldap-config.pl.orig 2012-03-05 09:59:44.000000000 +0100 -+++ smbldap-config.pl 2014-10-05 19:32:18.349166265 +0200 -@@ -48,7 +48,7 @@ - print "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n"; - - # we first check if Samba is up and running --my $test_smb=`pidof smbd`; -+my $test_smb=`pgrep -x smbd`; - chomp($test_smb); - die "\nSamba needs to be started first !\n" if ($test_smb eq "" || not defined $test_smb); - -@@ -290,7 +290,7 @@ - - my $default_computer_gidnumber=read_entry(". default computer gidNumber","","515",0); - --my $userLoginShell=read_entry(". default login shell","","/bin/bash",0); -+my $userLoginShell=read_entry(". default login shell","","/bin/sh",0); - - my $skeletonDir=read_entry(". default skeleton directory","","/etc/skel",0); - -@@ -441,7 +441,7 @@ - - # Login defs - # Default Login Shell --# Ex: userLoginShell=\"/bin/bash\" -+# Ex: userLoginShell=\"/bin/sh\" - userLoginShell=\"$userLoginShell\" - - # Home directory -@@ -511,12 +511,12 @@ - # Allows not to use smbpasswd (if with_smbpasswd=\"0\" in smbldap.conf) but - # prefer Crypt::SmbHash library - with_smbpasswd=\"0\" --smbpasswd=\"/usr/bin/smbpasswd\" -+smbpasswd=\"%%LOCALBASE%%/bin/smbpasswd\" - - # Allows not to use slappasswd (if with_slappasswd=\"0\" in smbldap.conf) - # but prefer Crypt:: libraries - with_slappasswd=\"0\" --slappasswd=\"/usr/sbin/slappasswd\" -+slappasswd=\"%%LOCALBASE%%/sbin/slappasswd\" - - # comment out the following line to get rid of the default banner - # no_banner=\"1\" -@@ -557,3 +557,10 @@ - $mode=0600; - chmod $mode,"$smbldap_bind_conf","$smbldap_bind_conf.old"; - -+ -+############################################################ -+ -+=head1 NAME -+ -+=cut -+ diff --git a/net/smbldap-tools/pkg-descr b/net/smbldap-tools/pkg-descr deleted file mode 100644 index 88f512b9fa01..000000000000 --- a/net/smbldap-tools/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -A collection of scripts, "over" user{add,del,mod} and group{add,del,mod} -system tools to manipulate users and groups stored in LDAP directory, -for DEN system like SAMBA-LDAP and pam/nss_ldap systems. - -Additionnaly, some scripts are designed to ease your migration from -a Windows NT 4.0 PDC Server to a Samba-LDAP PDC Server (Killer?;-): -smbldap-populate, smbldap-migrate-groups, smbldap-migrate-accounts. - -WWW: https://gna.org/projects/smbldap-tools/ diff --git a/net/smbldap-tools/pkg-plist b/net/smbldap-tools/pkg-plist deleted file mode 100644 index f50a60323e71..000000000000 --- a/net/smbldap-tools/pkg-plist +++ /dev/null @@ -1,21 +0,0 @@ -sbin/smbldap-config -sbin/smbldap-groupadd -sbin/smbldap-groupdel -sbin/smbldap-grouplist -sbin/smbldap-groupmod -sbin/smbldap-groupshow -%%MIGRATION_SCRIPTS%%sbin/smbldap-migrate-pwdump-groups -%%MIGRATION_SCRIPTS%%sbin/smbldap-migrate-unix-accounts -%%MIGRATION_SCRIPTS%%sbin/smbldap-migrate-unix-groups -%%MIGRATION_SCRIPTS%%sbin/smbldap-migrate-pwdump-accounts -sbin/smbldap-passwd -sbin/smbldap-populate -sbin/smbldap-useradd -sbin/smbldap-userdel -sbin/smbldap-userinfo -sbin/smbldap-userlist -sbin/smbldap-usermod -sbin/smbldap-usershow -@sample %%ETCDIR%%/smbldap.conf.sample -@sample %%ETCDIR%%/smbldap_bind.conf.sample -%%SITE_PERL%%/smbldap_tools.pm diff --git a/net/tcptrace/Makefile b/net/tcptrace/Makefile deleted file mode 100644 index ac922cc9d2ce..000000000000 --- a/net/tcptrace/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# Created by: fenner -# $FreeBSD$ - -PORTNAME= tcptrace -PORTVERSION= 6.6.7 -CATEGORIES= net -MASTER_SITES= http://www.tcptrace.org/download/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= TCP dump file analysis tool - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -GNU_CONFIGURE= yes -ALL_TARGET= tcptrace - -PLIST_FILES= bin/${PORTNAME} \ - bin/xpl2gpl \ - man/man1/tcptrace.1.gz - -PORTDOCS= ARGS CHANGES FAQ README README.mailing_list \ - README.modules README.tline_graphs README.tput_graphs \ - README.version README.xpl2gpl THANKS dot_tcptracerc - -OPTIONS_DEFINE= DOCS - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tcptrace ${STAGEDIR}${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/xpl2gpl ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1 - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/net/tcptrace/distinfo b/net/tcptrace/distinfo deleted file mode 100644 index c2d87907266b..000000000000 --- a/net/tcptrace/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (tcptrace-6.6.7.tar.gz) = 63380a4051933ca08979476a9dfc6f959308bc9f60d45255202e388eb56910bd -SIZE (tcptrace-6.6.7.tar.gz) = 3773308 diff --git a/net/tcptrace/files/patch-tcpdump.c.diff b/net/tcptrace/files/patch-tcpdump.c.diff deleted file mode 100644 index 6741840aaa4f..000000000000 --- a/net/tcptrace/files/patch-tcpdump.c.diff +++ /dev/null @@ -1,17 +0,0 @@ ---- tcpdump.c.orig Thu May 5 18:41:30 2005 -+++ tcpdump.c Thu May 5 18:41:53 2005 -@@ -112,10 +112,13 @@ - /* for some reason, the windows version of tcpdump is using */ - /* this. It looks just like ethernet to me */ - case PCAP_DLT_EN10MB: -- offset = find_ip_eth(buf); /* Here we check if we are dealing with Straight Ethernet encapsulation or PPPoE */ -+ offset = find_ip_eth(buf); /* Here we check if we are dealing with Straight Ethernet encapsulation, PPPoE or .1q VLAN encapsulation */ - memcpy(ð_header, buf, EH_SIZE); /* save ether header */ - switch (offset) - { -+ case EH_SIZE + ETHER_VLAN_ENCAP_LEN: -+ memcpy(ð_header.ether_type, buf+EH_SIZE+2, 2); -+ /* FALLTHROUGH */ - case EH_SIZE: /* straight Ethernet encapsulation */ - memcpy((char *)ip_buf,buf+offset,iplen-offset); - callback_plast = ip_buf+iplen-offset-1; diff --git a/net/tcptrace/files/patch-tcpdump.h.diff b/net/tcptrace/files/patch-tcpdump.h.diff deleted file mode 100644 index f64859705096..000000000000 --- a/net/tcptrace/files/patch-tcpdump.h.diff +++ /dev/null @@ -1,34 +0,0 @@ ---- tcpdump.h.orig Thu May 5 18:41:37 2005 -+++ tcpdump.h Thu May 5 18:41:53 2005 -@@ -179,7 +179,7 @@ - } - - /* This function determine the offset for the IP packet in an Ethernet frame */ --/* We handle two cases : straight Ethernet encapsulation or PPPoE encapsulation */ -+/* We handle three cases : straight Ethernet, PPPoE, or .1q VLAN encapsulation */ - /* Written by Yann Samama (ysamama@nortelnetworks.com) on july 18th, 2003 */ - static int find_ip_eth(char* buf) - { -@@ -192,16 +192,19 @@ - switch (eth_proto_type) - { - case ETHERTYPE_IPV6: /* it's pure IPv6 over ethernet */ -- offset = 14; -- break; -+ /* FALLTHROUGH */ - case ETHERTYPE_IP: /* it's pure IPv4 over ethernet */ -- offset = 14; -+ offset = sizeof(struct ether_header); - break; - case ETHERTYPE_PPPOE_SESSION: /* it's a PPPoE session */ - memcpy(&ppp_proto_type, buf+20, 2); - ppp_proto_type = ntohs(ppp_proto_type); - if (ppp_proto_type == 0x0021) /* it's IP over PPPoE */ - offset = PPPOE_SIZE; -+ break; -+ case ETHERTYPE_VLAN: -+ offset = sizeof(struct ether_header) + -+ ETHER_VLAN_ENCAP_LEN; - break; - default: /* well, this is not an IP packet */ - offset = -1; diff --git a/net/tcptrace/files/patch-tcptrace.h.diff b/net/tcptrace/files/patch-tcptrace.h.diff deleted file mode 100644 index 8c3a44487abb..000000000000 --- a/net/tcptrace/files/patch-tcptrace.h.diff +++ /dev/null @@ -1,13 +0,0 @@ ---- tcptrace.h.orig Thu May 5 18:41:47 2005 -+++ tcptrace.h Thu May 5 18:41:53 2005 -@@ -1182,6 +1182,10 @@ - #define ETHERTYPE_VLAN 0x8100 - #endif /* 802.1Q Virtual LAN */ - -+#ifndef ETHER_VLAN_ENCAP_LEN -+#define ETHER_VLAN_ENCAP_LEN 4 -+#endif /* 802.1Q tag header length */ -+ - /* support for PPPoE encapsulation added by Yann Samama (ysamama@nortelnetworks.com)*/ - #ifndef ETHERTYPE_PPPOE_SESSION - #define ETHERTYPE_PPPOE_SESSION 0x8864 diff --git a/net/tcptrace/pkg-descr b/net/tcptrace/pkg-descr deleted file mode 100644 index 34e364fe651a..000000000000 --- a/net/tcptrace/pkg-descr +++ /dev/null @@ -1,15 +0,0 @@ -tcptrace is a TCP connection analysis tool. It can tell you detailed -information about TCP connections by sifting through dump files. -The dump file formats supported are: - Standard tcpdump format (you need the pcap library) - Sun's snoop format - Macintosh Etherpeek format - HP/NetMetrix protocol analysis format - NS simulator output format - NetScout - NLANR Tsh Format - -To see the graphs, you'll also need Tim Shepard's xplot program, -available at http://www.xplot.org - -WWW: http://www.tcptrace.org/ diff --git a/net/wackford-squeers/Makefile b/net/wackford-squeers/Makefile deleted file mode 100644 index 4d80ae6df7b9..000000000000 --- a/net/wackford-squeers/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Created by: James Bailie <jimmy@mammothcheese.ca> -# $FreeBSD$ - -PORTNAME= wackford-squeers -PORTVERSION= 1.19 -CATEGORIES= net -MASTER_SITES= http://www.mammothcheese.ca/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Plain text network hypertext server and client - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -RUN_DEPENDS= ${LOCALBASE}/bin/munger:lang/munger - -MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ - INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}" - -.include <bsd.port.mk> diff --git a/net/wackford-squeers/distinfo b/net/wackford-squeers/distinfo deleted file mode 100644 index 545d3247236b..000000000000 --- a/net/wackford-squeers/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (wackford-squeers-1.19.tar.gz) = 9b9c4beb8c0c5510e1b2ac186970a5bc01ffd5220cdfa85ee5adcdb2997241b5 -SIZE (wackford-squeers-1.19.tar.gz) = 23377 diff --git a/net/wackford-squeers/pkg-descr b/net/wackford-squeers/pkg-descr deleted file mode 100644 index 086e19f864d4..000000000000 --- a/net/wackford-squeers/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -Wackford and Squeers are the client and server, respectively, of the SHYTE -plain text network hypertext system. SHYTE is a plain text alternative to -the web. The very first SHYTE site may be visited via wackford at -<mammothcheese.ca/root>. - -SHYTE is _S_imple _HY_per_TE_xt. Read the wackford(1), squeers(8), and -shyte(5) manuals for details. - -WWW: http://www.mammothcheese.ca/ diff --git a/net/wackford-squeers/pkg-plist b/net/wackford-squeers/pkg-plist deleted file mode 100644 index 2682f6502b84..000000000000 --- a/net/wackford-squeers/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -man/man1/wackford.1.gz -man/man5/shyte.5.gz -man/man8/squeers.8.gz -bin/wackford -bin/squeers -etc/rc.d/squeers diff --git a/net/wmnet2/Makefile b/net/wmnet2/Makefile deleted file mode 100644 index 1df55a9f2a91..000000000000 --- a/net/wmnet2/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# Created by: Paolo Pisati <flag@libero.it> -# $FreeBSD$ - -PORTNAME= wmnet2 -PORTVERSION= 1.06 -PORTREVISION= 5 -CATEGORIES= net -MASTER_SITES= http://fossies.org/linux/misc/old/ \ - http://linux-bsd-unix.strefa.pl/ -DISTNAME= wmnet-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Nice network monitor for WindowMaker - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -USES= imake -USE_XORG= x11 xext - -PLIST_FILES= bin/wmnet2 man/man1/wmnet2.1.gz - -post-extract: - @${LN} -sf wmnet.man ${WRKSRC}/wmnet2.man - -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wmnet2 - -.include <bsd.port.mk> diff --git a/net/wmnet2/distinfo b/net/wmnet2/distinfo deleted file mode 100644 index b2f4ba3e5bf9..000000000000 --- a/net/wmnet2/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (wmnet-1.06.tar.gz) = 79c6ef93126d2a4928818391c0aa20638d47cd9dca12d999e774591f9b2d365d -SIZE (wmnet-1.06.tar.gz) = 27506 diff --git a/net/wmnet2/files/patch-Imakefile b/net/wmnet2/files/patch-Imakefile deleted file mode 100644 index 4d47aa051b89..000000000000 --- a/net/wmnet2/files/patch-Imakefile +++ /dev/null @@ -1,34 +0,0 @@ ---- Imakefile.orig -+++ Imakefile -@@ -1,5 +1,4 @@ - DEPLIBS = $(DEPXLIB) --CC = gcc -Wall - - #ifdef LinuxArchitecture - STD_DEFINES = -Dlinux -@@ -10,14 +9,17 @@ - LOCAL_LIBRARIES = $(XLIB) -lm - #endif - --#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture) -+#if defined (OpenBSDArchitecture) - LOCAL_LIBRARIES = $(XLIB) -lm -lkvm - INSTPGMFLAGS = -s -g kmem -m 2755 -+#elif defined (FreeBSDArchitecture) -+LOCAL_LIBRARIES = $(XLIB) -lm -+INSTPGMFLAGS = -m 0755 - #endif - - LINTLIBS = $(LINTXLIB) - --#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture) -+#if defined (OpenBSDArchitecture) - SRCS = wmnet.c drivers.c getopt.c getopt1.c - OBJS = wmnet.o drivers.o getopt.o getopt1.o - #else -@@ -26,4 +28,4 @@ - #endif - - --ComplexProgramTarget(wmnet) -+ComplexProgramTarget(wmnet2) diff --git a/net/wmnet2/files/patch-config.h b/net/wmnet2/files/patch-config.h deleted file mode 100644 index 9818481d2353..000000000000 --- a/net/wmnet2/files/patch-config.h +++ /dev/null @@ -1,23 +0,0 @@ ---- config.h.orig -+++ config.h -@@ -1,6 +1,6 @@ --#if defined (__FreeBSD__) || defined (__OpenBSD__) -+#if defined (__OpenBSD__) - --/* Our only FreeBSD driver, this goes straight into kernel memory -+/* Our only OpenBSD driver(old FreeBSD-4.x driver), this goes straight into kernel memory - * and reads the raw structures from right underneath the kernel using the - * kvm library. This made the code a require a little more thought, but - * the end result is a statistics driver thats faster than the linux ones -@@ -12,7 +12,11 @@ - - #endif - -+#if defined (__FreeBSD__) - -+#define USE_SYSCTL -+ -+#endif - - #ifdef linux - diff --git a/net/wmnet2/files/patch-drivers.c b/net/wmnet2/files/patch-drivers.c deleted file mode 100644 index 2d97fc358a0c..000000000000 --- a/net/wmnet2/files/patch-drivers.c +++ /dev/null @@ -1,167 +0,0 @@ ---- drivers.c.orig Tue Apr 27 09:22:02 2004 -+++ drivers.c Tue Apr 27 09:32:19 2004 -@@ -21,7 +21,7 @@ - #include"config.h" - - --/* For FreeBSD */ -+/* For OpenBSD */ - #ifdef USE_KVM - #include<net/if.h> - #include<kvm.h> -@@ -37,6 +37,22 @@ - int kvm_updateStats(void); - #endif /* USE_KVM */ - -+#ifdef USE_SYSCTL -+/* system headers */ -+#include <sys/types.h> -+#include <sys/sysctl.h> -+#include <sys/socket.h> -+#include <net/if.h> -+#include <net/if_mib.h> -+#include <sys/errno.h> -+ -+int id = 0; /* interface id */ -+size_t len = 0; /* sizeof libmibdata */ -+struct ifmibdata *data = NULL; -+ -+int sysctl_test(void); -+int sysctl_updateStats(void); -+#endif - - #ifdef USE_LINUX_PPP - #include<net/ppp_defs.h> -@@ -104,12 +120,15 @@ - #ifdef USE_KVM - {"kmem",kvm_updateStats, kvm_test}, - #endif -+#ifdef USE_SYSCTL -+ {"sysctl",sysctl_updateStats, sysctl_test}, -+#endif - {NULL, NULL} - }; - - char* available_drivers(void) { - int ind = 0; -- int len = 0; -+ size_t len = 0; - char *string, *ptr; - while(drivers[ind].name != NULL) { - len += strlen(drivers[ind].name) + 1; -@@ -440,6 +459,115 @@ - - #endif /* linux */ - -+/* new FreeBSD driver */ -+#ifdef USE_SYSCTL -+ -+int sysctl_test(void) { -+ struct ifmibdata tempndata; -+ int numifaces; -+ size_t len2; -+ int mib[5], datamib[6]; -+ int i; -+ -+ if(device == NULL) device = "lo0"; -+ -+ mib[0] = CTL_NET; -+ mib[1] = PF_LINK; -+ mib[2] = NETLINK_GENERIC; -+ mib[3] = IFMIB_SYSTEM; -+ mib[4] = IFMIB_IFCOUNT; -+ -+ datamib[0] = CTL_NET; -+ datamib[1] = PF_LINK; -+ datamib[2] = NETLINK_GENERIC; -+ datamib[3] = IFMIB_IFDATA; -+ datamib[4] = 1; -+ datamib[5] = IFDATA_GENERAL; -+ -+ len = sizeof(struct ifmibdata); -+ len2 = sizeof(numifaces); -+ -+ if(sysctl(mib, 5, &numifaces, &len2, NULL, 0) < 0) -+ { -+ fprintf( stderr, "wmnet: failed to perform sysctl" ); -+ return 0; -+ } -+ -+ for(i = 1; i <= numifaces; i++) -+ { -+ datamib[4] = i; -+ if(sysctl(datamib, 6, &tempndata, &len, NULL, 0) < 0) -+ { -+ fprintf( stderr, "wmnet: failed to get device(%d) data", i ); -+ break; -+ } -+ -+ if( strcmp( device, tempndata.ifmd_name ) == 0 ) -+ { -+ id = i; -+ break; -+ } -+ } -+ -+ if ( id == 0 ) { -+ fprintf( stderr, "%s doesn't seem to exist!\n", device ); -+ exit( -1 ); -+ } -+ -+ /* calculate and allocate mem for ifmibdata containing the if stats */ -+ data = malloc(len); -+ -+ fprintf(stderr, "wmnet: using sysctl driver to monitor %s\n", device); -+ return True; -+} -+ -+int sysctl_updateStats(void) { -+ int datamib[6]; -+ -+ datamib[0] = CTL_NET; -+ datamib[1] = PF_LINK; -+ datamib[2] = NETLINK_GENERIC; -+ datamib[3] = IFMIB_IFDATA; -+ datamib[4] = id; -+ datamib[5] = IFDATA_GENERAL; -+ -+ if(sysctl( datamib, 6, data, &len, NULL, 0) < 0 ) { -+ fprintf( stderr, "wmnet: can't monitor %s device\n", device ); -+ exit( -1 ); -+ } -+ -+ // printf( "if name: %s\n", data->ifmd_name ); -+ -+ /* get the stats from the if */ -+ totalpackets_in = data->ifmd_data.ifi_ipackets; -+ totalpackets_out = data->ifmd_data.ifi_opackets; -+ -+ if (totalpackets_in != lastpackets_in) { -+ totalbytes_in = data->ifmd_data.ifi_ibytes; -+ diffpackets_in += totalpackets_in - lastpackets_in; -+ diffbytes_in += totalbytes_in - lastbytes_in; -+ lastpackets_in = totalpackets_in; -+ lastbytes_in = totalbytes_in; -+ rx = True; -+ } else rx = False; -+ -+ if (totalpackets_out != lastpackets_out) { -+ totalbytes_out = data->ifmd_data.ifi_obytes; -+ diffpackets_out += totalpackets_out - lastpackets_out; -+ diffbytes_out += totalbytes_out - lastbytes_out; -+ lastpackets_out = totalpackets_out; -+ lastbytes_out = totalbytes_out; -+ tx = True; -+ } else tx = False; -+ -+ /* return True if no change to tx/rx -+ * return False if display will need to be updated -+ */ -+ return((rx == current_rx) && (tx == current_tx)); -+} -+ -+#endif -+ - #ifdef USE_KVM - int kvm_test(void) { - if (((kvmfd = kvm_open(NULL, NULL, NULL, O_RDONLY, buffer)) == NULL) || diff --git a/net/wmnet2/pkg-descr b/net/wmnet2/pkg-descr deleted file mode 100644 index 8bf11b71131d..000000000000 --- a/net/wmnet2/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -This little program polls network statistics and does a few things with -the data it gets. It has small blinking lights for the rx and tx of IP -packets, a digital speedometer of your polled stat's current speed and a -bar graph like xload et. al which has a tx speed graph from bottom-up -and rx speed graph from the top-down. The speedometer keeps track of the -current speed per second and shows it in a color corresponding to which -of rx or tx that has the highest speed at the moment. Also, the graph is -drawn in a way that the highest speed is drawn on top of the other while -the other is in the background. - -WWW: http://linux-bsd-unix.strefa.pl/ |