Browse Source

linux-atm: remove package

Waldemar Brodkorb 3 weeks ago
parent
commit
049d11f177

+ 1 - 10
package/iproute2/Makefile

@@ -9,7 +9,7 @@ PKG_RELEASE:=		1
 PKG_HASH:=		1f795398a04aeaacd06a8f6ace2cfd913c33fa5953ca99daae83bb5c534611c3
 PKG_DESCR:=		routing control utility
 PKG_SECTION:=		net/route
-PKG_BUILDDEP:=		iptables libnl linux-atm
+PKG_BUILDDEP:=		iptables libnl
 PKG_DEPENDS:=		libnl
 PKG_URL:=		http://www.linuxfoundation.org/en/Net:Iproute2
 PKG_SITES:=		http://www.kernel.org/pub/linux/utils/net/iproute2/
@@ -18,9 +18,6 @@ PKG_SUBPKGS:=		IP TC TC_ATM TC_IPT IFSTAT LNSTAT ROUTEL RTMON SS
 PKGSS_IP:=		libmnl
 PKGSD_TC:=		traffic control utility
 PKGSB_TC:=		iptables
-PKGSD_TC_ATM:=		traffic control atm support library
-PKGSS_TC_ATM:=		tc libatm
-PKGSB_TC_ATM:=		linux-atm
 PKGSD_TC_IPT:=		traffic control iptables support library
 PKGSS_TC_IPT:=		tc iptables
 PKGSB_TC_IPT:=		iptables
@@ -34,7 +31,6 @@ include ${ADK_TOPDIR}/mk/package.mk
 
 $(eval $(call PKG_template,IP,ip,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 $(eval $(call PKG_template,TC,tc,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_TC},${PKGSD_TC},${PKG_SECTION}))
-$(eval $(call PKG_template,TC_ATM,tc-atm,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_TC_ATM},${PKGSD_TC_ATM},${PKG_SECTION}))
 $(eval $(call PKG_template,TC_IPT,tc-iptables,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_TC_IPT},${PKGSD_TC_IPT},${PKG_SECTION}))
 $(eval $(call PKG_template,IFSTAT,ifstat,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_IFSTAT},${PKG_SECTION}))
 $(eval $(call PKG_template,LNSTAT,lnstat,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LNSTAT},${PKG_SECTION}))
