Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/, net-libs/libnet/files/
Date: Sat, 02 Dec 2017 12:00:14
Message-Id: 1512215993.16876752e8982ebdef41486aaf9d1d7c9f78fa65.jer@gentoo
1 commit: 16876752e8982ebdef41486aaf9d1d7c9f78fa65
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 2 11:25:46 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 2 11:59:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16876752
7
8 net-libs/libnet: Old.
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 net-libs/libnet/Manifest | 5 +--
13 net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch | 20 ----------
14 net-libs/libnet/libnet-1.1.6-r1.ebuild | 50 ------------------------
15 net-libs/libnet/libnet-1.1.6.ebuild | 41 -------------------
16 net-libs/libnet/libnet-1.2_rc3.ebuild | 44 ---------------------
17 5 files changed, 2 insertions(+), 158 deletions(-)
18
19 diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest
20 index 9cbc0ae64c3..fba13d83980 100644
21 --- a/net-libs/libnet/Manifest
22 +++ b/net-libs/libnet/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST libnet-1.0.2a.tar.gz 140191 SHA256 7c7f2e8ccb47bb47072c5cd583fea5e90ab892c75889b625346b60d10464459a SHA512 2e9a73bd767e1f46eea92e18ddd83cc3179144c8cc5b1a22b4dba50fee16173c951be4dd647a247bd7067c33b9e33489a6efb313ce1ea0c61c4a06009c3c4d95 WHIRLPOOL 9b3748fe93191643a01cab0ce76283aa11079960efca5daaf52d7a0aa830c3791a200711c9d4b4634739328282bbc4f73b24a15406b4bf5353838ef24c19afcc
25 -DIST libnet-1.1.6.tar.gz 1202970 SHA256 d392bb5825c4b6b672fc93a0268433c86dc964e1500c279dc6d0711ea6ec467a SHA512 a67e502b0e6957ca590e47cb50b0472dd83d622d84c62818d665d771616df91b5a8fa8fcf1040d13b7860aaabaf338152ef40f66ab97c3fc9502edb08cea0bb6 WHIRLPOOL eb0596d8d6d1b0434ce8d1ec7069826e326effa5ad215e607dc7afc495ae0bdee443f6661deb5b54c8564abd8fa0ccbf4f509726d3caa81767d80f4f5079b379
26 -DIST libnet-1.2-rc3.tar.gz 676205 SHA256 72c380785ad44183005e654b47cc12485ee0228d7fa6b0a87109ff7614be4a63 SHA512 4f1c5c1a72e2c35ca3add772cb1af63e8245bb5c127e4a74fb9f619f987a4ea047bf17caaa292e9b7fa7642635773b90975d013644be0383dca93d688ca8430d WHIRLPOOL 617b01b3e0ec150b89fd0a5160a84704e82a14c584735d87bca6bf7f0847e461d99e72fe2d632761af229c4379881b0ddf270171071052cd288a2ab54c3d3a02
27 +DIST libnet-1.0.2a.tar.gz 140191 BLAKE2B 4107cb714b7be901250759ce5288a86922bd7cc20081a9d2c93758150d74c55844db98c43874befdfb593ec25e128d6ae2389eff7c46da79dcbb9681f649e059 SHA512 2e9a73bd767e1f46eea92e18ddd83cc3179144c8cc5b1a22b4dba50fee16173c951be4dd647a247bd7067c33b9e33489a6efb313ce1ea0c61c4a06009c3c4d95
28 +DIST libnet-1.2-rc3.tar.gz 676205 BLAKE2B f1aa199489e9aacc6b2bf567f5885e3b54b1044fb292693581c8fbc8fb99c565e0a9436b35914bdbda65798b00527049f279da3b3b6048e32f575f51b92c3309 SHA512 4f1c5c1a72e2c35ca3add772cb1af63e8245bb5c127e4a74fb9f619f987a4ea047bf17caaa292e9b7fa7642635773b90975d013644be0383dca93d688ca8430d
29
30 diff --git a/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch b/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch
31 deleted file mode 100644
32 index 25ddbc7b110..00000000000
33 --- a/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch
34 +++ /dev/null
35 @@ -1,20 +0,0 @@
36 ---- a/configure.in
37 -+++ b/configure.in
38 -@@ -157,14 +157,14 @@
39 - case "$target_os" in
40 -
41 - *linux*)
42 -- AC_DEFINE(_BSD_SOURCE, 1,
43 -+ AC_DEFINE(_DEFAULT_SOURCE, 1,
44 - [Define as necessary to "unhide" header symbols.])
45 -- AC_DEFINE(__BSD_SOURCE, 1,
46 -+ AC_DEFINE(__DEFAULT_SOURCE, 1,
47 - [Define as necessary to "unhide" header symbols.])
48 - AC_DEFINE(__FAVOR_BSD, 1,
49 - [Define if we should favor the BSD APIs when possible in Linux.])
50 -
51 -- LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD"
52 -+ LIBNET_CONFIG_DEFINES="-D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD"
53 - AC_CHECK_HEADERS(net/ethernet.h, \
54 - LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H")
55 - ;;
56
57 diff --git a/net-libs/libnet/libnet-1.1.6-r1.ebuild b/net-libs/libnet/libnet-1.1.6-r1.ebuild
58 deleted file mode 100644
59 index 8311759829d..00000000000
60 --- a/net-libs/libnet/libnet-1.1.6-r1.ebuild
61 +++ /dev/null
62 @@ -1,50 +0,0 @@
63 -# Copyright 1999-2017 Gentoo Foundation
64 -# Distributed under the terms of the GNU General Public License v2
65 -
66 -EAPI=6
67 -inherit autotools eutils
68 -
69 -DESCRIPTION="library providing an API for commonly used low-level network functions"
70 -HOMEPAGE="http://libnet-dev.sourceforge.net/"
71 -SRC_URI="mirror://sourceforge/project/${PN}-dev/${P}.tar.gz"
72 -
73 -LICENSE="BSD BSD-2 HPND"
74 -SLOT="1.1"
75 -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"
76 -IUSE="doc static-libs"
77 -
78 -DEPEND="sys-devel/autoconf"
79 -
80 -DOCS=(
81 - README doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION}
82 - doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO}
83 -)
84 -PATCHES=(
85 - "${FILESDIR}"/${PN}-1.1.6-_SOURCE.patch
86 - "${FILESDIR}"/${PN}-1.1.6-musl.patch
87 - "${FILESDIR}"/${PN}-1.2-sizeof.patch
88 -)
89 -
90 -src_prepare() {
91 - default
92 -
93 - mv configure{.in,.ac} || die
94 - eautoreconf
95 -}
96 -
97 -src_configure() {
98 - econf $(use_enable static-libs static)
99 -}
100 -
101 -src_install() {
102 - default
103 -
104 - if use doc ; then
105 - dodoc -r doc/html
106 -
107 - docinto sample
108 - dodoc sample/*.[ch]
109 - fi
110 -
111 - prune_libtool_files
112 -}
113
114 diff --git a/net-libs/libnet/libnet-1.1.6.ebuild b/net-libs/libnet/libnet-1.1.6.ebuild
115 deleted file mode 100644
116 index f73669dd3a7..00000000000
117 --- a/net-libs/libnet/libnet-1.1.6.ebuild
118 +++ /dev/null
119 @@ -1,41 +0,0 @@
120 -# Copyright 1999-2017 Gentoo Foundation
121 -# Distributed under the terms of the GNU General Public License v2
122 -
123 -EAPI=4
124 -
125 -inherit eutils
126 -
127 -DESCRIPTION="library to provide an API for commonly used low-level network functions (mainly packet injection)"
128 -HOMEPAGE="http://libnet-dev.sourceforge.net/"
129 -SRC_URI="mirror://sourceforge/project/${PN}-dev/${P}.tar.gz"
130 -
131 -LICENSE="BSD BSD-2 HPND"
132 -SLOT="1.1"
133 -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"
134 -IUSE="doc static-libs"
135 -
136 -DEPEND="sys-devel/autoconf"
137 -RDEPEND=""
138 -
139 -DOCS=(
140 - README doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION}
141 - doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO}
142 -)
143 -
144 -src_configure() {
145 - econf $(use_enable static-libs static)
146 -}
147 -
148 -src_install() {
149 - default
150 -
151 - if use doc ; then
152 - dohtml -r doc/html/*
153 - docinto sample
154 - dodoc sample/*.[ch]
155 - fi
156 -
157 - if ! use static-libs; then
158 - rm "${ED}"/usr/lib*/libnet.la || die
159 - fi
160 -}
161
162 diff --git a/net-libs/libnet/libnet-1.2_rc3.ebuild b/net-libs/libnet/libnet-1.2_rc3.ebuild
163 deleted file mode 100644
164 index c541794f8e7..00000000000
165 --- a/net-libs/libnet/libnet-1.2_rc3.ebuild
166 +++ /dev/null
167 @@ -1,44 +0,0 @@
168 -# Copyright 1999-2017 Gentoo Foundation
169 -# Distributed under the terms of the GNU General Public License v2
170 -
171 -EAPI=5
172 -inherit autotools eutils
173 -
174 -DESCRIPTION="library to provide an API for commonly used low-level network functions (mainly packet injection)"
175 -HOMEPAGE="http://libnet-dev.sourceforge.net/"
176 -SRC_URI="mirror://sourceforge/project/${PN}-dev/${P/_/-}.tar.gz"
177 -
178 -LICENSE="BSD BSD-2 HPND"
179 -SLOT="1.1"
180 -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"
181 -IUSE="doc static-libs"
182 -
183 -DEPEND="sys-devel/autoconf"
184 -RDEPEND=""
185 -
186 -DOCS=(
187 - README doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION}
188 - doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO}
189 -)
190 -
191 -S=${WORKDIR}/${P/_/-}
192 -
193 -src_prepare() {
194 - epatch "${FILESDIR}"/${PN}-1.2-rc.patch
195 - eautoreconf
196 -}
197 -src_configure() {
198 - econf $(use_enable static-libs static)
199 -}
200 -
201 -src_install() {
202 - default
203 -
204 - if use doc ; then
205 - dohtml -r doc/html/*
206 - docinto sample
207 - dodoc sample/*.[ch]
208 - fi
209 -
210 - use static-libs || prune_libtool_files
211 -}