Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/gearmand: gearmand-0.34-r1.ebuild ChangeLog gearmand-0.34.ebuild gearmand-0.33.ebuild
Date: Mon, 04 Mar 2013 08:33:22
Message-Id: 20130304083319.490C22171D@flycatcher.gentoo.org
1 flameeyes 13/03/04 08:33:19
2
3 Modified: ChangeLog
4 Added: gearmand-0.34-r1.ebuild
5 Removed: gearmand-0.34.ebuild gearmand-0.33.ebuild
6 Log:
7 Remove old; bump to use autotools-utils and use sub-slot dependency on boost.
8
9 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
10
11 Revision Changes Path
12 1.20 sys-cluster/gearmand/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/gearmand/ChangeLog?rev=1.20&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/gearmand/ChangeLog?rev=1.20&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/gearmand/ChangeLog?r1=1.19&r2=1.20
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/gearmand/ChangeLog,v
21 retrieving revision 1.19
22 retrieving revision 1.20
23 diff -u -r1.19 -r1.20
24 --- ChangeLog 22 Nov 2012 04:19:21 -0000 1.19
25 +++ ChangeLog 4 Mar 2013 08:33:18 -0000 1.20
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-cluster/gearmand
28 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gearmand/ChangeLog,v 1.19 2012/11/22 04:19:21 flameeyes Exp $
30 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gearmand/ChangeLog,v 1.20 2013/03/04 08:33:18 flameeyes Exp $
32 +
33 +*gearmand-0.34-r1 (04 Mar 2013)
34 +
35 + 04 Mar 2013; Diego E. Pettenò <flameeyes@g.o> +gearmand-0.34-r1.ebuild,
36 + -files/gearmand-0.33+gcc-4.7.patch, -gearmand-0.33.ebuild,
37 + -gearmand-0.34.ebuild:
38 + Remove old; bump to use autotools-utils and use sub-slot dependency on boost.
39
40 22 Nov 2012; Diego E. Pettenò <flameeyes@g.o> gearmand-0.34.ebuild:
41 Depend on a multithread-safe version of boost if available.
42
43
44
45 1.1 sys-cluster/gearmand/gearmand-0.34-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/gearmand/gearmand-0.34-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/gearmand/gearmand-0.34-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: gearmand-0.34-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2013 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/gearmand/gearmand-0.34-r1.ebuild,v 1.1 2013/03/04 08:33:18 flameeyes Exp $
55
56 EAPI=5
57
58 inherit flag-o-matic libtool autotools-utils
59
60 DESCRIPTION="Generic framework to farm out work to other machines"
61 HOMEPAGE="http://www.gearman.org/"
62 SRC_URI="http://launchpad.net/gearmand/trunk/${PV}/+download/${P}.tar.gz"
63
64 LICENSE="MIT"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="debug tcmalloc +memcache drizzle sqlite tokyocabinet postgres"
68
69 RDEPEND="dev-libs/libevent
70 >=dev-libs/boost-1.39:=[threads(+)]
71 || ( >=sys-apps/util-linux-2.16 <sys-libs/e2fsprogs-libs-1.41.8 )
72 tcmalloc? ( dev-util/google-perftools )
73 memcache? ( >=dev-libs/libmemcached-0.47 )
74 drizzle? ( dev-db/drizzle )
75 sqlite? ( dev-db/sqlite:3 )
76 tokyocabinet? ( dev-db/tokyocabinet )
77 postgres? ( >=dev-db/postgresql-base-9.0 )"
78 DEPEND="${RDEPEND}
79 virtual/pkgconfig"
80
81 pkg_setup() {
82 enewuser gearmand -1 -1 /dev/null nogroup
83 }
84
85 src_configure() {
86 local myeconfargs=(
87 $(use_enable drizzle libdrizzle)
88 $(use_enable memcache libmemcached)
89 $(use_enable postgres libpq)
90 $(use_enable tcmalloc)
91 $(use_enable tokyocabinet libtokyocabinet)
92 $(use_with sqlite sqlite3)
93 --disable-mtmalloc
94 --disable-static
95 )
96
97 # Don't ever use --enable-assert since configure.ac is broken, and
98 # only does --disable-assert correctly.
99 if use debug; then
100 # Since --with-debug would turn off optimisations as well as
101 # enabling debug, we just enable debug through the
102 # preprocessor then.
103 append-cppflags -DDEBUG
104 fi
105
106 autotools-utils_src_configure
107 }
108
109 src_test() {
110 # Since libtool is stupid and doesn't discard /usr/lib64 from the
111 # load path, we'd end up testing against the installed copy of
112 # gearmand (bad).
113 #
114 # We thus cheat and "fix" the scripts by hand.
115 sed -i -e '/LD_LIBRARY_PATH=/s|/usr/lib64:||' "${BUILD_DIR}"/tests/*_test \
116 || die "test fixing failed"
117
118 autotools-utils_src_test
119 }
120
121 DOCS=( README AUTHORS ChangeLog )
122
123 src_install() {
124 autotools-utils_src_install
125
126 newinitd "${FILESDIR}"/gearmand.init.d.2 gearmand
127 newconfd "${FILESDIR}"/gearmand.conf.d gearmand
128 }
129
130 pkg_postinst() {
131 elog ""
132 elog "Unless you set the PERSISTENT_TABLE option in"
133 elog "/etc/conf.d/gearmand, Gearmand will use table 'queue'."
134 elog "If such table doesn't exist, Gearmand will create it for you"
135 elog ""
136 }