Version bump, thanks to Pavel.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Sat, 22 Oct 2011 00:31:33 +0000 (00:31 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Sat, 22 Oct 2011 00:31:33 +0000 (00:31 +0000)
Package-Manager: portage-2.2.0_alpha69/cvs/Linux x86_64

sys-cluster/gearmand/ChangeLog
sys-cluster/gearmand/Manifest
sys-cluster/gearmand/gearmand-0.24.ebuild [new file with mode: 0644]

index a30330d2dedd6ae2babe992ade4fc648c231e73f..2c6f2a50d3a98bfbc15efc75eebc69bf61f8197c 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-cluster/gearmand
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gearmand/ChangeLog,v 1.10 2010/10/15 14:59:29 flameeyes Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gearmand/ChangeLog,v 1.11 2011/10/22 00:31:33 flameeyes Exp $
+
+*gearmand-0.24 (22 Oct 2011)
+
+  22 Oct 2011; Diego E. Pettenò <flameeyes@gentoo.org> +gearmand-0.24.ebuild:
+  Version bump, thanks to Pavel.
 
   15 Oct 2010; Diego E. Pettenò <flameeyes@gentoo.org>
   gearmand-0.12.ebuild, gearmand-0.14.ebuild:
index f7341be43937b4566c05a755319b84ebeb74e3e5..98341308e5ab9d349ed46e2bb19b6ff629129b67 100644 (file)
@@ -1,20 +1,20 @@
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
 
 AUX gearmand.conf.d 1542 RMD160 b903adca1eacbe87b69fdfe9f7b076666578a0bc SHA1 b863fadd280f7371159a958b20ec7c52fecd25be SHA256 a99bd1672091da3d4c2776225dacc497a5a9fb36ff8b34a464cd984cf584a29e
 AUX gearmand.init.d 3517 RMD160 f60730cb4378fb4856aeeae77f13232746efe390 SHA1 3d713da0239f33ee4f20b61e7b288f0d6efdb112 SHA256 07a8e9c1a8d4d859b9e4e3a6520989e7b690bf9dca1b630a2e171a8eee59ec6c
 DIST gearmand-0.12.tar.gz 562096 RMD160 bc55d2f84e3b2deaa71d491fd1ea157b45553802 SHA1 d6115c7041813f5816c0388ce510ff16be155d47 SHA256 c7b818293ade625f0ebaac6b84350e3f4b7e1b2f60b0f345f255064ce9f1d0ec
 DIST gearmand-0.14.tar.gz 559748 RMD160 6b1c305fc830fac8d0eb6493016295bed609a9fe SHA1 11d1a3d530963861e53504582fc17c5184d249b8 SHA256 8e060683dd4b2bfc25a68e22924597ae50bbfd4126966e4088b47c3caa64e25c
+DIST gearmand-0.24.tar.gz 746549 RMD160 8b63c52d32136ffd6298c42bbd33c8aed46a3c0e SHA1 daf38d6f93134002d85f28f664a870696347d2d7 SHA256 cbb14a118cf8e26b5cdc68fade41d07f09f13f52ffed2d9a1c0b431e6838df81
 EBUILD gearmand-0.12.ebuild 2829 RMD160 64a7771478883eacb7f2516d885697de2737ef55 SHA1 49e8a78b43aced70f290b3f7302f8e66d6e69296 SHA256 afed90f1bcf29471e8010fc5dff5e1b82ef5c3fc747d4223cb42176cd82d7abc
 EBUILD gearmand-0.14.ebuild 2664 RMD160 3b7787e3816ff8f02ddaccce03a02c0eb73e8dd6 SHA1 a8e036e3428ee1e9adcbd591ae1ca6c4ad22d718 SHA256 2ccc91f9c48ff07af1833dfa4cf16684065f2cd25d6b464de2539ae237f6b0ee
-MISC ChangeLog 2323 RMD160 da5b9870bbeb43e537d332b977e0c69bfe10846d SHA1 701385d39102acd7071d350e519ff700454c96c2 SHA256 e30a4f7a56e1a40ea8ae3bca42ec01aaf3c15b0ab145aceba67a1017c16335aa
+EBUILD gearmand-0.24.ebuild 2591 RMD160 2055fad5e486c91a6692bf4cae389ee599c25afc SHA1 091c2d2b9c409be5d3b6d366fdc0f2f09acc0501 SHA256 26c654255ab04613843d28f800c469629d898857164f321f8716612bc6e33279
+MISC ChangeLog 2466 RMD160 29a2a856d88ac54d12999c63a6c5077b7779a224 SHA1 25ef8cf8beda83938a7d9eefa15f774a290b648d SHA256 cff2306a2fa6d413b16d69372441311229d106e3d0a5f1b158df15c486f9314d
 MISC metadata.xml 950 RMD160 c893fc04d05890e6601128e7f09bd122f49147e3 SHA1 20a3948556662fa533f82d0063473ed358a54647 SHA256 24053a3b49b46fc72f80b2f4071463361b7e280ea7d9f9fb38c3fb5ade17c0b3
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iJwEAQEIAAYFAk59sxQACgkQfXuS5UK5QB39IAQAoPKA1Db5nvrjDKdQtaiy9p3z
-2dSBemsyYsi3aCPqCZM7b56w9IHztWRVzsb08ETlyq8wuB6+0GSWkuN+QZgWi3NO
-/NBZPJ01R7G6focu82DG/AGiecfIFhVS6aWkX5vstuE7/rvj7pCIelC/PMeqi/4u
-rfF5MRM4xlFrZvlQf0E=
-=nuz4
+iEYEARECAAYFAk6iDuIACgkQAiZjviIA2XiBFQCeL6yEPwJKPkk/JF57nzbLMZQr
+d8oAmgNYOLSPqD/cIbLjuEI5TnRWWh2c
+=ou4f
 -----END PGP SIGNATURE-----
diff --git a/sys-cluster/gearmand/gearmand-0.24.ebuild b/sys-cluster/gearmand/gearmand-0.24.ebuild
new file mode 100644 (file)
index 0000000..d3276ca
--- /dev/null
@@ -0,0 +1,92 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gearmand/gearmand-0.24.ebuild,v 1.1 2011/10/22 00:31:33 flameeyes Exp $
+
+EAPI=2
+
+inherit flag-o-matic libtool
+
+DESCRIPTION="Generic framework to farm out work to other machines"
+HOMEPAGE="http://www.gearman.org/"
+SRC_URI="http://launchpad.net/gearmand/trunk/${PV}/+download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug tcmalloc +memcache drizzle sqlite tokyocabinet postgres"
+
+RESTRICT="test"
+# restricting tests because of failures, package runs fine
+
+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-0.47 )
+       drizzle? ( dev-db/drizzle )
+       sqlite? ( dev-db/sqlite:3 )
+       tokyocabinet? ( dev-db/tokyocabinet )
+       postgres? ( dev-db/postgresql-base:9.0 )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+       enewuser gearmand -1 -1 /dev/null nogroup
+}
+
+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
+               # Since --with-debug would turn off optimisations as well as
+               # enabling debug, we just enable debug through the
+               # preprocessor then.
+               append-flags -DDEBUG
+       else
+               myconf="${myconf} --disable-assert"
+       fi
+
+       econf \
+               --disable-static \
+               --disable-dependency-tracking \
+               --disable-mtmalloc \
+               $(use_enable tcmalloc) \
+               $(use_enable memcache libmemcached) \
+               $(use_enable drizzle libdrizzle) \
+               $(use_enable sqlite libsqlite3) \
+               $(use_enable tokyocabinet libtokyocabinet) \
+               $(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() {
+       emake DESTDIR="${D}" install || die "install failed"
+
+       dodoc README AUTHORS ChangeLog || die "dodoc failed"
+
+       newinitd "${FILESDIR}"/gearmand.init.d gearmand || die
+       newconfd "${FILESDIR}"/gearmand.conf.d gearmand || die
+
+       find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+       elog ""
+       elog "Unless you set the PERSISTENT_TABLE option in"
+       elog "/etc/conf.d/gearmand, Gearmand will use table 'queue'."
+       elog "If such table doesn't exist, Gearmand will create it for you"
+       elog ""
+}