From ec76ad7f33e27fe3d1791595da1a3204cfc057c3 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sat, 2 Mar 2019 12:40:25 +0100 Subject: net-dialup/linux-atm: Drop old Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos --- net-dialup/linux-atm/Manifest | 1 - .../linux-atm/files/linux-atm-2.5.0-bison24.patch | 47 ----- .../linux-atm/files/linux-atm-2.5.0-glibc28.patch | 11 -- .../linux-atm/files/linux-atm-2.5.0-headers.patch | 213 --------------------- net-dialup/linux-atm/linux-atm-2.5.0.ebuild | 50 ----- 5 files changed, 322 deletions(-) delete mode 100644 net-dialup/linux-atm/files/linux-atm-2.5.0-bison24.patch delete mode 100644 net-dialup/linux-atm/files/linux-atm-2.5.0-glibc28.patch delete mode 100644 net-dialup/linux-atm/files/linux-atm-2.5.0-headers.patch delete mode 100644 net-dialup/linux-atm/linux-atm-2.5.0.ebuild (limited to 'net-dialup') diff --git a/net-dialup/linux-atm/Manifest b/net-dialup/linux-atm/Manifest index a93d20756b01..36616ee595ac 100644 --- a/net-dialup/linux-atm/Manifest +++ b/net-dialup/linux-atm/Manifest @@ -1,2 +1 @@ -DIST linux-atm-2.5.0.tar.gz 1036180 BLAKE2B d63aa1b9524f29d7d20e3e881864df9e395b56dcbe413d0eafa7448078f279f2ea193969b05b395b973037ccb7e44673f9c776fc2dce5b832de3e4796c8a5513 SHA512 48e9bf848318d6842584d19e2c896c906a5dc3d6cf362aab346c47dd258b28ad7bc0b6a7f90708b4c0069504b500cd88e3aed7f54ff803b0ed772e35bc2181b0 DIST linux-atm-2.5.2.tar.gz 1082256 BLAKE2B 329aad437a1e6a17fd7d7d2b81c976a76c684aaf127006ed3af1e998a0f52df056747cc84fc13c933dc15c07246f1f00e4ff101ac98ef1dd1bea102830a83625 SHA512 0a50e91513e4e1f882dc6f4792dc032e89497ff745c0eaea0c0c848b0f84e40d19e038e4ab5aa70c1f915c28a9f845340c332ac5c3ae838b8f539466e10a0a08 diff --git a/net-dialup/linux-atm/files/linux-atm-2.5.0-bison24.patch b/net-dialup/linux-atm/files/linux-atm-2.5.0-bison24.patch deleted file mode 100644 index f422c9c35e96..000000000000 --- a/net-dialup/linux-atm/files/linux-atm-2.5.0-bison24.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- linux-atm-2.5.0.orig/src/qgen/ql_y.y 2009-02-28 08:22:09.000000000 +0000 -+++ linux-atm-2.5.0/src/qgen/ql_y.y 2009-02-28 08:41:35.000000000 +0000 -@@ -61,8 +61,10 @@ - *walk = 0; - if (*start == ':') { - if (!(searching = strcmp(start+1,name))) -+ { - if (found) yyerror("multiple entries"); - else found = 1; -+ } - continue; - } - if (searching) continue; -@@ -308,9 +310,11 @@ - $$->pos = $2; - $$->flush = !$3; - if ($$->pos == -1) -+ { - if ($$->size & 7) - yyerror("position required for small fields"); - else $$->pos = 0; -+ } - $$->value = $5; - $$->structure = NULL; - $$->next = NULL; -@@ -432,8 +436,8 @@ - } - | TOK_ID opt_id list block - { -- $$ = alloc_t(TAG); -- $$->abort_id = abort_id; -+ $$ = alloc_t(TAG); -+ $$->abort_id = abort_id; - } - tags - { -@@ -475,8 +479,8 @@ - } - | TOK_ID opt_id list rep_block - { -- $$ = alloc_t(TAG); -- $$->abort_id = abort_id; -+ $$ = alloc_t(TAG); -+ $$->abort_id = abort_id; - } - rep_tags - { diff --git a/net-dialup/linux-atm/files/linux-atm-2.5.0-glibc28.patch b/net-dialup/linux-atm/files/linux-atm-2.5.0-glibc28.patch deleted file mode 100644 index 692f3163deaa..000000000000 --- a/net-dialup/linux-atm/files/linux-atm-2.5.0-glibc28.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up linux-atm-2.5.0/src/led/main.c.path_max linux-atm-2.5.0/src/led/main.c ---- linux-atm-2.5.0/src/led/main.c.path_max 2008-05-19 02:47:40.000000000 +0900 -+++ linux-atm-2.5.0/src/led/main.c 2008-05-19 02:47:52.000000000 +0900 -@@ -41,6 +41,7 @@ - #include - #include - #include -+#include - - #include - #include diff --git a/net-dialup/linux-atm/files/linux-atm-2.5.0-headers.patch b/net-dialup/linux-atm/files/linux-atm-2.5.0-headers.patch deleted file mode 100644 index 7097384f037d..000000000000 --- a/net-dialup/linux-atm/files/linux-atm-2.5.0-headers.patch +++ /dev/null @@ -1,213 +0,0 @@ ---- linux-atm/src/maint/hediag.c.orig -+++ linux-atm/src/maint/hediag.c -@@ -1,4 +1,6 @@ - #include -+#include -+#include - #include - #include - #include ---- linux-atm/src/arpd/io.c -+++ linux-atm/src/arpd/io.c -@@ -16,7 +16,7 @@ - #include - #include - #include --#include -+#include - #include - #include - #include /* for CLIP_DEFAULT_IDLETIMER */ ---- linux-atm/src/debug/svctor.c -+++ linux-atm/src/debug/svctor.c -@@ -20,6 +20,7 @@ - #define QOS "ubr,aal5:tx:max_sdu=100,rx:max_sdu=100" - - #include -+#include - #include - #include - #include ---- linux-atm/src/ilmid/asn1/asn_bits.c -+++ linux-atm/src/ilmid/asn1/asn_bits.c -@@ -20,6 +20,8 @@ - #if HAVE_CONFIG_H - #include - #endif -+#include -+#include - - #include "asn_config.h" - #include "asn_len.h" ---- linux-atm/src/ilmid/asn1/asn_list.c -+++ linux-atm/src/ilmid/asn1/asn_list.c -@@ -20,6 +20,7 @@ - #include - #endif - -+#include - #include "asn_config.h" - #include "asn_list.h" - ---- linux-atm/src/ilmid/asn1/asn_octs.c -+++ linux-atm/src/ilmid/asn1/asn_octs.c -@@ -20,6 +20,8 @@ - #if HAVE_CONFIG_H - #include - #endif -+#include -+#include - - #include "asn_config.h" - #include "asn_len.h" ---- linux-atm/src/ilmid/asn1/asn_oid.c -+++ linux-atm/src/ilmid/asn1/asn_oid.c -@@ -20,6 +20,8 @@ - #if HAVE_CONFIG_H - #include - #endif -+#include -+#include - - #include "asn_config.h" - #include "asn_len.h" ---- linux-atm/src/ilmid/asn1/nibble_alloc.c -+++ linux-atm/src/ilmid/asn1/nibble_alloc.c -@@ -20,6 +20,7 @@ - #include - #endif - -+#include - #include - #include "asn_config.h" - #include "nibble_alloc.h" ---- linux-atm/src/ilmid/atmf_uni.c -+++ linux-atm/src/ilmid/atmf_uni.c -@@ -25,6 +25,7 @@ - #include - #endif - -+#include - #include "atmf_uni.h" - #include "atmd.h" - #include "util.h" ---- linux-atm/src/ilmid/mib.c -+++ linux-atm/src/ilmid/mib.c -@@ -30,6 +30,7 @@ - #include "atmf_uni.h" - #include "util.h" - #include "atmd.h" -+#include "io.h" - - #include /* gethostname() */ - #include /* gethostbyname() */ ---- linux-atm/src/lane/lecs_db.l -+++ linux-atm/src/lane/lecs_db.l -@@ -7,6 +7,7 @@ - /*Standard includes*/ - #include - #include -+#include - - /* Local includes */ - #include "lecs_load.h" ---- linux-atm/src/lane/load_lex.l -+++ linux-atm/src/lane/load_lex.l -@@ -4,6 +4,7 @@ - #include - #endif - -+#include - #include - #include - ---- linux-atm/src/lane/mem_lecs.c -+++ linux-atm/src/lane/mem_lecs.c -@@ -13,6 +13,7 @@ - /* System includes */ - #include - #include -+#include - #include - - /* Local includes */ ---- linux-atm/src/mpoad/k_interf.c -+++ linux-atm/src/mpoad/k_interf.c -@@ -3,6 +3,7 @@ - #endif - - #include -+#include - #include - #include - #include ---- linux-atm/src/qgen/ql_y.y -+++ linux-atm/src/qgen/ql_y.y -@@ -26,6 +26,8 @@ - static STRUCTURE *structures = NULL; - static const char *abort_id; /* indicates abort flag */ - -+void yyerror(const char *s); -+int yylex ( void ); - - static NAME_LIST *get_name_list(const char *name) - { ---- linux-atm/src/sigd/cfg_y.y -+++ linux-atm/src/sigd/cfg_y.y -@@ -7,6 +7,7 @@ - #include - #endif - -+#include - #include - #include - #include -@@ -23,6 +24,9 @@ - static RULE *rule; - static SIG_ENTITY *curr_sig = &_entity; - -+void yyerror(const char *s); -+void yywarn(const char *s); -+int yylex ( void ); - - static int hex2num(char digit) - { -@@ -126,7 +130,7 @@ - for (sig = entities; sig; sig = sig->next) - if (atm_equal((struct sockaddr *) &sig->signaling_pvc, - (struct sockaddr *) &$2,0,0)) -- yyerror("duplicate PVC address %d.%d.%d",S_PVC(sig)); -+ yyerror("duplicate PVC address"); - curr_sig = alloc_t(SIG_ENTITY); - *curr_sig = _entity; - curr_sig->signaling_pvc = $2; ---- linux-atm/src/switch/cfg_y.y -+++ linux-atm/src/switch/cfg_y.y -@@ -7,6 +7,7 @@ - #include - #endif - -+#include - #include - #include - #include -@@ -22,6 +23,9 @@ - static int itf; - static SIGNALING_ENTITY *sig; - -+void yyerror(const char *s); -+int yylex ( void ); -+ - %} - - %union { ---- linux-atm/src/test/ispl_y.y -+++ linux-atm/src/test/ispl_y.y -@@ -19,6 +19,7 @@ - - static struct atmsvc_msg msg; - -+int yylex ( void ); - - %} - diff --git a/net-dialup/linux-atm/linux-atm-2.5.0.ebuild b/net-dialup/linux-atm/linux-atm-2.5.0.ebuild deleted file mode 100644 index 1e2bc6e20aca..000000000000 --- a/net-dialup/linux-atm/linux-atm-2.5.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils libtool flag-o-matic toolchain-funcs - -DESCRIPTION="Tools for ATM" -HOMEPAGE="http://linux-atm.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" -IUSE="" - -RDEPEND="" -DEPEND="virtual/yacc" - -RESTRICT="test" - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${FILESDIR}"/${P}-headers.patch - epatch "${FILESDIR}"/${P}-glibc28.patch - epatch "${FILESDIR}"/${P}-bison24.patch - - sed -i '/#define _LINUX_NETDEVICE_H/d' \ - src/arpd/*.c || die "sed command on arpd/*.c files failed" - sed -i 's:cp hosts.atm /etc:cp hosts.atm ${DESTDIR}/etc:' \ - src/config/Makefile.in || die "sed command on Makefile.in failed" - - elibtoolize -} - -src_compile() { - append-flags -fno-strict-aliasing - - CC_FOR_BUILD=$(tc-getCC) econf || die "econf failed" - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - - dodoc README NEWS THANKS AUTHORS BUGS ChangeLog - dodoc doc/README* doc/atm* -} -- cgit v1.2.3-65-gdbad