--- pyicqt-0.8.1.3.orig/debian/changelog +++ pyicqt-0.8.1.3/debian/changelog @@ -0,0 +1,157 @@ +pyicqt (0.8.1.3-2) unstable; urgency=low + + * Do not ship /var/run/pyicqt in package. + * Update to standards 3.8.1. + * Switch to python-support. + + -- Michal Čihař Thu, 07 May 2009 14:41:41 +0200 + +pyicqt (0.8.1.3-1) unstable; urgency=low + + * New upstream version. + + -- Michal Čihař Fri, 20 Feb 2009 13:54:27 +0100 + +pyicqt (0.8.1.2-2) unstable; urgency=low + + * Upload to unstable. + + -- Michal Čihař Sun, 15 Feb 2009 13:54:32 +0100 + +pyicqt (0.8.1.2-1) experimental; urgency=low + + * New upstream version (fixes recent connection problems for some users, + especially in Russia). + + -- Michal Čihař Fri, 23 Jan 2009 11:26:34 +0100 + +pyicqt (0.8.1.1-1) experimental; urgency=low + + * New upstream version. + * RemovePID patch si not needed anymore, fixed upstream different way. + * Remove failure-report patch, it only brought problems (-D shows all errors + in log, exceptions and errors should be there anyway). + * Do not install python modules executable. + * Update debian/copyright to match current upstream authors. + + -- Michal Čihař Fri, 16 Jan 2009 09:04:51 +0100 + +pyicqt (0.8.1final-1) experimental; urgency=low + + * New upstream version (appended final to version to workaround changed + versioning scheme without introducing epoch, which I think would be + overhead for such minor change). + * Still upload to experimental to avoid possible problems when fix for Lenny + has to be uploaded. + * Fix watch file to match new upstream name (pyicq-t -> pyicqt). + + -- Michal Čihař Sun, 14 Dec 2008 14:22:51 +0100 + +pyicqt (0.8.1b3-1) experimental; urgency=low + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Michal Čihař ] + * New upstream unstable version. + * Switch to quilt instead of dpatch. + * Install munin plugins and suggest munin-node. + + -- Michal Čihař Mon, 10 Nov 2008 11:29:38 +0100 + +pyicqt (0.8.1b2-1) experimental; urgency=low + + * New upstream unstable version. + + -- Michal Čihař Tue, 07 Oct 2008 13:48:03 +0200 + +pyicqt (0.8.1b-1) experimental; urgency=low + + * New upstream unstable version. + + -- Michal Čihař Tue, 16 Sep 2008 22:44:34 +0200 + +pyicqt (0.8.1a3-1) experimental; urgency=low + + * New upstream alpha version. + + -- Michal Čihař Sun, 31 Aug 2008 20:06:05 +0200 + +pyicqt (0.8.1a2-1) experimental; urgency=low + + * New upstream alpha version. + + -- Michal Čihař Mon, 18 Aug 2008 12:21:58 +0200 + +pyicqt (0.8.1a-1) experimental; urgency=low + + * New upstream alpha version. + * Add comments to patches. + * Wrap very long lines in debian/copyright. + + -- Michal Čihař Thu, 31 Jul 2008 10:11:06 +0200 + +pyicqt (0.8b-5) unstable; urgency=low + + * Reimplement missing removePID (Closes: #489311). + + -- Michal Čihař Sun, 06 Jul 2008 23:23:02 +0200 + +pyicqt (0.8b-4) unstable; urgency=low + + * Fix names of suggested jabber daemons. + * Update to standards 3.8.0. + * Use new dh command to simplify debian/rules. + + -- Michal Čihař Sat, 07 Jun 2008 12:37:23 +0200 + +pyicqt (0.8b-3) unstable; urgency=low + + * Use LSB logging functions in init script. + * Report startup failures. + + -- Michal Čihař Mon, 14 Apr 2008 16:00:25 +0200 + +pyicqt (0.8b-2) unstable; urgency=low + + * Delete pyicqt user and group on purge. + * Fix accidentally mistaken config file name. + + -- Michal Čihař Mon, 03 Mar 2008 17:56:22 +0100 + +pyicqt (0.8b-1) unstable; urgency=low + + * New upstream version (Closes: #461633). + - This version includes charset patches (Closes: #453959). + * Adding myself as maintainer, PAPT and Patrick as uploaders. + * Acknowledge my own NMUs: + - Fix crash with current twisted (Closes: #436935, #441023). + - Fix missing dependency (Closes: #439778). + * Fixed watch file (Closes: #456487). + * Switched package away from CDBS (based on my pyaimt package). + + -- Michal Čihař Thu, 28 Feb 2008 17:42:57 +0100 + +pyicqt (0.8a-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix crash with current twisted (Closes: #436935, #441023). + * Fix missing dependency (Closes: #439778). + * I know there could be done more for this package, but this is just a NMU + to fix most annoying breakages. + + -- Michal Čihař Tue, 16 Oct 2007 22:43:52 +0900 + +pyicqt (0.8a-1) unstable; urgency=low + + * Initial release (Closes: #406659) + * Added postinst, postrm and logrotate scripts. Thanks to Sam Morris + . + * Added patches/01_header-dont-use-env.dpatch in order to fulfill + policy section 10.4. + * Added patches/02_adapt-default-config-options.dpatch since pid + handling will be done by the system itself + several extensions e.g. + avatar and webinterface support need to be disabled by default. + + -- Patrick Ringl Mon, 25 Jun 2007 16:24:52 +0200 --- pyicqt-0.8.1.3.orig/debian/init.d +++ pyicqt-0.8.1.3/debian/init.d @@ -0,0 +1,68 @@ +#! /bin/bash +### BEGIN INIT INFO +# Provides: PYICQT +# Required-Start: $syslog +# Required-Stop: $syslog +# Should-Start: $local_fs +# Should-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: starts ICQ transport for Jabber +# Description: starts PyICQt which provides a gateway that allows Jabber users to communicate with their +# contacts on the ICQ Messenger network. It can connect to any Jabber server +# that supports the Connect component mechanism. +### END INIT INFO + +export PATH=/sbin:/bin:/usr/sbin:/usr/bin + +. /lib/lsb/init-functions + +NAME=pyicqt +DESC="ICQ transport for Jabber" + +PIDDIR=/var/run/pyicqt +PIDFILE=$PIDDIR/$NAME.pid +USER=pyicqt +GROUP=pyicqt + +SSD_OPTS="--pidfile=$PIDFILE --name=python --user=$USER" + +DAEMON=/usr/bin/python +OPTIONS="/usr/share/pyicqt/PyICQt.py --config=/etc/pyicqt.conf.xml --background -o pid=$PIDFILE -o spooldir=/var/lib/pyicqt -d --log=/var/log/pyicqt/pyicqt.log" + +test -f $DAEMON || exit 0 + +if test ! -e $PIDDIR; then + mkdir $PIDDIR + chown $USER:$GROUP $PIDDIR +fi + +case "$1" in +start) + log_daemon_msg "Starting $DESC" "$NAME" + start-stop-daemon --start $SSD_OPTS --startas "$DAEMON" --chuid "$USER" -- $OPTIONS + log_end_msg $? + ;; +stop) + log_daemon_msg "Stopping $DESC" "$NAME" + start-stop-daemon --stop $SSD_OPTS --retry 10 + log_end_msg $? + ;; +reload|force-reload) + log_daemon_msg "Reloading $DESC" "$NAME" + start-stop-daemon --stop $SSD_OPTS --signal HUP + log_end_msg $? + ;; +restart) + $0 stop + $0 start + ;; +*) + echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 + +# vim: filetype=sh --- pyicqt-0.8.1.3.orig/debian/copyright +++ pyicqt-0.8.1.3/debian/copyright @@ -0,0 +1,282 @@ +This package was debianized by Michal Čihař on +Wed, 12 Dec 2007 16:45:27 +0900. + +It was downloaded from http://code.google.com/p/pyicqt/ + +Upstream Authors: Daniel Henninger , + James Bunton , + Paul Clegg, + Jonas Adahl, + Magnus Henoch, + Serge Trylis, + Chris Carlin, + Daniel Chandran, + Martin von Loewis, + Maarten Fonville, + Christopher Zorn, + Scott Dial, + Paul Swartz , + Roman Mindalev + +Copyright: + +pyaimt is Copyright (c) 2004-2007 Daniel Henninger + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + +On Debian systems, the complete text of the GNU General Public +License Version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. + + +The files src/twistfix/version.py and src/twistfix/__init__.py is +Copyright (C) 2004-2006 James Bunton + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + +On Debian systems, the complete text of the GNU General Public +License Version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. + + +The files src/sasl.py and src/web/xmppcred.py are +Copyright (C) 2005-2007 Christopher Zorn +and OGG, LLC, http://onlinegamegroup.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + +The files in src/twistfix/words/xish and +src/twistfix/words/protocols/jabber/ are +Copyright (C) 2001 Matthew W. Lefkowitz (Twisted, +the Framework of Your Internet) + + This library is free software; you can redistribute it and/or + modify it under the terms of version 2.1 of the GNU Lesser General Public + License as published by the Free Software Foundation + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General Public +License Version 2.1, can be found in /usr/share/common-licenses/LGPL-2.1. + +The file src/tlib/oscar.py is +Copyright (C) 2001-2005 Twisted Matrix Laboratories + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +The file src/tlib/ifcompat.py is Copyright (C) 2005 Divmod, Inc. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +The file src/bool.py is Copyright (C) 2002 Guido van Rossum + + A. HISTORY OF THE SOFTWARE + ========================== + + Python was created in the early 1990s by Guido van Rossum at Stichting + Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands + as a successor of a language called ABC. Guido remains Python's + principal author, although it includes many contributions from others. + + In 1995, Guido continued his work on Python at the Corporation for + National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) + in Reston, Virginia where he released several versions of the + software. + + In May 2000, Guido and the Python core development team moved to + BeOpen.com to form the BeOpen PythonLabs team. In October of the same + year, the PythonLabs team moved to Digital Creations (now Zope + Corporation, see http://www.zope.com). In 2001, the Python Software + Foundation (PSF, see http://www.python.org/psf/) was formed, a + non-profit organization created specifically to own Python-related + Intellectual Property. Zope Corporation is a sponsoring member of + the PSF. + + All Python releases are Open Source (see http://www.opensource.org for + the Open Source Definition). Historically, most, but not all, Python + releases have also been GPL-compatible; the table below summarizes + the various releases. + + Release Derived Year Owner GPL- + from compatible? (1) + + 0.9.0 thru 1.2 1991-1995 CWI yes + 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes + 1.6 1.5.2 2000 CNRI no + 2.0 1.6 2000 BeOpen.com no + 1.6.1 1.6 2001 CNRI yes (2) + 2.1 2.0+1.6.1 2001 PSF no + 2.0.1 2.0+1.6.1 2001 PSF yes + 2.1.1 2.1+2.0.1 2001 PSF yes + 2.2 2.1.1 2001 PSF yes + 2.1.2 2.1.1 2002 PSF yes + 2.1.3 2.1.2 2002 PSF yes + 2.2.1 2.2 2002 PSF yes + 2.2.2 2.2.1 2002 PSF yes + 2.2.3 2.2.2 2003 PSF yes + 2.3 2.2.2 2002-2003 PSF yes + 2.3.1 2.3 2002-2003 PSF yes + 2.3.2 2.3.1 2002-2003 PSF yes + 2.3.3 2.3.2 2002-2003 PSF yes + 2.3.4 2.3.3 2004 PSF yes + 2.3.5 2.3.4 2005 PSF yes + 2.4 2.3 2004 PSF yes + 2.4.1 2.4 2005 PSF yes + 2.4.2 2.4.1 2005 PSF yes + + Footnotes: + + (1) GPL-compatible doesn't mean that we're distributing Python under + the GPL. All Python licenses, unlike the GPL, let you distribute + a modified version without making your changes open source. The + GPL-compatible licenses make it possible to combine Python with + other software that is released under the GPL; the others don't. + + (2) According to Richard Stallman, 1.6.1 is not GPL-compatible, + because its license has a choice of law clause. According to + CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 + is "not incompatible" with the GPL. + + Thanks to the many outside volunteers who have worked under Guido's + direction to make these releases possible. + + + B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON + =============================================================== + + PSF LICENSE AGREEMENT FOR PYTHON 2.4 + ------------------------------------ + + 1. This LICENSE AGREEMENT is between the Python Software Foundation + ("PSF"), and the Individual or Organization ("Licensee") accessing and + otherwise using Python 2.4 software in source or binary form and its + associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, PSF + hereby grants Licensee a nonexclusive, royalty-free, world-wide + license to reproduce, analyze, test, perform and/or display publicly, + prepare derivative works, distribute, and otherwise use Python 2.4 + alone or in any derivative version, provided, however, that PSF's + License Agreement and PSF's notice of copyright, i.e., "Copyright (c) + 2001, 2002, 2003, 2004 Python Software Foundation; All Rights Reserved" + are retained in Python 2.4 alone or in any derivative version prepared + by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on + or incorporates Python 2.4 or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief summary of + the changes made to Python 2.4. + + 4. PSF is making Python 2.4 available to Licensee on an "AS IS" + basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.4 WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + 2.4 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS + A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.4, + OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between PSF and + Licensee. This License Agreement does not grant permission to use PSF + trademarks or trade name in a trademark sense to endorse or promote + products or services of Licensee, or any third party. + + 8. By copying, installing or otherwise using Python 2.4, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + + +The Debian packaging is Copyriht (C) 2007-2009, Michal Čihař +(based on work of Patrick Ringl ) and is licensed under +the GPL, see `/usr/share/common-licenses/GPL-2'. --- pyicqt-0.8.1.3.orig/debian/pycompat +++ pyicqt-0.8.1.3/debian/pycompat @@ -0,0 +1 @@ +2 --- pyicqt-0.8.1.3.orig/debian/logrotate +++ pyicqt-0.8.1.3/debian/logrotate @@ -0,0 +1,12 @@ +/var/log/pyicqt/pyicqt.log { + daily + missingok + rotate 7 + compress + delaycompress + notifempty + create 640 pyicqt adm + postrotate + invoke-rc.d pyicqt reload > /dev/null + endscript +} --- pyicqt-0.8.1.3.orig/debian/control +++ pyicqt-0.8.1.3/debian/control @@ -0,0 +1,30 @@ +Source: pyicqt +Section: net +Priority: extra +Maintainer: Michal Čihař +Uploaders: Python Applications Packaging Team , Patrick Ringl +Build-Depends: debhelper (>= 7.0.14), quilt (>= 0.40) +Build-Depends-Indep: python-dev, python-support (>= 0.5.3) +Standards-Version: 3.8.1 +Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/pyicqt/trunk +Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/pyicqt/trunk/ +Homepage: http://code.google.com/p/pyicqt/ + +Package: pyicqt +Architecture: all +Depends: ${python:Depends}, + ${misc:Depends}, + lsb-base (>= 3.0-6), + python-twisted (>=2.0.0), + python-twisted-web (>=0.5.0), + python-twisted-words (>= 0.1.0), + python-crypto, + python-openssl, + adduser +Suggests: ejabberd | jabber | jabberd2, munin-node +Recommends: python-nevow (>= 0.4.1), python-mysqldb (>= 1.0.0), python-imaging +XB-Python-Version: ${python:Versions} +Description: ICQ transport for Jabber + PyICQt provides a gateway which allows Jabber users to communicate with their + contacts on the ICQ Messenger network. It can connect to any Jabber server + that supports the Connect component mechanism. --- pyicqt-0.8.1.3.orig/debian/pyicqt.dirs +++ pyicqt-0.8.1.3/debian/pyicqt.dirs @@ -0,0 +1,2 @@ +var/lib/pyicqt +var/log/pyicqt --- pyicqt-0.8.1.3.orig/debian/watch +++ pyicqt-0.8.1.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://code.google.com/p/pyicqt/downloads/list http://pyicqt.googlecode.com/files/pyicqt-(.*).tar.gz --- pyicqt-0.8.1.3.orig/debian/compat +++ pyicqt-0.8.1.3/debian/compat @@ -0,0 +1 @@ +7 --- pyicqt-0.8.1.3.orig/debian/pyicqt.docs +++ pyicqt-0.8.1.3/debian/pyicqt.docs @@ -0,0 +1,3 @@ +AUTHORS +README +NEWS --- pyicqt-0.8.1.3.orig/debian/postinst +++ pyicqt-0.8.1.3/debian/postinst @@ -0,0 +1,32 @@ +#!/bin/sh + +set -e + +case "$1" in +configure) + if ! getent passwd pyicqt >/dev/null; then + adduser --system --disabled-login \ + --no-create-home --home /var/lib/pyicqt \ + --group \ + pyicqt + fi + if test -n "$2" && dpkg --compare-versions "$2" le 0.11.1-4; then + if test -f /var/log/jabber/pyicqt.log*; then + mv /var/log/jabber/pyicqt.log* /var/log/pyicqt + fi + fi + if ! dpkg-statoverride --list /var/log/pyicqt >/dev/null; then + chown -R pyicqt:adm /var/log/pyicqt + fi + ;; +abort-upgrade|abort-remove|abort-deconfigure) + ;; +*) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- pyicqt-0.8.1.3.orig/debian/README.Debian +++ pyicqt-0.8.1.3/debian/README.Debian @@ -0,0 +1,18 @@ +pyicqt for Debian +----------------- + +Avatars +------- + +By default, pyicqt does _NOT_ support avatars. You will need to install +python-imaging, comment the following configuration entry: , then restart the transport. + +Webinterface +------------ + +By default, pyicqt does_NOT_ support the built-in webinterface function since +you will have to install 'python-nevow' before, uncomment + in the config of pyicqt then restart it. + + -- Michal Čihař Wed, 12 Dec 2007 16:45:27 +0900 --- pyicqt-0.8.1.3.orig/debian/postrm +++ pyicqt-0.8.1.3/debian/postrm @@ -0,0 +1,33 @@ +#!/bin/sh + +set -e + +case "$1" in +purge) + rm -rf /var/lib/pyicqt + rm -rf /var/log/pyicqt + rm -rf /var/run/pyicqt + # delete user + if getent passwd pyicqt >/dev/null; then + if [ -x /usr/sbin/deluser ]; then + deluser --system pyicqt + fi + fi + # delete group + if getent group pyicqt >/dev/null; then + if [ -x /usr/sbin/delgroup ]; then + delgroup --system pyicqt + fi + fi + ;; +remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; +*) + echo "postrm called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- pyicqt-0.8.1.3.orig/debian/pyicqt.install +++ pyicqt-0.8.1.3/debian/pyicqt.install @@ -0,0 +1,6 @@ +src usr/share/pyicqt +data usr/share/pyicqt +PyICQt.py usr/share/pyicqt +pyicqt.conf.xml etc +tools/memory_ usr/share/munin/plugins +tools/threads_ usr/share/munin/plugins --- pyicqt-0.8.1.3.orig/debian/rules +++ pyicqt-0.8.1.3/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +build: build-stamp + +build-stamp: $(QUILT_STAMPFN) + chmod -x src/chardet_utf/* + dh build + cp config_example.xml pyicqt.conf.xml + chmod -x PyICQt.py + touch $@ + +clean: unpatch + dh clean + +install: build + dh install + +binary-indep: build install + dh binary-indep + +binary-arch: build install + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install --- pyicqt-0.8.1.3.orig/debian/patches/series +++ pyicqt-0.8.1.3/debian/patches/series @@ -0,0 +1,2 @@ +header-dont-use-env.patch +adapt-default-config-options.patch --- pyicqt-0.8.1.3.orig/debian/patches/header-dont-use-env.patch +++ pyicqt-0.8.1.3/debian/patches/header-dont-use-env.patch @@ -0,0 +1,11 @@ +Do not use /usr/bin/env to start this script. +Patch by + +--- a/PyICQt.py ++++ b/PyICQt.py +@@ -1,5 +1,3 @@ +-#!/usr/bin/env python +- + # Make 'cwd'/src in the PYTHONPATH + import sys, os, os.path + PATH = os.path.abspath(os.path.dirname(sys.argv[0])) --- pyicqt-0.8.1.3.orig/debian/patches/adapt-default-config-options.patch +++ pyicqt-0.8.1.3/debian/patches/adapt-default-config-options.patch @@ -0,0 +1,30 @@ +Addapt default config options to match Debian package needs. +- PID and spool are default to correct place, it's better for user not to touch these. +- Avatars are disabled by default, because we do not depend on PIL. + +--- a/config_example.xml ++++ b/config_example.xml +@@ -5,14 +5,6 @@ + + + +- +- +- . +- +- +- +- PyICQt.pid +- + + 127.0.0.1 + +@@ -160,7 +152,7 @@ + + + +- ++ + + +