pkgsrc/net/aiccu/patches/patch-aa
ghen 961383eefc 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>  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>  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>  Sun,  6 Aug 2006 13:56:42 +0100
2007-01-18 14:42:17 +00:00

60 lines
1.8 KiB
Text

$NetBSD: patch-aa,v 1.5 2007/01/18 14:42:17 ghen Exp $
--- unix-console/Makefile.orig 2007-01-15 12:04:27.000000000 +0100
+++ unix-console/Makefile
@@ -26,25 +26,12 @@ CWARNS += -W -Wall -Wshadow -Wpointer-ar
#CFLAGS += $(CWARNS) -D_GNU_SOURCE -D_DEBUG -g3 -O0
CFLAGS += $(CWARNS) -D_GNU_SOURCE
-CC = @gcc
+CC = cc
RM = rm
-# Add -O3 when nothing is specified yet
-ifeq ($(shell echo $(CFLAGS) | grep -c "\-O"),0)
-CFLAGS += -O3
-endif
-
# This is a console client
CFLAGS += -D AICCU_CONSOLE
-# GnuTLS Support ?
-# 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 AICCU_GNUTLS
-LDFLAGS += -lgnutls
-endif
-
# Linux
ifeq ($(shell uname | grep -c "Linux"),1)
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 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
@@ -80,15 +67,15 @@ endif
# NetBSD
ifeq ($(shell uname | grep -c "NetBSD"),1)
-CFLAGS += -D_NETBSD -D AICCU_TYPE="\"kame\""
+CFLAGS += -D_NETBSD -DAICCU_TYPE="\"kame\""
# 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
SRCS += ../common/aiccu_kame.c