Update aiccu to 20070115 (#1211)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@6124 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-01-18 14:10:56 +00:00
parent d57aa7f166
commit f0711b5b0f
2 changed files with 14 additions and 14 deletions

View File

@ -9,12 +9,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=aiccu PKG_NAME:=aiccu
PKG_VERSION:=20070107 PKG_VERSION:=20070115
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.sixxs.net/archive/sixxs/aiccu/unix PKG_SOURCE_URL:=http://www.sixxs.net/archive/sixxs/aiccu/unix
PKG_MD5SUM:=67a6d55ef2d6e88a3f17bcb5eec02c61 PKG_MD5SUM:=0df76e92eb34f4ce8aa3cfcf6896f271
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)

View File

@ -1,8 +1,8 @@
diff -ruN aiccu-old/unix-console/Makefile aiccu-new/unix-console/Makefile diff -urN aiccu/unix-console/Makefile aiccu.new/unix-console/Makefile
--- aiccu-old/unix-console/Makefile 2007-01-15 12:22:48.000000000 +0100 --- aiccu/unix-console/Makefile 2007-01-15 12:04:27.000000000 +0100
+++ aiccu-new/unix-console/Makefile 2007-01-15 12:33:13.000000000 +0100 +++ aiccu.new/unix-console/Makefile 2007-01-18 15:08:28.000000000 +0100
@@ -10,6 +10,9 @@ @@ -10,6 +10,9 @@
# $Date: 2007-01-11 00:28:45 $ # $Date: 2007-01-15 11:04:27 $
# **********************************************************/ # **********************************************************/
+OS_NAME=$(shell uname) +OS_NAME=$(shell uname)
@ -16,7 +16,7 @@ diff -ruN aiccu-old/unix-console/Makefile aiccu-new/unix-console/Makefile
# Used by TIC to secure that communication # Used by TIC to secure that communication
# Currently defaultly builds only on Linux, but other platforms might easily also support it # Currently defaultly builds only on Linux, but other platforms might easily also support it
-ifeq ($(shell uname | grep -c "Linux"),1) -ifeq ($(shell uname | grep -c "Linux"),1)
+ifneq ($(HAVE_GNUTLS),) +ifneq ($(HAEVE_GNUTLS),)
CFLAGS += -D AICCU_GNUTLS CFLAGS += -D AICCU_GNUTLS
LDFLAGS += -lgnutls LDFLAGS += -lgnutls
endif endif
@ -56,10 +56,10 @@ diff -ruN aiccu-old/unix-console/Makefile aiccu-new/unix-console/Makefile
# NetBSD # NetBSD
-ifeq ($(shell uname | grep -c "NetBSD"),1) -ifeq ($(shell uname | grep -c "NetBSD"),1)
+ifeq ($(shell echo $(OS_NAME) | grep -c "NetBSD"),1) +ifeq ($(shell echo $(OS_NAME) | grep -c "NetBSD"),1)
CFLAGS += -D_NETBSD -D NEED_IFHEAD -D AICCU_TYPE="\"kame\"" CFLAGS += -D_NETBSD -D AICCU_TYPE="\"kame\""
SRCS += ../common/aiccu_kame.c
OBJS += ../common/aiccu_kame.o # Check if net/if_tun.h has TUNSIFHEAD and enable support for it
@@ -87,10 +90,10 @@ @@ -97,10 +100,10 @@
endif endif
# OpenBSD # OpenBSD
@ -72,7 +72,7 @@ diff -ruN aiccu-old/unix-console/Makefile aiccu-new/unix-console/Makefile
CFLAGS += -D AICCU_TYPE="\"openbsd2\"" CFLAGS += -D AICCU_TYPE="\"openbsd2\""
SRCS += ../common/aiccu_openbsd2.c SRCS += ../common/aiccu_openbsd2.c
OBJS += ../common/aiccu_openbsd2.o OBJS += ../common/aiccu_openbsd2.o
@@ -104,7 +107,7 @@ @@ -114,7 +117,7 @@
endif endif
# Darwin # Darwin
@ -81,7 +81,7 @@ diff -ruN aiccu-old/unix-console/Makefile aiccu-new/unix-console/Makefile
CFLAGS += -D_DARWIN -D NEED_IFHEAD -D AICCU_TYPE="\"darwin\"" CFLAGS += -D_DARWIN -D NEED_IFHEAD -D AICCU_TYPE="\"darwin\""
SRCS += ../common/aiccu_darwin.c SRCS += ../common/aiccu_darwin.c
OBJS += ../common/aiccu_darwin.o OBJS += ../common/aiccu_darwin.o
@@ -112,7 +115,7 @@ @@ -122,7 +125,7 @@
endif endif
# SunOS / Solaris # SunOS / Solaris
@ -90,7 +90,7 @@ diff -ruN aiccu-old/unix-console/Makefile aiccu-new/unix-console/Makefile
CFLAGS += -D_SUNOS -D AICCU_TYPE="\"sunos\"" CFLAGS += -D_SUNOS -D AICCU_TYPE="\"sunos\""
SRCS += ../common/aiccu_sunos.c SRCS += ../common/aiccu_sunos.c
OBJS += ../common/aiccu_sunos.o OBJS += ../common/aiccu_sunos.o
@@ -120,7 +123,7 @@ @@ -130,7 +133,7 @@
endif endif
# AIX # AIX