summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer Jackson <spencer.jackson@mongodb.com>2015-11-19 20:25:15 -0500
committerSpencer Jackson <spencer.jackson@mongodb.com>2015-11-20 02:22:50 -0500
commitc5d503afe0f38d22c00ece42b691572fdd6c4447 (patch)
tree1be8710f45c7ae86f7d981cfa0594c1ccef25e44
parent22d6c98a9abf101681cfede883a448a0a5ad5f51 (diff)
downloadmongo-c5d503afe0f38d22c00ece42b691572fdd6c4447.tar.gz
SERVER-21515: Add mongodecrypt to enterprise packages
-rw-r--r--debian/mongodb-enterprise-unstable.rules7
-rw-r--r--debian/mongodb-enterprise.rules7
-rw-r--r--rpm/mongodb-enterprise-unstable.spec1
-rw-r--r--rpm/mongodb-enterprise.spec1
4 files changed, 12 insertions, 4 deletions
diff --git a/debian/mongodb-enterprise-unstable.rules b/debian/mongodb-enterprise-unstable.rules
index a2c9351e8d5..eae33e225d3 100644
--- a/debian/mongodb-enterprise-unstable.rules
+++ b/debian/mongodb-enterprise-unstable.rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
# -*- makefile -*-
-TOOLS=bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop
+TOOLS=bsondump mongodecrypt mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
@@ -25,7 +25,10 @@ build-stamp: configure-stamp
echo -n > debian/mongodb-enterprise-unstable-tools.manpages
for binary in ${TOOLS} ; \
do \
- echo debian/$$binary.1 >> debian/mongodb-enterprise-unstable-tools.manpages ; \
+ if [ -e debian/$$binary.1 ] ; \
+ then \
+ echo debian/$$binary.1 >> debian/mongodb-enterprise-tools.manpages ; \
+ fi ; \
done
echo debian/mongo.1 > debian/mongodb-enterprise-unstable-shell.manpages
diff --git a/debian/mongodb-enterprise.rules b/debian/mongodb-enterprise.rules
index 97ba328f00f..25046a14f2e 100644
--- a/debian/mongodb-enterprise.rules
+++ b/debian/mongodb-enterprise.rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
# -*- makefile -*-
-TOOLS=bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop
+TOOLS=bsondump mongodecrypt mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
@@ -24,7 +24,10 @@ build-stamp: configure-stamp
echo -n > debian/mongodb-enterprise-tools.manpages
for binary in ${TOOLS} ; \
do \
- echo debian/$$binary.1 >> debian/mongodb-enterprise-tools.manpages ; \
+ if [ -e debian/$$binary.1 ] ; \
+ then \
+ echo debian/$$binary.1 >> debian/mongodb-enterprise-tools.manpages ; \
+ fi ; \
done
echo debian/mongo.1 > debian/mongodb-enterprise-shell.manpages
diff --git a/rpm/mongodb-enterprise-unstable.spec b/rpm/mongodb-enterprise-unstable.spec
index cebb8627ee4..d62a92b3280 100644
--- a/rpm/mongodb-enterprise-unstable.spec
+++ b/rpm/mongodb-enterprise-unstable.spec
@@ -242,6 +242,7 @@ fi
#%doc README GNU-AGPL-3.0.txt
%{_bindir}/bsondump
+%{_bindir}/mongodecrypt
%{_bindir}/mongodump
%{_bindir}/mongoexport
%{_bindir}/mongofiles
diff --git a/rpm/mongodb-enterprise.spec b/rpm/mongodb-enterprise.spec
index 9dc44f83eb2..26a0e001a99 100644
--- a/rpm/mongodb-enterprise.spec
+++ b/rpm/mongodb-enterprise.spec
@@ -253,6 +253,7 @@ fi
#%doc README GNU-AGPL-3.0.txt
%{_bindir}/bsondump
+%{_bindir}/mongodecrypt
%{_bindir}/mongodump
%{_bindir}/mongoexport
%{_bindir}/mongofiles