pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/aiccu Update aiccu to version 20070115. AYIYA sup...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5a9c75e7846
branches:  trunk
changeset: 524089:e5a9c75e7846
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Thu Jan 18 14:42:17 2007 +0000

description:
Update aiccu to version 20070115.  AYIYA support has been much improved.
There is one more NetBSD-specific bug in unix-console/Makefile but it's
fixed by the last chunk of patches/patch-aa and will be in the next release.

Install COPYRIGHT in the documentation directory as well.

Detailed aiccu ChangeLog:

aiccu (20070115) stable; urgency=medium
  * Fixup in Debian init script (based on original patch by Bernhard Schmidt).
  * Change in redirections so that errors don't show in debconf menu's etc.
  * NetBSD fixes as there is not always a Tunnel Device that
    supports IPv6 (thanks to Geert Hendrickx).
  * Gentoo ebuild update, adding depends and require ntp-client.
  * RPM spec update, add build-requirement.
  * Check return values of system commands.
  * Added a big warning about running AICCU from Daemontools and similar
    programs which run AICCU in a loop, thus hammering the TIC server.
  * Be a bit smarter in checking for support of IPv6.

 -- Jeroen Massar <jeroen%sixxs.net@localhost>  Mon, 15 Jan 2007 11:00:42 +0000

aiccu (20070107) stable; urgency=high
  * 2007 Edition of AICCU.
  * License change to standard 3-clause BSD license.
    With thanks to Theo de Raadt, Marco d'Itri and Philipp Kern for
    their wise words and reasoning for coming to this decision.
  * High urgency because of the above and it fixing large problems.
  * Fixed Mac OS X / Darwin support on the MacBookPro of Pim van Pelt.
  * Added MTU, from TIC, configuration on most platforms.
  * Fixed up silly linux bug, adding LL address to tunnels but not to tun/taps.
  * Removed Win32 Alpha Endianess (reported by Christian Weisgerber).
  * Fixed up alignment error in parseline() (reported by Christian Weisgerber).
  * OpenBSD 4.0 support (patch provided by Christian Weisgerber).
  * OpenBSD AYIYA fixup (patch provided by Pim van Pelt).
  * Fedora/RPM init script fixup (bash case's don't fall through)
    reported and patch supplied by Matt Domsch.
  * NetBSD AYIYA support (noted by Tobias Riediger)
    Works on NetBSD 4.x, for NetBSD 3.0 one needs to patch tun/tap to
    support IPv6. Patch is available from the archives.
  * local_ipv4_override option so one can use AICCU behind a NAT that
    has been configured correctly to do proto-41 forwarding. This is
    usually called a DMZ setup.

 -- Jeroen Massar <jeroen%sixxs.net@localhost>  Sun, 07 Jan 2007 14:00:42 +0000

aiccu (20060806) stable; urgency=low
  * Changelog version format change as the 'official' (before there where
    legal issues as they don't understand the word 'SHOULD' which is cleary
    defined in the IETF and now somebody simply uploaded it anyway it without
    even asking or notifying us about it) debian packages which are broken,
    old and unsupported would seem newer and thus this new version would not
    get updated to even when folks would have the official AICCU repository
    in their sources.list. This solves that issue.
  * pidfile fixup and configuration parameter.
  * Corrected Broker selection in debconf.
  * Configuration file rewriting by debconf is now done in a 'nice' way.

 -- Jeroen Massar <jeroen%sixxs.net@localhost>  Sun,  6 Aug 2006 13:56:42 +0100

diffstat:

 net/aiccu/Makefile         |   7 ++++---
 net/aiccu/PLIST            |   3 ++-
 net/aiccu/distinfo         |  15 +++++++--------
 net/aiccu/patches/patch-aa |  40 ++++++++++++++++++++++------------------
 net/aiccu/patches/patch-ab |  13 -------------
 net/aiccu/patches/patch-ac |   8 ++++----
 net/aiccu/patches/patch-ad |  23 -----------------------
 7 files changed, 39 insertions(+), 70 deletions(-)

diffs (196 lines):

diff -r f2b7b9dc85be -r e5a9c75e7846 net/aiccu/Makefile
--- a/net/aiccu/Makefile        Thu Jan 18 14:22:38 2007 +0000
+++ b/net/aiccu/Makefile        Thu Jan 18 14:42:17 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2006/11/10 20:58:09 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2007/01/18 14:42:17 ghen Exp $
 
