some debian stuff
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -81,3 +81,8 @@ authTest
|
||||
perftest
|
||||
clientTest
|
||||
|
||||
#debian
|
||||
build-stamp
|
||||
configure-stamp
|
||||
debian/mongodb
|
||||
debian/mongodb.*
|
||||
|
||||
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -1,4 +1,4 @@
|
||||
mongodb (0.9.3-1) unstable; urgency=low
|
||||
mongodb (0.9.7) unstable; urgency=low
|
||||
|
||||
* Initial release
|
||||
|
||||
|
||||
2
debian/files
vendored
2
debian/files
vendored
@@ -1 +1 @@
|
||||
mongodb_0.9.3-1_i386.deb devel optional
|
||||
mongodb_0.9.7_amd64.deb devel optional
|
||||
|
||||
2
debian/postinst
vendored
2
debian/postinst
vendored
@@ -22,7 +22,7 @@ case "$1" in
|
||||
configure)
|
||||
# create a mongodb group and user
|
||||
if ! grep -q mongodb /etc/passwd; then
|
||||
useradd --password mongodb --user-group mongodb
|
||||
useradd --user-group mongodb
|
||||
fi
|
||||
|
||||
# create db
|
||||
|
||||
8
debian/rules
vendored
Normal file → Executable file
8
debian/rules
vendored
Normal file → Executable file
@@ -13,7 +13,7 @@
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
# Add here commands to configure the package.
|
||||
# Add here commands to configure the package.
|
||||
|
||||
touch configure-stamp
|
||||
|
||||
@@ -23,9 +23,9 @@ build: build-stamp
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
|
||||
# Add here commands to compile the package.
|
||||
scons --distname=deb --nojni
|
||||
#docbook-to-man debian/mongodb.sgml > mongodb.1
|
||||
# Add here commands to compile the package.
|
||||
scons
|
||||
#docbook-to-man debian/mongodb.sgml > mongodb.1
|
||||
|
||||
touch $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user