summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-01-26 01:29:47 +0000
committerJeroen Roovers <jer@gentoo.org>2010-01-26 01:29:47 +0000
commit0257852d5af5d6488524bb5b23e1b983735ceeec (patch)
treeeeed663c8b04fbfedf74b2d1af83cb12b4503d52 /net-libs/libnet
parentRemove old. Version bump thanks to Dmitry Karasik (bug #302219). (diff)
downloadhistorical-0257852d5af5d6488524bb5b23e1b983735ceeec.tar.gz
historical-0257852d5af5d6488524bb5b23e1b983735ceeec.tar.bz2
historical-0257852d5af5d6488524bb5b23e1b983735ceeec.zip
Remove old. 1.0.2a-r3 stable for HPPA too.
Package-Manager: portage-2.2_rc61/cvs/Linux i686
Diffstat (limited to 'net-libs/libnet')
-rw-r--r--net-libs/libnet/ChangeLog9
-rw-r--r--net-libs/libnet/Manifest11
-rw-r--r--net-libs/libnet/files/libnet-1.1.2.1-autotools.patch79
-rw-r--r--net-libs/libnet/files/libnet-1.1.2.1-cq_end_loop.patch32
-rw-r--r--net-libs/libnet/files/libnet-1.1.2.1-fix-chksum.patch27
-rw-r--r--net-libs/libnet/libnet-1.0.2a-r3.ebuild6
-rw-r--r--net-libs/libnet/libnet-1.1.2.1-r1.ebuild41
-rw-r--r--net-libs/libnet/libnet-1.1.2.1-r2.ebuild42
-rw-r--r--net-libs/libnet/libnet-1.1.4.ebuild36
9 files changed, 13 insertions, 270 deletions
diff --git a/net-libs/libnet/ChangeLog b/net-libs/libnet/ChangeLog
index 2faeddbafbb2..b5ad93231469 100644
--- a/net-libs/libnet/ChangeLog
+++ b/net-libs/libnet/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-libs/libnet
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.61 2010/01/26 00:38:14 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.62 2010/01/26 01:29:46 jer Exp $
+
+ 26 Jan 2010; Jeroen Roovers <jer@gentoo.org> libnet-1.0.2a-r3.ebuild,
+ -libnet-1.1.2.1-r1.ebuild, -libnet-1.1.2.1-r2.ebuild,
+ -files/libnet-1.1.2.1-autotools.patch,
+ -files/libnet-1.1.2.1-cq_end_loop.patch,
+ -files/libnet-1.1.2.1-fix-chksum.patch, -libnet-1.1.4.ebuild:
+ Remove old. 1.0.2a-r3 stable for HPPA too.
26 Jan 2010; Brent Baude <ranger@gentoo.org> libnet-1.1.4-r1.ebuild:
Marking libnet-1.1.4-r1 ppc64 for bug 289857
diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest
index 1e2283c69ebe..2d1d82d7597d 100644
--- a/net-libs/libnet/Manifest
+++ b/net-libs/libnet/Manifest
@@ -1,16 +1,9 @@
AUX 1.0.2a-slot.patch 7696 RMD160 9efca7d4e59ab46eaddb3932c39e86b7ad2bd9ce SHA1 4f4b0d316f8e61eb8d2daf25051036968d5d4594 SHA256 bd1d187bce4f5d618506d0149b469e4208eea0b45bbebec0aa190644be8d016e
-AUX libnet-1.1.2.1-autotools.patch 2180 RMD160 005a05cc2b44e76c4eb2058d641c4475eef5a9bd SHA1 ce8e043fba6cea7b625efacad1a99954c5dff27c SHA256 1e2913b2c9323bc15e82c6e56060137bfafc1be07279c49f1d80f228c2003925
-AUX libnet-1.1.2.1-cq_end_loop.patch 766 RMD160 79257281ea029b5b243a3e8230f67cb3fab9c4c1 SHA1 38a81b0db7e9c515f4f9d33e43a2d35f80b982ce SHA256 2b3edf62528ce0b6bcdaf7b27710a182cf5722bea4f208dafa373460fcacde57
-AUX libnet-1.1.2.1-fix-chksum.patch 564 RMD160 bce53058c481e552494dee88e193157b151a31b1 SHA1 5a2fc6f2a540016edb82743a73cb30fef5fb9f62 SHA256 65e751e0957a6b7b73499513ad4260050f4627c3f9b46d73afeed3f7bd281682
AUX libnet-1.1.4-zero-pointers-after-free.patch 870 RMD160 efbf34695710253105a792b1a65eaac187ed2b75 SHA1 30d5b10f10db27d923ae6d2d51795f9f68f71886 SHA256 d93e9401be39a278c6be60996cdd61240fb13571d8aba81326d5468b440bbd76
AUX libnet-gcc33-fix 563 RMD160 1d153e6ad09f447ab3ebc3568df9e595cc33f133 SHA1 5e29c42bfb18cd3bd55f8700bd0a2886d463c6e3 SHA256 b533c27f07bb27489b0a3941546788447cab6e767b489961ba7fc776ee49ed47
DIST libnet-1.0.2a.tar.gz 140191 RMD160 43dd2edc31e56b42792727b88d81342dc26d3308 SHA1 804eaf43bb90f93e505d46a9668c914a112bf136 SHA256 7c7f2e8ccb47bb47072c5cd583fea5e90ab892c75889b625346b60d10464459a
-DIST libnet-1.1.2.1.tar.gz 1021236 RMD160 2d8d87930d09a74ab369bd7c240af4b5426ae380 SHA1 760783a2adbd845b731e2000aafa3cd9c3b028d5 SHA256 ab01882a3d0556176018c09342cd0731f7cbc8e687795009894c3326942c76ff
DIST libnet-1.1.4.tar.gz 1204502 RMD160 e9dd2026ac9191e62646ec97eb4896703b445685 SHA1 86a2f75b52c5b15dbd41c3e03356167de9c883e4 SHA256 de98229d9eca00b66c26cb368e582901cf768456321703bc38235e3b347b512d
-EBUILD libnet-1.0.2a-r3.ebuild 1615 RMD160 650515d40446fb101e3d19913ed6e39f4c8d5913 SHA1 37f8e23942945448d555676256f5b18881bd1c93 SHA256 fcafb176db7433026dcc0fe8aa4a6e11898b43062469b50c63ac469200dbc257
-EBUILD libnet-1.1.2.1-r1.ebuild 1060 RMD160 7362399e879f7b76a8692774e82f9c4aef263dd2 SHA1 97f8074383acadd8d0b6a4109df8b977c16792f7 SHA256 2315d9f2d18e412671113551fac55ea42d840aeca8ef6ebb15a8d3da1e71b912
-EBUILD libnet-1.1.2.1-r2.ebuild 1114 RMD160 ec7231ec6d168ab5ca85b6ef2ffb39bb4c432172 SHA1 e2c3267ad199ff6a81d38a74fa193e5a4c91d198 SHA256 e038b81ca473d8598ab5dcced24269a787210e9be5028ad5f19a49102cbb473a
+EBUILD libnet-1.0.2a-r3.ebuild 1614 RMD160 683f9884ef161f687cdb541833a24f3a1dbb3dc3 SHA1 19b99f3f9badb834873f2caae7db3660c7fc1ecf SHA256 fc4161ab3d53551675405250b37445a3b83076ab74072bb5672c8b78e01eff51
EBUILD libnet-1.1.4-r1.ebuild 1077 RMD160 5287d5732ba940ed9f52d46bb0eaecd5c8b4b21d SHA1 5280641854fe0cb7f0d5e19674b57f9c8f1da9db SHA256 c1a7681a36004f11998548630eb3facd00e06a541a60f8c52a25ab8b284c46f4
-EBUILD libnet-1.1.4.ebuild 1017 RMD160 0d3ebba7ecf35fc3e7354bb8cfcf90eb05f30556 SHA1 5e6aee25dc5b7272820cd0a3f02453d347e81c9d SHA256 371cfab9565be7d80cefb115f71ad15cc7d48024bb23e38b3e5720400ccb2253
-MISC ChangeLog 8014 RMD160 ea031f34d2c373cb37c07ed499b0af61244aba55 SHA1 27fb4cd190a4593b1ad173e436c773e121863f0f SHA256 4f527eda525f29c4b0e20bd548b3b0f9fe63121ec071b5fd8eea4fe43cff7087
+MISC ChangeLog 8333 RMD160 0b9b707014d8a4d23b4bba30a918f8405b480496 SHA1 2dd124ca32a8085b89553ebc32e3658949d11e00 SHA256 28e006a21723ab05425e0a1a459eaf1e838c9e82252fe4d6222eba6161ae4cd8
MISC metadata.xml 1021 RMD160 1e9e28f0dfd9ec6ffff940be53303d9b88b25b9f SHA1 6a1e29dba034a48b8dc54af7fb5bc3cfc1f6f364 SHA256 dde6801b0f8a66cc775c3cb6cadacf0a5c0f024d3535b22b2c787057b5b3e889
diff --git a/net-libs/libnet/files/libnet-1.1.2.1-autotools.patch b/net-libs/libnet/files/libnet-1.1.2.1-autotools.patch
deleted file mode 100644
index 0f4c65094dba..000000000000
--- a/net-libs/libnet/files/libnet-1.1.2.1-autotools.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-Patch ripped from Debian. Add support for building a shared
-libnet library (for PIC loving). Also fixes typo for installing
-the libnet-config script.
-
-http://bugs.gentoo.org/show_bug.cgi?id=82926
-
---- libnet-1.1.2.1.orig/src/Makefile.am
-+++ libnet-1.1.2.1/src/Makefile.am
-@@ -8,9 +8,9 @@
-
- include $(top_srcdir)/Makefile.am.common
-
--lib_LIBRARIES = libnet.a
-+lib_LTLIBRARIES = libnet.la
-
--libnet_a_SOURCES = libnet_asn1.c \
-+libnet_la_SOURCES = libnet_asn1.c \
- libnet_build_802.1q.c \
- libnet_build_802.1x.c \
- libnet_build_802.2.c \
-@@ -57,15 +57,20 @@
- libnet_version.c \
- libnet_write.c
-
--EXTRA_libnet_a_SOURCES = libnet_link_bpf.c \
-- libnet_link_dlpi.c \
-- libnet_link_linux.c \
-- libnet_link_nit.c \
-- libnet_link_none.c \
-- libnet_link_pf.c \
-- libnet_link_snit.c \
-- libnet_link_snoop.c \
-- libnet_link_win32.c
--
--libnet_a_LIBADD = @LIBOBJS@
-+libnet_la_LIBADD = @LTLIBOBJS@
-
-+# Here are a set of rules to help you update your library version
-+# information:
-+#
-+# 1. If the library source code has changed at all since the last
-+# update, then increment REVISION (`C:R:A' becomes `C:r+1:A').
-+#
-+# 2. If any interfaces have been added, removed, or changed since the
-+# last update, increment CURRENT, and set REVISION to 0.
-+#
-+# 3. If any interfaces have been added since the last public release,
-+# then increment AGE.
-+#
-+# 4. If any interfaces have been removed since the last public release,
-+# then set AGE to 0.
-+libnet_la_LDFLAGS = -version-info 4:0:3 # CURRENT[:REVISION[:AGE]]
---- libnet-1.1.2.1.orig/configure.in
-+++ libnet-1.1.2.1/configure.in
-@@ -21,7 +21,7 @@
- dnl
- AC_PROG_CC
- AC_PROG_INSTALL
--AC_PROG_RANLIB
-+AC_PROG_LIBTOOL
-
- AC_CHECK_HEADERS(sys/sockio.h)
-
---- libnet-1.1.2.1.orig/Makefile.am
-+++ libnet-1.1.2.1/Makefile.am
-@@ -12,4 +12,4 @@
-
- EXTRA_DIST = Makefile.am.common
-
--bin_scripts = libnet-config
-+bin_SCRIPTS = libnet-config
---- libnet-1.1.2.1.orig/sample/Makefile.am
-+++ libnet-1.1.2.1/sample/Makefile.am
-@@ -60,4 +60,4 @@
- ip_link_SOURCES = ip_link.c
- sebek_SOURCES = sebek.c
-
--LDADD = $(top_srcdir)/src/libnet.a
-+LDADD = $(top_srcdir)/src/libnet.la
diff --git a/net-libs/libnet/files/libnet-1.1.2.1-cq_end_loop.patch b/net-libs/libnet/files/libnet-1.1.2.1-cq_end_loop.patch
deleted file mode 100644
index 6da82c0b83a6..000000000000
--- a/net-libs/libnet/files/libnet-1.1.2.1-cq_end_loop.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Patch needed for net-analyzer/dhcp_probe -JeR (see [1])
-
-[1] http://www.net.princeton.edu/software/dhcp_probe/INSTALL.dhcp_probe.txt
-
---- libnet/src/libnet_cq.c.orig 2004-01-28 20:45:00.000000000 +0100
-+++ libnet/src/libnet_cq.c 2008-10-27 22:51:10.000000000 +0100
-@@ -393,3 +393,15 @@
- {
- return (l_cqd.node);
- }
-+
-+u_int32_t
-+libnet_cq_end_loop()
-+{
-+
-+ if (! clear_cq_lock(CQ_LOCK_WRITE))
-+ {
-+ return (0);
-+ }
-+ l_cqd.current = l_cq;
-+ return (1);
-+}
---- libnet/include/libnet/libnet-functions.h.orig 2004-03-25 19:50:48.000000000 +0100
-+++ libnet/include/libnet/libnet-functions.h 2008-10-27 22:52:14.000000000 +0100
-@@ -2148,4 +2148,7 @@
- #endif
- #endif /* __LIBNET_FUNCTIONS_H */
-
-+u_int32_t
-+libnet_cq_end_loop();
-+
- /* EOF */
diff --git a/net-libs/libnet/files/libnet-1.1.2.1-fix-chksum.patch b/net-libs/libnet/files/libnet-1.1.2.1-fix-chksum.patch
deleted file mode 100644
index e6f9bbc6dd21..000000000000
--- a/net-libs/libnet/files/libnet-1.1.2.1-fix-chksum.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Fix a bug in chksum calculation for odd sized UDP packets.
-
-http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=284729
-
---- libnet-1.1.2.1/src/libnet_checksum.c
-+++ libnet-1.1.2.1/src/libnet_checksum.c
-@@ -42,8 +42,10 @@
- libnet_in_cksum(u_int16_t *addr, int len)
- {
- int sum;
-+ u_int16_t last_byte;
-
- sum = 0;
-+ last_byte = 0;
-
- while (len > 1)
- {
-@@ -52,7 +54,8 @@
- }
- if (len == 1)
- {
-- sum += *(u_int16_t *)addr;
-+ *(u_int8_t*)&last_byte = *(u_int8_t*)addr;
-+ sum += last_byte;
- }
-
- return (sum);
diff --git a/net-libs/libnet/libnet-1.0.2a-r3.ebuild b/net-libs/libnet/libnet-1.0.2a-r3.ebuild
index 3c4a43486d20..9d155b76ce88 100644
--- a/net-libs/libnet/libnet-1.0.2a-r3.ebuild
+++ b/net-libs/libnet/libnet-1.0.2a-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.0.2a-r3.ebuild,v 1.18 2009/05/25 23:41:56 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.0.2a-r3.ebuild,v 1.19 2010/01/26 01:29:46 jer Exp $
inherit eutils autotools
@@ -10,7 +10,7 @@ SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="1.0"
-KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
IUSE=""
S=${WORKDIR}/Libnet-${PV}
diff --git a/net-libs/libnet/libnet-1.1.2.1-r1.ebuild b/net-libs/libnet/libnet-1.1.2.1-r1.ebuild
deleted file mode 100644
index 77b545870ddc..000000000000
--- a/net-libs/libnet/libnet-1.1.2.1-r1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.1.2.1-r1.ebuild,v 1.6 2008/01/02 09:12:14 grobian Exp $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-inherit eutils autotools
-
-DESCRIPTION="library to provide an API for commonly used low-level network functions (mainly packet injection)"
-HOMEPAGE="http://www.packetfactory.net/libnet/"
-SRC_URI="http://www.packetfactory.net/libnet/dist/${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"
-IUSE="doc"
-
-DEPEND="sys-devel/autoconf"
-RDEPEND=""
-
-S=${WORKDIR}/libnet
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-fix-chksum.patch
- epatch "${FILESDIR}"/${P}-autotools.patch
- eautoreconf
-}
-
-src_install(){
- emake DESTDIR="${D}" install || die "Failed to install"
-
- doman doc/man/man3/*.3
- dodoc VERSION README doc/*
- if use doc ; then
- dohtml -r doc/html/*
- docinto sample
- dodoc sample/*.[ch]
- fi
-}
diff --git a/net-libs/libnet/libnet-1.1.2.1-r2.ebuild b/net-libs/libnet/libnet-1.1.2.1-r2.ebuild
deleted file mode 100644
index c65c4af693b3..000000000000
--- a/net-libs/libnet/libnet-1.1.2.1-r2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.1.2.1-r2.ebuild,v 1.1 2009/05/25 23:41:56 jer Exp $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-inherit eutils autotools
-
-DESCRIPTION="library to provide an API for commonly used low-level network functions (mainly packet injection)"
-HOMEPAGE="http://www.packetfactory.net/libnet/"
-SRC_URI="http://www.packetfactory.net/libnet/dist/${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"
-IUSE="doc"
-
-DEPEND="sys-devel/autoconf"
-RDEPEND=""
-
-S=${WORKDIR}/libnet
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-fix-chksum.patch
- epatch "${FILESDIR}"/${P}-cq_end_loop.patch
- epatch "${FILESDIR}"/${P}-autotools.patch
- eautoreconf
-}
-
-src_install(){
- emake DESTDIR="${D}" install || die "Failed to install"
-
- doman doc/man/man3/*.3
- dodoc VERSION README doc/*
- if use doc ; then
- dohtml -r doc/html/*
- docinto sample
- dodoc sample/*.[ch]
- fi
-}
diff --git a/net-libs/libnet/libnet-1.1.4.ebuild b/net-libs/libnet/libnet-1.1.4.ebuild
deleted file mode 100644
index 9c22d4f6a56f..000000000000
--- a/net-libs/libnet/libnet-1.1.4.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.1.4.ebuild,v 1.8 2010/01/25 19:36:02 armin76 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/libnet-dev/libnet-dev/${P}/${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"
-IUSE="doc"
-
-DEPEND="sys-devel/autoconf"
-RDEPEND=""
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-zero-pointers-after-free.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
-}