pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/vpnc Bump to revision 3: Don't count the 'link lev...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a2bddc3bfe2
branches:  trunk
changeset: 517738:6a2bddc3bfe2
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Tue Aug 22 08:57:26 2006 +0000

description:
Bump to revision 3: Don't count the 'link level gateway' (or whatever
that is(?!) when trying to find the default route:

        Internet:
        Destination        Gateway            Flags    Refs      Use    Mtu  Interface
        default            link#2             UC          -   tlp0
        default            132.199.210.131    UGS         -   tun0

diffstat:

 net/vpnc/Makefile         |  4 ++--
 net/vpnc/distinfo         |  4 ++--
 net/vpnc/patches/patch-ac |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (47 lines):

diff -r 340cd4e78ab7 -r 6a2bddc3bfe2 net/vpnc/Makefile
--- a/net/vpnc/Makefile Mon Aug 21 22:08:28 2006 +0000
+++ b/net/vpnc/Makefile Tue Aug 22 08:57:26 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2006/06/14 21:14:32 ghen Exp $
+# $NetBSD: Makefile,v 1.14 2006/08/22 08:57:26 hubertf Exp $
 #
 
 DISTNAME=              vpnc-0.3.3
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            net security
 MASTER_SITES=          http://www.unix-ag.uni-kl.de/~massar/vpnc/
 
diff -r 340cd4e78ab7 -r 6a2bddc3bfe2 net/vpnc/distinfo
--- a/net/vpnc/distinfo Mon Aug 21 22:08:28 2006 +0000
+++ b/net/vpnc/distinfo Tue Aug 22 08:57:26 2006 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.5 2006/03/23 16:53:27 joerg Exp $
+$NetBSD: distinfo,v 1.6 2006/08/22 08:57:26 hubertf Exp $
 
 SHA1 (vpnc-0.3.3.tar.gz) = 95559e1c5b1f4bc78dc1a0b9f95e1a2d65a84c0a
 RMD160 (vpnc-0.3.3.tar.gz) = ffcb229fb8cac18f8d6dea0e67f88cec420f31da
 Size (vpnc-0.3.3.tar.gz) = 59939 bytes
 SHA1 (patch-aa) = b7645f093f1c3bfbdf81871b3582273a1e6ddda0
 SHA1 (patch-ab) = 5dff14059698724e3cb5478c005b5e229fd03dbf
-SHA1 (patch-ac) = 5eb5aca439e3fbc2404a15f74403f024e5fc386a
+SHA1 (patch-ac) = e97bf32a0ee0f9102b8f858f8ad19b806f052788
 SHA1 (patch-ad) = d386a3861f6c272b6471732089067a842757bdcb
diff -r 340cd4e78ab7 -r 6a2bddc3bfe2 net/vpnc/patches/patch-ac
--- a/net/vpnc/patches/patch-ac Mon Aug 21 22:08:28 2006 +0000
+++ b/net/vpnc/patches/patch-ac Tue Aug 22 08:57:26 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.1 2006/01/03 21:48:17 hubertf Exp $
+$NetBSD: patch-ac,v 1.2 2006/08/22 08:57:26 hubertf Exp $
 
 --- vpnc-script.orig   2006-01-03 22:36:27.000000000 +0100
 +++ vpnc-script
@@ -55,7 +55,7 @@
 +              # Let's assume the first default gateway is IPv4...
 +              # (On NetBSD '-f inet' and on Linux and probably Solaris,
 +              #  '-A inet' could be used to make sure... - HF)
-+              netstat -rn | awk '/^(default|0.0.0.0)/{ print $2 ; exit } '
++              netstat -rn | grep -v link | awk '/^(default|0.0.0.0)/{ print $2 ; exit } '
        }
        
        set_vpngateway_route() {



Home | Main Index | Thread Index | Old Index