diff options
Diffstat (limited to 'net/totd')
-rw-r--r-- | net/totd/Makefile | 25 | ||||
-rw-r--r-- | net/totd/distinfo | 1 | ||||
-rw-r--r-- | net/totd/files/patch-conv_stf.c | 12 | ||||
-rw-r--r-- | net/totd/files/patch-ev_signal.c | 13 | ||||
-rw-r--r-- | net/totd/files/patch-ne_mesg.c | 30 | ||||
-rw-r--r-- | net/totd/files/patch-tcp_response.c | 12 | ||||
-rw-r--r-- | net/totd/files/totd.conf.sample | 6 | ||||
-rw-r--r-- | net/totd/files/totd.sh | 18 | ||||
-rw-r--r-- | net/totd/pkg-deinstall | 16 | ||||
-rw-r--r-- | net/totd/pkg-descr | 11 | ||||
-rw-r--r-- | net/totd/pkg-install | 45 | ||||
-rw-r--r-- | net/totd/pkg-plist | 3 |
12 files changed, 0 insertions, 192 deletions
diff --git a/net/totd/Makefile b/net/totd/Makefile deleted file mode 100644 index d128d4ee4e7c..000000000000 --- a/net/totd/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: totd -# Date created: 17 Nov 2000 -# Whom: Kris Kennaway <kris@FreeBSD.org> -# -# $FreeBSD$ - -PORTNAME= totd -PORTVERSION= 1.3 -PORTREVISION= 3 -CATEGORIES= net ipv6 -MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= DNS proxy that supports IPv6 <==> IPv4 record translation - -MAN8= totd.8 - -GNU_CONFIGURE= YES - -post-install: - ${INSTALL_DATA} ${FILESDIR}/totd.conf.sample ${PREFIX}/etc - @${SED} 's@%PREFIX%@${LOCALBASE}@g' ${FILESDIR}/totd.sh > ${PREFIX}/etc/rc.d/totd.sh - @${CHMOD} +x ${PREFIX}/etc/rc.d/totd.sh - -.include <bsd.port.mk> diff --git a/net/totd/distinfo b/net/totd/distinfo deleted file mode 100644 index 9c8b704456a1..000000000000 --- a/net/totd/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (totd-1.3.tar.gz) = bc6b85a5bddb72fc3fb20fa9fe50d3a0 diff --git a/net/totd/files/patch-conv_stf.c b/net/totd/files/patch-conv_stf.c deleted file mode 100644 index e31ed941a98f..000000000000 --- a/net/totd/files/patch-conv_stf.c +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru work/totd-1.3/conv_stf.c work~/totd-1.3/conv_stf.c ---- conv_stf.c.orig Mon Mar 4 04:34:10 2002 -+++ conv_stf.c Sat Jun 14 22:16:03 2003 -@@ -94,7 +94,7 @@ - owner_len, owner, rrl); - rr_list_free (rrl); - -- syslog (LOG_DEBUG, "%s: rrs_new %x", fn, (unsigned int) rrs_new); -+ syslog (LOG_DEBUG, "%s: rrs_new %p", fn, rrs_new); - return (rrs_new); - } - diff --git a/net/totd/files/patch-ev_signal.c b/net/totd/files/patch-ev_signal.c deleted file mode 100644 index d271603be93c..000000000000 --- a/net/totd/files/patch-ev_signal.c +++ /dev/null @@ -1,13 +0,0 @@ -Index: ev_signal.c -diff -u ev_signal.c.orig ev_signal.c ---- ev_signal.c.orig Thu Sep 7 05:28:36 2000 -+++ ev_signal.c Sun Nov 18 08:58:10 2001 -@@ -94,7 +94,7 @@ - SIGINT, ev_signal_initiator_generic, ev_handler_cleanup - }, - { -- SIGHUP, ev_signal_initiator_generic, ev_handler_cleanup -+ SIGHUP, SIG_IGN, NULL - }, - { - SIGTERM, ev_signal_initiator_generic, ev_handler_cleanup diff --git a/net/totd/files/patch-ne_mesg.c b/net/totd/files/patch-ne_mesg.c deleted file mode 100644 index 64c488c0994a..000000000000 --- a/net/totd/files/patch-ne_mesg.c +++ /dev/null @@ -1,30 +0,0 @@ -diff -ru work/totd-1.3/ne_mesg.c work~/totd-1.3/ne_mesg.c ---- ne_mesg.c.orig Wed Mar 6 06:56:02 2002 -+++ ne_mesg.c Sat Jun 14 22:17:24 2003 -@@ -59,7 +59,7 @@ - - /* write qname */ - if (T.debug > 4) -- syslog (LOG_DEBUG, "%s: qname offset = %d", fn, ucp - buf); -+ syslog (LOG_DEBUG, "%s: qname offset = %d", fn, (int)(ucp - buf)); - - i = dname_copy (qname, ucp, buflen - written_len); - if (i < 0) -@@ -71,7 +71,7 @@ - /* write qtype / qclass */ - if (T.debug > 4) - syslog (LOG_DEBUG, "%s: qtype/qclass offset = %d", -- fn, ucp - buf); -+ fn, (int)(ucp - buf)); - - written_len += sizeof (uint16_t) * 2; - if (written_len > buflen) -@@ -232,7 +232,7 @@ - } - - if (T.debug > 4) -- syslog (LOG_DEBUG, "%s: return %d", fn, *wp - wp_start); -+ syslog (LOG_DEBUG, "%s: return %d", fn, (int)(*wp - wp_start)); - - return (*wp - wp_start); - } diff --git a/net/totd/files/patch-tcp_response.c b/net/totd/files/patch-tcp_response.c deleted file mode 100644 index 88f38c92e97b..000000000000 --- a/net/totd/files/patch-tcp_response.c +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru work/totd-1.3/tcp_response.c work~/totd-1.3/tcp_response.c ---- tcp_response.c.orig Wed Mar 6 06:56:03 2002 -+++ tcp_response.c Sat Jun 14 22:17:56 2003 -@@ -116,7 +116,7 @@ - cont->wp += len; - if (cont->wp < (cont->mesg.p + cont->mesg_len)) { - syslog (LOG_DEBUG, "%s: left %d bytes -- continue.", fn, -- (cont->mesg.p + cont->mesg_len) - cont->wp); -+ (int)((cont->mesg.p + cont->mesg_len) - cont->wp)); - - /* SUCCESS */ - return 0; /* the processing continues ... */ diff --git a/net/totd/files/totd.conf.sample b/net/totd/files/totd.conf.sample deleted file mode 100644 index bec4e9f629e6..000000000000 --- a/net/totd/files/totd.conf.sample +++ /dev/null @@ -1,6 +0,0 @@ -; $NetBSD: totd.conf.sample,v 1.1.1.1 1999/11/22 21:04:01 itojun Exp $ -; Totd sample configuration file -forwarder 192.168.0.1 port 5000 -forwarder 3ffe:2a00:100:3001::2 port 53 -prefix 3ffe:abcd:1234:9876:: -retry 300 diff --git a/net/totd/files/totd.sh b/net/totd/files/totd.sh deleted file mode 100644 index 9a528db44489..000000000000 --- a/net/totd/files/totd.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -case "$1" in - start) - if [ -x %PREFIX%/sbin/totd ]; then - %PREFIX%/sbin/totd && echo -n ' totd' - fi - ;; - - stop) - /usr/bin/killall totd && echo -n ' totd' - ;; - - *) - echo "Usage: `basename $0` { start | stop }" - exit 64 - ;; -esac diff --git a/net/totd/pkg-deinstall b/net/totd/pkg-deinstall deleted file mode 100644 index cc026d9a149b..000000000000 --- a/net/totd/pkg-deinstall +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# $OpenBSD: DEINSTALL,v 1.1 2000/06/11 01:15:53 fgsch Exp $ -# -# Post-deinstallation cleanup of totd - -echo "" -echo "** To completely deinstall the totd package you need to perform this" -echo "** as root:" -echo "**" -echo "** rm -f /etc/totd.conf" -echo "**" -echo "** Be absolutly sure you want to completely remove the package before" -echo "** issuing this command." -echo "" - -exit 0 diff --git a/net/totd/pkg-descr b/net/totd/pkg-descr deleted file mode 100644 index dfac332d7f74..000000000000 --- a/net/totd/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -Totd is a small DNS proxy nameserver that supports IPv6 only hosts/networks -that communicate with the IPv4 world using some translation mechanism. -Examples of such translation mechanisms currently in use are: - - * IPv6/IPv4 Network Address and Packet Translation (NAT-PT) - implemented e.g. by Cisco. - * Application level translators as the faithd implemented by - the KAME project (http://www.kame.net). See faithd(8) on - *BSD/Kame. - -WWW: http://www.vermicelli.pasta.cs.uit.no/ipv6/software.html diff --git a/net/totd/pkg-install b/net/totd/pkg-install deleted file mode 100644 index c64a12b12394..000000000000 --- a/net/totd/pkg-install +++ /dev/null @@ -1,45 +0,0 @@ -#! /bin/sh -# $OpenBSD: INSTALL,v 1.1 2000/06/11 01:15:53 fgsch Exp $ -# -# Post-installation setup of totd - based on majordomo INSTALL script -# from daniel@reichardt.ch - -set -e -PATH=/bin:/usr/bin:/sbin:/usr/sbin -PREFIX=${PKG_PREFIX:-/usr/local} - -do_install_configuration() -{ - echo -n "Let's see if there is already a configuration file... " - if [ -f ${PREFIX}/etc/totd.conf ]; then - echo "yes" - echo "Please compare your existing configuration with" - echo "${PREFIX}/etc/totd.conf.sample" - else - echo "no" - echo -n "Copying sample configuration file... " - install -o root -g wheel -m 644 ${PREFIX}/etc/totd.conf.sample \ - ${PREFIX}/etc/totd.conf - echo "ok" - echo "Please review new configuration ${PREFIX}/etc/totd.conf" - fi -} - -if [ $# -ne 2 ]; then - echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 - exit 1 -fi - -case $2 in - PRE-INSTALL) - ;; - POST-INSTALL) - do_install_configuration - ;; - *) - echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 - exit 1 - ;; -esac - -exit 0 diff --git a/net/totd/pkg-plist b/net/totd/pkg-plist deleted file mode 100644 index 7b2812b412dc..000000000000 --- a/net/totd/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -sbin/totd -etc/rc.d/totd.sh -etc/totd.conf.sample |