diff options
author | ghen <ghen@pkgsrc.org> | 2006-06-13 18:06:21 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2006-06-13 18:06:21 +0000 |
commit | 9d8169d2cac1ba10d4ff9be3e3c75af7ce868ade (patch) | |
tree | cd2a6e4f78d70888495e3748f49543928aba98ef | |
parent | 7873a6cce20d01a6c20fb626f08fbf81da9db16c (diff) | |
download | pkgsrc-9d8169d2cac1ba10d4ff9be3e3c75af7ce868ade.tar.gz |
Add a patch from Christian Sturm for NetBSD ifconfig(8) command-line
compatibility. Bump PKGREVISION.
-rw-r--r-- | net/aiccu/Makefile | 4 | ||||
-rw-r--r-- | net/aiccu/distinfo | 3 | ||||
-rw-r--r-- | net/aiccu/patches/patch-ad | 23 |
3 files changed, 27 insertions, 3 deletions
diff --git a/net/aiccu/Makefile b/net/aiccu/Makefile index 31b6a8b437f..64c1d44066f 100644 --- a/net/aiccu/Makefile +++ b/net/aiccu/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2006/06/13 18:04:04 ghen Exp $ +# $NetBSD: Makefile,v 1.5 2006/06/13 18:06:21 ghen Exp $ DISTNAME= aiccu_2005.01.31 PKGNAME= ${DISTNAME:S/_/-/:S/.//g} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net MASTER_SITES= http://www.sixxs.net/archive/sixxs/aiccu/unix/ diff --git a/net/aiccu/distinfo b/net/aiccu/distinfo index 8db00ab357e..5483388d318 100644 --- a/net/aiccu/distinfo +++ b/net/aiccu/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/12/29 14:53:52 ghen Exp $ +$NetBSD: distinfo,v 1.2 2006/06/13 18:06:21 ghen Exp $ SHA1 (aiccu_2005.01.31.tar.gz) = 2d3e9e1844e7e2b2ae144b00974a9d1022b45396 RMD160 (aiccu_2005.01.31.tar.gz) = 48f9508bb62984acc8cde8419765c5003a7200f4 @@ -6,3 +6,4 @@ Size (aiccu_2005.01.31.tar.gz) = 45672 bytes SHA1 (patch-aa) = 0fcff412c044961724d227bdfdd91f81b1b0c059 SHA1 (patch-ab) = f1c48fd4698ee203ac3c2d7685b0b853abb4e54b SHA1 (patch-ac) = 8c35c669e05e9100489126ad8d0ebd164d5ad09a +SHA1 (patch-ad) = 13d93a8ac8bb29566465525fcaee7eb21858c429 diff --git a/net/aiccu/patches/patch-ad b/net/aiccu/patches/patch-ad new file mode 100644 index 00000000000..890cc9606f2 --- /dev/null +++ b/net/aiccu/patches/patch-ad @@ -0,0 +1,23 @@ +$NetBSD: patch-ad,v 1.1 2006/06/13 18:06:21 ghen Exp $ + +--- common/aiccu_kame.c.orig 2006-06-13 19:59:18.000000000 +0200 ++++ common/aiccu_kame.c +@@ -43,10 +43,18 @@ void aiccu_os_setup(struct TIC_Tunnel *h + hTunnel->sIPv6_LinkLocal); + } + ++#ifdef __NetBSD__ ++ aiccu_exec( ++ "ifconfig %s inet6 %s %s prefixlen 128 alias", ++ g_aiccu->ipv6_interface, ++ hTunnel->sIPv6_Local, ++ hTunnel->sIPv6_POP); ++#else + aiccu_exec( + "ifconfig %s inet6 %s prefixlen 128 alias", + g_aiccu->ipv6_interface, + hTunnel->sIPv6_Local); ++#endif + + aiccu_exec( + "route add -inet6 %s -prefixlen 128 %s", |