diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-07-24 18:17:49 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-07-24 18:17:49 +0000 |
commit | 315090ddd07a06b798063977c947520ede4990bf (patch) | |
tree | e99d1af34a3744387c3d39d2824156ceef85a732 /net-libs/libnet | |
parent | [bump] dev-perl/Text-WikiFormat-0.800.0 (diff) | |
download | historical-315090ddd07a06b798063977c947520ede4990bf.tar.gz historical-315090ddd07a06b798063977c947520ede4990bf.tar.bz2 historical-315090ddd07a06b798063977c947520ede4990bf.zip |
Old.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'net-libs/libnet')
-rw-r--r-- | net-libs/libnet/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/libnet/files/libnet-1.1.5-darwin.patch | 31 | ||||
-rw-r--r-- | net-libs/libnet/libnet-1.1.5.ebuild | 36 |
3 files changed, 5 insertions, 68 deletions
diff --git a/net-libs/libnet/ChangeLog b/net-libs/libnet/ChangeLog index bd72e1e7a2f6..4837d4dddc75 100644 --- a/net-libs/libnet/ChangeLog +++ b/net-libs/libnet/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/libnet # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.93 2012/06/17 16:04:37 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.94 2012/07/24 18:17:49 jer Exp $ + + 24 Jul 2012; Jeroen Roovers <jer@gentoo.org> -libnet-1.1.5.ebuild, + -files/libnet-1.1.5-darwin.patch: + Old. 17 Jun 2012; Raúl Porcel <armin76@gentoo.org> libnet-1.1.6.ebuild: alpha/ia64/m68k/s390/sh/sparc stable wrt #413877 diff --git a/net-libs/libnet/files/libnet-1.1.5-darwin.patch b/net-libs/libnet/files/libnet-1.1.5-darwin.patch deleted file mode 100644 index 5fa49a157a27..000000000000 --- a/net-libs/libnet/files/libnet-1.1.5-darwin.patch +++ /dev/null @@ -1,31 +0,0 @@ -In file included from libnet_write.c:36: -/usr/include/netinet/udp.h:66: error: expected specifier-qualifier-list before 'u_short' -make: *** [libnet_write.lo] Error 1 - - ---- src/libnet_write.c -+++ src/libnet_write.c -@@ -32,9 +32,6 @@ - * - */ - --#include <netinet/in.h> --#include <netinet/udp.h> -- - #if (HAVE_CONFIG_H) - #include "../include/config.h" - #endif -@@ -47,6 +44,13 @@ - #include "Ntddndis.h" - #endif - -+#ifdef HAVE_SYS_TYPES_H -+#include <sys/types.h> /* for u_short in udphdr on Darwin */ -+#endif -+ -+#include <netinet/in.h> -+#include <netinet/udp.h> -+ - int - libnet_write(libnet_t *l) - { diff --git a/net-libs/libnet/libnet-1.1.5.ebuild b/net-libs/libnet/libnet-1.1.5.ebuild deleted file mode 100644 index 9b01f323a7c5..000000000000 --- a/net-libs/libnet/libnet-1.1.5.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.1.5.ebuild,v 1.9 2011/07/13 12:31:23 xarthisius Exp $ - -EAPI="2" - -inherit eutils - -DESCRIPTION="library to provide an API for commonly used low-level network functions (mainly packet injection)" -HOMEPAGE="http://libnet-dev.sourceforge.net/" -SRC_URI="mirror://sourceforge/project/${PN}-dev/${P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="1.1" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="doc" - -DEPEND="sys-devel/autoconf" -RDEPEND="" - -src_prepare() { - epatch "${FILESDIR}"/${P}-darwin.patch -} - -src_install() { - emake DESTDIR="${D}" install || die "Failed to install" - - dodoc README \ - doc/{BUGS,CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION} \ - doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO} - if use doc ; then - dohtml -r doc/html/* - docinto sample - dodoc sample/*.[ch] - fi -} |