summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-01-05 16:40:06 +0000
committerJeroen Roovers <jer@gentoo.org>2013-01-05 16:40:06 +0000
commit2ba6b2689a81a9757707aaa757d8aa239eb3199d (patch)
tree8ce676d53e6cb7add5deac8555ee440791f23cd9 /net-libs
parentThe zfs-shutdown script will never work as originally envisioned, so I am rem... (diff)
downloadhistorical-2ba6b2689a81a9757707aaa757d8aa239eb3199d.tar.gz
historical-2ba6b2689a81a9757707aaa757d8aa239eb3199d.tar.bz2
historical-2ba6b2689a81a9757707aaa757d8aa239eb3199d.zip
Apply endian patch only on ARM (bug #444242).
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libnet/ChangeLog7
-rw-r--r--net-libs/libnet/Manifest9
-rw-r--r--net-libs/libnet/libnet-1.0.2a-r5.ebuild62
3 files changed, 73 insertions, 5 deletions
diff --git a/net-libs/libnet/ChangeLog b/net-libs/libnet/ChangeLog
index 1aca752d4be2..8ddaa167f2fd 100644
--- a/net-libs/libnet/ChangeLog
+++ b/net-libs/libnet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/libnet
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.97 2013/01/03 09:23:48 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.98 2013/01/05 16:40:05 jer Exp $
+
+*libnet-1.0.2a-r5 (05 Jan 2013)
+
+ 05 Jan 2013; Jeroen Roovers <jer@gentoo.org> +libnet-1.0.2a-r5.ebuild:
+ Apply endian patch only on ARM (bug #444242).
03 Jan 2013; Jeroen Roovers <jer@gentoo.org> libnet-1.0.2a-r4.ebuild,
libnet-1.1.6.ebuild:
diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest
index 415939aed090..de0bd16990de 100644
--- a/net-libs/libnet/Manifest
+++ b/net-libs/libnet/Manifest
@@ -7,13 +7,14 @@ AUX libnet-gcc33-fix 563 SHA256 b533c27f07bb27489b0a3941546788447cab6e767b489961
DIST libnet-1.0.2a.tar.gz 140191 SHA256 7c7f2e8ccb47bb47072c5cd583fea5e90ab892c75889b625346b60d10464459a SHA512 2e9a73bd767e1f46eea92e18ddd83cc3179144c8cc5b1a22b4dba50fee16173c951be4dd647a247bd7067c33b9e33489a6efb313ce1ea0c61c4a06009c3c4d95 WHIRLPOOL 9b3748fe93191643a01cab0ce76283aa11079960efca5daaf52d7a0aa830c3791a200711c9d4b4634739328282bbc4f73b24a15406b4bf5353838ef24c19afcc
DIST libnet-1.1.6.tar.gz 1202970 SHA256 d392bb5825c4b6b672fc93a0268433c86dc964e1500c279dc6d0711ea6ec467a SHA512 a67e502b0e6957ca590e47cb50b0472dd83d622d84c62818d665d771616df91b5a8fa8fcf1040d13b7860aaabaf338152ef40f66ab97c3fc9502edb08cea0bb6 WHIRLPOOL eb0596d8d6d1b0434ce8d1ec7069826e326effa5ad215e607dc7afc495ae0bdee443f6661deb5b54c8564abd8fa0ccbf4f509726d3caa81767d80f4f5079b379
EBUILD libnet-1.0.2a-r4.ebuild 1588 SHA256 22ab2b810fcd72c97b0a145e3e474840f6c13831dba10cddd8480a6f7f82ff5d SHA512 5bef4fa51fe059c8f2a748b1303dbad83bad6661fcaa675e32a746c4ec7f2af2b0e827c004f4519d16e8467ef7b8f06df8aec05fc84c793fda37c688042c88c2 WHIRLPOOL 046f37c787166c3abc06c0929f574991271f1a57d63117484cfe35d710b1add5ece285d2802dc9b80d31b9a8d41af29cba461c33fb27672ed4379d058a38cc65
+EBUILD libnet-1.0.2a-r5.ebuild 1612 SHA256 f2bcebb021649bf91e91f239bea3ba1bd1d32e116a842de6f4a83f3dd03f67b2 SHA512 9ad8bd18db67ed112d316aa7ac54147a855f3dac17799ff59a9496b6ffa729179d8fd7a64c8954d2085ae1b6fea64f8067d22533c8af70192de89e8e3458c372 WHIRLPOOL 87b48b7e8b72d2cd554248d03be886f894f0c10c940e88290a2b96b544e6d76f2c1ca12efedf2cd19cd29a4125d0e3b83cdaa8ac95fbc89a772c04d0925efa51
EBUILD libnet-1.1.6.ebuild 1085 SHA256 18ce49a5b88a8b182efc9e38251fb46fc8637b1f2c5c4af350a0c14ecc4c00b9 SHA512 0012e755e63d28088ce1a1a12e7823d671997f50f2fdf3c8f65c3031f9f35b2f828f9bca218d69c11244141da4a81966c94482c6fa053e6b6e1fe64a6d9b774a WHIRLPOOL 06cf94999dea7446015770210e566706b7c191feaa7a0646c57bbff79788b2fea5c71c22822fad6d92de73f44a4c9318c1eb25f7f4caa04419ee7093fbd6578d
-MISC ChangeLog 12390 SHA256 862095feaa25889feea4212a81122c04cb7caf2daf77d17ab887102a8104ff81 SHA512 b2d0a14e29ee900cba291ce22850548bdd5b131b69fbbd6d421fae4aaaad7013afda729215ed9b2df6c46a3406c7e2751fc555168de74a0a02ea3039e40ed389 WHIRLPOOL 2036b46451bf9a0a3b80060bf3580d3a07e455edc6d441dbd29bfd091980218e89a7f9979446159d1231e498e6fdca95ed802a85e08057a6234ebae29162f260
+MISC ChangeLog 12545 SHA256 19c098af9a2110bb2a634cd8c7314d6afaa6acfad7472694d5101c40fc97fec7 SHA512 b24223620d7aaa4ecff3c18ae4c5363f47fb40133cc036ef568fcd97619f79f57c36dd302cef1359e33d295086930125c46784a9a01f190271f31c32d24a8fe7 WHIRLPOOL da55e97daf5ab015d650a9dd7cf5c1da954617aa1b7562614d3bcba86d9608f4f36e9dc1cd7f7aa29ac1236d508dbf5f716b129247f7fb07aaea66a2389057f7
MISC metadata.xml 1021 SHA256 dde6801b0f8a66cc775c3cb6cadacf0a5c0f024d3535b22b2c787057b5b3e889 SHA512 904c8687384ed314ce76af9875086a064edefc64f7da6629a1a57db8f3cec0f5508a51b6424ae72d2c13b1f433313b2fe10e2389537592f4fc64cb5aa83a14e6 WHIRLPOOL 1d05f27b099dc6ccf4138906631b6bf9b55c5b0dfc16a898f1fd78012849799e7f737ff27c4e2472fb29a8c5d7d5c504b798e1ebc67a0504f1522d38cfc5aeb6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlDlTiUACgkQVWmRsqeSphM1CgCfQiC97ToMQF4z/A2UnaqElvDd
-viAAniHy3RiMqm3ciDPMsOfB5hQwgGKc
-=zCpB
+iEYEAREIAAYFAlDoV2YACgkQVWmRsqeSphODXQCfa61a6fP1mRNLTX+mXmuU/VP9
+gaUAmQHF/1fAF9O4JXMDpDqXhAucRoM2
+=Vgce
-----END PGP SIGNATURE-----
diff --git a/net-libs/libnet/libnet-1.0.2a-r5.ebuild b/net-libs/libnet/libnet-1.0.2a-r5.ebuild
new file mode 100644
index 000000000000..598c6660ee21
--- /dev/null
+++ b/net-libs/libnet/libnet-1.0.2a-r5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2013 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-r5.ebuild,v 1.1 2013/01/05 16:40:05 jer Exp $
+
+EAPI=4
+inherit autotools eutils
+
+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/deprecated/${P}.tar.gz"
+
+LICENSE="BSD BSD-2 HPND"
+SLOT="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+S=${WORKDIR}/Libnet-${PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/libnet-gcc33-fix \
+ "${FILESDIR}"/${PV}-slot.patch
+
+ use arm && epatch "${FILESDIR}"/${PV}-endian.patch
+
+ cd "${S}"
+ mv libnet-config.in libnet-${SLOT}-config.in || die "moving libnet-config"
+
+ cd "${S}"/include
+ ln -s libnet.h libnet-${SLOT}.h
+
+ cd libnet
+ for f in *.h ; do
+ ln -s ${f} ${f/-/-${SLOT}-} || die "linking ${f}"
+ done
+
+ cd "${S}"/doc
+ ln -s libnet.3 libnet-${SLOT}.3 || die "linking manpage"
+
+ cd "${S}"
+ sed -i configure.in -e '/CCOPTS=/d;/CFLAGS=/s|.*|:|' || die
+
+ eautoconf
+}
+
+src_install() {
+ default
+ doman "${D}"/usr/man/man3/libnet-1.0.3
+ rm -r "${D}"/usr/man
+
+ dodoc VERSION doc/{README,TODO*,CHANGELOG*}
+ newdoc README README.1st
+ docinto example ; dodoc example/libnet*
+ docinto Ancillary ; dodoc doc/Ancillary/*
+}
+
+pkg_postinst(){
+ elog "libnet ${SLOT} is deprecated !"
+ elog "config script: libnet-${SLOT}-config"
+ elog "manpage: libnet-${SLOT}"
+ elog "library: libnet-${SLOT}.a"
+ elog "include: libnet-${SLOT}.h"
+}