summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-12-29 23:07:31 +0000
committerMike Frysinger <vapier@gentoo.org>2007-12-29 23:07:31 +0000
commita6520def7b04fb969cb38862cd80eae33e3c7d9e (patch)
treec15a1fa81a67bda952eddb04b750cd7acf25e3a9 /net-dialup/linux-atm
parentx86 stable, security bug #203573 (diff)
downloadgentoo-2-a6520def7b04fb969cb38862cd80eae33e3c7d9e.tar.gz
gentoo-2-a6520def7b04fb969cb38862cd80eae33e3c7d9e.tar.bz2
gentoo-2-a6520def7b04fb969cb38862cd80eae33e3c7d9e.zip
Version bump.
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'net-dialup/linux-atm')
-rw-r--r--net-dialup/linux-atm/ChangeLog8
-rw-r--r--net-dialup/linux-atm/files/digest-linux-atm-2.5.03
-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.ebuild43
4 files changed, 266 insertions, 1 deletions
diff --git a/net-dialup/linux-atm/ChangeLog b/net-dialup/linux-atm/ChangeLog
index 39a855ac7515..549e7ffa8c66 100644
--- a/net-dialup/linux-atm/ChangeLog
+++ b/net-dialup/linux-atm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dialup/linux-atm
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/ChangeLog,v 1.29 2007/10/25 19:25:30 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/ChangeLog,v 1.30 2007/12/29 23:07:30 vapier Exp $
+
+*linux-atm-2.5.0 (29 Dec 2007)
+
+ 29 Dec 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/linux-atm-2.5.0-headers.patch, +linux-atm-2.5.0.ebuild:
+ Version bump.
25 Oct 2007; Alin Năstac <mrness@gentoo.org> -files/2.4.1-gcc34.patch,
-files/2.4.1-gcc4.patch, -files/2.4.1-linux-if.patch,
diff --git a/net-dialup/linux-atm/files/digest-linux-atm-2.5.0 b/net-dialup/linux-atm/files/digest-linux-atm-2.5.0
new file mode 100644
index 000000000000..6bc47c6e52a6
--- /dev/null
+++ b/net-dialup/linux-atm/files/digest-linux-atm-2.5.0
@@ -0,0 +1,3 @@
+MD5 0b45a0e801fac7093ce4b0cadf419965 linux-atm-2.5.0.tar.gz 1036180
+RMD160 e919a29a61b9e4f9775b6f8bac516d6885be97be linux-atm-2.5.0.tar.gz 1036180
+SHA256 e73aa34dc00c9fd50da73d8b528da994f28003dcdd1d23485d251bb451220ca8 linux-atm-2.5.0.tar.gz 1036180
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
new file mode 100644
index 000000000000..7097384f037d
--- /dev/null
+++ b/net-dialup/linux-atm/files/linux-atm-2.5.0-headers.patch
@@ -0,0 +1,213 @@
+--- 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
new file mode 100644
index 000000000000..b4b2f3acea3a
--- /dev/null
+++ b/net-dialup/linux-atm/linux-atm-2.5.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/linux-atm-2.5.0.ebuild,v 1.1 2007/12/29 23:07:30 vapier Exp $
+
+inherit eutils libtool flag-o-matic
+
+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 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-headers.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
+
+ 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*
+}