--- pyzor-0.5.0.orig/ChangeLog +++ pyzor-0.5.0/ChangeLog @@ -0,0 +1,764 @@ +2003-02-01 05:29 ftobin + + * lib/pyzor/client.py: not a good place to commit, but I need to + get it centralized + +2002-10-24 16:19 ftobin + + * NEWS: note the more graceful handling of some decoding errors + +2002-10-24 16:16 ftobin + + * lib/pyzor/client.py: fix wrong number of arguments problem for + stuff that was using --mbox + + also be more lenient if we get base64 decoding errors + +2002-10-21 17:38 ftobin + + * lib/pyzor/client.py: fail gracefully if we get a message which + invalid multifiles + +2002-10-10 17:40 ftobin + + * scripts/test.sh: use trap to ensure the server is killed + +2002-10-10 17:37 ftobin + + * docs/usage.html: shutdown is removed + +2002-10-08 20:47 ftobin + + * NEWS: update news about new threading, removing shutdown, and + other recent commits + +2002-10-08 20:45 ftobin + + * lib/pyzor/client.py, lib/pyzor/server.py, scripts/test.sh: + removed the shutdown command + +2002-10-08 20:33 ftobin + + * docs/usage.html, lib/pyzor/server.py, scripts/pyzord: re-do + thread-db locking, and remove signal handling USR1 + +2002-10-08 14:48 ftobin + + * scripts/pyzord: open db in fast mode + +2002-10-04 21:55 ftobin + + * lib/pyzor/client.py: fix a bug where the iterable object of + digests returned could have a None (only digests should have been + returned) + +2002-09-23 23:13 ftobin + + * NEWS, lib/pyzor/client.py: use threading instead of an alarm + signal + +2002-09-23 23:13 ftobin + + * lib/pyzor/server.py: remove unused code about ttls and timeouts + on the server side + +2002-09-23 22:29 ftobin + + * NEWS, docs/usage.html, lib/pyzor/client.py: implment Timeout + config option + +2002-09-19 11:04 ftobin + + * scripts/test.sh: clean up tests to use -z + +2002-09-18 21:56 ftobin + + * NEWS, docs/usage.html, scripts/pyzord, scripts/test.sh: * + pyzord no longer daemonizes itself, and now writes + it logging to standard output. + + * The following server config options no longer have + effect: + PidFile, LogFile. + +2002-09-18 21:41 ftobin + + * lib/pyzor/server.py: send a SIGTERM instead of SIGQUIT when + shutting down + +2002-09-17 11:12 ftobin + + * lib/pyzor/__init__.py: trap modglobal_apply so that we for sure + restore the saved stuff + +2002-09-11 21:17 ftobin + + * NEWS, lib/pyzor/__init__.py: upped the timestamp difference + allowed to 5 minutes + +2002-09-08 16:37 ftobin + + * lib/pyzor/client.py: if None is as the digest to send_digest(), + then just don't send it anyplace (don't die!) + +2002-09-08 15:24 ftobin + + * THANKS: thanks to Robert Schiele for pointing out that the + discovery cgi scripts were 404 + +2002-09-07 23:33 ftobin + + * NEWS, docs/usage.html, lib/pyzor/server.py, scripts/pyzord: + handle HUP handling, which reopens the logfile also, fix USR1 + handling + +2002-09-07 23:33 ftobin + + * UPGRADING: note that upgrades are for 0.3.0 and later + +2002-09-07 22:15 ftobin + + * lib/pyzor/client.py: fix small typo + +2002-09-07 22:11 ftobin + + * NEWS: indicate which encodings we support + +2002-09-07 21:57 ftobin + + * lib/pyzor/client.py: emit errors if too many args are given to + commands + +2002-09-07 18:45 ftobin + + * unittests.py, t/atomic, t/atomic.not: make some test inputs + rfc822 messages, and let the unittests take a hard-coded StringIO + instead + +2002-09-07 03:28 ftobin + + * lib/pyzor/client.py: cleanups + +2002-09-07 02:12 ftobin + + * lib/pyzor/client.py: rename pre-digest to predigest + +2002-09-07 02:08 ftobin + + * lib/pyzor/client.py: add predigest to usage msg + +2002-09-07 02:06 ftobin + + * NEWS: rewording + +2002-09-06 21:12 ftobin + + * NEWS, docs/usage.html, lib/pyzor/__init__.py, + lib/pyzor/client.py, scripts/test.in.0, scripts/test.in.mbox, + scripts/test.sh: implement 'predigest' command + +2002-09-05 20:56 ftobin + + * lib/pyzor/client.py: code cleanup and reorganization, mainly of + digesting morass + +2002-09-04 22:17 ftobin + + * lib/pyzor/: __init__.py, client.py, server.py: rearranging of + iterator classes refactored __iter__ method + +2002-09-04 18:41 ftobin + + * lib/pyzor/client.py: change some instance attrs for some classes + from the name 'file' to 'fp divide up the actual digesting stuff + into smaller stuff so that we can later implement printing out + what is actually digested + +2002-09-04 16:34 ftobin + + * NEWS, unittests.py, docs/usage.html, lib/pyzor/__init__.py, + lib/pyzor/client.py: implement the 'digest' command, along with + moving around some classes for clarity. Renamed the PiecesDigest + stuff to just DataDigest because we don't always break down into + pieces (e.g., if dealing with an atomic message) + +2002-09-04 13:55 ftobin + + * lib/pyzor/: __init__.py, server.py: change some 'while 1' to + 'while True' + +2002-09-04 13:35 ftobin + + * lib/pyzor/__init__.py: add comment about how a mutable class var + is not thread-safe + +2002-09-04 00:07 ftobin + + * MANIFEST, t/atomic, t/atomic.not: add atomic test files + +2002-09-04 00:05 ftobin + + * NEWS, lib/pyzor/__init__.py: bump version + +2002-09-04 00:03 ftobin + + * unittests.py, lib/pyzor/__init__.py: write tests and support for + atomicness + +2002-09-03 23:40 ftobin + + * NEWS: note the atomic message concept + +2002-09-03 23:37 ftobin + + * unittests.py, lib/pyzor/__init__.py: implement 'atomic' message + concept where a message is too small to be divided up + +2002-09-02 23:56 ftobin + + * NEWS, lib/pyzor/client.py: insert rfc822BodyCleaner into the + machine + +2002-09-02 23:42 ftobin + + * lib/pyzor/: __init__.py, client.py, server.py: remove needless + copyright notices from the top of each file + +2002-08-22 18:39 ftobin + + * MANIFEST, unittests.py, lib/pyzor/client.py, t/multipart, + t/multipart.expected: implemented rfc822BodyCleaner class (but + haven't integrated it) also added test for it + +2002-08-20 23:18 ftobin + + * lib/pyzor/client.py: rename a procedure from a noun to a verb + +2002-08-20 23:13 ftobin + + * lib/pyzor/client.py: don't restore the SIGALRM handler; it's + useful to keep it set all the time (also changing it each time is + a syscall) + +2002-08-18 22:00 ftobin + + * NEWS: note that normalization removes HTML tags and lines less + than 8 chars + +2002-08-18 21:56 ftobin + + * unittests.py, lib/pyzor/__init__.py: don't hash lines less than a + certain length normalization removes html tags (in any content + type, for simplicity) added tests for normalization + +2002-08-16 16:16 ftobin + + * lib/pyzor/__init__.py: make code self-documenting + +2002-08-16 12:29 ftobin + + * THANKS, lib/pyzor/__init__.py: fix bug where incorrect percentage + offset is given + + Date: Fri, 16 Aug 2002 09:29:22 +0400 (MSD) From: Roman Suzi + Cc: pyzor-users@lists.sourceforge.net Subject: + bug?! + + I've found that the following code always give wrong offset: + + offset = line_offsets[int(perc_offset/100 * len(line_offsets))] + + - this is due to the fact that perc_offset/100 produces 0. I + propose to change it to: + + offset = line_offsets[int(perc_offset * len(line_offsets)/100)] + + or + + offset = line_offsets[int(perc_offset*len(line_offsets)/100.)] + + Sincerely yours, Roman A.Suzi -- - Petrozavodsk - Karelia - + Russia - mailto:rnd@onego.ru - + +2002-08-16 12:28 ftobin + + * NEWS: note that /etc/pyzor is fallback + +2002-08-13 16:54 ftobin + + * THANKS: thanks to Bobby Rose for /etc/pyzor suggestion as a + fallback + +2002-08-13 16:51 ftobin + + * lib/pyzor/__init__.py, lib/pyzor/client.py, scripts/pyzord: 'fall + back' to /etc/pyzor if no HOME - or another way of thinking of + it, /etc/pyzor is config dir unless HOME or --homedir is + specified + +2002-08-09 17:26 ftobin + + * MANIFEST: add unittests.py + +2002-08-09 17:15 ftobin + + * INSTALL: fix typo about chmodding +r on stuff + +2002-08-09 17:14 ftobin + + * README: pointer to the INSTALL doc + +2002-08-09 16:55 ftobin + + * lib/pyzor/__init__.py: bump version + +2002-08-09 16:54 ftobin + + * NEWS: update NEWS concerning how database file stays open + +2002-08-09 16:41 ftobin + + * lib/pyzor/client.py: fix bug where each report or whitelist is + sent to the each server n times, where n is the number of servers + +2002-08-09 16:40 ftobin + + * docs/usage.html: document command output + +2002-07-30 14:00 ftobin + + * scripts/pyzord: chdir to the root dir + +2002-07-27 22:35 ftobin + + * lib/pyzor/client.py: just some refactoring + +2002-07-27 22:13 ftobin + + * lib/pyzor/server.py, scripts/pyzord: open the gdbm once, and keep + it around + +2002-07-12 16:02 ftobin + + * lib/pyzor/server.py: just a little cleanup + +2002-07-04 16:59 ftobin + + * NEWS, lib/pyzor/server.py: include response code in pyzord.log + +2002-07-03 13:49 ftobin + + * scripts/pyzord: redirect stdin and stdout to other filehandles + +2002-07-02 19:01 ftobin + + * INSTALL, MANIFEST, NEWS, UPGRADING: add an UPGRADING file + +2002-07-02 17:37 ftobin + + * INSTALL: a little instruction on how to change perms for bad + installs + +2002-07-02 17:32 ftobin + + * scripts/pyzord: arg, fix typo in what anonymous is allowed to do + +2002-07-02 16:12 ftobin + + * MANIFEST, scripts/.cvsignore, scripts/accounts, + scripts/config.bob, scripts/bob/accounts, scripts/bob/servers: as + files were moved around, update where everything is and such + +2002-07-02 16:09 ftobin + + * docs/usage.html, lib/pyzor/__init__.py, lib/pyzor/client.py, + scripts/access, scripts/pyzord, scripts/test.sh: relative + filesnames in the config are now treated as relative to the + homedir, and use a --homedir option instead of -c + +2002-07-02 14:09 ftobin + + * INSTALL, NEWS, README: change some references of index.html to + usage.html + +2002-07-02 14:01 ftobin + + * docs/usage.html: add an id to the cvsid p + +2002-07-02 13:59 ftobin + + * MANIFEST, setup.py, docs/index.html, docs/usage.html: rename + docs/index.html to docs/usage.html + +2002-07-02 00:19 ftobin + + * NEWS: clarify a bit more on what http digest signing is + +2002-07-01 22:57 ftobin + + * MANIFEST: add a bunch of files that we now use, such as test info + +2002-07-01 22:56 ftobin + + * setup.py: change my email to neverending, and add docs to to list + +2002-07-01 22:55 ftobin + + * docs/index.html: change default for inform-servers to the 0-3-x + stuff + +2002-07-01 22:53 ftobin + + * lib/pyzor/: __init__.py, client.py: inform_url is for 0-3-x + branch specifically + +2002-07-01 22:49 ftobin + + * docs/index.html: fix typo + +2002-07-01 22:38 ftobin + + * INSTALL: cleanup + +2002-07-01 22:34 ftobin + + * NEWS: news is actually for 0.3.0 + +2002-07-01 13:23 ftobin + + * docs/index.html: fix some spelling errors + +2002-06-30 00:52 ftobin + + * docs/index.html: move around cvs tag + +2002-06-30 00:51 ftobin + + * docs/index.html: add comment for CVS tag + +2002-06-30 00:50 ftobin + + * docs/index.html: add docs + +2002-06-29 23:28 ftobin + + * scripts/pyzord: cleanup + +2002-06-29 23:26 ftobin + + * NEWS: add news for 0.4.0 + +2002-06-29 21:20 ftobin + + * lib/pyzor/client.py: if a message is whitelisted anyplace, then + it counts as a zero count everyplace + +2002-06-29 19:14 ftobin + + * lib/pyzor/__init__.py, lib/pyzor/client.py, lib/pyzor/server.py, + scripts/test.sh: implement whitelisting + +2002-06-19 13:41 ftobin + + * lib/pyzor/__init__.py, lib/pyzor/client.py, lib/pyzor/server.py, + scripts/access, scripts/accounts, scripts/passwd, scripts/pyzord, + scripts/test.sh: add 'info' functionality add test config files + that were forgotten + +2002-06-18 12:14 ftobin + + * scripts/config.bob: forgot to commit this + +2002-06-17 13:18 ftobin + + * unittests.py, lib/pyzor/__init__.py, lib/pyzor/client.py, + lib/pyzor/server.py, scripts/config, scripts/pyzord, + scripts/test.sh: implemented shutdown + +2002-06-09 13:35 ftobin + + * lib/pyzor/__init__.py, lib/pyzor/client.py, lib/pyzor/server.py, + scripts/pyzord: bunch of things to get the test script working + + moving docs out of pyzor/__init__.py, need to put them into a + better format + +2002-06-08 19:58 ftobin + + * scripts/: pyzor, pyzord: change the interpreter line, and fix one + namespace issue + +2002-06-07 12:15 ftobin + + * lib/pyzor/: __init__.py, server.py: increase expire time to 3 + months + +2002-06-06 13:31 ftobin + + * lib/pyzor/__init__.py: actually, hard-code the max threadid, + instead of sys.maxint, in case that's too dynamic + +2002-06-06 13:29 ftobin + + * lib/pyzor/__init__.py: comment out some unused classes, and + ThreadId now uses sys.maxint instead of a hard-coded number + +2002-06-05 22:00 ftobin + + * unittests.py, lib/pyzor/__init__.py, lib/pyzor/client.py, + lib/pyzor/server.py, scripts/pyzord: server side: keys, access + control files + + client side: keys, accounts files + + And yummy unittests! + +2002-06-03 12:40 ftobin + + * INSTALL: more information about where/how to get the gdbm stuff + +2002-05-17 16:58 ftobin + + * lib/pyzor/__init__.py, lib/pyzor/client.py, lib/pyzor/server.py, + scripts/pyzord: shove stuff to cvs because my system is getting + flaky + +2002-05-07 23:26 ftobin + + * INSTALL, NEWS, THANKS, lib/pyzor/__init__.py, + lib/pyzor/client.py, lib/pyzor/server.py, scripts/test.sh: major + changes. + +2002-04-29 17:08 ftobin + + * NEWS, THANKS, lib/pyzor/__init__.py, lib/pyzor/client.py, + scripts/test.sh: fixed major bug where the incorrect exit code is + given + +2002-04-22 13:37 ftobin + + * lib/pyzor/__init__.py: workout docs + +2002-04-22 12:39 ftobin + + * lib/pyzor/__init__.py: document logfile + +2002-04-22 11:59 ftobin + + * lib/pyzor/client.py: tweak the output of ping/checks/reports to + use tabs instead of ': ' as a divider + +2002-04-21 20:38 ftobin + + * lib/pyzor/: __init__.py, client.py: if we get an empty file, + don't croak + +2002-04-21 20:17 ftobin + + * NEWS, lib/pyzor/__init__.py, lib/pyzor/client.py, + lib/pyzor/server.py, scripts/pyzord: add lots of documentation, + bump version, and add CleanupAge for server. + +2002-04-21 19:13 ftobin + + * MANIFEST, scripts/.cvsignore: changes to reflect the new files + used + +2002-04-21 19:04 ftobin + + * scripts/test.sh: check for logfile existence + +2002-04-21 18:56 ftobin + + * INSTALL, lib/pyzor/__init__.py, lib/pyzor/client.py, + lib/pyzor/server.py, scripts/config, scripts/pyzord, + scripts/servers, scripts/test.sh: lots of changes, including + logging, multiple servers support, config files, user/auth with + messages + +2002-04-21 18:43 ftobin + + * scripts/.pyzor: remove this old file + +2002-04-20 21:56 ftobin + + * lib/pyzor/__init__.py: Change readyexec filenames, as per + readyexec 0.2.0 + +2002-04-17 00:40 ftobin + + * NEWS: talk about how we talk to multiple servers + +2002-04-16 20:46 ftobin + + * lib/pyzor/__init__.py, lib/pyzor/client.py, scripts/test.sh: able + to contact multiple servers + +2002-04-16 14:32 ftobin + + * NEWS: talk about how we support ReadyExec + +2002-04-16 14:17 ftobin + + * lib/pyzor/__init__.py: docs on how to use with readyexec + +2002-04-16 14:17 ftobin + + * lib/pyzor/server.py: to help xemacs with highlighting, move the + copyright stuff into a comment, instead of docstring + +2002-04-16 14:12 ftobin + + * MANIFEST: add THANKS + +2002-04-16 14:02 ftobin + + * lib/pyzor/client.py, scripts/pyzor: move most code to client.py, + so readyexec can be used + +2002-04-16 14:01 ftobin + + * scripts/test.in.mbox: add forgotten file + +2002-04-16 14:01 ftobin + + * scripts/test.sh: more graceful handling of errors + +2002-04-16 12:52 ftobin + + * INSTALL: where to find the gdbm tar.gz stuff + +2002-04-16 12:44 ftobin + + * lib/pyzor/.cvsignore: cvsignore to match *.pyc + +2002-04-16 12:43 ftobin + + * INSTALL: direction on how to test for gdbm + +2002-04-16 12:43 ftobin + + * scripts/test.in.mbox: forgot to add this earlier + +2002-04-16 11:56 ftobin + + * lib/pyzor/__init__.py: fix typo + + caught by Rick Macdougall + +2002-04-16 11:55 ftobin + + * THANKS: add THANKS file. Rick Macdougall is first entry. + +2002-04-15 19:51 ftobin + + * setup.py: wasn't reading the lib dir correctly + +2002-04-15 19:48 ftobin + + * NEWS: note that no changes were made on the server end + +2002-04-15 19:46 ftobin + + * MANIFEST, NEWS, lib/pyzor/__init__.py, scripts/pyzor, + scripts/test.in.0, scripts/test.sh: now report by default expects + a normal rfc822 message. report now requires --mbox for + reporting entire mailboxes. + + bumped version + +2002-04-15 12:43 ftobin + + * .cvsignore, scripts/.cvsignore: seems like cvsignore files are + nice + +2002-04-14 18:23 ftobin + + * lib/pyzor/server.py, scripts/pyzor, scripts/test.sh: make sure + the database exists before querying it + +2002-04-14 18:08 ftobin + + * lib/pyzor/client.py: typo + +2002-04-14 18:02 ftobin + + * lib/pyzor/client.py: fix ip:port split problem + +2002-04-14 17:37 ftobin + + * MANIFEST: add testing files + +2002-04-14 17:36 ftobin + + * NEWS: add the NEWS + +2002-04-14 17:36 ftobin + + * README: add the README + +2002-04-14 17:33 ftobin + + * lib/pyzor/__init__.py: document the USR1 signal + +2002-04-14 17:30 ftobin + + * lib/pyzor/server.py: remove an erroneous debuging call + +2002-04-14 17:24 ftobin + + * lib/pyzor/__init__.py, scripts/pyzor: doc fixes, and exit false + on timeout + +2002-04-14 17:17 ftobin + + * scripts/pyzor: pyzor client has non-seekable input + +2002-04-14 17:10 ftobin + + * MANIFEST: add setup.py + +2002-04-14 17:04 ftobin + + * scripts/: .pyzor, test.in.0, test.sh: add some testing + +2002-04-14 16:48 ftobin + + * INSTALL: note that python gdbm module is required + +2002-04-14 16:44 ftobin + + * INSTALL: add this wayward file + +2002-04-14 16:33 ftobin + + * lib/pyzor/server.py, scripts/pyzord: add forking for server, and + fix some debugging + +2002-04-14 15:52 ftobin + + * lib/pyzor/__init__.py, lib/pyzor/client.py, lib/pyzor/server.py, + scripts/pyzor, scripts/pyzord: lots of documentation + +2002-04-14 15:19 ftobin + + * lib/pyzor/client.py, lib/pyzor/server.py, scripts/pyzor, + scripts/pyzord: work on args-handling + +2002-04-14 10:19 ftobin + + * MANIFEST, setup.py, lib/pyzor/__init__.py, lib/pyzor/client.py, + lib/pyzor/server.py: add header information and some distribution + files + +2002-04-14 10:00 ftobin + + * COPYING, lib/pyzor/__init__.py, lib/pyzor/client.py, + lib/pyzor/server.py, scripts/pyzor, scripts/pyzord: Initial + revision + +2002-04-14 10:00 ftobin + + * COPYING, lib/pyzor/__init__.py, lib/pyzor/client.py, + lib/pyzor/server.py, scripts/pyzor, scripts/pyzord: import + --- pyzor-0.5.0.orig/debian/changelog +++ pyzor-0.5.0/debian/changelog @@ -0,0 +1,243 @@ +pyzor (1:0.5.0-0ubuntu2) karmic; urgency=low + + * debian/rules: Add simple-patchsys support. + * Add 01-python26_warnings.patch to fix Python 2.6 DeprecationWarning due to + the use of deprecated sha module (LP: #394775). + * Bump Standards, no change required. + + -- Alessio Treglia Sat, 01 Aug 2009 06:29:35 +0200 + +pyzor (1:0.5.0-0ubuntu1) karmic; urgency=low + + * New upstream release. + * debian/control: + - Bump-up debhelper, cdbs, python-dev, python-support build-dependencies. + - Bump-up Standards-Version. + - Set Homepage as field of the source package. + - Improve long description to make lintian happy. + - Add ${misc:Depends} on binary package's Depends field. + * debian/{control,rules}: + - Drop dpatch support. + * Drop all patches in debian/patches, merged by upstream. + * debian/rules: + - Use --install-layout=deb to set the right installation path (Python 2.6 + transition). + * Add debian/pyversions, build with Python >= 2.5 + * Drop manpages, adjust debian/pyzor.manpages. + * debian/copyright: + - Fix small typo. + + -- Alessio Treglia Wed, 20 May 2009 21:19:08 +0200 + +pyzor (1:0.4.0+cvs20030201-8) unstable; urgency=low + + * QA upload. + * Defined do_mbox in client.py for predigest function (Closes: #412658). + * Fixed broken copyright. + + -- Nico Golde Sun, 22 Apr 2007 20:22:54 +0200 + +pyzor (1:0.4.0+cvs20030201-7) unstable; urgency=low + + * QA upload. + * Set maintainer to QA group. + * Adjusted Homepage tag. + * Conformed to new python policy (Closes: 416215). + * Changed versioned dependency for python-support to >= 0.5.3 + like described in the wiki and moved it to Build-Depends. + + -- Nico Golde Wed, 11 Apr 2007 15:30:00 +0200 + +pyzor (1:0.4.0+cvs20030201-6.1) unstable; urgency=low + + * Non-maintainer upload. + + [ Ana Beatriz Guerrero Lopez ] + * Update package to the last python policy (Closes: #380923). + * Bumped compat to 5. + * Bumped Standards-Version to 3.7.2, no changes required. + + [ Pierre Habouzit ] + * Upload ana's patch. + + -- Pierre Habouzit Mon, 4 Sep 2006 18:56:58 +0200 + +pyzor (1:0.4.0+cvs20030201-6) unstable; urgency=low + + * Change the install location of the files from + /usr/lib/python2.4/site-packages/ to + /usr/lib/site-python/ because sys.path might not + include the former (Closes: #347678) + * Updated standards version + * Updated watch to version 3 format, in case upsteam + ever releases a new version. + * Escaped hyphens in the man pages. + + -- Christopher Sacca Thu, 12 Jan 2006 00:38:18 -0500 + +pyzor (1:0.4.0+cvs20030201-5) unstable; urgency=low + + * Cleaned up all the patches so that they're more condolidated + and apply cleaner + * Updated python deps to include both 2.3 and 2.4 + * Tracked down the last reference to FileDigestor in client.py + that caused an error (Closes: #335096) + * Added patches from the BTS that were long overdue to be + incorperated. These patches help handle unknown encoding + types and deal with internal short comings in the mime + decryption (Closes: #309469, #324682) + According to the SpamAssassin BTS, these patches should + also solve the weird "internal error" issue + (Closes: #335424) + + -- Christopher Sacca Tue, 10 Jan 2006 02:33:21 -0500 + +pyzor (1:0.4.0+cvs20030201-4) unstable; urgency=low + + * Added some more error catching to deal with mime-types that + mimetools doesn't support (binary), or invalid mime-types (things + that contain ;'s) (Closes: #306407) + + -- Christopher Sacca Tue, 26 Apr 2005 11:52:21 -0400 + +pyzor (1:0.4.0+cvs20030201-3) unstable; urgency=medium + + * Added --mbox to check and info commands and updated man page + * Reverted from threading code to the signal code to stop pyzor from hanging + on a TimeoutError (Closes: #301160) + * Updated watch file so that it won't just timeout + * Added a --log option to log stderr and debug to a file + (pyzor_home/pyzor.log) + + -- Christopher Sacca Tue, 11 Apr 2005 09:41:00 -0400 + +pyzor (1:0.4.0+cvs20030201-2) unstable; urgency=low + + * Cleaned up some of the changes I made, making them dpatchs + * Patched getopt section in client to catch errors and display help + correctly (Closes: #300695) + + -- Christopher Sacca Tue, 22 Mar 2005 11:04:28 -0500 + +pyzor (1:0.4.0+cvs20030201-1) unstable; urgency=low + + * New maintainer (Closes: #297922) + * Updated man pages to current documentation + * Documentation (pyzord.1) now clearly states that pyzord does not + daemonize itself (Closes: #263900) + * Caught IOErrors and propmts user to use correct syntax for stdin + (Closes: #295852) + + -- Christopher Sacca Wed, 16 Mar 2005 12:54:45 -0500 + +pyzor (1:0.4.0-1) unstable; urgency=low + + * Fix the version number with an epoch instead of the 0.4.0.0 hack + * orphaning the package + + -- Bastian Kleineidam Thu, 3 Mar 2005 15:51:55 +0100 + +pyzor (0.4.0.0-9) unstable; urgency=low + + * added debian/watch file + * catch TypeError on bad encoded multipart mails (Closes: #262565) + * use cdbs for debian/rules + + -- Bastian Kleineidam Wed, 28 Jul 2004 16:30:21 +0200 + +pyzor (0.4.0.0-8) unstable; urgency=low + + * Ignore wrong boundaries in multipart mails (Closes: #249438) + + -- Bastian Kleineidam Thu, 3 Jun 2004 18:22:26 +0200 + +pyzor (0.4.0.0-7) unstable; urgency=low + + * install more of the upstream documentation; thanks Grant Bowman for + pointing this out (Closes: #234170) + + -- Bastian Kleineidam Sun, 22 Feb 2004 13:28:43 +0100 + +pyzor (0.4.0.0-6) unstable; urgency=low + + * add python-gdbm to depends (Closes: #225965) + + -- Bastian Kleineidam Sat, 3 Jan 2004 22:33:59 +0100 + +pyzor (0.4.0.0-5) unstable; urgency=low + + * use dpatch for applied patches: + - 01_continue_on_bad_digest + if digest could not be calculated, continue with next digest + - 02_catch_encoding_errors + catch errors while decoding multipart mime files without end + boundary tag (Closes: #178039) (Closes: #190230) + - 03_set_umask + set proper umask 0077 for newly generated files + * Standards version 3.6.1 + + -- Bastian Kleineidam Tue, 14 Oct 2003 19:05:42 +0200 + +pyzor (0.4.0.0-4) unstable; urgency=high + + * Set umask 0077 in commandline scripts "pyzor" and "pyzord" to ensure + proper file permission on create. (Closes: #207002) + * This is a security issue, set urgency to high. + + -- Bastian Kleineidam Mon, 25 Aug 2003 13:17:47 +0200 + +pyzor (0.4.0.0-3) unstable; urgency=low + + * use and require Python 2.3 + * Standards version 3.6.0, no changes required + * use dh_python + * added README.Debian suggesting the discover command + + -- Bastian Kleineidam Mon, 11 Aug 2003 16:30:47 +0200 + +pyzor (0.4.0.0-2) unstable; urgency=low + + * depend on python2.2 to ease installation in woody (Closes: #184914) + * use debian/compat instead of DH_COMPAT + * remove unnecessary calls to setup.py + + -- Bastian Kleineidam Sun, 16 Mar 2003 12:43:48 +0100 + +pyzor (0.4.0.0-1) unstable; urgency=low + + * make non-native package, generating a orig.tar.gz from the .tar.bz2 + source (Closes: #182686) + * depend on debhelper >= 4 + + -- Bastian Kleineidam Thu, 27 Feb 2003 13:53:09 +0100 + +pyzor (0.4.0-2) unstable; urgency=low + + * Standards version 3.5.8.0 + * Refer to /usr/share/common-licenses/GPL + * use DH_COMPAT=4 + * Fix crash on check command when content encoding is unknown + * Fix crash on check and info command when digest is None + + -- Bastian Kleineidam Sun, 29 Dec 2002 00:27:46 +0100 + +pyzor (0.4.0-1) unstable; urgency=low + + * Standards version 3.5.7.1 + * First upload, my new key is in the keyring. wheeeee (Closes: #155318) + * New upstream release. + + -- Bastian Kleineidam Thu, 7 Nov 2002 21:36:15 +0100 + +pyzor (0.3.1-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam Sat, 10 Aug 2002 10:56:06 +0200 + +pyzor (0.3.0-1) unstable; urgency=low + + * Initial packaging + + -- Bastian Kleineidam Sun, 23 Jun 2002 23:43:51 +0200 + --- pyzor-0.5.0.orig/debian/README.Debian +++ pyzor-0.5.0/debian/README.Debian @@ -0,0 +1,6 @@ +Before using pyzor the first time, you should run "pyzor discover" to +store public server IPs in the server configuration file, which is +usually located at $HOME/.pyzor/servers . + + +Bastian Kleineidam , 25 August 2003 --- pyzor-0.5.0.orig/debian/control +++ pyzor-0.5.0/debian/control @@ -0,0 +1,24 @@ +Source: pyzor +Section: mail +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian QA Group +Standards-Version: 3.8.2 +Build-Depends: debhelper (>= 5.0.38), cdbs (>= 0.4.49), python-dev (>= 2.6.1-0ubuntu2), python-support (>= 0.6.4) +Homepage: http://pyzor.sourceforge.net/ + +Package: pyzor +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-gdbm +Description: spam-catcher using a collaborative filtering network + Pyzor is a collaborative, networked system to detect and block spam using + identifying digests of messages. + . + Pyzor initially started out to be merely a Python implementation of Razor, + but due to the protocol and the fact that Razor's server is not Open Source + or software libre, Frank Tobin decided to implement Pyzor with a new + protocol and release the entire system as Open Source and software libre. + . + Since the entire system is released under the GPL, people are free to host + their own independent servers. + Server peering is planned for a future release. --- pyzor-0.5.0.orig/debian/pyversions +++ pyzor-0.5.0/debian/pyversions @@ -0,0 +1 @@ +2.5- --- pyzor-0.5.0.orig/debian/watch +++ pyzor-0.5.0/debian/watch @@ -0,0 +1,3 @@ +# watch control file for uscan +version=3 +http://sf.net/pyzor/pyzor-([\d+\.]+|\d+)\.tar\.bz2 debian uupdate --- pyzor-0.5.0.orig/debian/compat +++ pyzor-0.5.0/debian/compat @@ -0,0 +1 @@ +5 --- pyzor-0.5.0.orig/debian/pyzor.manpages +++ pyzor-0.5.0/debian/pyzor.manpages @@ -0,0 +1,2 @@ +docs/pyzor.1 +docs/pyzord.1 --- pyzor-0.5.0.orig/debian/pycompat +++ pyzor-0.5.0/debian/pycompat @@ -0,0 +1 @@ +2 --- pyzor-0.5.0.orig/debian/copyright +++ pyzor-0.5.0/debian/copyright @@ -0,0 +1,25 @@ +This is Pyzor, originally written by Frank Tobin + +The original source can always be found at: http://pyzor.sourceforge.net/ + +Upstream Author: Frank J. Tobin + +Copyright: (C) 2002 Frank J. Tobin + +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; version 2 dated June, 1991. + + 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. + +See /usr/share/common-licenses/GPL-2 for more information. --- pyzor-0.5.0.orig/debian/rules +++ pyzor-0.5.0/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +DEB_PYTHON_SYSTEM=pysupport + +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +BASE := $(CURDIR)/debian/pyzor +DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0 --install-layout=deb + +binary-indep-post-install/pyzor:: + # fix python interpreter + cat scripts/pyzor | sed 's@#!/usr/bin/python2@#!/usr/bin/python@' > $(BASE)/usr/bin/pyzor + cat scripts/pyzord | sed 's@#!/usr/bin/python2@#!/usr/bin/python@' > $(BASE)/usr/bin/pyzord + rm -f lib/pyzor/*.pyc lib/pyzor/*.pyo + +clean:: + rm -f lib/pyzor/*.pyc lib/pyzor/*.pyo + +binary-install/pyzor:: + dh_pysupport -p$(cdbs_curpkg) + --- pyzor-0.5.0.orig/debian/patches/01-python26_warnings.patch +++ pyzor-0.5.0/debian/patches/01-python26_warnings.patch @@ -0,0 +1,89 @@ +# Description: Fix python2.6 deprecation warnings +# Origin: Ubuntu +# Author: Alessio Treglia +# Bug-Ubuntu: https://bugs.launchpad.net/bugs/394775 +diff -Nur -x '*.orig' -x '*~' pyzor-0.5.0/lib/pyzor/client.py pyzor-0.5.0.new/lib/pyzor/client.py +--- pyzor-0.5.0/lib/pyzor/client.py 2009-04-29 22:53:50.000000000 +0200 ++++ pyzor-0.5.0.new/lib/pyzor/client.py 2009-08-01 12:27:55.749263645 +0200 +@@ -10,7 +10,7 @@ + import tempfile + import mimetools + import multifile +-import sha ++import hashlib + + import pyzor + from pyzor import * +@@ -402,12 +402,12 @@ + del p2 + + saltfile = open(randfile) +- salt = saltfile.read(sha.digest_size) ++ salt = saltfile.read(hashlib.sha1().digest_size) + del saltfile + +- salt_digest = sha.new(salt) ++ salt_digest = hashlib.sha1(salt) + +- pass_digest = sha.new() ++ pass_digest = hashlib.sha1() + pass_digest.update(salt_digest.digest()) + pass_digest.update(p1) + sys.stdout.write("salt,key:\n") +@@ -498,7 +498,7 @@ + if len(offsets) == 0: + return + +- self._digest = sha.new() ++ self._digest = hashlib.sha1() + + if len(offsets) <= self.atomic_num_lines: + self.handle_atomic(fp) +diff -Nur -x '*.orig' -x '*~' pyzor-0.5.0/lib/pyzor/__init__.py pyzor-0.5.0.new/lib/pyzor/__init__.py +--- pyzor-0.5.0/lib/pyzor/__init__.py 2009-04-29 22:53:50.000000000 +0200 ++++ pyzor-0.5.0.new/lib/pyzor/__init__.py 2009-08-01 12:28:20.268413580 +0200 +@@ -8,7 +8,7 @@ + import os.path + import re + import sys +-import sha ++import hashlib + import tempfile + import random + import ConfigParser +@@ -114,7 +114,7 @@ + + class DataDigest(str): + # hex output doubles digest size +- value_size = sha.digest_size * 2 ++ value_size = hashlib.sha1().digest_size * 2 + + def __init__(self, value): + if len(value) != self.value_size: +@@ -285,7 +285,7 @@ + """returns a digest object""" + typecheck(msg, Message) + +- return sha.new(str(msg)) ++ return hashlib.sha1(str(msg)) + + hash_msg = staticmethod(hash_msg) + +@@ -295,7 +295,7 @@ + typecheck(key, long) + typecheck(user, Username) + +- return sha.new("%s:%x" % (Username, key)).hexdigest().lower() ++ return hashlib.sha1("%s:%x" % (Username, key)).hexdigest().lower() + + hash_key = staticmethod(hash_key) + +@@ -316,7 +316,7 @@ + + h_msg = self.hash_msg(msg) + +- return sha.new("%s:%d:%s" % (h_msg.digest(), ts, hashed_key)).hexdigest().lower() ++ return hashlib.sha1("%s:%d:%s" % (h_msg.digest(), ts, hashed_key)).hexdigest().lower() + + sign_msg = classmethod(sign_msg) +