1 |
commit: 2a586aa797edf9f3166f3d90ed30859a147559d6 |
2 |
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 28 19:47:27 2020 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 28 19:47:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=2a586aa7 |
7 |
|
8 |
remove packages that are working in ::gentoo |
9 |
|
10 |
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org> |
11 |
|
12 |
dev-lang/go-bootstrap/Manifest | 1 - |
13 |
dev-lang/go-bootstrap/go-bootstrap-1.4.3.ebuild | 81 --------- |
14 |
dev-lang/go-bootstrap/metadata.xml | 13 -- |
15 |
dev-lang/go/Manifest | 1 - |
16 |
dev-lang/go/go-1.10.3.ebuild | 200 --------------------- |
17 |
dev-lang/go/metadata.xml | 13 -- |
18 |
dev-lang/spidermonkey/Manifest | 2 - |
19 |
.../files/moz38-dont-hardcode-libc-soname.patch | 15 -- |
20 |
.../spidermonkey-52.0-fix-alpha-bitness.patch | 32 ---- |
21 |
.../spidermonkey/files/spidermonkey-musl.patch | 13 -- |
22 |
.../files/spidermonkey-threadlocal.patch | 14 -- |
23 |
dev-lang/spidermonkey/metadata.xml | 17 -- |
24 |
.../spidermonkey/spidermonkey-52.9.1_pre1.ebuild | 149 --------------- |
25 |
net-misc/iperf/Manifest | 1 - |
26 |
net-misc/iperf/files/iperf-3.0.5-flags.patch | 31 ---- |
27 |
net-misc/iperf/files/iperf-3.1.3-musl.patch | 184 ------------------- |
28 |
net-misc/iperf/files/iperf.confd | 5 - |
29 |
net-misc/iperf/files/iperf.initd-r1 | 14 -- |
30 |
net-misc/iperf/files/iperf3.initd | 10 -- |
31 |
net-misc/iperf/iperf-3.1.3.ebuild | 41 ----- |
32 |
net-misc/iperf/metadata.xml | 12 -- |
33 |
21 files changed, 849 deletions(-) |
34 |
|
35 |
diff --git a/dev-lang/go-bootstrap/Manifest b/dev-lang/go-bootstrap/Manifest |
36 |
deleted file mode 100644 |
37 |
index bc049a4..0000000 |
38 |
--- a/dev-lang/go-bootstrap/Manifest |
39 |
+++ /dev/null |
40 |
@@ -1 +0,0 @@ |
41 |
-DIST go1.4.3.src.tar.gz 10875170 BLAKE2B a094d0ed36f9d581b003e022f10692ed929f2da7508ac2079a83c1e4e3a24bd89b33a468ba2c27b658245682acddf65e4db5f4b09b699778e093ad387a64c1f5 SHA512 12bade4bce9aa4b34e2b9495ae65a1fc6a2449b3a43bc4de85c8b87ba223c2f999b2f37c1e2fe1188d8521118b5e5357d27afb8b85c0b8ebb4503d4125d25273 |
42 |
|
43 |
diff --git a/dev-lang/go-bootstrap/go-bootstrap-1.4.3.ebuild b/dev-lang/go-bootstrap/go-bootstrap-1.4.3.ebuild |
44 |
deleted file mode 100644 |
45 |
index e52034a..0000000 |
46 |
--- a/dev-lang/go-bootstrap/go-bootstrap-1.4.3.ebuild |
47 |
+++ /dev/null |
48 |
@@ -1,81 +0,0 @@ |
49 |
-# Copyright 1999-2018 Gentoo Foundation |
50 |
-# Distributed under the terms of the GNU General Public License v2 |
51 |
- |
52 |
-EAPI=6 |
53 |
- |
54 |
-export CTARGET=${CTARGET:-${CHOST}} |
55 |
- |
56 |
-inherit eutils toolchain-funcs |
57 |
- |
58 |
-SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz" |
59 |
-# Upstream only supports go on amd64, arm and x86 architectures. |
60 |
-KEYWORDS="-* amd64" |
61 |
- |
62 |
-DESCRIPTION="Version of go compiler used for bootstrapping" |
63 |
-HOMEPAGE="http://www.golang.org" |
64 |
- |
65 |
-LICENSE="BSD" |
66 |
-SLOT="0" |
67 |
-IUSE="" |
68 |
- |
69 |
-DEPEND="" |
70 |
-RDEPEND="" |
71 |
- |
72 |
-# The go tools should not cause the multilib-strict check to fail. |
73 |
-QA_MULTILIB_PATHS="usr/lib/go1.4/pkg/tool/.*/.*" |
74 |
- |
75 |
-# The go language uses *.a files which are _NOT_ libraries and should not be |
76 |
-# stripped. The test data objects should also be left alone and unstripped. |
77 |
-STRIP_MASK="/usr/lib/go1.4/pkg/*.a |
78 |
- /usr/lib/go1.4/src/debug/elf/testdata/* |
79 |
- /usr/lib/go1.4/src/debug/dwarf/testdata/* |
80 |
- /usr/lib/go1.4/src/runtime/race/*.syso" |
81 |
- |
82 |
-S="${WORKDIR}"/go |
83 |
- |
84 |
-src_prepare() { |
85 |
- sed -i -e 's/"-Werror",//g' src/cmd/dist/build.c |
86 |
- eapply_user |
87 |
-} |
88 |
- |
89 |
-src_compile() { |
90 |
- export GOROOT_FINAL="${EPREFIX}"/usr/lib/go1.4 |
91 |
- export GOROOT="$(pwd)" |
92 |
- export GOBIN="${GOROOT}/bin" |
93 |
- export CGO_ENABLED=0 |
94 |
- if [[ $CTARGET = armv5* ]] |
95 |
- then |
96 |
- export GOARM=5 |
97 |
- fi |
98 |
- tc-export CC |
99 |
- |
100 |
- cd src |
101 |
- ./make.bash || die "build failed" |
102 |
-} |
103 |
- |
104 |
-src_test() { |
105 |
- cd src |
106 |
- PATH="${GOBIN}:${PATH}" \ |
107 |
- ./run.bash --no-rebuild --banner || die "tests failed" |
108 |
-} |
109 |
- |
110 |
-src_install() { |
111 |
- dodir /usr/lib/go1.4 |
112 |
- exeinto /usr/lib/go1.4/bin |
113 |
- doexe bin/* |
114 |
- insinto /usr/lib/go1.4 |
115 |
- doins -r lib pkg src |
116 |
- fperms -R +x /usr/lib/go1.4/pkg/tool |
117 |
-} |
118 |
- |
119 |
-pkg_postinst() { |
120 |
- # If the go tool sees a package file timestamped older than a dependancy it |
121 |
- # will rebuild that file. So, in order to stop go from rebuilding lots of |
122 |
- # packages for every build we need to fix the timestamps. The compiler and |
123 |
- # linker are also checked - so we need to fix them too. |
124 |
- ebegin "fixing timestamps to avoid unnecessary rebuilds" |
125 |
- tref="usr/lib/go1.4/pkg/*/runtime.a" |
126 |
- find "${EROOT}"usr/lib/go1.4 -type f \ |
127 |
- -exec touch -r "${EROOT}"${tref} {} \; |
128 |
- eend $? |
129 |
-} |
130 |
|
131 |
diff --git a/dev-lang/go-bootstrap/metadata.xml b/dev-lang/go-bootstrap/metadata.xml |
132 |
deleted file mode 100644 |
133 |
index a70f51b..0000000 |
134 |
--- a/dev-lang/go-bootstrap/metadata.xml |
135 |
+++ /dev/null |
136 |
@@ -1,13 +0,0 @@ |
137 |
-<?xml version="1.0" encoding="UTF-8"?> |
138 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
139 |
-<pkgmetadata> |
140 |
- <maintainer type="person"> |
141 |
- <email>williamh@g.o</email> |
142 |
- <name>William Hubbs</name> |
143 |
- </maintainer> |
144 |
- <longdescription lang="en"> |
145 |
- This package is only necessary until gccgo supports go-1.4. It |
146 |
- will be removed as soon as stable gcc supports this. |
147 |
- It is here so that >=dev-lang/go 1.5 can use it to bootstrap. |
148 |
- </longdescription> |
149 |
-</pkgmetadata> |
150 |
|
151 |
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest |
152 |
deleted file mode 100644 |
153 |
index 4883305..0000000 |
154 |
--- a/dev-lang/go/Manifest |
155 |
+++ /dev/null |
156 |
@@ -1 +0,0 @@ |
157 |
-DIST go1.10.3.src.tar.gz 18323736 BLAKE2B f07ea774378eb25e28fc29ce6d8d7ed84227d4b93bfa93d38a071fe294da30c3cdc3a559d643e7379873df56b0e2731dbd772e385ffcb4b2e93819db3b4e33f2 SHA512 fd2bd5fcb5c6d0a5336c4b1d2cacb368edbb01359297a83bdedc53f6018642598232f00633fc60fde879050f5f26a810c828d46b5d6626cbcc0702d93ad33fbb |
158 |
|
159 |
diff --git a/dev-lang/go/go-1.10.3.ebuild b/dev-lang/go/go-1.10.3.ebuild |
160 |
deleted file mode 100644 |
161 |
index 02de3bc..0000000 |
162 |
--- a/dev-lang/go/go-1.10.3.ebuild |
163 |
+++ /dev/null |
164 |
@@ -1,200 +0,0 @@ |
165 |
-# Copyright 1999-2018 Gentoo Foundation |
166 |
-# Distributed under the terms of the GNU General Public License v2 |
167 |
- |
168 |
-EAPI=6 |
169 |
- |
170 |
-export CBUILD=${CBUILD:-${CHOST}} |
171 |
-export CTARGET=${CTARGET:-${CHOST}} |
172 |
- |
173 |
-MY_PV=${PV/_/} |
174 |
- |
175 |
-inherit toolchain-funcs |
176 |
- |
177 |
-case ${PV} in |
178 |
-*9999*) |
179 |
- EGIT_REPO_URI="https://github.com/golang/go.git" |
180 |
- inherit git-r3 |
181 |
- ;; |
182 |
-*) |
183 |
- SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz " |
184 |
- S="${WORKDIR}"/go |
185 |
- case ${PV} in |
186 |
- *_beta*|*_rc*) ;; |
187 |
- *) |
188 |
- KEYWORDS="-* amd64" |
189 |
- #KEYWORDS="-* amd64 arm ~arm64 ~ppc64 ~s390 x86 ~x64-macos ~x64-solaris" |
190 |
- # The upstream tests fail under portage but pass if the build is |
191 |
- # run according to their documentation [1]. |
192 |
- # I am restricting the tests on released versions until this is |
193 |
- # solved. |
194 |
- # [1] https://golang.org/issues/18442 |
195 |
- RESTRICT="test" |
196 |
- ;; |
197 |
- esac |
198 |
-esac |
199 |
- |
200 |
-DESCRIPTION="A concurrent garbage collected and typesafe programming language" |
201 |
-HOMEPAGE="https://golang.org" |
202 |
- |
203 |
-LICENSE="BSD" |
204 |
-SLOT="0/${PV}" |
205 |
-IUSE="" |
206 |
- |
207 |
-DEPEND="dev-lang/go-bootstrap" |
208 |
-RDEPEND="!<dev-go/go-tools-0_pre20150902" |
209 |
- |
210 |
-# These test data objects have writable/executable stacks. |
211 |
-QA_EXECSTACK=" |
212 |
- usr/lib/go/src/debug/elf/testdata/*.obj |
213 |
- usr/lib/go/src/go/internal/gccgoimporter/testdata/escapeinfo.gox |
214 |
- usr/lib/go/src/go/internal/gccgoimporter/testdata/unicode.gox |
215 |
- usr/lib/go/src/go/internal/gccgoimporter/testdata/time.gox |
216 |
- " |
217 |
- |
218 |
-# Do not complain about CFLAGS, etc, since Go doesn't use them. |
219 |
-QA_FLAGS_IGNORED='.*' |
220 |
- |
221 |
-REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*" |
222 |
- |
223 |
-# The tools in /usr/lib/go should not cause the multilib-strict check to fail. |
224 |
-QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" |
225 |
- |
226 |
-# Do not strip this package. Stripping is unsupported upstream and may |
227 |
-# fail. |
228 |
-RESTRICT+=" strip" |
229 |
- |
230 |
-DOCS=( |
231 |
-AUTHORS |
232 |
-CONTRIBUTING.md |
233 |
-CONTRIBUTORS |
234 |
-PATENTS |
235 |
-README.md |
236 |
-) |
237 |
- |
238 |
-go_arch() |
239 |
-{ |
240 |
- # By chance most portage arch names match Go |
241 |
- local portage_arch=$(tc-arch $@) |
242 |
- case "${portage_arch}" in |
243 |
- x86) echo 386;; |
244 |
- x64-*) echo amd64;; |
245 |
- ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; |
246 |
- s390) echo s390x ;; |
247 |
- *) echo "${portage_arch}";; |
248 |
- esac |
249 |
-} |
250 |
- |
251 |
-go_arm() |
252 |
-{ |
253 |
- case "${1:-${CHOST}}" in |
254 |
- armv5*) echo 5;; |
255 |
- armv6*) echo 6;; |
256 |
- armv7*) echo 7;; |
257 |
- *) |
258 |
- die "unknown GOARM for ${1:-${CHOST}}" |
259 |
- ;; |
260 |
- esac |
261 |
-} |
262 |
- |
263 |
-go_os() |
264 |
-{ |
265 |
- case "${1:-${CHOST}}" in |
266 |
- *-linux*) echo linux;; |
267 |
- *-darwin*) echo darwin;; |
268 |
- *-freebsd*) echo freebsd;; |
269 |
- *-netbsd*) echo netbsd;; |
270 |
- *-openbsd*) echo openbsd;; |
271 |
- *-solaris*) echo solaris;; |
272 |
- *-cygwin*|*-interix*|*-winnt*) |
273 |
- echo windows |
274 |
- ;; |
275 |
- *) |
276 |
- die "unknown GOOS for ${1:-${CHOST}}" |
277 |
- ;; |
278 |
- esac |
279 |
-} |
280 |
- |
281 |
-go_tuple() |
282 |
-{ |
283 |
- echo "$(go_os $@)_$(go_arch $@)" |
284 |
-} |
285 |
- |
286 |
-go_cross_compile() |
287 |
-{ |
288 |
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]] |
289 |
-} |
290 |
- |
291 |
-pkg_pretend() |
292 |
-{ |
293 |
- # make.bash does not understand cross-compiling a cross-compiler |
294 |
- if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then |
295 |
- die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}" |
296 |
- fi |
297 |
-} |
298 |
- |
299 |
-src_unpack() |
300 |
-{ |
301 |
- if [[ ${PV} = 9999 ]]; then |
302 |
- git-r3_src_unpack |
303 |
- fi |
304 |
- default |
305 |
-} |
306 |
- |
307 |
-src_compile() |
308 |
-{ |
309 |
- export GOROOT_BOOTSTRAP="/usr/lib/go1.4" |
310 |
- export GOROOT_FINAL="${EPREFIX}"/usr/lib/go |
311 |
- export GOROOT="$(pwd)" |
312 |
- export GOBIN="${GOROOT}/bin" |
313 |
- |
314 |
- # Go's build script does not use BUILD/HOST/TARGET consistently. :( |
315 |
- export GOHOSTARCH=$(go_arch ${CBUILD}) |
316 |
- export GOHOSTOS=$(go_os ${CBUILD}) |
317 |
- export CC=$(tc-getBUILD_CC) |
318 |
- |
319 |
- export GOARCH=$(go_arch) |
320 |
- export GOOS=$(go_os) |
321 |
- export CC_FOR_TARGET=$(tc-getCC) |
322 |
- export CXX_FOR_TARGET=$(tc-getCXX) |
323 |
- if [[ ${ARCH} == arm ]]; then |
324 |
- export GOARM=$(go_arm) |
325 |
- fi |
326 |
- einfo "GOROOT_BOOTSTRAP is ${GOROOT_BOOTSTRAP}" |
327 |
- |
328 |
- cd src |
329 |
- ./make.bash || die "build failed" |
330 |
-} |
331 |
- |
332 |
-src_test() |
333 |
-{ |
334 |
- go_cross_compile && return 0 |
335 |
- |
336 |
- cd src |
337 |
- PATH="${GOBIN}:${PATH}" \ |
338 |
- ./run.bash -no-rebuild || die "tests failed" |
339 |
-} |
340 |
- |
341 |
-src_install() |
342 |
-{ |
343 |
- local bin_path f x |
344 |
- |
345 |
- dodir /usr/lib/go |
346 |
- |
347 |
- # There is a known issue which requires the source tree to be installed [1]. |
348 |
- # Once this is fixed, we can consider using the doc use flag to control |
349 |
- # installing the doc and src directories. |
350 |
- # [1] https://golang.org/issue/2775 |
351 |
- # |
352 |
- # deliberately use cp to retain permissions |
353 |
- cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go |
354 |
- if go_cross_compile; then |
355 |
- bin_path="bin/$(go_tuple)" |
356 |
- else |
357 |
- bin_path=bin |
358 |
- fi |
359 |
- for x in ${bin_path}/*; do |
360 |
- f=${x##*/} |
361 |
- dosym ../lib/go/${bin_path}/${f} /usr/bin/${f} |
362 |
- done |
363 |
- einstalldocs |
364 |
-} |
365 |
|
366 |
diff --git a/dev-lang/go/metadata.xml b/dev-lang/go/metadata.xml |
367 |
deleted file mode 100644 |
368 |
index 1050d93..0000000 |
369 |
--- a/dev-lang/go/metadata.xml |
370 |
+++ /dev/null |
371 |
@@ -1,13 +0,0 @@ |
372 |
-<?xml version="1.0" encoding="UTF-8"?> |
373 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
374 |
-<pkgmetadata> |
375 |
- <maintainer type="person"> |
376 |
- <email>williamh@g.o</email> |
377 |
- <name>William Hubbs</name> |
378 |
- </maintainer> |
379 |
- <longdescription lang="en"> |
380 |
- Go is a new systems programming language developped at google by |
381 |
- Rob Pike. It has garbage collection, coroutines, communication |
382 |
- channels and a clean syntax. |
383 |
- </longdescription> |
384 |
-</pkgmetadata> |
385 |
|
386 |
diff --git a/dev-lang/spidermonkey/Manifest b/dev-lang/spidermonkey/Manifest |
387 |
deleted file mode 100644 |
388 |
index 17a7f61..0000000 |
389 |
--- a/dev-lang/spidermonkey/Manifest |
390 |
+++ /dev/null |
391 |
@@ -1,2 +0,0 @@ |
392 |
-DIST mozjs-52.9.1pre1.tar.bz2 30178574 BLAKE2B 0920432b5140e78297a9bcbccb54268d75a223d5e75e4ff90b3b01aab4f7736b4a4e05c47b3a925ff0a74607a0abad3b6583c75d070ef5142009b20ebaf6e4bf SHA512 187b231b246a5ae09e55c0fef77866b316d75f38f4c2e066d5d4325d8da63433027020c929439cab46af3253ac63ab2f780223a8fd2c6ff535b3409bb6c4aa0f |
393 |
-DIST spidermonkey-52.0-patches-0.tar.xz 5172 BLAKE2B 8bcf9477de47ef3b882cd3281efa7f77c16ce11fc93f44446a620917adf629fde8290af1dd69f0930a889aacfee3603bf60eb9c1e718a1dfd3e218a1013b6192 SHA512 88ad640fb0efa4972f1b7782bd0abee1751b73914ee51faade93b25c4d8eec64e7693898842a406c49fc2ab43733404efeccb138afb64d2193b9a5eb612578e3 |
394 |
|
395 |
diff --git a/dev-lang/spidermonkey/files/moz38-dont-hardcode-libc-soname.patch b/dev-lang/spidermonkey/files/moz38-dont-hardcode-libc-soname.patch |
396 |
deleted file mode 100644 |
397 |
index 708c749..0000000 |
398 |
--- a/dev-lang/spidermonkey/files/moz38-dont-hardcode-libc-soname.patch |
399 |
+++ /dev/null |
400 |
@@ -1,15 +0,0 @@ |
401 |
---- a/testing/mozbase/mozinfo/mozinfo/mozinfo.py 2018-01-12 12:21:16.764318254 -0500 |
402 |
-+++ b/testing/mozbase/mozinfo/mozinfo/mozinfo.py 2018-01-12 12:22:23.392069398 -0500 |
403 |
-@@ -93,10 +93,11 @@ |
404 |
- |
405 |
- if info['os'] == 'linux': |
406 |
- import ctypes |
407 |
-+ import ctypes.util |
408 |
- import errno |
409 |
- PR_SET_SECCOMP = 22 |
410 |
- SECCOMP_MODE_FILTER = 2 |
411 |
-- ctypes.CDLL("libc.so.6", use_errno=True).prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, 0) |
412 |
-+ ctypes.CDLL(ctypes.util.find_library('c'), use_errno=True).prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, 0) |
413 |
- info['has_sandbox'] = ctypes.get_errno() == errno.EFAULT |
414 |
- else: |
415 |
- info['has_sandbox'] = True |
416 |
|
417 |
diff --git a/dev-lang/spidermonkey/files/spidermonkey-52.0-fix-alpha-bitness.patch b/dev-lang/spidermonkey/files/spidermonkey-52.0-fix-alpha-bitness.patch |
418 |
deleted file mode 100644 |
419 |
index b0f8729..0000000 |
420 |
--- a/dev-lang/spidermonkey/files/spidermonkey-52.0-fix-alpha-bitness.patch |
421 |
+++ /dev/null |
422 |
@@ -1,32 +0,0 @@ |
423 |
- |
424 |
-# HG changeset patch |
425 |
-# User John Paul Adrian Glaubitz <glaubitz@××××××××××××××××.de> |
426 |
-# Date 1482966103 -3600 |
427 |
-# Node ID 1f4d99d8dff27bcc25eff21dc6a16dae63f48595 |
428 |
-# Parent ce9e9f0dc752896ac7ba00bb0610b3f731e948b0 |
429 |
-Bug 1326496 - mozbuild: Fix bitness from 32 to 64 bits on alpha. r=glandium |
430 |
- |
431 |
- |
432 |
-diff --git a/python/mozbuild/mozbuild/configure/constants.py b/python/mozbuild/mozbuild/configure/constants.py |
433 |
---- a/python/mozbuild/mozbuild/configure/constants.py |
434 |
-+++ b/python/mozbuild/mozbuild/configure/constants.py |
435 |
-@@ -35,17 +35,17 @@ Kernel = EnumString.subclass( |
436 |
- 'Linux', |
437 |
- 'NetBSD', |
438 |
- 'OpenBSD', |
439 |
- 'WINNT', |
440 |
- ) |
441 |
- |
442 |
- CPU_bitness = { |
443 |
- 'aarch64': 64, |
444 |
-- 'Alpha': 32, |
445 |
-+ 'Alpha': 64, |
446 |
- 'arm': 32, |
447 |
- 'hppa': 32, |
448 |
- 'ia64': 64, |
449 |
- 'mips32': 32, |
450 |
- 'mips64': 64, |
451 |
- 'ppc': 32, |
452 |
- 'ppc64': 64, |
453 |
- 's390': 32, |
454 |
- |
455 |
|
456 |
diff --git a/dev-lang/spidermonkey/files/spidermonkey-musl.patch b/dev-lang/spidermonkey/files/spidermonkey-musl.patch |
457 |
deleted file mode 100644 |
458 |
index b475637..0000000 |
459 |
--- a/dev-lang/spidermonkey/files/spidermonkey-musl.patch |
460 |
+++ /dev/null |
461 |
@@ -1,13 +0,0 @@ |
462 |
-Fixes "caddr_t undeclared" compile error |
463 |
- |
464 |
-diff -ur mozjs-52.9.1pre1.orig/python/psutil/psutil/_psutil_linux.c mozjs-52.9.1pre1/python/psutil/psutil/_psutil_linux.c |
465 |
---- mozjs-52.9.1pre1.orig/python/psutil/psutil/_psutil_linux.c 2018-07-23 18:00:01.000000000 +0000 |
466 |
-+++ mozjs-52.9.1pre1/python/psutil/psutil/_psutil_linux.c 2018-11-25 20:07:15.365771007 +0000 |
467 |
-@@ -21,6 +21,7 @@ |
468 |
- #include <sys/sysinfo.h> |
469 |
- #include <sys/ioctl.h> |
470 |
- #include <sys/socket.h> |
471 |
-+#include <sys/types.h> |
472 |
- #include <linux/sockios.h> |
473 |
- #include <linux/if.h> |
474 |
- #include <linux/ethtool.h> |
475 |
|
476 |
diff --git a/dev-lang/spidermonkey/files/spidermonkey-threadlocal.patch b/dev-lang/spidermonkey/files/spidermonkey-threadlocal.patch |
477 |
deleted file mode 100644 |
478 |
index 3658c41..0000000 |
479 |
--- a/dev-lang/spidermonkey/files/spidermonkey-threadlocal.patch |
480 |
+++ /dev/null |
481 |
@@ -1,14 +0,0 @@ |
482 |
-Fixes: |
483 |
- Error relocating /usr/lib/libmozjs-52.so: _ZN2js16TlsPerThreadDataE: symbol not found |
484 |
- |
485 |
---- mozjs-52.9.1pre1/mfbt/ThreadLocal.h.orig 2018-11-28 09:48:43.746859132 +0000 |
486 |
-+++ mozjs-52.9.1pre1/mfbt/ThreadLocal.h 2018-11-28 09:48:45.930897382 +0000 |
487 |
-@@ -211,7 +211,7 @@ |
488 |
- } |
489 |
- |
490 |
- #ifdef MOZ_HAS_THREAD_LOCAL |
491 |
--#define MOZ_THREAD_LOCAL(TYPE) __thread mozilla::detail::ThreadLocal<TYPE> |
492 |
-+#define MOZ_THREAD_LOCAL(TYPE) MOZ_EXPORT __thread mozilla::detail::ThreadLocal<TYPE> |
493 |
- #else |
494 |
- #define MOZ_THREAD_LOCAL(TYPE) mozilla::detail::ThreadLocal<TYPE> |
495 |
- #endif |
496 |
|
497 |
diff --git a/dev-lang/spidermonkey/metadata.xml b/dev-lang/spidermonkey/metadata.xml |
498 |
deleted file mode 100644 |
499 |
index 514b7f9..0000000 |
500 |
--- a/dev-lang/spidermonkey/metadata.xml |
501 |
+++ /dev/null |
502 |
@@ -1,17 +0,0 @@ |
503 |
-<?xml version="1.0" encoding="UTF-8"?> |
504 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
505 |
-<pkgmetadata> |
506 |
- <maintainer type="project"> |
507 |
- <email>mozilla@g.o</email> |
508 |
- <name>Gentoo Mozilla Team</name> |
509 |
- </maintainer> |
510 |
- <longdescription lang="en"> |
511 |
- Stand-alone JavaScript C++ library |
512 |
- </longdescription> |
513 |
- <use> |
514 |
- <flag name="custom-optimization">Build with user-specified compiler optimizations |
515 |
- (-Os, -O0, -O1, -O2, -O3) from CFLAGS (unsupported)</flag> |
516 |
- <flag name="debug">Enable assertions to allow for easier debugging of programs that link to spidermonkey -- note this will often crash software on regular end-user systems</flag> |
517 |
- <flag name="system-icu">Use the system-wide <pkg>dev-libs/icu</pkg> instead of bundled -- note, only takes effect when icu flag is enabled</flag> |
518 |
- </use> |
519 |
-</pkgmetadata> |
520 |
|
521 |
diff --git a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild |
522 |
deleted file mode 100644 |
523 |
index 2db5ba5..0000000 |
524 |
--- a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild |
525 |
+++ /dev/null |
526 |
@@ -1,149 +0,0 @@ |
527 |
-# Copyright 1999-2018 Gentoo Authors |
528 |
-# Distributed under the terms of the GNU General Public License v2 |
529 |
- |
530 |
-EAPI=6 |
531 |
-WANT_AUTOCONF="2.1" |
532 |
-inherit autotools toolchain-funcs pax-utils mozcoreconf-v5 |
533 |
- |
534 |
-MY_PN="mozjs" |
535 |
-MY_P="${MY_PN}-${PV/_rc/.rc}" |
536 |
-MY_P="${MY_P/_pre/pre}" |
537 |
-DESCRIPTION="Stand-alone JavaScript C++ library" |
538 |
-HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey" |
539 |
-#SRC_URI="https://people.mozilla.org/~sfink/${MY_P}.tar.bz2" |
540 |
-SRC_URI="http://ftp.mozilla.org/pub/spidermonkey/prereleases/52/pre1/mozjs-52.9.1pre1.tar.bz2 -> ${MY_P}.tar.bz2 |
541 |
- https://dev.gentoo.org/~axs/distfiles/${PN}-52.0-patches-0.tar.xz" |
542 |
- |
543 |
-LICENSE="NPL-1.1" |
544 |
-SLOT="52" |
545 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" |
546 |
-IUSE="debug elibc_musl minimal +system-icu test" |
547 |
- |
548 |
-RESTRICT="ia64? ( test )" |
549 |
- |
550 |
-S="${WORKDIR}/${MY_P%.rc*}" |
551 |
-BUILDDIR="${S}/jsobj" |
552 |
- |
553 |
-RDEPEND=">=dev-libs/nspr-4.13.1 |
554 |
- virtual/libffi |
555 |
- sys-libs/readline:0= |
556 |
- >=sys-libs/zlib-1.2.3 |
557 |
- system-icu? ( >=dev-libs/icu-58.1:= )" |
558 |
-DEPEND="${RDEPEND}" |
559 |
- |
560 |
-pkg_setup(){ |
561 |
- [[ ${MERGE_TYPE} == "binary" ]] || \ |
562 |
- moz_pkgsetup |
563 |
- |
564 |
- export SHELL="${EPREFIX}/bin/bash" |
565 |
-} |
566 |
- |
567 |
-src_prepare() { |
568 |
- # remove patches integrated by upstream |
569 |
- rm -f "${WORKDIR}"/${PN}/0002-build-Add-major-version-to-make-parallel-installable.patch \ |
570 |
- "${WORKDIR}"/${PN}/0005-headers-Fix-symbols-visibility.patch \ |
571 |
- "${WORKDIR}"/${PN}/0007-build-Remove-unnecessary-NSPR-dependency.patch \ |
572 |
- "${WORKDIR}"/${PN}/0008-tests-Skip-on-all-64-bit-archs.patch \ |
573 |
- || die |
574 |
- |
575 |
- eapply "${WORKDIR}/${PN}" |
576 |
- eapply "${FILESDIR}"/moz38-dont-hardcode-libc-soname.patch |
577 |
- eapply "${FILESDIR}"/${PN}-52.0-fix-alpha-bitness.patch |
578 |
- use elibc_musl && eapply "${FILESDIR}"/${PN}-musl.patch |
579 |
- use elibc_musl && eapply "${FILESDIR}"/${PN}-threadlocal.patch |
580 |
- |
581 |
- eapply_user |
582 |
- |
583 |
- cd "${S}"/js/src || die |
584 |
- eautoconf old-configure.in |
585 |
- eautoconf |
586 |
- |
587 |
- # there is a default config.cache that messes everything up |
588 |
- rm -f "${S}"/js/src/config.cache || die |
589 |
- |
590 |
- mkdir -p "${BUILDDIR}" || die |
591 |
-} |
592 |
- |
593 |
-src_configure() { |
594 |
- cd "${BUILDDIR}" || die |
595 |
- |
596 |
- ECONF_SOURCE="${S}/js/src" \ |
597 |
- econf \ |
598 |
- $(use_enable !elibc_musl jemalloc) \ |
599 |
- --enable-readline \ |
600 |
- --with-system-nspr \ |
601 |
- --disable-optimize \ |
602 |
- --with-intl-api \ |
603 |
- $(use_with system-icu) \ |
604 |
- $(use_enable debug) \ |
605 |
- $(use_enable test tests) \ |
606 |
- XARGS="/usr/bin/xargs" \ |
607 |
- SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ |
608 |
- CC="${CC}" CXX="${CXX}" LD="${LD}" AR="${AR}" RANLIB="${RANLIB}" |
609 |
-} |
610 |
- |
611 |
-cross_make() { |
612 |
- emake \ |
613 |
- CFLAGS="${BUILD_CFLAGS}" \ |
614 |
- CXXFLAGS="${BUILD_CXXFLAGS}" \ |
615 |
- AR="${BUILD_AR}" \ |
616 |
- CC="${BUILD_CC}" \ |
617 |
- CXX="${BUILD_CXX}" \ |
618 |
- RANLIB="${BUILD_RANLIB}" \ |
619 |
- SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ |
620 |
- "$@" |
621 |
-} |
622 |
-src_compile() { |
623 |
- cd "${BUILDDIR}" || die |
624 |
- if tc-is-cross-compiler; then |
625 |
- tc-export_build_env BUILD_{AR,CC,CXX,RANLIB} |
626 |
- cross_make \ |
627 |
- MOZ_OPTIMIZE_FLAGS="" MOZ_DEBUG_FLAGS="" \ |
628 |
- HOST_OPTIMIZE_FLAGS="" MODULE_OPTIMIZE_FLAGS="" \ |
629 |
- MOZ_PGO_OPTIMIZE_FLAGS="" \ |
630 |
- host_jsoplengen host_jskwgen |
631 |
- cross_make \ |
632 |
- MOZ_OPTIMIZE_FLAGS="" MOZ_DEBUG_FLAGS="" HOST_OPTIMIZE_FLAGS="" \ |
633 |
- -C config nsinstall |
634 |
- mv {,native-}host_jskwgen || die |
635 |
- mv {,native-}host_jsoplengen || die |
636 |
- mv config/{,native-}nsinstall || die |
637 |
- sed -i \ |
638 |
- -e 's@./host_jskwgen@./native-host_jskwgen@' \ |
639 |
- -e 's@./host_jsoplengen@./native-host_jsoplengen@' \ |
640 |
- Makefile || die |
641 |
- sed -i -e 's@/nsinstall@/native-nsinstall@' config/config.mk || die |
642 |
- rm -f config/host_nsinstall.o \ |
643 |
- config/host_pathsub.o \ |
644 |
- host_jskwgen.o \ |
645 |
- host_jsoplengen.o || die |
646 |
- fi |
647 |
- |
648 |
- MOZ_MAKE_FLAGS="${MAKEOPTS}" \ |
649 |
- SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ |
650 |
- emake \ |
651 |
- MOZ_OPTIMIZE_FLAGS="" MOZ_DEBUG_FLAGS="" \ |
652 |
- HOST_OPTIMIZE_FLAGS="" MODULE_OPTIMIZE_FLAGS="" \ |
653 |
- MOZ_PGO_OPTIMIZE_FLAGS="" |
654 |
-} |
655 |
- |
656 |
-src_test() { |
657 |
- cd "${BUILDDIR}/js/src/jsapi-tests" || die |
658 |
- ./jsapi-tests || die |
659 |
-} |
660 |
- |
661 |
-src_install() { |
662 |
- cd "${BUILDDIR}" || die |
663 |
- SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ |
664 |
- emake DESTDIR="${D}" install |
665 |
- |
666 |
- if ! use minimal; then |
667 |
- pax-mark m "${ED}"usr/bin/js${SLOT} |
668 |
- else |
669 |
- rm -f "${ED}"usr/bin/js${SLOT} |
670 |
- fi |
671 |
- |
672 |
- # We can't actually disable building of static libraries |
673 |
- # They're used by the tests and in a few other places |
674 |
- find "${D}" -iname '*.a' -o -iname '*.ajs' -delete || die |
675 |
-} |
676 |
|
677 |
diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest |
678 |
deleted file mode 100644 |
679 |
index 6aa5e8f..0000000 |
680 |
--- a/net-misc/iperf/Manifest |
681 |
+++ /dev/null |
682 |
@@ -1 +0,0 @@ |
683 |
-DIST iperf-3.1.3.tar.gz 549466 BLAKE2B 645e9614ef8f4e4f7949d9aaa99631eba604754a7744d1a729408c5549beb4baf692cee99498dddd8150e1cf06adaa13213cf70510e8ab54418274cdcf145ecd SHA512 67795d9d5b4fc719b3fbbc2683cbe2777412bb7212282a50a378f5bb3793c3c17e278d22816fd9d289b2606ce97624d496ba236e3686ce1a31b9f1d6e6f474e9 |
684 |
|
685 |
diff --git a/net-misc/iperf/files/iperf-3.0.5-flags.patch b/net-misc/iperf/files/iperf-3.0.5-flags.patch |
686 |
deleted file mode 100644 |
687 |
index 9c11c28..0000000 |
688 |
--- a/net-misc/iperf/files/iperf-3.0.5-flags.patch |
689 |
+++ /dev/null |
690 |
@@ -1,31 +0,0 @@ |
691 |
-* Do not inject -g |
692 |
-* Do not make a profiled build |
693 |
- |
694 |
---- a/src/Makefile.am |
695 |
-+++ b/src/Makefile.am |
696 |
-@@ -1,6 +1,6 @@ |
697 |
- lib_LTLIBRARIES = libiperf.la # Build and install an iperf library |
698 |
- bin_PROGRAMS = iperf3 # Build and install an iperf binary |
699 |
--noinst_PROGRAMS = t_timer t_units t_uuid iperf3_profile # Build, but don't install the test programs and a profiled version of iperf3 |
700 |
-+noinst_PROGRAMS = t_timer t_units t_uuid # Build, but don't install the test programs and a profiled version of iperf3 |
701 |
- include_HEADERS = iperf_api.h # Defines the headers that get installed with the program |
702 |
- |
703 |
- |
704 |
-@@ -37,14 +37,13 @@ |
705 |
- |
706 |
- # Specify the sources and various flags for the iperf binary |
707 |
- iperf3_SOURCES = main.c |
708 |
--iperf3_CFLAGS = -g |
709 |
-+iperf3_CFLAGS = |
710 |
- iperf3_LDADD = libiperf.la |
711 |
--iperf3_LDFLAGS = -g |
712 |
-+iperf3_LDFLAGS = |
713 |
- |
714 |
- # Specify the sources and various flags for the profiled iperf binary. This |
715 |
- # binary recompiles all the source files to make sure they are all profiled. |
716 |
--iperf3_profile_SOURCES = main.c \ |
717 |
-- $(libiperf_la_SOURCES) |
718 |
-+iperf3_profile_SOURCES = main.c |
719 |
- |
720 |
- iperf3_profile_CFLAGS = -pg -g |
721 |
- iperf3_profile_LDADD = libiperf.la |
722 |
|
723 |
diff --git a/net-misc/iperf/files/iperf-3.1.3-musl.patch b/net-misc/iperf/files/iperf-3.1.3-musl.patch |
724 |
deleted file mode 100644 |
725 |
index 16801a0..0000000 |
726 |
--- a/net-misc/iperf/files/iperf-3.1.3-musl.patch |
727 |
+++ /dev/null |
728 |
@@ -1,184 +0,0 @@ |
729 |
-Index: iperf-3.1.3/src/iperf.h |
730 |
-=================================================================== |
731 |
---- iperf-3.1.3.orig/src/iperf.h |
732 |
-+++ iperf-3.1.3/src/iperf.h |
733 |
-@@ -36,7 +36,13 @@ |
734 |
- #endif |
735 |
- #include <sys/select.h> |
736 |
- #include <sys/socket.h> |
737 |
-+ |
738 |
-+#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__NetBSD__)) && \ |
739 |
-+ defined(TCP_INFO) |
740 |
- #include <netinet/tcp.h> |
741 |
-+#elif defined(linux) |
742 |
-+#include <linux/tcp.h> |
743 |
-+#endif |
744 |
- |
745 |
- #if defined(HAVE_CPUSET_SETAFFINITY) |
746 |
- #include <sys/param.h> |
747 |
-@@ -66,7 +72,7 @@ struct iperf_interval_results |
748 |
- int cnt_error; |
749 |
- |
750 |
- int omitted; |
751 |
--#if (defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__)) && \ |
752 |
-+#if (defined(__GLIBC__) || defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__)) && \ |
753 |
- defined(TCP_INFO) |
754 |
- struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, {Free,Net}BSD */ |
755 |
- #else |
756 |
-Index: iperf-3.1.3/src/iperf_api.c |
757 |
-=================================================================== |
758 |
---- iperf-3.1.3.orig/src/iperf_api.c |
759 |
-+++ iperf-3.1.3/src/iperf_api.c |
760 |
-@@ -47,7 +47,15 @@ |
761 |
- #ifdef HAVE_STDINT_H |
762 |
- #include <stdint.h> |
763 |
- #endif |
764 |
-+ |
765 |
-+#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__NetBSD__)) && \ |
766 |
-+ defined(TCP_INFO) |
767 |
- #include <netinet/tcp.h> |
768 |
-+#elif defined(linux) |
769 |
-+#include <linux/tcp.h> |
770 |
-+#endif |
771 |
-+ |
772 |
-+ |
773 |
- #include <sys/time.h> |
774 |
- #include <sys/resource.h> |
775 |
- #include <sys/mman.h> |
776 |
-Index: iperf-3.1.3/src/iperf_server_api.c |
777 |
-=================================================================== |
778 |
---- iperf-3.1.3.orig/src/iperf_server_api.c |
779 |
-+++ iperf-3.1.3/src/iperf_server_api.c |
780 |
-@@ -44,7 +44,14 @@ |
781 |
- #ifdef HAVE_STDINT_H |
782 |
- #include <stdint.h> |
783 |
- #endif |
784 |
-+ |
785 |
-+#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__NetBSD__)) && \ |
786 |
-+ defined(TCP_INFO) |
787 |
- #include <netinet/tcp.h> |
788 |
-+#elif defined(linux) |
789 |
-+#include <linux/tcp.h> |
790 |
-+#endif |
791 |
-+ |
792 |
- #include <sys/time.h> |
793 |
- #include <sys/resource.h> |
794 |
- #include <sched.h> |
795 |
-Index: iperf-3.1.3/src/iperf_tcp.c |
796 |
-=================================================================== |
797 |
---- iperf-3.1.3.orig/src/iperf_tcp.c |
798 |
-+++ iperf-3.1.3/src/iperf_tcp.c |
799 |
-@@ -35,7 +35,14 @@ |
800 |
- #include <sys/types.h> |
801 |
- #include <netinet/in.h> |
802 |
- #include <netdb.h> |
803 |
-+ |
804 |
-+#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__NetBSD__)) && \ |
805 |
-+ defined(TCP_INFO) |
806 |
- #include <netinet/tcp.h> |
807 |
-+#elif defined(linux) |
808 |
-+#include <linux/tcp.h> |
809 |
-+#endif |
810 |
-+ |
811 |
- #include <sys/time.h> |
812 |
- #include <sys/select.h> |
813 |
- |
814 |
-Index: iperf-3.1.3/src/iperf_sctp.c |
815 |
-=================================================================== |
816 |
---- iperf-3.1.3.orig/src/iperf_sctp.c |
817 |
-+++ iperf-3.1.3/src/iperf_sctp.c |
818 |
-@@ -35,7 +35,14 @@ |
819 |
- #include <sys/types.h> |
820 |
- #include <netinet/in.h> |
821 |
- #include <netdb.h> |
822 |
-+ |
823 |
-+#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__NetBSD__)) && \ |
824 |
-+ defined(TCP_INFO) |
825 |
- #include <netinet/tcp.h> |
826 |
-+#elif defined(linux) |
827 |
-+#include <linux/tcp.h> |
828 |
-+#endif |
829 |
-+ |
830 |
- #include <sys/time.h> |
831 |
- #include <sys/select.h> |
832 |
- |
833 |
-Index: iperf-3.1.3/src/tcp_info.c |
834 |
-=================================================================== |
835 |
---- iperf-3.1.3.orig/src/tcp_info.c |
836 |
-+++ iperf-3.1.3/src/tcp_info.c |
837 |
-@@ -48,7 +48,14 @@ |
838 |
- #include <sys/param.h> |
839 |
- #include <sys/types.h> |
840 |
- #include <sys/socket.h> |
841 |
-+ |
842 |
-+#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__NetBSD__)) && \ |
843 |
-+ defined(TCP_INFO) |
844 |
- #include <netinet/tcp.h> |
845 |
-+#elif defined(linux) |
846 |
-+#include <linux/tcp.h> |
847 |
-+#endif |
848 |
-+ |
849 |
- #include <string.h> |
850 |
- #include <netinet/in.h> |
851 |
- #include <errno.h> |
852 |
-Index: iperf-3.1.3/src/units.c |
853 |
-=================================================================== |
854 |
---- iperf-3.1.3.orig/src/units.c |
855 |
-+++ iperf-3.1.3/src/units.c |
856 |
-@@ -60,7 +60,13 @@ |
857 |
- #include <sys/socket.h> |
858 |
- #include <sys/types.h> |
859 |
- #include <sys/time.h> |
860 |
-+ |
861 |
-+#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__NetBSD__)) && \ |
862 |
-+ defined(TCP_INFO) |
863 |
- #include <netinet/tcp.h> |
864 |
-+#elif defined(linux) |
865 |
-+#include <linux/tcp.h> |
866 |
-+#endif |
867 |
- |
868 |
- |
869 |
- #include "iperf.h" |
870 |
-Index: iperf-3.1.3/src/main.c |
871 |
-=================================================================== |
872 |
---- iperf-3.1.3.orig/src/main.c |
873 |
-+++ iperf-3.1.3/src/main.c |
874 |
-@@ -44,7 +44,13 @@ |
875 |
- #ifdef HAVE_STDINT_H |
876 |
- #include <stdint.h> |
877 |
- #endif |
878 |
-+ |
879 |
-+#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__NetBSD__)) && \ |
880 |
-+ defined(TCP_INFO) |
881 |
- #include <netinet/tcp.h> |
882 |
-+#elif defined(linux) |
883 |
-+#include <linux/tcp.h> |
884 |
-+#endif |
885 |
- |
886 |
- #include "iperf.h" |
887 |
- #include "iperf_api.h" |
888 |
-Index: iperf-3.1.3/src/timer.h |
889 |
-=================================================================== |
890 |
---- iperf-3.1.3.orig/src/timer.h |
891 |
-+++ iperf-3.1.3/src/timer.h |
892 |
-@@ -32,6 +32,8 @@ |
893 |
- |
894 |
- #include <sys/time.h> |
895 |
- |
896 |
-+#include <stdint.h> |
897 |
-+ |
898 |
- /* TimerClientData is an opaque value that tags along with a timer. The |
899 |
- ** client can use it for whatever, and it gets passed to the callback when |
900 |
- ** the timer triggers. |
901 |
-Index: iperf-3.1.3/src/t_uuid.c |
902 |
-=================================================================== |
903 |
---- iperf-3.1.3.orig/src/t_uuid.c |
904 |
-+++ iperf-3.1.3/src/t_uuid.c |
905 |
-@@ -28,6 +28,7 @@ |
906 |
- #include <stdlib.h> |
907 |
- #include <string.h> |
908 |
- #include <sys/time.h> |
909 |
-+#include <stdint.h> |
910 |
- |
911 |
- #include "iperf_util.h" |
912 |
- |
913 |
|
914 |
diff --git a/net-misc/iperf/files/iperf.confd b/net-misc/iperf/files/iperf.confd |
915 |
deleted file mode 100644 |
916 |
index 7d82492..0000000 |
917 |
--- a/net-misc/iperf/files/iperf.confd |
918 |
+++ /dev/null |
919 |
@@ -1,5 +0,0 @@ |
920 |
-# Copyright 1999-2005 Gentoo Foundation |
921 |
-# Distributed under the terms of the GNU General Public License v2 |
922 |
- |
923 |
-# extra options (run iperf -h for a list of supported options) |
924 |
-IPERF_OPTS="--format Mbytes" |
925 |
|
926 |
diff --git a/net-misc/iperf/files/iperf.initd-r1 b/net-misc/iperf/files/iperf.initd-r1 |
927 |
deleted file mode 100644 |
928 |
index cd17a7b..0000000 |
929 |
--- a/net-misc/iperf/files/iperf.initd-r1 |
930 |
+++ /dev/null |
931 |
@@ -1,14 +0,0 @@ |
932 |
-#!/sbin/openrc-run |
933 |
-# Copyright 1999-2014 Gentoo Foundation |
934 |
-# Distributed under the terms of the GNU General Public License v2 |
935 |
- |
936 |
-description="IP bandwidth measurement server" |
937 |
-command="/usr/bin/iperf" |
938 |
- |
939 |
-command_background="yes" |
940 |
-pidfile="/run/${SVCNAME}.pid" |
941 |
-command_args="-s ${IPERF_OPTS}" |
942 |
- |
943 |
-# note: iperf has a -D/--daemon flag but we seem to hit a bug |
944 |
-# where it starts to eat all CPU after client disconnect, |
945 |
-# see bug #344875 |
946 |
|
947 |
diff --git a/net-misc/iperf/files/iperf3.initd b/net-misc/iperf/files/iperf3.initd |
948 |
deleted file mode 100644 |
949 |
index 281ebf5..0000000 |
950 |
--- a/net-misc/iperf/files/iperf3.initd |
951 |
+++ /dev/null |
952 |
@@ -1,10 +0,0 @@ |
953 |
-#!/sbin/openrc-run |
954 |
-# Copyright 1999-2014 Gentoo Foundation |
955 |
-# Distributed under the terms of the GNU General Public License v2 |
956 |
- |
957 |
-description="IP bandwidth measurement server" |
958 |
-command="/usr/bin/iperf3" |
959 |
- |
960 |
-command_background="yes" |
961 |
-pidfile="/run/${SVCNAME}.pid" |
962 |
-command_args="-s ${IPERF_OPTS}" |
963 |
|
964 |
diff --git a/net-misc/iperf/iperf-3.1.3.ebuild b/net-misc/iperf/iperf-3.1.3.ebuild |
965 |
deleted file mode 100644 |
966 |
index 5825053..0000000 |
967 |
--- a/net-misc/iperf/iperf-3.1.3.ebuild |
968 |
+++ /dev/null |
969 |
@@ -1,41 +0,0 @@ |
970 |
-# Copyright 1999-2017 Gentoo Foundation |
971 |
-# Distributed under the terms of the GNU General Public License v2 |
972 |
- |
973 |
-EAPI=6 |
974 |
- |
975 |
-inherit autotools eutils |
976 |
- |
977 |
-DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" |
978 |
-HOMEPAGE="https://github.com/esnet/iperf/" |
979 |
-SRC_URI="https://codeload.github.com/esnet/${PN}/tar.gz/${PV/_beta/b} -> ${P}.tar.gz" |
980 |
- |
981 |
-LICENSE="BSD" |
982 |
-SLOT="3" |
983 |
-KEYWORDS="amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" |
984 |
-IUSE="sctp static-libs" |
985 |
- |
986 |
-DEPEND="sctp? ( net-misc/lksctp-tools )" |
987 |
-RDEPEND="${DEPEND}" |
988 |
- |
989 |
-S=${WORKDIR}/${P/_beta/b} |
990 |
- |
991 |
-PATCHES=( "${FILESDIR}"/${PN}-3.0.5-flags.patch |
992 |
- "${FILESDIR}/${PN}-3.1.3-musl.patch" |
993 |
-) |
994 |
- |
995 |
-src_prepare() { |
996 |
- default |
997 |
- |
998 |
- eautoreconf |
999 |
-} |
1000 |
- |
1001 |
-src_configure() { |
1002 |
- econf $(use_enable static-libs static) |
1003 |
-} |
1004 |
- |
1005 |
-src_install() { |
1006 |
- default |
1007 |
- newconfd "${FILESDIR}"/iperf.confd iperf3 |
1008 |
- newinitd "${FILESDIR}"/iperf3.initd iperf3 |
1009 |
- prune_libtool_files |
1010 |
-} |
1011 |
|
1012 |
diff --git a/net-misc/iperf/metadata.xml b/net-misc/iperf/metadata.xml |
1013 |
deleted file mode 100644 |
1014 |
index c2391d4..0000000 |
1015 |
--- a/net-misc/iperf/metadata.xml |
1016 |
+++ /dev/null |
1017 |
@@ -1,12 +0,0 @@ |
1018 |
-<?xml version="1.0" encoding="UTF-8"?> |
1019 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
1020 |
-<pkgmetadata> |
1021 |
- <maintainer type="project"> |
1022 |
- <email>netmon@g.o</email> |
1023 |
- <name>Gentoo network monitoring and analysis project</name> |
1024 |
- </maintainer> |
1025 |
- <upstream> |
1026 |
- <remote-id type="github">esnet/iperf</remote-id> |
1027 |
- <remote-id type="sourceforge">iperf</remote-id> |
1028 |
- </upstream> |
1029 |
-</pkgmetadata> |