[Pkg-mongodb-maintainers] [pkg-mongodb] 54/394: Split single binary package into mongodb-server, mongodb-dev, and mongodb-clients.

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 13:58:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository pkg-mongodb.

commit b24418967a1ae2f81f35ae192ccd1a7c8f7c79fe
Author: Roberto C. Sanchez <roberto at connexer.com>
Date:   Thu May 6 21:27:45 2010 -0400

    Split single binary package into mongodb-server, mongodb-dev, and mongodb-clients.
---
 debian/changelog                                   |  7 ++
 debian/control                                     | 75 +++++++++++++++++++++-
 debian/mongo-clients.dirs                          |  1 +
 debian/mongo-clients.install                       | 18 ++++++
 .../{lintian-overrides => mongodb-clients.lintian} |  0
 debian/mongodb-dev.dirs                            |  2 +
 debian/mongodb-dev.install                         |  2 +
 debian/{dirs => mongodb-server.dirs}               |  1 -
 debian/mongodb-server.install                      |  7 ++
 .../{lintian-overrides => mongodb-server.lintian}  |  0
 debian/rules                                       | 20 +++---
 11 files changed, 121 insertions(+), 12 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3d51217..a1fc889 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mongodb (1:1.4.2-2) unstable; urgency=low
+
+  * Split single binary package into mongodb-server, mongodb-dev, and
+    mongodb-clients.
+
+ -- Roberto C. Sanchez <roberto at connexer.com>  Thu, 06 May 2010 21:20:52 -0400
+
 mongodb (1:1.4.2-1) unstable; urgency=low
 
   * [4770a09] New upstream version 1.4.2
diff --git a/debian/control b/debian/control
index 023bcde..a5da487 100644
--- a/debian/control
+++ b/debian/control
@@ -9,8 +9,8 @@ Homepage: http://www.mongodb.org
 
 Package: mongodb
 Architecture: i386 amd64
-Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
-Description: An object/document-oriented database
+Depends: mongodb-server, mongodb-dev, ${shlibs:Depends}, ${misc:Depends}
+Description: An object/document-oriented database (meta package)
  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
@@ -27,4 +27,75 @@ Description: An object/document-oriented database
  .
  High performance, scalability, and reasonable depth of
  functionality are the goals for the project.
+ .
+ This is a meta package that depends on all the mongodb parts.
+
+Package: mongodb-server
+Architecture: i386 amd64
+Depends: mongodb-clients, ${shlibs:Depends}, ${misc:Depends}, adduser
+Description: An object/document-oriented database (server package)
+ 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)
+    * Auto-sharding for cloud-level scalability (Q209)
+ .
+ High performance, scalability, and reasonable depth of
+ functionality are the goals for the project.
+ .
+ This package contains the server itself.
+
+Package: mongodb-clients
+Architecture: i386 amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: An object/document-oriented database (client apps)
+ 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)
+    * Auto-sharding for cloud-level scalability (Q209)
+ .
+ High performance, scalability, and reasonable depth of
+ functionality are the goals for the project.
+ .
+ This package contains the various client applications.
+
+Package: mongodb-dev
+Architecture: i386 amd64
+Depends: mongodb-server, ${shlibs:Depends}, ${misc:Depends}
+Description: An object/document-oriented database (development)
+ 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)
+    * Auto-sharding for cloud-level scalability (Q209)
+ .
+ High performance, scalability, and reasonable depth of
+ functionality are the goals for the project.
+ .
+ Development headers and libraries.
 
