summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>1999-11-22 21:07:53 +0000
committeritojun <itojun@pkgsrc.org>1999-11-22 21:07:53 +0000
commit9683e5c7b646afa1990083a2ab016b304cbf91f9 (patch)
treec9ea74ac752c50504ba39e399d10fb23dca249f4 /net
parentcf55c1a1a435c7278275e6c654fb7670377a2652 (diff)
downloadpkgsrc-9683e5c7b646afa1990083a2ab016b304cbf91f9.tar.gz
net/totd: DNS proxy that supports IPv6 <==> IPv4 record translation.
XXX the pkgsrc Makefile requires USE_INET6 in mk.conf at this moment, as the program is meaningful only if you have IPv4/v6 dual-stack support. I'm not sure if it actually requires IPv6 in kernel...
Diffstat (limited to 'net')
-rw-r--r--net/Makefile3
-rw-r--r--net/totd/Makefile10
-rw-r--r--net/totd/patches/patch-ab1
3 files changed, 12 insertions, 2 deletions
diff --git a/net/Makefile b/net/Makefile
index ddbc1ca27b4..c71d5648f57 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.96 1999/11/18 22:28:29 hubertf Exp $
+# $NetBSD: Makefile,v 1.97 1999/11/22 21:07:53 itojun Exp $
# FreeBSD Id: Makefile,v 1.117 1997/08/16 03:11:52 gpalmer Exp
#
@@ -124,6 +124,7 @@
SUBDIR += tkicb
SUBDIR += tkirc
SUBDIR += tn5250
+ SUBDIR+= totd
# SUBDIR += traceroute
# SUBDIR += trafshow
SUBDIR+= ttcp
diff --git a/net/totd/Makefile b/net/totd/Makefile
index 038a0eba889..8c0869d08ea 100644
--- a/net/totd/Makefile
+++ b/net/totd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/11/22 21:04:01 itojun Exp $
+# $NetBSD: Makefile,v 1.2 1999/11/22 21:07:54 itojun Exp $
#
DISTNAME= totd-1.1p1
@@ -10,6 +10,14 @@ HOMEPAGE= http://www.vermicelli.cs.uit.no/ipv6/software.html
WRKSRC= ${WRKDIR}/totd-1.1p1
+BUILD_DEFS+= USE_INET6
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !(defined(USE_INET6) && ${USE_INET6} == YES)
+BROKEN= "this is designed for IPv6/v4 dual stack node"
+.endif
+
GNU_CONFIGURE= YES
post-install:
diff --git a/net/totd/patches/patch-ab b/net/totd/patches/patch-ab
index 84baa5831e9..1aa7f55a8d2 100644
--- a/net/totd/patches/patch-ab
+++ b/net/totd/patches/patch-ab
@@ -1,3 +1,4 @@
+$NetBSD: patch-ab,v 1.2 1999/11/22 21:07:54 itojun Exp $
--- Makefile.in- Wed Oct 6 19:53:01 1999
+++ Makefile.in Wed Oct 6 19:53:11 1999
@@ -39,7 +39,7 @@