Changeset 379c08a for debian


Ignore:
Timestamp:
2008-03-21T00:27:24Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
a83442a
Parents:
6612cc9
Message:

Updated/Fixed Debian package.

Location:
debian
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • debian/README.Debian

    r6612cc9 r379c08a  
    1                    *** NEWS (Version 1.1 and later) ***
     1                   *** NEWS (Version 1.2 and later) ***
    22
    3 Starting from version 1.1, BitlBee has a forking daemon mode. The Debian
     3Starting from version 1.2, BitlBee has a forking daemon mode. The Debian
    44package now uses this mode by default, instead of inetd mode. If you don't
    55want to use this, you can disable the init scripts (best way to do this is
  • debian/changelog

    r6612cc9 r379c08a  
    1 bitlbee (1.1.1dev-0pre) unstable; urgency=low
    2 
     1bitlbee (1.2-1) unstable; urgency=low
     2
     3  * New upstream release. (Closes: #325017, #386914, #437515)
     4  * With hopefully completely sane charset handling (Closes: #296145)
    35  * Switched to the new forking daemon mode. Added /etc/default/bitlbee
    46    file, an init script. People who want to stick with inetd can do so, see
    57    the defaults file.
     8    (Closes: #460741, #466171, #294585, #345038, #306452, #392682)
    69  * Got rid of debconf Woody compatibility stuff.
    710  * No more MPL code in BitlBee, thanks to the Jabber module rewrite!
    8 
    9  -- Wilmer van der Gaast <wilmer@gaast.net>  Fri, 06 Jul 2007 09:09:36 +0100
     11  * Added Italian translation, sorry for taking so long! (Closes: #448238)
     12  * Added libevent dependency (more reliable event handling).
     13  * Removed GLib 1.x dependency because BitlBee really requires GLib >=2.4.
     14
     15 -- Wilmer van der Gaast <wilmer@gaast.net>  Tue, 18 Mar 2008 23:44:19 +0000
     16
     17bitlbee (1.0.4-2) unstable; urgency=low
     18
     19  * Removed $DEB_BUILD_OPTIONS because apparently buildds fill it with crap.
     20    (Closes: #458717)
     21
     22 -- Wilmer van der Gaast <wilmer@gaast.net>  Mon, 11 Feb 2008 19:15:33 +0000
     23
     24bitlbee (1.0.4-1) unstable; urgency=low
     25
     26  * New upstream release.
     27  * Changed libnss-dev dependency. (Closes: #370442)
     28  * Added build-indep rule to debian/rules. (Closes: #395673)
     29
     30 -- Wilmer van der Gaast <wilmer@gaast.net>  Wed, 29 Aug 2007 20:24:28 +0100
    1031
    1132bitlbee (1.0.3-1.3) unstable; urgency=low
  • debian/control

    r6612cc9 r379c08a  
    44Maintainer: Wilmer van der Gaast <wilmer@gaast.net>
    55Standards-Version: 3.5.9
    6 Build-Depends: libglib2.0-dev | libglib-dev, libgnutls-dev | libnss-dev (>= 1.6), debconf-2.0, po-debconf
     6Build-Depends: libglib2.0-dev (>= 2.4), libevent-dev, libgnutls-dev | libnss-dev (>= 1.6), debconf-2.0, po-debconf
    77
    88Package: bitlbee
  • debian/postinst

    r6612cc9 r379c08a  
    1616[ -r /etc/default/bitlbee ] && source /etc/default/bitlbee
    1717
    18 if [ "$BITLBEE_DISABLED" = "0" ]; then
     18if [ "$BITLBEE_DISABLED" = "0" ] && expr "$2" : '0\..*' > /dev/null || expr "$2" : '1\.0\..*' > /dev/null; then
    1919        ## In case it's still there (if we're upgrading right now)
    2020        update-inetd --remove '.*/usr/sbin/bitlbee'
     21        if grep -q /usr/sbin/bitlbee /etc/inetd.conf 2> /dev/null; then
     22                # Thanks for breaking update-inetd! (bugs.debian.org/311111)
     23                # I hope that it works at least with xinetd, because this
     24                # emergency hack doesn't:
     25                perl -pi -e 's:^[^#].*/usr/sbin/bitlbee$:## Now using daemon mode\: # $&:' /etc/inetd.conf
     26                killall -HUP inetd
     27        fi
    2128fi
    2229
  • debian/postrm

    r6612cc9 r379c08a  
    99
    1010update-rc.d bitlbee remove > /dev/null 2>&1 || true
    11 deluser --remove-home bitlbee || true
     11deluser --system --remove-home bitlbee || true
     12rm -f /etc/default/bitlbee
  • debian/rules

    r6612cc9 r379c08a  
    33DEBUG ?= 0
    44
     5ifdef BITLBEE_VERSION
     6BITLBEE_FORCE_VERSION=1
     7else
    58# Want to use the full package version number instead of just the release.
    69BITLBEE_VERSION ?= "$(shell dpkg-parsechangelog | grep ^Version: | awk '{print $$2}')"
    710export BITLBEE_VERSION
    8 
     11endif
    912
    1013build-arch: build-arch-stamp
    1114build-arch-stamp:
    1215        if [ ! -d debian ]; then exit 1; fi
    13         ./configure --debug=$(DEBUG) --prefix=/usr --etcdir=/etc/bitlbee $(DEB_BUILD_OPTIONS)
     16        ./configure --debug=$(DEBUG) --prefix=/usr --etcdir=/etc/bitlbee --events=libevent $(DEB_BUILD_OPTIONS)
    1417        $(MAKE)
    1518#       $(MAKE) -C doc/ all
     
    6669                find usr -type f -exec md5sum {} \; > DEBIAN/md5sums
    6770        dpkg-shlibdeps -Tdebian/bitlbee.substvars -dDepends debian/bitlbee/usr/sbin/bitlbee
    68 ifdef BITLBEE_VERSION
     71ifdef BITLBEE_FORCE_VERSION
    6972        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'
    7073else
Note: See TracChangeset for help on using the changeset viewer.