summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Config.in4
-rw-r--r--package/Makefile1
-rw-r--r--package/busybox/Makefile12
-rw-r--r--package/busybox/patches/patch-include_libbb_h18
-rw-r--r--package/busybox/patches/patch-include_platform_h47
-rw-r--r--package/cfgfs/Config.in2
-rw-r--r--package/cfgfs/Makefile9
-rw-r--r--package/iptables/Config.in10
-rw-r--r--package/iptables/Makefile6
-rw-r--r--package/linux-atm/Config.in10
-rw-r--r--package/linux-atm/Config.in.lib10
-rw-r--r--package/linux-atm/Makefile12
-rw-r--r--package/linux-atm/patches/patch-src_Makefile_in12
-rw-r--r--package/linux-atm/patches/patch-src_led_main_c11
-rw-r--r--package/linux-atm/patches/patch-src_qgen_Makefile_in29
-rw-r--r--package/linux-atm/patches/patch-src_qgen_ql_l_c12
-rw-r--r--package/linux-atm/patches/patch-src_sigd_Makefile_in7
-rw-r--r--package/linux-atm/patches/patch-src_sigd_cfg_l_c12
-rw-r--r--package/linux-atm/patches/patch-src_sigd_cfg_l_l10
-rw-r--r--package/linux-atm/patches/patch-src_switch_Makefile_in11
-rw-r--r--package/linux-atm/patches/patch-src_switch_cfg_l_c12
-rw-r--r--package/linux-atm/patches/patch-src_switch_cfg_l_l10
-rw-r--r--package/linux-atm/patches/patch-src_switch_debug_Makefile_in7
-rw-r--r--package/linux-atm/patches/patch-src_switch_tcp_Makefile_in9
-rw-r--r--package/linux-atm/patches/patch-src_test_Makefile_in12
-rw-r--r--package/linux-atm/patches/patch-src_test_ispl_l_c12
-rw-r--r--package/linux-atm/patches/patch-src_test_ttcp_c21
-rw-r--r--package/mtd/Config.in9
-rw-r--r--package/mtd/Makefile32
-rw-r--r--package/mtd/src/mtd.c (renamed from package/cfgfs/src/mtd.c)0
-rw-r--r--package/ppp/Config.in12
-rw-r--r--package/ppp/Makefile23
-rw-r--r--package/ppp/files/etc/ppp/filter23
-rwxr-xr-xpackage/ppp/files/etc/ppp/ip-up.d/if-rename17
-rw-r--r--package/ppp/files/etc/ppp/peers/dsl12
-rw-r--r--package/ppp/files/etc/ppp/templates/pppoa5
-rw-r--r--package/ppp/files/etc/ppp/templates/pppoe (renamed from package/ppp/files/etc/ppp/templates/dsl)0
-rwxr-xr-xpackage/ppp/files/poff26
-rwxr-xr-xpackage/ppp/files/pon6
-rwxr-xr-xpackage/ppp/files/ppp.pre-up119
-rw-r--r--package/ppp/patches/patch-pppd_ipv6cp_c10
-rw-r--r--package/ppp/utils/pfc.c51
-rw-r--r--package/sangam-atm/Config.in23
-rw-r--r--package/sangam-atm/Makefile41
-rw-r--r--package/sangam-atm/patches/patch-Makefile29
-rw-r--r--package/sangam-atm/patches/patch-cp_sar_reg_h8
-rw-r--r--package/sangam-atm/patches/patch-cppi_cpaal5_c11
-rw-r--r--package/sangam-atm/patches/patch-dev_host_interface_h11
-rw-r--r--package/sangam-atm/patches/patch-dsl_hal_advcfg_c15
-rw-r--r--package/sangam-atm/patches/patch-dsl_hal_api_c107
-rw-r--r--package/sangam-atm/patches/patch-dsl_hal_support_c52
-rw-r--r--package/sangam-atm/patches/patch-dsl_hal_support_h11
-rw-r--r--package/sangam-atm/patches/patch-tn7api_h17
-rw-r--r--package/sangam-atm/patches/patch-tn7atm_c633
-rw-r--r--package/sangam-atm/patches/patch-tn7atm_h56
-rw-r--r--package/sangam-atm/patches/patch-tn7dsl_c639
-rw-r--r--package/sangam-atm/patches/patch-tn7sar_c79
-rw-r--r--package/squid/Config.in3
-rw-r--r--package/uclibc/Makefile4
59 files changed, 2104 insertions, 308 deletions
diff --git a/package/Config.in b/package/Config.in
index 1cc29c402..c6f714d74 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -55,6 +55,7 @@ source "package/dosfstools/Config.in"
source "package/e2fsprogs/Config.in"
source "package/fuse/Config.in"
source "package/mdadm/Config.in"
+source "package/mtd/Config.in"
source "package/lvm/Config.in"
source "package/parted/Config.in"
source "package/util-linux-ng/Config.in"
@@ -236,6 +237,7 @@ endmenu
menu "Firewall / Routing / Bridging"
source "package/arpd/Config.in"
source "package/bridge-utils/Config.in"
+source "package/linux-atm/Config.in"
source "package/cutter/Config.in"
source "package/ebtables/Config.in"
source "package/ether-wake/Config.in"
@@ -243,7 +245,6 @@ source "package/iproute2/Config.in"
source "package/ipset/Config.in"
source "package/iptables/Config.in"
source "package/knock/Config.in"
-source "package/linux-atm/Config.in"
source "package/macchanger/Config.in"
source "package/netstat-nat/Config.in"
source "package/quagga/Config.in"
@@ -407,6 +408,7 @@ source "package/id3lib/Config.in"
source "package/libao/Config.in"
source "package/libaudiofile/Config.in"
source "package/libart/Config.in"
+source "package/linux-atm/Config.in.lib"
source "package/libcli/Config.in"
source "package/curl/Config.in.lib"
source "package/libdaemon/Config.in"
diff --git a/package/Makefile b/package/Makefile
index 994520726..ce92c1cb0 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -453,6 +453,7 @@ package-$(ADK_PACKAGE_ZSH) += zsh
# kernel addon packages
package-$(ADK_PACKAGE_KMOD_EM28XX) += em28xx
package-$(ADK_PACKAGE_NTFS_3G) += ntfs-3g
+package-$(ADK_PACKAGE_KMOD_SANGAM_ATM) += sangam-atm
DOWNLOAD:=$(patsubst %,%-download,$(package-y) $(package-m))
COMPILE_PACKAGES:=$(patsubst %,%-compile,$(package-y) $(package-m))
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 6a0569428..78b741ca3 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -24,30 +24,30 @@ ifeq ($(ADK_NATIVE),y)
yes '' | \
$(MAKE) V=1 \
IPKG_ARCH="$(ARCH)" \
- ARCH="$(ARCH)" -C $(WRKBUILD) oldconfig
+ ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) oldconfig
else
yes '' | \
$(MAKE) V=1 CROSS_COMPILE="$(TARGET_CROSS)" \
EXTRA_CFLAGS="$(TARGET_CFLAGS)" IPKG_ARCH="$(ARCH)" \
- ARCH="$(ARCH)" -C $(WRKBUILD) oldconfig
+ ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) oldconfig
endif
do-build:
ifeq ($(ADK_NATIVE),y)
$(MAKE) V=1 \
- IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" -C $(WRKBUILD) busybox
+ IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) busybox
else
$(MAKE) V=1 CROSS_COMPILE="$(TARGET_CROSS)" \
- IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" -C $(WRKBUILD) busybox
+ IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) busybox
endif
do-install: ${TOPDIR}/.config
ifeq ($(ADK_NATIVE),y)
$(MAKE) V=1 \
- IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" -C $(WRKBUILD) install
+ IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) install
else
$(MAKE) V=1 CROSS_COMPILE="$(TARGET_CROSS)" \
- IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" -C $(WRKBUILD) install
+ IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) install
endif
ifeq ($(DEBUG),1)
${INSTALL_BIN} $(WRKBUILD)/busybox_unstripped \
diff --git a/package/busybox/patches/patch-include_libbb_h b/package/busybox/patches/patch-include_libbb_h
new file mode 100644
index 000000000..0087dbde5
--- /dev/null
+++ b/package/busybox/patches/patch-include_libbb_h
@@ -0,0 +1,18 @@
+--- busybox-1.15.2.orig/include/libbb.h Thu Oct 8 03:04:16 2009
++++ busybox-1.15.2/include/libbb.h Sat Dec 19 12:42:57 2009
+@@ -48,6 +48,7 @@
+ #define PATH_MAX 256
+ #endif
+
++#if !(defined __APPLE__ || defined __FreeBSD__ || defined __MirBSD__ )
+ #ifdef HAVE_MNTENT_H
+ #include <mntent.h>
+ #endif
+@@ -61,6 +62,7 @@
+ #include <selinux/context.h>
+ #include <selinux/flask.h>
+ #include <selinux/av_permissions.h>
++#endif
+ #endif
+
+ #if ENABLE_LOCALE_SUPPORT
diff --git a/package/busybox/patches/patch-include_platform_h b/package/busybox/patches/patch-include_platform_h
new file mode 100644
index 000000000..7c5539efe
--- /dev/null
+++ b/package/busybox/patches/patch-include_platform_h
@@ -0,0 +1,47 @@
+--- busybox-1.15.2.orig/include/platform.h Sat Sep 26 15:14:33 2009
++++ busybox-1.15.2/include/platform.h Sat Dec 19 12:53:00 2009
+@@ -7,6 +7,8 @@
+ #ifndef BB_PLATFORM_H
+ #define BB_PLATFORM_H 1
+
++#include <sys/param.h>
++
+ /* Convenience macros to test the version of gcc. */
+ #undef __GNUC_PREREQ
+ #if defined __GNUC__ && defined __GNUC_MINOR__
+@@ -133,7 +135,7 @@ char *strchrnul(const char *s, int c);
+ # define bswap_32 __bswap32
+ # define bswap_16 __bswap16
+ # define __BIG_ENDIAN__ (_BYTE_ORDER == _BIG_ENDIAN)
+-#elif !defined __APPLE__
++#elif !(defined __APPLE__ || defined BSD)
+ # include <byteswap.h>
+ # include <endian.h>
+ #endif
+@@ -190,7 +192,7 @@ char *strchrnul(const char *s, int c);
+
+ /* ---- Networking ------------------------------------------ */
+
+-#ifndef __APPLE__
++#if !(defined __APPLE__ || defined BSD)
+ # include <arpa/inet.h>
+ # if !defined(__socklen_t_defined) && !defined(_SOCKLEN_T_DECLARED)
+ typedef int socklen_t;
+@@ -202,7 +204,7 @@ typedef int socklen_t;
+ /* ---- Compiler dependent settings ------------------------- */
+
+ #if (defined __digital__ && defined __unix__) \
+- || defined __APPLE__ || defined __FreeBSD__
++ || defined __APPLE__ || defined __FreeBSD__ || defined BSD
+ # undef HAVE_MNTENT_H
+ # undef HAVE_SYS_STATFS_H
+ #else
+@@ -231,7 +233,7 @@ typedef int socklen_t;
+ # define HAVE_FEATURES_H
+ # include <stdint.h>
+ # define HAVE_STDINT_H
+-#elif !defined __APPLE__
++#elif !(defined __APPLE__ || defined BSD)
+ /* Largest integral types. */
+ # if BB_BIG_ENDIAN
+ /* Looks BROKEN! */
diff --git a/package/cfgfs/Config.in b/package/cfgfs/Config.in
index fcda6c97e..911027433 100644
--- a/package/cfgfs/Config.in
+++ b/package/cfgfs/Config.in
@@ -5,11 +5,13 @@ config ADK_PACKAGE_CFGFS
select BUSYBOX_MD5SUM
select BUSYBOX_XARGS
select BUSYBOX_FEATURE_SORT_BIG
+ select ADK_PACKAGE_MTD
depends on \
ADK_LINUX_X86_ALIX1C || \
ADK_LINUX_X86_ALIX2D || \
ADK_LINUX_X86_WRAP || \
ADK_LINUX_CRIS_FOXBOARD || \
+ ADK_LINUX_MIPS_AG241 || \
ADK_LINUX_MIPS_RB532
default y
help
diff --git a/package/cfgfs/Makefile b/package/cfgfs/Makefile
index 50d571e90..17ab5e6a7 100644
--- a/package/cfgfs/Makefile
+++ b/package/cfgfs/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= cfgfs
PKG_VERSION:= 1.0.6
-PKG_RELEASE:= 3
+PKG_RELEASE:= 4
PKG_DESCR:= compressed config filesystem
PKG_SECTION:= base
@@ -21,14 +21,11 @@ BUILD_STYLE:= auto
do-configure:
mkdir -p ${WRKBUILD}
${CP} ./src/* ${WRKBUILD}
- ${TARGET_CC} ${TCPPFLAGS} ${TCFLAGS} -o ${WRKBUILD}/mtd ${WRKBUILD}/mtd.c
do-install:
${INSTALL_DIR} ${IDIR_CFGFS}/sbin
${INSTALL_BIN} ${WRKBUILD}/fwcf.sh ${IDIR_CFGFS}/sbin/cfgfs
- ${INSTALL_BIN} ${WRKBUILD}/fwcf.helper.out ${IDIR_CFGFS}/sbin/cfgfs.helper
-ifeq ($(ARCH),cris)
- ${INSTALL_BIN} ${WRKBUILD}/mtd ${IDIR_CFGFS}/sbin/mtd
-endif
+ ${INSTALL_BIN} ${WRKBUILD}/fwcf.helper.out \
+ ${IDIR_CFGFS}/sbin/cfgfs.helper
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/iptables/Config.in b/package/iptables/Config.in
index 5b82599ad..56dd79cc9 100644
--- a/package/iptables/Config.in
+++ b/package/iptables/Config.in
@@ -21,16 +21,6 @@ config ADK_PACKAGE_IPTABLES
http://www.iptables.org/
-config ADK_PACKAGE_IPTABLES_UTILS
- prompt "iptables-utils.................. Save and restore utilities"
- tristate
- default n
- depends on ADK_PACKAGE_IPTABLES
- help
- iptables-save and iptables-restore for Iptables (IPv4)
-
- http://www.iptables.org/
-
config ADK_PACKAGE_IP6TABLES
prompt "ip6tables......................... IPv6 firewall administration tool"
tristate
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 0548aad57..6be328253 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= iptables
-PKG_VERSION:= 1.4.5
-PKG_RELEASE:= 2
-PKG_MD5SUM:= 44f13990132c20299c1994cd6f425140
+PKG_VERSION:= 1.4.6
+PKG_RELEASE:= 1
+PKG_MD5SUM:= c67cf30e281a924def6426be0973df56
PKG_DESCR:= The netfilter firewalling software
PKG_SECTION:= net
PKG_URL:= http://www.netfilter.org
diff --git a/package/linux-atm/Config.in b/package/linux-atm/Config.in
index e89db02d1..06b2a9476 100644
--- a/package/linux-atm/Config.in
+++ b/package/linux-atm/Config.in
@@ -2,20 +2,14 @@ config ADK_COMPILE_LINUX_ATM
bool
default n
help
-
-config ADK_PACKAGE_LIBATM
- prompt "libatm............................. ATM Library for Linux"
- tristate
- default n
- depends on !ADK_HOST_FREEBSD
- help
- ATM Library for linux
config ADK_PACKAGE_BR2684CTL
prompt "br2684ctl......................... RFC2684 bridging utility"
tristate
default n
select ADK_PACKAGE_LIBATM
+ select ADK_KPACKAGE_KMOD_ATM_BR2684
+ select ADK_COMPILE_LINUX_ATM
depends on !ADK_HOST_FREEBSD
help
Utility for setting up ATM RFC2684 bridging mode.
diff --git a/package/linux-atm/Config.in.lib b/package/linux-atm/Config.in.lib
new file mode 100644
index 000000000..6c3e92d21
--- /dev/null
+++ b/package/linux-atm/Config.in.lib
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_LIBATM
+ prompt "libatm............................ ATM Library for Linux"
+ tristate
+ default n
+ select ADK_COMPILE_LINUX_ATM
+ select ADK_KPACKAGE_KMOD_ATM
+ depends on !ADK_HOST_FREEBSD
+ help
+ ATM Library for linux.
+
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index edb277885..1ebd2172b 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -4,14 +4,16 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= linux-atm
-PKG_VERSION:= 2.5.0
-PKG_RELEASE:= 1
-PKG_MD5SUM:= 0b45a0e801fac7093ce4b0cadf419965
-PKG_DESCR:= ATM library for linux
+PKG_VERSION:= 2.5.1
+PKG_RELEASE:= 2
+PKG_MD5SUM:= 9560b0e1f410a05b849dfdab465dd758
+PKG_DESCR:= ATM library and tools for Linux
PKG_SECTION:= libs
PKG_URL:= http://linux-atm.sourceforge.net
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=linux-atm/}
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
+
PKG_DESCR_1:= br2684ctl
PKG_DEPENDS_1:= libatm
PKG_SECTION_1:= net
@@ -27,7 +29,7 @@ INSTALL_STYLE:= auto
post-install:
${INSTALL_DIR} ${IDIR_LIBATM}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libatm.so.1 ${IDIR_LIBATM}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libatm.so* ${IDIR_LIBATM}/usr/lib
${INSTALL_DIR} ${IDIR_BR2684CTL}/usr/sbin
${CP} ${WRKINST}/usr/sbin/br2684ctl ${IDIR_BR2684CTL}/usr/sbin
diff --git a/package/linux-atm/patches/patch-src_Makefile_in b/package/linux-atm/patches/patch-src_Makefile_in
index be1ca26b5..843577f7f 100644
--- a/package/linux-atm/patches/patch-src_Makefile_in
+++ b/package/linux-atm/patches/patch-src_Makefile_in
@@ -1,11 +1,11 @@
---- linux-atm-2.5.0.orig/src/Makefile.in 2007-12-29 21:31:30.000000000 +0100
-+++ linux-atm-2.5.0/src/Makefile.in 2009-12-11 15:54:54.000000000 +0100
-@@ -179,7 +179,7 @@ target_os = @target_os@
- target_vendor = @target_vendor@
+--- linux-atm-2.5.1.orig/src/Makefile.in 2009-11-30 17:21:16.000000000 +0100
++++ linux-atm-2.5.1/src/Makefile.in 2009-12-17 16:12:07.284420844 +0100
+@@ -214,7 +214,7 @@ target_vendor = @target_vendor@
+ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
--SUBDIRS = include lib test debug qgen saal sigd maint arpd ilmid man led lane \
-+SUBDIRS = include lib debug qgen saal sigd maint arpd ilmid man led lane \
+-SUBDIRS = include lib test debug qgen q2931 saal sigd maint arpd ilmid man led lane \
++SUBDIRS = include lib debug qgen q2931 saal sigd maint arpd ilmid man led lane \
mpoad oamd switch config extra br2684
all: all-recursive
diff --git a/package/linux-atm/patches/patch-src_led_main_c b/package/linux-atm/patches/patch-src_led_main_c
deleted file mode 100644
index 63c5b5e9b..000000000
--- a/package/linux-atm/patches/patch-src_led_main_c
+++ /dev/null
@@ -1,11 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- linux-atm-2.5.0.orig/src/led/main.c 2005-10-06 19:27:50.000000000 +0200
-+++ linux-atm-2.5.0/src/led/main.c 2009-06-01 22:38:27.000000000 +0200
-@@ -31,6 +31,7 @@
- #endif
-
- /* Global includes */
-+#include <limits.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <sys/time.h>
diff --git a/package/linux-atm/patches/patch-src_qgen_Makefile_in b/package/linux-atm/patches/patch-src_qgen_Makefile_in
index 5c4bf490e..211ff90ff 100644
--- a/package/linux-atm/patches/patch-src_qgen_Makefile_in
+++ b/package/linux-atm/patches/patch-src_qgen_Makefile_in
@@ -1,33 +1,20 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- linux-atm-2.5.0.orig/src/qgen/Makefile.in 2007-12-29 21:31:35.000000000 +0100
-+++ linux-atm-2.5.0/src/qgen/Makefile.in 2009-05-29 22:15:30.511416896 +0200
-@@ -92,9 +92,9 @@ AWK = @AWK@
- CC = @CC_FOR_BUILD@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
--CFLAGS = @CFLAGS@
-+CFLAGS = -I../include
+--- linux-atm-2.5.1.orig/src/qgen/Makefile.in 2009-11-30 17:21:18.000000000 +0100
++++ linux-atm-2.5.1/src/qgen/Makefile.in 2009-12-17 16:17:11.216421967 +0100
+@@ -91,7 +91,7 @@ CC_FOR_BUILD = @CC_FOR_BUILD@
+ CFLAGS = @CFLAGS_FOR_BUILD@
+ CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-+CPPFLAGS =
++CPPFLAGS =
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
-@@ -116,7 +116,7 @@ INSTALL_DATA = @INSTALL_DATA@
+@@ -114,7 +114,7 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-+LDFLAGS=
++LDFLAGS =
LEX = @LEX@
LEXLIB = @LEXLIB@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
-@@ -208,7 +208,7 @@ top_srcdir = @top_srcdir@
- qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c \
- qgen.h second.c third.c
-
--qgen_LDADD = -lfl
-+qgen_LDADD =
- q_dump_SOURCES = common.c
- q_dump_LDADD = qd.dump.standalone.o
- # FIXME: paulsch: We don't really depend on qd.dump.o or q.out.o here, but this
diff --git a/package/linux-atm/patches/patch-src_qgen_ql_l_c b/package/linux-atm/patches/patch-src_qgen_ql_l_c
deleted file mode 100644
index ac01bebfb..000000000
--- a/package/linux-atm/patches/patch-src_qgen_ql_l_c
+++ /dev/null
@@ -1,12 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- linux-atm-2.5.0.orig/src/qgen/ql_l.c 2007-12-24 20:46:13.000000000 +0100
-+++ linux-atm-2.5.0/src/qgen/ql_l.c 2009-05-29 22:10:55.010199430 +0200
-@@ -23,6 +23,8 @@
-
- /* end standard C headers. */
-
-+int yywrap(void) { return 1; }
-+
- /* flex integer type definitions */
-
- #ifndef FLEXINT_H
diff --git a/package/linux-atm/patches/patch-src_sigd_Makefile_in b/package/linux-atm/patches/patch-src_sigd_Makefile_in
index d48ea25e7..faa5a1385 100644
--- a/package/linux-atm/patches/patch-src_sigd_Makefile_in
+++ b/package/linux-atm/patches/patch-src_sigd_Makefile_in
@@ -1,7 +1,6 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- linux-atm-2.5.0.orig/src/sigd/Makefile.in 2007-12-29 21:31:36.000000000 +0100
-+++ linux-atm-2.5.0/src/sigd/Makefile.in 2009-05-29 22:17:18.374156943 +0200
-@@ -223,7 +223,7 @@ atmsigd_XTRAS = mess.o $(top_builddir)/s
+--- linux-atm-2.5.1.orig/src/sigd/Makefile.in 2009-11-30 17:21:19.000000000 +0100
++++ linux-atm-2.5.1/src/sigd/Makefile.in 2009-12-17 16:21:42.636433571 +0100
+@@ -244,7 +244,7 @@ atmsigd_XTRAS = mess.o $(top_builddir)/s
$(top_builddir)/src/lib/libatm.la \
$(top_builddir)/src/saal/libsaal.a
diff --git a/package/linux-atm/patches/patch-src_sigd_cfg_l_c b/package/linux-atm/patches/patch-src_sigd_cfg_l_c
deleted file mode 100644
index 91ace0a91..000000000
--- a/package/linux-atm/patches/patch-src_sigd_cfg_l_c
+++ /dev/null
@@ -1,12 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- linux-atm-2.5.0.orig/src/sigd/cfg_l.c 2007-12-24 20:46:31.000000000 +0100
-+++ linux-atm-2.5.0/src/sigd/cfg_l.c 2009-05-29 22:21:00.552981945 +0200
-@@ -23,6 +23,8 @@
-
- /* end standard C headers. */
-
-+int yywrap(void) { return 1; }
-+
- /* flex integer type definitions */
-
- #ifndef FLEXINT_H
diff --git a/package/linux-atm/patches/patch-src_sigd_cfg_l_l b/package/linux-atm/patches/patch-src_sigd_cfg_l_l
new file mode 100644
index 000000000..38bde1e58
--- /dev/null
+++ b/package/linux-atm/patches/patch-src_sigd_cfg_l_l
@@ -0,0 +1,10 @@
+--- linux-atm-2.5.1.orig/src/sigd/cfg_l.l 2004-09-25 13:25:48.000000000 +0200
++++ linux-atm-2.5.1/src/sigd/cfg_l.l 2009-12-17 16:26:08.528422011 +0100
+@@ -16,6 +16,7 @@
+
+ #include "cfg_y.h"
+
++int yywrap(void) { return 1; }
+
+ static int lineno = 1;
+ static int token; /* f@#%ing flex doesn't grok return after BEGIN */
diff --git a/package/linux-atm/patches/patch-src_switch_Makefile_in b/package/linux-atm/patches/patch-src_switch_Makefile_in
new file mode 100644
index 000000000..4a2981839
--- /dev/null
+++ b/package/linux-atm/patches/patch-src_switch_Makefile_in
@@ -0,0 +1,11 @@
+--- linux-atm-2.5.1.orig/src/switch/Makefile.in 2009-11-30 17:21:19.000000000 +0100
++++ linux-atm-2.5.1/src/switch/Makefile.in 2009-12-17 16:30:47.392542123 +0100
+@@ -249,7 +249,7 @@ target_vendor = @target_vendor@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = . debug tcp
++SUBDIRS = . tcp
+ noinst_LIBRARIES = libsw.a
+ swc_SOURCES = swc.c swc.h
+ swc_LDADD = $(top_builddir)/src/lib/libatm.la
diff --git a/package/linux-atm/patches/patch-src_switch_cfg_l_c b/package/linux-atm/patches/patch-src_switch_cfg_l_c
deleted file mode 100644
index c0f08dc69..000000000
--- a/package/linux-atm/patches/patch-src_switch_cfg_l_c
+++ /dev/null
@@ -1,12 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- linux-atm-2.5.0.orig/src/switch/cfg_l.c 2007-12-24 20:47:23.000000000 +0100
-+++ linux-atm-2.5.0/src/switch/cfg_l.c 2009-05-29 22:27:33.024571460 +0200
-@@ -23,6 +23,8 @@
-
- /* end standard C headers. */
-
-+int yywrap(void) { return 1; }
-+
- /* flex integer type definitions */
-
- #ifndef FLEXINT_H
diff --git a/package/linux-atm/patches/patch-src_switch_cfg_l_l b/package/linux-atm/patches/patch-src_switch_cfg_l_l
new file mode 100644
index 000000000..ec00bc66b
--- /dev/null
+++ b/package/linux-atm/patches/patch-src_switch_cfg_l_l
@@ -0,0 +1,10 @@
+--- linux-atm-2.5.1.orig/src/switch/cfg_l.l 2001-10-10 00:33:08.000000000 +0200
++++ linux-atm-2.5.1/src/switch/cfg_l.l 2009-12-17 16:37:59.408538574 +0100
+@@ -15,6 +15,7 @@
+
+ #include "cfg_y.h"
+
++int yywrap(void) { return 1; }
+
+ static int lineno = 1;
+ static int token; /* f@#%ing flex doesn't grok return after BEGIN */
diff --git a/package/linux-atm/patches/patch-src_switch_debug_Makefile_in b/package/linux-atm/patches/patch-src_switch_debug_Makefile_in
index 34f1db7da..2d8fa57d2 100644
--- a/package/linux-atm/patches/patch-src_switch_debug_Makefile_in
+++ b/package/linux-atm/patches/patch-src_switch_debug_Makefile_in
@@ -1,7 +1,6 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- linux-atm-2.5.0.orig/src/switch/debug/Makefile.in 2007-12-29 21:31:36.000000000 +0100
-+++ linux-atm-2.5.0/src/switch/debug/Makefile.in 2009-05-29 22:23:13.656360541 +0200
-@@ -191,7 +191,7 @@ sw_debug_SOURCES = debug.c
+--- linux-atm-2.5.1.orig/src/switch/debug/Makefile.in 2009-11-30 17:21:19.000000000 +0100
++++ linux-atm-2.5.