Changes in / [ebed81c:e2a5be7]
- Files:
-
- 17 added
- 2 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/README.Debian
rebed81c re2a5be7 1 Fire up your favourite IRC client and connect to localhost:6667, 1 *** NEWS (Version 1.2 and later) *** 2 3 Starting from version 1.2, BitlBee has a forking daemon mode. The Debian 4 package now uses this mode by default, instead of inetd mode. If you don't 5 want to use this, you can disable the init scripts (best way to do this is 6 by editing /etc/default/bitlbee) and restore the inetd.conf entry. This 7 should be necessary only once, it won't be touched during upgrades. 8 9 Another important change in BitlBee 1.2 is the file format used for your 10 personal settings. Everything's now saved in a single .xml (per account, 11 of course) file instead of $nick.accounts and $nick.nicks. One advantage 12 of this new format is that the passwords are actually encrypted instead of 13 just vaguely obfuscated. BitlBee can still read the old files, and will 14 save things in the new format when you save/disconnect. After that, you 15 can safely remove the old-style files (this is recommended). 16 17 I tried making this transition (the new file format but especially, in this 18 case, the inetd->forkdaemon mode change) as smooth as possible, but I'm 19 aware that many BitlBee users will have their own hacks already to run the 20 program. I hope the package won't break any of this for anyone. 1.2-2 21 should fix at least some of the issues. 22 23 --------------------------------------------------------------------------- 24 25 Debconf should have asked you on what port you want BitlBee to run. If it 26 did not, the port number should be 6667 or 6668. (6668 if you already got 27 something running at 6667) 28 29 Fire up your favourite IRC client and connect to localhost:6667 (or 6668), 2 30 and read the documentation (type help for a list of commands). 3 31 -
debian/bitlbee-common.init
rebed81c re2a5be7 23 23 [ -x $DAEMON ] || exit 0 24 24 25 # Default value 26 BITLBEE_PORT=6667 25 27 BITLBEE_OPTS=-F 28 29 # Read config file if it is present. 30 if [ -r /etc/default/$NAME ]; then 31 . /etc/default/$NAME 32 fi 26 33 27 34 … … 35 42 36 43 start-stop-daemon --start --quiet --pidfile $PIDFILE \ 37 --exec $DAEMON -- - P $PIDFILE $BITLBEE_OPTS44 --exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $BITLBEE_OPTS 38 45 } 39 46 … … 49 56 case "$1" in 50 57 start) 58 [ "$BITLBEE_DISABLED" = "1" ] && exit 0 59 51 60 echo -n "Starting $DESC: $NAME" 52 61 d_start -
debian/bitlbee-common.postinst
rebed81c re2a5be7 3 3 set -e 4 4 5 . /usr/share/debconf/confmodule 6 7 db_get bitlbee/serveport 8 PORT="$RET" 9 5 10 CONFDIR=/var/lib/bitlbee/ 6 11 7 if [ -e /etc/default/bitlbee ]; then 8 cat <<EOF >/etc/default/bitlbee 12 ## Load default option. Don't want to put this in debconf (yet?) 13 BITLBEE_OPTS=-F 14 BITLBEE_DISABLED=0 15 BITLBEE_UPGRADE_DONT_RESTART=0 16 [ -r /etc/default/bitlbee ] && . /etc/default/bitlbee 17 18 if [ "$BITLBEE_DISABLED" = "0" ] && which update-inetd > /dev/null 2> /dev/null && 19 ( expr "$2" : '0\..*' > /dev/null || expr "$2" : '1\.0\..*' > /dev/null ); then 20 ## Make sure the inetd entry is gone (can still be there from a 21 ## previous version. 22 update-inetd --remove '.*/usr/sbin/bitlbee' 23 if grep -q /usr/sbin/bitlbee /etc/inetd.conf 2> /dev/null; then 24 # Thanks for breaking update-inetd! (bugs.debian.org/311111) 25 # I hope that it works at least with xinetd, because this 26 # emergency hack doesn't: 27 perl -pi -e 's:^[^#].*/usr/sbin/bitlbee$:## Now using daemon mode\: # $&:' /etc/inetd.conf 28 killall -HUP inetd || true 29 fi 30 fi 31 32 cat<<EOF>/etc/default/bitlbee 9 33 ## /etc/default/bitlbee: Auto-generated/updated script. 10 34 ## 11 ## This file is deprecated and no longer used. 12 ## Please edit /etc/bitlbee/bitlbee.conf instead 35 ## If running in (fork)daemon mode, listen on this TCP port. 36 BITLBEE_PORT="$PORT" 37 38 ## Use single-process or forking daemon mode? Can't be changed from debconf, 39 ## but maintainer scripts will save your changes here. 40 BITLBEE_OPTS="$BITLBEE_OPTS" 41 42 ## In case you want to stick with inetd mode (or if you just want to disable 43 ## the init scripts for some other reason), you can disable the init script 44 ## here. (Just set it to 1) 45 BITLBEE_DISABLED=$BITLBEE_DISABLED 46 47 ## As a server operator, you can use the RESTART command to restart only the 48 ## master process while keeping all the child processes and their IPC 49 ## connections. By enabling this, the maintainer scripts won't restart 50 ## BitlBee during upgrades so you can restart the master process by hand. 51 BITLBEE_UPGRADE_DONT_RESTART=$BITLBEE_UPGRADE_DONT_RESTART 13 52 EOF 14 53 15 fi 54 ## Bye-bye DebConf, we don't need you anymore. 55 db_stop 16 56 17 57 ## Restore the helpfile in case we weren't upgrading but just reconfiguring: … … 24 64 fi 25 65 26 if [ -n "$2" -a -x "/etc/init.d/bitlbee" ]; then66 if [ "$BITLBEE_UPGRADE_DONT_RESTART" != "1" -a -n "$2" -a -x "/etc/init.d/bitlbee" ]; then 27 67 invoke-rc.d bitlbee restart 28 68 fi -
debian/bitlbee-common.postrm
rebed81c re2a5be7 5 5 if [ "$1" = "purge" ]; then 6 6 rm -f /etc/default/bitlbee 7 deluser --system bitlbee > /dev/null|| true7 deluser --system bitlbee || true 8 8 rm -rf /var/lib/bitlbee ## deluser doesn't seem to do this for homedirs in /var 9 9 fi -
debian/changelog
rebed81c re2a5be7 1 bitlbee (3.5-1) UNRELEASED; urgency=medium2 3 [ Jochen Sprickerhof ]4 * Drop dependency on net-tools5 6 [ dequis ]7 * Use dh_systemd8 * Drop support for /etc/default/bitlbee9 * Drop debconf and its translations (only used to ask for the port)10 * Add preinst script for a smoother transition to systemd units11 * Ignore the stdout of deluser, fixes postrm error exit code12 * Remove some mentions of yahoo in control and copyright13 * Remove outdated stuff from README.debian14 15 -- dequis <dx@dxzone.com.ar> Mon, 02 Jan 2017 14:25:05 -030016 17 1 bitlbee (3.4.2-1) unstable; urgency=medium 18 2 -
debian/control
rebed81c re2a5be7 18 18 This program can be used as an IRC server which forwards everything you 19 19 say to people on other chat networks: Jabber (which includes Google Talk 20 and Facebook Chat), ICQ, AIM, MSN and Twitter/Identica/Status.net.20 and Facebook Chat), ICQ, AIM, MSN, Yahoo! and Twitter/Identica/Status.net. 21 21 22 22 Package: bitlbee-libpurple … … 28 28 This program can be used as an IRC server which forwards everything you 29 29 say to people on other chat networks: Jabber (which includes Google Talk 30 and Facebook Chat), ICQ, AIM, MSN and Twitter/Identica/Status.net.30 and Facebook Chat), ICQ, AIM, MSN, Yahoo! and Twitter/Identica/Status.net. 31 31 . 32 32 This package contains a version of BitlBee that uses the libpurple instant … … 44 44 This program can be used as an IRC server which forwards everything you 45 45 say to people on other chat networks: Jabber (which includes Google Talk 46 and Facebook Chat), ICQ, AIM, MSN and Twitter/Identica/Status.net.46 and Facebook Chat), ICQ, AIM, MSN, Yahoo! and Twitter/Identica/Status.net. 47 47 . 48 48 This package contains common files (mostly documentation) for bitlbee and … … 55 55 This program can be used as an IRC server which forwards everything you 56 56 say to people on other chat networks: Jabber (which includes Google Talk 57 and Facebook Chat), ICQ, AIM, MSN and Twitter/Identica/Status.net.57 and Facebook Chat), ICQ, AIM, MSN, Yahoo! and Twitter/Identica/Status.net. 58 58 . 59 59 This package holds development stuff for compiling plug-ins. … … 65 65 This program can be used as an IRC server which forwards everything you 66 66 say to people on other chat networks: Jabber (which includes Google Talk 67 and Facebook Chat), ICQ, AIM, MSN and Twitter/Identica/Status.net.67 and Facebook Chat), ICQ, AIM, MSN, Yahoo! and Twitter/Identica/Status.net. 68 68 . 69 69 This package contains a plugin that adds support for Off-The-Record … … 77 77 This program can be used as an IRC server which forwards everything you 78 78 say to people on other chat networks: Jabber (which includes Google Talk 79 and Facebook Chat), ICQ, AIM, MSN and Twitter/Identica/Status.net.79 and Facebook Chat), ICQ, AIM, MSN, Yahoo! and Twitter/Identica/Status.net. 80 80 . 81 81 This package contains a plugin that adds support for the Skype IM network. -
debian/copyright
rebed81c re2a5be7 11 11 12 12 Bits of third party code, also (L)GPLed: 13 * protocols/yahoo/ is libyahoo2 <http://libyahoo2.sf.net/>. 13 14 * Some parts (though there is very little left at this point) are borrowed 14 15 from Gaim (version 0.58), now known as Pidgin <http://www.pidgin.im/>. -
init/bitlbee.service.in
rebed81c re2a5be7 1 1 [Unit] 2 2 Description=BitlBee IRC/IM gateway 3 After=syslog.target 3 4 4 5 [Service] -
init/bitlbee@.service.in
rebed81c re2a5be7 1 1 [Unit] 2 2 Description=BitlBee Per-Connection Server 3 After=syslog.target 3 4 4 5 [Service]
Note: See TracChangeset
for help on using the changeset viewer.