some debian stuff

This commit is contained in:
Eliot Horowitz
2009-08-06 13:53:03 -04:00
parent de9543ff4d
commit ade581aa65
5 changed files with 12 additions and 7 deletions

5
.gitignore vendored
View File

@@ -81,3 +81,8 @@ authTest
perftest
clientTest
#debian
build-stamp
configure-stamp
debian/mongodb
debian/mongodb.*

2
debian/changelog vendored
View File

@@ -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
View File

@@ -1 +1 @@
mongodb_0.9.3-1_i386.deb devel optional
mongodb_0.9.7_amd64.deb devel optional

2
debian/postinst vendored
View File

@@ -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
View 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 $@