Date: Fri, 26 Sep 2003 13:12:44 +0900 From: Kimura Fuyuki <fuyuki@nigredo.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/57232: New port: net/hf6to4 (replaces net/6to4) Message-ID: <86pthoxk5f.wl%fuyuki@nigredo.org> Resent-Message-ID: <200309260420.h8Q4KCq7065977@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57232 >Category: ports >Synopsis: New port: net/hf6to4 (replaces net/6to4) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 25 21:20:11 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kimura Fuyuki >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: FreeBSD ns.nigredo.org 5.1-CURRENT i386 >Description: This is a net/6to4 replacement written in /bin/sh. net/6to4 has to be removed, since its master pkgsrc is dead. http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/6to4/ >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # hf6to4 # hf6to4/Makefile # hf6to4/distinfo # hf6to4/pkg-descr # hf6to4/pkg-message # hf6to4/pkg-plist # echo c - hf6to4 mkdir -p hf6to4 > /dev/null 2>&1 echo x - hf6to4/Makefile sed 's/^X//' >hf6to4/Makefile << 'END-of-hf6to4/Makefile' X# New ports collection makefile for: hf6to4 X# Date created: 26 September 2003 X# Whom: Kimura Fuyuki <fuyuki@nigredo.org> X# X# $FreeBSD$ X# X XPORTNAME= hf6to4 XPORTVERSION= 1.1 XCATEGORIES= net ipv6 XMASTER_SITES= http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/net/hf6to4/files/ XDISTFILES= hf6to4\?rev=1.2\&content-type=text%2fplain \ X hf6to4.8\?rev=1.2\&content-type=text%2fplain \ X hf6to4.conf\?rev=1.2\&content-type=text%2fplain XDIST_SUBDIR= ${PORTNAME} X XMAINTAINER= fuyuki@nigredo.org XCOMMENT= Enables 6to4 IPv6 automatic tunnels X XUSE_REINPLACE= yes XNO_BUILD= yes X XMAN8= hf6to4.8 X Xdo-extract: X ${MKDIR} ${WRKSRC} X.for i in ${DISTFILES} X ${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC}/${i:C/\?.*$//} X.endfor X Xpost-patch: X ${REINPLACE_CMD} -e 's|/usr/pkg|${PREFIX}|g' \ X ${WRKSRC}/hf6to4 ${WRKSRC}/hf6to4.8 X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/hf6to4 ${PREFIX}/sbin X ${INSTALL_MAN} ${WRKSRC}/hf6to4.8 ${PREFIX}/man/man8 X ${INSTALL_DATA} ${WRKSRC}/hf6to4.conf ${PREFIX}/etc/hf6to4.conf.sample X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-hf6to4/Makefile echo x - hf6to4/distinfo sed 's/^X//' >hf6to4/distinfo << 'END-of-hf6to4/distinfo' XMD5 (hf6to4/hf6to4?rev=1.2&content-type=text%2fplain) = 1c622ba30f949d9ef02690a6e1d557d4 XMD5 (hf6to4/hf6to4.8?rev=1.2&content-type=text%2fplain) = e16aa3435ed0ee2f9e0017da9150487e XMD5 (hf6to4/hf6to4.conf?rev=1.2&content-type=text%2fplain) = 11ea51fb80fe77f0ca1dc480d8171bf1 END-of-hf6to4/distinfo echo x - hf6to4/pkg-descr sed 's/^X//' >hf6to4/pkg-descr << 'END-of-hf6to4/pkg-descr' XThe hf6to4 script can be used to setup IPv6 on your home machine and Xnetwork for exploring IPv6 without any registrations. 6to4 is a Xmechanism by which your IPv6 address(es) are derived from an assigned XIPv4 address, and which involves automatic tunnelling to one or more Xremote 6to4 hubs, which will then forward your v6 packets on the 6bone Xetc. Replies are routed back to you over IPv4 via (possibly) other X6to4 capable remote gateways. As such, IPv6-in-IPv4-encapsulated Xpackets are accepted from all v4-hosts. X XWWW: http://www.NetBSD.org/packages/net/hf6to4/files/hf6to4.html END-of-hf6to4/pkg-descr echo x - hf6to4/pkg-message sed 's/^X//' >hf6to4/pkg-message << 'END-of-hf6to4/pkg-message' X=========================================================================== X XTo configure this package, adjust ${PREFIX}/etc/hf6to4.conf from X${PREFIX}/etc/hf6to4.conf.sample, then start "hf6to4 -v start". XYou should be able to "ping6 www.kame.net" after that. X X=========================================================================== END-of-hf6to4/pkg-message echo x - hf6to4/pkg-plist sed 's/^X//' >hf6to4/pkg-plist << 'END-of-hf6to4/pkg-plist' Xsbin/hf6to4 Xetc/hf6to4.conf.sample END-of-hf6to4/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86pthoxk5f.wl%fuyuki>