merge of 'dd15c9733b13187e5bb3c64144e52558efbdf42d'

and 'dea46a9c0a007139fa87fd98c606f1185523a535'

Monotone-Parent: dd15c9733b13187e5bb3c64144e52558efbdf42d
Monotone-Parent: dea46a9c0a007139fa87fd98c606f1185523a535
Monotone-Revision: 510caacd94dac9fc1a3fdf4240cc641a70be63d8

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-07-29T13:12:24
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-07-29 13:12:24 +00:00
4 changed files with 11 additions and 12 deletions

2
debian/control vendored
View File

@@ -8,7 +8,7 @@ Standards-Version: 3.7.3
Package: sogo
Section: web
Architecture: i386
Depends: gnustep-base-common, gnustep-base-runtime, libsope-core, libsope-appserver, libsope-ldap, libsope-cards
Depends: gnustep-base-common, gnustep-base-runtime, libsope-core4.9, libsope-appserver4.9, libsope-ldap4.9
Description: SOGo
SOGo is a groupware server built around OpenGroupware.org (OGo) and
the SOPE application server. It focuses on scalability.

2
debian/rules vendored
View File

@@ -46,7 +46,7 @@ install-arch:
dh_installdirs -s
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp GNUSTEP_INSTALLATION_DOMAIN=SYSTEM install
mkdir -p debian/tmp/etc/init.d/sogod
mkdir -p debian/tmp/etc/init.d
mkdir -p debian/tmp/etc/cron.daily
mkdir -p debian/tmp/var/run/sogo
mkdir -p debian/tmp/var/log/sogo

15
debian/sogo.postinst vendored
View File

@@ -2,17 +2,16 @@
set -e
/usr/sbin/groupadd -f -K GID_MIN=100 -K GID_MAX=500 sogo
USERS=\`getent passwd|grep sogo|sed -e 's/\([a-zA-Z]*:\)\(.*\)/\1/g'\`
USERS=`getent passwd | grep sogo | sed -e 's/\([a-zA-Z]*\):.*/\1/g'`
if [ \"\$USERS\" != \"sogo:\" ] ; then
echo \"Adding user sogo\"
useradd -d /tmp -g sogo -K UID_MIN=100 -K UID_MAX=500 -K PASS_MAX_DAYS=-1 -s
/bin/false sogo
if [ "$USERS" != "sogo" ] ; then
echo "Adding user sogo"
useradd -d /tmp -g sogo -K UID_MIN=100 -K UID_MAX=500 -K PASS_MAX_DAYS=-1 -s /bin/false sogo
fi
chown sogo /var/run/sogo
chown sogo /var/spool/sogo
chown sogo /var/log/sogo
chown -R sogo /var/run/sogo
chown -R sogo /var/spool/sogo
chown -R sogo /var/log/sogo
update-rc.d sogod defaults
/sbin/ldconfig

4
debian/sogo.postrm vendored
View File

@@ -1,4 +1,4 @@
#!/bin/sh
set -e
userdel sogo||true
update-rc.d SOGo remove ||true
userdel sogo || true
update-rc.d SOGo remove || true