diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-11-17 23:08:15 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-11-17 23:08:15 +0000 |
commit | 951ea6cda94dab89321380c06d354d4caca9a183 (patch) | |
tree | 2a41023f3bc5c3b8f79b262dacc7676d707907e3 /net | |
parent | Fix MASTER_SITES, switch maintainer from ports@FreeBSD.org (diff) |
totd 1.1p4 is a DNS proxy that supports IPv6 <==> IPv4 record translation
Obtained from: OpenBSD
Notes
Notes:
svn path=/head/; revision=35234
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/totd/Makefile | 20 | ||||
-rw-r--r-- | net/totd/distinfo | 1 | ||||
-rw-r--r-- | net/totd/files/patch-aa | 14 | ||||
-rw-r--r-- | net/totd/files/totd.conf.sample | 6 | ||||
-rw-r--r-- | net/totd/pkg-comment | 1 | ||||
-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 | 2 |
10 files changed, 117 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 4892209dc735..6a6b6c2d9651 100644 --- a/net/Makefile +++ b/net/Makefile @@ -270,6 +270,7 @@ SUBDIR += tinyfugue SUBDIR += tn3270 SUBDIR += tn5250 + SUBDIR += totd SUBDIR += traceroute SUBDIR += trafd SUBDIR += trafshow diff --git a/net/totd/Makefile b/net/totd/Makefile new file mode 100644 index 000000000000..e885116966dd --- /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 000000000000..5bccad459a81 --- /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 000000000000..2a3cb92ea7c9 --- /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 000000000000..bec4e9f629e6 --- /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 000000000000..46190ecbe187 --- /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 000000000000..cc026d9a149b --- /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 000000000000..caa0f883a3a7 --- /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 000000000000..de1a95c9dfbf --- /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 000000000000..19aba00423c7 --- /dev/null +++ b/net/totd/pkg-plist @@ -0,0 +1,2 @@ +sbin/totd +etc/totd.conf.sample |