summaryrefslogtreecommitdiffstats
path: root/net/totd
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-11-17 23:08:15 +0000
committerkris <kris@FreeBSD.org>2000-11-17 23:08:15 +0000
commit82b104701706b34794445f6b7906b6fa3cd0b220 (patch)
treeb18718bac2ac0390ed458c64c9fb24ebec899c4b /net/totd
parent4bf8d2e043184a41939b16282db6737abaab5b96 (diff)
downloadFreeBSD-ports-82b104701706b34794445f6b7906b6fa3cd0b220.zip
FreeBSD-ports-82b104701706b34794445f6b7906b6fa3cd0b220.tar.gz
totd 1.1p4 is a DNS proxy that supports IPv6 <==> IPv4 record translation
Obtained from: OpenBSD
Diffstat (limited to 'net/totd')
-rw-r--r--net/totd/Makefile20
-rw-r--r--net/totd/distinfo1
-rw-r--r--net/totd/files/patch-aa14
-rw-r--r--net/totd/files/totd.conf.sample6
-rw-r--r--net/totd/pkg-comment1
-rw-r--r--net/totd/pkg-deinstall16
-rw-r--r--net/totd/pkg-descr11
-rw-r--r--net/totd/pkg-install45
-rw-r--r--net/totd/pkg-plist2
9 files changed, 116 insertions, 0 deletions
diff --git a/net/totd/Makefile b/net/totd/Makefile
new file mode 100644
index 0000000..e885116
--- /dev/null
+++ b/net/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/net/totd/distinfo b/net/totd/distinfo
new file mode 100644
index 0000000..5bccad4
--- /dev/null
+++ b/net/totd/distinfo
@@ -0,0 +1 @@
+MD5 (totd-1.1p4.tar.gz) = 898373f788d7a75e3430dc3c88886b18
diff --git a/net/totd/files/patch-aa b/net/totd/files/patch-aa
new file mode 100644
index 0000000..2a3cb92
--- /dev/null
+++ b/net/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/net/totd/files/totd.conf.sample b/net/totd/files/totd.conf.sample
new file mode 100644
index 0000000..bec4e9f
--- /dev/null
+++ b/net/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/net/totd/pkg-comment b/net/totd/pkg-comment
new file mode 100644
index 0000000..46190ec
--- /dev/null
+++ b/net/totd/pkg-comment
@@ -0,0 +1 @@
+DNS proxy that supports IPv6 <==> IPv4 record translation
diff --git a/net/totd/pkg-deinstall b/net/totd/pkg-deinstall
new file mode 100644
index 0000000..cc026d9
--- /dev/null
+++ b/net/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/net/totd/pkg-descr b/net/totd/pkg-descr
new file mode 100644
index 0000000..caa0f88
--- /dev/null
+++ b/net/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/net/totd/pkg-install b/net/totd/pkg-install
new file mode 100644
index 0000000..de1a95c
--- /dev/null
+++ b/net/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/net/totd/pkg-plist b/net/totd/pkg-plist
new file mode 100644
index 0000000..19aba00
--- /dev/null
+++ b/net/totd/pkg-plist
@@ -0,0 +1,2 @@
+sbin/totd
+etc/totd.conf.sample
OpenPOWER on IntegriCloud