diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2010-05-21 08:47:38 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2010-05-21 08:47:38 +0000 |
commit | 56eabbbb1a88dd9cb4e8b8bcd776a64974fc0cf0 (patch) | |
tree | fb1a6bc53bf282a7d6a164e9db79952c799e9c5b /dev-db/mongodb | |
parent | Version bump. (diff) | |
download | historical-56eabbbb1a88dd9cb4e8b8bcd776a64974fc0cf0.tar.gz historical-56eabbbb1a88dd9cb4e8b8bcd776a64974fc0cf0.tar.bz2 historical-56eabbbb1a88dd9cb4e8b8bcd776a64974fc0cf0.zip |
Development version
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-db/mongodb')
-rw-r--r-- | dev-db/mongodb/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/mongodb/Manifest | 6 | ||||
-rw-r--r-- | dev-db/mongodb/files/mongodb-1.5-modify-post-strip.patch | 12 | ||||
-rw-r--r-- | dev-db/mongodb/files/mongodb-1.5-modify-testing.patch | 44 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-1.5.1.ebuild | 61 |
5 files changed, 130 insertions, 2 deletions
diff --git a/dev-db/mongodb/ChangeLog b/dev-db/mongodb/ChangeLog index f205a96cbc92..dacd9f94b09f 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.5 2010/05/21 06:39:57 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.6 2010/05/21 08:47:38 lu_zero Exp $ + +*mongodb-1.5.1 (21 May 2010) + + 21 May 2010; Luca Barbato <lu_zero@gentoo.org> + +files/mongodb-1.5-modify-post-strip.patch, + +files/mongodb-1.5-modify-testing.patch, +mongodb-1.5.1.ebuild: + Development version *mongodb-1.4.2 (21 May 2010) diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest index 57924ec1716d..1a016a4998cf 100644 --- a/dev-db/mongodb/Manifest +++ b/dev-db/mongodb/Manifest @@ -2,15 +2,19 @@ AUX mongodb-1.2-modify-post-strip.patch 456 RMD160 dae0e77c3e6e0bb867b972586a907 AUX mongodb-1.2-modify-testing.patch 1480 RMD160 3a9f0814141d55fccf41d45d9d376fefad273322 SHA1 18fb11b60afdbc489788ff9cb315700067a99807 SHA256 40646380a5ef57a3d92a7db9b606932f681432beb3054d885e7c5778f533470d AUX mongodb-1.4-modify-post-strip.patch 600 RMD160 bf952ef7d985d31a769d121257ba5f62411e2548 SHA1 a11eb89aaa9e63a0ed1cca1b00dc1525ccc3fafc SHA256 cac8a7f7fc5ffad038e63e9333bffe7eba63f84774aae6c286ffa7084cb5c584 AUX mongodb-1.4-modify-testing.patch 1740 RMD160 d088dd48d5e50c497ff0e46bd7175d53e7466e75 SHA1 7226248469498a9c3589b66fd7ef5b224a8e4a47 SHA256 e1f72cd97f69ec9241e38b4efd3380e068ee081e3e45116163cbbe6f55b89798 +AUX mongodb-1.5-modify-post-strip.patch 600 RMD160 bf952ef7d985d31a769d121257ba5f62411e2548 SHA1 a11eb89aaa9e63a0ed1cca1b00dc1525ccc3fafc SHA256 cac8a7f7fc5ffad038e63e9333bffe7eba63f84774aae6c286ffa7084cb5c584 +AUX mongodb-1.5-modify-testing.patch 1740 RMD160 d088dd48d5e50c497ff0e46bd7175d53e7466e75 SHA1 7226248469498a9c3589b66fd7ef5b224a8e4a47 SHA256 e1f72cd97f69ec9241e38b4efd3380e068ee081e3e45116163cbbe6f55b89798 AUX mongodb.confd 285 RMD160 cc5e3ab24a9880a19392a7416d23d1ae7a328e11 SHA1 7c4b720ea5b0afd2fa88a6adc2d8a2e356691413 SHA256 8dfedbb433e11f8ed6ec8159ed5c02f94c22f86006cda21f0b2bb59ebe50b2ad AUX mongodb.initd 1129 RMD160 92a89d9d71ffcdaba8f86f1a2902abddc9866147 SHA1 2c83bfe4c5728ffc8b3dc37fd8d345d09c13f6b0 SHA256 c318a8ca1fe83c59df759b2c70e0e0c22fe38cae49de6dbd1afa8399ef626e6a DIST mongodb-1.2.2.tar.gz 3876370 RMD160 f78d9145e9fa4aff69af872f89548baebc364d3c SHA1 a95c2c419a314c603a189cb7fab393d1c46357b3 SHA256 2c25c3db9bce1d78c36bbba0dde05a0dceb0133eda6036131bf3e8dec59c2148 DIST mongodb-src-r1.2.4.tar.gz 3879698 RMD160 1d2e9f629cb2af620f0543138773d744817657b2 SHA1 a3d09fea3ac5bde7955520d99fe546e102ac6474 SHA256 8ebeca780d461c9a525230f4ef7321f07753cfebc21f0051be2d430cc99a605d DIST mongodb-src-r1.4.0.tar.gz 1184638 RMD160 33e6ef5b7c301bcabdfc4cce325c50f51a324ccd SHA1 c89ad3b5074b8f739ffaf42ae0f26bc56e482449 SHA256 2a3a9e9a7267aadcc730a6b1010894df9397fb5d19c29010fdc2de95ef5b31cb DIST mongodb-src-r1.4.2.tar.gz 1186185 RMD160 55ad90bb622899555bbecfc41e5e483be354c635 SHA1 cf293d084b89bf93ef3b44b528adb2b4f55ed4d1 SHA256 cb75d668e36e51904aec4f1d65d835ffb78a54a8d929376c5bdebbefddf87fc0 +DIST mongodb-src-r1.5.1.tar.gz 1256048 RMD160 de86c0bebaa50a914262b9a5f0d1bd7e3f24dd39 SHA1 a33b98114d15c4334f4b5ae34abea6c26f5603ac SHA256 764009be82f0172e26330cfa6cddefbcda978a4517ea0aa08faa1b1b14461b6c EBUILD mongodb-1.2.2.ebuild 1920 RMD160 32da0cf9cb8ac043d2320f8b533de81cab78721e SHA1 d11e28e89bf3f31bb3d0a17c2fe04dae33d4bf8b SHA256 3c61dfe675fe488a68b2cc7a0adf14353284d555884d533d29d22186c07ce599 EBUILD mongodb-1.2.4.ebuild 1468 RMD160 8b4c0cea708bd4b92182aafda62f5c7d4440f0a2 SHA1 a5ae5c825acf2bf1aaba014c7685a283ebde7630 SHA256 10d1fd69543f14b20f68edad91c7e9444cca20b5b394487fe5fbb4f7e8df4c47 EBUILD mongodb-1.4.0.ebuild 1468 RMD160 f2ffb7aaa117688d23a8a69e9e3817fa514f1334 SHA1 33ba6b0da2f34f5c99c9a50de1eb7e6658dd83d9 SHA256 4640a9c36827c51458695a7341d24516c543e6e6c40d885c9940f1799868c451 EBUILD mongodb-1.4.2.ebuild 1467 RMD160 a13017bcb8a08ab86605bc88c8f2090f67cf7416 SHA1 177a96ade2d9dbcd9708ece11c16c425c41ea81d SHA256 24bef7f4fafd6547efa59f0f227b8017d028e2e81392a1ebc706a2454544eb17 -MISC ChangeLog 1768 RMD160 a8ac29fa56c14df9e115e26bec13fea58fa3ccc9 SHA1 a331e0fc4886d918f05c2c84315cda3285bf41aa SHA256 28f8f6d1c8033e76f8449ec98cc24dbeabceb53f6bb0ea235fb866c5321aee47 +EBUILD mongodb-1.5.1.ebuild 1467 RMD160 486e352d90cac0424793c4e0f73469a225d63c4b SHA1 e05c6775457662ca4829f7e036212099b30bc3b5 SHA256 1b80f3931d744ef8cc3cda094e487ede7ae865387732f692aadfecba8763ba56 +MISC ChangeLog 1982 RMD160 f1aaf999f4f037dba52dd26eecec993f694d8278 SHA1 d098b807e3ae36fb2f4f5e50a4a084b1167f5bbd SHA256 e11254a533fbcfc75d25a0ad190463a22e41762e891dfb823ccb63b62e2747e4 MISC metadata.xml 635 RMD160 bb97e8619fb57142f8db034825c42e8823ee6fe8 SHA1 25225f273ee43265bd0f197d312124aa5ccd367d SHA256 a2325296197e68e77ef96c3754baaebc24b40d2d7f90093cdd0e625e503447f4 diff --git a/dev-db/mongodb/files/mongodb-1.5-modify-post-strip.patch b/dev-db/mongodb/files/mongodb-1.5-modify-post-strip.patch new file mode 100644 index 000000000000..5795c7e48925 --- /dev/null +++ b/dev-db/mongodb/files/mongodb-1.5-modify-post-strip.patch @@ -0,0 +1,12 @@ +diff -ur mongodb-src-r1.3.3/SConstruct mongodb-src-r1.3.3.new/SConstruct +--- mongodb-src-r1.3.3/SConstruct 2010-03-02 07:37:07.000000000 -0800 ++++ mongodb-src-r1.3.3.new/SConstruct 2010-03-07 22:36:10.000000000 -0800 +@@ -1478,8 +1478,6 @@ + fullInstallName = installDir + "/bin/" + name + + allBinaries += [ name ] +- if (solaris or linux) and (not GetOption("nostrip")): +- e.AddPostAction( inst, e.Action( 'strip ' + fullInstallName ) ) + + if linux and len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) == "s3dist": + e.AddPostAction( inst , checkGlibc ) diff --git a/dev-db/mongodb/files/mongodb-1.5-modify-testing.patch b/dev-db/mongodb/files/mongodb-1.5-modify-testing.patch new file mode 100644 index 000000000000..eac7843d5c2f --- /dev/null +++ b/dev-db/mongodb/files/mongodb-1.5-modify-testing.patch @@ -0,0 +1,44 @@ +diff -ur mongodb-src-r1.4.0/SConstruct mongodb-src-r1.4.0.new/SConstruct +--- mongodb-src-r1.4.0/SConstruct 2010-03-02 07:37:07.000000000 -0800 ++++ mongodb-src-r1.4.0.new/SConstruct 2010-03-07 22:40:02.000000000 -0800 +@@ -1211,15 +1211,17 @@ + Exit( 1 ) + + def ensureTestDirs(): +- ensureDir( "/tmp/unittest/" ) +- ensureDir( "/data/" ) +- ensureDir( "/data/db/" ) ++ ensureDir( "testdir/" ) ++ ensureDir( "testdir/tmp" ) ++ ensureDir( "testdir/tmp/unittest/" ) ++ ensureDir( "testdir/data/" ) ++ ensureDir( "testdir/data/db/" ) + + def testSetup( env , target , source ): + ensureTestDirs() + + if len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) == "test": +- ensureDir( "/tmp/unittest/" ); ++ ensureDir( "testdir/tmp/unittest/" ); + + addSmoketest( "smoke", [ add_exe( "test" ) ] , [ test[ 0 ].abspath ] ) + addSmoketest( "smokePerf", [ "perftest" ] , [ perftest[ 0 ].abspath ] ) +@@ -1297,7 +1299,7 @@ + mongodForTestsPort = "32000" + import os + ensureTestDirs() +- dirName = "/data/db/sconsTests/" ++ dirName = "testdir/data/db/sconsTests/" + ensureDir( dirName ) + from subprocess import Popen + mongodForTests = Popen( [ mongod[0].abspath, "--port", mongodForTestsPort, "--dbpath", dirName ] ) +diff -ur mongodb-src-r1.4.0/dbtests/dbtests.cpp mongodb-src-r1.4.0.new/dbtests/dbtests.cpp +--- mongodb-src-r1.4.0/dbtests/dbtests.cpp 2010-03-02 07:37:07.000000000 -0800 ++++ mongodb-src-r1.4.0.new/dbtests/dbtests.cpp 2010-03-07 22:40:37.000000000 -0800 +@@ -23,6 +23,6 @@ + + int main( int argc, char** argv ) { + static StaticObserver StaticObserver; +- return Suite::run(argc, argv, "/tmp/unittest"); ++ return Suite::run(argc, argv, "testdir/tmp/unittest"); + } diff --git a/dev-db/mongodb/mongodb-1.5.1.ebuild b/dev-db/mongodb/mongodb-1.5.1.ebuild new file mode 100644 index 000000000000..2f32540ba4f0 --- /dev/null +++ b/dev-db/mongodb/mongodb-1.5.1.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.5.1.ebuild,v 1.1 2010/05/21 08:47:38 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" +} |