summaryrefslogtreecommitdiff
path: root/net-dialup/linux-atm
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/linux-atm')
-rw-r--r--net-dialup/linux-atm/Manifest7
-rw-r--r--net-dialup/linux-atm/files/linux-atm-2.5.0-bison24.patch47
-rw-r--r--net-dialup/linux-atm/files/linux-atm-2.5.0-glibc28.patch11
-rw-r--r--net-dialup/linux-atm/files/linux-atm-2.5.0-headers.patch213
-rw-r--r--net-dialup/linux-atm/linux-atm-2.5.0.ebuild50
-rw-r--r--net-dialup/linux-atm/linux-atm-2.5.2.ebuild2
6 files changed, 2 insertions, 328 deletions
diff --git a/net-dialup/linux-atm/Manifest b/net-dialup/linux-atm/Manifest
index 7454afb4b7c2..12996cf9a173 100644
--- a/net-dialup/linux-atm/Manifest
+++ b/net-dialup/linux-atm/Manifest
@@ -1,9 +1,4 @@
-AUX linux-atm-2.5.0-bison24.patch 1062 BLAKE2B 6ca0562b8b610c2d09594e8a3f830834e2aced216ff00512013f636fd1c58f0d8e9470fb8d3ac7cbbcf5f2fb73b2a0b12883f73a058acde4c2baec3802f57cb8 SHA512 4fb86766e94c1bb46c8daecb943e26a6f205c0d6476c5a529eb461b8a06f44bbf693a8993bd988f686010d8849dad87f8d8f310fd93e897461225e64bf0fa283
-AUX linux-atm-2.5.0-glibc28.patch 376 BLAKE2B be95c8542e4f45177415372690074a230ac3dc016c4f5c8085e4d9d89225043ceb9df8bd5e2d944b5dfbb6a68db659041ebf9a9906061d0e6d7b767e874f1116 SHA512 856d1cd6f9d2aff4db1b81ecda21995d181b810efc2c71a7cba45b2df99b456861cec6bdbf03d4f2914d54dc1e4ed5ff3df42fa29c58c8f8dfa6c3aba65556b6
-AUX linux-atm-2.5.0-headers.patch 4681 BLAKE2B e7879cf5f44e14bb6a7b486a60194d11048daece39ab619db01b9bda195bffd1fd366db8dbdd342b8a33372d89e19b9ce388ba07d9d8884d4b56f21f477a044c SHA512 6d8a1078bf7710af917a59b0c94d6455666ea170cad5425d9741a1a8004785e06295cfd39524170cb7fd57b58416adfc89fcf3e3081bc6bf1619cefa1340d6a3
AUX linux-atm-2.5.2-headers.patch 646 BLAKE2B 1a1280f70c9232ddc39b664e1a533258c6bf7a05017f471544d442b69a9f9b73775d914b1433359adbcc571218207ec7413e2a64e67432489a8b417251b32e3d SHA512 4248a0063de9723ca6a3abdd07c5c3f4bda5a43f21bb5d19f931e898abd3e10f52b20c9d1a21415a17bee70ac6bdba83e13704f2a7c5489fb12d6e93a5a8e113
-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
-EBUILD linux-atm-2.5.0.ebuild 1166 BLAKE2B 0cce0ad7c82250d4d1bca4b903c0ccd887f12a766c1c5c5035bbadcd6be373899c92b8c012de71ccf129f598db873cfeaf2059e0185efef59298b344bf1ca296 SHA512 095c77249b5c86f6a9ad045babd1e2922a7eace9adaf7f68a4de0943b099cf3d0a7088bd49e8010ba3b9e978f3021ff38ac4255d8e62e8f0dfe23beeb9dea2f1
-EBUILD linux-atm-2.5.2.ebuild 892 BLAKE2B 06990414bac2deeb61ac73a089f562e9bd3ed810c66ccb768c1c0284e3919d61b0f3a2919750dae7d7a402cbec9ac51a3e3728b2b4d506624b1b251d22dd79e4 SHA512 cab5e3cc18011d643db4f4057f202d2021d51963768c3817411ddc043fa875d676e3a39b4cfbfefde5710e08b590ff2771f51ba2895078305f19cef87004535b
+EBUILD linux-atm-2.5.2.ebuild 887 BLAKE2B 171bbd6efb3b6d5973df80514a24e9c048dd49c343ea78fd2bfe9a26673ce32de0a40bf6c82bae9abebb5d7418cf9b97bab0551352f36ad8a25e4fced668eeab SHA512 fdab57e7555003f1ff7ff650d920ab583c5c1f87739914aee5381d33cf74a5aac032ac33bd901c94c6c7b5cc1b8e7a9c57c32ae90a8e7fb8adda727d39c5d544
MISC metadata.xml 303 BLAKE2B 064756eecade63aaa1040f2712c005a677f365f7c6e6bb5743c4cf8deb59bee599f42b3b38160e5e2a04402a9b2167e618b4f891cc80a30a3e48b2f7851813ac SHA512 86ae1e28bb9f9d2db0a9607d58dd8cb48f96e76c4aaf5e7027f9ae792ef41ca6ac8da92adf13a40c4bcc1bd2cbea67cd4535232116616f687011c777789bc79b
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;
-+ $<tag>$ = alloc_t(TAG);
-+ $<tag>$->abort_id = abort_id;
- }
- tags
- {
-@@ -475,8 +479,8 @@
- }
- | TOK_ID opt_id list rep_block
- {
-- $$ = alloc_t(TAG);
-- $$->abort_id = abort_id;
-+ $<tag>$ = alloc_t(TAG);
-+ $<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 <getopt.h>
- #include <errno.h>
- #include <fcntl.h>
-+#include <linux/limits.h>
-
- #include <atm.h>
- #include <atmd.h>
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 <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
- #include <sys/ioctl.h>
- #include <sys/types.h>
- #include <sys/socket.h>
---- linux-atm/src/arpd/io.c
-+++ linux-atm/src/arpd/io.c
-@@ -16,7 +16,7 @@
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <sys/ioctl.h>
--#include <net/if.h>
-+#include <linux/if.h>
- #include <netinet/in.h>
- #include <atm.h>
- #include <linux/atmclip.h> /* 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 <stdio.h>
-+#include <stdlib.h>
- #include <unistd.h>
- #include <fcntl.h>
- #include <signal.h>
---- 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 <config.h>
- #endif
-+#include <stdlib.h>
-+#include <string.h>
-
- #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 <config.h>
- #endif
-
-+#include <stdlib.h>
- #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 <config.h>
- #endif
-+#include <stdlib.h>
-+#include <string.h>
-
- #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 <config.h>
- #endif
-+#include <stdlib.h>
-+#include <string.h>
-
- #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 <config.h>
- #endif
-
-+#include <stdlib.h>
- #include <memory.h>
- #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 <config.h>
- #endif
-
-+#include <stdlib.h>
- #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 <unistd.h> /* gethostname() */
- #include <netdb.h> /* gethostbyname() */
---- linux-atm/src/lane/lecs_db.l
-+++ linux-atm/src/lane/lecs_db.l
-@@ -7,6 +7,7 @@
- /*Standard includes*/
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
-
- /* 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 <config.h>
- #endif
-
-+#include <string.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
-
---- linux-atm/src/lane/mem_lecs.c
-+++ linux-atm/src/lane/mem_lecs.c
-@@ -13,6 +13,7 @@
- /* System includes */
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #include <sys/types.h>
-
- /* Local includes */
---- linux-atm/src/mpoad/k_interf.c
-+++ linux-atm/src/mpoad/k_interf.c
-@@ -3,6 +3,7 @@
- #endif
-
- #include <stdio.h>
-+#include <stdlib.h>
- #include <unistd.h>
- #include <string.h>
- #include <errno.h>
---- 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 <config.h>
- #endif
-
-+#include <stdlib.h>
- #include <string.h>
- #include <ctype.h>
- #include <limits.h>
-@@ -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 <config.h>
- #endif
-
-+#include <stdlib.h>
- #include <string.h>
- #include <errno.h>
- #include <limits.h>
-@@ -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*
-}
diff --git a/net-dialup/linux-atm/linux-atm-2.5.2.ebuild b/net-dialup/linux-atm/linux-atm-2.5.2.ebuild
index baf046ba8ba3..0ef91fafd8a5 100644
--- a/net-dialup/linux-atm/linux-atm-2.5.2.ebuild
+++ b/net-dialup/linux-atm/linux-atm-2.5.2.ebuild
@@ -11,7 +11,7 @@ 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"
+KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="static-libs"
RDEPEND=""