aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-11-17 23:08:15 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-11-17 23:08:15 +0000
commit951ea6cda94dab89321380c06d354d4caca9a183 (patch)
tree2a41023f3bc5c3b8f79b262dacc7676d707907e3 /dns
parent1239b317c986178c3068f5603c60a0f0b5e37728 (diff)
downloadports-951ea6cda94dab89321380c06d354d4caca9a183.tar.gz
ports-951ea6cda94dab89321380c06d354d4caca9a183.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/totd/Makefile20
-rw-r--r--dns/totd/distinfo1
-rw-r--r--dns/totd/files/patch-aa14
-rw-r--r--dns/totd/files/totd.conf.sample6
-rw-r--r--dns/totd/pkg-comment1
-rw-r--r--dns/totd/pkg-deinstall16
-rw-r--r--dns/totd/pkg-descr11
-rw-r--r--dns/totd/pkg-install45
-rw-r--r--dns/totd/pkg-plist2
9 files changed, 116 insertions, 0 deletions
diff --git a/dns/totd/Makefile b/dns/totd/Makefile
new file mode 100644
index 000000000000..e885116966dd
--- /dev/null
+++ b/dns/totd/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: totd
+# Date created: 17 Nov 2000
+# Whom: Kris Kennaway <kris@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= totd
+PORTVERSION= 1.1.4
+CATEGORIES= net ipv6
+MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/
+DISTNAME= totd-1.1p4
+
+MAINTAINER= kris@FreeBSD.org
+
+GNU_CONFIGURE= YES
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/totd.conf.sample ${PREFIX}/etc
+
+.include <bsd.port.mk>
diff --git a/dns/totd/distinfo b/dns/totd/distinfo
new file mode 100644
index 000000000000..5bccad459a81
--- /dev/null
+++ b/dns/totd/distinfo
@@ -0,0 +1 @@
+MD5 (totd-1.1p4.tar.gz) = 898373f788d7a75e3430dc3c88886b18
diff --git a/dns/totd/files/patch-aa b/dns/totd/files/patch-aa
new file mode 100644
index 000000000000..2a3cb92ea7c9
--- /dev/null
+++ b/dns/totd/files/patch-aa
@@ -0,0 +1,14 @@
+--- config.h.in- Sun Apr 23 22:17:36 2000
++++ config.h.in Sun Apr 23 22:17:45 2000
+@@ -33,9 +33,9 @@
+
+ /* security aware -- seteuid if tot doesn't need priveledge. */
+ /* the user/group name to use ... i recommend to make account of tot */
+-#define TOT_USER "tot"
++/*#define TOT_USER "tot"*/
+ /* define loglevel if you need log for each root priv action */
+-#define TOT_USER_LOGLVL LOG_INFO
++/*#define TOT_USER_LOGLVL LOG_INFO*/
+
+ /* if you use IPV6 */
+ /*#define USE_INET6*/
diff --git a/dns/totd/files/totd.conf.sample b/dns/totd/files/totd.conf.sample
new file mode 100644
index 000000000000..bec4e9f629e6
--- /dev/null
+++ b/dns/totd/files/totd.conf.sample
@@ -0,0 +1,6 @@
+; $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/dns/totd/pkg-comment b/dns/totd/pkg-comment
new file mode 100644
index 000000000000..46190ecbe187
--- /dev/null
+++ b/dns/totd/pkg-comment
@@ -0,0 +1 @@
+DNS proxy that supports IPv6 <==> IPv4 record translation
diff --git a/dns/totd/pkg-deinstall b/dns/totd/pkg-deinstall
new file mode 100644
index 000000000000..cc026d9a149b
--- /dev/null
+++ b/dns/totd/pkg-deinstall
@@ -0,0 +1,16 @@
+#!/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/dns/totd/pkg-descr b/dns/totd/pkg-descr
new file mode 100644
index 000000000000..caa0f883a3a7
--- /dev/null
+++ b/dns/totd/pkg-descr
@@ -0,0 +1,11 @@
+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.cs.uit.no/ipv6/software.html
diff --git a/dns/totd/pkg-install b/dns/totd/pkg-install
new file mode 100644
index 000000000000..de1a95c9dfbf
--- /dev/null
+++ b/dns/totd/pkg-install
@@ -0,0 +1,45 @@
+#! /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 /etc/totd.conf ]; then
+ echo "yes"
+ echo "Please compare your existing configuration with"
+ echo "${PREFIX}/share/totd/totd.conf.sample"
+ else
+ echo "no"
+ echo -n "Copying sample configuration file... "
+ install -o root -g wheel -m 644 ${PREFIX}/share/totd/totd.conf.sample \
+ /etc/totd.conf
+ echo "ok"
+ echo "Please review new configuration /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/dns/totd/pkg-plist b/dns/totd/pkg-plist
new file mode 100644
index 000000000000..19aba00423c7
--- /dev/null
+++ b/dns/totd/pkg-plist
@@ -0,0 +1,2 @@
+sbin/totd
+etc/totd.conf.sample