summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-09-06 20:19:25 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-09-06 20:19:25 +0000
commitc4371f9546d7190f93a27714917f48cc1731cc13 (patch)
treea9b979e00576b441a803dfe7840e1de8b2aba578 /dev-db/drizzle
parentMarking openvpn-2.1.0-r1 ppc64 for bug 293894 (diff)
downloadhistorical-c4371f9546d7190f93a27714917f48cc1731cc13.tar.gz
historical-c4371f9546d7190f93a27714917f48cc1731cc13.tar.bz2
historical-c4371f9546d7190f93a27714917f48cc1731cc13.zip
Version bump; the new version requires a patch, and merges libdrizzle back into a single package.
Package-Manager: portage-2.2_rc75/cvs/Linux x86_64
Diffstat (limited to 'dev-db/drizzle')
-rw-r--r--dev-db/drizzle/ChangeLog10
-rw-r--r--dev-db/drizzle/Manifest19
-rw-r--r--dev-db/drizzle/drizzle-2010.08.1742.ebuild (renamed from dev-db/drizzle/drizzle-2010.05.1525-r1.ebuild)45
-rw-r--r--dev-db/drizzle/files/drizzle-2010.08.1742-pcre.patch13
-rw-r--r--dev-db/drizzle/files/drizzle.init.d8
5 files changed, 70 insertions, 25 deletions
diff --git a/dev-db/drizzle/ChangeLog b/dev-db/drizzle/ChangeLog
index 68561cc988b4..c469521a9300 100644
--- a/dev-db/drizzle/ChangeLog
+++ b/dev-db/drizzle/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-db/drizzle
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/ChangeLog,v 1.13 2010/06/14 23:45:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/ChangeLog,v 1.14 2010/09/06 20:19:24 flameeyes Exp $
+
+*drizzle-2010.08.1742 (06 Sep 2010)
+
+ 06 Sep 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ -drizzle-2010.05.1525-r1.ebuild, +drizzle-2010.08.1742.ebuild,
+ +files/drizzle-2010.08.1742-pcre.patch, files/drizzle.init.d:
+ Version bump; the new version requires a patch, and merges libdrizzle back
+ into a single package.
*drizzle-2010.05.1525-r1 (14 Jun 2010)
diff --git a/dev-db/drizzle/Manifest b/dev-db/drizzle/Manifest
index 6b8a429262df..e73d6d815aee 100644
--- a/dev-db/drizzle/Manifest
+++ b/dev-db/drizzle/Manifest
@@ -1,7 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX drizzle-2009.12.1240-nolint.patch 366 RMD160 5edac5d0f35b6a7830ba4c5d4cc9fa78f30c29bc SHA1 29f2257773552dabc40424ac068ca4ef32425d01 SHA256 612ffed94aebcce0aeef56a4fabfe35a5bb01f6c85a4c00757bef59f0cd75312
+AUX drizzle-2010.08.1742-pcre.patch 413 RMD160 fb532b5d9b6113cf6672f472bd8445ac2ab1ca8e SHA1 c39637b3466f09e0c4bfc97876e6409bbcd4196a SHA256 f83893d65909217af8ee98c2ed36acbc8269ea13a7a39dd7b0aad060f10cda79
AUX drizzle.conf.d 17 RMD160 04ac72be16bab0e6a590a19d2d663baa6741e743 SHA1 0337f18c03bbfbf1203a6391f8d7076a4d36a155 SHA256 5739bf0120eb4ef9dfed0b5307332d10c728ab9d204411d37fec85393e6db630
-AUX drizzle.init.d 4255 RMD160 b10c3f6c47b5318cdb88b3acc36c61a173fda755 SHA1 bce6f1af9cc0c82469e466dff362f7dbd243e2af SHA256 b040fb3c8bc758b36472afe304be4703625678f660dac81a52b934480207bc89
-DIST drizzle-2010.05.1525.tar.gz 7773814 RMD160 8dc2bd87075391f64b8828c143d4b16dde3d3779 SHA1 1c6cffaa1bdff23c05586ca4b0849b7475d3effa SHA256 9a37b3ba4e79d57508ee6df7465e51f7096e62a55a4dbcbfbd0bf9f298efe009
-EBUILD drizzle-2010.05.1525-r1.ebuild 3849 RMD160 6f41591b8cfd62339a8ab787e91bb220b8461591 SHA1 3b7ff42f383fe73e97c90eeb120b150eb6bc58be SHA256 2762d93ca3eb5720a7edadd684df63ff3769cc1098a6404272a5775fe6abe289
-MISC ChangeLog 3425 RMD160 7622a9cd2f97f4c0f4a6bd4bcdf2597b1681e562 SHA1 eb0f6fd92a858b688af353bd326374f93231eddd SHA256 79a098d22de446f8ec5623b9315784c8c3ed3420af398e0ac2146901c92d2c95
+AUX drizzle.init.d 4602 RMD160 477d668649c413df96aa34d14a7446a3b7343656 SHA1 66ffc2d253350d4f7d91f6fd17bf0a3eb4b6e83f SHA256 eeb854e850abeb88997ea4ecf44d8d67a436a6870b03122a96319ab70e492f7f
+DIST drizzle-2010.08.1742.tar.gz 9721271 RMD160 56ca34582eb260aa3461a67758dce8688af912b1 SHA1 d2e7b0e7240db2be55b86bbaa13a4f75926f1e2b SHA256 f39f7a6e893ead7231a17683833b3831d0586d3f7b24e40571bf0aabd5dfec54
+EBUILD drizzle-2010.08.1742.ebuild 4216 RMD160 522d5467194101a8ba50f03615ff55b3c6a4ef97 SHA1 f273cacb249d86883217774d4c646e6ed348f838 SHA256 ccdd1c26221c4ed23243ef91a2c51c14fdcb400c4ff7da132b74ecb1dd9a1dcc
+MISC ChangeLog 3750 RMD160 74f18b0fd70c61fec8159e6d82b44b9f8a31521d SHA1 49ec71e65c7d8ad5e40b8a350657206bd45a16f4 SHA256 9da87a9529a1e3db0b020a42816b35639a244ec83ac96b919dc4d6ff3b05fb61
MISC metadata.xml 2042 RMD160 18ed10793c4049bfbc2f751c6e86f30b67a80bb5 SHA1 8b2db68dfb18209a9f888f7cc0f7f0e8e92d5361 SHA256 b87f2442e63235b51915ee7fc97d5f677047bbcf5db4b23e66d9bb8cbc3fd718
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkyFTNgACgkQAiZjviIA2XhpWgCcC2jpSJ2EzTNqtLaUiGG1vZ5L
+6F8AnRpkUz4kwZH2LWtVtHkHIi3mEWO1
+=QXcj
+-----END PGP SIGNATURE-----
diff --git a/dev-db/drizzle/drizzle-2010.05.1525-r1.ebuild b/dev-db/drizzle/drizzle-2010.08.1742.ebuild
index 6267a5b82210..cd1619f74d13 100644
--- a/dev-db/drizzle/drizzle-2010.05.1525-r1.ebuild
+++ b/dev-db/drizzle/drizzle-2010.08.1742.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/drizzle-2010.05.1525-r1.ebuild,v 1.1 2010/06/14 23:45:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/drizzle-2010.08.1742.ebuild,v 1.1 2010/09/06 20:19:24 flameeyes Exp $
EAPI=2
@@ -8,22 +8,21 @@ inherit flag-o-matic libtool autotools eutils pam
DESCRIPTION="Database optimized for Cloud and Net applications"
HOMEPAGE="http://drizzle.org"
-SRC_URI="http://launchpad.net/drizzle/dexter/2010-05-10/+download/${P}.tar.gz"
+SRC_URI="http://launchpad.net/drizzle/dexter/2010-08-30/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-
-IUSE="debug tcmalloc doc memcache curl pam gearman +md5"
+IUSE="debug tcmalloc doc memcache curl pam gearman +md5 ldap"
# upstream bug #499911
-RESTRICT="memcache? ( test ) !curl? ( test )"
+#RESTRICT="memcache? ( test ) !curl? ( test )"
# for libdrizzle version, check m4/pandora*, PANDORA_LIBDRIZZLE_RECENT
RDEPEND="tcmalloc? ( dev-util/google-perftools )
- >=dev-db/libdrizzle-0.8
sys-libs/readline
sys-apps/util-linux
dev-libs/libpcre
+ dev-util/intltool
>=dev-libs/libevent-1.4
>=dev-libs/protobuf-2.1.0
gearman? ( >=sys-cluster/gearmand-0.12 )
@@ -31,7 +30,10 @@ RDEPEND="tcmalloc? ( dev-util/google-perftools )
curl? ( net-misc/curl )
memcache? ( >=dev-libs/libmemcached-0.39 )
md5? ( >=dev-libs/libgcrypt-1.4.2 )
- >=dev-libs/boost-1.32"
+ >=dev-libs/boost-1.32
+ ldap? ( net-nds/openldap )
+ !dev-db/libdrizzle"
+
DEPEND="${RDEPEND}
dev-util/gperf
doc? ( app-doc/doxygen )
@@ -43,6 +45,7 @@ pkg_setup() {
src_prepare() {
epatch "${FILESDIR}/${PN}-2009.12.1240-nolint.patch"
+ epatch "${FILESDIR}/${P}-pcre.patch"
AT_M4DIR="m4" eautoreconf
elibtoolize
@@ -59,33 +62,39 @@ src_configure() {
# the 1412 release didn't achieve it.
append-flags -Wno-error
- # disable-all gets rid of automagic dep
+ # NOTE disable-all and without-all no longer recognized options
+ # NOTE using --enable on some plugins can cause test failures.
+ # --with should be used instead. A discussion about this here:
+ # https://bugs.launchpad.net/drizzle/+bug/598659
+ # TODO (upstream)
+ # $(use_with memcache memcached-stats-plugin) \
+ # $(use_with memcache memcached-functions-plugin) \
+
econf \
- --disable-all \
--disable-static \
--disable-dependency-tracking \
--disable-mtmalloc \
$(use_enable tcmalloc) \
$(use_enable memcache libmemcached) \
$(use_enable gearman libgearman) \
+ $(use_enable ldap libldap) \
$(use_with curl auth-http-plugin) \
$(use_with pam auth-pam-plugin) \
$(use_with md5 md5-plugin) \
- $(use_with gearman gearman_udf-plugin) \
- $(use_with gearman logging_gearman-plugin) \
- $(use_with memcache memcache_functions-plugins) \
- --with-logging_stats \
+ $(use_with gearman gearman-udf-plugin) \
+ $(use_with gearman logging-gearman-plugin) \
+ $(use_with ldap auth-ldap-plugin) \
--without-hello-world-plugin \
--disable-pbxt-plugin --without-pbxt-plugin \
--disable-rabbitmq-plugin --without-rabbitmq-plugin \
--disable-embedded-innodb-plugin --without-embedded-innodb-plugin \
- --disable-auth-ldap-plugin --disable-libldap --without-auth-ldap-plugin \
+ --with-auth-test-plugin \
+ --with-auth-file-plugin \
+ --with-simple-user-policy-plugin \
+ --enable-logging-stats-plugin \
+ --with-logging-stats-plugin \
${myconf}
- # upstream TODO:
- # --without-all \
- # broken atm
- #$(use_with memcache memcache_stats-plugins) \
}
src_compile() {
diff --git a/dev-db/drizzle/files/drizzle-2010.08.1742-pcre.patch b/dev-db/drizzle/files/drizzle-2010.08.1742-pcre.patch
new file mode 100644
index 000000000000..2ceff6c86a57
--- /dev/null
+++ b/dev-db/drizzle/files/drizzle-2010.08.1742-pcre.patch
@@ -0,0 +1,13 @@
+Index: drizzle-2010.08.1742/drizzled/include.am
+===================================================================
+--- drizzle-2010.08.1742.orig/drizzled/include.am
++++ drizzle-2010.08.1742/drizzled/include.am
+@@ -458,7 +458,7 @@ drizzled_drizzled_LDADD= \
+ $(LDADD) \
+ $(LIBUUID) \
+ $(LIBDL_LIBS) \
+- $(LIBPCRE) \
++ $(LTLIBPCRE) \
+ $(LTLIBPROTOBUF) \
+ $(LIBTBB) \
+ $(BOOST_LIBS) \
diff --git a/dev-db/drizzle/files/drizzle.init.d b/dev-db/drizzle/files/drizzle.init.d
index 69eb2ded1ea9..c8a5a33dbae2 100644
--- a/dev-db/drizzle/files/drizzle.init.d
+++ b/dev-db/drizzle/files/drizzle.init.d
@@ -1,8 +1,8 @@
#!/sbin/runscript
-# Copyright 2010 Pavel Stratil, senbonzakura.eu
+# Copyright 2010-2010 Pavel Stratil, senbonzakura.eu
# Some functions were taken from debian init script. Licensed under GPL-2
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/files/drizzle.init.d,v 1.2 2010/06/14 23:45:58 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/files/drizzle.init.d,v 1.3 2010/09/06 20:19:25 flameeyes Exp $
#########################
### Construct vars ######
@@ -125,6 +125,10 @@ stop() {
start() {
checkconfig
ebegin "Starting ${SVCNAME}"
+ # Test if ${BASE_PID}, ${BASE_LOG} and ${LOG_FILE} exist, create if not.
+ [ ! -e ${BASE_PID} ] && mkdir -p ${BASE_PID} && chown ${DRIZZLE_USER}:nogroup ${BASE_PID}
+ [ ! -e ${BASE_LOG} ] && mkdir -p ${BASE_LOG} && chown ${DRIZZLE_USER}:nogroup ${BASE_LOG}
+ [ ! -e ${LOGFILE} ] && touch ${LOGFILE} && chown ${DRIZZLE_USER}:nogroup ${LOGFILE}
start-stop-daemon --background --pidfile ${PIDFILE} --stderr ${LOGFILE} \
--user ${DRIZZLE_USER} --start --exec ${DRIZZLE_DAEMON} -- \
--datadir=${DATADIR} --pid-file=${PIDFILE} --user=${DRIZZLE_USER} \