From 92e90b75985fb163a4263cde496d5dc4605e8250 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Mon, 1 Jun 2009 00:13:43 +0100 Subject: I never submitted 1.2.3-1 apparently. --- debian/bitlbee.init | 2 +- debian/changelog | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/bitlbee.init b/debian/bitlbee.init index 1ab1bc43..a22c53a7 100755 --- a/debian/bitlbee.init +++ b/debian/bitlbee.init @@ -48,7 +48,7 @@ d_start() { # TODO: Remove this after a few revisions. find /var/lib/bitlbee -uid 0 -name '*.xml' -exec chown bitlbee: {} \; - start-stop-daemon --start --quiet \ + start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $BITLBEE_OPTS } diff --git a/debian/changelog b/debian/changelog index a11a67b8..1b7b2dff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +bitlbee (1.2.3-1) unstable; urgency=critical + + * New upstream version. + * Fixes another account hijacking issue. (Closes: #498159) + * Restored --pidfile argument to start-stop-daemon, otherwise the init + script fails to restart BitlBee when users are connected. + + -- Wilmer van der Gaast Sun, 07 Sep 2008 18:53:04 +0100 + bitlbee (1.2.2-1) unstable; urgency=critical * New upstream version. -- cgit v1.2.3 From c40580daeea1f08d276dd2677ed8276124f8d048 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 7 Jun 2009 19:42:27 +0100 Subject: s/bitblee/bitlbee/ in the postinst script. --- debian/changelog | 7 +++++++ debian/prerm | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 1b7b2dff..9435ed19 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +bitlbee (1.2.3-2) unstable; urgency=low + + * Fixed bitblee typo in prerm (introduced by NMU 1.2.1-1.1). + (Closes: #531287) + + -- Wilmer van der Gaast Mon, 01 Jun 2009 00:56:41 +0100 + bitlbee (1.2.3-1) unstable; urgency=critical * New upstream version. diff --git a/debian/prerm b/debian/prerm index 8426ab3a..687c2cc1 100755 --- a/debian/prerm +++ b/debian/prerm @@ -10,7 +10,7 @@ if [ "$1" = "upgrade" ]; then fi else if which invoke-rc.d >/dev/null 2>&1; then - invoke-rc.d bitblee stop || exit 0 + invoke-rc.d bitlbee stop || exit 0 else /etc/init.d/bitlbee stop || exit 0 fi -- cgit v1.2.3 From b6dd429999c8737589f2f689879f8240d9bc048f Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 7 Jun 2009 20:13:55 +0100 Subject: Fixed bitlbee.deb dep in bitlbee-dev to deal with binary NMUs. --- debian/changelog | 4 +++- debian/control | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 9435ed19..46ae380b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,10 @@ bitlbee (1.2.3-2) unstable; urgency=low * Fixed bitblee typo in prerm (introduced by NMU 1.2.1-1.1). (Closes: #531287) + * Fixed bitlbee.deb dep in bitlbee-dev to deal with binary NMUs. + (Closes: #531219) - -- Wilmer van der Gaast Mon, 01 Jun 2009 00:56:41 +0100 + -- Wilmer van der Gaast Sun, 07 Jun 2009 20:04:45 +0100 bitlbee (1.2.3-1) unstable; urgency=critical diff --git a/debian/control b/debian/control index e6302c13..86488c8a 100644 --- a/debian/control +++ b/debian/control @@ -18,7 +18,7 @@ Description: An IRC to other chat networks gateway Package: bitlbee-dev Architecture: all -Depends: bitlbee (= ${binary:Version}) +Depends: bitlbee (>= ${source:Version}), bitlbee (<< ${source:Version}.1~) Description: An IRC to other chat networks gateway This program can be used as an IRC server which forwards everything you say to people on other chat networks: Jabber, ICQ, AIM, MSN and Yahoo. -- cgit v1.2.3 From 59169956e1f7a5dd86e3c1aab41bc6a252f7b653 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 7 Jun 2009 20:40:45 +0100 Subject: Fixed free port detection code in debian/config which was a bit limited and also buggy. --- debian/changelog | 4 +++- debian/config | 11 ++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 46ae380b..6c7ea4f4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,10 @@ bitlbee (1.2.3-2) unstable; urgency=low (Closes: #531287) * Fixed bitlbee.deb dep in bitlbee-dev to deal with binary NMUs. (Closes: #531219) + * Fixed free port detection code in debian/config which was a bit limited + and also buggy. - -- Wilmer van der Gaast Sun, 07 Jun 2009 20:04:45 +0100 + -- Wilmer van der Gaast Sun, 07 Jun 2009 20:40:00 +0100 bitlbee (1.2.3-1) unstable; urgency=critical diff --git a/debian/config b/debian/config index 3a04813d..2bd9b879 100755 --- a/debian/config +++ b/debian/config @@ -6,11 +6,12 @@ db_title BitlBee db_get bitlbee/serveport if [ "$RET" = "stillhavetoask" ]; then - if netstat -ltn | grep ':6667' 2> /dev/null > /dev/null; then - port=6668; - else - port=6667; - fi + listens=$(netstat -ltn | awk '{print $4}') + for port in 6667 6666 6668 6669; do + if [ $(expr "$listens " : ".*:$port\s") = "0" ]; then + break + fi + done db_set bitlbee/serveport $port; fi -- cgit v1.2.3 From 25dfb16035f12ba15ad5fcfb6d428386ac4c38ce Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 7 Jun 2009 21:19:25 +0100 Subject: Forgot to commit before starting to work on the second item, so here's a monster commit. :-) * Removing code that edits bitlbee.conf from postinst (and chown code in the init script), it's not really necessary anymore; bitlbee may only still run as root if the admin doesn't read conffile diffs. (Closes: #514572) * No longer overwriting port number info in /etc/default/bitlbee with what's in debconf. (Closes: #514148) * Added notes about the above two changes to bitlbee.conf. --- debian/bitlbee.init | 8 -------- debian/changelog | 11 +++++++++-- debian/config | 23 ++++++++++++++--------- debian/patches/bitlbee.conf.diff | 19 ++++++++++++++----- debian/postinst | 9 +-------- 5 files changed, 38 insertions(+), 32 deletions(-) (limited to 'debian') diff --git a/debian/bitlbee.init b/debian/bitlbee.init index a22c53a7..4c224ffc 100755 --- a/debian/bitlbee.init +++ b/debian/bitlbee.init @@ -40,14 +40,6 @@ d_start() { touch /var/run/bitlbee.pid chown bitlbee: /var/run/bitlbee.pid - # Clean up after the bug between 1.2-5 and 1.2.1-2 where BitlBee ran - # as root. (#494656 and #495877) Fixing this in the postinst script - # is not enough since the user will restart his BitlBee after up- - # grading the package, and the BitlBee running as root will then - # save its settings, re-setting ownership of the file to root. - # TODO: Remove this after a few revisions. - find /var/lib/bitlbee -uid 0 -name '*.xml' -exec chown bitlbee: {} \; - start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $BITLBEE_OPTS } diff --git a/debian/changelog b/debian/changelog index 6c7ea4f4..0bb5af32 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,8 +6,15 @@ bitlbee (1.2.3-2) unstable; urgency=low (Closes: #531219) * Fixed free port detection code in debian/config which was a bit limited and also buggy. - - -- Wilmer van der Gaast Sun, 07 Jun 2009 20:40:00 +0100 + * Removing code that edits bitlbee.conf from postinst (and chown code in + the init script), it's not really necessary anymore; bitlbee may only + still run as root if the admin doesn't read conffile diffs. + (Closes: #514572) + * No longer overwriting port number info in /etc/default/bitlbee with + what's in debconf. (Closes: #514148) + * Added notes about the above two changes to bitlbee.conf. + + -- Wilmer van der Gaast Sun, 07 Jun 2009 21:17:39 +0100 bitlbee (1.2.3-1) unstable; urgency=critical diff --git a/debian/config b/debian/config index 2bd9b879..9bb78237 100755 --- a/debian/config +++ b/debian/config @@ -1,18 +1,23 @@ #!/bin/sh -e . /usr/share/debconf/confmodule +[ -f /etc/default/bitlbee ] && . /etc/default/bitlbee db_title BitlBee -db_get bitlbee/serveport -if [ "$RET" = "stillhavetoask" ]; then - listens=$(netstat -ltn | awk '{print $4}') - for port in 6667 6666 6668 6669; do - if [ $(expr "$listens " : ".*:$port\s") = "0" ]; then - break - fi - done - db_set bitlbee/serveport $port; +if [ -n "$BITLBEE_PORT" ]; then + db_set bitlbee/serveport "$BITLBEE_PORT" +else + db_get bitlbee/serveport + if [ "$RET" = "stillhavetoask" ]; then + listens=$(netstat -ltn | awk '{print $4}') + for port in 6667 6666 6668 6669; do + if [ $(expr "$listens " : ".*:$port\s") = "0" ]; then + break + fi + done + db_set bitlbee/serveport $port; + fi fi if db_input medium bitlbee/serveport; then diff --git a/debian/patches/bitlbee.conf.diff b/debian/patches/bitlbee.conf.diff index b80bcb4c..e42611bb 100644 --- a/debian/patches/bitlbee.conf.diff +++ b/debian/patches/bitlbee.conf.diff @@ -1,13 +1,22 @@ -=== modified file 'bitlbee.conf' ---- debian/bitlbee/etc/bitlbee/bitlbee.conf 2008-08-26 22:33:54 +0000 -+++ debian/bitlbee/etc/bitlbee/bitlbee.conf 2008-08-27 23:18:13 +0000 -@@ -23,7 +23,7 @@ +--- bitlbee.conf 2009-06-01 00:20:24.000000000 +0100 ++++ /tmp/bitlbee.conf 2009-06-07 21:16:19.000000000 +0100 +@@ -23,13 +23,18 @@ ## If BitlBee is started by root as a daemon, it can drop root privileges, ## and change to the specified user. ## -# User = bitlbee ++## DEBIAN NOTE: Without this, BitlBee will run as root! ++## +User = bitlbee ## DaemonPort/DaemonInterface: ## - + ## For daemon mode, you can specify on what interface and port the daemon + ## should be listening for connections. + ## ++## DEBIAN NOTE: The init script passes the -p flag to use the port number ++## set using debconf, this overrides the DaemonPort setting here. ++## + # DaemonInterface = 0.0.0.0 + # DaemonPort = 6667 + diff --git a/debian/postinst b/debian/postinst index db324b65..db541f6c 100755 --- a/debian/postinst +++ b/debian/postinst @@ -32,7 +32,7 @@ fi cat</etc/default/bitlbee ## /etc/default/bitlbee: Auto-generated/updated script. ## -## Don't edit this line, use dpkg-reconfigure bitlbee +## If running in (fork)daemon mode, listen on this TCP port. BITLBEE_PORT="$PORT" ## Use single-process or forking daemon mode? Can't be changed from debconf, @@ -63,13 +63,6 @@ if [ -e /usr/share/bitlbee/help.upgrading ]; then fi fi -if ! grep -qi '^User *= *' /etc/bitlbee/bitlbee.conf; then - echo 'Updating configuration file, enabling User-setting...' - if ! sed -i -e 's/# *User *= *.*/User = bitlbee/i' /etc/bitlbee/bitlbee.conf; then - echo 'Failed! BitlBee may run as root now, please check your configs.' - fi -fi - if [ -n "$2" -a "$BITLBEE_UPGRADE_DONT_RESTART" != "1" ]; then if which invoke-rc.d >/dev/null 2>&1; then invoke-rc.d bitlbee restart -- cgit v1.2.3 From 0c41177b49c04893e0ce88dbb27f5f5b1aeb5896 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 7 Jun 2009 21:39:10 +0100 Subject: Fixed paths in bitlbee.conf.diff to edit the bitlbee.conf inside the package tree, not the source one. --- debian/patches/bitlbee.conf.diff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/patches/bitlbee.conf.diff b/debian/patches/bitlbee.conf.diff index e42611bb..c98fa546 100644 --- a/debian/patches/bitlbee.conf.diff +++ b/debian/patches/bitlbee.conf.diff @@ -1,5 +1,5 @@ ---- bitlbee.conf 2009-06-01 00:20:24.000000000 +0100 -+++ /tmp/bitlbee.conf 2009-06-07 21:16:19.000000000 +0100 +--- debian/bitlbee/etc/bitlbee/bitlbee.conf 2009-06-01 00:20:24.000000000 +0100 ++++ debian/bitlbee/etc/bitlbee/bitlbee.conf 2009-06-07 21:16:19.000000000 +0100 @@ -23,13 +23,18 @@ ## If BitlBee is started by root as a daemon, it can drop root privileges, ## and change to the specified user. -- cgit v1.2.3 From c48a033d62bb5c5188a876b182d50144ffaed68b Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 17 Oct 2009 18:25:40 +0100 Subject: Added 1.2.4-1 to changelog. Not much else to do for this release. --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 0bb5af32..8dab3fdd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +bitlbee (1.2.4-1) unstable; urgency=low + + * New upstream version. + * Fixed issues with Yahoo! (Closes: #536178) + + -- Wilmer van der Gaast Sat, 17 Oct 2009 18:12:45 +0100 + bitlbee (1.2.3-2) unstable; urgency=low * Fixed bitblee typo in prerm (introduced by NMU 1.2.1-1.1). -- cgit v1.2.3 From e5e795dae28c7871a47040436454a456fb338820 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Fri, 20 Nov 2009 13:04:12 +0000 Subject: 1.2.4-2 --- debian/changelog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 8dab3fdd..a38064b0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +bitlbee (1.2.4-2) unstable; urgency=low + + * Merging in some changes from bzr-head: + * Use libresolv.so where possible. (Closes: #551775) + * Some include file changes that make the bitlbee-dev package useful again. + + -- Wilmer van der Gaast Thu, 19 Nov 2009 23:02:43 +0000 + bitlbee (1.2.4-1) unstable; urgency=low * New upstream version. -- cgit v1.2.3 From b788246cec5a718115a0aa620b72cdaf0315cac2 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 17 Mar 2010 15:00:27 +0000 Subject: 1.2.5-1: Translation fixes/additions and one other bug fixed "upstream". --- debian/changelog | 8 ++++++++ debian/po/POTFILES.in | 2 +- debian/po/ru.po | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 debian/po/ru.po (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index a38064b0..f969b410 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +bitlbee (1.2.5-1) unstable; urgency=low + + * New upstream version. + * Fixed issues with server-side MSN nickname corruption. (Closes: #538756) + * Debconf translation fixes/additions. (Closes: #541754, #563504) + + -- Wilmer van der Gaast Wed, 17 Mar 2010 14:59:27 +0000 + bitlbee (1.2.4-2) unstable; urgency=low * Merging in some changes from bzr-head: diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in index f17ddcfe..cef83a34 100644 --- a/debian/po/POTFILES.in +++ b/debian/po/POTFILES.in @@ -1 +1 @@ -[type: gettext/rfc822deb] bitlbee.templates.master +[type: gettext/rfc822deb] templates diff --git a/debian/po/ru.po b/debian/po/ru.po new file mode 100644 index 00000000..4e448133 --- /dev/null +++ b/debian/po/ru.po @@ -0,0 +1,47 @@ +# translation of ru.po to Russian +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# +# Yuri Kozlov , 2009. +msgid "" +msgstr "" +"Project-Id-Version: bitlbee 1.2.3-2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-09-25 18:12+0200\n" +"PO-Revision-Date: 2009-08-05 20:43+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: string +#. Description +#: ../bitlbee.templates.master:4 +msgid "On what TCP port should BitlBee listen for connections?" +msgstr "Номер порта TCP, на котором BitlBee должен ожидать подключений:" + +#. Type: string +#. Description +#: ../bitlbee.templates.master:4 +msgid "" +"BitlBee normally listens on the regular IRC port, 6667. This might not be a " +"very good idea when you're running a real IRC daemon as well. 6668 might be " +"a good alternative. Leaving this value blank means that BitlBee will not be " +"run automatically." +msgstr "" +"Обычно, BitlBee прослушивает штатный порт IRC, 6667. Это может быть " +"не лучшим решением, если у вас также запущена служба IRC. Хорошей " +"альтернативой является номер 6668. Если оставить поле пустым, то " +"BitlBee не будет запускаться автоматически." + -- cgit v1.2.3 From 57400f4283fa232d31d14b2c0edd44d1c01cb8b8 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Mon, 19 Apr 2010 11:26:49 +0200 Subject: Use the $PIDFILE variable in the Debian init script. --- debian/bitlbee.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/bitlbee.init b/debian/bitlbee.init index 4c224ffc..be1dcd66 100755 --- a/debian/bitlbee.init +++ b/debian/bitlbee.init @@ -37,8 +37,8 @@ fi # d_start() { # Make sure BitlBee can actually write its PID... - touch /var/run/bitlbee.pid - chown bitlbee: /var/run/bitlbee.pid + touch $PIDFILE + chown bitlbee: $PIDFILE start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $BITLBEE_OPTS -- cgit v1.2.3