diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-12-20 21:49:38 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-12-20 21:49:38 +0000 |
commit | f364fd945085c9462f6e3474474699b37ea7fbf2 (patch) | |
tree | 1b91085354b8cf93c13df69adb235d5efa7c2a8c /sys-cluster | |
parent | Fix metadata: maintainer-wanted herd does not exist (diff) | |
download | historical-f364fd945085c9462f6e3474474699b37ea7fbf2.tar.gz historical-f364fd945085c9462f6e3474474699b37ea7fbf2.tar.bz2 historical-f364fd945085c9462f6e3474474699b37ea7fbf2.zip |
Revision bump, add support for dev-db/libdrizzle, sqlite and write the code to support postgresql (albeit non-working yet).
Package-Manager: portage-2.2_rc60/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/gearmand/ChangeLog | 9 | ||||
-rw-r--r-- | sys-cluster/gearmand/Manifest | 12 | ||||
-rw-r--r-- | sys-cluster/gearmand/gearmand-0.11-r2.ebuild (renamed from sys-cluster/gearmand/gearmand-0.11-r1.ebuild) | 43 | ||||
-rw-r--r-- | sys-cluster/gearmand/metadata.xml | 5 |
4 files changed, 47 insertions, 22 deletions
diff --git a/sys-cluster/gearmand/ChangeLog b/sys-cluster/gearmand/ChangeLog index 1f770ada606c..9a460277d1d2 100644 --- a/sys-cluster/gearmand/ChangeLog +++ b/sys-cluster/gearmand/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-cluster/gearmand # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gearmand/ChangeLog,v 1.1 2009/12/20 19:19:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gearmand/ChangeLog,v 1.2 2009/12/20 21:49:38 flameeyes Exp $ + +*gearmand-0.11-r2 (20 Dec 2009) + + 20 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> + -gearmand-0.11-r1.ebuild, +gearmand-0.11-r2.ebuild, metadata.xml: + Revision bump, add support for dev-db/libdrizzle, sqlite and write the + code to support postgresql (albeit non-working yet). *gearmand-0.11-r1 (20 Dec 2009) diff --git a/sys-cluster/gearmand/Manifest b/sys-cluster/gearmand/Manifest index 9943e9143216..ee67fcc28bb1 100644 --- a/sys-cluster/gearmand/Manifest +++ b/sys-cluster/gearmand/Manifest @@ -4,13 +4,13 @@ Hash: SHA1 AUX gearmand.conf.d 1527 RMD160 8ac71a123edaea9d072e98beaaea0fb120fb1f82 SHA1 1f07a9ce72dc3837b8016eba2ad86bc5989f368c SHA256 8bbc8d9f3fa064de1ed44f5678b89d18b681a4f1602d37f5019fcd8b0032ffd8 AUX gearmand.init.d 3091 RMD160 0ea13278e1a78b9f9b30059bc885ebbadc761e6a SHA1 465d613cc5913ca2e5954d65c462025debc94395 SHA256 34ad4ff0bc8fd6c7c5af38998dbe7a21840e95c91bacaf4f170bd2f90397dc6e DIST gearmand-0.11.tar.gz 593324 RMD160 d5d79c9153fa496f690875b8572c825c826ba7cd SHA1 6b3d7fdb3d2d19a1cafa82efa0a443df190fb5db SHA256 25848a11bc4ba91329e8992c5a3ccbb82afe104ef558e67cf3ca9669d3044a92 -EBUILD gearmand-0.11-r1.ebuild 2186 RMD160 b607b51d218eb231256945d4a2f3f08971485bea SHA1 f4b38a8ae79464fbf18e193034e5f47747229c4d SHA256 ab1ad858a64f3b1891e3a485fca33b344efe3bb894706c4315cc0ee09a8455c7 -MISC ChangeLog 617 RMD160 389823a86480324ec3add6e6b2476b0bc1dad3a0 SHA1 64e6fcea3cf7319eac0ee7f7a8f3487fa8800041 SHA256 6d41aea6ad373927a482da1aefefdbb224c62a6cb2abec984563fd39f4953827 -MISC metadata.xml 708 RMD160 eec720201599f96f243ec2243393c9ccaef96d43 SHA1 eb913c491eff074b15220972612615c76292e857 SHA256 30926d93ad0e6f652cf6dd5766416e8f2a206e6b4d2a8d9bd47babb60f3c1502 +EBUILD gearmand-0.11-r2.ebuild 2507 RMD160 dab732e23360e8c600be44c658d8c15f375b5dc6 SHA1 914e66baeebff3a85295023faec154517aada4b9 SHA256 74584465cd43db42af12414545dc41ff95a3aa0282a80d109091918e95faeb4e +MISC ChangeLog 903 RMD160 089ffa713437a9a6016eed215d728564c3d992f2 SHA1 1c8c101ac45c8d7ce6974b8240b3422244b1f6db SHA256 ede051f2e6d83c8d9176451f5b405973c590ea5b8375f47721334a17ee5f39e4 +MISC metadata.xml 861 RMD160 277e8cb649210fbea5975f729a284805d00fe3c6 SHA1 c0a5aecfd117c1a098c29bf9916ae56d8688cfd9 SHA256 1676092f10cab70262bd06a8540235a6832e4278a1a0aefe3681a1618146f687 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) -iEYEARECAAYFAksueM0ACgkQAiZjviIA2XigSQCg11g/aeTz5YOQbGsdEhulw1UA -WEkAnRhceMTqWKCc6RkazaMWKB07fwIm -=/Ua0 +iEYEARECAAYFAksum+8ACgkQAiZjviIA2XhVDQCeJ2awSIpPE+81MvcCB61x9FVM +c/MAni8/TkMZT+gVAxrOieR5jRYKGTO1 +=QO4Y -----END PGP SIGNATURE----- diff --git a/sys-cluster/gearmand/gearmand-0.11-r1.ebuild b/sys-cluster/gearmand/gearmand-0.11-r2.ebuild index d87329b9e686..e248b58f7f08 100644 --- a/sys-cluster/gearmand/gearmand-0.11-r1.ebuild +++ b/sys-cluster/gearmand/gearmand-0.11-r2.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gearmand/gearmand-0.11-r1.ebuild,v 1.1 2009/12/20 19:19:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gearmand/gearmand-0.11-r2.ebuild,v 1.1 2009/12/20 21:49:38 flameeyes Exp $ EAPI=2 -inherit flag-o-matic +inherit flag-o-matic libtool DESCRIPTION="Generic framework to farm out work to other machines" HOMEPAGE="http://www.gearman.org/" @@ -13,21 +13,27 @@ SRC_URI="http://launchpad.net/gearmand/trunk/${PV}/+download/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="debug tcmalloc +memcache" +IUSE="debug tcmalloc +memcache drizzle sqlite" # postgres +# postgresql support is broken right now so keep it disabled RDEPEND="dev-libs/libevent || ( >=sys-apps/util-linux-2.16 <sys-libs/e2fsprogs-libs-1.41.8 ) tcmalloc? ( dev-util/google-perftools ) - memcache? ( dev-libs/libmemcached )" + memcache? ( dev-libs/libmemcached ) + drizzle? ( dev-db/libdrizzle ) + sqlite? ( dev-db/sqlite:3 ) + postgres? ( dev-db/postgresql-base )" DEPEND="${RDEPEND}" pkg_setup() { enewuser gearmand -1 -1 /dev/null nogroup } -src_configure() { - local myconf= +src_prepare() { + elibtoolize +} +src_configure() { # Don't ever use --enable-assert since configure.ac is broken, and # only does --disable-assert correctly. if use debug; then @@ -42,19 +48,26 @@ src_configure() { # myconf="${myconf} --disable-assert" fi - # TODO once there's a drizzle/librizzle ebuild, add drizzle to iuse - # TODO new compile options for queue storage: libsqlite,libpq,libdrizzle - # TODO mtmalloc, umem, dtrace - all of this solaris stuff only? - # TODO libmemcached pulls memcached. Is this correct? econf \ --disable-dependency-tracking \ + --disable-mtmalloc \ $(use_enable tcmalloc) \ $(use_enable memcache libmemcached) \ - --disable-mtmalloc \ - --disable-libsqlite3 \ - --disable-libdrizzle \ - --disable-libpq \ - ${myconf} + $(use_enable drizzle libdrizzle) \ + $(use_enable sqlite libsqlite3) \ + $(use_enable postgres libpq) +} + +src_test() { + # Since libtool is stupid and doesn't discard /usr/lib64 from the + # load path, we'd end up testing against the installed copy of + # gearmand (bad). + # + # We thus cheat and "fix" the scripts by hand. + sed -i -e '/LD_LIBRARY_PATH=/s|/usr/lib64:||' "${S}"/tests/*_test \ + || die "test fixing failed" + + emake check || die "tests failed" } src_install() { diff --git a/sys-cluster/gearmand/metadata.xml b/sys-cluster/gearmand/metadata.xml index 898d240b8d4c..1a3565061d04 100644 --- a/sys-cluster/gearmand/metadata.xml +++ b/sys-cluster/gearmand/metadata.xml @@ -20,5 +20,10 @@ Support memcache daemon (via <pkg>dev-libs/libmemcached</pkg>) for the queue storage. </flag> + + <flag name="drizzle"> + Support <pkg>dev-db/libdrizzle</pkg> for the queue storage. This + also adds support for MySQL storage. + </flag> </use> </pkgmetadata> |