aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory M. Tuner <gmt@be-evil.net>2013-11-26 03:18:35 -0800
committerGregory M. Tuner <gmt@be-evil.net>2013-11-26 03:18:35 -0800
commit0d55165d3f218c26863093715d380fd5c1f3d3b5 (patch)
treeee85ac4604d4511bac2506c6dbf89664f615544e /sys-libs
parentnew eclass: waf-utils-multilib (diff)
downloadgmt-0d55165d3f218c26863093715d380fd5c1f3d3b5.tar.gz
gmt-0d55165d3f218c26863093715d380fd5c1f3d3b5.tar.bz2
gmt-0d55165d3f218c26863093715d380fd5c1f3d3b5.zip
new ebuild: sys-apps/talloc
Note that this can't remove all of the associated files from app-emulation/emul-linux-x86-baselibs because waf will not cross-compile libpytalloc-utils.so. But that is a rather difficult problem to solve, and getting us 75% of the way there is better than 0%, I think. Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/talloc/ChangeLog230
-rw-r--r--sys-libs/talloc/Manifest4
-rw-r--r--sys-libs/talloc/metadata.xml12
-rw-r--r--sys-libs/talloc/talloc-2.1.0-r1.ebuild85
4 files changed, 331 insertions, 0 deletions
diff --git a/sys-libs/talloc/ChangeLog b/sys-libs/talloc/ChangeLog
new file mode 100644
index 0000000..9a37ab0
--- /dev/null
+++ b/sys-libs/talloc/ChangeLog
@@ -0,0 +1,230 @@
+# ChangeLog for sys-libs/talloc
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/ChangeLog,v 1.60 2013/09/13 14:04:51 polynomial-c Exp $
+
+*talloc-2.1.0 (13 Sep 2013)
+
+ 13 Sep 2013; Lars Wendler <polynomial-c@gentoo.org> -talloc-2.0.7.ebuild,
+ +talloc-2.1.0.ebuild:
+ Version bump. Removed old.
+
+ 06 Sep 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.8.ebuild:
+ Stable for sparc, wrt bug #466710
+
+ 05 Sep 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.8.ebuild:
+ Stable for ppc64, wrt bug #466710
+
+ 05 Sep 2013; Mike Frysinger <vapier@gentoo.org> talloc-2.0.8.ebuild:
+ Mark s390/sh stable #466710.
+
+ 01 Sep 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.8.ebuild:
+ Stable for alpha, wrt bug #466710
+
+ 29 Aug 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.8.ebuild:
+ Stable for ia64, wrt bug #466710
+
+ 26 Aug 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.8.ebuild:
+ Stable for ppc, wrt bug #466710
+
+ 25 Aug 2013; Markus Meier <maekke@gentoo.org> talloc-2.0.8.ebuild,
+ talloc-2.0.8-r1.ebuild:
+ stabilize correct version for bug #478260
+
+ 25 Aug 2013; Markus Meier <maekke@gentoo.org> talloc-2.0.8-r1.ebuild:
+ arm stable, bug #478260
+
+ 24 Aug 2013; Jeroen Roovers <jer@gentoo.org> talloc-2.0.8.ebuild:
+ Stable for HPPA (bug #466710).
+
+ 07 Aug 2013; Lars Wendler <polynomial-c@gentoo.org> metadata.xml:
+ Removed unused local USE flag description.
+
+ 07 Aug 2013; Lars Wendler <polynomial-c@gentoo.org> -talloc-1.3.0.ebuild,
+ -talloc-1.3.1.ebuild, -talloc-2.0.0.ebuild, -talloc-2.0.0-r1.ebuild,
+ -talloc-2.0.1.ebuild, -talloc-2.0.1-r1.ebuild, -talloc-2.0.1-r2.ebuild,
+ -talloc-2.0.5.ebuild, -files/talloc-2.0.0-without-doc.patch,
+ -files/talloc-2.0.1-respect-ldflags.patch:
+ Removed old versions.
+
+*talloc-2.0.8-r1 (30 Jun 2013)
+
+ 30 Jun 2013; Justin Lecher <jlec@gentoo.org> +talloc-2.0.8-r1.ebuild,
+ metadata.xml:
+ Bump to new python eclass
+
+ 23 Apr 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.8.ebuild:
+ Stable for x86, wrt bug #466710
+
+ 23 Apr 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.8.ebuild:
+ Stable for amd64, wrt bug #466710
+
+ 06 Mar 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.7.ebuild:
+ Stable for sh, wrt bug #458712
+
+ 03 Mar 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.7.ebuild:
+ Stable for sparc, wrt bug #458712
+
+ 03 Mar 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.7.ebuild:
+ Stable for s390, wrt bug #458712
+
+ 03 Mar 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.7.ebuild:
+ Stable for ia64, wrt bug #458712
+
+ 03 Mar 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.7.ebuild:
+ Stable for alpha, wrt bug #458712
+
+ 03 Mar 2013; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.7.ebuild:
+ Stable for arm, wrt bug #458712
+
+ 25 Feb 2013; Zac Medico <zmedico@gentoo.org> talloc-2.0.8.ebuild:
+ Add ~arm-linux keyword.
+
+*talloc-2.0.8 (05 Dec 2012)
+
+ 05 Dec 2012; Patrick Lauer <patrick@gentoo.org> +talloc-2.0.8.ebuild:
+ Bump
+
+ 29 Nov 2012; Jeroen Roovers <jer@gentoo.org> talloc-2.0.7.ebuild:
+ Stable for HPPA (bug #432754).
+
+ 25 Nov 2012; Anthony G. Basile <blueness@gentoo.org> talloc-2.0.7.ebuild:
+ stable ppc ppc64, bug #444686
+
+ 06 Jul 2012; Jeff Horelick <jdhore@gentoo.org> talloc-2.0.7.ebuild:
+ marked x86 per bug 417113
+
+ 12 May 2012; Alexis Ballier <aballier@gentoo.org> talloc-2.0.7.ebuild:
+ keyword ~amd64-fbsd
+
+ 07 Mar 2012; Patrick Lauer <patrick@gentoo.org> talloc-2.0.5.ebuild:
+ Restrict py3 #354587
+
+ 07 Mar 2012; Patrick Lauer <patrick@gentoo.org> talloc-2.0.7.ebuild:
+ Restrict py3 #354587
+
+ 25 Feb 2012; Agostino Sarubbo <ago@gentoo.org> talloc-2.0.7.ebuild:
+ Stable for amd64, wrt bug #405617
+
+*talloc-2.0.1-r2 (18 Dec 2011)
+
+ 18 Dec 2011; Mike Gilbert <floppym@gentoo.org> +talloc-2.0.1-r2.ebuild:
+ Install missing SONAME symlink. Resolves bug 394787.
+
+ 18 Oct 2011; Víctor Ostorga <vostorga@gentoo.org> talloc-2.0.7.ebuild:
+ Adding block on <sys-libs/talloc-2.0.5 to DEPEND, bug 387509
+
+*talloc-2.0.7 (27 Sep 2011)
+
+ 27 Sep 2011; Víctor Ostorga <vostorga@gentoo.org> +talloc-2.0.7.ebuild:
+ Version bump to 2.0.7
+
+ 27 Aug 2011; Fabian Groffen <grobian@gentoo.org> talloc-2.0.5.ebuild:
+ Fix install_names on Darwin, working around tremendously broken
+ waf-buildsystem, bug #374455, keyworded ~x64-macos
+
+ 17 Aug 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ talloc-2.0.5.ebuild:
+ keyword ~sparc-solaris
+
+ 07 Jul 2011; Alexis Ballier <aballier@gentoo.org> talloc-2.0.5.ebuild:
+ keyword ~x86-fbsd
+
+ 02 Jun 2011; Víctor Ostorga <vostorga@gentoo.org> talloc-2.0.5.ebuild:
+ Adding dependency dev-lang/python[threads] bug 363071
+
+ 16 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> talloc-2.0.5.ebuild:
+ Stop unnecessarily forcing Python 2.6.
+
+ 15 Mar 2011; Víctor Ostorga <vostorga@gentoo.org> talloc-2.0.5.ebuild:
+ Fixing collision with /usr/lib/libtalloc.so.2 bug #351608 setting python
+ 2.6 as runtime python bug #354587 #357269
+
+ 01 Mar 2011; Jonathan Callen <abcd@gentoo.org> talloc-2.0.5.ebuild:
+ Add ~amd64-linux/~x86-linux keywords
+
+*talloc-2.0.5 (13 Jan 2011)
+
+ 13 Jan 2011; Tomáš Chvátal <scarabeus@gentoo.org> +talloc-2.0.5.ebuild:
+ Add new talloc version. NOTE: doc xsl file is fetched from net rather than
+ using the system one, this needs to be fixed.
+
+ 27 Sep 2010; Mart Raudsepp <leio@gentoo.org> talloc-2.0.1-r1.ebuild:
+ Marked ~mips for bug #285952
+
+ 12 Aug 2010; Joseph Jezak <josejx@gentoo.org> talloc-2.0.1-r1.ebuild:
+ Marked ppc/ppc64 stable for bug #300158.
+
+ 17 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org>
+ talloc-2.0.1-r1.ebuild, +files/talloc-2.0.1-respect-ldflags.patch:
+ Respect LDFLAGS. Fixes bug 323497. Thanks Andreis Vinogradovs
+ <spamslepnoga@inbox.ru> for report.
+
+ 05 Jun 2010; Raúl Porcel <armin76@gentoo.org> talloc-2.0.1-r1.ebuild:
+ alpha/arm/ia64/s390/sh/sparc stable wrt #300158
+
+ 19 May 2010; Jeroen Roovers <jer@gentoo.org> talloc-2.0.1-r1.ebuild:
+ Stable for HPPA (bug #300158).
+
+ 18 May 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ talloc-2.0.1-r1.ebuild:
+ x86 stable wrt bug #300158
+
+ 03 May 2010; Olivier Crête <tester@gentoo.org> ChangeLog:
+ amd64 stable, bug #300158
+
+*talloc-2.0.1-r1 (03 Apr 2010)
+
+ 03 Apr 2010; Tiziano Müller <dev-zero@gentoo.org>
+ +talloc-2.0.1-r1.ebuild, metadata.xml:
+ Fixed: unnecessary inherit, swig dependency, documentation install,
+ static-libs building.
+
+*talloc-2.0.1 (26 Jan 2010)
+
+ 26 Jan 2010; Patrick Lauer <patrick@gentoo.org> +talloc-2.0.1.ebuild:
+ Bump
+
+ 06 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ talloc-2.0.0-r1.ebuild:
+ Block older samba (to force uninstall).
+
+ 30 Nov 2009; Raúl Porcel <armin76@gentoo.org> talloc-2.0.0-r1.ebuild:
+ Add ~arm/~ia64/~s390/~sh/~sparc wrt #285952
+
+ 29 Nov 2009; Tobias Klausmann <klausman@gentoo.org>
+ talloc-2.0.0-r1.ebuild:
+ Keyworded on alpha, bug #285952
+
+ 08 Nov 2009; Joseph Jezak <josejx@gentoo.org> talloc-2.0.0-r1.ebuild:
+ Marked ~ppc for bug #285952.
+
+ 04 Nov 2009; Patrick Lauer <patrick@gentoo.org> talloc-1.3.0.ebuild,
+ talloc-1.3.1.ebuild, talloc-2.0.0.ebuild, talloc-2.0.0-r1.ebuild:
+ Small dep fix
+
+ 23 Oct 2009; Patrick Lauer <patrick@gentoo.org> talloc-1.3.0.ebuild,
+ talloc-1.3.1.ebuild:
+ Fixing 1.3 ebuilds too
+
+*talloc-2.0.0-r1 (23 Oct 2009)
+
+ 23 Oct 2009; Patrick Lauer <patrick@gentoo.org> +talloc-2.0.0-r1.ebuild,
+ +files/talloc-2.0.0-without-doc.patch:
+ Ebuild cleanups thanks to pva, bug #288536, making docs optional #290193,
+ thanks to Andrew Church for the patch
+
+ 11 Oct 2009; Petteri Räty <betelgeuse@gentoo.org> talloc-2.0.0.ebuild:
+ Block <net-fs/samba-libs-3.4 for bug #288545.
+
+ 09 Oct 2009; Patrick Lauer <patrick@gentoo.org> talloc-1.3.0.ebuild,
+ talloc-1.3.1.ebuild, talloc-2.0.0.ebuild:
+ Improve description
+
+*talloc-2.0.0 (09 Oct 2009)
+*talloc-1.3.1 (09 Oct 2009)
+*talloc-1.3.0 (09 Oct 2009)
+
+ 09 Oct 2009; Patrick Lauer <patrick@gentoo.org> +talloc-1.3.0.ebuild,
+ +talloc-1.3.1.ebuild, +talloc-2.0.0.ebuild, +metadata.xml:
+ Initial commit. Ebuilds based on those provided by Marcel Greter in
+ #231273
diff --git a/sys-libs/talloc/Manifest b/sys-libs/talloc/Manifest
new file mode 100644
index 0000000..444cbf3
--- /dev/null
+++ b/sys-libs/talloc/Manifest
@@ -0,0 +1,4 @@
+DIST talloc-2.1.0.tar.gz 416097 SHA256 0701393882647f823503e3aa075bc67d75c194b376822377dae2d20f9130f08f SHA512 7bdc448c91211299edf16502d263362ac660d5123d8ea7bb2ed58af2231537e4f29da5384b8d5be10254a02b193520890e95a73d697c40eba09728a9b6d56d57 WHIRLPOOL d8593cba27f5d971acb39acacdbea70df5b80ed31288cf440a2ebeaca266e070deeea8322f4ba5682580f66044128f18dd6d76b735aa0670aed46f13f5a4e857
+EBUILD talloc-2.1.0-r1.ebuild 3202 SHA256 a1deb5c4a53a20c64db8712d8b2db115be078948643e139db2042178cc335b66 SHA512 9c5d817ace6780744a37940c04cb81080e2d8da95d4430bf3325557f739172db90c7357523e6b535463354be224d21f6034a553be649af16482ba5b125780a43 WHIRLPOOL 95cf69a2989a5c2299df5474d6656e5613d7e3a898b43f0f008978333f7ed6b5a81d129956aeff202238ef5906d0de8d1f78288c263566006debf2584113a863
+MISC ChangeLog 8102 SHA256 08fd0460a7031fe60fd926e5b0c7e21ee0162f4957f8fa1eb4bf7df052043e42 SHA512 3780fe3bc7cd310579981672ff5e5604088d2672bd357159ba3d7df0a094e80016f2ac6038f99ac8f049869543feff6fdef324bef51594ccc6c024f772b0ff10 WHIRLPOOL d53f1eadd59c86a30536f22268b8b8659ae1fdb447fffef95a898eac0e4cb75e3691d7645ee1bdd4492c7c75c22d8f852e61fc6363c30f890de702cbdfae7385
+MISC metadata.xml 341 SHA256 f12826bad0472c46c8bd1ee18e7ab0acdc4cf26dd8b1322b1a93ff7c95b14a7e SHA512 dd141022832b17bc47f40cc940c2165c849b5ad786df5cbba7685da4543a8969ed992fb9dda3a136d045418f6de731c83909f3d02fd3ad2dee4d0ab4689b0c44 WHIRLPOOL 1fff0d00542a6e5b3f64edb985e53fe978a9d91dde0b0118cf790dc113a1a3e3fd01632f2f19517af9b47fef51902de579e43c30eaedf3fa298230848cb125a3
diff --git a/sys-libs/talloc/metadata.xml b/sys-libs/talloc/metadata.xml
new file mode 100644
index 0000000..be0176a
--- /dev/null
+++ b/sys-libs/talloc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>samba</herd>
+ <maintainer>
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+ <use>
+ <flag name="compat">Enable extra compatibility stuff</flag>
+ </use>
+</pkgmetadata>
diff --git a/sys-libs/talloc/talloc-2.1.0-r1.ebuild b/sys-libs/talloc/talloc-2.1.0-r1.ebuild
new file mode 100644
index 0000000..f02db22
--- /dev/null
+++ b/sys-libs/talloc/talloc-2.1.0-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="threads"
+
+inherit waf-utils-multilib python-single-r1 multilib
+
+DESCRIPTION="Samba talloc library"
+HOMEPAGE="http://talloc.samba.org/"
+SRC_URI="http://samba.org/ftp/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="compat python"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ !!<sys-libs/talloc-2.0.5"
+DEPEND="${RDEPEND}
+ dev-libs/libxslt
+ || ( dev-lang/python:2.7[threads,${MULTILIB_USEDEP}] dev-lang/python:2.6[threads,${MULTILIB_USEDEP}] )
+ abi_x86_32? (
+ !<=app-emulation/emul-linux-x86-baselibs-20131008-r1
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
+ )"
+
+WAF_BINARY_REL="buildtools/bin/waf"
+
+# sigh, apparently waf will only install pytalloc.h if system talloc is used, which can vary per-abi.
+# However, it seems that the same hard-coded header is used regardless -- which means that all we are
+# doing here is appeasing the framework. Some option to ignore header conflicts should really be introduced.
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pytalloc.h )
+
+# Note that since native python is used for cross-abi building, waf only generates libtalloc.so but not
+# libpytalloc-util.so. For this reason, in app-emulation/emul-linux-x86-baselibs still provides those
+# files. However much sense this makes for building, it doesn't make a ton of sense of packaging.
+# The file is supposed to be provided by this ebuild. In the case of ABI_X86="32 64", for example,
+# the generated libpytalloc-util.so library links against libpython.so, which is provided...
+# This suggests that to fully solve the problem, we'll either need to have a full 32-bit python binary
+# around (again, in the ABI_X86="32 64" case -- but similar cases presumably have the same result), or,
+# hack on the build scripts to enable cross-abi building somehow. Bleh, this sucks.
+
+src_configure() {
+ local extra_opts=""
+
+ use compat && extra_opts+=" --enable-talloc-compat1"
+ use python || extra_opts+=" --disable-python"
+ waf-utils-multilib_src_configure \
+ ${extra_opts}
+}
+
+src_install() {
+ waf-utils-multilib_src_install
+
+ # waf is stupid, and no, we can't fix the build-system, since it's provided
+ # as a brilliant binary blob thats decompressed on the fly
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ multilib_foreach_abi run_in_build_dir do_darwin_install_name_tool
+ fi
+}
+
+do_darwin_install_name_tool() {
+ install_name_tool \
+ -id "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
+ "${ED}"/usr/$(get_libdir)/libtalloc.2.0.5.dylib || die
+ if use python ; then
+ install_name_tool \
+ -id "${EPREFIX}"/usr/$(get_libdir)/libpytalloc-util.2.dylib \
+ "${ED}"/usr/$(get_libdir)/libpytalloc-util.2.0.5.dylib || die
+ install_name_tool \
+ -change "${S}/bin/default/libtalloc.dylib" \
+ "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
+ "${ED}"/usr/$(get_libdir)/libpytalloc-util.2.0.5.dylib || die
+ install_name_tool \
+ -change "${S}/bin/default/libtalloc.dylib" \
+ "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
+ "${ED}"$(python_get_sitedir)/talloc.bundle || die
+ fi
+}