1 |
commit: 59d0ab4638659a856173a7d439dd8c4df5a9d107 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 4 15:41:41 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 4 16:16:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d0ab46 |
7 |
|
8 |
sys-libs/talloc: Bump to version 2.3.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.75, Repoman-2.3.17 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-libs/talloc/Manifest | 1 + |
14 |
sys-libs/talloc/talloc-2.3.0.ebuild | 96 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 97 insertions(+) |
16 |
|
17 |
diff --git a/sys-libs/talloc/Manifest b/sys-libs/talloc/Manifest |
18 |
index 51d62bd0592..4c8b7f37ef8 100644 |
19 |
--- a/sys-libs/talloc/Manifest |
20 |
+++ b/sys-libs/talloc/Manifest |
21 |
@@ -4,3 +4,4 @@ DIST talloc-2.1.16.tar.gz 634906 BLAKE2B 5f9f2e5ad53944d9a7b5bdb990aa6ab65a3f0d9 |
22 |
DIST talloc-2.1.5.tar.gz 436193 BLAKE2B 88a9ca32b6c6ae869e1761cb027847797e4ef3bb58dc618bae4b00f95637a0a8511f8704fa03ca1ca935127413a10d5297ba3843f0ea6992a97ce586f66cb705 SHA512 b938d67fcf4c6618f1149b4ec665957a604e3b07ee26e96ed36d94312db8f56b50498f69f9a07782f7f10a25047604e32b0d1786e1051d5f36b696c2755f8741 |
23 |
DIST talloc-2.1.9.tar.gz 440335 BLAKE2B dde37d99b3cfb63209cdb832444f0416b7c05151cec537e220e13b1148d59b89fb712b4211e078b23f1c6608c8be6df6055d5f394b091ccdea3966c04cbb73be SHA512 a8f051bb15aba769ca286acad0946605d0053b0d149b4da2e6ecc333345f3e603d13a7f062452ae0f165615a4170ebdd7f41fc1b46c7a360000d5308bc304cbb |
24 |
DIST talloc-2.2.0.tar.gz 633467 BLAKE2B efdb53dbd4d43ce5d682faec01fb53d9c4b5dd7e97cf125e12661e7432bb968f577416cccbd8ee5003811bdd03dcc949b2e7a06312c497fb9eef54667209a653 SHA512 e762c6443ff2c0c35a9dbf7ac6e64a9182c04a218ad0f26fd67ac9620d9ae26d68b8dd2b21ff37e1df0e53748c84bece27890c5c4939eaeb61c502a698802388 |
25 |
+DIST talloc-2.3.0.tar.gz 642364 BLAKE2B 148ad3b478617c34c16c2ef454796a5dc918fc0a3e91bd965943ba66860b9b7df21fd2b69f5481f46a712a55a8f1a5e39db9f4ac779896d17d090290292b2ed6 SHA512 f0020d83520ea24711040c44600180fabae7b0e0668a961a66f5d4f77d89b09d799ddadf781ee2d044ad059b2d6a2e5232068fd77b300a8366592c0ce2289837 |
26 |
|
27 |
diff --git a/sys-libs/talloc/talloc-2.3.0.ebuild b/sys-libs/talloc/talloc-2.3.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..320f1bbb31d |
30 |
--- /dev/null |
31 |
+++ b/sys-libs/talloc/talloc-2.3.0.ebuild |
32 |
@@ -0,0 +1,96 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
39 |
+PYTHON_REQ_USE="threads(+)" |
40 |
+ |
41 |
+inherit waf-utils python-single-r1 multilib multilib-minimal |
42 |
+ |
43 |
+DESCRIPTION="Samba talloc library" |
44 |
+HOMEPAGE="https://talloc.samba.org/" |
45 |
+SRC_URI="https://www.samba.org/ftp/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-3 LGPL-3+ LGPL-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x64-solaris" |
50 |
+IUSE="compat +python" |
51 |
+ |
52 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
53 |
+ |
54 |
+RDEPEND="!elibc_FreeBSD? ( |
55 |
+ !elibc_SunOS? ( |
56 |
+ !elibc_Darwin? ( |
57 |
+ dev-libs/libbsd[${MULTILIB_USEDEP}] |
58 |
+ ) |
59 |
+ ) |
60 |
+ ) |
61 |
+ python? ( ${PYTHON_DEPS} ) |
62 |
+ !!<sys-libs/talloc-2.0.5" |
63 |
+DEPEND="${RDEPEND} |
64 |
+ sys-devel/gettext |
65 |
+ dev-libs/libxslt |
66 |
+ ${PYTHON_DEPS}" |
67 |
+ |
68 |
+WAF_BINARY="${S}/buildtools/bin/waf" |
69 |
+ |
70 |
+RESTRICT="test" |
71 |
+ |
72 |
+MULTILIB_WRAPPED_HEADERS=( |
73 |
+ # python goes only for native |
74 |
+ /usr/include/pytalloc.h |
75 |
+) |
76 |
+ |
77 |
+pkg_setup() { |
78 |
+ # try to turn off distcc and ccache for people that have a problem with it |
79 |
+ export DISTCC_DISABLE=1 |
80 |
+ export CCACHE_DISABLE=1 |
81 |
+ |
82 |
+ python-single-r1_pkg_setup |
83 |
+} |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ default |
87 |
+ |
88 |
+ # what would you expect of waf? i won't even waste time trying. |
89 |
+ multilib_copy_sources |
90 |
+} |
91 |
+ |
92 |
+multilib_src_configure() { |
93 |
+ local extra_opts=( |
94 |
+ $(usex compat --enable-talloc-compat1 '') |
95 |
+ $(multilib_native_usex python '' --disable-python) |
96 |
+ $([[ ${CHOST} == *-solaris* ]] && echo '--disable-symbol-versions') |
97 |
+ ) |
98 |
+ waf-utils_src_configure "${extra_opts[@]}" |
99 |
+} |
100 |
+ |
101 |
+multilib_src_compile() { |
102 |
+ waf-utils_src_compile |
103 |
+} |
104 |
+ |
105 |
+multilib_src_install() { |
106 |
+ waf-utils_src_install |
107 |
+ |
108 |
+ # waf is stupid, and no, we can't fix the build-system, since it's provided |
109 |
+ # as a brilliant binary blob thats decompressed on the fly |
110 |
+ if [[ ${CHOST} == *-darwin* ]] ; then |
111 |
+ install_name_tool \ |
112 |
+ -id "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \ |
113 |
+ "${ED}"/usr/$(get_libdir)/libtalloc.2.0.5.dylib || die |
114 |
+ if use python ; then |
115 |
+ install_name_tool \ |
116 |
+ -id "${EPREFIX}"/usr/$(get_libdir)/libpytalloc-util.2.dylib \ |
117 |
+ "${ED}"/usr/$(get_libdir)/libpytalloc-util.2.0.5.dylib || die |
118 |
+ install_name_tool \ |
119 |
+ -change "${S}/bin/default/libtalloc.dylib" \ |
120 |
+ "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \ |
121 |
+ "${ED}"/usr/$(get_libdir)/libpytalloc-util.2.0.5.dylib || die |
122 |
+ install_name_tool \ |
123 |
+ -change "${S}/bin/default/libtalloc.dylib" \ |
124 |
+ "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \ |
125 |
+ "${D}"$(python_get_sitedir)/talloc.bundle || die |
126 |
+ fi |
127 |
+ fi |
128 |
+} |