diff options
author | hubertf <hubertf@pkgsrc.org> | 2004-01-08 12:59:26 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2004-01-08 12:59:26 +0000 |
commit | e929ebee3097fae6ca26b92f06a662253fe60936 (patch) | |
tree | c187cc19675ab4ffa7456265f4ddd8764909bff6 | |
parent | ca8cab7ffa2223989ef7cf43220c936cf85b83ff (diff) | |
download | pkgsrc-e929ebee3097fae6ca26b92f06a662253fe60936.tar.gz |
When using an (v4) aliases interface, use only the first IP.
Patch contributed by Gregor Surmann <admin@sinuspl.net>
-rw-r--r-- | doc/CHANGES | 3 | ||||
-rw-r--r-- | net/hf6to4/MESSAGE | 4 | ||||
-rw-r--r-- | net/hf6to4/Makefile | 4 | ||||
-rwxr-xr-x | net/hf6to4/files/hf6to4 | 3 |
4 files changed, 8 insertions, 6 deletions
diff --git a/doc/CHANGES b/doc/CHANGES index d327349753f..9f3fd4bb6f3 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,4 +1,4 @@ -$NetBSD: CHANGES,v 1.4387 2004/01/08 12:50:49 adam Exp $ +$NetBSD: CHANGES,v 1.4388 2004/01/08 12:59:26 hubertf Exp $ Changes to the packages collection and infrastructure in 2004: @@ -112,3 +112,4 @@ Changes to the packages collection and infrastructure in 2004: Updated xfce4 to 4.0.3 [martti 2004-01-08] Added kmplayer-0.8.2rc3 [jmmv 2004-01-08] Updated gd to 2.0.19 [adam 2004-01-08] + Updated hf6to4 to 1.2 [hubertf 2004-01-08] diff --git a/net/hf6to4/MESSAGE b/net/hf6to4/MESSAGE index 5d9d52d6c1e..69a9a1dade6 100644 --- a/net/hf6to4/MESSAGE +++ b/net/hf6to4/MESSAGE @@ -1,10 +1,10 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.1.1.1 2003/08/23 13:30:35 hubertf Exp $ +$NetBSD: MESSAGE,v 1.2 2004/01/08 12:59:26 hubertf Exp $ To configure a 6to4 tunnel, modify the configuration file ${PKG_SYSCONFDIR}/hf6to4.conf for your system, then run - ${RCD_SCRIPTS_DIR}/hf6to4 -v start + ${PREFIX}/sbin/hf6to4 -v start You should then be able to ping6 www.kame.net. diff --git a/net/hf6to4/Makefile b/net/hf6to4/Makefile index 46a0e5cb683..92c53ee8cd5 100644 --- a/net/hf6to4/Makefile +++ b/net/hf6to4/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2003/09/16 13:05:57 hubertf Exp $ +# $NetBSD: Makefile,v 1.3 2004/01/08 12:59:26 hubertf Exp $ # -DISTNAME= hf6to4-1.1 +DISTNAME= hf6to4-1.2 WRKSRC= ${WRKDIR} CATEGORIES= net MASTER_SITES= # empty diff --git a/net/hf6to4/files/hf6to4 b/net/hf6to4/files/hf6to4 index 011b8276076..9f3d7e29ac3 100755 --- a/net/hf6to4/files/hf6to4 +++ b/net/hf6to4/files/hf6to4 @@ -100,7 +100,8 @@ fi localadr4=`ifconfig $out_if inet \ | grep inet \ | sed 's/^.*inet *//' \ - | sed 's/ .*$//'` + | sed 's/ .*$//' \ + | head -1` l4c=`echo $localadr4 | sed 's,\., ,g'` prefix=`printf "2002:%02x%02x:%02x%02x" $l4c` |