The 6to4 script can be used to setup IPv6 on your home machine and net-
work for exploring IPv6 without any registrations. 6to4 is a mechanism by which your IPv6 address(es) are derived from an assigned IPv4 address, and which involves automatic tunnelling to one or more remove 6to4 hubs, which will then forward your v6 packets on the 6bone etc. Replies are routed back to you over IPv4 via (possibly) other 6to4 capable remote gateways. As such, IPv6-in-IPv4-encapsulated packets are accepted from all v4-hosts. WWW: http://www.netbsd.org/packages/net/6to4/files/6to4.html PR: ports/40137 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
parent
175424b95d
commit
9878744f0b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66236
7 changed files with 68 additions and 0 deletions
44
net/6to4/Makefile
Normal file
44
net/6to4/Makefile
Normal file
|
@ -0,0 +1,44 @@
|
|||
# New ports collection makefile for: 6to4
|
||||
# Date created: 3 July 2002
|
||||
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= 6to4
|
||||
PORTVERSION= 1.2
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/net/6to4/files/
|
||||
DISTFILES= 6to4\?rev=1.7\&content-type=text%2fplain \
|
||||
6to4.8\?rev=1.5\&content-type=text%2fplain \
|
||||
6to4.conf\?rev=1.2\&content-type=text%2fplain
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= fuyuki@hadaly.org
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_PERL5= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
MAN8= 6to4.8
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKSRC}
|
||||
.for i in ${DISTFILES}
|
||||
${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC}/${i:C/\?.*$//}
|
||||
.endfor
|
||||
|
||||
do-patch:
|
||||
${REINPLACE_CMD} -e 's|\@LOCALBASE\@/bin/perl|${PERL}|; \
|
||||
s|\@PREFIX\@|${PREFIX}|' ${WRKSRC}/6to4
|
||||
${REINPLACE_CMD} -e 's|/usr/pkg|${PREFIX}|; \
|
||||
s|ip6mode=autohost|ipv6_gateway_enable="NO"|' ${WRKSRC}/6to4.8
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/6to4 ${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/6to4.8 ${PREFIX}/man/man8
|
||||
${INSTALL_DATA} ${WRKSRC}/6to4.conf ${PREFIX}/etc/6to4.conf.sample
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/6to4/distinfo
Normal file
3
net/6to4/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (6to4/6to4?rev=1.7&content-type=text%2fplain) = 97d81c3cbc6c026af31c9764e5c74d78
|
||||
MD5 (6to4/6to4.8?rev=1.5&content-type=text%2fplain) = 50d63c1abd2db188825eae488cac6acc
|
||||
MD5 (6to4/6to4.conf?rev=1.2&content-type=text%2fplain) = 9dd3bde583c529dd6787f378f7b99594
|
1
net/6to4/pkg-comment
Normal file
1
net/6to4/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Enables 6to4 IPv6 automatic tunnels
|
10
net/6to4/pkg-descr
Normal file
10
net/6to4/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
|||
The 6to4 script can be used to setup IPv6 on your home machine and net-
|
||||
work for exploring IPv6 without any registrations. 6to4 is a mechanism by
|
||||
which your IPv6 address(es) are derived from an assigned IPv4 address,
|
||||
and which involves automatic tunnelling to one or more remove 6to4 hubs,
|
||||
which will then forward your v6 packets on the 6bone etc. Replies are
|
||||
routed back to you over IPv4 via (possibly) other 6to4 capable remote
|
||||
gateways. As such, IPv6-in-IPv4-encapsulated packets are accepted from
|
||||
all v4-hosts.
|
||||
|
||||
WWW: http://www.netbsd.org/packages/net/6to4/files/6to4.html
|
7
net/6to4/pkg-message
Normal file
7
net/6to4/pkg-message
Normal file
|
@ -0,0 +1,7 @@
|
|||
===========================================================================
|
||||
|
||||
To configure this package, adjust ${PREFIX}/etc/6to4.conf from
|
||||
${PREFIX}/etc/6to4.conf.sample, then start "6to4 -v start".
|
||||
You should be able to "ping6 www.kame.net" after that.
|
||||
|
||||
===========================================================================
|
2
net/6to4/pkg-plist
Normal file
2
net/6to4/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
|||
sbin/6to4
|
||||
etc/6to4.conf.sample
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
SUBDIR += 44bsd-rdist
|
||||
SUBDIR += 6tunnel
|
||||
SUBDIR += 6to4
|
||||
SUBDIR += NeTraMet
|
||||
SUBDIR += SSLtelnet
|
||||
SUBDIR += adasockets
|
||||
|
|
Loading…
Reference in a new issue