1 |
commit: a2c288cd94b76bb290e312234dd57bba5f5dcf00 |
2 |
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 10 20:55:42 2021 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 10 20:56:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=a2c288cd |
7 |
|
8 |
remove stale/obsolete builds |
9 |
|
10 |
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org> |
11 |
|
12 |
dev-util/android-tools/Manifest | 12 - |
13 |
.../android-tools/android-tools-6.0.1_p79.ebuild | 94 -------- |
14 |
.../android-tools/android-tools-8.1.0_p1.ebuild | 128 ---------- |
15 |
.../files/android-tools-8.1.0_p1-build.patch | 30 --- |
16 |
.../files/android-tools-8.1.0_p1-musl.patch | 42 ---- |
17 |
.../files/android-tools-deffilemode.patch | 14 -- |
18 |
dev-util/android-tools/metadata.xml | 15 -- |
19 |
dev-util/systemtap/Manifest | 1 - |
20 |
dev-util/systemtap/files/systemtap-2.9-musl.patch | 182 -------------- |
21 |
dev-util/systemtap/metadata.xml | 7 - |
22 |
dev-util/systemtap/systemtap-2.9.ebuild | 79 ------- |
23 |
sys-devel/gdb/Manifest | 2 - |
24 |
sys-devel/gdb/files/gdb-7.11-linux_nat.patch | 23 -- |
25 |
sys-devel/gdb/files/gdb-7.11-missing-stat_h.patch | 11 - |
26 |
sys-devel/gdb/gdb-8.1-r1.ebuild | 263 --------------------- |
27 |
sys-devel/gdb/gdb-8.1-r2.ebuild | 262 -------------------- |
28 |
sys-devel/gdb/metadata.xml | 19 -- |
29 |
sys-libs/ldb/Manifest | 8 - |
30 |
.../ldb/files/ldb-1.1.27-optional_packages.patch | 92 ------- |
31 |
sys-libs/ldb/files/ldb-1.1.29-disable-python.patch | 48 ---- |
32 |
....31-fix_PKGCONFIGDIR-when-python-disabled.patch | 17 -- |
33 |
.../ldb/files/ldb-1.1.31-optional_packages.patch | 57 ----- |
34 |
.../files/ldb-1.1.31-talloc-disable-python.patch | 34 --- |
35 |
sys-libs/ldb/files/ldb-1.2.3-disable_python.patch | 64 ----- |
36 |
.../ldb/files/ldb-1.4.0-optional_packages.patch | 45 ---- |
37 |
.../ldb/files/ldb-1.5.2-optional_packages.patch | 40 ---- |
38 |
.../ldb-2.0.8-include-fcntl.h-for-pid_t.patch | 10 - |
39 |
sys-libs/ldb/ldb-1.1.29-r1.ebuild | 103 -------- |
40 |
sys-libs/ldb/ldb-1.1.31.ebuild | 105 -------- |
41 |
sys-libs/ldb/ldb-1.2.4.ebuild | 104 -------- |
42 |
sys-libs/ldb/ldb-1.3.6.ebuild | 104 -------- |
43 |
sys-libs/ldb/ldb-1.3.8.ebuild | 104 -------- |
44 |
sys-libs/ldb/ldb-1.4.7.ebuild | 105 -------- |
45 |
sys-libs/ldb/ldb-1.5.5.ebuild | 107 --------- |
46 |
sys-libs/ldb/ldb-2.0.8.ebuild | 110 --------- |
47 |
sys-libs/ldb/metadata.xml | 14 -- |
48 |
sys-libs/ntdb/Manifest | 1 - |
49 |
.../ntdb/files/ntdb-1.0-drop-need-strtoq.patch | 21 -- |
50 |
sys-libs/ntdb/metadata.xml | 12 - |
51 |
sys-libs/ntdb/ntdb-1.0-r1.ebuild | 53 ----- |
52 |
40 files changed, 2542 deletions(-) |
53 |
|
54 |
diff --git a/dev-util/android-tools/Manifest b/dev-util/android-tools/Manifest |
55 |
deleted file mode 100644 |
56 |
index f7a9ade..0000000 |
57 |
--- a/dev-util/android-tools/Manifest |
58 |
+++ /dev/null |
59 |
@@ -1,12 +0,0 @@ |
60 |
-DIST android-tools-6.0.1_r79-arch.tar.gz 13466 BLAKE2B ddb064303659468b648a46ea24aae648968088de4aaea2b64e7b9d946d867daaf6ed1f4094cb7b29beb803387d2253580c85a46e9392bc1ccb2461186f2e52ef SHA512 90b8638d247897da33f6e861492c58df0e9877738650083c3307bd787d234d728e6c9097ac1401c254eb3daf4c6b18da4ee84dd16749acf6359fcb42781862fc |
61 |
-DIST android-tools-6.0.1_r79-core.tar.gz 1186562 BLAKE2B 473454d340e65f98201508cb04293118d6e2ecc06e33d0d76ca81c536ea00a7818ebe4c4ccd30efef36aaaa1a9ec6ee3a57c00e2a82af28cbc49f4c973ab46be SHA512 a48f8c562305cbc951e008979920d9efe02e232c41997423457ff1e2f115e526b295c260a501d4050ce280ca7155793b95f7a60bad5cbc165ba80d6a225152f0 |
62 |
-DIST android-tools-6.0.1_r79-extras.tar.gz 648657 BLAKE2B 4582ddd57b729492e08987e17304c62778504ffc316ab26df8c83fff1aed33226106474131d5ad0e3e302b577c83a2b78d0be04fef9711e39861a223580ab1b9 SHA512 e10694737c518f591eff4e808bb826c83bf45dc44c5c1ee8a4082a6e0653350ffe2986e299348cb4a1219203192d01546a05e9354ce05e29897f856c147de8c3 |
63 |
-DIST android-tools-6.0.1_r79-f2fs-tools.tar.gz 70255 BLAKE2B ab9ce3efd33c28a1a0a9cb8a5415057498dd493e059183cc9d3fcc9de1b5ca4d7488c75695c94700fc6a4e5503beb8647576c7096fa50229f98485d2983ce152 SHA512 0871f99f78006028889b42668ec627b6515bb812ad3ec4a489f62187a79f64d2a74f66556698a5f05fc99932f75fefd8810dedceeab744b212beb764e97b82c8 |
64 |
-DIST android-tools-6.0.1_r79-libselinux.tar.gz 50814 BLAKE2B f09f26c801be83bc97f4b18606f513ce0fae791126a30c90067e3b2066c991fa1390ab2d0fac2475f755f3245179718204d5014f47ece46801dc0f80caf9758b SHA512 686557271271c4d59fb968c5aa76b433955009733f3151c4c86faa996ce846088d6632b0969b23699822b7a6f09eae60abedba6abb0edc9d444159bbdb5c6f91 |
65 |
-DIST android-tools-8.1.0_r1-arch.tar.gz 6250 BLAKE2B 65447517a33438c8531a9d707c6107703eaccb558e505e51a88ef51e70f83488620f76eb0240dc0899211cf120e9e1ffbea041086f1d8133f30b56358aba76d6 SHA512 5746e0b2f6aae37ebe60b7b1e939699a11de2f44286497f77d700c3896e02559d55002f036ecdc1c412844bfce4ab245b9086193dc982e6be74bcaea61010c5c |
66 |
-DIST android-tools-8.1.0_r1-core.tar.gz 5227179 BLAKE2B afb280d67fe1b926e1f1ad68409584ad0209eb48921542e2bd490448c888cdf4bf6fb4c6f9552d580c7a396e79c2c85019e79a9a6c9881ea962c2f1064c33d82 SHA512 2c8e67232ca6348a4fd4b5d7077715491d2168c46fc8e336635a961bbbed156ef480718ee58393501196e9315c6c1bda807f8966944e3bc209dd5a0f7088642e |
67 |
-DIST android-tools-8.1.0_r1-extras.tar.xz 275952 BLAKE2B 0fd3c536fee6ffbe2cdd4321604d32dc3a2b48a1b3edcb9121e83ceea760e491b47b301c3d8126565efd6b11adabd4f89c79bbe8731585660ce395af9e643fe7 SHA512 bfe3af89eadf38ce6805637e41f3fb15feb85455902f6a43e52a2f95dd1595cc896a9f46ccc82ab8db433f56a05f2f4c0ba85b77f40b03d5d69c8fec4082a2da |
68 |
-DIST android-tools-8.1.0_r1-f2fs-tools.tar.xz 93924 BLAKE2B b8b6c7ba4c3f5309bfcfc91bd57d018d7af66f8dd25590207fd545f0dba02961826bf9963a56c7994feea5db8f9caedfe4fe62870420d9544283f87ec337cfb8 SHA512 de726be0691c58a5093098bd30cfc06c4312c44bec040cbecd594694cb7b38742dafd1f00b08c18f1b70abf56571738eb3e85e612f082e09e51a98980444e069 |
69 |
-DIST android-tools-8.1.0_r1-selinux.tar.xz 3188060 BLAKE2B 8c513d858e8dcaed705975ad61f362d7b1c2252685a63a1ad6035f36b0b402f1857ac5d2635d35ffa10f05b4a2605f30f27dcc5e9d91930eb0656f3ce2da036d SHA512 8799f10b4dba840ecea8f6abb8166c2e137eb3f0d9c5cfb132c661cf17800f2eeaafb1b4ec9e8974fc3324fae99e3654e52397c987faf1d48ab6148152d84f11 |
70 |
-DIST android-tools-8.1.0_r1.ninja.xz 2740 BLAKE2B 34473e33970cefdaf82bbe4524665fd50e6617cf867757ca07cdccc2e7356f43ef4bb455080ef4bac516ddba3c4e4120f0b27306e84725f8d5738a81800e3a53 SHA512 707e0e1c53832a42384e93d363f80007b76f18166b9f3f7d516431410b05319b1acc804daa1fddc218e11feb48de48683efb5203f4fa6d80646dcb1a2953139f |
71 |
-DIST boringssl-14308731e5446a73ac2258688a9688b524483cb6.tar.gz 13030361 BLAKE2B 6982416b6e193e7faccd41fff3bd35f80b11d7495251d876e6b081bd94a887ec3c6bf5b7852d9595594fc2bdc57353f268272ef01fb79f7c93b52d46cbda69ac SHA512 171b524b0452a48853b2c8010ff5e14d5d720e69eeaf1d3b79f675838f3afa94aee9de2f47b37303feb2d92cbf77639efe585786625b7b37b8cc2ba727c37fdc |
72 |
|
73 |
diff --git a/dev-util/android-tools/android-tools-6.0.1_p79.ebuild b/dev-util/android-tools/android-tools-6.0.1_p79.ebuild |
74 |
deleted file mode 100644 |
75 |
index 41f425f..0000000 |
76 |
--- a/dev-util/android-tools/android-tools-6.0.1_p79.ebuild |
77 |
+++ /dev/null |
78 |
@@ -1,94 +0,0 @@ |
79 |
-# Copyright 1999-2017 Gentoo Foundation |
80 |
-# Distributed under the terms of the GNU General Public License v2 |
81 |
- |
82 |
-EAPI=6 |
83 |
-inherit bash-completion-r1 eutils toolchain-funcs |
84 |
- |
85 |
-MY_PV="${PV/_p/_r}" |
86 |
-MY_P=${PN}-${MY_PV} |
87 |
- |
88 |
-DESCRIPTION="Android platform tools (adb, fastboot, and mkbootimg)" |
89 |
-HOMEPAGE="https://android.googlesource.com/platform/system/core.git/" |
90 |
-# Downloading git tarballs generated by android.googlesource.com |
91 |
-# Archlinux package contains patches and build script generation mechanism. |
92 |
-SRC_URI="https://git.archlinux.org/svntogit/community.git/snapshot/community-6a03c4736c9734f5ac3d6b5b912605690a6eaa5f.tar.gz -> ${MY_P}-arch.tar.gz |
93 |
-https://github.com/android/platform_system_core/archive/android-${MY_PV}.tar.gz -> ${MY_P}-core.tar.gz |
94 |
-mirror://gentoo/${MY_P}-extras.tar.gz |
95 |
-mirror://gentoo/${MY_P}-libselinux.tar.gz |
96 |
-mirror://gentoo/${MY_P}-f2fs-tools.tar.gz" |
97 |
- |
98 |
-# The entire source code is Apache-2.0, except for fastboot which is BSD-2. |
99 |
-LICENSE="Apache-2.0 BSD-2" |
100 |
-SLOT="0" |
101 |
-KEYWORDS="amd64 x86" |
102 |
-IUSE="libressl" |
103 |
- |
104 |
-RDEPEND="sys-libs/zlib:= |
105 |
- !libressl? ( dev-libs/openssl:0= ) |
106 |
- libressl? ( dev-libs/libressl:0= ) |
107 |
- dev-libs/libpcre" |
108 |
-# dev-lang/ruby is necessary for build script generation. |
109 |
-DEPEND="${RDEPEND} |
110 |
- virtual/rubygems" |
111 |
- |
112 |
-PATCHES=( "${FILESDIR}/${PN}-deffilemode.patch" ) |
113 |
- |
114 |
-S=${WORKDIR} |
115 |
- |
116 |
-src_unpack() { |
117 |
- local dir filename |
118 |
- for filename in ${A}; do |
119 |
- if [[ ${filename} =~ ^${MY_P}-(.*)\.tar\.gz$ ]]; then |
120 |
- dir=${BASH_REMATCH[1]} |
121 |
- mkdir -p "${dir}" || die |
122 |
- pushd "${dir}" >/dev/null |
123 |
- unpack "${filename}" |
124 |
- popd > /dev/null |
125 |
- else |
126 |
- die "unrecognized file in \${A}: ${filename}" |
127 |
- fi |
128 |
- done |
129 |
-} |
130 |
- |
131 |
-src_prepare() { |
132 |
- mv core/*/* core/ || die |
133 |
- epatch arch/*/trunk/fix_build.patch |
134 |
- cp arch/*/trunk/generate_build.rb ./ || die |
135 |
- sed -i '1i#include <sys/sysmacros.h>' core/adb/usb_linux.cpp || die #616508 |
136 |
- default |
137 |
- |
138 |
- #580686 |
139 |
- find "${S}" -name '*.h' -exec \ |
140 |
- sed -e 's|^#include <sys/cdefs.h>$|/* \0 */|' \ |
141 |
- -e 's|^__BEGIN_DECLS$|#ifdef __cplusplus\nextern "C" {\n#endif|' \ |
142 |
- -e 's|^__END_DECLS$|#ifdef __cplusplus\n}\n#endif|' \ |
143 |
- -i {} \; || die |
144 |
- sed -e 's|^#include <sys/cdefs.h>$|/* \0 */|' \ |
145 |
- -i extras/ext4_utils/sha1.c || die |
146 |
-} |
147 |
- |
148 |
-src_compile() { |
149 |
- # Dynamically detect rubygems interpreter (bug 631398). |
150 |
- local ruby_bin=$(type -P ruby) ruby_error_log=${T}/generate_build.rb.log success= |
151 |
- for ruby_bin in "${ruby_bin}" "${ruby_bin}"[[:digit:]][[:digit:]]; do |
152 |
- "${ruby_bin}" ./generate_build.rb 1> build.sh 2> "${ruby_error_log}" && \ |
153 |
- { success=1; break; } |
154 |
- done |
155 |
- if [[ -z ${success} ]]; then |
156 |
- cat "${ruby_error_log}" >&2 |
157 |
- die "${ruby_bin} ./generate_build.rb failed" |
158 |
- fi |
159 |
- sed -e 's:^gcc:${CC}:' -e 's:^g++:${CXX}:' -i build.sh || die |
160 |
- chmod +x build.sh || die |
161 |
- tc-export CC CXX |
162 |
- bash -e ./build.sh || die |
163 |
-} |
164 |
- |
165 |
-src_install() { |
166 |
- dobin adb |
167 |
- dobin fastboot |
168 |
- dobin mkbootimg |
169 |
- # Omitting, app-shells/bash-completion contains completion for adb |
170 |
- #newbashcomp arch/*/trunk/bash_completion.adb adb |
171 |
- newbashcomp arch/*/trunk/bash_completion.fastboot fastboot |
172 |
-} |
173 |
|
174 |
diff --git a/dev-util/android-tools/android-tools-8.1.0_p1.ebuild b/dev-util/android-tools/android-tools-8.1.0_p1.ebuild |
175 |
deleted file mode 100644 |
176 |
index cfd407c..0000000 |
177 |
--- a/dev-util/android-tools/android-tools-8.1.0_p1.ebuild |
178 |
+++ /dev/null |
179 |
@@ -1,128 +0,0 @@ |
180 |
-# Copyright 1999-2018 Gentoo Foundation |
181 |
-# Distributed under the terms of the GNU General Public License v2 |
182 |
- |
183 |
-EAPI="6" |
184 |
- |
185 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
186 |
-CMAKE_MAKEFILE_GENERATOR="ninja" |
187 |
- |
188 |
-inherit flag-o-matic bash-completion-r1 ninja-utils toolchain-funcs cmake-utils python-r1 python-utils-r1 |
189 |
- |
190 |
-MY_PV="${PV/_p/_r}" |
191 |
-MY_P=${PN}-${MY_PV} |
192 |
- |
193 |
-DESCRIPTION="Android platform tools (adb, fastboot, and mkbootimg)" |
194 |
-HOMEPAGE="https://android.googlesource.com/platform/system/core.git/" |
195 |
-# See helper scripts in files/ for creating these tarballs and getting this hash. |
196 |
-BORINGSSL_SHA1="14308731e5446a73ac2258688a9688b524483cb6" |
197 |
-# The ninja file was created by running the ruby script from archlinux by hand and fixing the build vars. |
198 |
-# No point in depending on something large/uncommon like ruby just to generate a ninja file. |
199 |
-SRC_URI="https://git.archlinux.org/svntogit/community.git/snapshot/community-2b7f9774cc468205fec145e64e9103aee8e5c6f9.tar.gz -> ${MY_P}-arch.tar.gz |
200 |
- https://github.com/android/platform_system_core/archive/android-${MY_PV}.tar.gz -> ${MY_P}-core.tar.gz |
201 |
- https://github.com/google/boringssl/archive/${BORINGSSL_SHA1}.tar.gz -> boringssl-${BORINGSSL_SHA1}.tar.gz |
202 |
- mirror://gentoo/${MY_P}-extras.tar.xz https://dev.gentoo.org/~vapier/dist/${MY_P}-extras.tar.xz |
203 |
- mirror://gentoo/${MY_P}-selinux.tar.xz https://dev.gentoo.org/~vapier/dist/${MY_P}-selinux.tar.xz |
204 |
- mirror://gentoo/${MY_P}-f2fs-tools.tar.xz https://dev.gentoo.org/~vapier/dist/${MY_P}-f2fs-tools.tar.xz |
205 |
- mirror://gentoo/${MY_P}.ninja.xz https://dev.gentoo.org/~vapier/dist/${MY_P}.ninja.xz" |
206 |
- |
207 |
-# The entire source code is Apache-2.0, except for fastboot which is BSD-2. |
208 |
-LICENSE="Apache-2.0 BSD-2" |
209 |
-SLOT="0" |
210 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
211 |
-IUSE="python" |
212 |
- |
213 |
-DEPEND="sys-libs/zlib:= |
214 |
- dev-libs/libpcre2:= |
215 |
- virtual/libusb:1=" |
216 |
-RDEPEND="${DEPEND} |
217 |
- python? ( ${PYTHON_DEPS} )" |
218 |
-DEPEND+=" |
219 |
- dev-lang/go" |
220 |
- |
221 |
-S=${WORKDIR} |
222 |
-CMAKE_USE_DIR="${S}/boringssl" |
223 |
- |
224 |
-unpack_into() { |
225 |
- local archive="$1" |
226 |
- local dir="$2" |
227 |
- |
228 |
- mkdir -p "${dir}" |
229 |
- pushd "${dir}" >/dev/null || die |
230 |
- unpack "${archive}" |
231 |
- if [[ ${dir} != ./* ]] ; then |
232 |
- mv */* ./ || die |
233 |
- fi |
234 |
- popd >/dev/null |
235 |
-} |
236 |
- |
237 |
-src_unpack() { |
238 |
- unpack_into "${MY_P}-arch.tar.gz" arch |
239 |
- unpack_into "${MY_P}-core.tar.gz" core |
240 |
- unpack_into "${MY_P}-extras.tar.xz" extras |
241 |
- unpack_into "${MY_P}-f2fs-tools.tar.xz" ./f2fs-tools |
242 |
- unpack_into "${MY_P}-selinux.tar.xz" ./selinux |
243 |
- unpack_into boringssl-${BORINGSSL_SHA1}.tar.gz boringssl |
244 |
- |
245 |
- unpack "${MY_P}.ninja.xz" |
246 |
- mv "${MY_P}.ninja" "build.ninja" || die |
247 |
- |
248 |
- # Avoid depending on gtest just for its prod headers when boringssl bundles it. |
249 |
- ln -s ../../boringssl/third_party/googletest/include/gtest core/include/ || die |
250 |
-} |
251 |
- |
252 |
-src_prepare() { |
253 |
- cd "${S}"/core |
254 |
- eapply "${WORKDIR}"/arch/trunk/fix_build_core.patch |
255 |
- eapply "${FILESDIR}"/${P}-build.patch |
256 |
- eapply "${FILESDIR}"/${P}-musl.patch |
257 |
- sed -i '1i#include <sys/sysmacros.h>' adb/client/usb_linux.cpp || die #616508 |
258 |
- |
259 |
- cd "${S}"/selinux |
260 |
- eapply "${WORKDIR}"/arch/trunk/fix_build_selinux.patch |
261 |
- |
262 |
- cd "${S}" |
263 |
- #580686 |
264 |
- find "${S}" -name '*.h' -exec \ |
265 |
- sed -e 's|^#include <sys/cdefs.h>$|/* \0 */|' \ |
266 |
- -e 's|^__BEGIN_DECLS$|#ifdef __cplusplus\nextern "C" {\n#endif|' \ |
267 |
- -e 's|^__END_DECLS$|#ifdef __cplusplus\n}\n#endif|' \ |
268 |
- -i {} \; || die |
269 |
- sed -e 's|^#include <sys/cdefs.h>$|/* \0 */|' \ |
270 |
- -i extras/ext4_utils/sha1.c || die |
271 |
- |
272 |
- default |
273 |
- |
274 |
- # The pregenerated ninja file expects the build/ dir. |
275 |
- BUILD_DIR="${CMAKE_USE_DIR}/build" |
276 |
- cmake-utils_src_prepare |
277 |
-} |
278 |
- |
279 |
-src_configure() { |
280 |
- append-lfs-flags |
281 |
- |
282 |
- cmake-utils_src_configure |
283 |
- |
284 |
- sed -i \ |
285 |
- -e "s:@CC@:$(tc-getCC):g" \ |
286 |
- -e "s:@CXX@:$(tc-getCXX):g" \ |
287 |
- -e "s:@CFLAGS@:${CFLAGS}:g" \ |
288 |
- -e "s:@CPPFLAGS@:${CPPFLAGS}:g" \ |
289 |
- -e "s:@CXXFLAGS@:${CXXFLAGS}:g" \ |
290 |
- -e "s:@LDFLAGS@:${LDFLAGS}:g" \ |
291 |
- -e "s:@PV@:${PV}:g" \ |
292 |
- build.ninja || die |
293 |
-} |
294 |
- |
295 |
-src_compile() { |
296 |
- # We only need a few libs from boringssl. |
297 |
- cmake-utils_src_compile libcrypto.a libssl.a |
298 |
- |
299 |
- eninja |
300 |
-} |
301 |
- |
302 |
-src_install() { |
303 |
- dobin adb fastboot |
304 |
- dodoc core/adb/*.{txt,TXT} core/fastboot/README.md |
305 |
- use python && python_foreach_impl python_doexe core/mkbootimg/mkbootimg |
306 |
- newbashcomp arch/trunk/bash_completion.fastboot fastboot |
307 |
-} |
308 |
|
309 |
diff --git a/dev-util/android-tools/files/android-tools-8.1.0_p1-build.patch b/dev-util/android-tools/files/android-tools-8.1.0_p1-build.patch |
310 |
deleted file mode 100644 |
311 |
index f3d664e..0000000 |
312 |
--- a/dev-util/android-tools/files/android-tools-8.1.0_p1-build.patch |
313 |
+++ /dev/null |
314 |
@@ -1,30 +0,0 @@ |
315 |
---- a/adb/sysdeps.h |
316 |
-+++ b/adb/sysdeps.h |
317 |
-@@ -66,6 +66,11 @@ |
318 |
- #endif |
319 |
- #endif |
320 |
- |
321 |
-+#ifndef __clang__ |
322 |
-+#define _Nonnull |
323 |
-+#define _Nullable |
324 |
-+#endif |
325 |
-+ |
326 |
- #ifdef _WIN32 |
327 |
- |
328 |
- // Clang-only nullability specifiers |
329 |
---- a/libcutils/include/cutils/trace.h |
330 |
-+++ b/libcutils/include/cutils/trace.h |
331 |
-@@ -18,7 +18,13 @@ |
332 |
- #define _LIBS_CUTILS_TRACE_H |
333 |
- |
334 |
- #include <inttypes.h> |
335 |
-+// https://gcc.gnu.org/PR60932 |
336 |
-+#ifdef __cplusplus |
337 |
-+#include <atomic> |
338 |
-+using namespace std; |
339 |
-+#else |
340 |
- #include <stdatomic.h> |
341 |
-+#endif |
342 |
- #include <stdbool.h> |
343 |
- #include <stdint.h> |
344 |
- #include <stdio.h> |
345 |
|
346 |
diff --git a/dev-util/android-tools/files/android-tools-8.1.0_p1-musl.patch b/dev-util/android-tools/files/android-tools-8.1.0_p1-musl.patch |
347 |
deleted file mode 100644 |
348 |
index 4b25964..0000000 |
349 |
--- a/dev-util/android-tools/files/android-tools-8.1.0_p1-musl.patch |
350 |
+++ /dev/null |
351 |
@@ -1,42 +0,0 @@ |
352 |
---- a/base/logging.cpp |
353 |
-+++ b/base/logging.cpp |
354 |
-@@ -28,7 +28,7 @@ |
355 |
- // For getprogname(3) or program_invocation_short_name. |
356 |
- #if defined(__ANDROID__) || defined(__APPLE__) |
357 |
- #include <stdlib.h> |
358 |
--#elif defined(__GLIBC__) |
359 |
-+#elif defined(__linux__) |
360 |
- #include <errno.h> |
361 |
- #endif |
362 |
- |
363 |
-@@ -90,7 +90,7 @@ |
364 |
- } |
365 |
- |
366 |
- namespace { |
367 |
--#if defined(__GLIBC__) |
368 |
-+#if defined(__linux__) |
369 |
- const char* getprogname() { |
370 |
- return program_invocation_short_name; |
371 |
- } |
372 |
---- a/adb/diagnose_usb.cpp 2018-01-29 12:05:10.466834056 -0800 |
373 |
-+++ b/adb/diagnose_usb.cpp 2018-01-29 12:13:20.980825271 -0800 |
374 |
-@@ -33,7 +33,7 @@ |
375 |
- // Returns a message describing any potential problems we find with udev, or an empty string if we |
376 |
- // can't find plugdev information (i.e. udev is not installed). |
377 |
- static std::string GetUdevProblem() { |
378 |
--#if defined(__linux__) |
379 |
-+#if defined(__GLIBC__) |
380 |
- errno = 0; |
381 |
- group* plugdev_group = getgrnam("plugdev"); |
382 |
- |
383 |
---- a/fastboot/socket.cpp 2018-01-29 12:05:10.493834055 -0800 |
384 |
-+++ b/fastboot/socket.cpp 2018-01-29 12:17:23.666820925 -0800 |
385 |
-@@ -28,6 +28,8 @@ |
386 |
- |
387 |
- #include "socket.h" |
388 |
- |
389 |
-+#include <sys/select.h> |
390 |
-+ |
391 |
- #include <android-base/errors.h> |
392 |
- #include <android-base/stringprintf.h> |
393 |
- |
394 |
|
395 |
diff --git a/dev-util/android-tools/files/android-tools-deffilemode.patch b/dev-util/android-tools/files/android-tools-deffilemode.patch |
396 |
deleted file mode 100644 |
397 |
index 12aa988..0000000 |
398 |
--- a/dev-util/android-tools/files/android-tools-deffilemode.patch |
399 |
+++ /dev/null |
400 |
@@ -1,14 +0,0 @@ |
401 |
-diff -Naur android-tools.orig/core/include/utils/Compat.h android-tools/core/include/utils/Compat.h |
402 |
---- android-tools.orig/core/include/utils/Compat.h 2017-04-24 11:27:39.697736014 -0700 |
403 |
-+++ android-tools/core/include/utils/Compat.h 2017-04-24 11:45:24.930908371 -0700 |
404 |
-@@ -41,6 +41,10 @@ |
405 |
- #define DEFFILEMODE 0666 |
406 |
- #endif /* _WIN32 */ |
407 |
- |
408 |
-+#if defined(__linux__) && !defined(__GLIBC__) |
409 |
-+#define DEFFILEMODE 0666 |
410 |
-+#endif |
411 |
-+ |
412 |
- #if defined(_WIN32) |
413 |
- #define ZD "%ld" |
414 |
- #define ZD_TYPE long |
415 |
|
416 |
diff --git a/dev-util/android-tools/metadata.xml b/dev-util/android-tools/metadata.xml |
417 |
deleted file mode 100644 |
418 |
index 27a6743..0000000 |
419 |
--- a/dev-util/android-tools/metadata.xml |
420 |
+++ /dev/null |
421 |
@@ -1,15 +0,0 @@ |
422 |
-<?xml version="1.0" encoding="UTF-8"?> |
423 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
424 |
-<pkgmetadata> |
425 |
- <upstream> |
426 |
- <bugs-to>https://code.google.com/p/android/issues/list</bugs-to> |
427 |
- <changelog>https://android.googlesource.com/platform/system/core.git/+log/HEAD</changelog> |
428 |
- <doc>https://android.googlesource.com/platform/system/core.git/+/master/adb/OVERVIEW.TXT</doc> |
429 |
- <remote-id type="github">android/platform_system_core</remote-id> |
430 |
- <remote-id type="launchpad">ubuntu</remote-id> |
431 |
- </upstream> |
432 |
- <maintainer type="person"> |
433 |
- <email>zmedico@g.o</email> |
434 |
- <name>Zac Medico</name> |
435 |
- </maintainer> |
436 |
-</pkgmetadata> |
437 |
|
438 |
diff --git a/dev-util/systemtap/Manifest b/dev-util/systemtap/Manifest |
439 |
deleted file mode 100644 |
440 |
index d3d3aef..0000000 |
441 |
--- a/dev-util/systemtap/Manifest |
442 |
+++ /dev/null |
443 |
@@ -1 +0,0 @@ |
444 |
-DIST systemtap-2.9.tar.gz 3258026 SHA256 04f2c607512f4867f345a3d173940e1023441c5d3560f2e580b4a82dfe4d6353 SHA512 00d24ad52d5634b540241a9fc64efbab7fa1d34d31a0254b43474101d3024f050ab7ec284aba0c082889066e1b4cf4c38799801910bff7516ca2e380684089dc WHIRLPOOL fa8d3978f0768091c5cc3bd1cd4b13b6ff9643e2e37ee8e8b59c1801fd7ddcad7029d06e4a1207dc5add5faf423de9ccdb9df677b7db88a5199b1fde731fcb3a |
445 |
|
446 |
diff --git a/dev-util/systemtap/files/systemtap-2.9-musl.patch b/dev-util/systemtap/files/systemtap-2.9-musl.patch |
447 |
deleted file mode 100644 |
448 |
index c90804f..0000000 |
449 |
--- a/dev-util/systemtap/files/systemtap-2.9-musl.patch |
450 |
+++ /dev/null |
451 |
@@ -1,182 +0,0 @@ |
452 |
-diff -Naur systemtap-2.9.orig/buildrun.cxx systemtap-2.9/buildrun.cxx |
453 |
---- systemtap-2.9.orig/buildrun.cxx 2017-02-24 10:47:12.478787249 -0800 |
454 |
-+++ systemtap-2.9/buildrun.cxx 2017-02-24 10:47:56.414162998 -0800 |
455 |
-@@ -788,13 +788,14 @@ |
456 |
- if (s.need_uprobes && !kernel_built_uprobes(s)) |
457 |
- { |
458 |
- string opt_u = "-u"; |
459 |
-+ char *p = strchr(s.uprobes_path.c_str(), '/'); |
460 |
- if (!s.uprobes_path.empty() && |
461 |
- strverscmp("1.4", version.c_str()) <= 0) |
462 |
- { |
463 |
- if (remotedir.empty()) |
464 |
- opt_u.append(s.uprobes_path); |
465 |
- else |
466 |
-- opt_u.append(remotedir + "/" + basename(s.uprobes_path.c_str())); |
467 |
-+ opt_u.append(remotedir + "/" + (p ? p + 1 : s.uprobes_path.c_str())); |
468 |
- } |
469 |
- staprun_cmd.push_back(opt_u); |
470 |
- } |
471 |
-diff -Naur systemtap-2.9.orig/configure.ac systemtap-2.9/configure.ac |
472 |
---- systemtap-2.9.orig/configure.ac 2017-02-24 10:47:12.480787266 -0800 |
473 |
-+++ systemtap-2.9/configure.ac 2017-02-24 10:48:24.679405813 -0800 |
474 |
-@@ -443,6 +443,50 @@ |
475 |
- fi |
476 |
- fi |
477 |
- |
478 |
-+dnl Check if we have argp available from our libc |
479 |
-+AC_LINK_IFELSE( |
480 |
-+ [AC_LANG_PROGRAM( |
481 |
-+ [#include <argp.h>], |
482 |
-+ [int argc=1; char *argv[]={"test"}, argp_parse(0,argc,argv,0,0,0); return 0;] |
483 |
-+ )], |
484 |
-+ [libc_has_argp="true"], |
485 |
-+ [libc_has_argp="false"] |
486 |
-+) |
487 |
-+ |
488 |
-+dnl If our libc doesn't provide argp, then test for libargp |
489 |
-+if test "$libc_has_argp" = "false" ; then |
490 |
-+ AC_MSG_WARN("libc does not have argp") |
491 |
-+ AC_CHECK_LIB([argp], [argp_parse], [have_obstack="true"], [have_obstack="false"]) |
492 |
-+ |
493 |
-+ if test "$have_argp" = "false"; then |
494 |
-+ AC_MSG_ERROR("no libargp found") |
495 |
-+ else |
496 |
-+ stap_LIBS="$stap_LIBS -largp" |
497 |
-+ fi |
498 |
-+fi |
499 |
-+ |
500 |
-+dnl Check if we have obstack available from our libc |
501 |
-+AC_LINK_IFELSE( |
502 |
-+ [AC_LANG_PROGRAM( |
503 |
-+ [#include <obstack.h>], |
504 |
-+ [_obstack_begin(0, 0, 0, 0, 0); return 0;] |
505 |
-+ )], |
506 |
-+ [libc_has_obstack="true", AC_DEFINE(HAVE_OBSTACK, 1)], |
507 |
-+ [libc_has_obstack="false"] |
508 |
-+) |
509 |
-+ |
510 |
-+dnl If our libc doesn't provide obstack, then test for libobstack |
511 |
-+if test "$libc_has_obstack" = "false" ; then |
512 |
-+ AC_MSG_WARN("libc does not have obstack") |
513 |
-+ AC_CHECK_LIB([obstack], [_obstack_begin], [have_obstack="true"], [have_obstack="false"]) |
514 |
-+ |
515 |
-+ if test "$have_obstack" = "false"; then |
516 |
-+ AC_MSG_ERROR("no libobstack found") |
517 |
-+ else |
518 |
-+ stap_LIBS="$stap_LIBS -lobstack" |
519 |
-+ fi |
520 |
-+fi |
521 |
-+ |
522 |
- AC_SUBST(stap_LIBS) |
523 |
- AC_MSG_NOTICE([stap will link $stap_LIBS]) |
524 |
- |
525 |
-diff -Naur systemtap-2.9.orig/csclient.cxx systemtap-2.9/csclient.cxx |
526 |
---- systemtap-2.9.orig/csclient.cxx 2017-02-24 10:47:12.481787274 -0800 |
527 |
-+++ systemtap-2.9/csclient.cxx 2017-02-24 10:48:59.261702894 -0800 |
528 |
-@@ -75,6 +75,10 @@ |
529 |
- |
530 |
- #define MOK_PUBLIC_CERT_NAME "signing_key.x509" |
531 |
- |
532 |
-+#ifndef NI_IDN |
533 |
-+#define NI_IDN 32 |
534 |
-+#endif |
535 |
-+ |
536 |
- static PRIPv6Addr ©Address (PRIPv6Addr &PRin6, const in6_addr &in6); |
537 |
- static PRNetAddr ©NetAddr (PRNetAddr &x, const PRNetAddr &y); |
538 |
- bool operator!= (const PRNetAddr &x, const PRNetAddr &y); |
539 |
-@@ -1038,7 +1042,7 @@ |
540 |
- |
541 |
- // Canonicalize the given path and remove the leading /. |
542 |
- string rpath; |
543 |
-- char *cpath = canonicalize_file_name (path.c_str ()); |
544 |
-+ char *cpath = realpath (path.c_str (), NULL); |
545 |
- if (! cpath) |
546 |
- { |
547 |
- // It can not be canonicalized. Use the name relative to |
548 |
-diff -Naur systemtap-2.9.orig/error.h systemtap-2.9/error.h |
549 |
---- systemtap-2.9.orig/error.h 1969-12-31 16:00:00.000000000 -0800 |
550 |
-+++ systemtap-2.9/error.h 2017-02-24 10:49:03.823742085 -0800 |
551 |
-@@ -0,0 +1,27 @@ |
552 |
-+#ifndef _ERROR_H_ |
553 |
-+#define _ERROR_H_ |
554 |
-+ |
555 |
-+#include <stdarg.h> |
556 |
-+#include <stdio.h> |
557 |
-+#include <stdlib.h> |
558 |
-+#include <string.h> |
559 |
-+#include <errno.h> |
560 |
-+ |
561 |
-+static unsigned int error_message_count = 0; |
562 |
-+ |
563 |
-+static inline void error(int status, int errnum, const char* format, ...) |
564 |
-+{ |
565 |
-+ va_list ap; |
566 |
-+ fprintf(stderr, "%s: ", program_invocation_name); |
567 |
-+ va_start(ap, format); |
568 |
-+ vfprintf(stderr, format, ap); |
569 |
-+ va_end(ap); |
570 |
-+ if (errnum) |
571 |
-+ fprintf(stderr, ": %s", strerror(errnum)); |
572 |
-+ fprintf(stderr, "\n"); |
573 |
-+ error_message_count++; |
574 |
-+ if (status) |
575 |
-+ exit(status); |
576 |
-+} |
577 |
-+ |
578 |
-+#endif /* _ERROR_H_ */ |
579 |
-diff -Naur systemtap-2.9.orig/remote.cxx systemtap-2.9/remote.cxx |
580 |
---- systemtap-2.9.orig/remote.cxx 2017-02-24 10:47:12.532787709 -0800 |
581 |
-+++ systemtap-2.9/remote.cxx 2017-02-24 10:49:25.245926113 -0800 |
582 |
-@@ -459,7 +459,8 @@ |
583 |
- |
584 |
- if (!s->uprobes_path.empty()) |
585 |
- { |
586 |
-- string remoteuprobes = basename(s->uprobes_path.c_str()); |
587 |
-+ char *p = strchr(s->uprobes_path.c_str(), '/'); |
588 |
-+ string remoteuprobes = p ? p + 1 : s->uprobes_path.c_str(); |
589 |
- if ((rc = send_file(s->uprobes_path, remoteuprobes))) |
590 |
- return rc; |
591 |
- |
592 |
-diff -Naur systemtap-2.9.orig/sdt_types.h systemtap-2.9/sdt_types.h |
593 |
---- systemtap-2.9.orig/sdt_types.h 2017-02-24 10:47:12.572788050 -0800 |
594 |
-+++ systemtap-2.9/sdt_types.h 2017-02-24 10:49:42.865077472 -0800 |
595 |
-@@ -10,6 +10,13 @@ |
596 |
- #define UPROBE2_TYPE 0x32425055 /* "UPB2" */ |
597 |
- #define UPROBE3_TYPE 0x33425055 /* "UPB3" */ |
598 |
- |
599 |
-+#ifndef __uint32_t |
600 |
-+#define __uint32_t uint32_t |
601 |
-+#endif |
602 |
-+#ifndef __uint64_t |
603 |
-+#define __uint64_t uint64_t |
604 |
-+#endif |
605 |
-+ |
606 |
- typedef enum |
607 |
- { |
608 |
- uprobe1_type = UPROBE1_TYPE, |
609 |
-diff -Naur systemtap-2.9.orig/session.cxx systemtap-2.9/session.cxx |
610 |
---- systemtap-2.9.orig/session.cxx 2017-02-24 10:47:12.572788050 -0800 |
611 |
-+++ systemtap-2.9/session.cxx 2017-02-24 10:49:56.716196203 -0800 |
612 |
-@@ -1329,7 +1329,7 @@ |
613 |
- cerr << "ERROR: multiple --sysroot options not supported" << endl; |
614 |
- return 1; |
615 |
- } else { |
616 |
-- char *spath = canonicalize_file_name (optarg); |
617 |
-+ char *spath = realpath (optarg, NULL); |
618 |
- if (spath == NULL) { |
619 |
- cerr << _F("ERROR: %s is an invalid directory for --sysroot", optarg) << endl; |
620 |
- return 1; |
621 |
-diff -Naur systemtap-2.9.orig/staprun/staprun.h systemtap-2.9/staprun/staprun.h |
622 |
---- systemtap-2.9.orig/staprun/staprun.h 2017-02-24 10:47:12.581788127 -0800 |
623 |
-+++ systemtap-2.9/staprun/staprun.h 2017-02-24 10:50:18.951386526 -0800 |
624 |
-@@ -47,6 +47,9 @@ |
625 |
- #include <locale.h> |
626 |
- #endif |
627 |
- |
628 |
-+#ifndef __off_t |
629 |
-+#define __off_t off_t |
630 |
-+#endif |
631 |
- |
632 |
- /* define gettext options if NLS is set */ |
633 |
- #if ENABLE_NLS |
634 |
|
635 |
diff --git a/dev-util/systemtap/metadata.xml b/dev-util/systemtap/metadata.xml |
636 |
deleted file mode 100644 |
637 |
index 208c069..0000000 |
638 |
--- a/dev-util/systemtap/metadata.xml |
639 |
+++ /dev/null |
640 |
@@ -1,7 +0,0 @@ |
641 |
-<?xml version="1.0" encoding="UTF-8"?> |
642 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
643 |
-<pkgmetadata> |
644 |
-<maintainer type="person"> |
645 |
- <email>swegener@g.o</email> |
646 |
-</maintainer> |
647 |
-</pkgmetadata> |
648 |
|
649 |
diff --git a/dev-util/systemtap/systemtap-2.9.ebuild b/dev-util/systemtap/systemtap-2.9.ebuild |
650 |
deleted file mode 100644 |
651 |
index 4f60328..0000000 |
652 |
--- a/dev-util/systemtap/systemtap-2.9.ebuild |
653 |
+++ /dev/null |
654 |
@@ -1,79 +0,0 @@ |
655 |
-# Copyright 1999-2017 Gentoo Foundation |
656 |
-# Distributed under the terms of the GNU General Public License v2 |
657 |
- |
658 |
-EAPI=5 |
659 |
- |
660 |
-PYTHON_COMPAT=( python2_7 ) |
661 |
- |
662 |
-inherit linux-info autotools eutils python-single-r1 |
663 |
- |
664 |
-DESCRIPTION="A linux trace/probe tool" |
665 |
-HOMEPAGE="https://www.sourceware.org/systemtap/" |
666 |
-SRC_URI="https://www.sourceware.org/${PN}/ftp/releases/${P}.tar.gz" |
667 |
- |
668 |
-LICENSE="GPL-2" |
669 |
-SLOT="0" |
670 |
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86" |
671 |
-IUSE="sqlite" |
672 |
- |
673 |
-RDEPEND=">=dev-libs/elfutils-0.142 |
674 |
- elibc_musl? ( |
675 |
- sys-libs/argp-standalone |
676 |
- sys-libs/obstack-standalone |
677 |
- ) |
678 |
- sys-libs/libcap |
679 |
- ${PYTHON_DEPS} |
680 |
- sqlite? ( dev-db/sqlite:3 )" |
681 |
-DEPEND="${RDEPEND} |
682 |
- >=sys-devel/gettext-0.18.2" |
683 |
- |
684 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
685 |
- |
686 |
-CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS" |
687 |
-ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'." |
688 |
-ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'." |
689 |
-ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'." |
690 |
- |
691 |
-DOCS="AUTHORS HACKING NEWS README" |
692 |
- |
693 |
-pkg_setup() { |
694 |
- linux-info_pkg_setup |
695 |
- python-single-r1_pkg_setup |
696 |
-} |
697 |
- |
698 |
-src_prepare() { |
699 |
- python_fix_shebang . |
700 |
- |
701 |
- sed -i \ |
702 |
- -e 's:-Werror::g' \ |
703 |
- configure.ac \ |
704 |
- Makefile.am \ |
705 |
- staprun/Makefile.am \ |
706 |
- stapdyn/Makefile.am \ |
707 |
- buildrun.cxx \ |
708 |
- testsuite/systemtap.unprivileged/unprivileged_probes.exp \ |
709 |
- testsuite/systemtap.unprivileged/unprivileged_myproc.exp \ |
710 |
- testsuite/systemtap.base/stmt_rel_user.exp \ |
711 |
- testsuite/systemtap.base/sdt_va_args.exp \ |
712 |
- testsuite/systemtap.base/sdt_misc.exp \ |
713 |
- testsuite/systemtap.base/sdt.exp \ |
714 |
- scripts/kprobes_test/gen_code.py \ |
715 |
- || die "Failed to clean up sources" |
716 |
- |
717 |
- epatch "${FILESDIR}"/${P}-musl.patch |
718 |
- |
719 |
- epatch_user |
720 |
- |
721 |
- eautoreconf |
722 |
-} |
723 |
- |
724 |
-src_configure() { |
725 |
- econf \ |
726 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
727 |
- --without-rpm \ |
728 |
- --disable-server \ |
729 |
- --disable-docs \ |
730 |
- --disable-refdocs \ |
731 |
- --disable-grapher \ |
732 |
- $(use_enable sqlite) |
733 |
-} |
734 |
|
735 |
diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest |
736 |
deleted file mode 100644 |
737 |
index a06dce4..0000000 |
738 |
--- a/sys-devel/gdb/Manifest |
739 |
+++ /dev/null |
740 |
@@ -1,2 +0,0 @@ |
741 |
-DIST gdb-8.1-patches-1.tar.xz 8768 BLAKE2B 792ceddcb8eafd028db23d69ad5d9eb00223722520c6ff0a23a24fee1a33dceb02f05e61a1d6c3700835c480b38d66f43f71ef3c4af406d4ae1147eaaf8f311e SHA512 87a5c9d9207817245e1ffd07fdad2cb566de4fc11725aa0e49e58268c3ab1ae3b4b9f4b9faa55acc8cb4c3c7cb5a3875ea7da02abeb8f775953a8aed2e2c6403 |
742 |
-DIST gdb-8.1.tar.xz 20095080 BLAKE2B 9332058b8b723261ba215124f42a2d6ba916219efdfb3c23ae1f48fecf131c801bbd31b345f2c8339b23d74da690be0260ac31f8f2e79549b62f0880199bfdec SHA512 ffd82f415d7652d62dad1716c307836f594217a363429609beb7d70239e8bf06b73b393345b0e000796228e56681ed7656ac3c8be05e91d6d652ab0d5b1dc357 |
743 |
|
744 |
diff --git a/sys-devel/gdb/files/gdb-7.11-linux_nat.patch b/sys-devel/gdb/files/gdb-7.11-linux_nat.patch |
745 |
deleted file mode 100644 |
746 |
index b10b7f2..0000000 |
747 |
--- a/sys-devel/gdb/files/gdb-7.11-linux_nat.patch |
748 |
+++ /dev/null |
749 |
@@ -1,23 +0,0 @@ |
750 |
-diff -Naurw gdb-7.11.orig/gdb/linux-nat.c gdb-7.11/gdb/linux-nat.c |
751 |
---- gdb-7.11.orig/gdb/linux-nat.c 2016-02-09 19:19:39.000000000 -0800 |
752 |
-+++ gdb-7.11/gdb/linux-nat.c 2016-02-24 15:34:29.115801748 -0800 |
753 |
-@@ -186,6 +186,10 @@ |
754 |
- #define O_LARGEFILE 0 |
755 |
- #endif |
756 |
- |
757 |
-+#ifndef W_STOPCODE |
758 |
-+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) |
759 |
-+#endif |
760 |
-+ |
761 |
- /* Does the current host support PTRACE_GETREGSET? */ |
762 |
- enum tribool have_ptrace_getregset = TRIBOOL_UNKNOWN; |
763 |
- |
764 |
-@@ -4850,6 +4854,6 @@ |
765 |
- /* NPTL reserves the first two RT signals, but does not provide any |
766 |
- way for the debugger to query the signal numbers - fortunately |
767 |
- they don't change. */ |
768 |
-- sigaddset (set, __SIGRTMIN); |
769 |
-- sigaddset (set, __SIGRTMIN + 1); |
770 |
-+ sigaddset (set, SIGRTMIN); |
771 |
-+ sigaddset (set, SIGRTMIN + 1); |
772 |
- } |
773 |
|
774 |
diff --git a/sys-devel/gdb/files/gdb-7.11-missing-stat_h.patch b/sys-devel/gdb/files/gdb-7.11-missing-stat_h.patch |
775 |
deleted file mode 100644 |
776 |
index a2598da..0000000 |
777 |
--- a/sys-devel/gdb/files/gdb-7.11-missing-stat_h.patch |
778 |
+++ /dev/null |
779 |
@@ -1,11 +0,0 @@ |
780 |
-diff -Naur gdb-7.11.orig/gdb/gdbserver/target.h gdb-7.11/gdb/gdbserver/target.h |
781 |
---- gdb-7.11.orig/gdb/gdbserver/target.h 2016-02-09 19:19:39.000000000 -0800 |
782 |
-+++ gdb-7.11/gdb/gdbserver/target.h 2016-02-24 15:40:02.961881411 -0800 |
783 |
-@@ -21,6 +21,7 @@ |
784 |
- #ifndef TARGET_H |
785 |
- #define TARGET_H |
786 |
- |
787 |
-+#include <sys/stat.h> |
788 |
- #include <sys/types.h> /* for mode_t */ |
789 |
- #include "target/target.h" |
790 |
- #include "target/resume.h" |
791 |
|
792 |
diff --git a/sys-devel/gdb/gdb-8.1-r1.ebuild b/sys-devel/gdb/gdb-8.1-r1.ebuild |
793 |
deleted file mode 100644 |
794 |
index 955f0d1..0000000 |
795 |
--- a/sys-devel/gdb/gdb-8.1-r1.ebuild |
796 |
+++ /dev/null |
797 |
@@ -1,263 +0,0 @@ |
798 |
-# Copyright 1999-2018 Gentoo Foundation |
799 |
-# Distributed under the terms of the GNU General Public License v2 |
800 |
- |
801 |
-EAPI=6 |
802 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
803 |
- |
804 |
-inherit eutils flag-o-matic python-single-r1 |
805 |
- |
806 |
-export CTARGET=${CTARGET:-${CHOST}} |
807 |
-if [[ ${CTARGET} == ${CHOST} ]] ; then |
808 |
- if [[ ${CATEGORY} == cross-* ]] ; then |
809 |
- export CTARGET=${CATEGORY#cross-} |
810 |
- fi |
811 |
-fi |
812 |
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } |
813 |
- |
814 |
-RPM= |
815 |
-MY_PV=${PV} |
816 |
-case ${PV} in |
817 |
-9999*) |
818 |
- # live git tree |
819 |
- EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" |
820 |
- inherit git-r3 |
821 |
- SRC_URI="" |
822 |
- ;; |
823 |
-*.*.50.2???????) |
824 |
- # weekly snapshots |
825 |
- SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" |
826 |
- ;; |
827 |
-*.*.*.*.*.*) |
828 |
- # fedora versions; note we swap the rpm & fedora core versions. |
829 |
- # gdb-6.8.50.20090302-8.fc11.src.rpm -> gdb-6.8.50.20090302.11.8.ebuild |
830 |
- # gdb-7.9-11.fc23.src.rpm -> gdb-7.9.23.11.ebuild |
831 |
- inherit versionator rpm |
832 |
- gvcr() { get_version_component_range "$@"; } |
833 |
- parse_fedora_ver() { |
834 |
- set -- $(get_version_components) |
835 |
- MY_PV=$(gvcr 1-$(( $# - 2 ))) |
836 |
- RPM="${PN}-${MY_PV}-$(gvcr $#).fc$(gvcr $(( $# - 1 ))).src.rpm" |
837 |
- } |
838 |
- parse_fedora_ver |
839 |
- SRC_URI="mirror://fedora-dev/development/rawhide/source/SRPMS/g/${RPM}" |
840 |
- ;; |
841 |
-*) |
842 |
- # Normal upstream release |
843 |
- SRC_URI="mirror://gnu/gdb/${P}.tar.xz |
844 |
- ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" |
845 |
- ;; |
846 |
-esac |
847 |
- |
848 |
-PATCH_VER="1" |
849 |
-PATCH_DEV="slyfox" |
850 |
-DESCRIPTION="GNU debugger" |
851 |
-HOMEPAGE="https://sourceware.org/gdb/" |
852 |
-SRC_URI="${SRC_URI} |
853 |
- ${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${PN}-8.1-patches-${PATCH_VER}.tar.xz} |
854 |
- ${PATCH_VER:+mirror://gentoo/${PN}-8.1-patches-${PATCH_VER}.tar.xz} |
855 |
-" |
856 |
- |
857 |
-LICENSE="GPL-2 LGPL-2" |
858 |
-SLOT="0" |
859 |
-if [[ ${PV} != 9999* ]] ; then |
860 |
- KEYWORDS="amd64 ~arm ~arm64 arm64 ~mips ppc x86" |
861 |
-fi |
862 |
-IUSE="+client lzma multitarget nls +python +server test vanilla xml" |
863 |
-RESTRICT="!test? ( test )" |
864 |
-REQUIRED_USE=" |
865 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
866 |
- || ( client server ) |
867 |
-" |
868 |
- |
869 |
-RDEPEND=" |
870 |
- dev-libs/mpfr:= |
871 |
- server? ( !dev-util/gdbserver ) |
872 |
- client? ( |
873 |
- >=sys-libs/ncurses-5.2-r2:0= |
874 |
- sys-libs/readline:0= |
875 |
- lzma? ( app-arch/xz-utils ) |
876 |
- python? ( ${PYTHON_DEPS} ) |
877 |
- xml? ( dev-libs/expat ) |
878 |
- sys-libs/zlib |
879 |
- )" |
880 |
-DEPEND="${RDEPEND} |
881 |
- app-arch/xz-utils |
882 |
- sys-apps/texinfo |
883 |
- client? ( |
884 |
- virtual/yacc |
885 |
- test? ( dev-util/dejagnu ) |
886 |
- nls? ( sys-devel/gettext ) |
887 |
- )" |
888 |
- |
889 |
-PATCHES=( |
890 |
- "${FILESDIR}"/${PN}-7.11-linux_nat.patch |
891 |
- "${FILESDIR}"/${PN}-7.11-missing-stat_h.patch |
892 |
-) |
893 |
- |
894 |
-S=${WORKDIR}/${PN}-${MY_PV} |
895 |
- |
896 |
-pkg_setup() { |
897 |
- use python && python-single-r1_pkg_setup |
898 |
-} |
899 |
- |
900 |
-src_prepare() { |
901 |
- [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec |
902 |
- ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch |
903 |
- |
904 |
- default |
905 |
- |
906 |
- strip-linguas -u bfd/po opcodes/po |
907 |
-} |
908 |
- |
909 |
-gdb_branding() { |
910 |
- printf "Gentoo ${PV} " |
911 |
- if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then |
912 |
- printf "p${PATCH_VER}" |
913 |
- else |
914 |
- printf "vanilla" |
915 |
- fi |
916 |
- [[ -n ${EGIT_COMMIT} ]] && printf " ${EGIT_COMMIT}" |
917 |
-} |
918 |
- |
919 |
-src_configure() { |
920 |
- strip-unsupported-flags |
921 |
- |
922 |
- local myconf=( |
923 |
- --with-pkgversion="$(gdb_branding)" |
924 |
- --with-bugurl='https://bugs.gentoo.org/' |
925 |
- --with-mpfr |
926 |
- --disable-werror |
927 |
- # Disable modules that are in a combined binutils/gdb tree. #490566 |
928 |
- --disable-{binutils,etc,gas,gold,gprof,ld} |
929 |
- ) |
930 |
- local sysroot="${EPREFIX}/usr/${CTARGET}" |
931 |
- is_cross && myconf+=( |
932 |
- --with-sysroot="${sysroot}" |
933 |
- --includedir="${sysroot}/usr/include" |
934 |
- --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" |
935 |
- ) |
936 |
- |
937 |
- if use server && ! use client ; then |
938 |
- # just configure+build in the gdbserver subdir to speed things up |
939 |
- cd gdb/gdbserver |
940 |
- myconf+=( --program-transform-name='' ) |
941 |
- else |
942 |
- # gdbserver only works for native targets (CHOST==CTARGET). |
943 |
- # it also doesn't support all targets, so rather than duplicate |
944 |
- # the target list (which changes between versions), use the |
945 |
- # "auto" value when things are turned on. |
946 |
- is_cross \ |
947 |
- && myconf+=( --disable-gdbserver ) \ |
948 |
- || myconf+=( $(use_enable server gdbserver auto) ) |
949 |
- fi |
950 |
- |
951 |
- if ! ( use server && ! use client ) ; then |
952 |
- # if we are configuring in the top level, then use all |
953 |
- # the additional global options |
954 |
- myconf+=( |
955 |
- --enable-64-bit-bfd |
956 |
- --disable-install-libbfd |
957 |
- --disable-install-libiberty |
958 |
- # Disable guile for now as it requires guile-2.x #562902 |
959 |
- --without-guile |
960 |
- # This only disables building in the readline subdir. |
961 |
- # For gdb itself, it'll use the system version. |
962 |
- --disable-readline |
963 |
- --with-system-readline |
964 |
- # This only disables building in the zlib subdir. |
965 |
- # For gdb itself, it'll use the system version. |
966 |
- --without-zlib |
967 |
- --with-system-zlib |
968 |
- --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug |
969 |
- $(use_with xml expat) |
970 |
- $(use_with lzma) |
971 |
- $(use_enable nls) |
972 |
- $(use multitarget && echo --enable-targets=all) |
973 |
- $(use_with python python "${EPYTHON}") |
974 |
- ) |
975 |
- fi |
976 |
- if use sparc-solaris || use x86-solaris ; then |
977 |
- # disable largefile support |
978 |
- # https://sourceware.org/ml/gdb-patches/2014-12/msg00058.html |
979 |
- myconf+=( --disable-largefile ) |
980 |
- fi |
981 |
- |
982 |
- econf "${myconf[@]}" |
983 |
-} |
984 |
- |
985 |
-src_test() { |
986 |
- nonfatal emake check || ewarn "tests failed" |
987 |
-} |
988 |
- |
989 |
-src_install() { |
990 |
- if use server && ! use client; then |
991 |
- cd gdb/gdbserver || die |
992 |
- fi |
993 |
- default |
994 |
- if use client; then |
995 |
- find "${ED}"/usr -name libiberty.a -delete || die |
996 |
- fi |
997 |
- cd "${S}" || die |
998 |
- |
999 |
- # Delete translations that conflict with binutils-libs. #528088 |
1000 |
- # Note: Should figure out how to store these in an internal gdb dir. |
1001 |
- if use nls ; then |
1002 |
- find "${ED}" \ |
1003 |
- -regextype posix-extended -regex '.*/(bfd|opcodes)[.]g?mo$' \ |
1004 |
- -delete || die |
1005 |
- fi |
1006 |
- |
1007 |
- # Don't install docs when building a cross-gdb |
1008 |
- if [[ ${CTARGET} != ${CHOST} ]] ; then |
1009 |
- rm -rf "${ED}"/usr/share/{doc,info,locale} || die |
1010 |
- local f |
1011 |
- for f in "${ED}"/usr/share/man/*/* ; do |
1012 |
- if [[ ${f##*/} != ${CTARGET}-* ]] ; then |
1013 |
- mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die |
1014 |
- fi |
1015 |
- done |
1016 |
- return 0 |
1017 |
- fi |
1018 |
- # Install it by hand for now: |
1019 |
- # https://sourceware.org/ml/gdb-patches/2011-12/msg00915.html |
1020 |
- # Only install if it exists due to the twisted behavior (see |
1021 |
- # notes in src_configure above). |
1022 |
- [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay |
1023 |
- |
1024 |
- if use client ; then |
1025 |
- docinto gdb |
1026 |
- dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ |
1027 |
- gdb/NEWS gdb/ChangeLog gdb/PROBLEMS |
1028 |
- fi |
1029 |
- docinto sim |
1030 |
- dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} |
1031 |
- if use server ; then |
1032 |
- docinto gdbserver |
1033 |
- dodoc gdb/gdbserver/{ChangeLog,README} |
1034 |
- fi |
1035 |
- |
1036 |
- if [[ -n ${PATCH_VER} ]] ; then |
1037 |
- dodoc "${WORKDIR}"/extra/gdbinit.sample |
1038 |
- fi |
1039 |
- |
1040 |
- # Remove shared info pages |
1041 |
- rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* |
1042 |
- |
1043 |
- # gcore is part of ubin on freebsd |
1044 |
- if [[ ${CHOST} == *-freebsd* ]]; then |
1045 |
- rm "${ED}"/usr/bin/gcore || die |
1046 |
- fi |
1047 |
-} |
1048 |
- |
1049 |
-pkg_postinst() { |
1050 |
- # portage sucks and doesnt unmerge files in /etc |
1051 |
- rm -vf "${EROOT}"/etc/skel/.gdbinit |
1052 |
- |
1053 |
- if use prefix && [[ ${CHOST} == *-darwin* ]] ; then |
1054 |
- ewarn "gdb is unable to get a mach task port when installed by Prefix" |
1055 |
- ewarn "Portage, unprivileged. To make gdb fully functional you'll" |
1056 |
- ewarn "have to perform the following steps:" |
1057 |
- ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" |
1058 |
- ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" |
1059 |
- fi |
1060 |
-} |
1061 |
|
1062 |
diff --git a/sys-devel/gdb/gdb-8.1-r2.ebuild b/sys-devel/gdb/gdb-8.1-r2.ebuild |
1063 |
deleted file mode 100644 |
1064 |
index d770582..0000000 |
1065 |
--- a/sys-devel/gdb/gdb-8.1-r2.ebuild |
1066 |
+++ /dev/null |
1067 |
@@ -1,262 +0,0 @@ |
1068 |
-# Copyright 1999-2018 Gentoo Foundation |
1069 |
-# Distributed under the terms of the GNU General Public License v2 |
1070 |
- |
1071 |
-EAPI=6 |
1072 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
1073 |
- |
1074 |
-inherit eutils flag-o-matic python-single-r1 |
1075 |
- |
1076 |
-export CTARGET=${CTARGET:-${CHOST}} |
1077 |
-if [[ ${CTARGET} == ${CHOST} ]] ; then |
1078 |
- if [[ ${CATEGORY} == cross-* ]] ; then |
1079 |
- export CTARGET=${CATEGORY#cross-} |
1080 |
- fi |
1081 |
-fi |
1082 |
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } |
1083 |
- |
1084 |
-RPM= |
1085 |
-MY_PV=${PV} |
1086 |
-case ${PV} in |
1087 |
-9999*) |
1088 |
- # live git tree |
1089 |
- EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" |
1090 |
- inherit git-r3 |
1091 |
- SRC_URI="" |
1092 |
- ;; |
1093 |
-*.*.50.2???????) |
1094 |
- # weekly snapshots |
1095 |
- SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" |
1096 |
- ;; |
1097 |
-*.*.*.*.*.*) |
1098 |
- # fedora versions; note we swap the rpm & fedora core versions. |
1099 |
- # gdb-6.8.50.20090302-8.fc11.src.rpm -> gdb-6.8.50.20090302.11.8.ebuild |
1100 |
- # gdb-7.9-11.fc23.src.rpm -> gdb-7.9.23.11.ebuild |
1101 |
- inherit versionator rpm |
1102 |
- gvcr() { get_version_component_range "$@"; } |
1103 |
- parse_fedora_ver() { |
1104 |
- set -- $(get_version_components) |
1105 |
- MY_PV=$(gvcr 1-$(( $# - 2 ))) |
1106 |
- RPM="${PN}-${MY_PV}-$(gvcr $#).fc$(gvcr $(( $# - 1 ))).src.rpm" |
1107 |
- } |
1108 |
- parse_fedora_ver |
1109 |
- SRC_URI="mirror://fedora-dev/development/rawhide/source/SRPMS/g/${RPM}" |
1110 |
- ;; |
1111 |
-*) |
1112 |
- # Normal upstream release |
1113 |
- SRC_URI="mirror://gnu/gdb/${P}.tar.xz |
1114 |
- ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" |
1115 |
- ;; |
1116 |
-esac |
1117 |
- |
1118 |
-PATCH_VER="1" |
1119 |
-PATCH_DEV="slyfox" |
1120 |
-DESCRIPTION="GNU debugger" |
1121 |
-HOMEPAGE="https://sourceware.org/gdb/" |
1122 |
-SRC_URI="${SRC_URI} |
1123 |
- ${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${PN}-8.1-patches-${PATCH_VER}.tar.xz} |
1124 |
- ${PATCH_VER:+mirror://gentoo/${PN}-8.1-patches-${PATCH_VER}.tar.xz} |
1125 |
-" |
1126 |
- |
1127 |
-LICENSE="GPL-2 LGPL-2" |
1128 |
-SLOT="0" |
1129 |
-if [[ ${PV} != 9999* ]] ; then |
1130 |
- KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86" |
1131 |
-fi |
1132 |
-IUSE="+client lzma multitarget nls +python +server test vanilla xml" |
1133 |
-RESTRICT="!test? ( test )" |
1134 |
-REQUIRED_USE=" |
1135 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
1136 |
- || ( client server ) |
1137 |
-" |
1138 |
- |
1139 |
-RDEPEND=" |
1140 |
- server? ( !dev-util/gdbserver ) |
1141 |
- client? ( |
1142 |
- dev-libs/mpfr:0= |
1143 |
- >=sys-libs/ncurses-5.2-r2:0= |
1144 |
- sys-libs/readline:0= |
1145 |
- lzma? ( app-arch/xz-utils ) |
1146 |
- python? ( ${PYTHON_DEPS} ) |
1147 |
- xml? ( dev-libs/expat ) |
1148 |
- sys-libs/zlib |
1149 |
- )" |
1150 |
-DEPEND="${RDEPEND} |
1151 |
- app-arch/xz-utils |
1152 |
- sys-apps/texinfo |
1153 |
- client? ( |
1154 |
- virtual/yacc |
1155 |
- test? ( dev-util/dejagnu ) |
1156 |
- nls? ( sys-devel/gettext ) |
1157 |
- )" |
1158 |
- |
1159 |
-PATCHES=( |
1160 |
- "${FILESDIR}"/${PN}-7.11-linux_nat.patch |
1161 |
- "${FILESDIR}"/${PN}-7.11-missing-stat_h.patch |
1162 |
-) |
1163 |
- |
1164 |
-S=${WORKDIR}/${PN}-${MY_PV} |
1165 |
- |
1166 |
-pkg_setup() { |
1167 |
- use python && python-single-r1_pkg_setup |
1168 |
-} |
1169 |
- |
1170 |
-src_prepare() { |
1171 |
- [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec |
1172 |
- ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch |
1173 |
- |
1174 |
- default |
1175 |
- |
1176 |
- strip-linguas -u bfd/po opcodes/po |
1177 |
-} |
1178 |
- |
1179 |
-gdb_branding() { |
1180 |
- printf "Gentoo ${PV} " |
1181 |
- if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then |
1182 |
- printf "p${PATCH_VER}" |
1183 |
- else |
1184 |
- printf "vanilla" |
1185 |
- fi |
1186 |
- [[ -n ${EGIT_COMMIT} ]] && printf " ${EGIT_COMMIT}" |
1187 |
-} |
1188 |
- |
1189 |
-src_configure() { |
1190 |
- strip-unsupported-flags |
1191 |
- |
1192 |
- local myconf=( |
1193 |
- --with-pkgversion="$(gdb_branding)" |
1194 |
- --with-bugurl='https://bugs.gentoo.org/' |
1195 |
- --disable-werror |
1196 |
- # Disable modules that are in a combined binutils/gdb tree. #490566 |
1197 |
- --disable-{binutils,etc,gas,gold,gprof,ld} |
1198 |
- ) |
1199 |
- local sysroot="${EPREFIX}/usr/${CTARGET}" |
1200 |
- is_cross && myconf+=( |
1201 |
- --with-sysroot="${sysroot}" |
1202 |
- --includedir="${sysroot}/usr/include" |
1203 |
- --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" |
1204 |
- ) |
1205 |
- |
1206 |
- if use server && ! use client ; then |
1207 |
- # just configure+build in the gdbserver subdir to speed things up |
1208 |
- cd gdb/gdbserver |
1209 |
- myconf+=( --program-transform-name='' ) |
1210 |
- else |
1211 |
- # gdbserver only works for native targets (CHOST==CTARGET). |
1212 |
- # it also doesn't support all targets, so rather than duplicate |
1213 |
- # the target list (which changes between versions), use the |
1214 |
- # "auto" value when things are turned on. |
1215 |
- is_cross \ |
1216 |
- && myconf+=( --disable-gdbserver ) \ |
1217 |
- || myconf+=( $(use_enable server gdbserver auto) ) |
1218 |
- fi |
1219 |
- |
1220 |
- if ! ( use server && ! use client ) ; then |
1221 |
- # if we are configuring in the top level, then use all |
1222 |
- # the additional global options |
1223 |
- myconf+=( |
1224 |
- --enable-64-bit-bfd |
1225 |
- --disable-install-libbfd |
1226 |
- --disable-install-libiberty |
1227 |
- # Disable guile for now as it requires guile-2.x #562902 |
1228 |
- --without-guile |
1229 |
- # This only disables building in the readline subdir. |
1230 |
- # For gdb itself, it'll use the system version. |
1231 |
- --disable-readline |
1232 |
- --with-system-readline |
1233 |
- # This only disables building in the zlib subdir. |
1234 |
- # For gdb itself, it'll use the system version. |
1235 |
- --without-zlib |
1236 |
- --with-system-zlib |
1237 |
- --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug |
1238 |
- $(use_with xml expat) |
1239 |
- $(use_with lzma) |
1240 |
- $(use_enable nls) |
1241 |
- $(use multitarget && echo --enable-targets=all) |
1242 |
- $(use_with python python "${EPYTHON}") |
1243 |
- ) |
1244 |
- fi |
1245 |
- if use sparc-solaris || use x86-solaris ; then |
1246 |
- # disable largefile support |
1247 |
- # https://sourceware.org/ml/gdb-patches/2014-12/msg00058.html |
1248 |
- myconf+=( --disable-largefile ) |
1249 |
- fi |
1250 |
- |
1251 |
- econf "${myconf[@]}" |
1252 |
-} |
1253 |
- |
1254 |
-src_test() { |
1255 |
- nonfatal emake check || ewarn "tests failed" |
1256 |
-} |
1257 |
- |
1258 |
-src_install() { |
1259 |
- if use server && ! use client; then |
1260 |
- cd gdb/gdbserver || die |
1261 |
- fi |
1262 |
- default |
1263 |
- if use client; then |
1264 |
- find "${ED}"/usr -name libiberty.a -delete || die |
1265 |
- fi |
1266 |
- cd "${S}" || die |
1267 |
- |
1268 |
- # Delete translations that conflict with binutils-libs. #528088 |
1269 |
- # Note: Should figure out how to store these in an internal gdb dir. |
1270 |
- if use nls ; then |
1271 |
- find "${ED}" \ |
1272 |
- -regextype posix-extended -regex '.*/(bfd|opcodes)[.]g?mo$' \ |
1273 |
- -delete || die |
1274 |
- fi |
1275 |
- |
1276 |
- # Don't install docs when building a cross-gdb |
1277 |
- if [[ ${CTARGET} != ${CHOST} ]] ; then |
1278 |
- rm -rf "${ED}"/usr/share/{doc,info,locale} || die |
1279 |
- local f |
1280 |
- for f in "${ED}"/usr/share/man/*/* ; do |
1281 |
- if [[ ${f##*/} != ${CTARGET}-* ]] ; then |
1282 |
- mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die |
1283 |
- fi |
1284 |
- done |
1285 |
- return 0 |
1286 |
- fi |
1287 |
- # Install it by hand for now: |
1288 |
- # https://sourceware.org/ml/gdb-patches/2011-12/msg00915.html |
1289 |
- # Only install if it exists due to the twisted behavior (see |
1290 |
- # notes in src_configure above). |
1291 |
- [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay |
1292 |
- |
1293 |
- if use client ; then |
1294 |
- docinto gdb |
1295 |
- dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ |
1296 |
- gdb/NEWS gdb/ChangeLog gdb/PROBLEMS |
1297 |
- fi |
1298 |
- docinto sim |
1299 |
- dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} |
1300 |
- if use server ; then |
1301 |
- docinto gdbserver |
1302 |
- dodoc gdb/gdbserver/{ChangeLog,README} |
1303 |
- fi |
1304 |
- |
1305 |
- if [[ -n ${PATCH_VER} ]] ; then |
1306 |
- dodoc "${WORKDIR}"/extra/gdbinit.sample |
1307 |
- fi |
1308 |
- |
1309 |
- # Remove shared info pages |
1310 |
- rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* |
1311 |
- |
1312 |
- # gcore is part of ubin on freebsd |
1313 |
- if [[ ${CHOST} == *-freebsd* ]]; then |
1314 |
- rm "${ED}"/usr/bin/gcore || die |
1315 |
- fi |
1316 |
-} |
1317 |
- |
1318 |
-pkg_postinst() { |
1319 |
- # portage sucks and doesnt unmerge files in /etc |
1320 |
- rm -vf "${EROOT}"/etc/skel/.gdbinit |
1321 |
- |
1322 |
- if use prefix && [[ ${CHOST} == *-darwin* ]] ; then |
1323 |
- ewarn "gdb is unable to get a mach task port when installed by Prefix" |
1324 |
- ewarn "Portage, unprivileged. To make gdb fully functional you'll" |
1325 |
- ewarn "have to perform the following steps:" |
1326 |
- ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" |
1327 |
- ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" |
1328 |
- fi |
1329 |
-} |
1330 |
|
1331 |
diff --git a/sys-devel/gdb/metadata.xml b/sys-devel/gdb/metadata.xml |
1332 |
deleted file mode 100644 |
1333 |
index d11b1ea..0000000 |
1334 |
--- a/sys-devel/gdb/metadata.xml |
1335 |
+++ /dev/null |
1336 |
@@ -1,19 +0,0 @@ |
1337 |
-<?xml version="1.0" encoding="UTF-8"?> |
1338 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
1339 |
-<pkgmetadata> |
1340 |
-<maintainer type="project"> |
1341 |
- <email>toolchain@g.o</email> |
1342 |
- <name>Gentoo Toolchain Project</name> |
1343 |
-</maintainer> |
1344 |
-<use> |
1345 |
- <flag name="client">Install the main "gdb" program (most people want this)</flag> |
1346 |
- <flag name="lzma">Support lzma compression in ELF debug info</flag> |
1347 |
- <flag name="multitarget">Support all known targets in one gdb binary</flag> |
1348 |
- <flag name="python">Enable support for the new internal scripting language, as well as extended pretty printers</flag> |
1349 |
- <flag name="server">Install the "gdbserver" program (useful for embedded/remote targets)</flag> |
1350 |
- <flag name="xml">Support parsing XML data files needed (at least) for cpu features, memory maps, and syscall tracing</flag> |
1351 |
-</use> |
1352 |
-<upstream> |
1353 |
- <remote-id type="cpe">cpe:/a:gnu:gdb</remote-id> |
1354 |
-</upstream> |
1355 |
-</pkgmetadata> |
1356 |
|
1357 |
diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest |
1358 |
deleted file mode 100644 |
1359 |
index 5c24f0e..0000000 |
1360 |
--- a/sys-libs/ldb/Manifest |
1361 |
+++ /dev/null |
1362 |
@@ -1,8 +0,0 @@ |
1363 |
-DIST ldb-1.1.29.tar.gz 1277551 BLAKE2B 449333d40073fd63d6d013ba0ae43fc3a0b8201948eabd440d164d182492002c1d92047d652105c2fb6a3e8383d4b75f45e38cc52efc5d9a0e2811113676203a SHA512 d37bbe84358e05d17483e2e963b8477da5ea351b855b454142c94af35f7987bede0f19faeaff17779efe04e3bb37c510437fcc59be99a17c826620fc25fd659c |
1364 |
-DIST ldb-1.1.31.tar.gz 1337586 BLAKE2B 9454f91a621368cfc7cfdb709781653e947d63b275bb3b288049acb43ee3c02ae4f0be820ccf9e3bb32938d12598a91b7a6292b08c638ccfd59bd1be182f09c0 SHA512 49ccd57000cbcc6d828160f4457236b28853d766d641841471f61226156b6103fe563c43c950577b038ea3c0a54506bca94c640d3d5f912a3b8af95eb9ef2824 |
1365 |
-DIST ldb-1.2.4.tar.gz 1346413 BLAKE2B 441cdf679ab4852e1c8d90ca8d9544d7983436c864cb3ea76b63f45177061c2763f9700b4be4be9ba53a4bcc9cec49b509dd39efb8f5f2171bc432641d1329c2 SHA512 093815cfa9e950299c4f09c58362136d72c439692f7d8670ecbf9cac49ecef6fd365f8fab5d39f41a4dd39e07f6c8d1a2616e843653d2fa0d7bdff346a118aa9 |
1366 |
-DIST ldb-1.3.6.tar.gz 1374574 BLAKE2B 654f35eb25aeb373540ead7cb10da66c92970ea6b100631cb14bacf937fec64e09b19ed3e09a976406e3f8d6347c4e17144c0a0bff8795316559be45353edbf7 SHA512 8fcd72598e948c55adaa832d6ebcbc03b979281032cb900af4304c1c68ce9cc94a1e1d4729d0c2a0b83a618cab716749d851160005a0093cf8a178e6dbea298d |
1367 |
-DIST ldb-1.3.8.tar.gz 1375782 BLAKE2B dbca935e762af86b268308253615019b24af6727411e77947ceeadd3e0114c2ad2a14d4a4f1121bf58ccb080d44a8513d2094314b043604d885977a26e622c57 SHA512 06d1b4c2badbf0c27733a64f979c48af8b599747cef7cd7f5417cd55a76447e8f8987bd061694c5af63261fdb35433e3844122c14103d5cc8b4eaab1f4752541 |
1368 |
-DIST ldb-1.4.7.tar.gz 1430560 BLAKE2B b6b9a12b6f17ffee8e9a47673786d1247310655ca87bb0280fb8ce04a69c52435721fe5e8ab1ce18406e28dfeef57fe30b3b3fc42a4951505f8772bf5e7553ce SHA512 e53bdd831d37b87b5adaf17f46b883f177f97541ad957d134dbfc196bc37749074df7c8cafb8e2993c6aae9bc150ae8d88daad56c26de9f62c5259c479da7016 |
1369 |
-DIST ldb-1.5.5.tar.gz 1629070 BLAKE2B 374042c77c9ec7bd88ad1d97757f171ae831a630751fc06bf22190355c1448fa8c2327d308cdbe5b46ca21236738548d2c1041c3dfb428e1dfee8053edf90050 SHA512 562e08b3d6564d08fed80dc43ca299c38fbd958dbe27ed1400e5eb5c3df0f4c7b7eaf502b13eec5544b168f26c5e6537615f65e28dcaeb6473d2ff3c3c7a4e4b |
1370 |
-DIST ldb-2.0.8.tar.gz 1676902 BLAKE2B b86b24a597bd81ae11382311f3b60aeb8aca78ddbe63413b9a8cdbbfa4f52b05a0d2e325d483e260b15aa396c2ad9f2828ac4b6214af86d891281d05b24125b5 SHA512 23a44968c9b4b57deb3f7b7b2466f140b4d8534a07a5e866545dd108c3d305ee4b0ea9bceec3177fcd09a4efcb4876a8283ca58b5c496fcf323b810666e1e79a |
1371 |
|
1372 |
diff --git a/sys-libs/ldb/files/ldb-1.1.27-optional_packages.patch b/sys-libs/ldb/files/ldb-1.1.27-optional_packages.patch |
1373 |
deleted file mode 100644 |
1374 |
index 92e14c6..0000000 |
1375 |
--- a/sys-libs/ldb/files/ldb-1.1.27-optional_packages.patch |
1376 |
+++ /dev/null |
1377 |
@@ -1,92 +0,0 @@ |
1378 |
---- ldb-1.1.27/lib/talloc/wscript |
1379 |
-+++ ldb-1.1.27/lib/talloc/wscript |
1380 |
-@@ -48,7 +48,7 @@ |
1381 |
- if conf.CHECK_BUNDLED_SYSTEM_PKG('talloc', minversion=VERSION, |
1382 |
- implied_deps='replace'): |
1383 |
- conf.define('USING_SYSTEM_TALLOC', 1) |
1384 |
-- if conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION, |
1385 |
-+ if not conf.env.disable_python and conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION, |
1386 |
- implied_deps='talloc replace'): |
1387 |
- conf.define('USING_SYSTEM_PYTALLOC_UTIL', 1) |
1388 |
- |
1389 |
---- ldb-1.1.27/wscript |
1390 |
-+++ ldb-1.1.27/wscript |
1391 |
-@@ -5,6 +5,7 @@ |
1392 |
- |
1393 |
- blddir = 'bin' |
1394 |
- |
1395 |
-+import Logs |
1396 |
- import sys, os |
1397 |
- |
1398 |
- # find the buildtools directory |
1399 |
-@@ -13,7 +14,7 @@ |
1400 |
- srcdir = srcdir + '/..' |
1401 |
- sys.path.insert(0, srcdir + '/buildtools/wafsamba') |
1402 |
- |
1403 |
--import wafsamba, samba_dist, Utils |
1404 |
-+import wafsamba, samba_dist, Utils, Options |
1405 |
- |
1406 |
- samba_dist.DIST_DIRS('''lib/ldb:. lib/replace:lib/replace lib/talloc:lib/talloc |
1407 |
- lib/tdb:lib/tdb lib/tdb:lib/tdb lib/tevent:lib/tevent |
1408 |
-@@ -28,8 +29,21 @@ |
1409 |
- opt.RECURSE('lib/tevent') |
1410 |
- opt.RECURSE('lib/replace') |
1411 |
- opt.tool_options('python') # options for disabling pyc or pyo compilation |
1412 |
-+ if opt.IN_LAUNCH_DIR(): |
1413 |
-+ opt.add_option('--disable-python', |
1414 |
-+ help=("disable the pyldb modules"), |
1415 |
-+ action="store_true", dest='disable_python', default=False) |
1416 |
-+ if opt.IN_LAUNCH_DIR(): |
1417 |
-+ opt.add_option('--disable-ldap', |
1418 |
-+ help=("disable ldap support"), |
1419 |
-+ action="store_true", dest='disable_ldap', default=False) |
1420 |
- |
1421 |
- def configure(conf): |
1422 |
-+ conf.env.standalone_ldb = conf.IN_LAUNCH_DIR() |
1423 |
-+ |
1424 |
-+ conf.env.disable_python = getattr(Options.options, 'disable_python', False) |
1425 |
-+ conf.env.disable_ldap = getattr(Options.options, 'disable_ldap', False) |
1426 |
-+ |
1427 |
- conf.RECURSE('lib/tdb') |
1428 |
- conf.RECURSE('lib/tevent') |
1429 |
- |
1430 |
-@@ -44,16 +58,18 @@ |
1431 |
- conf.RECURSE('lib/replace') |
1432 |
- conf.find_program('python', var='PYTHON') |
1433 |
- conf.find_program('xsltproc', var='XSLTPROC') |
1434 |
-- conf.check_tool('python') |
1435 |
-- conf.check_python_version((2,4,2)) |
1436 |
-- conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=True) |
1437 |
-+ |
1438 |
-+ if not conf.env.disable_python: |
1439 |
-+ conf.SAMBA_CHECK_PYTHON(mandatory=False, version=(2,4,2)) |
1440 |
-+ conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=False) |
1441 |
-+ if not conf.env.HAVE_PYTHON_H: |
1442 |
-+ Logs.warn('Disabling pyldb-util as python devel libs not found') |
1443 |
-+ conf.env.disable_python = True |
1444 |
- |
1445 |
- # where does the default LIBDIR end up? in conf.env somewhere? |
1446 |
- # |
1447 |
- conf.CONFIG_PATH('LDB_MODULESDIR', conf.SUBST_ENV_VAR('MODULESDIR') + '/ldb') |
1448 |
- |
1449 |
-- conf.env.standalone_ldb = conf.IN_LAUNCH_DIR() |
1450 |
-- |
1451 |
- if not conf.env.standalone_ldb: |
1452 |
- if conf.CHECK_BUNDLED_SYSTEM_PKG('pyldb-util', minversion=VERSION, |
1453 |
- onlyif='talloc tdb tevent', |
1454 |
-@@ -67,9 +83,12 @@ |
1455 |
- if conf.env.standalone_ldb: |
1456 |
- conf.CHECK_XSLTPROC_MANPAGES() |
1457 |
- |
1458 |
-- # we need this for the ldap backend |
1459 |
-- if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'): |
1460 |
-- conf.env.ENABLE_LDAP_BACKEND = True |
1461 |
-+ if not conf.env.disable_ldap: |
1462 |
-+ # we need this for the ldap backend |
1463 |
-+ if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'): |
1464 |
-+ conf.env.ENABLE_LDAP_BACKEND = True |
1465 |
-+ else: |
1466 |
-+ conf.env.ENABLE_LDAP_BACKEND = False |
1467 |
- |
1468 |
- # we don't want any libraries or modules to rely on runtime |
1469 |
- # resolution of symbols |
1470 |
|
1471 |
diff --git a/sys-libs/ldb/files/ldb-1.1.29-disable-python.patch b/sys-libs/ldb/files/ldb-1.1.29-disable-python.patch |
1472 |
deleted file mode 100644 |
1473 |
index bc4120e..0000000 |
1474 |
--- a/sys-libs/ldb/files/ldb-1.1.29-disable-python.patch |
1475 |
+++ /dev/null |
1476 |
@@ -1,48 +0,0 @@ |
1477 |
---- a/lib/tdb/wscript 2016-11-30 09:56:00.000000000 -0500 |
1478 |
-+++ b/lib/tdb/wscript 2017-02-08 16:37:49.160987205 -0500 |
1479 |
-@@ -77,16 +77,16 @@ |
1480 |
- conf.env.standalone_tdb = conf.IN_LAUNCH_DIR() |
1481 |
- conf.env.building_tdb = True |
1482 |
- |
1483 |
-+ conf.env.disable_python = getattr(Options.options, 'disable_python', False) |
1484 |
-+ |
1485 |
- if not conf.env.standalone_tdb: |
1486 |
- if conf.CHECK_BUNDLED_SYSTEM_PKG('tdb', minversion=VERSION, |
1487 |
- implied_deps='replace'): |
1488 |
- conf.define('USING_SYSTEM_TDB', 1) |
1489 |
- conf.env.building_tdb = False |
1490 |
-- if conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytdb', 'tdb', minversion=VERSION): |
1491 |
-+ if not conf.env.disable_python and conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytdb', 'tdb', minversion=VERSION): |
1492 |
- conf.define('USING_SYSTEM_PYTDB', 1) |
1493 |
- |
1494 |
-- conf.env.disable_python = getattr(Options.options, 'disable_python', False) |
1495 |
-- |
1496 |
- if (conf.CONFIG_SET('HAVE_ROBUST_MUTEXES') and |
1497 |
- conf.env.building_tdb and |
1498 |
- not conf.env.disable_tdb_mutex_locking): |
1499 |
---- a/lib/tevent/wscript 2016-10-07 00:45:35.000000000 -0400 |
1500 |
-+++ b/lib/tevent/wscript 2017-02-08 16:39:22.478733175 -0500 |
1501 |
-@@ -34,11 +34,13 @@ |
1502 |
- |
1503 |
- conf.env.standalone_tevent = conf.IN_LAUNCH_DIR() |
1504 |
- |
1505 |
-+ conf.env.disable_python = getattr(Options.options, 'disable_python', False) |
1506 |
-+ |
1507 |
- if not conf.env.standalone_tevent: |
1508 |
- if conf.CHECK_BUNDLED_SYSTEM_PKG('tevent', minversion=VERSION, |
1509 |
- onlyif='talloc', implied_deps='replace talloc'): |
1510 |
- conf.define('USING_SYSTEM_TEVENT', 1) |
1511 |
-- if conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytevent', 'tevent', minversion=VERSION): |
1512 |
-+ if not conf.env.disable_python and conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytevent', 'tevent', minversion=VERSION): |
1513 |
- conf.define('USING_SYSTEM_PYTEVENT', 1) |
1514 |
- |
1515 |
- if conf.CHECK_FUNCS('epoll_create', headers='sys/epoll.h'): |
1516 |
-@@ -61,8 +63,6 @@ |
1517 |
- if not conf.CONFIG_SET('USING_SYSTEM_TEVENT'): |
1518 |
- conf.DEFINE('TEVENT_NUM_SIGNALS', tevent_num_signals) |
1519 |
- |
1520 |
-- conf.env.disable_python = getattr(Options.options, 'disable_python', False) |
1521 |
-- |
1522 |
- if not conf.env.disable_python: |
1523 |
- # also disable if we don't have the python libs installed |
1524 |
- conf.find_program('python', var='PYTHON') |
1525 |
|
1526 |
diff --git a/sys-libs/ldb/files/ldb-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch b/sys-libs/ldb/files/ldb-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
1527 |
deleted file mode 100644 |
1528 |
index c45b13f..0000000 |
1529 |
--- a/sys-libs/ldb/files/ldb-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
1530 |
+++ /dev/null |
1531 |
@@ -1,17 +0,0 @@ |
1532 |
---- a/wscript 2017-07-05 15:35:52.178964698 -0400 |
1533 |
-+++ b/wscript 2017-07-05 15:49:20.137977649 -0400 |
1534 |
-@@ -208,6 +208,14 @@ |
1535 |
- ldb_headers = ('include/ldb.h include/ldb_errors.h ' |
1536 |
- 'include/ldb_module.h include/ldb_handlers.h') |
1537 |
- |
1538 |
-+ # we're not currently linking against the ldap libs, but ldb.pc.in |
1539 |
-+ # has @LDAP_LIBS@ |
1540 |
-+ bld.env.LDAP_LIBS = '' |
1541 |
-+ |
1542 |
-+ if not 'PACKAGE_VERSION' in bld.env: |
1543 |
-+ bld.env.PACKAGE_VERSION = VERSION |
1544 |
-+ bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig' |
1545 |
-+ |
1546 |
- bld.SAMBA_LIBRARY('ldb', |
1547 |
- COMMON_SRC + ' ' + LDB_MAP_SRC, |
1548 |
- deps='tevent LIBLDB_MAIN replace', |
1549 |
|
1550 |
diff --git a/sys-libs/ldb/files/ldb-1.1.31-optional_packages.patch b/sys-libs/ldb/files/ldb-1.1.31-optional_packages.patch |
1551 |
deleted file mode 100644 |
1552 |
index 1e9b517..0000000 |
1553 |
--- a/sys-libs/ldb/files/ldb-1.1.31-optional_packages.patch |
1554 |
+++ /dev/null |
1555 |
@@ -1,57 +0,0 @@ |
1556 |
---- ldb-1.1.27/wscript |
1557 |
-+++ ldb-1.1.27/wscript |
1558 |
-@@ -5,6 +5,7 @@ |
1559 |
- |
1560 |
- blddir = 'bin' |
1561 |
- |
1562 |
-+import Logs |
1563 |
- import sys, os |
1564 |
- |
1565 |
- # find the buildtools directory |
1566 |
-@@ -13,7 +14,7 @@ |
1567 |
- srcdir = srcdir + '/..' |
1568 |
- sys.path.insert(0, srcdir + '/buildtools/wafsamba') |
1569 |
- |
1570 |
--import wafsamba, samba_dist, Utils |
1571 |
-+import wafsamba, samba_dist, Utils, Options |
1572 |
- |
1573 |
- samba_dist.DIST_DIRS('''lib/ldb:. lib/replace:lib/replace lib/talloc:lib/talloc |
1574 |
- lib/tdb:lib/tdb lib/tdb:lib/tdb lib/tevent:lib/tevent |
1575 |
-@@ -28,8 +29,21 @@ |
1576 |
- opt.RECURSE('lib/tevent') |
1577 |
- opt.RECURSE('lib/replace') |
1578 |
- opt.tool_options('python') # options for disabling pyc or pyo compilation |
1579 |
-+ if opt.IN_LAUNCH_DIR(): |
1580 |
-+ opt.add_option('--disable-python', |
1581 |
-+ help=("disable the pyldb modules"), |
1582 |
-+ action="store_true", dest='disable_python', default=False) |
1583 |
-+ if opt.IN_LAUNCH_DIR(): |
1584 |
-+ opt.add_option('--disable-ldap', |
1585 |
-+ help=("disable ldap support"), |
1586 |
-+ action="store_true", dest='disable_ldap', default=False) |
1587 |
- |
1588 |
- def configure(conf): |
1589 |
-+ conf.env.standalone_ldb = conf.IN_LAUNCH_DIR() |
1590 |
-+ |
1591 |
-+ conf.env.disable_python = getattr(Options.options, 'disable_python', False) |
1592 |
-+ conf.env.disable_ldap = getattr(Options.options, 'disable_ldap', False) |
1593 |
-+ |
1594 |
- conf.RECURSE('lib/tdb') |
1595 |
- conf.RECURSE('lib/tevent') |
1596 |
- |
1597 |
-@@ -67,9 +81,12 @@ |
1598 |
- if conf.env.standalone_ldb: |
1599 |
- conf.CHECK_XSLTPROC_MANPAGES() |
1600 |
- |
1601 |
-- # we need this for the ldap backend |
1602 |
-- if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'): |
1603 |
-- conf.env.ENABLE_LDAP_BACKEND = True |
1604 |
-+ if not conf.env.disable_ldap: |
1605 |
-+ # we need this for the ldap backend |
1606 |
-+ if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'): |
1607 |
-+ conf.env.ENABLE_LDAP_BACKEND = True |
1608 |
-+ else: |
1609 |
-+ conf.env.ENABLE_LDAP_BACKEND = False |
1610 |
- |
1611 |
- # we don't want any libraries or modules to rely on runtime |
1612 |
- # resolution of symbols |
1613 |
|
1614 |
diff --git a/sys-libs/ldb/files/ldb-1.1.31-talloc-disable-python.patch b/sys-libs/ldb/files/ldb-1.1.31-talloc-disable-python.patch |
1615 |
deleted file mode 100644 |
1616 |
index 6ef45eb..0000000 |
1617 |
--- a/sys-libs/ldb/files/ldb-1.1.31-talloc-disable-python.patch |
1618 |
+++ /dev/null |
1619 |
@@ -1,34 +0,0 @@ |
1620 |
---- a/lib/talloc/wscript 2017-04-28 04:57:26.000000000 -0400 |
1621 |
-+++ b/lib/talloc/wscript 2017-07-05 14:30:42.700580464 -0400 |
1622 |
-@@ -74,19 +74,22 @@ |
1623 |
- implied_deps='replace'): |
1624 |
- conf.define('USING_SYSTEM_TALLOC', 1) |
1625 |
- |
1626 |
-- using_system_pytalloc_util = True |
1627 |
-- if not conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION, |
1628 |
-- implied_deps='talloc replace'): |
1629 |
-+ if conf.env.disable_python: |
1630 |
- using_system_pytalloc_util = False |
1631 |
-- |
1632 |
-- # We need to get a pytalloc-util for all the python versions |
1633 |
-- # we are building for |
1634 |
-- if conf.env['EXTRA_PYTHON']: |
1635 |
-- name = 'pytalloc-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG'] |
1636 |
-- if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION, |
1637 |
-+ else: |
1638 |
-+ using_system_pytalloc_util = True |
1639 |
-+ if not conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION, |
1640 |
- implied_deps='talloc replace'): |
1641 |
- using_system_pytalloc_util = False |
1642 |
- |
1643 |
-+ # We need to get a pytalloc-util for all the python versions |
1644 |
-+ # we are building for |
1645 |
-+ if conf.env['EXTRA_PYTHON']: |
1646 |
-+ name = 'pytalloc-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG'] |
1647 |
-+ if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION, |
1648 |
-+ implied_deps='talloc replace'): |
1649 |
-+ using_system_pytalloc_util = False |
1650 |
-+ |
1651 |
- if using_system_pytalloc_util: |
1652 |
- conf.define('USING_SYSTEM_PYTALLOC_UTIL', 1) |
1653 |
- |
1654 |
|
1655 |
diff --git a/sys-libs/ldb/files/ldb-1.2.3-disable_python.patch b/sys-libs/ldb/files/ldb-1.2.3-disable_python.patch |
1656 |
deleted file mode 100644 |
1657 |
index 133e2ac..0000000 |
1658 |
--- a/sys-libs/ldb/files/ldb-1.2.3-disable_python.patch |
1659 |
+++ /dev/null |
1660 |
@@ -1,64 +0,0 @@ |
1661 |
-Revert talloc/wscript to the one from ldb-1.2.2 |
1662 |
- |
1663 |
---- ldb-1.2.3/lib/talloc/wscript |
1664 |
-+++ ldb-1.2.3/lib/talloc/wscript |
1665 |
-@@ -1,7 +1,7 @@ |
1666 |
- #!/usr/bin/env python |
1667 |
- |
1668 |
- APPNAME = 'talloc' |
1669 |
--VERSION = '2.1.9' |
1670 |
-+VERSION = '2.1.10' |
1671 |
- |
1672 |
- |
1673 |
- blddir = 'bin' |
1674 |
-@@ -74,19 +74,22 @@ |
1675 |
- implied_deps='replace'): |
1676 |
- conf.define('USING_SYSTEM_TALLOC', 1) |
1677 |
- |
1678 |
-- using_system_pytalloc_util = True |
1679 |
-- if not conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION, |
1680 |
-- implied_deps='talloc replace'): |
1681 |
-+ if conf.env.disable_python: |
1682 |
- using_system_pytalloc_util = False |
1683 |
-- |
1684 |
-- # We need to get a pytalloc-util for all the python versions |
1685 |
-- # we are building for |
1686 |
-- if conf.env['EXTRA_PYTHON']: |
1687 |
-- name = 'pytalloc-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG'] |
1688 |
-- if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION, |
1689 |
-+ else: |
1690 |
-+ using_system_pytalloc_util = True |
1691 |
-+ if not conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION, |
1692 |
- implied_deps='talloc replace'): |
1693 |
- using_system_pytalloc_util = False |
1694 |
- |
1695 |
-+ # We need to get a pytalloc-util for all the python versions |
1696 |
-+ # we are building for |
1697 |
-+ if conf.env['EXTRA_PYTHON']: |
1698 |
-+ name = 'pytalloc-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG'] |
1699 |
-+ if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION, |
1700 |
-+ implied_deps='talloc replace'): |
1701 |
-+ using_system_pytalloc_util = False |
1702 |
-+ |
1703 |
- if using_system_pytalloc_util: |
1704 |
- conf.define('USING_SYSTEM_PYTALLOC_UTIL', 1) |
1705 |
- |
1706 |
-@@ -171,12 +174,18 @@ |
1707 |
- def test(ctx): |
1708 |
- '''run talloc testsuite''' |
1709 |
- import Utils, samba_utils |
1710 |
-+ |
1711 |
-+ samba_utils.ADD_LD_LIBRARY_PATH('bin/shared') |
1712 |
-+ samba_utils.ADD_LD_LIBRARY_PATH('bin/shared/private') |
1713 |
-+ |
1714 |
- cmd = os.path.join(Utils.g_module.blddir, 'talloc_testsuite') |
1715 |
- ret = samba_utils.RUN_COMMAND(cmd) |
1716 |
- print("testsuite returned %d" % ret) |
1717 |
- magic_helper_cmd = os.path.join(Utils.g_module.blddir, 'talloc_test_magic_differs_helper') |
1718 |
- magic_cmd = os.path.join(srcdir, 'lib', 'talloc', |
1719 |
- 'test_magic_differs.sh') |
1720 |
-+ if not os.path.exists(magic_cmd): |
1721 |
-+ magic_cmd = os.path.join(srcdir, 'test_magic_differs.sh') |
1722 |
- |
1723 |
- magic_ret = samba_utils.RUN_COMMAND(magic_cmd + " " + magic_helper_cmd) |
1724 |
- print("magic differs test returned %d" % magic_ret) |
1725 |
|
1726 |
diff --git a/sys-libs/ldb/files/ldb-1.4.0-optional_packages.patch b/sys-libs/ldb/files/ldb-1.4.0-optional_packages.patch |
1727 |
deleted file mode 100644 |
1728 |
index 3781389..0000000 |
1729 |
--- a/sys-libs/ldb/files/ldb-1.4.0-optional_packages.patch |
1730 |
+++ /dev/null |
1731 |
@@ -1,45 +0,0 @@ |
1732 |
---- ldb-1.4.0/wscript |
1733 |
-+++ ldb-1.4.0/wscript |
1734 |
-@@ -31,6 +31,14 @@ |
1735 |
- opt.RECURSE('lib/tevent') |
1736 |
- opt.RECURSE('lib/replace') |
1737 |
- opt.tool_options('python') # options for disabling pyc or pyo compilation |
1738 |
-+ if opt.IN_LAUNCH_DIR(): |
1739 |
-+ opt.add_option('--disable-python', |
1740 |
-+ help=("disable the pyldb modules"), |
1741 |
-+ action="store_true", dest='disable_python', default=False) |
1742 |
-+ if opt.IN_LAUNCH_DIR(): |
1743 |
-+ opt.add_option('--disable-ldap', |
1744 |
-+ help=("disable ldap support"), |
1745 |
-+ action="store_true", dest='disable_ldap', default=False) |
1746 |
- |
1747 |
- opt.add_option('--without-ldb-lmdb', |
1748 |
- help='disable new LMDB backend for LDB', |
1749 |
-@@ -38,6 +46,11 @@ |
1750 |
- |
1751 |
- |
1752 |
- def configure(conf): |
1753 |
-+ conf.env.standalone_ldb = conf.IN_LAUNCH_DIR() |
1754 |
-+ |
1755 |
-+ conf.env.disable_python = getattr(Options.options, 'disable_python', False) |
1756 |
-+ conf.env.disable_ldap = getattr(Options.options, 'disable_ldap', False) |
1757 |
-+ |
1758 |
- conf.RECURSE('lib/tdb') |
1759 |
- conf.RECURSE('lib/tevent') |
1760 |
- |
1761 |
-@@ -142,9 +155,12 @@ |
1762 |
- if conf.env.standalone_ldb: |
1763 |
- conf.CHECK_XSLTPROC_MANPAGES() |
1764 |
- |
1765 |
-- # we need this for the ldap backend |
1766 |
-- if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'): |
1767 |
-- conf.env.ENABLE_LDAP_BACKEND = True |
1768 |
-+ if not conf.env.disable_ldap: |
1769 |
-+ # we need this for the ldap backend |
1770 |
-+ if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'): |
1771 |
-+ conf.env.ENABLE_LDAP_BACKEND = True |
1772 |
-+ else: |
1773 |
-+ conf.env.ENABLE_LDAP_BACKEND = False |
1774 |
- |
1775 |
- # we don't want any libraries or modules to rely on runtime |
1776 |
- # resolution of symbols |
1777 |
|
1778 |
diff --git a/sys-libs/ldb/files/ldb-1.5.2-optional_packages.patch b/sys-libs/ldb/files/ldb-1.5.2-optional_packages.patch |
1779 |
deleted file mode 100644 |
1780 |
index bdceeb3..0000000 |
1781 |
--- a/sys-libs/ldb/files/ldb-1.5.2-optional_packages.patch |
1782 |
+++ /dev/null |
1783 |
@@ -1,40 +0,0 @@ |
1784 |
---- ldb-1.5.2/wscript |
1785 |
-+++ ldb-1.5.2/wscript |
1786 |
-@@ -33,6 +33,10 @@ |
1787 |
- opt.RECURSE('lib/tevent') |
1788 |
- opt.RECURSE('lib/replace') |
1789 |
- opt.load('python') # options for disabling pyc or pyo compilation |
1790 |
-+ if opt.IN_LAUNCH_DIR(): |
1791 |
-+ opt.add_option('--disable-ldap', |
1792 |
-+ help=("disable ldap support"), |
1793 |
-+ action="store_true", dest='disable_ldap', default=False) |
1794 |
- |
1795 |
- opt.add_option('--without-ldb-lmdb', |
1796 |
- help='disable new LMDB backend for LDB', |
1797 |
-@@ -40,6 +44,10 @@ |
1798 |
- |
1799 |
- |
1800 |
- def configure(conf): |
1801 |
-+ conf.env.standalone_ldb = conf.IN_LAUNCH_DIR() |
1802 |
-+ |
1803 |
-+ conf.env.disable_ldap = getattr(Options.options, 'disable_ldap', False) |
1804 |
-+ |
1805 |
- conf.RECURSE('lib/tdb') |
1806 |
- conf.RECURSE('lib/tevent') |
1807 |
- |
1808 |
-@@ -157,9 +165,12 @@ |
1809 |
- if conf.env.standalone_ldb: |
1810 |
- conf.CHECK_XSLTPROC_MANPAGES() |
1811 |
- |
1812 |
-- # we need this for the ldap backend |
1813 |
-- if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'): |
1814 |
-- conf.env.ENABLE_LDAP_BACKEND = True |
1815 |
-+ if not conf.env.disable_ldap: |
1816 |
-+ # we need this for the ldap backend |
1817 |
-+ if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'): |
1818 |
-+ conf.env.ENABLE_LDAP_BACKEND = True |
1819 |
-+ else: |
1820 |
-+ conf.env.ENABLE_LDAP_BACKEND = False |
1821 |
- |
1822 |
- # we don't want any libraries or modules to rely on runtime |
1823 |
- # resolution of symbols |
1824 |
|
1825 |
diff --git a/sys-libs/ldb/files/ldb-2.0.8-include-fcntl.h-for-pid_t.patch b/sys-libs/ldb/files/ldb-2.0.8-include-fcntl.h-for-pid_t.patch |
1826 |
deleted file mode 100644 |
1827 |
index d1e0ed1..0000000 |
1828 |
--- a/sys-libs/ldb/files/ldb-2.0.8-include-fcntl.h-for-pid_t.patch |
1829 |
+++ /dev/null |
1830 |
@@ -1,10 +0,0 @@ |
1831 |
---- a/include/ldb.h |
1832 |
-+++ b/include/ldb.h |
1833 |
-@@ -46,6 +46,7 @@ |
1834 |
- #define _LDB_H_ 1 |
1835 |
- /*! \endcond */ |
1836 |
- |
1837 |
-+#include <fcntl.h> |
1838 |
- #include <stdbool.h> |
1839 |
- #include <talloc.h> |
1840 |
- #include <tevent.h> |
1841 |
|
1842 |
diff --git a/sys-libs/ldb/ldb-1.1.29-r1.ebuild b/sys-libs/ldb/ldb-1.1.29-r1.ebuild |
1843 |
deleted file mode 100644 |
1844 |
index c0af7a5..0000000 |
1845 |
--- a/sys-libs/ldb/ldb-1.1.29-r1.ebuild |
1846 |
+++ /dev/null |
1847 |
@@ -1,103 +0,0 @@ |
1848 |
-# Copyright 1999-2018 Gentoo Authors |
1849 |
-# Distributed under the terms of the GNU General Public License v2 |
1850 |
- |
1851 |
-EAPI=6 |
1852 |
-PYTHON_COMPAT=( python2_7 ) |
1853 |
-PYTHON_REQ_USE="threads" |
1854 |
- |
1855 |
-inherit python-single-r1 waf-utils multilib-minimal eutils flag-o-matic |
1856 |
- |
1857 |
-DESCRIPTION="An LDAP-like embedded database" |
1858 |
-HOMEPAGE="https://ldb.samba.org/" |
1859 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
1860 |
- |
1861 |
-LICENSE="LGPL-3" |
1862 |
-SLOT="0/${PV}" |
1863 |
-KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 x86" |
1864 |
-IUSE="doc +ldap +python" |
1865 |
- |
1866 |
-RDEPEND="dev-libs/libbsd[${MULTILIB_USEDEP}] |
1867 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
1868 |
- >=sys-libs/talloc-2.1.8[python?,${MULTILIB_USEDEP}] |
1869 |
- >=sys-libs/tevent-0.9.31[python(+)?,${MULTILIB_USEDEP}] |
1870 |
- >=sys-libs/tdb-1.3.12[python?,${MULTILIB_USEDEP}] |
1871 |
- !!<net-fs/samba-3.6.0[ldb] |
1872 |
- !!>=net-fs/samba-4.0.0[ldb] |
1873 |
- python? ( ${PYTHON_DEPS} ) |
1874 |
- ldap? ( net-nds/openldap ) |
1875 |
- " |
1876 |
- |
1877 |
-DEPEND="dev-libs/libxslt |
1878 |
- doc? ( app-doc/doxygen ) |
1879 |
- virtual/pkgconfig |
1880 |
- ${PYTHON_DEPS} |
1881 |
- ${RDEPEND}" |
1882 |
- |
1883 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
1884 |
- |
1885 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
1886 |
- |
1887 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
1888 |
- |
1889 |
-PATCHES=( |
1890 |
- "${FILESDIR}"/${PN}-1.1.27-optional_packages.patch |
1891 |
- "${FILESDIR}"/${P}-disable-python.patch |
1892 |
-) |
1893 |
- |
1894 |
-pkg_setup() { |
1895 |
- python-single-r1_pkg_setup |
1896 |
-} |
1897 |
- |
1898 |
-src_prepare() { |
1899 |
- default |
1900 |
- multilib_copy_sources |
1901 |
-} |
1902 |
- |
1903 |
-multilib_src_configure() { |
1904 |
- local myconf=( |
1905 |
- $(usex ldap '' --disable-ldap) \ |
1906 |
- --disable-rpath \ |
1907 |
- --disable-rpath-install --bundled-libraries=NONE \ |
1908 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba \ |
1909 |
- --builtin-libraries=NONE |
1910 |
- ) |
1911 |
- if ! multilib_is_native_abi; then |
1912 |
- myconf+=( --disable-python ) |
1913 |
- else |
1914 |
- myconf+=( $(usex python '' '--disable-python') ) |
1915 |
- fi |
1916 |
- waf-utils_src_configure "${myconf[@]}" |
1917 |
-} |
1918 |
- |
1919 |
-multilib_src_compile(){ |
1920 |
- use elibc_musl && append-cflags "-D__NEED_pid_t" |
1921 |
- waf-utils_src_compile |
1922 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
1923 |
-} |
1924 |
- |
1925 |
-multilib_src_test() { |
1926 |
- if multilib_is_native_abi; then |
1927 |
- WAF_MAKE=1 \ |
1928 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
1929 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
1930 |
- waf test || die |
1931 |
- fi |
1932 |
-} |
1933 |
- |
1934 |
-multilib_src_install() { |
1935 |
- waf-utils_src_install |
1936 |
- |
1937 |
- if multilib_is_native_abi && use doc; then |
1938 |
- doman apidocs/man/man3/*.3 |
1939 |
- docinto html |
1940 |
- dodoc -r apidocs/html/* |
1941 |
- fi |
1942 |
-} |
1943 |
- |
1944 |
-pkg_postinst() { |
1945 |
- if has_version sys-auth/sssd; then |
1946 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
1947 |
- ewarn "so please try to rebuild it before reporting bugs." |
1948 |
- ewarn "See https://bugs.gentoo.org/404281" |
1949 |
- fi |
1950 |
-} |
1951 |
|
1952 |
diff --git a/sys-libs/ldb/ldb-1.1.31.ebuild b/sys-libs/ldb/ldb-1.1.31.ebuild |
1953 |
deleted file mode 100644 |
1954 |
index 70d0da5..0000000 |
1955 |
--- a/sys-libs/ldb/ldb-1.1.31.ebuild |
1956 |
+++ /dev/null |
1957 |
@@ -1,105 +0,0 @@ |
1958 |
-# Copyright 1999-2018 Gentoo Authors |
1959 |
-# Distributed under the terms of the GNU General Public License v2 |
1960 |
- |
1961 |
-EAPI=6 |
1962 |
-PYTHON_COMPAT=( python2_7 ) |
1963 |
-PYTHON_REQ_USE="threads" |
1964 |
- |
1965 |
-inherit python-single-r1 waf-utils multilib-minimal eutils flag-o-matic |
1966 |
- |
1967 |
-DESCRIPTION="An LDAP-like embedded database" |
1968 |
-HOMEPAGE="https://ldb.samba.org/" |
1969 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
1970 |
- |
1971 |
-LICENSE="LGPL-3" |
1972 |
-SLOT="0/${PV}" |
1973 |
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" |
1974 |
-IUSE="doc +ldap +python" |
1975 |
- |
1976 |
-RDEPEND="dev-libs/libbsd[${MULTILIB_USEDEP}] |
1977 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
1978 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
1979 |
- >=sys-libs/talloc-2.1.9[python?,${MULTILIB_USEDEP}] |
1980 |
- >=sys-libs/tevent-0.9.31[python(+)?,${MULTILIB_USEDEP}] |
1981 |
- >=sys-libs/tdb-1.3.13[python?,${MULTILIB_USEDEP}] |
1982 |
- !!<net-fs/samba-3.6.0[ldb] |
1983 |
- !!>=net-fs/samba-4.0.0[ldb] |
1984 |
- python? ( ${PYTHON_DEPS} ) |
1985 |
- ldap? ( net-nds/openldap ) |
1986 |
- " |
1987 |
- |
1988 |
-DEPEND="dev-libs/libxslt |
1989 |
- doc? ( app-doc/doxygen ) |
1990 |
- virtual/pkgconfig |
1991 |
- ${PYTHON_DEPS} |
1992 |
- ${RDEPEND}" |
1993 |
- |
1994 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
1995 |
- |
1996 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
1997 |
- |
1998 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
1999 |
- |
2000 |
-PATCHES=( |
2001 |
- "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch |
2002 |
- "${FILESDIR}"/${PN}-1.1.31-talloc-disable-python.patch |
2003 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
2004 |
-) |
2005 |
- |
2006 |
-pkg_setup() { |
2007 |
- python-single-r1_pkg_setup |
2008 |
-} |
2009 |
- |
2010 |
-src_prepare() { |
2011 |
- default |
2012 |
- multilib_copy_sources |
2013 |
-} |
2014 |
- |
2015 |
-multilib_src_configure() { |
2016 |
- local myconf=( |
2017 |
- $(usex ldap '' --disable-ldap) \ |
2018 |
- --disable-rpath \ |
2019 |
- --disable-rpath-install --bundled-libraries=NONE \ |
2020 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba \ |
2021 |
- --builtin-libraries=NONE |
2022 |
- ) |
2023 |
- if ! multilib_is_native_abi; then |
2024 |
- myconf+=( --disable-python ) |
2025 |
- else |
2026 |
- use python || myconf+=( --disable-python ) |
2027 |
- fi |
2028 |
- waf-utils_src_configure "${myconf[@]}" |
2029 |
-} |
2030 |
- |
2031 |
-multilib_src_compile(){ |
2032 |
- use elibc_musl && append-cflags "-D__NEED_pid_t" |
2033 |
- waf-utils_src_compile |
2034 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
2035 |
-} |
2036 |
- |
2037 |
-multilib_src_test() { |
2038 |
- if multilib_is_native_abi; then |
2039 |
- WAF_MAKE=1 \ |
2040 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
2041 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
2042 |
- waf test || die |
2043 |
- fi |
2044 |
-} |
2045 |
- |
2046 |
-multilib_src_install() { |
2047 |
- waf-utils_src_install |
2048 |
- |
2049 |
- if multilib_is_native_abi && use doc; then |
2050 |
- doman apidocs/man/man3/*.3 |
2051 |
- docinto html |
2052 |
- dodoc -r apidocs/html/* |
2053 |
- fi |
2054 |
-} |
2055 |
- |
2056 |
-pkg_postinst() { |
2057 |
- if has_version sys-auth/sssd; then |
2058 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
2059 |
- ewarn "so please try to rebuild it before reporting bugs." |
2060 |
- ewarn "See https://bugs.gentoo.org/404281" |
2061 |
- fi |
2062 |
-} |
2063 |
|
2064 |
diff --git a/sys-libs/ldb/ldb-1.2.4.ebuild b/sys-libs/ldb/ldb-1.2.4.ebuild |
2065 |
deleted file mode 100644 |
2066 |
index 2e54ed7..0000000 |
2067 |
--- a/sys-libs/ldb/ldb-1.2.4.ebuild |
2068 |
+++ /dev/null |
2069 |
@@ -1,104 +0,0 @@ |
2070 |
-# Copyright 1999-2018 Gentoo Authors |
2071 |
-# Distributed under the terms of the GNU General Public License v2 |
2072 |
- |
2073 |
-EAPI=6 |
2074 |
-PYTHON_COMPAT=( python2_7 ) |
2075 |
-PYTHON_REQ_USE="threads" |
2076 |
- |
2077 |
-inherit python-single-r1 waf-utils multilib-minimal eutils flag-o-matic |
2078 |
- |
2079 |
-DESCRIPTION="An LDAP-like embedded database" |
2080 |
-HOMEPAGE="https://ldb.samba.org/" |
2081 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
2082 |
- |
2083 |
-LICENSE="LGPL-3" |
2084 |
-SLOT="0/${PV}" |
2085 |
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" |
2086 |
-IUSE="doc +ldap +python" |
2087 |
- |
2088 |
-RDEPEND="dev-libs/libbsd[${MULTILIB_USEDEP}] |
2089 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
2090 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
2091 |
- >=sys-libs/talloc-2.1.10[python?,${MULTILIB_USEDEP}] |
2092 |
- >=sys-libs/tevent-0.9.36[python(+)?,${MULTILIB_USEDEP}] |
2093 |
- >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}] |
2094 |
- python? ( ${PYTHON_DEPS} ) |
2095 |
- ldap? ( net-nds/openldap ) |
2096 |
-" |
2097 |
- |
2098 |
-DEPEND="dev-libs/libxslt |
2099 |
- doc? ( app-doc/doxygen ) |
2100 |
- virtual/pkgconfig |
2101 |
- ${PYTHON_DEPS} |
2102 |
- ${RDEPEND} |
2103 |
-" |
2104 |
- |
2105 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
2106 |
- |
2107 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
2108 |
- |
2109 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
2110 |
- |
2111 |
-PATCHES=( |
2112 |
- "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch |
2113 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
2114 |
- "${FILESDIR}"/${PN}-1.2.3-disable_python.patch |
2115 |
-) |
2116 |
- |
2117 |
-pkg_setup() { |
2118 |
- python-single-r1_pkg_setup |
2119 |
-} |
2120 |
- |
2121 |
-src_prepare() { |
2122 |
- default |
2123 |
- multilib_copy_sources |
2124 |
-} |
2125 |
- |
2126 |
-multilib_src_configure() { |
2127 |
- local myconf=( |
2128 |
- $(usex ldap '' --disable-ldap) |
2129 |
- --disable-rpath |
2130 |
- --disable-rpath-install --bundled-libraries=NONE |
2131 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
2132 |
- --builtin-libraries=NONE |
2133 |
- ) |
2134 |
- if ! multilib_is_native_abi; then |
2135 |
- myconf+=( --disable-python ) |
2136 |
- else |
2137 |
- use python || myconf+=( --disable-python ) |
2138 |
- fi |
2139 |
- waf-utils_src_configure "${myconf[@]}" |
2140 |
-} |
2141 |
- |
2142 |
-multilib_src_compile(){ |
2143 |
- use elibc_musl && append-cflags "-D__NEED_pid_t" |
2144 |
- waf-utils_src_compile |
2145 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
2146 |
-} |
2147 |
- |
2148 |
-multilib_src_test() { |
2149 |
- if multilib_is_native_abi; then |
2150 |
- WAF_MAKE=1 \ |
2151 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
2152 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
2153 |
- waf test || die |
2154 |
- fi |
2155 |
-} |
2156 |
- |
2157 |
-multilib_src_install() { |
2158 |
- waf-utils_src_install |
2159 |
- |
2160 |
- if multilib_is_native_abi && use doc; then |
2161 |
- doman apidocs/man/man3/*.3 |
2162 |
- docinto html |
2163 |
- dodoc -r apidocs/html/* |
2164 |
- fi |
2165 |
-} |
2166 |
- |
2167 |
-pkg_postinst() { |
2168 |
- if has_version sys-auth/sssd; then |
2169 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
2170 |
- ewarn "so please try to rebuild it before reporting bugs." |
2171 |
- ewarn "See https://bugs.gentoo.org/404281" |
2172 |
- fi |
2173 |
-} |
2174 |
|
2175 |
diff --git a/sys-libs/ldb/ldb-1.3.6.ebuild b/sys-libs/ldb/ldb-1.3.6.ebuild |
2176 |
deleted file mode 100644 |
2177 |
index 3e35a22..0000000 |
2178 |
--- a/sys-libs/ldb/ldb-1.3.6.ebuild |
2179 |
+++ /dev/null |
2180 |
@@ -1,104 +0,0 @@ |
2181 |
-# Copyright 1999-2018 Gentoo Authors |
2182 |
-# Distributed under the terms of the GNU General Public License v2 |
2183 |
- |
2184 |
-EAPI=6 |
2185 |
-PYTHON_COMPAT=( python2_7 ) |
2186 |
-PYTHON_REQ_USE="threads" |
2187 |
- |
2188 |
-inherit python-single-r1 waf-utils multilib-minimal eutils flag-o-matic |
2189 |
- |
2190 |
-DESCRIPTION="An LDAP-like embedded database" |
2191 |
-HOMEPAGE="https://ldb.samba.org" |
2192 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
2193 |
- |
2194 |
-LICENSE="LGPL-3" |
2195 |
-SLOT="0/${PV}" |
2196 |
-KEYWORDS="amd64 ~arm ~arm64 ~mips ppc ppc64 x86" |
2197 |
-IUSE="doc +ldap +python" |
2198 |
- |
2199 |
-RDEPEND=" |
2200 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
2201 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
2202 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
2203 |
- >=sys-libs/talloc-2.1.11[python?,${MULTILIB_USEDEP}] |
2204 |
- >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}] |
2205 |
- >=sys-libs/tevent-0.9.36[python(+)?,${MULTILIB_USEDEP}] |
2206 |
- ldap? ( net-nds/openldap ) |
2207 |
- python? ( ${PYTHON_DEPS} ) |
2208 |
-" |
2209 |
- |
2210 |
-DEPEND="dev-libs/libxslt |
2211 |
- doc? ( app-doc/doxygen ) |
2212 |
- virtual/pkgconfig |
2213 |
- ${PYTHON_DEPS} |
2214 |
- ${RDEPEND} |
2215 |
-" |
2216 |
- |
2217 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
2218 |
- |
2219 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
2220 |
- |
2221 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
2222 |
- |
2223 |
-PATCHES=( |
2224 |
- "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch |
2225 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
2226 |
-) |
2227 |
- |
2228 |
-pkg_setup() { |
2229 |
- python-single-r1_pkg_setup |
2230 |
-} |
2231 |
- |
2232 |
-src_prepare() { |
2233 |
- default |
2234 |
- multilib_copy_sources |
2235 |
-} |
2236 |
- |
2237 |
-multilib_src_configure() { |
2238 |
- local myconf=( |
2239 |
- $(usex ldap '' --disable-ldap) |
2240 |
- --disable-rpath |
2241 |
- --disable-rpath-install --bundled-libraries=NONE |
2242 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
2243 |
- --builtin-libraries=NONE |
2244 |
- ) |
2245 |
- if ! multilib_is_native_abi; then |
2246 |
- myconf+=( --disable-python ) |
2247 |
- else |
2248 |
- use python || myconf+=( --disable-python ) |
2249 |
- fi |
2250 |
- waf-utils_src_configure "${myconf[@]}" |
2251 |
-} |
2252 |
- |
2253 |
-multilib_src_compile(){ |
2254 |
- use elibc_musl && append-cflags "-D__NEED_pid_t" |
2255 |
- waf-utils_src_compile |
2256 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
2257 |
-} |
2258 |
- |
2259 |
-multilib_src_test() { |
2260 |
- if multilib_is_native_abi; then |
2261 |
- WAF_MAKE=1 \ |
2262 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
2263 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
2264 |
- waf test || die |
2265 |
- fi |
2266 |
-} |
2267 |
- |
2268 |
-multilib_src_install() { |
2269 |
- waf-utils_src_install |
2270 |
- |
2271 |
- if multilib_is_native_abi && use doc; then |
2272 |
- doman apidocs/man/man3/*.3 |
2273 |
- docinto html |
2274 |
- dodoc -r apidocs/html/* |
2275 |
- fi |
2276 |
-} |
2277 |
- |
2278 |
-pkg_postinst() { |
2279 |
- if has_version sys-auth/sssd; then |
2280 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
2281 |
- ewarn "so please try to rebuild it before reporting bugs." |
2282 |
- ewarn "See https://bugs.gentoo.org/404281" |
2283 |
- fi |
2284 |
-} |
2285 |
|
2286 |
diff --git a/sys-libs/ldb/ldb-1.3.8.ebuild b/sys-libs/ldb/ldb-1.3.8.ebuild |
2287 |
deleted file mode 100644 |
2288 |
index 21eec41..0000000 |
2289 |
--- a/sys-libs/ldb/ldb-1.3.8.ebuild |
2290 |
+++ /dev/null |
2291 |
@@ -1,104 +0,0 @@ |
2292 |
-# Copyright 1999-2018 Gentoo Authors |
2293 |
-# Distributed under the terms of the GNU General Public License v2 |
2294 |
- |
2295 |
-EAPI=6 |
2296 |
-PYTHON_COMPAT=( python2_7 ) |
2297 |
-PYTHON_REQ_USE="threads" |
2298 |
- |
2299 |
-inherit python-single-r1 waf-utils multilib-minimal eutils flag-o-matic |
2300 |
- |
2301 |
-DESCRIPTION="An LDAP-like embedded database" |
2302 |
-HOMEPAGE="https://ldb.samba.org" |
2303 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
2304 |
- |
2305 |
-LICENSE="LGPL-3" |
2306 |
-SLOT="0/${PV}" |
2307 |
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 x86" |
2308 |
-IUSE="doc +ldap +python" |
2309 |
- |
2310 |
-RDEPEND=" |
2311 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
2312 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
2313 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
2314 |
- >=sys-libs/talloc-2.1.11[python?,${MULTILIB_USEDEP}] |
2315 |
- >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}] |
2316 |
- >=sys-libs/tevent-0.9.36[python(+)?,${MULTILIB_USEDEP}] |
2317 |
- ldap? ( net-nds/openldap ) |
2318 |
- python? ( ${PYTHON_DEPS} ) |
2319 |
-" |
2320 |
- |
2321 |
-DEPEND="dev-libs/libxslt |
2322 |
- doc? ( app-doc/doxygen ) |
2323 |
- virtual/pkgconfig |
2324 |
- ${PYTHON_DEPS} |
2325 |
- ${RDEPEND} |
2326 |
-" |
2327 |
- |
2328 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
2329 |
- |
2330 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
2331 |
- |
2332 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
2333 |
- |
2334 |
-PATCHES=( |
2335 |
- "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch |
2336 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
2337 |
-) |
2338 |
- |
2339 |
-pkg_setup() { |
2340 |
- python-single-r1_pkg_setup |
2341 |
-} |
2342 |
- |
2343 |
-src_prepare() { |
2344 |
- default |
2345 |
- multilib_copy_sources |
2346 |
-} |
2347 |
- |
2348 |
-multilib_src_configure() { |
2349 |
- local myconf=( |
2350 |
- $(usex ldap '' --disable-ldap) |
2351 |
- --disable-rpath |
2352 |
- --disable-rpath-install --bundled-libraries=NONE |
2353 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
2354 |
- --builtin-libraries=NONE |
2355 |
- ) |
2356 |
- if ! multilib_is_native_abi; then |
2357 |
- myconf+=( --disable-python ) |
2358 |
- else |
2359 |
- use python || myconf+=( --disable-python ) |
2360 |
- fi |
2361 |
- waf-utils_src_configure "${myconf[@]}" |
2362 |
-} |
2363 |
- |
2364 |
-multilib_src_compile(){ |
2365 |
- use elibc_musl && append-cflags "-D__NEED_pid_t" |
2366 |
- waf-utils_src_compile |
2367 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
2368 |
-} |
2369 |
- |
2370 |
-multilib_src_test() { |
2371 |
- if multilib_is_native_abi; then |
2372 |
- WAF_MAKE=1 \ |
2373 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
2374 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
2375 |
- waf test || die |
2376 |
- fi |
2377 |
-} |
2378 |
- |
2379 |
-multilib_src_install() { |
2380 |
- waf-utils_src_install |
2381 |
- |
2382 |
- if multilib_is_native_abi && use doc; then |
2383 |
- doman apidocs/man/man3/*.3 |
2384 |
- docinto html |
2385 |
- dodoc -r apidocs/html/* |
2386 |
- fi |
2387 |
-} |
2388 |
- |
2389 |
-pkg_postinst() { |
2390 |
- if has_version sys-auth/sssd; then |
2391 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
2392 |
- ewarn "so please try to rebuild it before reporting bugs." |
2393 |
- ewarn "See https://bugs.gentoo.org/404281" |
2394 |
- fi |
2395 |
-} |
2396 |
|
2397 |
diff --git a/sys-libs/ldb/ldb-1.4.7.ebuild b/sys-libs/ldb/ldb-1.4.7.ebuild |
2398 |
deleted file mode 100644 |
2399 |
index 49326d4..0000000 |
2400 |
--- a/sys-libs/ldb/ldb-1.4.7.ebuild |
2401 |
+++ /dev/null |
2402 |
@@ -1,105 +0,0 @@ |
2403 |
-# Copyright 1999-2019 Gentoo Authors |
2404 |
-# Distributed under the terms of the GNU General Public License v2 |
2405 |
- |
2406 |
-EAPI=6 |
2407 |
-PYTHON_COMPAT=( python2_7 ) |
2408 |
-PYTHON_REQ_USE="threads" |
2409 |
- |
2410 |
-inherit python-single-r1 waf-utils multilib-minimal eutils |
2411 |
- |
2412 |
-DESCRIPTION="An LDAP-like embedded database" |
2413 |
-HOMEPAGE="https://ldb.samba.org" |
2414 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
2415 |
- |
2416 |
-LICENSE="LGPL-3" |
2417 |
-SLOT="0/${PV}" |
2418 |
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" |
2419 |
-IUSE="doc +ldap +lmdb +python" |
2420 |
- |
2421 |
-RDEPEND=" |
2422 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
2423 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
2424 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
2425 |
- >=sys-libs/talloc-2.1.14[python?,${MULTILIB_USEDEP}] |
2426 |
- >=sys-libs/tdb-1.3.16[python?,${MULTILIB_USEDEP}] |
2427 |
- >=sys-libs/tevent-0.9.37[python(+)?,${MULTILIB_USEDEP}] |
2428 |
- ldap? ( net-nds/openldap ) |
2429 |
- lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] ) |
2430 |
- python? ( ${PYTHON_DEPS} ) |
2431 |
-" |
2432 |
- |
2433 |
-DEPEND="dev-libs/libxslt |
2434 |
- doc? ( app-doc/doxygen ) |
2435 |
- virtual/pkgconfig |
2436 |
- ${PYTHON_DEPS} |
2437 |
- ${RDEPEND} |
2438 |
-" |
2439 |
- |
2440 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
2441 |
- |
2442 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
2443 |
- |
2444 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
2445 |
- |
2446 |
-PATCHES=( |
2447 |
- "${FILESDIR}"/${PN}-1.4.0-optional_packages.patch |
2448 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
2449 |
-) |
2450 |
- |
2451 |
-pkg_setup() { |
2452 |
- python-single-r1_pkg_setup |
2453 |
-} |
2454 |
- |
2455 |
-src_prepare() { |
2456 |
- default |
2457 |
- multilib_copy_sources |
2458 |
-} |
2459 |
- |
2460 |
-multilib_src_configure() { |
2461 |
- local myconf=( |
2462 |
- $(usex ldap '' --disable-ldap) |
2463 |
- $(usex lmdb '' --without-ldb-lmdb) |
2464 |
- --disable-rpath |
2465 |
- --disable-rpath-install --bundled-libraries=NONE |
2466 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
2467 |
- --builtin-libraries=NONE |
2468 |
- ) |
2469 |
- if ! multilib_is_native_abi; then |
2470 |
- myconf+=( --disable-python ) |
2471 |
- else |
2472 |
- use python || myconf+=( --disable-python ) |
2473 |
- fi |
2474 |
- CFLAGS="-D__NEED_pid_t" waf-utils_src_configure "${myconf[@]}" |
2475 |
-} |
2476 |
- |
2477 |
-multilib_src_compile() { |
2478 |
- waf-utils_src_compile |
2479 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
2480 |
-} |
2481 |
- |
2482 |
-multilib_src_test() { |
2483 |
- if multilib_is_native_abi; then |
2484 |
- WAF_MAKE=1 \ |
2485 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
2486 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
2487 |
- waf test || die |
2488 |
- fi |
2489 |
-} |
2490 |
- |
2491 |
-multilib_src_install() { |
2492 |
- waf-utils_src_install |
2493 |
- |
2494 |
- if multilib_is_native_abi && use doc; then |
2495 |
- doman apidocs/man/man3/*.3 |
2496 |
- docinto html |
2497 |
- dodoc -r apidocs/html/* |
2498 |
- fi |
2499 |
-} |
2500 |
- |
2501 |
-pkg_postinst() { |
2502 |
- if has_version sys-auth/sssd; then |
2503 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
2504 |
- ewarn "so please try to rebuild it before reporting bugs." |
2505 |
- ewarn "See https://bugs.gentoo.org/404281" |
2506 |
- fi |
2507 |
-} |
2508 |
|
2509 |
diff --git a/sys-libs/ldb/ldb-1.5.5.ebuild b/sys-libs/ldb/ldb-1.5.5.ebuild |
2510 |
deleted file mode 100644 |
2511 |
index b3d5f8d..0000000 |
2512 |
--- a/sys-libs/ldb/ldb-1.5.5.ebuild |
2513 |
+++ /dev/null |
2514 |
@@ -1,107 +0,0 @@ |
2515 |
-# Copyright 1999-2018 Gentoo Authors |
2516 |
-# Distributed under the terms of the GNU General Public License v2 |
2517 |
- |
2518 |
-EAPI=6 |
2519 |
-PYTHON_COMPAT=( python3_{5,6,7} ) |
2520 |
-PYTHON_REQ_USE="threads(+)" |
2521 |
- |
2522 |
-inherit python-single-r1 waf-utils multilib-minimal eutils flag-o-matic |
2523 |
- |
2524 |
-DESCRIPTION="An LDAP-like embedded database" |
2525 |
-HOMEPAGE="https://ldb.samba.org" |
2526 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
2527 |
- |
2528 |
-LICENSE="LGPL-3" |
2529 |
-SLOT="0/${PV}" |
2530 |
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" |
2531 |
-IUSE="doc +ldap +lmdb +python" |
2532 |
- |
2533 |
-RDEPEND=" |
2534 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
2535 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
2536 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
2537 |
- >=sys-libs/talloc-2.1.16[python?,${MULTILIB_USEDEP}] |
2538 |
- >=sys-libs/tdb-1.3.18[python?,${MULTILIB_USEDEP}] |
2539 |
- >=sys-libs/tevent-0.9.39[python(+)?,${MULTILIB_USEDEP}] |
2540 |
- |
2541 |
- ldap? ( net-nds/openldap ) |
2542 |
- lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] ) |
2543 |
- python? ( ${PYTHON_DEPS} ) |
2544 |
-" |
2545 |
- |
2546 |
-DEPEND="dev-libs/libxslt |
2547 |
- doc? ( app-doc/doxygen ) |
2548 |
- virtual/pkgconfig |
2549 |
- ${PYTHON_DEPS} |
2550 |
- ${RDEPEND} |
2551 |
-" |
2552 |
- |
2553 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
2554 |
- |
2555 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
2556 |
- |
2557 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
2558 |
- |
2559 |
-PATCHES=( |
2560 |
- "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch |
2561 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
2562 |
-) |
2563 |
- |
2564 |
-pkg_setup() { |
2565 |
- python-single-r1_pkg_setup |
2566 |
-} |
2567 |
- |
2568 |
-src_prepare() { |
2569 |
- default |
2570 |
- multilib_copy_sources |
2571 |
-} |
2572 |
- |
2573 |
-multilib_src_configure() { |
2574 |
- local myconf=( |
2575 |
- $(usex ldap '' --disable-ldap) |
2576 |
- $(usex lmdb '' --without-ldb-lmdb) |
2577 |
- --disable-rpath |
2578 |
- --disable-rpath-install --bundled-libraries=NONE |
2579 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
2580 |
- --builtin-libraries=NONE |
2581 |
- ) |
2582 |
- if ! multilib_is_native_abi; then |
2583 |
- myconf+=( --disable-python ) |
2584 |
- else |
2585 |
- use python || myconf+=( --disable-python ) |
2586 |
- fi |
2587 |
- waf-utils_src_configure "${myconf[@]}" |
2588 |
-} |
2589 |
- |
2590 |
-multilib_src_compile(){ |
2591 |
- use elibc_musl && append-cflags "-D__NEED_pid_t" |
2592 |
- waf-utils_src_compile |
2593 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
2594 |
-} |
2595 |
- |
2596 |
-multilib_src_test() { |
2597 |
- if multilib_is_native_abi; then |
2598 |
- WAF_MAKE=1 \ |
2599 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
2600 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
2601 |
- waf test || die |
2602 |
- fi |
2603 |
-} |
2604 |
- |
2605 |
-multilib_src_install() { |
2606 |
- waf-utils_src_install |
2607 |
- |
2608 |
- if multilib_is_native_abi && use doc; then |
2609 |
- doman apidocs/man/man3/*.3 |
2610 |
- docinto html |
2611 |
- dodoc -r apidocs/html/* |
2612 |
- fi |
2613 |
-} |
2614 |
- |
2615 |
-pkg_postinst() { |
2616 |
- if has_version sys-auth/sssd; then |
2617 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
2618 |
- ewarn "so please try to rebuild it before reporting bugs." |
2619 |
- ewarn "See https://bugs.gentoo.org/404281" |
2620 |
- fi |
2621 |
-} |
2622 |
|
2623 |
diff --git a/sys-libs/ldb/ldb-2.0.8.ebuild b/sys-libs/ldb/ldb-2.0.8.ebuild |
2624 |
deleted file mode 100644 |
2625 |
index 06ee854..0000000 |
2626 |
--- a/sys-libs/ldb/ldb-2.0.8.ebuild |
2627 |
+++ /dev/null |
2628 |
@@ -1,110 +0,0 @@ |
2629 |
-# Copyright 1999-2020 Gentoo Authors |
2630 |
-# Distributed under the terms of the GNU General Public License v2 |
2631 |
- |
2632 |
-EAPI=6 |
2633 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
2634 |
-PYTHON_REQ_USE="threads(+)" |
2635 |
- |
2636 |
-inherit python-single-r1 waf-utils multilib-minimal eutils |
2637 |
- |
2638 |
-DESCRIPTION="An LDAP-like embedded database" |
2639 |
-HOMEPAGE="https://ldb.samba.org" |
2640 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
2641 |
- |
2642 |
-LICENSE="LGPL-3" |
2643 |
-SLOT="0/${PV}" |
2644 |
-KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 x86" |
2645 |
-IUSE="doc +ldap +lmdb python test" |
2646 |
- |
2647 |
-RESTRICT="!test? ( test )" |
2648 |
-REQUIRED_USE="test? ( python )" |
2649 |
- |
2650 |
-RDEPEND=" |
2651 |
- !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) |
2652 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
2653 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
2654 |
- >=sys-libs/talloc-2.2.0[python?,${MULTILIB_USEDEP}] |
2655 |
- >=sys-libs/tdb-1.4.2[python?,${MULTILIB_USEDEP}] |
2656 |
- >=sys-libs/tevent-0.10.0[python(+)?,${MULTILIB_USEDEP}] |
2657 |
- ldap? ( net-nds/openldap ) |
2658 |
- lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] ) |
2659 |
- python? ( ${PYTHON_DEPS} ) |
2660 |
-" |
2661 |
- |
2662 |
-DEPEND="dev-libs/libxslt |
2663 |
- doc? ( app-doc/doxygen ) |
2664 |
- virtual/pkgconfig |
2665 |
- ${PYTHON_DEPS} |
2666 |
- ${RDEPEND} |
2667 |
-" |
2668 |
- |
2669 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
2670 |
- |
2671 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
2672 |
- |
2673 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
2674 |
- |
2675 |
-PATCHES=( |
2676 |
- "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch |
2677 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
2678 |
- "${FILESDIR}"/${P}-include-fcntl.h-for-pid_t.patch |
2679 |
-) |
2680 |
- |
2681 |
-pkg_setup() { |
2682 |
- python-single-r1_pkg_setup |
2683 |
-} |
2684 |
- |
2685 |
-src_prepare() { |
2686 |
- default |
2687 |
- multilib_copy_sources |
2688 |
-} |
2689 |
- |
2690 |
-multilib_src_configure() { |
2691 |
- local myconf=( |
2692 |
- $(usex ldap '' --disable-ldap) |
2693 |
- $(usex lmdb '' --without-ldb-lmdb) |
2694 |
- --disable-rpath |
2695 |
- --disable-rpath-install --bundled-libraries=NONE |
2696 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
2697 |
- --builtin-libraries=NONE |
2698 |
- ) |
2699 |
- if ! multilib_is_native_abi; then |
2700 |
- myconf+=( --disable-python ) |
2701 |
- else |
2702 |
- use python || myconf+=( --disable-python ) |
2703 |
- fi |
2704 |
- waf-utils_src_configure "${myconf[@]}" |
2705 |
-} |
2706 |
- |
2707 |
-multilib_src_compile() { |
2708 |
- use elibc_musl && append-cflags "-D__NEED_pid_t" |
2709 |
- waf-utils_src_compile |
2710 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
2711 |
-} |
2712 |
- |
2713 |
-multilib_src_test() { |
2714 |
- if multilib_is_native_abi; then |
2715 |
- WAF_MAKE=1 \ |
2716 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
2717 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
2718 |
- waf test || die |
2719 |
- fi |
2720 |
-} |
2721 |
- |
2722 |
-multilib_src_install() { |
2723 |
- waf-utils_src_install |
2724 |
- |
2725 |
- if multilib_is_native_abi && use doc; then |
2726 |
- doman apidocs/man/man3/*.3 |
2727 |
- docinto html |
2728 |
- dodoc -r apidocs/html/* |
2729 |
- fi |
2730 |
-} |
2731 |
- |
2732 |
-pkg_postinst() { |
2733 |
- if has_version sys-auth/sssd; then |
2734 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
2735 |
- ewarn "so please try to rebuild it before reporting bugs." |
2736 |
- ewarn "See https://bugs.gentoo.org/404281" |
2737 |
- fi |
2738 |
-} |
2739 |
|
2740 |
diff --git a/sys-libs/ldb/metadata.xml b/sys-libs/ldb/metadata.xml |
2741 |
deleted file mode 100644 |
2742 |
index db4a710..0000000 |
2743 |
--- a/sys-libs/ldb/metadata.xml |
2744 |
+++ /dev/null |
2745 |
@@ -1,14 +0,0 @@ |
2746 |
-<?xml version="1.0" encoding="UTF-8"?> |
2747 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
2748 |
-<pkgmetadata> |
2749 |
- <maintainer type="project"> |
2750 |
- <email>samba@g.o</email> |
2751 |
- <name>Samba</name> |
2752 |
- </maintainer> |
2753 |
- <use> |
2754 |
- <flag name="doc">Builds documentation</flag> |
2755 |
- <flag name="ldap">Enable LDAP support</flag> |
2756 |
- <flag name="lmdb">Enable LMDB backend</flag> |
2757 |
- <flag name="python">Enable Python support</flag> |
2758 |
- </use> |
2759 |
-</pkgmetadata> |
2760 |
|
2761 |
diff --git a/sys-libs/ntdb/Manifest b/sys-libs/ntdb/Manifest |
2762 |
deleted file mode 100644 |
2763 |
index 08e6670..0000000 |
2764 |
--- a/sys-libs/ntdb/Manifest |
2765 |
+++ /dev/null |
2766 |
@@ -1 +0,0 @@ |
2767 |
-DIST ntdb-1.0.tar.gz 794585 SHA256 817ae862b1e6976cab867468f209d8417a90c7c2fcf0ec079a45645d7e7ebf49 SHA512 27f550f85a7bfd105d4115b55f9919f1871964f576a8470688fe8040fb9e2be209246a291d78f55c61cf0920238d7f41917ad7e2d44b202382b3ea47c8c97100 WHIRLPOOL 71a007312eacf7805dadc0b0089f7344b270a628e9dc3c1d8aeb505efdeead3b66cb8006377550c672a15cbf814264cb16c93892f7319bc031b8fe669bf29747 |
2768 |
|
2769 |
diff --git a/sys-libs/ntdb/files/ntdb-1.0-drop-need-strtoq.patch b/sys-libs/ntdb/files/ntdb-1.0-drop-need-strtoq.patch |
2770 |
deleted file mode 100644 |
2771 |
index 299a580..0000000 |
2772 |
--- a/sys-libs/ntdb/files/ntdb-1.0-drop-need-strtoq.patch |
2773 |
+++ /dev/null |
2774 |
@@ -1,21 +0,0 @@ |
2775 |
-diff -Naur ntdb-1.0-abi_x86_64.amd64/lib/replace/replace.c ntdb-1.0/lib/replace/replace.c |
2776 |
---- ntdb-1.0-abi_x86_64.amd64/lib/replace/replace.c 2013-10-27 04:21:21.000000000 -0400 |
2777 |
-+++ ntdb-1.0/lib/replace/replace.c 2016-04-02 12:10:43.809446903 -0400 |
2778 |
-@@ -527,7 +527,7 @@ |
2779 |
- return nb; |
2780 |
- } |
2781 |
- #else |
2782 |
--#error "You need the strtoq function" |
2783 |
-+#warning "You need the strtoq function" |
2784 |
- #endif /* HAVE_STRTOQ */ |
2785 |
- #endif /* HAVE_BSD_STRTOLL */ |
2786 |
- #endif /* HAVE_STRTOLL */ |
2787 |
-@@ -565,7 +565,7 @@ |
2788 |
- return nb; |
2789 |
- } |
2790 |
- #else |
2791 |
--#error "You need the strtouq function" |
2792 |
-+#warning "You need the strtouq function" |
2793 |
- #endif /* HAVE_STRTOUQ */ |
2794 |
- #endif /* HAVE_BSD_STRTOLL */ |
2795 |
- #endif /* HAVE_STRTOULL */ |
2796 |
|
2797 |
diff --git a/sys-libs/ntdb/metadata.xml b/sys-libs/ntdb/metadata.xml |
2798 |
deleted file mode 100644 |
2799 |
index f05d1f2..0000000 |
2800 |
--- a/sys-libs/ntdb/metadata.xml |
2801 |
+++ /dev/null |
2802 |
@@ -1,12 +0,0 @@ |
2803 |
-<?xml version="1.0" encoding="UTF-8"?> |
2804 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
2805 |
-<pkgmetadata> |
2806 |
- <maintainer type="person"> |
2807 |
- <email>polynomial-c@g.o</email> |
2808 |
- <name>Lars Wendler</name> |
2809 |
- </maintainer> |
2810 |
-<maintainer type="project"> |
2811 |
- <email>samba@g.o</email> |
2812 |
- <name>Samba</name> |
2813 |
- </maintainer> |
2814 |
-</pkgmetadata> |
2815 |
|
2816 |
diff --git a/sys-libs/ntdb/ntdb-1.0-r1.ebuild b/sys-libs/ntdb/ntdb-1.0-r1.ebuild |
2817 |
deleted file mode 100644 |
2818 |
index 1183e1f..0000000 |
2819 |
--- a/sys-libs/ntdb/ntdb-1.0-r1.ebuild |
2820 |
+++ /dev/null |
2821 |
@@ -1,53 +0,0 @@ |
2822 |
-# Copyright 1999-2016 Gentoo Foundation |
2823 |
-# Distributed under the terms of the GNU General Public License v2 |
2824 |
- |
2825 |
-EAPI=5 |
2826 |
- |
2827 |
-PYTHON_COMPAT=( python2_7 ) |
2828 |
-PYTHON_REQ_USE="threads(+)" |
2829 |
- |
2830 |
-inherit waf-utils multilib-minimal python-single-r1 |
2831 |
- |
2832 |
-DESCRIPTION="A not-so trivial keyword/data database system" |
2833 |
-HOMEPAGE="http://tdb.samba.org/" |
2834 |
-SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz" |
2835 |
- |
2836 |
-LICENSE="GPL-3" |
2837 |
-SLOT="0" |
2838 |
-KEYWORDS="amd64 arm arm64 ppc x86" |
2839 |
-IUSE="python" |
2840 |
- |
2841 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
2842 |
- |
2843 |
-RDEPEND="python? ( ${PYTHON_DEPS} )" |
2844 |
-DEPEND="!<net-fs/samba-4.1.7 |
2845 |
- ${RDEPEND} |
2846 |
- ${PYTHON_DEPS} |
2847 |
- app-text/docbook-xml-dtd:4.2" |
2848 |
- |
2849 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
2850 |
- |
2851 |
-src_prepare() { |
2852 |
- epatch "${FILESDIR}"/${P}-drop-need-strtoq.patch |
2853 |
- multilib_copy_sources |
2854 |
-} |
2855 |
- |
2856 |
-multilib_src_configure() { |
2857 |
- local extra_opts=() |
2858 |
- if ! multilib_is_native_abi || ! use python; then |
2859 |
- extra_opts+=( --disable-python ) |
2860 |
- fi |
2861 |
- |
2862 |
- waf-utils_src_configure \ |
2863 |
- "${extra_opts[@]}" |
2864 |
-} |
2865 |
- |
2866 |
-multilib_src_test() { |
2867 |
- # the default src_test runs 'make test' and 'make check', letting |
2868 |
- # the tests fail occasionally (reason: unknown) |
2869 |
- emake check |
2870 |
-} |
2871 |
- |
2872 |
-multilib_src_install() { |
2873 |
- waf-utils_src_install |
2874 |
-} |