diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-02-11 05:24:29 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-02-11 05:24:29 +0000 |
commit | 2c31f7bf0dac860200ec1d3a53c32e32cf21831c (patch) | |
tree | 62cd9d3dc064edbfdc39ad9c1db03ab9a454e4b9 /net/6to4/Makefile | |
parent | b8c1d01a31328126c44c2e472f9ed28b43fa984c (diff) | |
download | pkgsrc-2c31f7bf0dac860200ec1d3a53c32e32cf21831c.tar.gz |
Add 6to4-1.0, a script to setup automatic 6to4 IPv6 tunneling.
For easy IPv6 connectivity, do:
* make install
* cd /usr/pkg/etc
* cp 6to4.conf-example 6to4.conf
* in 6to4.conf, change "out_if" to match your outgoing interface:
ppp0 if you're on a modem, else your ethernet card's interface.
* 6to4 -v start
* ping6 www.kame.net
Diffstat (limited to 'net/6to4/Makefile')
-rw-r--r-- | net/6to4/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net/6to4/Makefile b/net/6to4/Makefile new file mode 100644 index 00000000000..cab91db14ce --- /dev/null +++ b/net/6to4/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/02/11 05:24:29 hubertf Exp $ +# + +DISTNAME= 6to4-1.0 +CATEGORIES= net +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= hubertf@netbsd.org +HOMEPAGE= http://www.netbsd.org/packages/net/6to4/files/6to4.html + +USE_PERL5= YES +DEINSTALL_FILE= ${WRKDIR}/DEINSTALL + +EXTRACT_ONLY= # empty +NO_WRKSUBDIR= yes +NO_CHECKSUM= yes +NO_PATCH= yes +NO_CONFIGURE= yes + +do-build: +.for FILE in 6to4 + ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ + -e 's|@LOCALBASE@|${LOCALBASE}|g' \ + < ${FILESDIR}/${FILE} \ + > ${WRKSRC}/${FILE} +.endfor + ${SED} \ + -e 's,@PREFIX@,${PREFIX},' \ + <${PKGDIR}/DEINSTALL >${DEINSTALL_FILE} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/6to4 ${PREFIX}/sbin/6to4 + ${INSTALL_MAN} ${FILESDIR}/6to4.8 ${PREFIX}/man/man8 + ${INSTALL_DATA} ${FILESDIR}/6to4.conf ${PREFIX}/etc/6to4.conf-example + ${INSTALL_DATA} ${FILESDIR}/6to4.html ${PREFIX}/share/doc/6to4.html + +.include "../../mk/bsd.pkg.mk" |