diff --git a/debian/mongo-clients.dirs b/debian/mongo-clients.dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/mongo-clients.dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/mongo-clients.install b/debian/mongo-clients.install
new file mode 100644
index 0000000..eb26f1a
--- /dev/null
+++ b/debian/mongo-clients.install
@@ -0,0 +1,18 @@
+usr/bin/mongo
+usr/bin/mongodump
+usr/bin/mongoexport
+usr/bin/mongofiles
+usr/bin/mongoimport
+usr/bin/mongorestore
+usr/bin/mongostat
+usr/share/lintian/overrides/mongodb-clients
+usr/share/man/man1/mongo.1.gz
+usr/share/man/man1/mongodump.1.gz
+usr/share/man/man1/mongoexport.1.gz
+usr/share/man/man1/mongofiles.1.gz
+usr/share/man/man1/mongoimport.1.gz
+usr/share/man/man1/mongoimportjson.1.gz
+usr/share/man/man1/mongorestore.1.gz
+usr/share/man/man1/mongosniff.1.gz
+usr/share/man/man1/mongostat.15.gz
+
diff --git a/debian/lintian-overrides b/debian/mongodb-clients.lintian
similarity index 100%
copy from debian/lintian-overrides
copy to debian/mongodb-clients.lintian
diff --git a/debian/mongodb-dev.dirs b/debian/mongodb-dev.dirs
new file mode 100644
index 0000000..da07fdd
--- /dev/null
+++ b/debian/mongodb-dev.dirs
@@ -0,0 +1,2 @@
+usr/include
+usr/lib
diff --git a/debian/mongodb-dev.install b/debian/mongodb-dev.install
new file mode 100644
index 0000000..da07fdd
--- /dev/null
+++ b/debian/mongodb-dev.install
@@ -0,0 +1,2 @@
+usr/include
+usr/lib
diff --git a/debian/dirs b/debian/mongodb-server.dirs
similarity index 75%
rename from debian/dirs
rename to debian/mongodb-server.dirs
index f36bce4..b2930b9 100644
--- a/debian/dirs
+++ b/debian/mongodb-server.dirs
@@ -1,4 +1,3 @@
 etc
 usr/bin
-usr/sbin
 var/lib/mongodb
diff --git a/debian/mongodb-server.install b/debian/mongodb-server.install
new file mode 100644
index 0000000..1394d76
--- /dev/null
+++ b/debian/mongodb-server.install
@@ -0,0 +1,7 @@
+etc
+usr/bin/mongod
+usr/bin/mongos
+usr/share/lintian/overrides/mongodb-server
+usr/share/man/man1/mongod.1.gz
+usr/share/man/man1/mongos.1.gz
+var
diff --git a/debian/lintian-overrides b/debian/mongodb-server.lintian
similarity index 100%
rename from debian/lintian-overrides
rename to debian/mongodb-server.lintian
diff --git a/debian/rules b/debian/rules
index 08180f7..bc4a19f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,9 +48,9 @@ clean:
 	dh_testroot
 	rm -f build-stamp configure-stamp
 
-	rm -rf $(CURDIR)/debian/mongodb
+	rm -rf $(CURDIR)/debian/tmp
 	# FIXME: scons freaks out at the presence of target files
-	# under debian/mongodb.
+	# under debian/tmp.
 	scons -c
 	rm -f config.log
 	rm -f mongo
@@ -80,15 +80,17 @@ install: build
 	dh_prep
 	dh_installdirs
 
-	scons --prefix=$(CURDIR)/debian/mongodb/usr install
+	scons --prefix=$(CURDIR)/debian/tmp/usr install
 
-	mkdir -p $(CURDIR)/debian/mongodb/usr/share/lintian/overrides/
-	install -m 644 $(CURDIR)/debian/lintian-overrides \
-		$(CURDIR)/debian/mongodb/usr/share/lintian/overrides/mongodb
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/lintian/overrides/
+	install -m 644 $(CURDIR)/debian/mongodb-server.lintian \
+		$(CURDIR)/debian/tmp/usr/share/lintian/overrides/mongodb-server
+	install -m 644 $(CURDIR)/debian/mongodb-clients.lintian \
+		$(CURDIR)/debian/tmp/usr/share/lintian/overrides/mongodb-clients
 
-	mkdir -p $(CURDIR)/debian/mongodb/etc
+	mkdir -p $(CURDIR)/debian/tmp/etc
 	install -m 644 $(CURDIR)/debian/mongodb.conf \
-		$(CURDIR)/debian/mongodb/etc/mongodb.conf
+		$(CURDIR)/debian/tmp/etc/mongodb.conf
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -101,7 +103,7 @@ binary-arch: build install
 	dh_installchangelogs 
 	dh_installdocs
 	dh_installexamples
-#	dh_install
+	dh_install
 #	dh_installmenu
 #	dh_installdebconf	
 #	dh_installlogrotate

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mongodb/pkg-mongodb.git



More information about the Pkg-mongodb-maintainers mailing list