diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2010-08-17 06:30:51 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2010-08-17 06:30:51 +0000 |
commit | eb7e44243f16453159fa39886e67fff8ed0d8b9b (patch) | |
tree | f66251840791c29ceb1d2f1458d3a6feb37d5d6d /dev-db/couchdb | |
parent | Version bump. Remove circular bones dependency by executing tasks directly. (diff) | |
download | gentoo-2-eb7e44243f16453159fa39886e67fff8ed0d8b9b.tar.gz gentoo-2-eb7e44243f16453159fa39886e67fff8ed0d8b9b.tar.bz2 gentoo-2-eb7e44243f16453159fa39886e67fff8ed0d8b9b.zip |
Version bump to 1.0.1, bug 331811.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/couchdb')
-rw-r--r-- | dev-db/couchdb/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/couchdb/couchdb-1.0.1.ebuild | 59 |
2 files changed, 65 insertions, 1 deletions
diff --git a/dev-db/couchdb/ChangeLog b/dev-db/couchdb/ChangeLog index c32843a82ad1..d1c5bb73ff4f 100644 --- a/dev-db/couchdb/ChangeLog +++ b/dev-db/couchdb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/couchdb # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/ChangeLog,v 1.32 2010/07/18 21:36:21 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/ChangeLog,v 1.33 2010/08/17 06:30:51 djc Exp $ + +*couchdb-1.0.1 (17 Aug 2010) + + 17 Aug 2010; Dirkjan Ochtman <djc@gentoo.org> +couchdb-1.0.1.ebuild: + Version bump to 1.0.1, doesn't have data loss bug (bug 331811). 18 Jul 2010; Jeroen Roovers <jer@gentoo.org> couchdb-0.11.0-r1.ebuild: Stable for PPC (bug #327877). diff --git a/dev-db/couchdb/couchdb-1.0.1.ebuild b/dev-db/couchdb/couchdb-1.0.1.ebuild new file mode 100644 index 000000000000..54c89a601b08 --- /dev/null +++ b/dev-db/couchdb/couchdb-1.0.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-1.0.1.ebuild,v 1.1 2010/08/17 06:30:51 djc Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database." +HOMEPAGE="http://couchdb.apache.org/" +SRC_URI="mirror://apache/couchdb/${PV}/apache-${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" + +RDEPEND=">=dev-libs/icu-4.3.1 + dev-lang/erlang[ssl] + >=dev-libs/openssl-0.9.8j + >=net-misc/curl-7.18.2 + dev-lang/spidermonkey" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/apache-${P}" + +pkg_setup() { + enewgroup couchdb + enewuser couchdb -1 /bin/bash /var/lib/couchdb couchdb +} + +src_configure() { + econf \ + --with-erlang=/usr/lib/erlang/usr/include \ + --localstatedir=/var \ + --with-js-lib=/usr/lib + # bug 296609, upstream bug #COUCHDB-621 + sed -e "s#localdocdir = /usr/share/doc/couchdb#localdocdir = /usr/share/doc/couchdb-0.10.1#" -i Makefile || die "sed failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + insinto /var/run/couchdb + + fowners couchdb:couchdb \ + /var/run/couchdb \ + /var/lib/couchdb \ + /var/log/couchdb + + fowners root:couchdb /etc/couchdb/*.ini + fperms 660 /etc/couchdb/*.ini + + newinitd "${FILESDIR}/couchdb.init-0.10" couchdb || die + newconfd "${FILESDIR}/couchdb.conf-0.10" couchdb || die + + sed -i -e "s:LIBDIR:$(get_libdir):" "${D}/etc/conf.d/couchdb" +} |