@@ -56,11 +52,6 @@ tc-install:
 	${CP} ${WRKINST}/usr/lib/tc/*.dist ${IDIR_TC}/usr/lib/tc/
 	${INSTALL_BIN} ${WRKINST}/sbin/tc ${IDIR_TC}/usr/sbin/
 
-tc-atm-install:
-	${INSTALL_DIR} ${IDIR_TC_ATM}/usr/lib/tc
-	${INSTALL_DATA} ${WRKINST}/usr/lib/tc/q_atm.so \
-		${IDIR_TC_ATM}/usr/lib/tc/
-
 tc-iptables-install:
 	${INSTALL_DIR} ${IDIR_TC_IPT}/usr/lib/tc
 	# use ${CP} here, since m_ipt.so is a symlink to m_xt.so

+ 0 - 39
package/linux-atm/Makefile

@@ -1,39 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include ${ADK_TOPDIR}/rules.mk
-
-PKG_NAME:=		linux-atm
-PKG_VERSION:=		2.5.2
-PKG_RELEASE:=		1
-PKG_HASH:=		9645481a2b16476b59220aa2d6bc5bc41043f291326c9b37581018fbd16dd53a
-PKG_DESCR:=		atm library
-PKG_SECTION:=		libs/net
-PKG_BUILDDEP:=		flex-host bison-host
-PKG_URL:=		http://linux-atm.sourceforge.net/
-PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=linux-atm/}
-PKG_NOPARALLEL:=	1
-PKG_LIBNAME:=		libatm
-PKG_OPTS:=		dev
-
-DISTFILES:=		$(PKG_NAME)-$(PKG_VERSION).tar.gz
-
-PKG_SUBPKGS:=		LIBATM BR2684CTL
-PKGSD_BR2684CTL:=	br2684ctl ATM utility
-PKGSS_BR2684CTL:=	libatm
-PKGSC_BR2684CTL:=	net/route
-
-include ${ADK_TOPDIR}/mk/package.mk
-
-$(eval $(call PKG_template,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-$(eval $(call PKG_template,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_BR2684CTL},${PKGSD_BR2684CTL},${PKGSC_BR2684CTL}))
-
-libatm-install:
-	${INSTALL_DIR} ${IDIR_LIBATM}/usr/lib
-	${CP} ${WRKINST}/usr/lib/libatm.so* ${IDIR_LIBATM}/usr/lib
-
-br2684ctl-install:
-	${INSTALL_DIR} ${IDIR_BR2684CTL}/usr/sbin
-	${CP} ${WRKINST}/usr/sbin/br2684ctl ${IDIR_BR2684CTL}/usr/sbin
-
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk

+ 0 - 19
package/linux-atm/files/br2684.hotplug

@@ -1,19 +0,0 @@
-[ "${INTERFACE%%[0-9]*}" = "atm" ] && {
-	case "$ACTION" in
-		register)
-			[ "$pppoe_atm" = 1 ] && {
-				case "$atm_encaps" in
-					0|vc) ENCAPS=0 ;;
-					1|llc) ENCAPS=1 ;;
-					*) ENCAPS=0 ;;
-				esac
-				insmod br2684 2>&- >&-
-				br2684ctl -c0 -e${ENCAPS} -a${atm_vpi:-8}.${atm_vci:-35} &
-			}
-		;;
-		unregister)
-			killall br2684ctl 2>&- >&-
-			rmmod br2684
-		;;
-	esac
-}

+ 0 - 7
package/linux-atm/patches/patch-src_Makefile_am

@@ -1,7 +0,0 @@
---- linux-atm-2.5.1.orig/src/Makefile.am	2009-08-03 22:36:56.000000000 +0200
-+++ linux-atm-2.5.1/src/Makefile.am	2020-09-14 15:09:51.650818873 +0200
-@@ -1,3 +1 @@
--SUBDIRS = include lib test debug qgen q2931 saal sigd maint arpd ilmid man led lane \
--		mpoad oamd switch config extra br2684
--
-+SUBDIRS = include lib br2684ctl

+ 0 - 11
package/linux-atm/patches/patch-src_Makefile_in

@@ -1,11 +0,0 @@
---- linux-atm-2.5.2.orig/src/Makefile.in	2010-12-28 17:06:09.000000000 +0100
-+++ linux-atm-2.5.2/src/Makefile.in	2020-09-14 15:27:36.454621754 +0200
-@@ -215,7 +215,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 q2931 saal sigd maint arpd ilmid man led lane \
-+SUBDIRS = include lib debug qgen q2931 saal sigd ilmid led lane \
- 		mpoad oamd switch config extra br2684
- 
- all: all-recursive

+ 0 - 11
package/linux-atm/patches/patch-src_sigd_Makefile_in

@@ -1,11 +0,0 @@
---- linux-atm-2.5.2.orig/src/sigd/Makefile.in	2010-12-28 17:06:11.000000000 +0100
-+++ linux-atm-2.5.2/src/sigd/Makefile.in	2020-09-14 15:22:00.557233015 +0200
-@@ -245,7 +245,7 @@ atmsigd_XTRAS = mess.o $(top_builddir)/s
- 			$(top_builddir)/src/lib/libatm.la \
- 			$(top_builddir)/src/saal/libsaal.a
- 
--atmsigd_LDADD = $(atmsigd_XTRAS) -lfl
-+atmsigd_LDADD = $(atmsigd_XTRAS)
- atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS)
- CLEANFILES = mess.c
- sysconf_DATA = atmsigd.conf

+ 0 - 10
package/linux-atm/patches/patch-src_sigd_cfg_l_l

@@ -1,10 +0,0 @@
---- 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 */

+ 0 - 11
package/linux-atm/patches/patch-src_switch_Makefile_in

@@ -1,11 +0,0 @@
---- linux-atm-2.5.2.orig/src/switch/Makefile.in	2010-12-28 17:06:11.000000000 +0100
-+++ linux-atm-2.5.2/src/switch/Makefile.in	2020-09-14 15:22:00.585234798 +0200
-@@ -250,7 +250,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

+ 0 - 10
package/linux-atm/patches/patch-src_switch_cfg_l_l

@@ -1,10 +0,0 @@
---- 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 */

+ 0 - 11
package/linux-atm/patches/patch-src_switch_debug_Makefile_in

@@ -1,11 +0,0 @@
---- linux-atm-2.5.2.orig/src/switch/debug/Makefile.in	2010-12-28 17:06:11.000000000 +0100
-+++ linux-atm-2.5.2/src/switch/debug/Makefile.in	2020-09-14 15:22:00.573234034 +0200
-@@ -200,7 +200,7 @@ sw_debug_SOURCES = debug.c
- sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a \
- 			$(top_builddir)/src/lib/libatm.la
- 
--sw_debug_LDADD = $(sw_debug_XTRAS) -lfl
-+sw_debug_LDADD = $(sw_debug_XTRAS)
- sw_debug_DEPENDENCIES = $(sw_debug_XTRAS)
- EXTRA_DIST = demo README
- all: all-am

+ 0 - 11
package/linux-atm/patches/patch-src_switch_tcp_Makefile_in

@@ -1,11 +0,0 @@
---- linux-atm-2.5.2.orig/src/switch/tcp/Makefile.in	2010-12-28 17:06:11.000000000 +0100
-+++ linux-atm-2.5.2/src/switch/tcp/Makefile.in	2020-09-14 15:22:00.593235307 +0200
-@@ -200,7 +200,7 @@ sw_tcp_SOURCES = tcpsw.c
- sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a \
- 		$(top_builddir)/src/lib/libatm.la
- 
--sw_tcp_LDADD = $(sw_tcp_XTRAS) -lfl
-+sw_tcp_LDADD = $(sw_tcp_XTRAS) 
- sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS)
- EXTRA_DIST = mkfiles README
- all: all-am