diff options
author | Ernie Hershey <ernie.hershey@10gen.com> | 2013-11-30 13:08:30 -0500 |
---|---|---|
committer | Ernie Hershey <ernie.hershey@10gen.com> | 2013-12-20 15:51:05 -0500 |
commit | e0af66d3ac4da46a4c2946a3d4056315cfb6653a (patch) | |
tree | 238cd23dff80648d1f264fe90d3888b9b04da30e /debian | |
parent | 6f1225ce6ed724e3dcc13a0acecb9d57a2e1dc47 (diff) | |
download | mongo-e0af66d3ac4da46a4c2946a3d4056315cfb6653a.tar.gz |
SERVER-11765 Create stable packaging files
These are all based on equivalent "-unstable" files
that have been used for 2.5 packages. The only differences
are removing "-unstable" from package, directory, and file names, and
replacing normal packages in conflicts with unstable packages.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/init.d | 4 | ||||
-rw-r--r-- | debian/mongodb-enterprise-server.postinst | 55 | ||||
-rw-r--r-- | debian/mongodb-enterprise-unstable.control | 26 | ||||
-rw-r--r-- | debian/mongodb-enterprise-unstable.rules | 45 | ||||
-rw-r--r-- | debian/mongodb-enterprise.control | 127 | ||||
-rw-r--r-- | debian/mongodb-enterprise.rules | 137 | ||||
-rw-r--r-- | debian/mongodb-org-server.postinst | 55 | ||||
-rw-r--r-- | debian/mongodb-org-unstable.control | 26 | ||||
-rw-r--r-- | debian/mongodb-org-unstable.rules | 45 | ||||
-rw-r--r-- | debian/mongodb-org.control | 127 | ||||
-rw-r--r-- | debian/mongodb-org.rules | 139 |
12 files changed, 702 insertions, 90 deletions
diff --git a/debian/changelog b/debian/changelog index 2b94e5755c7..06bae583135 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mongodb (2.5.4) unstable; urgency=low + + * see http://jira.mongodb.org/browse/SERVER/fixforversion/12898 + + -- Ernie Hershey <ernie.hershey@mongodb.com> Thu, 19 Dec 2013 00:41:46 -0500 + mongodb (2.1.2) unstable; urgency=low * see http://jira.mongodb.org/browse/SERVER/fixforversion/10894 diff --git a/debian/init.d b/debian/init.d index 4a62a677dba..ecb2255f75d 100644 --- a/debian/init.d +++ b/debian/init.d @@ -29,7 +29,7 @@ # Default-Stop: 0 1 6 # Short-Description: An object/document-oriented database # Description: MongoDB is a high-performance, open source, schema-free -# document-oriented data store that's easy to deploy, manage +# document-oriented data store that's easy to deploy, manage # and use. It's network accessible, written in C++ and offers # the following features: # @@ -40,7 +40,7 @@ # * Replication and fail-over support # * Efficient storage of binary data including large # objects (e.g. videos) -# * Auto-sharding for cloud-level scalability (Q209) +# * Automatic partitioning for cloud-level scalability # # High performance, scalability, and reasonable depth of # functionality are the goals for the project. diff --git a/debian/mongodb-enterprise-server.postinst b/debian/mongodb-enterprise-server.postinst new file mode 100644 index 00000000000..2914fb85631 --- /dev/null +++ b/debian/mongodb-enterprise-server.postinst @@ -0,0 +1,55 @@ +#!/bin/sh +# postinst script for mongodb +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + # create a mongodb group and user + if ! getent passwd mongodb >/dev/null 2>&1; then + adduser --system --no-create-home mongodb + addgroup --system mongodb + adduser mongodb mongodb + fi + + # create db -- note: this should agree with dbpath in mongod.conf + mkdir -p /var/lib/mongodb + chown -R mongodb:mongodb /var/lib/mongodb + + # create logdir -- note: this should agree with logpath in mongod.conf + mkdir -p /var/log/mongodb + chown -R mongodb:mongodb /var/log/mongodb + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/mongodb-enterprise-unstable.control b/debian/mongodb-enterprise-unstable.control index 0fa2c4ea943..9ce750a9418 100644 --- a/debian/mongodb-enterprise-unstable.control +++ b/debian/mongodb-enterprise-unstable.control @@ -1,7 +1,7 @@ Source: mongodb-enterprise-unstable Section: devel Priority: optional -Maintainer: Richard Kreuter <richard@10gen.com> +Maintainer: Ernie Hershey <ernie.hershey@mongodb.com> Build-Depends: Standards-Version: 3.8.0 Homepage: http://www.mongodb.org @@ -12,7 +12,7 @@ Architecture: any Depends: mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-tools Description: MongoDB cross-platform document-oriented database system (enterprise metapackage) MongoDB is a high-performance, open source, schema-free - document-oriented data store that's easy to deploy, manage + document-oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features : . @@ -23,7 +23,7 @@ Description: MongoDB cross-platform document-oriented database system (enterpris * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) - * Auto-sharding for cloud-level scalability (Q209) + * Automatic partitioning for cloud-level scalability . High performance, scalability, and reasonable depth of functionality are the goals for the project. @@ -33,9 +33,9 @@ Package: mongodb-enterprise-unstable-shell Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-org-unstable-server, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen Architecture: any Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libsasl2-2, libssl1.0.0, libkrb5-3 -Description: MongoDB sharding router (enterprise) +Description: MongoDB shell client (enterprise) MongoDB is a high-performance, open source, schema-free - document-oriented data store that's easy to deploy, manage + document-oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features : . @@ -46,7 +46,7 @@ Description: MongoDB sharding router (enterprise) * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) - * Auto-sharding for cloud-level scalability (Q209) + * Automatic partitioning for cloud-level scalability . High performance, scalability, and reasonable depth of functionality are the goals for the project. @@ -59,7 +59,7 @@ Architecture: any Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libsasl2-2, libssl1.0.0, libkrb5-3, libsnmp15, snmp Description: MongoDB database server (enterprise) MongoDB is a high-performance, open source, schema-free - document-oriented data store that's easy to deploy, manage + document-oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features : . @@ -70,7 +70,7 @@ Description: MongoDB database server (enterprise) * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) - * Auto-sharding for cloud-level scalability (Q209) + * Automatic partitioning for cloud-level scalability . High performance, scalability, and reasonable depth of functionality are the goals for the project. @@ -81,9 +81,9 @@ Package: mongodb-enterprise-unstable-mongos Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-org-unstable-server, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen Architecture: any Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libsasl2-2, libssl1.0.0, libkrb5-3 -Description: MongoDB shell client (enterprise) +Description: MongoDB sharding router (enterprise) MongoDB is a high-performance, open source, schema-free - document-oriented data store that's easy to deploy, manage + document-oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features : . @@ -94,7 +94,7 @@ Description: MongoDB shell client (enterprise) * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) - * Auto-sharding for cloud-level scalability (Q209) + * Automatic partitioning for cloud-level scalability . High performance, scalability, and reasonable depth of functionality are the goals for the project. @@ -107,7 +107,7 @@ Architecture: any Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libsasl2-2, libssl1.0.0, libkrb5-3 Description: MongoDB tools (enterprise) MongoDB is a high-performance, open source, schema-free - document-oriented data store that's easy to deploy, manage + document-oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features : . @@ -118,7 +118,7 @@ Description: MongoDB tools (enterprise) * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) - * Auto-sharding for cloud-level scalability (Q209) + * Automatic partitioning for cloud-level scalability . High performance, scalability, and reasonable depth of functionality are the goals for the project. diff --git a/debian/mongodb-enterprise-unstable.rules b/debian/mongodb-enterprise-unstable.rules index ab8683b4a8b..00103176340 100644 --- a/debian/mongodb-enterprise-unstable.rules +++ b/debian/mongodb-enterprise-unstable.rules @@ -1,10 +1,6 @@ #!/usr/bin/make -f # -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. +TOOLS=bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 @@ -13,7 +9,6 @@ export DH_VERBOSE=1 configure: configure-stamp configure-stamp: dh_testdir - # Add here commands to configure the package. touch configure-stamp @@ -23,21 +18,15 @@ build: build-stamp build-stamp: configure-stamp dh_testdir - # Add here commands to compile the package. -# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. + # THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. # scons - #docbook-to-man debian/mongodb.sgml > mongodb.1 - echo debian/bsondump.1 > debian/mongodb-enterprise-unstable-tools.manpages - echo debian/mongodump.1 >> debian/mongodb-enterprise-unstable-tools.manpages - echo debian/mongoexport.1 >> debian/mongodb-enterprise-unstable-tools.manpages - echo debian/mongofiles.1 >> debian/mongodb-enterprise-unstable-tools.manpages - echo debian/mongoimport.1 >> debian/mongodb-enterprise-unstable-tools.manpages - echo debian/mongooplog.1 >> debian/mongodb-enterprise-unstable-tools.manpages - echo debian/mongoperf.1 >> debian/mongodb-enterprise-unstable-tools.manpages - echo debian/mongorestore.1 >> debian/mongodb-enterprise-unstable-tools.manpages - echo debian/mongosniff.1 >> debian/mongodb-enterprise-unstable-tools.manpages - echo debian/mongostat.1 >> debian/mongodb-enterprise-unstable-tools.manpages - echo debian/mongotop.1 >> debian/mongodb-enterprise-unstable-tools.manpages + #docbook-to-man debian/mongodb.sgml > mongodb.1 + + echo -n > debian/mongodb-enterprise-unstable-tools.manpages + for binary in ${TOOLS} ; \ + do \ + echo debian/$$binary.1 >> debian/mongodb-enterprise-unstable-tools.manpages ; \ + done echo debian/mongo.1 > debian/mongodb-enterprise-unstable-shell.manpages echo debian/mongod.1 > debian/mongodb-enterprise-unstable-server.manpages @@ -86,7 +75,7 @@ install: build dh_prep dh_installdirs -# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. + # THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. # scons --prefix=$(CURDIR)/debian/mongodb/usr install mkdir -p $(CURDIR)/debian/mongodb-enterprise-unstable-shell/usr/bin mkdir -p $(CURDIR)/debian/mongodb-enterprise-unstable-server/usr/bin @@ -96,16 +85,10 @@ install: build cp -v $(CURDIR)/BINARIES/usr/bin/mongod $(CURDIR)/debian/mongodb-enterprise-unstable-server/usr/bin cp -v $(CURDIR)/BINARIES/usr/bin/mongos $(CURDIR)/debian/mongodb-enterprise-unstable-mongos/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/bsondump $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongodump $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongoexport $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongofiles $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongoimport $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongooplog $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongoperf $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongorestore $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongostat $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongotop $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin + for binary in ${TOOLS} ; \ + do \ + cp -v $(CURDIR)/BINARIES/usr/bin/$$binary $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin ; \ + done mkdir -p $(CURDIR)/debian/mongodb-enterprise-unstable-server/etc cp $(CURDIR)/debian/mongod.conf $(CURDIR)/debian/mongodb-enterprise-unstable-server/etc/mongod.conf diff --git a/debian/mongodb-enterprise.control b/debian/mongodb-enterprise.control new file mode 100644 index 00000000000..790714a087a --- /dev/null +++ b/debian/mongodb-enterprise.control @@ -0,0 +1,127 @@ +Source: mongodb-enterprise +Section: devel +Priority: optional +Maintainer: Ernie Hershey <ernie.hershey@mongodb.com> +Build-Depends: +Standards-Version: 3.8.0 +Homepage: http://www.mongodb.org + +Package: mongodb-enterprise +Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-org-unstable-server, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen +Architecture: any +Depends: mongodb-enterprise-shell, mongodb-enterprise-server, mongodb-enterprise-mongos, mongodb-enterprise-tools +Description: MongoDB cross-platform document-oriented database system (enterprise metapackage) + MongoDB is a high-performance, open source, schema-free + document-oriented data store that's easy to deploy, manage + and use. It's network accessible, written in C++ and offers + the following features : + . + * Collection oriented storage - easy storage of object- + style data + * Full index support, including on inner objects + * Query profiling + * Replication and fail-over support + * Efficient storage of binary data including large + objects (e.g. videos) + * Automatic partitioning for cloud-level scalability + . + High performance, scalability, and reasonable depth of + functionality are the goals for the project. + + +Package: mongodb-enterprise-shell +Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-org-unstable-server, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen +Architecture: any +Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libsasl2-2, libssl1.0.0 +Description: MongoDB shell client (enterprise) + MongoDB is a high-performance, open source, schema-free + document-oriented data store that's easy to deploy, manage + and use. It's network accessible, written in C++ and offers + the following features : + . + * Collection oriented storage - easy storage of object- + style data + * Full index support, including on inner objects + * Query profiling + * Replication and fail-over support + * Efficient storage of binary data including large + objects (e.g. videos) + * Automatic partitioning for cloud-level scalability + . + High performance, scalability, and reasonable depth of + functionality are the goals for the project. + . + This Debian package installs the mongo shell. + +Package: mongodb-enterprise-server +Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-org-unstable-server, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen +Architecture: any +Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libsasl2-2, libssl1.0.0, libsnmp15 +Description: MongoDB database server (enterprise) + MongoDB is a high-performance, open source, schema-free + document-oriented data store that's easy to deploy, manage + and use. It's network accessible, written in C++ and offers + the following features : + . + * Collection oriented storage - easy storage of object- + style data + * Full index support, including on inner objects + * Query profiling + * Replication and fail-over support + * Efficient storage of binary data including large + objects (e.g. videos) + * Automatic partitioning for cloud-level scalability + . + High performance, scalability, and reasonable depth of + functionality are the goals for the project. + . + This Debian package installs the mongod server. + +Package: mongodb-enterprise-mongos +Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-org-unstable-server, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen +Architecture: any +Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libsasl2-2, libssl1.0.0 +Description: MongoDB sharding router (enterprise) + MongoDB is a high-performance, open source, schema-free + document-oriented data store that's easy to deploy, manage + and use. It's network accessible, written in C++ and offers + the following features : + . + * Collection oriented storage - easy storage of object- + style data + * Full index support, including on inner objects + * Query profiling + * Replication and fail-over support + * Efficient storage of binary data including large + objects (e.g. videos) + * Automatic partitioning for cloud-level scalability + . + High performance, scalability, and reasonable depth of + functionality are the goals for the project. + . + This Debian package installs the mongos program. + +Package: mongodb-enterprise-tools +Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-org-unstable-server, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen +Architecture: any +Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libsasl2-2, libssl1.0.0 +Description: MongoDB tools (enterprise) + MongoDB is a high-performance, open source, schema-free + document-oriented data store that's easy to deploy, manage + and use. It's network accessible, written in C++ and offers + the following features : + . + * Collection oriented storage - easy storage of object- + style data + * Full index support, including on inner objects + * Query profiling + * Replication and fail-over support + * Efficient storage of binary data including large + objects (e.g. videos) + * Automatic partitioning for cloud-level scalability + . + High performance, scalability, and reasonable depth of + functionality are the goals for the project. + . + This Debian package installs standard utilities for + interacting with MongoDB. diff --git a/debian/mongodb-enterprise.rules b/debian/mongodb-enterprise.rules new file mode 100644 index 00000000000..c10a95f564a --- /dev/null +++ b/debian/mongodb-enterprise.rules @@ -0,0 +1,137 @@ +#!/usr/bin/make -f +# -*- makefile -*- +TOOLS=bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + + +configure: configure-stamp +configure-stamp: + dh_testdir + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. + # scons + #docbook-to-man debian/mongodb.sgml > mongodb.1 + echo -n > debian/mongodb-enterprise-tools.manpages + for binary in ${TOOLS} ; \ + do \ + echo debian/$$binary.1 >> debian/mongodb-enterprise-tools.manpages ; \ + done + + echo debian/mongo.1 > debian/mongodb-enterprise-shell.manpages + echo debian/mongod.1 > debian/mongodb-enterprise-server.manpages + echo debian/mongos.1 > debian/mongodb-enterprise-mongos.manpages + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # FIXME: scons freaks out at the presence of target files + # under debian/mongodb. + #scons -c + + rm -f debian/*.manpages + + rm -rf $(CURDIR)/debian/mongodb-enterprise + rm -rf $(CURDIR)/debian/mongodb-enterprise-shell + rm -rf $(CURDIR)/debian/mongodb-enterprise-server + rm -rf $(CURDIR)/debian/mongodb-enterprise-mongos + rm -rf $(CURDIR)/debian/mongodb-enterprise-tools + rm -f config.log + rm -f mongo + rm -f mongod + rm -f mongoimportjson + rm -f mongoexport + rm -f mongorestore + rm -f mongodump + rm -f mongofiles + rm -f .sconsign.dblite + rm -f libmongoclient.a + rm -rf client/*.o + rm -rf tools/*.o + rm -rf shell/*.o + rm -rf .sconf_temp + rm -f buildscripts/*.pyc + rm -f *.pyc + rm -f buildinfo.cpp + dh_clean debian/files + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. + # scons --prefix=$(CURDIR)/debian/mongodb/usr install + mkdir -p $(CURDIR)/debian/mongodb-enterprise-shell/usr/bin + mkdir -p $(CURDIR)/debian/mongodb-enterprise-server/usr/bin + mkdir -p $(CURDIR)/debian/mongodb-enterprise-mongos/usr/bin + mkdir -p $(CURDIR)/debian/mongodb-enterprise-tools/usr/bin + cp -v $(CURDIR)/BINARIES/usr/bin/mongo $(CURDIR)/debian/mongodb-enterprise-shell/usr/bin + cp -v $(CURDIR)/BINARIES/usr/bin/mongod $(CURDIR)/debian/mongodb-enterprise-server/usr/bin + cp -v $(CURDIR)/BINARIES/usr/bin/mongos $(CURDIR)/debian/mongodb-enterprise-mongos/usr/bin + + for binary in ${TOOLS} ; \ + do \ + cp -v $(CURDIR)/BINARIES/usr/bin/$$binary $(CURDIR)/debian/mongodb-enterprise-tools/usr/bin ; \ + done + + mkdir -p $(CURDIR)/debian/mongodb-enterprise-server/etc + cp $(CURDIR)/debian/mongod.conf $(CURDIR)/debian/mongodb-enterprise-server/etc/mongod.conf + + mkdir -p $(CURDIR)/debian/mongodb-enterprise-shell/usr/share/lintian/overrides/ + mkdir -p $(CURDIR)/debian/mongodb-enterprise-server/usr/share/lintian/overrides/ + mkdir -p $(CURDIR)/debian/mongodb-enterprise-mongos/usr/share/lintian/overrides/ + mkdir -p $(CURDIR)/debian/mongodb-enterprise-tools/usr/share/lintian/overrides/ + install -m 644 $(CURDIR)/debian/lintian-overrides $(CURDIR)/debian/mongodb-enterprise-shell/usr/share/lintian/overrides/mongodb-enterprise-shell + install -m 644 $(CURDIR)/debian/lintian-overrides $(CURDIR)/debian/mongodb-enterprise-server/usr/share/lintian/overrides/mongodb-enterprise-server + install -m 644 $(CURDIR)/debian/lintian-overrides $(CURDIR)/debian/mongodb-enterprise-mongos/usr/share/lintian/overrides/mongodb-enterprise-mongos + install -m 644 $(CURDIR)/debian/lintian-overrides $(CURDIR)/debian/mongodb-enterprise-tools/usr/share/lintian/overrides/mongodb-enterprise-tools + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime + dh_installinit -pmongodb-enterprise-server --name=mongod +# dh_installinfo + dh_installman + dh_link +# Appears to be broken on Ubuntu 11.10...? +# dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/debian/mongodb-org-server.postinst b/debian/mongodb-org-server.postinst new file mode 100644 index 00000000000..2914fb85631 --- /dev/null +++ b/debian/mongodb-org-server.postinst @@ -0,0 +1,55 @@ +#!/bin/sh +# postinst script for mongodb +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + # create a mongodb group and user + if ! getent passwd mongodb >/dev/null 2>&1; then + adduser --system --no-create-home mongodb + addgroup --system mongodb + adduser mongodb mongodb + fi + + # create db -- note: this should agree with dbpath in mongod.conf + mkdir -p /var/lib/mongodb + chown -R mongodb:mongodb /var/lib/mongodb + + # create logdir -- note: this should agree with logpath in mongod.conf + mkdir -p /var/log/mongodb + chown -R mongodb:mongodb /var/log/mongodb + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/mongodb-org-unstable.control b/debian/mongodb-org-unstable.control index 00dc2335fac..d3eccde5142 100644 --- a/debian/mongodb-org-unstable.control +++ b/debian/mongodb-org-unstable.control @@ -1,7 +1,7 @@ Source: mongodb-org-unstable Section: devel Priority: optional -Maintainer: Richard Kreuter <richard@10gen.com> +Maintainer: Ernie Hershey <ernie.hershey@mongodb.com> Build-Depends: Standards-Version: 3.8.0 Homepage: http://www.mongodb.org @@ -12,7 +12,7 @@ Architecture: any Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), mongodb-org-unstable-shell, mongodb-org-unstable-server, mongodb-org-unstable-mongos, mongodb-org-unstable-tools Description: MongoDB cross-platform document-oriented database system (metapackage) MongoDB is a high-performance, open source, schema-free - document-oriented data store that's easy to deploy, manage + document-oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features : . @@ -23,7 +23,7 @@ Description: MongoDB cross-platform document-oriented database system (metapacka * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) - * Auto-sharding for cloud-level scalability (Q209) + * Automatic partitioning for cloud-level scalability . High performance, scalability, and reasonable depth of functionality are the goals for the project. @@ -33,9 +33,9 @@ Package: mongodb-org-unstable-shell Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-enterprise-unstable-server, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen Architecture: any Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1) -Description: MongoDB sharding router +Description: MongoDB shell client MongoDB is a high-performance, open source, schema-free - document-oriented data store that's easy to deploy, manage + document-oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features : . @@ -46,7 +46,7 @@ Description: MongoDB sharding router * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) - * Auto-sharding for cloud-level scalability (Q209) + * Automatic partitioning for cloud-level scalability . High performance, scalability, and reasonable depth of functionality are the goals for the project. @@ -59,7 +59,7 @@ Architecture: any Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1) Description: MongoDB database server MongoDB is a high-performance, open source, schema-free - document-oriented data store that's easy to deploy, manage + document-oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features : . @@ -70,7 +70,7 @@ Description: MongoDB database server * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) - * Auto-sharding for cloud-level scalability (Q209) + * Automatic partitioning for cloud-level scalability . High performance, scalability, and reasonable depth of functionality are the goals for the project. @@ -81,9 +81,9 @@ Package: mongodb-org-unstable-mongos Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-enterprise-unstable-server, mongodb-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen Architecture: any Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1) -Description: MongoDB shell client +Description: MongoDB sharding router MongoDB is a high-performance, open source, schema-free - document-oriented data store that's easy to deploy, manage + document-oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features : . @@ -94,7 +94,7 @@ Description: MongoDB shell client * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) - * Auto-sharding for cloud-level scalability (Q209) + * Automatic partitioning for cloud-level scalability . High performance, scalability, and reasonable depth of functionality are the goals for the project. @@ -107,7 +107,7 @@ Architecture: any Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1) Description: MongoDB tools MongoDB is a high-performance, open source, schema-free - document-oriented data store that's easy to deploy, manage + document-oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features : . @@ -118,7 +118,7 @@ Description: MongoDB tools * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) - * Auto-sharding for cloud-level scalability (Q209) + * Automatic partitioning for cloud-level scalability . High performance, scalability, and reasonable depth of functionality are the goals for the project. diff --git a/debian/mongodb-org-unstable.rules b/debian/mongodb-org-unstable.rules index 7ba9651507a..7057ab88040 100644 --- a/debian/mongodb-org-unstable.rules +++ b/debian/mongodb-org-unstable.rules @@ -1,10 +1,6 @@ #!/usr/bin/make -f # -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. +TOOLS=bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 @@ -13,7 +9,6 @@ export DH_VERBOSE=1 configure: configure-stamp configure-stamp: dh_testdir - # Add here commands to configure the package. touch configure-stamp @@ -23,21 +18,15 @@ build: build-stamp build-stamp: configure-stamp dh_testdir - # Add here commands to compile the package. -# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. + # THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. # scons - #docbook-to-man debian/mongodb.sgml > mongodb.1 - echo debian/bsondump.1 > debian/mongodb-org-unstable-tools.manpages - echo debian/mongodump.1 >> debian/mongodb-org-unstable-tools.manpages - echo debian/mongoexport.1 >> debian/mongodb-org-unstable-tools.manpages - echo debian/mongofiles.1 >> debian/mongodb-org-unstable-tools.manpages - echo debian/mongoimport.1 >> debian/mongodb-org-unstable-tools.manpages - echo debian/mongooplog.1 >> debian/mongodb-org-unstable-tools.manpages - echo debian/mongoperf.1 >> debian/mongodb-org-unstable-tools.manpages - echo debian/mongorestore.1 >> debian/mongodb-org-unstable-tools.manpages - echo debian/mongosniff.1 >> debian/mongodb-org-unstable-tools.manpages - echo debian/mongostat.1 >> debian/mongodb-org-unstable-tools.manpages - echo debian/mongotop.1 >> debian/mongodb-org-unstable-tools.manpages + #docbook-to-man debian/mongodb.sgml > mongodb.1 + + echo -n > debian/mongodb-org-unstable-tools.manpages + for binary in ${TOOLS} ; \ + do \ + echo debian/$$binary.1 >> debian/mongodb-org-unstable-tools.manpages ; \ + done echo debian/mongo.1 > debian/mongodb-org-unstable-shell.manpages echo debian/mongod.1 > debian/mongodb-org-unstable-server.manpages @@ -86,7 +75,7 @@ install: build dh_prep dh_installdirs -# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. + # THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. # scons --prefix=$(CURDIR)/debian/mongodb/usr install mkdir -p $(CURDIR)/debian/mongodb-org-unstable-shell/usr/bin mkdir -p $(CURDIR)/debian/mongodb-org-unstable-server/usr/bin @@ -96,16 +85,10 @@ install: build cp -v $(CURDIR)/BINARIES/usr/bin/mongod $(CURDIR)/debian/mongodb-org-unstable-server/usr/bin cp -v $(CURDIR)/BINARIES/usr/bin/mongos $(CURDIR)/debian/mongodb-org-unstable-mongos/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/bsondump $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongodump $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongoexport $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongofiles $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongoimport $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongooplog $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongoperf $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongorestore $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongostat $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin - cp -v $(CURDIR)/BINARIES/usr/bin/mongotop $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin + for binary in ${TOOLS} ; \ + do \ + cp -v $(CURDIR)/BINARIES/usr/bin/$$binary $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin ; \ + done mkdir -p $(CURDIR)/debian/mongodb-org-unstable-server/etc cp $(CURDIR)/debian/mongod.conf $(CURDIR)/debian/mongodb-org-unstable-server/etc/mongod.conf diff --git a/debian/mongodb-org.control b/debian/mongodb-org.control new file mode 100644 index 00000000000..63492f36771 --- /dev/null +++ b/debian/mongodb-org.control @@ -0,0 +1,127 @@ +Source: mongodb-org +Section: devel +Priority: optional +Maintainer: Ernie Hershey <ernie.hershey@mongodb.com> +Build-Depends: +Standards-Version: 3.8.0 +Homepage: http://www.mongodb.org + +Package: mongodb-org +Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-enterprise-unstable-server, mongodb-nightly, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen +Architecture: any +Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), mongodb-org-shell, mongodb-org-server, mongodb-org-mongos, mongodb-org-tools +Description: MongoDB cross-platform document-oriented database system (metapackage) + MongoDB is a high-performance, open source, schema-free + document-oriented data store that's easy to deploy, manage + and use. It's network accessible, written in C++ and offers + the following features : + . + * Collection oriented storage - easy storage of object- + style data + * Full index support, including on inner objects + * Query profiling + * Replication and fail-over support + * Efficient storage of binary data including large + objects (e.g. videos) + * Automatic partitioning for cloud-level scalability + . + High performance, scalability, and reasonable depth of + functionality are the goals for the project. + + +Package: mongodb-org-shell +Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-enterprise-unstable-server, mongodb-nightly, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen +Architecture: any +Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1) +Description: MongoDB shell client + MongoDB is a high-performance, open source, schema-free + document-oriented data store that's easy to deploy, manage + and use. It's network accessible, written in C++ and offers + the following features : + . + * Collection oriented storage - easy storage of object- + style data + * Full index support, including on inner objects + * Query profiling + * Replication and fail-over support + * Efficient storage of binary data including large + objects (e.g. videos) + * Automatic partitioning for cloud-level scalability + . + High performance, scalability, and reasonable depth of + functionality are the goals for the project. + . + This Debian package installs the mongo shell. + +Package: mongodb-org-server +Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-enterprise-unstable-server, mongodb-nightly, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen +Architecture: any +Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1) +Description: MongoDB database server + MongoDB is a high-performance, open source, schema-free + document-oriented data store that's easy to deploy, manage + and use. It's network accessible, written in C++ and offers + the following features : + . + * Collection oriented storage - easy storage of object- + style data + * Full index support, including on inner objects + * Query profiling + * Replication and fail-over support + * Efficient storage of binary data including large + objects (e.g. videos) + * Automatic partitioning for cloud-level scalability + . + High performance, scalability, and reasonable depth of + functionality are the goals for the project. + . + This Debian package installs the mongod server. + +Package: mongodb-org-mongos +Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-enterprise-unstable-server, mongodb-nightly, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen +Architecture: any +Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1) +Description: MongoDB sharding router + MongoDB is a high-performance, open source, schema-free + document-oriented data store that's easy to deploy, manage + and use. It's network accessible, written in C++ and offers + the following features : + . + * Collection oriented storage - easy storage of object- + style data + * Full index support, including on inner objects + * Query profiling + * Replication and fail-over support + * Efficient storage of binary data including large + objects (e.g. videos) + * Automatic partitioning for cloud-level scalability + . + High performance, scalability, and reasonable depth of + functionality are the goals for the project. + . + This Debian package installs the mongos program. + +Package: mongodb-org-tools +Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-enterprise-unstable-server, mongodb-nightly, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen +Architecture: any +Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1) +Description: MongoDB tools + MongoDB is a high-performance, open source, schema-free + document-oriented data store that's easy to deploy, manage + and use. It's network accessible, written in C++ and offers + the following features : + . + * Collection oriented storage - easy storage of object- + style data + * Full index support, including on inner objects + * Query profiling + * Replication and fail-over support + * Efficient storage of binary data including large + objects (e.g. videos) + * Automatic partitioning for cloud-level scalability + . + High performance, scalability, and reasonable depth of + functionality are the goals for the project. + . + This Debian package installs standard utilities for + interacting with MongoDB. diff --git a/debian/mongodb-org.rules b/debian/mongodb-org.rules new file mode 100644 index 00000000000..76bc23cdc82 --- /dev/null +++ b/debian/mongodb-org.rules @@ -0,0 +1,139 @@ +#!/usr/bin/make -f +# -*- makefile -*- +TOOLS=bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + + +configure: configure-stamp +configure-stamp: + dh_testdir + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. + # scons + #docbook-to-man debian/mongodb.sgml > mongodb.1 + + echo -n > debian/mongodb-org-tools.manpages + for binary in ${TOOLS} ; \ + do \ + echo debian/$$binary.1 >> debian/mongodb-org-tools.manpages ; \ + done + + echo debian/mongo.1 > debian/mongodb-org-shell.manpages + echo debian/mongod.1 > debian/mongodb-org-server.manpages + echo debian/mongos.1 > debian/mongodb-org-mongos.manpages + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # FIXME: scons freaks out at the presence of target files + # under debian/mongodb. + #scons -c + + rm -f debian/*.manpages + + rm -rf $(CURDIR)/debian/mongodb-org + rm -rf $(CURDIR)/debian/mongodb-org-shell + rm -rf $(CURDIR)/debian/mongodb-org-server + rm -rf $(CURDIR)/debian/mongodb-org-mongos + rm -rf $(CURDIR)/debian/mongodb-org-tools + rm -f config.log + rm -f mongo + rm -f mongod + rm -f mongoimportjson + rm -f mongoexport + rm -f mongorestore + rm -f mongodump + rm -f mongofiles + rm -f .sconsign.dblite + rm -f libmongoclient.a + rm -rf client/*.o + rm -rf tools/*.o + rm -rf shell/*.o + rm -rf .sconf_temp + rm -f buildscripts/*.pyc + rm -f *.pyc + rm -f buildinfo.cpp + dh_clean debian/files + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # THE FOLLOWING LINE IS INTENTIONALLY COMMENTED. + # scons --prefix=$(CURDIR)/debian/mongodb/usr install + mkdir -p $(CURDIR)/debian/mongodb-org-shell/usr/bin + mkdir -p $(CURDIR)/debian/mongodb-org-server/usr/bin + mkdir -p $(CURDIR)/debian/mongodb-org-mongos/usr/bin + mkdir -p $(CURDIR)/debian/mongodb-org-tools/usr/bin + + cp -v $(CURDIR)/BINARIES/usr/bin/mongo $(CURDIR)/debian/mongodb-org-shell/usr/bin + cp -v $(CURDIR)/BINARIES/usr/bin/mongod $(CURDIR)/debian/mongodb-org-server/usr/bin + cp -v $(CURDIR)/BINARIES/usr/bin/mongos $(CURDIR)/debian/mongodb-org-mongos/usr/bin + + for binary in ${TOOLS} ; \ + do \ + cp -v $(CURDIR)/BINARIES/usr/bin/$$binary $(CURDIR)/debian/mongodb-org-tools/usr/bin ; \ + done + + mkdir -p $(CURDIR)/debian/mongodb-org-server/etc + cp $(CURDIR)/debian/mongod.conf $(CURDIR)/debian/mongodb-org-server/etc/mongod.conf + + mkdir -p $(CURDIR)/debian/mongodb-org-shell/usr/share/lintian/overrides/ + mkdir -p $(CURDIR)/debian/mongodb-org-server/usr/share/lintian/overrides/ + mkdir -p $(CURDIR)/debian/mongodb-org-mongos/usr/share/lintian/overrides/ + mkdir -p $(CURDIR)/debian/mongodb-org-tools/usr/share/lintian/overrides/ + install -m 644 $(CURDIR)/debian/lintian-overrides $(CURDIR)/debian/mongodb-org-shell/usr/share/lintian/overrides/mongodb-org-shell + install -m 644 $(CURDIR)/debian/lintian-overrides $(CURDIR)/debian/mongodb-org-server/usr/share/lintian/overrides/mongodb-org-server + install -m 644 $(CURDIR)/debian/lintian-overrides $(CURDIR)/debian/mongodb-org-mongos/usr/share/lintian/overrides/mongodb-org-mongos + install -m 644 $(CURDIR)/debian/lintian-overrides $(CURDIR)/debian/mongodb-org-tools/usr/share/lintian/overrides/mongodb-org-tools + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime + dh_installinit -pmongodb-org-server --name=mongod +# dh_installinfo + dh_installman + dh_link +# Appears to be broken on Ubuntu 11.10...? +# dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure |