- Timestamp:
- 2008-08-24T16:51:01Z (16 years ago)
- Branches:
- master
- Children:
- 7125cb3
- Parents:
- 88d2208 (diff), d301872 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- debian
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/bitlbee.init
r88d2208 r934dddf3 32 32 fi 33 33 34 [ "$BITLBEE_DISABLED" = "1" ] && exit 035 36 34 37 35 # … … 41 39 # Make sure BitlBee can actually write its PID... 42 40 touch /var/run/bitlbee.pid 43 chown bitlbee /var/run/bitlbee.pid41 chown bitlbee: /var/run/bitlbee.pid 44 42 45 start-stop-daemon --start --quiet --pidfile $PIDFILE \ 43 # Clean up after the bug between 1.2-5 and 1.2.1-2 where BitlBee ran 44 # as root. (#494656 and #495877) Fixing this in the postinst script 45 # is not enough since the user will restart his BitlBee after up- 46 # grading the package, and the BitlBee running as root will then 47 # save its settings, re-setting ownership of the file to root. 48 # TODO: Remove this after a few revisions. 49 find /var/lib/bitlbee -uid 0 -name '*.xml' -exec chown bitlbee: {} \; 50 51 start-stop-daemon --start --quiet \ 46 52 --exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $BITLBEE_OPTS 47 53 } … … 58 64 case "$1" in 59 65 start) 66 [ "$BITLBEE_DISABLED" = "1" ] && exit 0 67 60 68 echo -n "Starting $DESC: $NAME" 61 69 d_start -
debian/changelog
r88d2208 r934dddf3 1 bitlbee (1.2-6) UNRELEASED; urgency=low 2 3 * Add Homepage and Vcs-Bzr fields. 4 5 -- Jelmer Vernooij <jelmer@samba.org> Sun, 11 May 2008 14:18:16 +0200 1 bitlbee (1.2.1-3) unstable; urgency=high 2 3 * chown /var/lib/bitlbee/*.xml to bitlbee:bitlbee to clean up after 4 1.2-5 and the bugfix in 1.2.1-2. (Closes: #495877) 5 * Moved BITLBEE_DISABLED check to only check when trying to *start* 6 the daemon. (Closes: #488611) 7 8 -- Wilmer van der Gaast <wilmer@gaast.net> Sat, 23 Aug 2008 18:53:54 +0100 9 10 bitlbee (1.2.1-2) unstable; urgency=low 11 12 * Properly set the User= line to something sensible so BitlBee won't 13 run as root anymore. 1.2-5 was a bad upload. :-( (Closes: #494656) 14 15 -- Wilmer van der Gaast <wilmer@gaast.net> Tue, 12 Aug 2008 00:36:03 +0100 16 17 bitlbee (1.2.1-1.1) unstable; urgency=low 18 19 * Non-Maintainer Upload 20 * Use invoke-rc.d as per policy. (Closes: #492637) [Thanks to Matt 21 Kraai] 22 23 -- Don Armstrong <don@debian.org> Wed, 06 Aug 2008 06:57:18 -0700 24 25 bitlbee (1.2.1-1) unstable; urgency=low 26 27 * New upstream release. 28 * Add Homepage and Vcs-Bzr fields. (From Jelmer.) 29 30 -- Wilmer van der Gaast <wilmer@gaast.net> Thu, 26 Jun 2008 00:07:50 +0100 6 31 7 32 bitlbee (1.2-5) unstable; urgency=low -
debian/postinst
r88d2208 r934dddf3 64 64 fi 65 65 66 if ! grep -qi '^User *= *' /etc/bitlbee/bitlbee.conf; then 67 echo 'Updating configuration file, enabling User-setting...' 68 if ! sed -i -e 's/# *User *= *.*/User = bitlbee/i' /etc/bitlbee/bitlbee.conf; then 69 echo 'Failed! BitlBee may run as root now, please check your configs.' 70 fi 71 fi 72 66 73 if [ -n "$2" -a "$BITLBEE_UPGRADE_DONT_RESTART" != "1" ]; then 67 /etc/init.d/bitlbee restart 74 if which invoke-rc.d >/dev/null 2>&1; then 75 invoke-rc.d bitlbee restart 76 else 77 /etc/init.d/bitlbee restart 78 fi 68 79 fi 69 80 70 81 ## If we're upgrading, we'll probably skip this next part 71 if [ -d $CONFDIR ] && chown -R bitlbee $CONFDIR; then82 if [ -d $CONFDIR ] && chown -R bitlbee: $CONFDIR; then 72 83 echo 'BitlBee (probably) already installed, skipping user/configdir installation' 73 84 exit 0 … … 91 102 92 103 if [ -z "$2" ]; then 93 /etc/init.d/bitlbee start 104 if which invoke-rc.d >/dev/null 2>&1; then 105 invoke-rc.d bitlbee start 106 else 107 /etc/init.d/bitlbee start 108 fi 94 109 fi -
debian/prerm
r88d2208 r934dddf3 10 10 fi 11 11 else 12 /etc/init.d/bitlbee stop || exit 0 12 if which invoke-rc.d >/dev/null 2>&1; then 13 invoke-rc.d bitblee stop || exit 0 14 else 15 /etc/init.d/bitlbee stop || exit 0 16 fi 13 17 fi
Note: See TracChangeset
for help on using the changeset viewer.