diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-05-21 20:56:36 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-05-21 20:56:36 +0000 |
commit | 6e4143f0981029159239b39322015d27d7529eb3 (patch) | |
tree | af6c07f1fe281ca84f826867e77368afb3d7cc49 /dev-db | |
parent | stable amd64, bug 299867 (diff) | |
download | gentoo-2-6e4143f0981029159239b39322015d27d7529eb3.tar.gz gentoo-2-6e4143f0981029159239b39322015d27d7529eb3.tar.bz2 gentoo-2-6e4143f0981029159239b39322015d27d7529eb3.zip |
Version bump, both 2010.04 and 2010.05.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/drizzle/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/drizzle/drizzle-2010.04.1513.ebuild | 148 | ||||
-rw-r--r-- | dev-db/drizzle/drizzle-2010.05.1525.ebuild | 149 |
3 files changed, 305 insertions, 1 deletions
diff --git a/dev-db/drizzle/ChangeLog b/dev-db/drizzle/ChangeLog index 648614083c80..1b3766511f56 100644 --- a/dev-db/drizzle/ChangeLog +++ b/dev-db/drizzle/ChangeLog @@ -1,6 +1,13 @@ # 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.9 2010/04/17 18:41:00 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/ChangeLog,v 1.10 2010/05/21 20:56:36 flameeyes Exp $ + +*drizzle-2010.05.1525 (21 May 2010) +*drizzle-2010.04.1513 (21 May 2010) + + 21 May 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +drizzle-2010.04.1513.ebuild, +drizzle-2010.05.1525.ebuild: + Version bump, both 2010.04 and 2010.05. 17 Apr 2010; Robin H. Johnson <robbat2@gentoo.org> drizzle-2010.03.1412.ebuild, +files/drizzle-2010.03.1412-ggdb3-fix.patch: diff --git a/dev-db/drizzle/drizzle-2010.04.1513.ebuild b/dev-db/drizzle/drizzle-2010.04.1513.ebuild new file mode 100644 index 000000000000..d65c287f1e59 --- /dev/null +++ b/dev-db/drizzle/drizzle-2010.04.1513.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $ + +EAPI=2 + +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/cherry/2010-04-26/+download/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug tcmalloc doc memcache curl pam gearman +md5" + +# upstream bug #499911 +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-libs/libevent-1.4 + >=dev-libs/protobuf-2.1.0 + gearman? ( >=sys-cluster/gearmand-0.12 ) + pam? ( sys-libs/pam ) + curl? ( net-misc/curl ) + memcache? ( >=dev-libs/libmemcached-0.39 ) + md5? ( >=dev-libs/libgcrypt-1.4.2 ) + >=dev-libs/boost-1.32" +DEPEND="${RDEPEND} + dev-util/gperf + doc? ( app-doc/doxygen ) + >=dev-util/boost-build-1.32" + +pkg_setup() { + enewuser drizzle -1 -1 /dev/null nogroup +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-2010.03.1412-ggdb3-fix.patch" + # disable in release after 1412 + epatch "${FILESDIR}/${PN}-2009.12.1240-nolint.patch" + + AT_M4DIR="m4" eautoreconf + elibtoolize +} + +src_configure() { + local myconf= + + if use debug; then + append-flags -DDEBUG + fi + + # while I applaud upstreams goal of 0 compiler warnings + # the 1412 release didn't achieve it. + append-flags -Wno-error + + # disable-all gets rid of automagic dep + econf \ + --disable-all \ + --disable-static \ + --disable-dependency-tracking \ + --disable-mtmalloc \ + --with-debug=$(use debug && echo yes || echo no) \ + $(use_enable tcmalloc) \ + $(use_enable memcache libmemcached) \ + $(use_enable gearman libgearman) \ + $(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 \ + --disable-pbxt-plugin --without-pbxt-plugin \ + --disable-rabbitmq-plugin --without-rabbitmq-plugin \ + --disable-embedded-innodb-plugin --without-embedded-innodb-plugin \ + --without-hello-world-plugin \ + ${myconf} + + # upstream TODO: + # --without-all \ + # broken atm + #$(use_with memcache memcache_stats-plugins) \ +} + +src_compile() { + emake || die "build failed" + + if use doc; then + emake doxygen || die "doxygen failed" + fi +} + +# 5-10 min eta +src_test() { + # If you want to turn off a test, rename to suffix of .DISABLED + # Explicitly allow parallel make check + emake check || die "tests failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS NEWS README || die + + find "${D}" -name '*.la' -delete || die + + if use doc; then + docinto apidoc + pushd docs/html + dohtml -r . + popd + fi + + newinitd "${FILESDIR}"/drizzle.init.d drizzled || die + newconfd "${FILESDIR}"/drizzle.conf.d drizzled || die + + if ! use gearman; then + sed -i -e '/need gearmand/d' "${D}"/etc/init.d/drizzled \ + || die "unable to sed init script (gearman)" + fi + + if ! use memcache; then + sed -i -e '/need memcached/d' "${D}"/etc/init.d/drizzled \ + || die "unable to sed init script (memcache)" + fi + + keepdir /var/run/drizzle || die + keepdir /var/log/drizzle || die + keepdir /var/lib/drizzle/drizzled || die + keepdir /etc/drizzle || die + + fperms 0755 /var/run/drizzle || die + fperms 0755 /var/log/drizzle || die + fperms -R 0700 /var/lib/drizzle || die + + fowners drizzle:nogroup /var/run/drizzle || die + fowners drizzle:nogroup /var/log/drizzle || die + fowners -R drizzle:nogroup /var/lib/drizzle || die + + pamd_mimic system-auth drizzle auth account session +} diff --git a/dev-db/drizzle/drizzle-2010.05.1525.ebuild b/dev-db/drizzle/drizzle-2010.05.1525.ebuild new file mode 100644 index 000000000000..c503002085fb --- /dev/null +++ b/dev-db/drizzle/drizzle-2010.05.1525.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $ + +EAPI=2 + +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" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug tcmalloc doc memcache curl pam gearman +md5" + +# upstream bug #499911 +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-libs/libevent-1.4 + >=dev-libs/protobuf-2.1.0 + gearman? ( >=sys-cluster/gearmand-0.12 ) + pam? ( sys-libs/pam ) + curl? ( net-misc/curl ) + memcache? ( >=dev-libs/libmemcached-0.39 ) + md5? ( >=dev-libs/libgcrypt-1.4.2 ) + >=dev-libs/boost-1.32" +DEPEND="${RDEPEND} + dev-util/gperf + doc? ( app-doc/doxygen ) + >=dev-util/boost-build-1.32" + +pkg_setup() { + enewuser drizzle -1 -1 /dev/null nogroup +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-2010.03.1412-ggdb3-fix.patch" + # disable in release after 1412 + epatch "${FILESDIR}/${PN}-2009.12.1240-nolint.patch" + + AT_M4DIR="m4" eautoreconf + elibtoolize +} + +src_configure() { + local myconf= + + if use debug; then + append-flags -DDEBUG + fi + + # while I applaud upstreams goal of 0 compiler warnings + # the 1412 release didn't achieve it. + append-flags -Wno-error + + # disable-all gets rid of automagic dep + econf \ + --disable-all \ + --disable-static \ + --disable-dependency-tracking \ + --disable-mtmalloc \ + --with-debug=$(use debug && echo yes || echo no) \ + $(use_enable tcmalloc) \ + $(use_enable memcache libmemcached) \ + $(use_enable gearman libgearman) \ + $(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 \ + --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 \ + ${myconf} + + # upstream TODO: + # --without-all \ + # broken atm + #$(use_with memcache memcache_stats-plugins) \ +} + +src_compile() { + emake || die "build failed" + + if use doc; then + emake doxygen || die "doxygen failed" + fi +} + +# 5-10 min eta +src_test() { + # If you want to turn off a test, rename to suffix of .DISABLED + # Explicitly allow parallel make check + emake check || die "tests failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS NEWS README || die + + find "${D}" -name '*.la' -delete || die + + if use doc; then + docinto apidoc + pushd docs/html + dohtml -r . + popd + fi + + newinitd "${FILESDIR}"/drizzle.init.d drizzled || die + newconfd "${FILESDIR}"/drizzle.conf.d drizzled || die + + if ! use gearman; then + sed -i -e '/need gearmand/d' "${D}"/etc/init.d/drizzled \ + || die "unable to sed init script (gearman)" + fi + + if ! use memcache; then + sed -i -e '/need memcached/d' "${D}"/etc/init.d/drizzled \ + || die "unable to sed init script (memcache)" + fi + + keepdir /var/run/drizzle || die + keepdir /var/log/drizzle || die + keepdir /var/lib/drizzle/drizzled || die + keepdir /etc/drizzle || die + + fperms 0755 /var/run/drizzle || die + fperms 0755 /var/log/drizzle || die + fperms -R 0700 /var/lib/drizzle || die + + fowners drizzle:nogroup /var/run/drizzle || die + fowners drizzle:nogroup /var/log/drizzle || die + fowners -R drizzle:nogroup /var/lib/drizzle || die + + pamd_mimic system-auth drizzle auth account session +} |