net-dialup/linux-atm: Drop old
authorPacho Ramos <pacho@gentoo.org>
Sat, 2 Mar 2019 11:40:25 +0000 (12:40 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sat, 2 Mar 2019 19:11:27 +0000 (20:11 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
net-dialup/linux-atm/Manifest
net-dialup/linux-atm/files/linux-atm-2.5.0-bison24.patch [deleted file]
net-dialup/linux-atm/files/linux-atm-2.5.0-glibc28.patch [deleted file]
net-dialup/linux-atm/files/linux-atm-2.5.0-headers.patch [deleted file]
net-dialup/linux-atm/linux-atm-2.5.0.ebuild [deleted file]

index a93d20756b0115a4ba9bf92181fc94a855fbd38e..36616ee595ac88f2d9e26a71e435d59b0e83fa61 100644 (file)
@@ -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 (file)
index f422c9c..0000000
+++ /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 (file)
index 692f316..0000000
+++ /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 (file)
index 7097384..0000000
+++ /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 (file)
index 1e2bc6e..0000000
+++ /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*
-}