Changes in / [990d5fd:bfe7caa]
- Location:
- debian
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/bitlbee.init
r990d5fd rbfe7caa 37 37 38 38 start-stop-daemon --start --quiet --pidfile $PIDFILE \ 39 -c bitlbee :\39 -c bitlbee -g nogroup \ 40 40 --exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $DAEMON_OPT 41 41 } -
debian/changelog
r990d5fd rbfe7caa 3 3 * Fixed some packaging issues reported by IRC and e-mail. (Closes: #472373) 4 4 * Fixed proxy support. (Closes: #472395) 5 * Added a BitlBee group so only root can edit the configs and BitlBee can 6 just *read* it. 7 * Manually deleting /var/lib/bitlbee/ when purging, deluser doesn't want to 8 do it. 9 10 -- Wilmer van der Gaast <wilmer@gaast.net> Mon, 24 Mar 2008 19:48:24 +0000 5 * Not ready yet. 6 7 -- Wilmer van der Gaast <wilmer@gaast.net> Sun, 23 Mar 2008 21:51:57 +0000 11 8 12 9 bitlbee (1.2-1) unstable; urgency=low -
debian/postinst
r990d5fd rbfe7caa 74 74 fi 75 75 76 adduser --system -- group --disabled-login --disabled-password --home /var/lib/bitlbee/bitlbee76 adduser --system --home /var/lib/bitlbee/ --disabled-login --disabled-password bitlbee 77 77 chmod 700 /var/lib/bitlbee/ 78 78 79 79 ## Can't do this in packaging phase: Don't know the UID yet. Access to 80 ## the file should be limited, now that it stores passwords. Added 81 ## --group later for a little more security, but have to see if I can 82 ## apply this change to existing installations on upgrades. Will think 83 ## about that later. 84 if getent group bitlbee > /dev/null; then 85 chmod 640 /etc/bitlbee/bitlbee.conf 86 chown root:bitlbee /etc/bitlbee/bitlbee.conf 87 else 88 chmod 600 /etc/bitlbee/bitlbee.conf 89 chown bitlbee /etc/bitlbee/bitlbee.conf 90 fi 80 ## the file should be limited, now that it stores passwords. 81 chmod 600 /etc/bitlbee/bitlbee.conf 82 chown bitlbee /etc/bitlbee/bitlbee.conf 91 83 92 84 if [ -z "$2" ]; then -
debian/postrm
r990d5fd rbfe7caa 9 9 10 10 update-rc.d bitlbee remove > /dev/null 2>&1 || true 11 deluser --system --remove-home bitlbee || true 11 12 rm -f /etc/default/bitlbee 12 13 deluser --system --remove-home bitlbee || true14 rm -rf /var/lib/bitlbee ## deluser doesn't seem to do this for homedirs in /var
Note: See TracChangeset
for help on using the changeset viewer.