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.
This commit is contained in:
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -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
|
mongodb (2.1.2) unstable; urgency=low
|
||||||
|
|
||||||
* see http://jira.mongodb.org/browse/SERVER/fixforversion/10894
|
* see http://jira.mongodb.org/browse/SERVER/fixforversion/10894
|
||||||
|
|||||||
4
debian/init.d
vendored
4
debian/init.d
vendored
@@ -29,7 +29,7 @@
|
|||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 6
|
||||||
# Short-Description: An object/document-oriented database
|
# Short-Description: An object/document-oriented database
|
||||||
# Description: MongoDB is a high-performance, open source, schema-free
|
# 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
|
# and use. It's network accessible, written in C++ and offers
|
||||||
# the following features:
|
# the following features:
|
||||||
#
|
#
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
# * Replication and fail-over support
|
# * Replication and fail-over support
|
||||||
# * Efficient storage of binary data including large
|
# * Efficient storage of binary data including large
|
||||||
# objects (e.g. videos)
|
# objects (e.g. videos)
|
||||||
# * Auto-sharding for cloud-level scalability (Q209)
|
# * Automatic partitioning for cloud-level scalability
|
||||||
#
|
#
|
||||||
# High performance, scalability, and reasonable depth of
|
# High performance, scalability, and reasonable depth of
|
||||||
# functionality are the goals for the project.
|
# functionality are the goals for the project.
|
||||||
|
|||||||
55
debian/mongodb-enterprise-server.postinst
vendored
Normal file
55
debian/mongodb-enterprise-server.postinst
vendored
Normal file
@@ -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
|
||||||
|
|
||||||
|
|
||||||
26
debian/mongodb-enterprise-unstable.control
vendored
26
debian/mongodb-enterprise-unstable.control
vendored
@@ -1,7 +1,7 @@
|
|||||||
Source: mongodb-enterprise-unstable
|
Source: mongodb-enterprise-unstable
|
||||||
Section: devel
|
Section: devel
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Richard Kreuter <richard@10gen.com>
|
Maintainer: Ernie Hershey <ernie.hershey@mongodb.com>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
Standards-Version: 3.8.0
|
Standards-Version: 3.8.0
|
||||||
Homepage: http://www.mongodb.org
|
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
|
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)
|
Description: MongoDB cross-platform document-oriented database system (enterprise metapackage)
|
||||||
MongoDB is a high-performance, open source, schema-free
|
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
|
and use. It's network accessible, written in C++ and offers
|
||||||
the following features :
|
the following features :
|
||||||
.
|
.
|
||||||
@@ -23,7 +23,7 @@ Description: MongoDB cross-platform document-oriented database system (enterpris
|
|||||||
* Replication and fail-over support
|
* Replication and fail-over support
|
||||||
* Efficient storage of binary data including large
|
* Efficient storage of binary data including large
|
||||||
objects (e.g. videos)
|
objects (e.g. videos)
|
||||||
* Auto-sharding for cloud-level scalability (Q209)
|
* Automatic partitioning for cloud-level scalability
|
||||||
.
|
.
|
||||||
High performance, scalability, and reasonable depth of
|
High performance, scalability, and reasonable depth of
|
||||||
functionality are the goals for the project.
|
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
|
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
|
Architecture: any
|
||||||
Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libsasl2-2, libssl1.0.0, libkrb5-3
|
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
|
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
|
and use. It's network accessible, written in C++ and offers
|
||||||
the following features :
|
the following features :
|
||||||
.
|
.
|
||||||
@@ -46,7 +46,7 @@ Description: MongoDB sharding router (enterprise)
|
|||||||
* Replication and fail-over support
|
* Replication and fail-over support
|
||||||
* Efficient storage of binary data including large
|
* Efficient storage of binary data including large
|
||||||
objects (e.g. videos)
|
objects (e.g. videos)
|
||||||
* Auto-sharding for cloud-level scalability (Q209)
|
* Automatic partitioning for cloud-level scalability
|
||||||
.
|
.
|
||||||
High performance, scalability, and reasonable depth of
|
High performance, scalability, and reasonable depth of
|
||||||
functionality are the goals for the project.
|
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
|
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)
|
Description: MongoDB database server (enterprise)
|
||||||
MongoDB is a high-performance, open source, schema-free
|
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
|
and use. It's network accessible, written in C++ and offers
|
||||||
the following features :
|
the following features :
|
||||||
.
|
.
|
||||||
@@ -70,7 +70,7 @@ Description: MongoDB database server (enterprise)
|
|||||||
* Replication and fail-over support
|
* Replication and fail-over support
|
||||||
* Efficient storage of binary data including large
|
* Efficient storage of binary data including large
|
||||||
objects (e.g. videos)
|
objects (e.g. videos)
|
||||||
* Auto-sharding for cloud-level scalability (Q209)
|
* Automatic partitioning for cloud-level scalability
|
||||||
.
|
.
|
||||||
High performance, scalability, and reasonable depth of
|
High performance, scalability, and reasonable depth of
|
||||||
functionality are the goals for the project.
|
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
|
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
|
Architecture: any
|
||||||
Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libsasl2-2, libssl1.0.0, libkrb5-3
|
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
|
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
|
and use. It's network accessible, written in C++ and offers
|
||||||
the following features :
|
the following features :
|
||||||
.
|
.
|
||||||
@@ -94,7 +94,7 @@ Description: MongoDB shell client (enterprise)
|
|||||||
* Replication and fail-over support
|
* Replication and fail-over support
|
||||||
* Efficient storage of binary data including large
|
* Efficient storage of binary data including large
|
||||||
objects (e.g. videos)
|
objects (e.g. videos)
|
||||||
* Auto-sharding for cloud-level scalability (Q209)
|
* Automatic partitioning for cloud-level scalability
|
||||||
.
|
.
|
||||||
High performance, scalability, and reasonable depth of
|
High performance, scalability, and reasonable depth of
|
||||||
functionality are the goals for the project.
|
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
|
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)
|
Description: MongoDB tools (enterprise)
|
||||||
MongoDB is a high-performance, open source, schema-free
|
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
|
and use. It's network accessible, written in C++ and offers
|
||||||
the following features :
|
the following features :
|
||||||
.
|
.
|
||||||
@@ -118,7 +118,7 @@ Description: MongoDB tools (enterprise)
|
|||||||
* Replication and fail-over support
|
* Replication and fail-over support
|
||||||
* Efficient storage of binary data including large
|
* Efficient storage of binary data including large
|
||||||
objects (e.g. videos)
|
objects (e.g. videos)
|
||||||
* Auto-sharding for cloud-level scalability (Q209)
|
* Automatic partitioning for cloud-level scalability
|
||||||
.
|
.
|
||||||
High performance, scalability, and reasonable depth of
|
High performance, scalability, and reasonable depth of
|
||||||
functionality are the goals for the project.
|
functionality are the goals for the project.
|
||||||
|
|||||||
45
debian/mongodb-enterprise-unstable.rules
vendored
45
debian/mongodb-enterprise-unstable.rules
vendored
@@ -1,10 +1,6 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
# -*- makefile -*-
|
# -*- makefile -*-
|
||||||
# Sample debian/rules that uses debhelper.
|
TOOLS=bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop
|
||||||
# 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.
|
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode.
|
# Uncomment this to turn on verbose mode.
|
||||||
export DH_VERBOSE=1
|
export DH_VERBOSE=1
|
||||||
@@ -13,7 +9,6 @@ export DH_VERBOSE=1
|
|||||||
configure: configure-stamp
|
configure: configure-stamp
|
||||||
configure-stamp:
|
configure-stamp:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
# Add here commands to configure the package.
|
|
||||||
|
|
||||||
touch configure-stamp
|
touch configure-stamp
|
||||||
|
|
||||||
@@ -23,21 +18,15 @@ build: build-stamp
|
|||||||
build-stamp: configure-stamp
|
build-stamp: configure-stamp
|
||||||
dh_testdir
|
dh_testdir
|
||||||
|
|
||||||
# Add here commands to compile the package.
|
# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED.
|
||||||
# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED.
|
|
||||||
# scons
|
# scons
|
||||||
#docbook-to-man debian/mongodb.sgml > mongodb.1
|
#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 -n > debian/mongodb-enterprise-unstable-tools.manpages
|
||||||
echo debian/mongoexport.1 >> debian/mongodb-enterprise-unstable-tools.manpages
|
for binary in ${TOOLS} ; \
|
||||||
echo debian/mongofiles.1 >> debian/mongodb-enterprise-unstable-tools.manpages
|
do \
|
||||||
echo debian/mongoimport.1 >> debian/mongodb-enterprise-unstable-tools.manpages
|
echo debian/$$binary.1 >> debian/mongodb-enterprise-unstable-tools.manpages ; \
|
||||||
echo debian/mongooplog.1 >> debian/mongodb-enterprise-unstable-tools.manpages
|
done
|
||||||
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
|
|
||||||
|
|
||||||
echo debian/mongo.1 > debian/mongodb-enterprise-unstable-shell.manpages
|
echo debian/mongo.1 > debian/mongodb-enterprise-unstable-shell.manpages
|
||||||
echo debian/mongod.1 > debian/mongodb-enterprise-unstable-server.manpages
|
echo debian/mongod.1 > debian/mongodb-enterprise-unstable-server.manpages
|
||||||
@@ -86,7 +75,7 @@ install: build
|
|||||||
dh_prep
|
dh_prep
|
||||||
dh_installdirs
|
dh_installdirs
|
||||||
|
|
||||||
# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED.
|
# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED.
|
||||||
# scons --prefix=$(CURDIR)/debian/mongodb/usr install
|
# scons --prefix=$(CURDIR)/debian/mongodb/usr install
|
||||||
mkdir -p $(CURDIR)/debian/mongodb-enterprise-unstable-shell/usr/bin
|
mkdir -p $(CURDIR)/debian/mongodb-enterprise-unstable-shell/usr/bin
|
||||||
mkdir -p $(CURDIR)/debian/mongodb-enterprise-unstable-server/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/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/mongos $(CURDIR)/debian/mongodb-enterprise-unstable-mongos/usr/bin
|
||||||
|
|
||||||
cp -v $(CURDIR)/BINARIES/usr/bin/bsondump $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin
|
for binary in ${TOOLS} ; \
|
||||||
cp -v $(CURDIR)/BINARIES/usr/bin/mongodump $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin
|
do \
|
||||||
cp -v $(CURDIR)/BINARIES/usr/bin/mongoexport $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin
|
cp -v $(CURDIR)/BINARIES/usr/bin/$$binary $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin ; \
|
||||||
cp -v $(CURDIR)/BINARIES/usr/bin/mongofiles $(CURDIR)/debian/mongodb-enterprise-unstable-tools/usr/bin
|
done
|
||||||
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
|
|
||||||
|
|
||||||
mkdir -p $(CURDIR)/debian/mongodb-enterprise-unstable-server/etc
|
mkdir -p $(CURDIR)/debian/mongodb-enterprise-unstable-server/etc
|
||||||
cp $(CURDIR)/debian/mongod.conf $(CURDIR)/debian/mongodb-enterprise-unstable-server/etc/mongod.conf
|
cp $(CURDIR)/debian/mongod.conf $(CURDIR)/debian/mongodb-enterprise-unstable-server/etc/mongod.conf
|
||||||
|
|||||||
127
debian/mongodb-enterprise.control
vendored
Normal file
127
debian/mongodb-enterprise.control
vendored
Normal file
@@ -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.
|
||||||
137
debian/mongodb-enterprise.rules
vendored
Normal file
137
debian/mongodb-enterprise.rules
vendored
Normal file
@@ -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
|
||||||
55
debian/mongodb-org-server.postinst
vendored
Normal file
55
debian/mongodb-org-server.postinst
vendored
Normal file
@@ -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
|
||||||
|
|
||||||
|
|
||||||
26
debian/mongodb-org-unstable.control
vendored
26
debian/mongodb-org-unstable.control
vendored
@@ -1,7 +1,7 @@
|
|||||||
Source: mongodb-org-unstable
|
Source: mongodb-org-unstable
|
||||||
Section: devel
|
Section: devel
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Richard Kreuter <richard@10gen.com>
|
Maintainer: Ernie Hershey <ernie.hershey@mongodb.com>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
Standards-Version: 3.8.0
|
Standards-Version: 3.8.0
|
||||||
Homepage: http://www.mongodb.org
|
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
|
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)
|
Description: MongoDB cross-platform document-oriented database system (metapackage)
|
||||||
MongoDB is a high-performance, open source, schema-free
|
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
|
and use. It's network accessible, written in C++ and offers
|
||||||
the following features :
|
the following features :
|
||||||
.
|
.
|
||||||
@@ -23,7 +23,7 @@ Description: MongoDB cross-platform document-oriented database system (metapacka
|
|||||||
* Replication and fail-over support
|
* Replication and fail-over support
|
||||||
* Efficient storage of binary data including large
|
* Efficient storage of binary data including large
|
||||||
objects (e.g. videos)
|
objects (e.g. videos)
|
||||||
* Auto-sharding for cloud-level scalability (Q209)
|
* Automatic partitioning for cloud-level scalability
|
||||||
.
|
.
|
||||||
High performance, scalability, and reasonable depth of
|
High performance, scalability, and reasonable depth of
|
||||||
functionality are the goals for the project.
|
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
|
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
|
Architecture: any
|
||||||
Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1)
|
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
|
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
|
and use. It's network accessible, written in C++ and offers
|
||||||
the following features :
|
the following features :
|
||||||
.
|
.
|
||||||
@@ -46,7 +46,7 @@ Description: MongoDB sharding router
|
|||||||
* Replication and fail-over support
|
* Replication and fail-over support
|
||||||
* Efficient storage of binary data including large
|
* Efficient storage of binary data including large
|
||||||
objects (e.g. videos)
|
objects (e.g. videos)
|
||||||
* Auto-sharding for cloud-level scalability (Q209)
|
* Automatic partitioning for cloud-level scalability
|
||||||
.
|
.
|
||||||
High performance, scalability, and reasonable depth of
|
High performance, scalability, and reasonable depth of
|
||||||
functionality are the goals for the project.
|
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)
|
Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1)
|
||||||
Description: MongoDB database server
|
Description: MongoDB database server
|
||||||
MongoDB is a high-performance, open source, schema-free
|
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
|
and use. It's network accessible, written in C++ and offers
|
||||||
the following features :
|
the following features :
|
||||||
.
|
.
|
||||||
@@ -70,7 +70,7 @@ Description: MongoDB database server
|
|||||||
* Replication and fail-over support
|
* Replication and fail-over support
|
||||||
* Efficient storage of binary data including large
|
* Efficient storage of binary data including large
|
||||||
objects (e.g. videos)
|
objects (e.g. videos)
|
||||||
* Auto-sharding for cloud-level scalability (Q209)
|
* Automatic partitioning for cloud-level scalability
|
||||||
.
|
.
|
||||||
High performance, scalability, and reasonable depth of
|
High performance, scalability, and reasonable depth of
|
||||||
functionality are the goals for the project.
|
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
|
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
|
Architecture: any
|
||||||
Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1)
|
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
|
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
|
and use. It's network accessible, written in C++ and offers
|
||||||
the following features :
|
the following features :
|
||||||
.
|
.
|
||||||
@@ -94,7 +94,7 @@ Description: MongoDB shell client
|
|||||||
* Replication and fail-over support
|
* Replication and fail-over support
|
||||||
* Efficient storage of binary data including large
|
* Efficient storage of binary data including large
|
||||||
objects (e.g. videos)
|
objects (e.g. videos)
|
||||||
* Auto-sharding for cloud-level scalability (Q209)
|
* Automatic partitioning for cloud-level scalability
|
||||||
.
|
.
|
||||||
High performance, scalability, and reasonable depth of
|
High performance, scalability, and reasonable depth of
|
||||||
functionality are the goals for the project.
|
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)
|
Depends: libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1)
|
||||||
Description: MongoDB tools
|
Description: MongoDB tools
|
||||||
MongoDB is a high-performance, open source, schema-free
|
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
|
and use. It's network accessible, written in C++ and offers
|
||||||
the following features :
|
the following features :
|
||||||
.
|
.
|
||||||
@@ -118,7 +118,7 @@ Description: MongoDB tools
|
|||||||
* Replication and fail-over support
|
* Replication and fail-over support
|
||||||
* Efficient storage of binary data including large
|
* Efficient storage of binary data including large
|
||||||
objects (e.g. videos)
|
objects (e.g. videos)
|
||||||
* Auto-sharding for cloud-level scalability (Q209)
|
* Automatic partitioning for cloud-level scalability
|
||||||
.
|
.
|
||||||
High performance, scalability, and reasonable depth of
|
High performance, scalability, and reasonable depth of
|
||||||
functionality are the goals for the project.
|
functionality are the goals for the project.
|
||||||
|
|||||||
45
debian/mongodb-org-unstable.rules
vendored
45
debian/mongodb-org-unstable.rules
vendored
@@ -1,10 +1,6 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
# -*- makefile -*-
|
# -*- makefile -*-
|
||||||
# Sample debian/rules that uses debhelper.
|
TOOLS=bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop
|
||||||
# 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.
|
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode.
|
# Uncomment this to turn on verbose mode.
|
||||||
export DH_VERBOSE=1
|
export DH_VERBOSE=1
|
||||||
@@ -13,7 +9,6 @@ export DH_VERBOSE=1
|
|||||||
configure: configure-stamp
|
configure: configure-stamp
|
||||||
configure-stamp:
|
configure-stamp:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
# Add here commands to configure the package.
|
|
||||||
|
|
||||||
touch configure-stamp
|
touch configure-stamp
|
||||||
|
|
||||||
@@ -23,21 +18,15 @@ build: build-stamp
|
|||||||
build-stamp: configure-stamp
|
build-stamp: configure-stamp
|
||||||
dh_testdir
|
dh_testdir
|
||||||
|
|
||||||
# Add here commands to compile the package.
|
# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED.
|
||||||
# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED.
|
|
||||||
# scons
|
# scons
|
||||||
#docbook-to-man debian/mongodb.sgml > mongodb.1
|
#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 -n > debian/mongodb-org-unstable-tools.manpages
|
||||||
echo debian/mongoexport.1 >> debian/mongodb-org-unstable-tools.manpages
|
for binary in ${TOOLS} ; \
|
||||||
echo debian/mongofiles.1 >> debian/mongodb-org-unstable-tools.manpages
|
do \
|
||||||
echo debian/mongoimport.1 >> debian/mongodb-org-unstable-tools.manpages
|
echo debian/$$binary.1 >> debian/mongodb-org-unstable-tools.manpages ; \
|
||||||
echo debian/mongooplog.1 >> debian/mongodb-org-unstable-tools.manpages
|
done
|
||||||
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
|
|
||||||
|
|
||||||
echo debian/mongo.1 > debian/mongodb-org-unstable-shell.manpages
|
echo debian/mongo.1 > debian/mongodb-org-unstable-shell.manpages
|
||||||
echo debian/mongod.1 > debian/mongodb-org-unstable-server.manpages
|
echo debian/mongod.1 > debian/mongodb-org-unstable-server.manpages
|
||||||
@@ -86,7 +75,7 @@ install: build
|
|||||||
dh_prep
|
dh_prep
|
||||||
dh_installdirs
|
dh_installdirs
|
||||||
|
|
||||||
# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED.
|
# THE FOLLOWING LINE IS INTENTIONALLY COMMENTED.
|
||||||
# scons --prefix=$(CURDIR)/debian/mongodb/usr install
|
# scons --prefix=$(CURDIR)/debian/mongodb/usr install
|
||||||
mkdir -p $(CURDIR)/debian/mongodb-org-unstable-shell/usr/bin
|
mkdir -p $(CURDIR)/debian/mongodb-org-unstable-shell/usr/bin
|
||||||
mkdir -p $(CURDIR)/debian/mongodb-org-unstable-server/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/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/mongos $(CURDIR)/debian/mongodb-org-unstable-mongos/usr/bin
|
||||||
|
|
||||||
cp -v $(CURDIR)/BINARIES/usr/bin/bsondump $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin
|
for binary in ${TOOLS} ; \
|
||||||
cp -v $(CURDIR)/BINARIES/usr/bin/mongodump $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin
|
do \
|
||||||
cp -v $(CURDIR)/BINARIES/usr/bin/mongoexport $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin
|
cp -v $(CURDIR)/BINARIES/usr/bin/$$binary $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin ; \
|
||||||
cp -v $(CURDIR)/BINARIES/usr/bin/mongofiles $(CURDIR)/debian/mongodb-org-unstable-tools/usr/bin
|
done
|
||||||
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
|
|
||||||
|
|
||||||
mkdir -p $(CURDIR)/debian/mongodb-org-unstable-server/etc
|
mkdir -p $(CURDIR)/debian/mongodb-org-unstable-server/etc
|
||||||
cp $(CURDIR)/debian/mongod.conf $(CURDIR)/debian/mongodb-org-unstable-server/etc/mongod.conf
|
cp $(CURDIR)/debian/mongod.conf $(CURDIR)/debian/mongodb-org-unstable-server/etc/mongod.conf
|
||||||
|
|||||||
127
debian/mongodb-org.control
vendored
Normal file
127
debian/mongodb-org.control
vendored
Normal file
@@ -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.
|
||||||
139
debian/mongodb-org.rules
vendored
Normal file
139
debian/mongodb-org.rules
vendored
Normal file
@@ -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
|
||||||
@@ -176,6 +176,9 @@ fi
|
|||||||
%{_mandir}/man1/mongostat.1*
|
%{_mandir}/man1/mongostat.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 19 2013 Ernie Hershey <ernie.hershey@mongodb.com>
|
||||||
|
- Packaging file cleanup
|
||||||
|
|
||||||
* Thu Jan 28 2010 Richard M Kreuter <richard@10gen.com>
|
* Thu Jan 28 2010 Richard M Kreuter <richard@10gen.com>
|
||||||
- Minor fixes.
|
- Minor fixes.
|
||||||
|
|
||||||
|
|||||||
184
rpm/mongodb-enterprise.spec
Normal file
184
rpm/mongodb-enterprise.spec
Normal file
@@ -0,0 +1,184 @@
|
|||||||
|
Name: 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-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools
|
||||||
|
Obsoletes: mongodb-enterprise-unstable,mongo-enterprise-unstable
|
||||||
|
Version: 2.6.0
|
||||||
|
Release: mongodb_1%{?dist}
|
||||||
|
Summary: MongoDB cross-platform document-oriented database system (enterprise metapackage)
|
||||||
|
License: AGPL 3.0
|
||||||
|
URL: http://www.mongodb.org
|
||||||
|
Group: Applications/Databases
|
||||||
|
Requires: mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-mongos, mongodb-enterprise-tools
|
||||||
|
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
It features dynamic profileable queries, full indexing, replication
|
||||||
|
and fail-over support, efficient storage of large binary data objects,
|
||||||
|
and auto-sharding.
|
||||||
|
|
||||||
|
This package provides the mongo shell, import/export tools, other
|
||||||
|
client utilities, server software, default configuration, and
|
||||||
|
init.d scripts.
|
||||||
|
|
||||||
|
%package server
|
||||||
|
Summary: MongoDB database server (enterprise)
|
||||||
|
Requires: cyrus-sasl, net-snmp-libs
|
||||||
|
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-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools
|
||||||
|
|
||||||
|
%description server
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
|
||||||
|
This package provides the mongo server software, default configuration
|
||||||
|
files, and init.d scripts.
|
||||||
|
|
||||||
|
%package shell
|
||||||
|
Summary: MongoDB shell client (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-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools
|
||||||
|
|
||||||
|
%description shell
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
|
||||||
|
This package provides the mongo shell
|
||||||
|
|
||||||
|
%package mongos
|
||||||
|
Summary: MongoDB sharding router (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-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools
|
||||||
|
|
||||||
|
%description mongos
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
|
||||||
|
This package provides mongos, the mongo sharding server
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: MongoDB tools (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-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
|
||||||
|
This package provides tools for use with MongoDB
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Headers and libraries for mongo development.
|
||||||
|
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-nightly, mongodb-org, mongodb-org-mongos, mongodb-org-server, mongodb-org-shell, mongodb-org-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-server, mongodb-org-unstable-shell, mongodb-org-unstable-tools
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
|
||||||
|
This package provides the mongo static library and header files needed
|
||||||
|
to develop mongo client software.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr
|
||||||
|
cp -rv BINARIES/usr/bin $RPM_BUILD_ROOT/usr
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
|
||||||
|
cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
|
||||||
|
# FIXME: remove this rm when mongosniff is back in the package
|
||||||
|
rm -v $RPM_BUILD_ROOT/usr/share/man/man1/mongosniff.1*
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
|
||||||
|
cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod
|
||||||
|
chmod a+x $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc
|
||||||
|
cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
|
||||||
|
cp -v rpm/mongod.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/mongod
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/lib/mongodb
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/log/mongodb
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/run/mongodb
|
||||||
|
touch $RPM_BUILD_ROOT/var/log/mongodb/mongod.log
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%pre server
|
||||||
|
if ! /usr/bin/id -g mongodb &>/dev/null; then
|
||||||
|
/usr/sbin/groupadd -r mongodb
|
||||||
|
fi
|
||||||
|
if ! /usr/bin/id mongodb &>/dev/null; then
|
||||||
|
/usr/sbin/useradd -M -r -g mongodb -d /var/lib/mongodb -s /bin/false -c mongodb mongodb > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
%post server
|
||||||
|
if test $1 = 1
|
||||||
|
then
|
||||||
|
/sbin/chkconfig --add mongod
|
||||||
|
fi
|
||||||
|
|
||||||
|
%preun server
|
||||||
|
if test $1 = 0
|
||||||
|
then
|
||||||
|
/sbin/chkconfig --del mongod
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun server
|
||||||
|
if test $1 -ge 1
|
||||||
|
then
|
||||||
|
/sbin/service mongod condrestart >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
|
||||||
|
%files server
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) /etc/mongod.conf
|
||||||
|
%{_bindir}/mongod
|
||||||
|
%{_mandir}/man1/mongod.1*
|
||||||
|
/etc/rc.d/init.d/mongod
|
||||||
|
/etc/sysconfig/mongod
|
||||||
|
%attr(0755,mongodb,mongodb) %dir /var/lib/mongodb
|
||||||
|
%attr(0755,mongodb,mongodb) %dir /var/log/mongodb
|
||||||
|
%attr(0755,mongodb,mongodb) %dir /var/run/mongodb
|
||||||
|
%attr(0640,mongodb,mongodb) %config(noreplace) %verify(not md5 size mtime) /var/log/mongodb/mongod.log
|
||||||
|
|
||||||
|
%files shell
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/mongo
|
||||||
|
%{_mandir}/man1/mongo.1*
|
||||||
|
|
||||||
|
%files mongos
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/mongos
|
||||||
|
%{_mandir}/man1/mongos.1*
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
#%doc README GNU-AGPL-3.0.txt
|
||||||
|
|
||||||
|
%{_bindir}/bsondump
|
||||||
|
%{_bindir}/mongodump
|
||||||
|
%{_bindir}/mongoexport
|
||||||
|
%{_bindir}/mongofiles
|
||||||
|
%{_bindir}/mongoimport
|
||||||
|
%{_bindir}/mongooplog
|
||||||
|
%{_bindir}/mongoperf
|
||||||
|
%{_bindir}/mongorestore
|
||||||
|
%{_bindir}/mongotop
|
||||||
|
%{_bindir}/mongostat
|
||||||
|
|
||||||
|
%{_mandir}/man1/bsondump.1*
|
||||||
|
%{_mandir}/man1/mongodump.1*
|
||||||
|
%{_mandir}/man1/mongoexport.1*
|
||||||
|
%{_mandir}/man1/mongofiles.1*
|
||||||
|
%{_mandir}/man1/mongoimport.1*
|
||||||
|
%{_mandir}/man1/mongooplog.1*
|
||||||
|
%{_mandir}/man1/mongoperf.1*
|
||||||
|
%{_mandir}/man1/mongorestore.1*
|
||||||
|
%{_mandir}/man1/mongotop.1*
|
||||||
|
%{_mandir}/man1/mongostat.1*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Dec 19 2013 Ernie Hershey <ernie.hershey@mongodb.com>
|
||||||
|
- Packaging file cleanup
|
||||||
|
|
||||||
|
* Thu Jan 28 2010 Richard M Kreuter <richard@10gen.com>
|
||||||
|
- Minor fixes.
|
||||||
|
|
||||||
|
* Sat Oct 24 2009 Joe Miklojcik <jmiklojcik@shopwiki.com> -
|
||||||
|
- Wrote mongo.spec.
|
||||||
@@ -172,6 +172,9 @@ fi
|
|||||||
%{_mandir}/man1/mongostat.1*
|
%{_mandir}/man1/mongostat.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 19 2013 Ernie Hershey <ernie.hershey@mongodb.com>
|
||||||
|
- Packaging file cleanup
|
||||||
|
|
||||||
* Thu Jan 28 2010 Richard M Kreuter <richard@10gen.com>
|
* Thu Jan 28 2010 Richard M Kreuter <richard@10gen.com>
|
||||||
- Minor fixes.
|
- Minor fixes.
|
||||||
|
|
||||||
|
|||||||
182
rpm/mongodb-org.spec
Normal file
182
rpm/mongodb-org.spec
Normal file
@@ -0,0 +1,182 @@
|
|||||||
|
Name: 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-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, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools
|
||||||
|
Version: 2.6.0
|
||||||
|
Release: mongodb_1%{?dist}
|
||||||
|
Summary: MongoDB cross-platform document-oriented database system (metapackage)
|
||||||
|
License: AGPL 3.0
|
||||||
|
URL: http://www.mongodb.org
|
||||||
|
Group: Applications/Databases
|
||||||
|
Requires: mongodb-org-server, mongodb-org-shell, mongodb-org-mongos, mongodb-org-tools
|
||||||
|
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
It features dynamic profileable queries, full indexing, replication
|
||||||
|
and fail-over support, efficient storage of large binary data objects,
|
||||||
|
and auto-sharding.
|
||||||
|
|
||||||
|
This package provides the mongo shell, import/export tools, other
|
||||||
|
client utilities, server software, default configuration, and
|
||||||
|
init.d scripts.
|
||||||
|
|
||||||
|
%package server
|
||||||
|
Summary: MongoDB database 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-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, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools
|
||||||
|
|
||||||
|
%description server
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
|
||||||
|
This package provides the mongo server software, default configuration
|
||||||
|
files, and init.d scripts.
|
||||||
|
|
||||||
|
%package shell
|
||||||
|
Summary: MongoDB shell client
|
||||||
|
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-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, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools
|
||||||
|
|
||||||
|
%description shell
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
|
||||||
|
This package provides the mongo shell
|
||||||
|
|
||||||
|
%package mongos
|
||||||
|
Summary: MongoDB sharding router
|
||||||
|
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-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, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools
|
||||||
|
|
||||||
|
%description mongos
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
|
||||||
|
This package provides mongos, the mongo sharding server
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: MongoDB 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-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, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
|
||||||
|
This package provides tools for use with MongoDB
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Headers and libraries for mongo development.
|
||||||
|
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-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, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
MongoDB (from "huMONGOus") is a schema-free document-oriented database.
|
||||||
|
|
||||||
|
This package provides the mongo static library and header files needed
|
||||||
|
to develop mongo client software.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr
|
||||||
|
cp -rv BINARIES/usr/bin $RPM_BUILD_ROOT/usr
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
|
||||||
|
cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
|
||||||
|
# FIXME: remove this rm when mongosniff is back in the package
|
||||||
|
rm -v $RPM_BUILD_ROOT/usr/share/man/man1/mongosniff.1*
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
|
||||||
|
cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod
|
||||||
|
chmod a+x $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc
|
||||||
|
cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
|
||||||
|
cp -v rpm/mongod.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/mongod
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/lib/mongodb
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/log/mongodb
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/run/mongodb
|
||||||
|
touch $RPM_BUILD_ROOT/var/log/mongodb/mongod.log
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%pre server
|
||||||
|
if ! /usr/bin/id -g mongodb &>/dev/null; then
|
||||||
|
/usr/sbin/groupadd -r mongodb
|
||||||
|
fi
|
||||||
|
if ! /usr/bin/id mongodb &>/dev/null; then
|
||||||
|
/usr/sbin/useradd -M -r -g mongodb -d /var/lib/mongodb -s /bin/false -c mongodb mongodb > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
%post server
|
||||||
|
if test $1 = 1
|
||||||
|
then
|
||||||
|
/sbin/chkconfig --add mongod
|
||||||
|
fi
|
||||||
|
|
||||||
|
%preun server
|
||||||
|
if test $1 = 0
|
||||||
|
then
|
||||||
|
/sbin/chkconfig --del mongod
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun server
|
||||||
|
if test $1 -ge 1
|
||||||
|
then
|
||||||
|
/sbin/service mongod condrestart >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
|
||||||
|
%files server
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) /etc/mongod.conf
|
||||||
|
%{_bindir}/mongod
|
||||||
|
%{_mandir}/man1/mongod.1*
|
||||||
|
/etc/rc.d/init.d/mongod
|
||||||
|
/etc/sysconfig/mongod
|
||||||
|
%attr(0755,mongodb,mongodb) %dir /var/lib/mongodb
|
||||||
|
%attr(0755,mongodb,mongodb) %dir /var/log/mongodb
|
||||||
|
%attr(0755,mongodb,mongodb) %dir /var/run/mongodb
|
||||||
|
%attr(0640,mongodb,mongodb) %config(noreplace) %verify(not md5 size mtime) /var/log/mongodb/mongod.log
|
||||||
|
|
||||||
|
%files shell
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/mongo
|
||||||
|
%{_mandir}/man1/mongo.1*
|
||||||
|
|
||||||
|
%files mongos
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/mongos
|
||||||
|
%{_mandir}/man1/mongos.1*
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
#%doc README GNU-AGPL-3.0.txt
|
||||||
|
|
||||||
|
%{_bindir}/bsondump
|
||||||
|
%{_bindir}/mongodump
|
||||||
|
%{_bindir}/mongoexport
|
||||||
|
%{_bindir}/mongofiles
|
||||||
|
%{_bindir}/mongoimport
|
||||||
|
%{_bindir}/mongooplog
|
||||||
|
%{_bindir}/mongoperf
|
||||||
|
%{_bindir}/mongorestore
|
||||||
|
%{_bindir}/mongotop
|
||||||
|
%{_bindir}/mongostat
|
||||||
|
|
||||||
|
%{_mandir}/man1/bsondump.1*
|
||||||
|
%{_mandir}/man1/mongodump.1*
|
||||||
|
%{_mandir}/man1/mongoexport.1*
|
||||||
|
%{_mandir}/man1/mongofiles.1*
|
||||||
|
%{_mandir}/man1/mongoimport.1*
|
||||||
|
%{_mandir}/man1/mongooplog.1*
|
||||||
|
%{_mandir}/man1/mongoperf.1*
|
||||||
|
%{_mandir}/man1/mongorestore.1*
|
||||||
|
%{_mandir}/man1/mongotop.1*
|
||||||
|
%{_mandir}/man1/mongostat.1*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Dec 19 2013 Ernie Hershey <ernie.hershey@mongodb.com>
|
||||||
|
- Packaging file cleanup
|
||||||
|
|
||||||
|
* Thu Jan 28 2010 Richard M Kreuter <richard@10gen.com>
|
||||||
|
- Minor fixes.
|
||||||
|
|
||||||
|
* Sat Oct 24 2009 Joe Miklojcik <jmiklojcik@shopwiki.com> -
|
||||||
|
- Wrote mongo.spec.
|
||||||
Reference in New Issue
Block a user