debian/0000755000000000000000000000000011740604131007163 5ustar debian/copyright0000644000000000000000000000251111740576752011136 0ustar This package was originally debianized by Toshihiko Okada for the Ubuntu distribution and is currently maintained for Debian by Christoph Haas . The Debian packaging is (C) 2009, Christoph Haas and is licensed under the GPL, see above. pysieved was downloaded from http://woozle.org/~neale/gitweb.cgi?p=pysieved;a=commit;h=1.0 Upstream Author: Neale Pickett Copyright: Copyright (C) 2007-2009 Neale Pickett License: This package 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 package 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 package; 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 General Public License can be found in `/usr/share/common-licenses/GPL'. debian/logcheck/0000755000000000000000000000000011740604131010742 5ustar debian/logcheck/pysieved0000644000000000000000000000041111740576752012532 0ustar ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ pysieved\[[[:digit:]]{1,5}\]: Connect from .*$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ pysieved\[[[:digit:]]{1,5}\]: Disconnect$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ pysieved\[[[:digit:]]{1,5}\]: Authenticated user .*$ debian/pysieved.postinst0000644000000000000000000000067111740576752012645 0ustar #!/bin/sh # postinst script for pysieved # # see: dh_installdeb(1) set -e . /usr/share/debconf/confmodule case "$1" in configure) # Register the daemon with the inetd update-inetd --group MAIL --add 'sieve\tstream\ttcp\tnowait\troot\t/usr/bin/python\tpython\t/usr/bin/pysieved --inetd' ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/pysieved.dirs0000644000000000000000000000001011740576752011706 0ustar usr/bin debian/changelog0000644000000000000000000000213411740604070011037 0ustar pysieved (1.1-0.2) unstable; urgency=low * NMU * Fix uninstallation in sid. Transition to python2.7 (Closes: #644297) * Convert to 3.0 quilt source format, drop dpatch & pysupport dependencies * Fix lintian errors & warning, bump standards version * Merge from ubuntu. Merged changes: - debian/patches/02_dovecot_sievec_path.dpatch: correct path for sievec in Dovecot via ini file - 50_suppress_deprecation_warning_popen2.dpatch: filter DeprecationWarning "The popen2 module is deprecated" (Closes: #602942) -- Dmitrijs Ledkovs Mon, 09 Apr 2012 16:21:09 +0100 pysieved (1.1-0.1) unstable; urgency=low * NMU * New upstream version. closes: #602958. * Add Recommends on python-tlslite (for TLS support). * Update Homepage field to http://www.gitorious.net/pysieved/pages/Home closes: #609936. * Bump to Standards-Version 3.9.2. -- Clint Adams Tue, 09 Nov 2010 13:43:56 -0500 pysieved (1.0-1) unstable; urgency=low * Initial release (closes: #517141) -- Christoph Haas Tue, 10 Mar 2009 20:03:04 +0100 debian/pysieved.install0000644000000000000000000000033411740576752012424 0ustar pysieved.ini etc config.py usr/share/pysieved daemon.py usr/share/pysieved version.py usr/share/pysieved managesieve.py usr/share/pysieved plugins usr/share/pysieved debian/logcheck/pysieved etc/logcheck/ignore.d.server debian/pysieved.docs0000644000000000000000000000002611740576752011704 0ustar README README.Dovecot debian/source/0000755000000000000000000000000011740604131010463 5ustar debian/source/format0000644000000000000000000000001411740601361011673 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011740604131010612 5ustar debian/patches/series0000644000000000000000000000013111740601206012022 0ustar 01_paths.patch 02_dovecot_sievec_path.patch 50_suppress_deprecation_warning_popen2.patch debian/patches/50_suppress_deprecation_warning_popen2.patch0000644000000000000000000000077311740601157021424 0ustar filter deprecation warnings because of deprecated popen2 (LP: #617872) Index: sid/plugins/dovecot.py =================================================================== --- sid.orig/plugins/dovecot.py 2012-04-09 16:19:06.904001000 +0100 +++ sid/plugins/dovecot.py 2012-04-09 16:34:06.965175538 +0100 @@ -18,6 +18,9 @@ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ## USA +import warnings +warnings.filterwarnings("ignore") + import __init__ import FileStorage import urllib debian/patches/01_paths.patch0000644000000000000000000000170711740601123013255 0ustar Use private module & correct config path Index: sid/pysieved.py =================================================================== --- sid.orig/pysieved.py 2012-04-09 16:19:06.904001000 +0100 +++ sid/pysieved.py 2012-04-09 16:34:06.941175537 +0100 @@ -22,9 +22,10 @@ import SocketServer import socket import os -import managesieve import syslog import sys +sys.path.insert(1, '/usr/share/pysieved') +import managesieve from config import Config try: from tlslite.api import * @@ -54,7 +55,7 @@ parser.add_option('-c', '--config', help='Location of config file', action='store', dest='config', - default='/usr/local/etc/pysieved.ini') + default='/etc/pysieved.ini') parser.add_option('-v', '--verbosity', help="Set logging verbosity level (default 1)", action='store', dest='verbosity', default=1, type='int') debian/patches/02_dovecot_sievec_path.patch0000644000000000000000000000066711740601127016164 0ustar Update path to sievec Index: sid/pysieved.ini =================================================================== --- sid.orig/pysieved.ini 2012-04-09 16:19:06.904001000 +0100 +++ sid/pysieved.ini 2012-04-09 16:34:06.957175537 +0100 @@ -82,7 +82,7 @@ #master = /var/run/dovecot/auth-master # Path to sievec -sievec = /usr/lib/dovecot/sievec +sievec = /usr/bin/sievec # Where in user directory to store scripts scripts = .pysieved debian/pysieved.manpages0000644000000000000000000000002211740576752012543 0ustar debian/pysieved.8 debian/pysieved.80000644000000000000000000000200011740576752011115 0ustar .\"Created with GNOME Manpages Editor .\"http://sourceforge.net/projects/gmanedit2 .\"Replace with the program name, x with the Section Number .TH pysieved 8 "2009-3-29" "" "Managesieve Server" .SH NAME pysieved \- managesieve server .SH SYNOPSIS .B pysieved .RI [ options ] .SH DESCRIPTION .RI pysieved is a managesieve server that allows administering of sieve mail delivery rules through the sieve protocol. .SH OPTIONS .IP "-i, --inetd" Run once on stdin (inetd mode) .IP "-l PORT, --port=PORT" What port to run on (default: 2000) .IP "-p PIDFILE, --pidfile=PIDFILE" Where to write a PID file .IP "-c CONFIG, --config=CONFIG" Location of config file .IP "-v VERBOSITY, --verbosity=VERBOSITY" Set logging verbosity level (default 1) .IP "-d, --debug" Log to stderr .SH HOMEPAGE For more information see the projects homepage at http://woozle.org/~neale/src/pysieved/ .SH AUTHORS pysieved was written by Neale Pickett. This manual page was provided by Christoph Haas for the Debian GNU/Linux system. debian/compat0000644000000000000000000000000211740576752010402 0ustar 7 debian/control0000644000000000000000000000127211740601426010574 0ustar Source: pysieved Section: mail Priority: extra Maintainer: Christoph Haas Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3~) Standards-Version: 3.9.3 Homepage: http://www.gitorious.net/pysieved/pages/Home Package: pysieved Architecture: all Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}, update-inetd, openbsd-inetd Recommends: python-tlslite Suggests: python-mysqldb, python-pam Description: managesieve server pysieved is a Python-based managesieve server. It uses a plug-in architecture to support different authentication (Dovecot, PAM, SASL, MySQL), homedir lookup (Dovecot, /etc/passwd, MySQL, simple virtual hosting), and storage back-ends. debian/pysieved.prerm0000644000000000000000000000054111740576752012103 0ustar #!/bin/sh # prerm script for pysieved # # see: dh_installdeb(1) set -e . /usr/share/debconf/confmodule case "$1" in remove|purge) # De-Register the daemon with the inetd update-inetd --remove sieve ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/rules0000755000000000000000000000031011740577600010247 0ustar #!/usr/bin/make -f # -*- makefile -*- %: dh $@ --with python2 override_dh_install: dh_install cp pysieved.py debian/pysieved/usr/bin/pysieved override_dh_python2: dh_python2 /usr/share/pysieved