debian/0000755000000000000000000000000011752666322007200 5ustar debian/changelog0000644000000000000000000000704411752666274011065 0ustar pyaimt (0.8.0.1-3) unstable; urgency=low * Fix watch file to work after recent changes on code.google.com. * Fix permissions of /var/lib/pyaimt (Closes: #672291). * Remove extra file in clean (Closes: #671549). * Bump standards to 3.9.3. * Migrate to dh_python2. * Init script now understands status command. -- Michal Čihař Thu, 10 May 2012 09:22:33 +0200 pyaimt (0.8.0.1-2) unstable; urgency=low * Adjust provided service name in init script. * Fix naming of init script in source package. * Init script should depend on $remote_fs. * No need to build depend on python-dev, python is enough. * Convert to 3.0 (quilt) source format. -- Michal Čihař Sat, 02 Jan 2010 13:06:52 +0100 pyaimt (0.8.0.1-1) unstable; urgency=low * New upstream version. * Bump policy to 3.8.3. * Drop patches which seem not to be needed (pyicq20070823.patch and fixups.patch). -- Michal Čihař Mon, 24 Aug 2009 22:21:10 +0200 pyaimt (0.8a-9) unstable; urgency=low * Do not ship /var/run/pyaimt in package. * Update to policy 3.8.1. * Switch to debhelper 7 and python-support. * Update debian/copyright. * Switch from dpatch to quilt. -- Michal Čihař Thu, 07 May 2009 14:43:17 +0200 pyaimt (0.8a-8) unstable; urgency=low [ Michal Čihař ] * Add missing debian/README.source. * Update standards to 3.8.0. * Document patches. * Do not crash when connection is lost (Closes: #504393). [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn -- Michal Čihař Wed, 05 Nov 2008 13:38:40 +0100 pyaimt (0.8a-7) unstable; urgency=low * Reimplement missing removePID (Closes: #489308). -- Michal Čihař Sun, 06 Jul 2008 23:24:52 +0200 pyaimt (0.8a-6) unstable; urgency=low * Move packaging to Python Applications Packaging Team: - Change Vcs fields in debian/control. - Add team to Uploaders. * Fix names of suggested jabber daemons. -- Michal Čihař Tue, 27 May 2008 14:19:43 +0200 pyaimt (0.8a-5) unstable; urgency=low * Report startup failures (Closes: #476096). * Use LSB logging functions in init script. -- Michal Čihař Mon, 14 Apr 2008 15:55:49 +0200 pyaimt (0.8a-4) unstable; urgency=low * Adjusted Vcs-* headers to point to trunk. * Cleanup dependencies, add missing python-openssl. * Remove pyaimt user and group on purge. -- Michal Čihař Mon, 03 Mar 2008 17:58:26 +0100 pyaimt (0.8a-3) unstable; urgency=low * Update home page references as upstream has moved to http://code.google.com/p/pyaimt/. -- Michal Čihař Mon, 17 Dec 2007 09:51:40 +0900 pyaimt (0.8a-2) unstable; urgency=low * Replace ICQ by AIM in description. -- Michal Čihař Wed, 12 Dec 2007 17:18:29 +0900 pyaimt (0.8a-1) unstable; urgency=low * Initial upload to Debian (Closes: #406656). -- Michal Čihař Wed, 12 Dec 2007 16:45:27 +0900 pyaimt (0.8a-0.nijel.2) unstable; urgency=low * Fix logging in getvCardNotInList. -- Michal Čihař Wed, 12 Dec 2007 16:20:19 +0900 pyaimt (0.8a-0.nijel.1) unstable; urgency=low * Fixed exception with LegacyConnection instance has no attribute 'getvCardNotInList'. -- Michal Čihař Mon, 26 Nov 2007 12:07:50 +0900 pyaimt (0.8a-0.nijel.0) unstable; urgency=low * Just package also this beast. -- Michal Čihař Wed, 10 Oct 2007 09:36:56 +0900 debian/patches/0000755000000000000000000000000011752666322010627 5ustar debian/patches/crash_on_connection_lost.patch0000644000000000000000000000105111171123547016711 0ustar If connection was lost, session can be None. diff -urNad pyaimt-0.8a~/src/legacy/aimt.py pyaimt-0.8a/src/legacy/aimt.py --- pyaimt-0.8a~/src/legacy/aimt.py 2008-11-05 13:34:47.000000000 +0100 +++ pyaimt-0.8a/src/legacy/aimt.py 2008-11-05 13:37:13.000000000 +0100 @@ -52,7 +52,8 @@ def connectionLost(self, reason): message = "AIM connection lost! Reason: %s" % reason - LogEvent(INFO, self.session.jabberID, message) + if self.session: + LogEvent(INFO, self.session.jabberID, message) try: self.oscarcon.alertUser(message) except: debian/patches/failure-report.patch0000644000000000000000000000054011171123547014577 0ustar Show error on startup. Index: PyAIMt.py =================================================================== --- a/PyAIMt.py (revision 249) +++ /bPyAIMt.py (working copy) @@ -11,4 +11,8 @@ import profile profile.run('main.main()', main.profilelog) else: - main.main() + try: + main.main() + except: + import traceback + traceback.print_trace() debian/patches/series0000644000000000000000000000020211274012467012030 0ustar header-dont-use-env.patch adapt-default-config-options.patch failure-report.patch remove_pid.patch crash_on_connection_lost.patch debian/patches/header-dont-use-env.patch0000644000000000000000000000061711171123547015416 0ustar This is not executed directly, no need for #! line. diff -Nur pyicq-t-0.8a/PyAIMt.py pyicq-t-0.8a.new/PyAIMt.py --- pyicq-t-0.8a/PyAIMt.py 2007-06-04 03:10:36.000000000 +0200 +++ pyicq-t-0.8a.new/PyAIMt.py 2007-06-08 23:33:59.000000000 +0200 @@ -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])) debian/patches/remove_pid.patch0000644000000000000000000000154411274012467013777 0ustar Reimplement removePID, it seems to be missing in current twisted. diff -urNad pyicqt-0.8b~/src/main.py pyicqt-0.8b/src/main.py --- pyicqt-0.8b~/src/main.py 2008-01-06 13:14:51.000000000 +0100 +++ pyicqt-0.8b/src/main.py 2008-07-06 23:18:24.000000000 +0200 @@ -430,11 +430,23 @@ pf.write("%s\n" % pid) pf.close() + def removePID(self): + try: + os.unlink(config.pid) + except OSError, e: + if e.errno == errno.EACCES or e.errno == errno.EPERM: + print "Warning: No permission to delete pid file" + else: + print "Failed to unlink PID file:" + print e + except: + print "Failed to unlink PID file" + def shuttingDown(self): self.transportSvc.removeMe() def cb(ignored=None): if config.pid: - twistd.removePID(config.pid) + self.removePID() d = Deferred() d.addCallback(cb) reactor.callLater(3.0, d.callback, None) debian/patches/adapt-default-config-options.patch0000644000000000000000000000147411171123547017315 0ustar Adjust configuration to Debian setup. diff -urNad pyaim-t-0.8a~/config_example.xml pyaim-t-0.8a/config_example.xml --- pyaim-t-0.8a~/config_example.xml 2007-11-26 11:02:10.000000000 +0900 +++ pyaim-t-0.8a/config_example.xml 2007-11-26 11:03:04.000000000 +0900 @@ -9,14 +9,6 @@ - - - . - - - - PyAIMt.pid - 127.0.0.1 debian/copyright0000644000000000000000000003210011171123012011102 0ustar 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/pyaimt/ 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 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 Copyright (C) 2007-2009, Michal Čihař (based on work of Patrick Ringl ) and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. debian/logrotate0000644000000000000000000000026611104311010011073 0ustar /var/log/pyaimt/pyaimt.log { daily missingok rotate 7 compress delaycompress notifempty create 640 pyaimt adm postrotate invoke-rc.d pyaimt reload > /dev/null endscript } debian/control0000644000000000000000000000216011752663776010614 0ustar Source: pyaimt Section: net Priority: extra Maintainer: Michal Čihař Uploaders: Python Applications Packaging Team Build-Depends: debhelper (>= 7.0.14) Build-Depends-Indep: python (>= 2.6.6-3~) Standards-Version: 3.9.3 Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/pyaimt/trunk Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/pyaimt/trunk/ Homepage: http://code.google.com/p/pyaimt/ Package: pyaimt 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 Recommends: python-nevow (>= 0.4.1), python-mysqldb (>= 1.0.0), python-imaging XB-Python-Version: ${python:Versions} Description: AIM transport for Jabber PyAIMt provides a gateway which allows Jabber users to communicate with their contacts on the AIM Messenger network. It can connect to any Jabber server that supports the Connect component mechanism. debian/watch0000644000000000000000000000015711461554442010230 0ustar version=3 http://code.google.com/p/pyaimt/downloads/list http://pyaimt.googlecode.com/files/pyaimt-(.*).tar.gz debian/compat0000644000000000000000000000000211171122665010366 0ustar 7 debian/postinst0000644000000000000000000000135111752663453011010 0ustar #!/bin/sh set -e case "$1" in configure) if ! getent passwd pyaimt >/dev/null; then adduser --system --disabled-login \ --no-create-home --home /var/lib/pyaimt \ --group \ pyaimt fi if test -n "$2" && dpkg --compare-versions "$2" le 0.11.1-4; then if test -f /var/log/jabber/pyaimt.log*; then mv /var/log/jabber/pyaimt.log* /var/log/pyaimt fi fi if ! dpkg-statoverride --list /var/log/pyaimt >/dev/null; then chown -R pyaimt:adm /var/log/pyaimt fi if ! dpkg-statoverride --list /var/lib/pyaimt >/dev/null; then chown -R pyaimt:adm /var/lib/pyaimt fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/pyaimt.init0000755000000000000000000000337711752664374011412 0ustar #! /bin/bash ### BEGIN INIT INFO # Provides: pyaimt # Required-Start: $syslog $remote_fs # Required-Stop: $syslog $remote_fs # Should-Start: $local_fs # Should-Stop: $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: starts AIM transport for Jabber # Description: starts PyAIMt which provides a gateway that allows Jabber users to communicate with their # contacts on the AIM 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=pyaimt DESC="AIM transport for Jabber" PIDDIR=/var/run/pyaimt PIDFILE=$PIDDIR/$NAME.pid USER=pyaimt GROUP=pyaimt SSD_OPTS="--pidfile=$PIDFILE --name=python --user=$USER" DAEMON=/usr/bin/python OPTIONS="/usr/share/pyaimt/PyAIMt.py --config=/etc/pyaimt.conf.xml --background -o pid=$PIDFILE -o spooldir=/var/lib/pyaimt -d --log=/var/log/pyaimt/pyaimt.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 ;; status) status_of_proc -p $PIDFILE "$DAEMON" "$NAME" && exit 0 || exit $? ;; *) echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2 exit 1 ;; esac exit 0 # vim: filetype=sh debian/pyaimt.dirs0000644000000000000000000000003611171122353011347 0ustar var/lib/pyaimt var/log/pyaimt debian/README.Debian0000644000000000000000000000105111104311010011202 0ustar pyaimt for Debian ----------------- Avatars ------- By default, pyaimt does _NOT_ support avatars. You will need to install python-imaging, comment the following configuration entry: , then restart the transport. Webinterface ------------ By default, pyaimt does _NOT_ support the built-in webinterface function since you will have to install 'python-nevow' before, uncomment in the config of pyaimt then restart it. -- Michal Čihař Wed, 12 Dec 2007 16:45:27 +0900 debian/pyaimt.install0000644000000000000000000000020311104311010012032 0ustar src usr/share/pyaimt data usr/share/pyaimt PyAIMt.py usr/share/pyaimt pyaimt.conf.xml etc debian/postrm0000644000000000000000000000116211104311010010413 0ustar #!/bin/sh set -e case "$1" in purge) rm -rf /var/lib/pyaimt rm -rf /var/log/pyaimt rm -rf /var/run/pyaimt # delete user if getent passwd pyaimt >/dev/null; then if [ -x /usr/sbin/deluser ]; then deluser --system pyaimt fi fi # delete group if getent group pyaimt >/dev/null; then if [ -x /usr/sbin/delgroup ]; then delgroup --system pyaimt 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 debian/pyaimt.docs0000644000000000000000000000002411104311010011315 0ustar AUTHORS README NEWS debian/rules0000755000000000000000000000076111752663575010273 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh build --with python2 chmod -x PyAIMt.py cp config_example.xml pyaimt.conf.xml touch $@ clean: rm -f pyaimt.conf.xml dh clean install: build dh install --with python2 binary-indep: build install dh binary-indep --with python2 binary-arch: build install binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/source/0000755000000000000000000000000011752666322010500 5ustar debian/source/format0000644000000000000000000000001411374743451011705 0ustar 3.0 (quilt)