diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2010-07-18 12:58:58 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2010-07-18 12:58:58 +0000 |
commit | 03b8ba8e94dde6cae72a2bd928932e3eab97460d (patch) | |
tree | acce597a7a473bc4c60c9723cea8d2f8a28f796d /dev-db | |
parent | googlecl: version bump (diff) | |
download | gentoo-2-03b8ba8e94dde6cae72a2bd928932e3eab97460d.tar.gz gentoo-2-03b8ba8e94dde6cae72a2bd928932e3eab97460d.tar.bz2 gentoo-2-03b8ba8e94dde6cae72a2bd928932e3eab97460d.zip |
Version Bump
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mongodb/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-1.4.4.ebuild | 61 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-1.5.5.ebuild | 63 |
3 files changed, 132 insertions, 1 deletions
diff --git a/dev-db/mongodb/ChangeLog b/dev-db/mongodb/ChangeLog index 1ecff47dc200..5db5a86aa83c 100644 --- a/dev-db/mongodb/ChangeLog +++ b/dev-db/mongodb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-db/mongodb # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.7 2010/06/16 20:35:15 ramereth Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.8 2010/07/18 12:58:58 lu_zero Exp $ + +*mongodb-1.5.5 (18 Jul 2010) +*mongodb-1.4.4 (18 Jul 2010) + + 18 Jul 2010; Luca Barbato <lu_zero@gentoo.org> +mongodb-1.4.4.ebuild, + +mongodb-1.5.5.ebuild: + Version Bump *mongodb-1.5.2 (16 Jun 2010) *mongodb-1.4.3 (16 Jun 2010) diff --git a/dev-db/mongodb/mongodb-1.4.4.ebuild b/dev-db/mongodb/mongodb-1.4.4.ebuild new file mode 100644 index 000000000000..3499d7258e36 --- /dev/null +++ b/dev-db/mongodb/mongodb-1.4.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-1.4.4.ebuild,v 1.1 2010/07/18 12:58:58 lu_zero Exp $ + +EAPI="2" + +inherit eutils versionator + +MY_PATCHVER=$(get_version_component_range 1-2) +MY_P="${PN}-src-r${PV}" + +DESCRIPTION="A high-performance, open source, schema-free document-oriented database" +HOMEPAGE="http://www.mongodb.org" +SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/spidermonkey[unicode] + dev-libs/boost + dev-libs/libpcre" + +DEPEND="${RDEPEND} + >=dev-util/scons-1.2.0-r1" + +# Must change this on every upgrade +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewgroup mongodb + enewuser mongodb -1 -1 /var/lib/${PN} mongodb +} + +src_prepare() { + epatch "${FILESDIR}"/"${PN}"-"${MY_PATCHVER}"-modify-*.patch +} + +src_compile() { + scons ${MAKEOPTS} all || die "Compile failed" +} + +src_install() { + scons ${MAKEOPTS} install --prefix="${D}"/usr || die "Install failed" + + for x in /var/{lib,log,run}/${PN}; do + dodir "${x}" || die "Install failed" + fowners mongodb:mongodb "${x}" + done + + doman debian/mongo*.1 || die "Install failed" + dodoc README docs/building.md + + newinitd "${FILESDIR}/${PN}.initd" ${PN} || die "Install failed" + newconfd "${FILESDIR}/${PN}.confd" ${PN} || die "Install failed" +} + +src_test() { + scons ${MAKEOPTS} smoke test || die "Tests failed" +} diff --git a/dev-db/mongodb/mongodb-1.5.5.ebuild b/dev-db/mongodb/mongodb-1.5.5.ebuild new file mode 100644 index 000000000000..6616ae369c92 --- /dev/null +++ b/dev-db/mongodb/mongodb-1.5.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-1.5.5.ebuild,v 1.1 2010/07/18 12:58:58 lu_zero Exp $ + +EAPI="2" + +inherit eutils versionator + +MY_PATCHVER=$(get_version_component_range 1-2) +MY_P="${PN}-src-r${PV}" + +DESCRIPTION="A high-performance, open source, schema-free document-oriented database" +HOMEPAGE="http://www.mongodb.org" +SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/spidermonkey[unicode] + dev-libs/boost + dev-libs/libpcre" + +DEPEND="${RDEPEND} + >=dev-util/scons-1.2.0-r1 + sys-libs/readline + sys-libs/ncurses" + +# Must change this on every upgrade +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewgroup mongodb + enewuser mongodb -1 -1 /var/lib/${PN} mongodb +} + +#src_prepare() { +# epatch "${FILESDIR}"/"${PN}"-"${MY_PATCHVER}"-modify-*.patch +#} + +src_compile() { + scons ${MAKEOPTS} all || die "Compile failed" +} + +src_install() { + scons ${MAKEOPTS} --nostrip install --prefix="${D}"/usr || die "Install failed" + + for x in /var/{lib,log,run}/${PN}; do + dodir "${x}" || die "Install failed" + fowners mongodb:mongodb "${x}" + done + + doman debian/mongo*.1 || die "Install failed" + dodoc README docs/building.md + + newinitd "${FILESDIR}/${PN}.initd" ${PN} || die "Install failed" + newconfd "${FILESDIR}/${PN}.confd" ${PN} || die "Install failed" +} + +src_test() { + scons ${MAKEOPTS} smoke --smokedbprefix='testdir' test || die "Tests failed" +} |