-DISTNAME=              aiccu_2006.07.25
+DISTNAME=              aiccu_20070115
 PKGNAME=               ${DISTNAME:S/_/-/:S/.//g}
 CATEGORIES=            net
 MASTER_SITES=          http://www.sixxs.net/archive/sixxs/aiccu/unix/
@@ -10,7 +10,7 @@
 COMMENT=               Automatic IPv6 Connectivity Client Utility
 
 USE_TOOLS+=            gmake
-CHECK_PORTABILITY_SKIP+=       debian/*
+CHECK_PORTABILITY_SKIP+=debian/*
 
 SUBST_CLASSES+=                sysconfdir
 SUBST_STAGE.sysconfdir=        post-patch
@@ -39,6 +39,7 @@
        ${INSTALL_DATA_DIR} ${DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/doc/LICENSE ${DOCDIR}
+       ${INSTALL_DATA} ${WRKSRC}/doc/COPYRIGHT ${DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/doc/HOWTO ${DOCDIR}
 
 .include "../../mk/pthread.buildlink3.mk"
diff -r f2b7b9dc85be -r e5a9c75e7846 net/aiccu/PLIST
--- a/net/aiccu/PLIST   Thu Jan 18 14:22:38 2007 +0000
+++ b/net/aiccu/PLIST   Thu Jan 18 14:42:17 2007 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/29 14:53:52 ghen Exp $
+@comment $NetBSD: PLIST,v 1.2 2007/01/18 14:42:17 ghen Exp $
 man/man1/aiccu.1
 sbin/aiccu
+share/doc/aiccu/COPYRIGHT
 share/doc/aiccu/HOWTO
 share/doc/aiccu/LICENSE
 share/doc/aiccu/README
diff -r f2b7b9dc85be -r e5a9c75e7846 net/aiccu/distinfo
--- a/net/aiccu/distinfo        Thu Jan 18 14:22:38 2007 +0000
+++ b/net/aiccu/distinfo        Thu Jan 18 14:42:17 2007 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.5 2006/09/07 06:18:35 joerg Exp $
+$NetBSD: distinfo,v 1.6 2007/01/18 14:42:17 ghen Exp $
 
-SHA1 (aiccu_2006.07.25.tar.gz) = c031f4b29a92a0c1b5a0d4b9d9e81d6fe4da92aa
-RMD160 (aiccu_2006.07.25.tar.gz) = 599d181bfccb4a1a30d315f60469078bcb269270
-Size (aiccu_2006.07.25.tar.gz) = 64161 bytes
-SHA1 (patch-aa) = c2a69b01304f07da05e83a6bf80aebed4803b841
-SHA1 (patch-ab) = 63bab81f2507c2e20042d53086f2cd8c774ae30a
-SHA1 (patch-ac) = e7df7fdb83f4898220ca36f4051539c911bfb6b7
-SHA1 (patch-ad) = 1fec51f11a7103bbc690eacdb9191d45b3666f1b
+SHA1 (aiccu_20070115.tar.gz) = 7b3c51bfe291c777e74b2688e9339b4fb72e6a39
+RMD160 (aiccu_20070115.tar.gz) = 9415899c98c1f7e84b9711017b82a3a0ea2ae9de
+Size (aiccu_20070115.tar.gz) = 70056 bytes
+SHA1 (patch-ab_tunsip) = dce6b3b1a99acb0e966772b362d3e9e3a76044e2
+SHA1 (patch-aa) = 373c66c6a7b6a18ad9ab453f4fddf61634e8ad04
+SHA1 (patch-ac) = 105a1845883211a1c101e224c826ffcc630386fd
diff -r f2b7b9dc85be -r e5a9c75e7846 net/aiccu/patches/patch-aa
--- a/net/aiccu/patches/patch-aa        Thu Jan 18 14:22:38 2007 +0000
+++ b/net/aiccu/patches/patch-aa        Thu Jan 18 14:42:17 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.4 2006/09/07 06:18:35 joerg Exp $
+$NetBSD: patch-aa,v 1.5 2007/01/18 14:42:17 ghen Exp $
 
---- unix-console/Makefile.orig 2006-07-25 09:20:48.000000000 +0000
+--- unix-console/Makefile.orig 2007-01-15 12:04:27.000000000 +0100
 +++ unix-console/Makefile
-@@ -26,27 +26,15 @@ CWARNS += -W -Wall -Wshadow -Wpointer-ar
+@@ -26,25 +26,12 @@ CWARNS += -W -Wall -Wshadow -Wpointer-ar
  
  #CFLAGS       += $(CWARNS) -D_GNU_SOURCE -D_DEBUG -g3 -O0
  CFLAGS        += $(CWARNS) -D_GNU_SOURCE
@@ -22,35 +22,39 @@
 -# Used by TIC to secure that communication
 -# Currently defaultly builds only on Linux, but other platforms might easily also support it
 -ifeq ($(shell uname | grep -c "Linux"),1)
--CFLAGS        += -D _LINUX -D AICCU_GNUTLS
+-CFLAGS        += -D AICCU_GNUTLS
 -LDFLAGS += -lgnutls
 -endif
 -
  # Linux
  ifeq ($(shell uname | grep -c "Linux"),1)
-+CFLAGS        += -D _LINUX
- CFLAGS  += -D AICCU_TYPE="\"linux\""
- SRCS  += ../common/aiccu_linux.c
- OBJS  += ../common/aiccu_linux.o
-@@ -74,7 +62,7 @@ endif
+ CFLAGS  += -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\""
+@@ -72,7 +59,7 @@ endif
  
  # DragonFlyBSD
  ifeq ($(shell uname | grep -c "DragonFly"),1)
--CFLAGS        += -D _DFBSD -D AICCU_TYPE="\"dragonfly\""
-+CFLAGS        += -D_DFBSD -DAICCU_TYPE="\"dragonfly\""
+-CFLAGS        += -D_DFBSD -D NEED_IFHEAD -D AICCU_TYPE="\"dragonfly\""
++CFLAGS        += -D_DFBSD -DNEED_IFHEAD -DAICCU_TYPE="\"dragonfly\""
  SRCS  += ../common/aiccu_freebsd4.c
  OBJS  += ../common/aiccu_freebsd4.o
  CFLAGS        += -pthread
-@@ -82,10 +70,10 @@ endif
+@@ -80,15 +67,15 @@ endif
  
  # NetBSD
  ifeq ($(shell uname | grep -c "NetBSD"),1)
--CFLAGS        += -D _NETBSD -D AICCU_TYPE="\"kame\""
+-CFLAGS        += -D_NETBSD -D AICCU_TYPE="\"kame\""
 +CFLAGS        += -D_NETBSD -DAICCU_TYPE="\"kame\""
- SRCS  += ../common/aiccu_kame.c
- OBJS  += ../common/aiccu_kame.o
--CFLAGS        += -pthread -D _NETBSD_SOURCE
-+CFLAGS        += -pthread -D_NETBSD_SOURCE
+ 
+ # Check if net/if_tun.h has TUNSIFHEAD and enable support for it
+-ifneq ($(shell grep -c TUNSIFHEAD /usr/include/net/if_tun.h 2>/dev/null),1)
++ifneq ($(shell grep -c TUNSIFHEAD /usr/include/net/if_tun.h 2>/dev/null),0)
+ # Supports TUNSIFHEAD -> AYIYA/l2tp available
+-CFLAGS        += -D NEED_IFHEAD
++CFLAGS        += -DNEED_IFHEAD
+ else
+ # Doesn't support TUNSIFHEAD -> No AYIYA/l2tp available
+-CFLAGS        += -D NO_IFHEAD
++CFLAGS        += -DNO_IFHEAD
  endif
  
- # OpenBSD
+ SRCS  += ../common/aiccu_kame.c
diff -r f2b7b9dc85be -r e5a9c75e7846 net/aiccu/patches/patch-ab
--- a/net/aiccu/patches/patch-ab        Thu Jan 18 14:22:38 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2006/08/31 08:49:34 ghen Exp $
-
---- common/common.h.orig       2006-07-25 11:20:46.000000000 +0200
-+++ common/common.h
-@@ -57,7 +57,7 @@
- #include <arpa/nameser_compat.h>
- #else
- #ifndef _WIN32
--#if defined(_OPENBSD) || defined(_DFBSD) || defined(_FREEBSD)
-+#if defined(_OPENBSD) || defined(_DFBSD) || defined(_FREEBSD) || defined(_NETBSD)
- #include <sys/endian.h>
- #else
- #include <endian.h>
diff -r f2b7b9dc85be -r e5a9c75e7846 net/aiccu/patches/patch-ac
--- a/net/aiccu/patches/patch-ac        Thu Jan 18 14:22:38 2007 +0000
+++ b/net/aiccu/patches/patch-ac        Thu Jan 18 14:42:17 2007 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-ac,v 1.2 2006/08/31 08:49:34 ghen Exp $
+$NetBSD: patch-ac,v 1.3 2007/01/18 14:42:17 ghen Exp $
 
---- doc/aiccu.conf.orig        2006-07-18 23:24:30.000000000 +0200
+--- doc/aiccu.conf.orig        2007-01-07 18:42:29.000000000 +0100
 +++ doc/aiccu.conf
-@@ -8,7 +8,7 @@
+@@ -12,7 +12,7 @@
  # ipv6_interface is the name of the interface that will be used as a tunnel interface.
  # On *BSD the ipv6_interface should be set to gifX (eg gif0) for proto-41 tunnels
  # or tunX (eg tun0) for AYIYA tunnels.
 -ipv6_interface sixxs
 +ipv6_interface gif0
  
- # The tunnel_id to use
+ # The tunnel_id to use (default: none)
  # (only required when there are multiple tunnels in the list)
diff -r f2b7b9dc85be -r e5a9c75e7846 net/aiccu/patches/patch-ad
--- a/net/aiccu/patches/patch-ad        Thu Jan 18 14:22:38 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2006/08/31 08:49:34 ghen Exp $
-
---- common/aiccu_kame.c.orig   2006-07-23 16:55:14.000000000 +0200
-+++ common/aiccu_kame.c
-@@ -45,10 +45,18 @@ bool aiccu_os_setup(struct TIC_Tunnel *h
-                       hTunnel->sIPv6_LinkLocal);
- 
-               /* Local side of the tunnel */
-+#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
- 
-               /* Remote side of the tunnel */
-               aiccu_exec(



Home | Main Index | Thread Index | Old Index