commit:     16876752e8982ebdef41486aaf9d1d7c9f78fa65
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  2 11:25:46 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 11:59:53 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16876752

net-libs/libnet: Old.

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 net-libs/libnet/Manifest                         |  5 +--
 net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch | 20 ----------
 net-libs/libnet/libnet-1.1.6-r1.ebuild           | 50 ------------------------
 net-libs/libnet/libnet-1.1.6.ebuild              | 41 -------------------
 net-libs/libnet/libnet-1.2_rc3.ebuild            | 44 ---------------------
 5 files changed, 2 insertions(+), 158 deletions(-)

diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest
index 9cbc0ae64c3..fba13d83980 100644
--- a/net-libs/libnet/Manifest
+++ b/net-libs/libnet/Manifest
@@ -1,3 +1,2 @@
-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
-DIST libnet-1.2-rc3.tar.gz 676205 SHA256 
72c380785ad44183005e654b47cc12485ee0228d7fa6b0a87109ff7614be4a63 SHA512 
4f1c5c1a72e2c35ca3add772cb1af63e8245bb5c127e4a74fb9f619f987a4ea047bf17caaa292e9b7fa7642635773b90975d013644be0383dca93d688ca8430d
 WHIRLPOOL 
617b01b3e0ec150b89fd0a5160a84704e82a14c584735d87bca6bf7f0847e461d99e72fe2d632761af229c4379881b0ddf270171071052cd288a2ab54c3d3a02
+DIST libnet-1.0.2a.tar.gz 140191 BLAKE2B 
4107cb714b7be901250759ce5288a86922bd7cc20081a9d2c93758150d74c55844db98c43874befdfb593ec25e128d6ae2389eff7c46da79dcbb9681f649e059
 SHA512 
2e9a73bd767e1f46eea92e18ddd83cc3179144c8cc5b1a22b4dba50fee16173c951be4dd647a247bd7067c33b9e33489a6efb313ce1ea0c61c4a06009c3c4d95
+DIST libnet-1.2-rc3.tar.gz 676205 BLAKE2B 
f1aa199489e9aacc6b2bf567f5885e3b54b1044fb292693581c8fbc8fb99c565e0a9436b35914bdbda65798b00527049f279da3b3b6048e32f575f51b92c3309
 SHA512 
4f1c5c1a72e2c35ca3add772cb1af63e8245bb5c127e4a74fb9f619f987a4ea047bf17caaa292e9b7fa7642635773b90975d013644be0383dca93d688ca8430d

diff --git a/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch 
b/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch
deleted file mode 100644
index 25ddbc7b110..00000000000
--- a/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -157,14 +157,14 @@
- case "$target_os" in
- 
- *linux*)
--    AC_DEFINE(_BSD_SOURCE, 1,
-+    AC_DEFINE(_DEFAULT_SOURCE, 1,
-         [Define as necessary to "unhide" header symbols.])
--    AC_DEFINE(__BSD_SOURCE, 1,
-+    AC_DEFINE(__DEFAULT_SOURCE, 1,
-         [Define as necessary to "unhide" header symbols.])
-     AC_DEFINE(__FAVOR_BSD, 1,
-         [Define if we should favor the BSD APIs when possible in Linux.])
- 
--    LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD"
-+    LIBNET_CONFIG_DEFINES="-D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD"
-     AC_CHECK_HEADERS(net/ethernet.h, \
-         LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H")
-     ;;

diff --git a/net-libs/libnet/libnet-1.1.6-r1.ebuild 
b/net-libs/libnet/libnet-1.1.6-r1.ebuild
deleted file mode 100644
index 8311759829d..00000000000
--- a/net-libs/libnet/libnet-1.1.6-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools eutils
-
-DESCRIPTION="library providing an API for commonly used low-level network 
functions"
-HOMEPAGE="http://libnet-dev.sourceforge.net/";
-SRC_URI="mirror://sourceforge/project/${PN}-dev/${P}.tar.gz"
-
-LICENSE="BSD BSD-2 HPND"
-SLOT="1.1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos"
-IUSE="doc static-libs"
-
-DEPEND="sys-devel/autoconf"
-
-DOCS=(
-       README doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION}
-       doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO}
-)
-PATCHES=(
-       "${FILESDIR}"/${PN}-1.1.6-_SOURCE.patch
-       "${FILESDIR}"/${PN}-1.1.6-musl.patch
-       "${FILESDIR}"/${PN}-1.2-sizeof.patch
-)
-
-src_prepare() {
-       default
-
-       mv configure{.in,.ac} || die
-       eautoreconf
-}
-
-src_configure() {
-       econf $(use_enable static-libs static)
-}
-
-src_install() {
-       default
-
-       if use doc ; then
-               dodoc -r doc/html
-
-               docinto sample
-               dodoc sample/*.[ch]
-       fi
-
-       prune_libtool_files
-}

diff --git a/net-libs/libnet/libnet-1.1.6.ebuild 
b/net-libs/libnet/libnet-1.1.6.ebuild
deleted file mode 100644
index f73669dd3a7..00000000000
--- a/net-libs/libnet/libnet-1.1.6.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-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="BSD BSD-2 HPND"
-SLOT="1.1"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
-IUSE="doc static-libs"
-
-DEPEND="sys-devel/autoconf"
-RDEPEND=""
-
-DOCS=(
-       README doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION}
-       doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO}
-)
-
-src_configure() {
-       econf $(use_enable static-libs static)
-}
-
-src_install() {
-       default
-
-       if use doc ; then
-               dohtml -r doc/html/*
-               docinto sample
-               dodoc sample/*.[ch]
-       fi
-
-       if ! use static-libs; then
-               rm "${ED}"/usr/lib*/libnet.la || die
-       fi
-}

diff --git a/net-libs/libnet/libnet-1.2_rc3.ebuild 
b/net-libs/libnet/libnet-1.2_rc3.ebuild
deleted file mode 100644
index c541794f8e7..00000000000
--- a/net-libs/libnet/libnet-1.2_rc3.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools 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="BSD BSD-2 HPND"
-SLOT="1.1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos"
-IUSE="doc static-libs"
-
-DEPEND="sys-devel/autoconf"
-RDEPEND=""
-
-DOCS=(
-       README doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION}
-       doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO}
-)
-
-S=${WORKDIR}/${P/_/-}
-
-src_prepare() {
-       epatch "${FILESDIR}"/${PN}-1.2-rc.patch
-       eautoreconf
-}
-src_configure() {
-       econf $(use_enable static-libs static)
-}
-
-src_install() {
-       default
-
-       if use doc ; then
-               dohtml -r doc/html/*
-               docinto sample
-               dodoc sample/*.[ch]
-       fi
-
-       use static-libs || prune_libtool_files
-}

Reply via email to