summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-07-24 18:17:49 +0000
committerJeroen Roovers <jer@gentoo.org>2012-07-24 18:17:49 +0000
commit9673e71be474edb96fd947d5c9c845d2727b12f8 (patch)
tree4c147fa0150f7d8be42abd2f7937b1729f75a966 /net-libs/libnet
parent[bump] dev-perl/Text-WikiFormat-0.800.0 (diff)
downloadgentoo-2-9673e71be474edb96fd947d5c9c845d2727b12f8.tar.gz
gentoo-2-9673e71be474edb96fd947d5c9c845d2727b12f8.tar.bz2
gentoo-2-9673e71be474edb96fd947d5c9c845d2727b12f8.zip
Old.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libnet')
-rw-r--r--net-libs/libnet/ChangeLog6
-rw-r--r--net-libs/libnet/files/libnet-1.1.5-darwin.patch31
-rw-r--r--net-libs/libnet/libnet-1.1.5.ebuild36
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
-}