1 |
commit: ec76ad7f33e27fe3d1791595da1a3204cfc057c3 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 2 11:40:25 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 2 19:11:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec76ad7f |
7 |
|
8 |
net-dialup/linux-atm: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
net-dialup/linux-atm/Manifest | 1 - |
14 |
.../linux-atm/files/linux-atm-2.5.0-bison24.patch | 47 ----- |
15 |
.../linux-atm/files/linux-atm-2.5.0-glibc28.patch | 11 -- |
16 |
.../linux-atm/files/linux-atm-2.5.0-headers.patch | 213 --------------------- |
17 |
net-dialup/linux-atm/linux-atm-2.5.0.ebuild | 50 ----- |
18 |
5 files changed, 322 deletions(-) |
19 |
|
20 |
diff --git a/net-dialup/linux-atm/Manifest b/net-dialup/linux-atm/Manifest |
21 |
index a93d20756b0..36616ee595a 100644 |
22 |
--- a/net-dialup/linux-atm/Manifest |
23 |
+++ b/net-dialup/linux-atm/Manifest |
24 |
@@ -1,2 +1 @@ |
25 |
-DIST linux-atm-2.5.0.tar.gz 1036180 BLAKE2B d63aa1b9524f29d7d20e3e881864df9e395b56dcbe413d0eafa7448078f279f2ea193969b05b395b973037ccb7e44673f9c776fc2dce5b832de3e4796c8a5513 SHA512 48e9bf848318d6842584d19e2c896c906a5dc3d6cf362aab346c47dd258b28ad7bc0b6a7f90708b4c0069504b500cd88e3aed7f54ff803b0ed772e35bc2181b0 |
26 |
DIST linux-atm-2.5.2.tar.gz 1082256 BLAKE2B 329aad437a1e6a17fd7d7d2b81c976a76c684aaf127006ed3af1e998a0f52df056747cc84fc13c933dc15c07246f1f00e4ff101ac98ef1dd1bea102830a83625 SHA512 0a50e91513e4e1f882dc6f4792dc032e89497ff745c0eaea0c0c848b0f84e40d19e038e4ab5aa70c1f915c28a9f845340c332ac5c3ae838b8f539466e10a0a08 |
27 |
|
28 |
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 |
29 |
deleted file mode 100644 |
30 |
index f422c9c35e9..00000000000 |
31 |
--- a/net-dialup/linux-atm/files/linux-atm-2.5.0-bison24.patch |
32 |
+++ /dev/null |
33 |
@@ -1,47 +0,0 @@ |
34 |
---- linux-atm-2.5.0.orig/src/qgen/ql_y.y 2009-02-28 08:22:09.000000000 +0000 |
35 |
-+++ linux-atm-2.5.0/src/qgen/ql_y.y 2009-02-28 08:41:35.000000000 +0000 |
36 |
-@@ -61,8 +61,10 @@ |
37 |
- *walk = 0; |
38 |
- if (*start == ':') { |
39 |
- if (!(searching = strcmp(start+1,name))) |
40 |
-+ { |
41 |
- if (found) yyerror("multiple entries"); |
42 |
- else found = 1; |
43 |
-+ } |
44 |
- continue; |
45 |
- } |
46 |
- if (searching) continue; |
47 |
-@@ -308,9 +310,11 @@ |
48 |
- $$->pos = $2; |
49 |
- $$->flush = !$3; |
50 |
- if ($$->pos == -1) |
51 |
-+ { |
52 |
- if ($$->size & 7) |
53 |
- yyerror("position required for small fields"); |
54 |
- else $$->pos = 0; |
55 |
-+ } |
56 |
- $$->value = $5; |
57 |
- $$->structure = NULL; |
58 |
- $$->next = NULL; |
59 |
-@@ -432,8 +436,8 @@ |
60 |
- } |
61 |
- | TOK_ID opt_id list block |
62 |
- { |
63 |
-- $$ = alloc_t(TAG); |
64 |
-- $$->abort_id = abort_id; |
65 |
-+ $<tag>$ = alloc_t(TAG); |
66 |
-+ $<tag>$->abort_id = abort_id; |
67 |
- } |
68 |
- tags |
69 |
- { |
70 |
-@@ -475,8 +479,8 @@ |
71 |
- } |
72 |
- | TOK_ID opt_id list rep_block |
73 |
- { |
74 |
-- $$ = alloc_t(TAG); |
75 |
-- $$->abort_id = abort_id; |
76 |
-+ $<tag>$ = alloc_t(TAG); |
77 |
-+ $<tag>$->abort_id = abort_id; |
78 |
- } |
79 |
- rep_tags |
80 |
- { |
81 |
|
82 |
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 |
83 |
deleted file mode 100644 |
84 |
index 692f3163dea..00000000000 |
85 |
--- a/net-dialup/linux-atm/files/linux-atm-2.5.0-glibc28.patch |
86 |
+++ /dev/null |
87 |
@@ -1,11 +0,0 @@ |
88 |
-diff -up linux-atm-2.5.0/src/led/main.c.path_max linux-atm-2.5.0/src/led/main.c |
89 |
---- linux-atm-2.5.0/src/led/main.c.path_max 2008-05-19 02:47:40.000000000 +0900 |
90 |
-+++ linux-atm-2.5.0/src/led/main.c 2008-05-19 02:47:52.000000000 +0900 |
91 |
-@@ -41,6 +41,7 @@ |
92 |
- #include <getopt.h> |
93 |
- #include <errno.h> |
94 |
- #include <fcntl.h> |
95 |
-+#include <linux/limits.h> |
96 |
- |
97 |
- #include <atm.h> |
98 |
- #include <atmd.h> |
99 |
|
100 |
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 |
101 |
deleted file mode 100644 |
102 |
index 7097384f037..00000000000 |
103 |
--- a/net-dialup/linux-atm/files/linux-atm-2.5.0-headers.patch |
104 |
+++ /dev/null |
105 |
@@ -1,213 +0,0 @@ |
106 |
---- linux-atm/src/maint/hediag.c.orig |
107 |
-+++ linux-atm/src/maint/hediag.c |
108 |
-@@ -1,4 +1,6 @@ |
109 |
- #include <stdio.h> |
110 |
-+#include <stdlib.h> |
111 |
-+#include <string.h> |
112 |
- #include <sys/ioctl.h> |
113 |
- #include <sys/types.h> |
114 |
- #include <sys/socket.h> |
115 |
---- linux-atm/src/arpd/io.c |
116 |
-+++ linux-atm/src/arpd/io.c |
117 |
-@@ -16,7 +16,7 @@ |
118 |
- #include <sys/types.h> |
119 |
- #include <sys/socket.h> |
120 |
- #include <sys/ioctl.h> |
121 |
--#include <net/if.h> |
122 |
-+#include <linux/if.h> |
123 |
- #include <netinet/in.h> |
124 |
- #include <atm.h> |
125 |
- #include <linux/atmclip.h> /* for CLIP_DEFAULT_IDLETIMER */ |
126 |
---- linux-atm/src/debug/svctor.c |
127 |
-+++ linux-atm/src/debug/svctor.c |
128 |
-@@ -20,6 +20,7 @@ |
129 |
- #define QOS "ubr,aal5:tx:max_sdu=100,rx:max_sdu=100" |
130 |
- |
131 |
- #include <stdio.h> |
132 |
-+#include <stdlib.h> |
133 |
- #include <unistd.h> |
134 |
- #include <fcntl.h> |
135 |
- #include <signal.h> |
136 |
---- linux-atm/src/ilmid/asn1/asn_bits.c |
137 |
-+++ linux-atm/src/ilmid/asn1/asn_bits.c |
138 |
-@@ -20,6 +20,8 @@ |
139 |
- #if HAVE_CONFIG_H |
140 |
- #include <config.h> |
141 |
- #endif |
142 |
-+#include <stdlib.h> |
143 |
-+#include <string.h> |
144 |
- |
145 |
- #include "asn_config.h" |
146 |
- #include "asn_len.h" |
147 |
---- linux-atm/src/ilmid/asn1/asn_list.c |
148 |
-+++ linux-atm/src/ilmid/asn1/asn_list.c |
149 |
-@@ -20,6 +20,7 @@ |
150 |
- #include <config.h> |
151 |
- #endif |
152 |
- |
153 |
-+#include <stdlib.h> |
154 |
- #include "asn_config.h" |
155 |
- #include "asn_list.h" |
156 |
- |
157 |
---- linux-atm/src/ilmid/asn1/asn_octs.c |
158 |
-+++ linux-atm/src/ilmid/asn1/asn_octs.c |
159 |
-@@ -20,6 +20,8 @@ |
160 |
- #if HAVE_CONFIG_H |
161 |
- #include <config.h> |
162 |
- #endif |
163 |
-+#include <stdlib.h> |
164 |
-+#include <string.h> |
165 |
- |
166 |
- #include "asn_config.h" |
167 |
- #include "asn_len.h" |
168 |
---- linux-atm/src/ilmid/asn1/asn_oid.c |
169 |
-+++ linux-atm/src/ilmid/asn1/asn_oid.c |
170 |
-@@ -20,6 +20,8 @@ |
171 |
- #if HAVE_CONFIG_H |
172 |
- #include <config.h> |
173 |
- #endif |
174 |
-+#include <stdlib.h> |
175 |
-+#include <string.h> |
176 |
- |
177 |
- #include "asn_config.h" |
178 |
- #include "asn_len.h" |
179 |
---- linux-atm/src/ilmid/asn1/nibble_alloc.c |
180 |
-+++ linux-atm/src/ilmid/asn1/nibble_alloc.c |
181 |
-@@ -20,6 +20,7 @@ |
182 |
- #include <config.h> |
183 |
- #endif |
184 |
- |
185 |
-+#include <stdlib.h> |
186 |
- #include <memory.h> |
187 |
- #include "asn_config.h" |
188 |
- #include "nibble_alloc.h" |
189 |
---- linux-atm/src/ilmid/atmf_uni.c |
190 |
-+++ linux-atm/src/ilmid/atmf_uni.c |
191 |
-@@ -25,6 +25,7 @@ |
192 |
- #include <config.h> |
193 |
- #endif |
194 |
- |
195 |
-+#include <stdlib.h> |
196 |
- #include "atmf_uni.h" |
197 |
- #include "atmd.h" |
198 |
- #include "util.h" |
199 |
---- linux-atm/src/ilmid/mib.c |
200 |
-+++ linux-atm/src/ilmid/mib.c |
201 |
-@@ -30,6 +30,7 @@ |
202 |
- #include "atmf_uni.h" |
203 |
- #include "util.h" |
204 |
- #include "atmd.h" |
205 |
-+#include "io.h" |
206 |
- |
207 |
- #include <unistd.h> /* gethostname() */ |
208 |
- #include <netdb.h> /* gethostbyname() */ |
209 |
---- linux-atm/src/lane/lecs_db.l |
210 |
-+++ linux-atm/src/lane/lecs_db.l |
211 |
-@@ -7,6 +7,7 @@ |
212 |
- /*Standard includes*/ |
213 |
- #include <stdio.h> |
214 |
- #include <stdlib.h> |
215 |
-+#include <string.h> |
216 |
- |
217 |
- /* Local includes */ |
218 |
- #include "lecs_load.h" |
219 |
---- linux-atm/src/lane/load_lex.l |
220 |
-+++ linux-atm/src/lane/load_lex.l |
221 |
-@@ -4,6 +4,7 @@ |
222 |
- #include <config.h> |
223 |
- #endif |
224 |
- |
225 |
-+#include <string.h> |
226 |
- #include <netinet/in.h> |
227 |
- #include <arpa/inet.h> |
228 |
- |
229 |
---- linux-atm/src/lane/mem_lecs.c |
230 |
-+++ linux-atm/src/lane/mem_lecs.c |
231 |
-@@ -13,6 +13,7 @@ |
232 |
- /* System includes */ |
233 |
- #include <stdio.h> |
234 |
- #include <stdlib.h> |
235 |
-+#include <string.h> |
236 |
- #include <sys/types.h> |
237 |
- |
238 |
- /* Local includes */ |
239 |
---- linux-atm/src/mpoad/k_interf.c |
240 |
-+++ linux-atm/src/mpoad/k_interf.c |
241 |
-@@ -3,6 +3,7 @@ |
242 |
- #endif |
243 |
- |
244 |
- #include <stdio.h> |
245 |
-+#include <stdlib.h> |
246 |
- #include <unistd.h> |
247 |
- #include <string.h> |
248 |
- #include <errno.h> |
249 |
---- linux-atm/src/qgen/ql_y.y |
250 |
-+++ linux-atm/src/qgen/ql_y.y |
251 |
-@@ -26,6 +26,8 @@ |
252 |
- static STRUCTURE *structures = NULL; |
253 |
- static const char *abort_id; /* indicates abort flag */ |
254 |
- |
255 |
-+void yyerror(const char *s); |
256 |
-+int yylex ( void ); |
257 |
- |
258 |
- static NAME_LIST *get_name_list(const char *name) |
259 |
- { |
260 |
---- linux-atm/src/sigd/cfg_y.y |
261 |
-+++ linux-atm/src/sigd/cfg_y.y |
262 |
-@@ -7,6 +7,7 @@ |
263 |
- #include <config.h> |
264 |
- #endif |
265 |
- |
266 |
-+#include <stdlib.h> |
267 |
- #include <string.h> |
268 |
- #include <ctype.h> |
269 |
- #include <limits.h> |
270 |
-@@ -23,6 +24,9 @@ |
271 |
- static RULE *rule; |
272 |
- static SIG_ENTITY *curr_sig = &_entity; |
273 |
- |
274 |
-+void yyerror(const char *s); |
275 |
-+void yywarn(const char *s); |
276 |
-+int yylex ( void ); |
277 |
- |
278 |
- static int hex2num(char digit) |
279 |
- { |
280 |
-@@ -126,7 +130,7 @@ |
281 |
- for (sig = entities; sig; sig = sig->next) |
282 |
- if (atm_equal((struct sockaddr *) &sig->signaling_pvc, |
283 |
- (struct sockaddr *) &$2,0,0)) |
284 |
-- yyerror("duplicate PVC address %d.%d.%d",S_PVC(sig)); |
285 |
-+ yyerror("duplicate PVC address"); |
286 |
- curr_sig = alloc_t(SIG_ENTITY); |
287 |
- *curr_sig = _entity; |
288 |
- curr_sig->signaling_pvc = $2; |
289 |
---- linux-atm/src/switch/cfg_y.y |
290 |
-+++ linux-atm/src/switch/cfg_y.y |
291 |
-@@ -7,6 +7,7 @@ |
292 |
- #include <config.h> |
293 |
- #endif |
294 |
- |
295 |
-+#include <stdlib.h> |
296 |
- #include <string.h> |
297 |
- #include <errno.h> |
298 |
- #include <limits.h> |
299 |
-@@ -22,6 +23,9 @@ |
300 |
- static int itf; |
301 |
- static SIGNALING_ENTITY *sig; |
302 |
- |
303 |
-+void yyerror(const char *s); |
304 |
-+int yylex ( void ); |
305 |
-+ |
306 |
- %} |
307 |
- |
308 |
- %union { |
309 |
---- linux-atm/src/test/ispl_y.y |
310 |
-+++ linux-atm/src/test/ispl_y.y |
311 |
-@@ -19,6 +19,7 @@ |
312 |
- |
313 |
- static struct atmsvc_msg msg; |
314 |
- |
315 |
-+int yylex ( void ); |
316 |
- |
317 |
- %} |
318 |
- |
319 |
|
320 |
diff --git a/net-dialup/linux-atm/linux-atm-2.5.0.ebuild b/net-dialup/linux-atm/linux-atm-2.5.0.ebuild |
321 |
deleted file mode 100644 |
322 |
index 1e2bc6e20ac..00000000000 |
323 |
--- a/net-dialup/linux-atm/linux-atm-2.5.0.ebuild |
324 |
+++ /dev/null |
325 |
@@ -1,50 +0,0 @@ |
326 |
-# Copyright 1999-2018 Gentoo Foundation |
327 |
-# Distributed under the terms of the GNU General Public License v2 |
328 |
- |
329 |
-EAPI=0 |
330 |
- |
331 |
-inherit eutils libtool flag-o-matic toolchain-funcs |
332 |
- |
333 |
-DESCRIPTION="Tools for ATM" |
334 |
-HOMEPAGE="http://linux-atm.sourceforge.net/" |
335 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
336 |
- |
337 |
-LICENSE="GPL-2" |
338 |
-SLOT="0" |
339 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" |
340 |
-IUSE="" |
341 |
- |
342 |
-RDEPEND="" |
343 |
-DEPEND="virtual/yacc" |
344 |
- |
345 |
-RESTRICT="test" |
346 |
- |
347 |
-src_unpack() { |
348 |
- unpack ${A} |
349 |
- |
350 |
- cd "${S}" |
351 |
- epatch "${FILESDIR}"/${P}-headers.patch |
352 |
- epatch "${FILESDIR}"/${P}-glibc28.patch |
353 |
- epatch "${FILESDIR}"/${P}-bison24.patch |
354 |
- |
355 |
- sed -i '/#define _LINUX_NETDEVICE_H/d' \ |
356 |
- src/arpd/*.c || die "sed command on arpd/*.c files failed" |
357 |
- sed -i 's:cp hosts.atm /etc:cp hosts.atm ${DESTDIR}/etc:' \ |
358 |
- src/config/Makefile.in || die "sed command on Makefile.in failed" |
359 |
- |
360 |
- elibtoolize |
361 |
-} |
362 |
- |
363 |
-src_compile() { |
364 |
- append-flags -fno-strict-aliasing |
365 |
- |
366 |
- CC_FOR_BUILD=$(tc-getCC) econf || die "econf failed" |
367 |
- emake || die "emake failed" |
368 |
-} |
369 |
- |
370 |
-src_install() { |
371 |
- emake DESTDIR="${D}" install || die "make install failed" |
372 |
- |
373 |
- dodoc README NEWS THANKS AUTHORS BUGS ChangeLog |
374 |
- dodoc doc/README* doc/atm* |
375 |
-} |