aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-03-21 00:27:24 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-03-21 00:27:24 +0000
commit379c08a27e637dbcbbe3f39a8723daa765ad0e48 (patch)
treebadcaf8eb6541af7c2ff05efa8b0508372c92180
parent6612cc9dd32475569875030f5acc7cc4b0374ba6 (diff)
Updated/Fixed Debian package.1.2-1
-rw-r--r--debian/README.Debian4
-rw-r--r--debian/changelog25
-rw-r--r--debian/control2
-rw-r--r--debian/po/it.po36
-rwxr-xr-xdebian/postinst9
-rwxr-xr-xdebian/postrm3
-rwxr-xr-xdebian/rules9
7 files changed, 78 insertions, 10 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
index e2102fc8..6056f488 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,6 +1,6 @@
- *** NEWS (Version 1.1 and later) ***
+ *** NEWS (Version 1.2 and later) ***
-Starting from version 1.1, BitlBee has a forking daemon mode. The Debian
+Starting from version 1.2, BitlBee has a forking daemon mode. The Debian
package now uses this mode by default, instead of inetd mode. If you don't
want to use this, you can disable the init scripts (best way to do this is
by editing /etc/default/bitlbee) and restore the inetd.conf entry. This
diff --git a/debian/changelog b/debian/changelog
index ae524f73..2cf6510c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,33 @@
-bitlbee (1.1.1dev-0pre) unstable; urgency=low
+bitlbee (1.2-1) unstable; urgency=low
+ * New upstream release. (Closes: #325017, #386914, #437515)
+ * With hopefully completely sane charset handling (Closes: #296145)
* Switched to the new forking daemon mode. Added /etc/default/bitlbee
file, an init script. People who want to stick with inetd can do so, see
the defaults file.
+ (Closes: #460741, #466171, #294585, #345038, #306452, #392682)
* Got rid of debconf Woody compatibility stuff.
* No more MPL code in BitlBee, thanks to the Jabber module rewrite!
+ * Added Italian translation, sorry for taking so long! (Closes: #448238)
+ * Added libevent dependency (more reliable event handling).
+ * Removed GLib 1.x dependency because BitlBee really requires GLib >=2.4.
- -- Wilmer van der Gaast <wilmer@gaast.net> Fri, 06 Jul 2007 09:09:36 +0100
+ -- Wilmer van der Gaast <wilmer@gaast.net> Tue, 18 Mar 2008 23:44:19 +0000
+
+bitlbee (1.0.4-2) unstable; urgency=low
+
+ * Removed $DEB_BUILD_OPTIONS because apparently buildds fill it with crap.
+ (Closes: #458717)
+
+ -- Wilmer van der Gaast <wilmer@gaast.net> Mon, 11 Feb 2008 19:15:33 +0000
+
+bitlbee (1.0.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * Changed libnss-dev dependency. (Closes: #370442)
+ * Added build-indep rule to debian/rules. (Closes: #395673)
+
+ -- Wilmer van der Gaast <wilmer@gaast.net> Wed, 29 Aug 2007 20:24:28 +0100
bitlbee (1.0.3-1.3) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 139174a6..8383391b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: net
Priority: optional
Maintainer: Wilmer van der Gaast <wilmer@gaast.net>
Standards-Version: 3.5.9
-Build-Depends: libglib2.0-dev | libglib-dev, libgnutls-dev | libnss-dev (>= 1.6), debconf-2.0, po-debconf
+Build-Depends: libglib2.0-dev (>= 2.4), libevent-dev, libgnutls-dev | libnss-dev (>= 1.6), debconf-2.0, po-debconf
Package: bitlbee
Architecture: any
diff --git a/debian/po/it.po b/debian/po/it.po
new file mode 100644
index 00000000..e149e61a
--- /dev/null
+++ b/debian/po/it.po
@@ -0,0 +1,36 @@
+# Italian translation of the bitlbee debconf template
+# This file is distributed under the same license as the bitlbee package
+# Copyright (C) 2007 Free Software Foundation, Inc.
+# Luca Monducci <luca.mo@tiscali.it>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: bitlbee\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-08-30 04:31+0200\n"
+"PO-Revision-Date: 2007-10-27 11:52+0200\n"
+"Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n"
+"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../bitlbee.templates.master:1001
+msgid "On what TCP port should BitlBee listen for connections?"
+msgstr "Su quale porta TCP si deve mettere in ascolto BitlBee?"
+
+#. Type: string
+#. Description
+#: ../bitlbee.templates.master:1001
+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 ""
+"Normalmente BitlBee si mette in ascolto sulla consueta porta IRC, la 6667. "
+"Questa potrebbe non essere una buona idea se รจ in esecuzione anche un reale "
+"demone IRC. La porta 6668 potrebbe essere una valida alternativa. Lasciando "
+"vuoto questo valore BitlBee non viene avviato automaticamente."
diff --git a/debian/postinst b/debian/postinst
index 37608e47..c4edb8e8 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -15,9 +15,16 @@ BITLBEE_DISABLED=0
BITLBEE_UPGRADE_DONT_RESTART=0
[ -r /etc/default/bitlbee ] && source /etc/default/bitlbee
-if [ "$BITLBEE_DISABLED" = "0" ]; then
+if [ "$BITLBEE_DISABLED" = "0" ] && expr "$2" : '0\..*' > /dev/null || expr "$2" : '1\.0\..*' > /dev/null; then
## In case it's still there (if we're upgrading right now)
update-inetd --remove '.*/usr/sbin/bitlbee'
+ if grep -q /usr/sbin/bitlbee /etc/inetd.conf 2> /dev/null; then
+ # Thanks for breaking update-inetd! (bugs.debian.org/311111)
+ # I hope that it works at least with xinetd, because this
+ # emergency hack doesn't:
+ perl -pi -e 's:^[^#].*/usr/sbin/bitlbee$:## Now using daemon mode\: # $&:' /etc/inetd.conf
+ killall -HUP inetd
+ fi
fi
cat<<EOF>/etc/default/bitlbee
diff --git a/debian/postrm b/debian/postrm
index cef99f13..f7686e7b 100755
--- a/debian/postrm
+++ b/debian/postrm
@@ -8,4 +8,5 @@ if [ -e /usr/share/debconf/confmodule ]; then
fi
update-rc.d bitlbee remove > /dev/null 2>&1 || true
-deluser --remove-home bitlbee || true
+deluser --system --remove-home bitlbee || true
+rm -f /etc/default/bitlbee
diff --git a/debian/rules b/debian/rules
index 8d6bd4fa..0c757899 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,15 +2,18 @@
DEBUG ?= 0
+ifdef BITLBEE_VERSION
+BITLBEE_FORCE_VERSION=1
+else
# Want to use the full package version number instead of just the release.
BITLBEE_VERSION ?= "$(shell dpkg-parsechangelog | grep ^Version: | awk '{print $$2}')"
export BITLBEE_VERSION
-
+endif
build-arch: build-arch-stamp
build-arch-stamp:
if [ ! -d debian ]; then exit 1; fi
- ./configure --debug=$(DEBUG) --prefix=/usr --etcdir=/etc/bitlbee $(DEB_BUILD_OPTIONS)
+ ./configure --debug=$(DEBUG) --prefix=/usr --etcdir=/etc/bitlbee --events=libevent $(DEB_BUILD_OPTIONS)
$(MAKE)
# $(MAKE) -C doc/ all
touch build-arch-stamp
@@ -65,7 +68,7 @@ binary-arch: build-arch install-arch
cd debian/bitlbee; \
find usr -type f -exec md5sum {} \; > DEBIAN/md5sums
dpkg-shlibdeps -Tdebian/bitlbee.substvars -dDepends debian/bitlbee/usr/sbin/bitlbee
-ifdef BITLBEE_VERSION
+ifdef BITLBEE_FORCE_VERSION
dpkg-gencontrol -ldebian/changelog -isp -pbitlbee -Tdebian/bitlbee.substvars -Pdebian/bitlbee -v1:$(BITLBEE_VERSION)-0 -V'debconf-depends=debconf (>= 1.2.0) | debconf-2.0'
else
dpkg-gencontrol -ldebian/changelog -isp -pbitlbee -Tdebian/bitlbee.substvars -Pdebian/bitlbee -V'debconf-depends=debconf (>= 1.2.0) | debconf-2.0'