]> Pileus Git - ~andy/sunrise/commitdiff
dev-db/ mongodb: InCvs, taken by ramereth
authorJustin Lecher <jlec@gentoo.org>
Tue, 9 Mar 2010 21:14:29 +0000 (21:14 +0000)
committerJustin Lecher <jlec@gentoo.org>
Tue, 9 Mar 2010 21:14:29 +0000 (21:14 +0000)
svn path=/sunrise/; revision=10264

dev-db/mongodb/ChangeLog [deleted file]
dev-db/mongodb/Manifest [deleted file]
dev-db/mongodb/files/modify-post-strip-1.2.patch [deleted file]
dev-db/mongodb/files/modify-testing-1.2.patch [deleted file]
dev-db/mongodb/files/mongodb.confd [deleted file]
dev-db/mongodb/files/mongodb.initd [deleted file]
dev-db/mongodb/metadata.xml [deleted file]
dev-db/mongodb/mongodb-1.2.4.ebuild [deleted file]

diff --git a/dev-db/mongodb/ChangeLog b/dev-db/mongodb/ChangeLog
deleted file mode 100644 (file)
index 2a5b301..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-# ChangeLog for dev-db/mongodb
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-  05 Mar 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  -mongodb-1.2.3.ebuild, +mongodb-1.2.4.ebuild:
-  Version bump
-
-  24 Feb 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  -mongodb-1.2.2.ebuild, +mongodb-1.2.3.ebuild:
-  Version bump
-
-  19 Feb 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  mongodb-1.2.2.ebuild:
-  Change SRC_URI, thanks to Brandon Bergren for the tip
-
-  31 Jan 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  -mongodb-1.2.1.ebuild, +mongodb-1.2.2.ebuild:
-  Version bump
-
-  02 Jan 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  -mongodb-1.2.0.ebuild, +mongodb-1.2.1.ebuild:
-  Version bump
-
-  19 Dec 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  -mongodb-1.0.1.ebuild, -files/modify-post-strip-1.0.patch,
-  -files/modify-testing-1.0.patch:
-  Remove 1.0 branch since users will upgrade on sync anyway. Masking the 1.2
-  branch isn't preferable either since it's considered stable
-
-  15 Dec 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  mongodb-1.0.1.ebuild, +files/modify-post-strip-1.0.patch,
-  +files/modify-testing-1.0.patch, -files/modify-post-strip.patch,
-  -files/modify-testing.patch:
-  Rename patches for 1.0.x branch so it's easier to follow
-
-  15 Dec 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  +mongodb-1.2.0.ebuild, +files/modify-post-strip-1.2.patch,
-  +files/modify-testing-1.2.patch:
-  New version of MongoDB
-
-  23 Oct 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  -mongodb-1.0.0.ebuild, +mongodb-1.0.1.ebuild:
-  Version bump
-
-  06 Oct 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  mongodb-1.0.0.ebuild:
-  Adapt to upstream tarball rename
-
-  28 Aug 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  -mongodb-0.9.10.ebuild, +mongodb-1.0.0.ebuild:
-  Version bump
-
-  24 Aug 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  -mongodb-0.9.9.ebuild, +mongodb-0.9.10.ebuild:
-  Version bump
-
-  19 Aug 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  mongodb-0.9.9.ebuild:
-  Remove RESTRICT
-
-  19 Aug 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  -mongodb-0.9.8.ebuild, +mongodb-0.9.9.ebuild, -files/server-238-fix.patch:
-  Version bump
-
-  17 Aug 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  -mongodb-0.9.7.ebuild, +mongodb-0.9.8.ebuild, +files/server-238-fix.patch:
-  Version bump
-
-  01 Aug 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  mongodb-0.9.7.ebuild:
-  Die if doman fails. Thanks to Tommy[D]
-
-  01 Aug 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  mongodb-0.9.7.ebuild:
-  Remove scons hack since MAKEOPTS are safe to pass. Thanks to Tommy[D]
-
-  31 Jul 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  -mongodb-0.9.6.ebuild, +mongodb-0.9.7.ebuild,
-  files/modify-post-strip.patch:
-  Version bump
-
-  27 Jul 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-  +mongodb-0.9.6.ebuild, +files/modify-post-strip.patch,
-  +files/modify-testing.patch, +files/mongodb.confd, +files/mongodb.initd,
-  +metadata.xml:
-  New ebuild for bug 273259. Thanks to scarabeus and ssuominen
-
diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
deleted file mode 100644 (file)
index ce01b74..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX modify-post-strip-1.2.patch 456 RMD160 dae0e77c3e6e0bb867b972586a907b438b2f9de8 SHA1 5021957e1165b897e3ec74d1d8b2d4d81f66809e SHA256 85f6c2eacdacc316c7ebb5ce373da7593daf32b097435c1deb2516a600f69ca3
-AUX modify-testing-1.2.patch 1480 RMD160 3a9f0814141d55fccf41d45d9d376fefad273322 SHA1 18fb11b60afdbc489788ff9cb315700067a99807 SHA256 40646380a5ef57a3d92a7db9b606932f681432beb3054d885e7c5778f533470d
-AUX mongodb.confd 285 RMD160 cc5e3ab24a9880a19392a7416d23d1ae7a328e11 SHA1 7c4b720ea5b0afd2fa88a6adc2d8a2e356691413 SHA256 8dfedbb433e11f8ed6ec8159ed5c02f94c22f86006cda21f0b2bb59ebe50b2ad
-AUX mongodb.initd 1024 RMD160 cd38a158302270c75d2e12360f6d7fab259aca66 SHA1 f841675161b318ee7647e028df38b03ae6e4c647 SHA256 a9136dbcbd9626d80988c2f46c73af6b2f23bc4af52c9f68d33d2feaa1649dcb
-DIST mongodb-src-r1.2.4.tar.gz 3879698 RMD160 1d2e9f629cb2af620f0543138773d744817657b2 SHA1 a3d09fea3ac5bde7955520d99fe546e102ac6474 SHA256 8ebeca780d461c9a525230f4ef7321f07753cfebc21f0051be2d430cc99a605d
-EBUILD mongodb-1.2.4.ebuild 1657 RMD160 014d5c67065d8e2a5c6f224ede1167d112c5a635 SHA1 9034e0689d9db57f99c2bdf3146eb1c3783135b4 SHA256 64a97f4c1833244eeb532748b9bed5abd00028dd8639eadfc776bf87694ebba2
-MISC ChangeLog 3257 RMD160 18261d5dd724703b2f2e36666aca3f5d74d4abf8 SHA1 e5a5741016b45456fd223b2363fb68f938b37625 SHA256 bb4db5f41c79d525bcf38d4e835e41d873236739d036e9308142c85dfabb29e5
-MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-db/mongodb/files/modify-post-strip-1.2.patch b/dev-db/mongodb/files/modify-post-strip-1.2.patch
deleted file mode 100644 (file)
index b10de0e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- SConstruct 2009-10-17 15:22:09.000000000 +0200
-+++ SConstruct.new     2009-10-17 15:23:31.000000000 +0200
-@@ -1240,8 +1240,6 @@
-     fullInstallName = installDir + "/bin/" + name
-     allBinaries += [ name ]
--    if solaris or linux:
--        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/modify-testing-1.2.patch b/dev-db/mongodb/files/modify-testing-1.2.patch
deleted file mode 100644 (file)
index 31bda47..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
---- SConstruct.old     2009-10-17 15:26:14.000000000 +0200
-+++ SConstruct 2009-10-17 15:29:52.000000000 +0200
-@@ -995,15 +995,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 ] )
-@@ -1072,7 +1074,7 @@
-     mongodForTestsPort = "40000"
-     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 ] )
-
---- dbtests/dbtests.cpp        2009-10-17 16:40:46.000000000 +0200
-+++ dbtests/dbtests.cpp.new    2009-10-17 16:40:54.000000000 +0200
-@@ -22,6 +22,6 @@
- #include "dbtests.h"
- int main( int argc, char** argv ) {
--    return Suite::run(argc, argv, "/tmp/unittest");
-+    return Suite::run(argc, argv, "testdir/tmp/unittest");
- }
-
diff --git a/dev-db/mongodb/files/mongodb.confd b/dev-db/mongodb/files/mongodb.confd
deleted file mode 100644 (file)
index bc16601..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# Mongodb essentials
-MONGODB_EXEC="/usr/bin/mongod"
-MONGODB_DATA="/var/lib/mongodb"
-MONGODB_USER="mongodb"
-MONGODB_PID_FILE="/var/run/mongodb/mongodb.pid"
-
-MONGODB_IP="127.0.0.1"
-MONGODB_PORT="27017"
-
-# Set extra options here, such as disabling the admin web server
-MONGODB_OPTIONS=""
diff --git a/dev-db/mongodb/files/mongodb.initd b/dev-db/mongodb/files/mongodb.initd
deleted file mode 100644 (file)
index 97d2053..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-depend() {
-       need net
-}
-
-start() {
-       ebegin "Starting ${SVCNAME}"
-       if [ -z "$MONGODB_PID_FILE" ] ; then
-               ewarn "MONGODB_PID_FILE must be set"
-               return -1
-       fi
-       if [ -z "$MONGODB_USER" ] ; then
-               ewarn "ERROR: MONGODB_USER must be set"
-               return -1
-       fi
-
-       args=""
-       if [ -n "$MONGODB_DATA" ] ; then
-               args="$args --dbpath $MONGODB_DATA"
-       fi
-       if [ -n "$MONGODB_PORT" ] ; then
-               args="$args --port $MONGODB_PORT"
-       fi
-       if [ -n "$MONGODB_IP" ] ; then
-               args="$args --bind_ip $MONGODB_IP"
-       fi
-       if [ -n "$MONGODB_OPTIONS" ] ; then
-               args="$args $MONGODB_OPTIONS"
-       fi
-
-       start-stop-daemon --background --start --user ${MONGODB_USER} --pidfile \
-               "${MONGODB_PID_FILE}" --make-pidfile --exec ${MONGODB_EXEC} \
-                -- ${args} run
-       eend $?
-}
-
-stop() {
-       ebegin "Stopping ${SVCNAME}"
-       start-stop-daemon --stop --exec ${EXEC} --pidfile ${MONGODB_PID_FILE}
-       eend $? "Failed to stop ${SVCNAME}"
-}
diff --git a/dev-db/mongodb/metadata.xml b/dev-db/mongodb/metadata.xml
deleted file mode 100644 (file)
index 7e32869..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>maintainer-wanted</herd>
-</pkgmetadata>
diff --git a/dev-db/mongodb/mongodb-1.2.4.ebuild b/dev-db/mongodb/mongodb-1.2.4.ebuild
deleted file mode 100644 (file)
index e64b10b..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit eutils
-
-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
-       dev-libs/boost
-       dev-libs/libpcre"
-
-DEPEND="${RDEPEND}
-       >=dev-util/scons-1.2.0-r1"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
-       enewgroup mongodb
-       enewuser mongodb -1 -1 /var/lib/${PN} mongodb
-}
-
-src_prepare() {
-       epatch "${FILESDIR}"/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"
-
-       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"
-}
-
-pkg_preinst() {
-       has_version '<dev-db/mongodb-1.2'
-       PREVIOUS_LESS_THAN_1_2=$?
-}
-
-pkg_postinst() {
-       if [[ ${PREVIOUS_LESS_THAN_1_2} -eq 0 ]]; then
-               ewarn "You need to upgrade your database before proceeding! Steps:"
-               ewarn "   /etc/init.d/mongodb stop"
-               ewarn "   mongod --upgrade"
-               ewarn "   /etc/init.d/mongodb start"
-               ewarn "For more info about upgrading, please visit:"
-               ewarn "http://www.mongodb.org/display/DOCS/1.2.0+Release+Notes"
-       fi;
-}