pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc When using an (v4) aliases interface, use only the fir...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0eecc75f84a2
branches:  trunk
changeset: 465920:0eecc75f84a2
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Thu Jan 08 12:59:26 2004 +0000

description:
When using an (v4) aliases interface, use only the first IP.
Patch contributed by Gregor Surmann <admin%sinuspl.net@localhost>

diffstat:

 doc/CHANGES             |  3 ++-
 net/hf6to4/MESSAGE      |  4 ++--
 net/hf6to4/Makefile     |  4 ++--
 net/hf6to4/files/hf6to4 |  3 ++-
 4 files changed, 8 insertions(+), 6 deletions(-)

diffs (56 lines):

diff -r 6a72eab636c2 -r 0eecc75f84a2 doc/CHANGES
--- a/doc/CHANGES       Thu Jan 08 12:50:49 2004 +0000
+++ b/doc/CHANGES       Thu Jan 08 12:59:26 2004 +0000
@@ -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 @@
        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 -r 6a72eab636c2 -r 0eecc75f84a2 net/hf6to4/MESSAGE
--- a/net/hf6to4/MESSAGE        Thu Jan 08 12:50:49 2004 +0000
+++ b/net/hf6to4/MESSAGE        Thu Jan 08 12:59:26 2004 +0000
@@ -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 -r 6a72eab636c2 -r 0eecc75f84a2 net/hf6to4/Makefile
--- a/net/hf6to4/Makefile       Thu Jan 08 12:50:49 2004 +0000
+++ b/net/hf6to4/Makefile       Thu Jan 08 12:59:26 2004 +0000
@@ -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 -r 6a72eab636c2 -r 0eecc75f84a2 net/hf6to4/files/hf6to4
--- a/net/hf6to4/files/hf6to4   Thu Jan 08 12:50:49 2004 +0000
+++ b/net/hf6to4/files/hf6to4   Thu Jan 08 12:59:26 2004 +0000
@@ -100,7 +100,8 @@
 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`



Home | Main Index | Thread Index | Old Index