--- dkimpy-0.5.3.orig/debian/changelog +++ dkimpy-0.5.3/debian/changelog @@ -0,0 +1,157 @@ +dkimpy (0.5.3-1+deb7u1) wheezy; urgency=low + + * Fix Gmail signature verification failures due to improper FWS regular + expression - Thanks to Peter Palfrader (weasel) for the patch + (Closes: #711751) + + -- Scott Kitterman Sun, 09 Jun 2013 23:31:12 -0400 + +dkimpy (0.5.3-1) unstable; urgency=medium + + * Urgency medium for multiple RC bug fixes + * New upstream release: + * Fix header unfolding and body hash calculation errors that cause + correct DKIM signatures to fail to verify in many cases + (Closes: #691663) + * Add minimum key length requirement to prevent validation of signatures + generated with insecure keys (Closes: #691662) + + -- Scott Kitterman Sun, 28 Oct 2012 10:32:13 +0100 + +dkimpy (0.5.2-1) unstable; urgency=low + + * New upstream release + - Change canonicalization defaults to work around issues with different + verification implementations + - Fully fold DKIM-Signature on sign, and ignore FWS in b= value on verify + - Fix hashing problem while signing using sha1 + * Add alternate depends on python3-dnspython for python3-dkim since it will + enter the archive shortly + * Install tests directory, including test data + * Drop obsolete breaks on Lenny dkimproxy + * Fix debian watch to work with package rename and Launchpad changes + * Bump standards version to 3.9.3 without further change + + -- Scott Kitterman Wed, 13 Jun 2012 01:10:28 -0400 + +dkimpy (0.5.1-1) unstable; urgency=low + + * New upstream release + - Rename source to match new upstream name + - Updated debian/copyright + * Remove no longer used quilt patch system artifacts + + -- Scott Kitterman Fri, 03 Feb 2012 19:35:05 -0500 + +pydkim (0.5-1) unstable; urgency=low + + * New upstream release + - Drop debian/patches/adjust-setup.py.patch, essential parts incorporated + upstream + - Remove the no longer existing (and never very useful) dkimsend.sh from + debian/docs + + -- Scott Kitterman Wed, 26 Oct 2011 17:39:45 -0400 + +pydkim (0.4.2-1) unstable; urgency=low + + * New upstream release + - Drop debian/patches/dns-namespace.patch, incorporated upstream + + -- Scott Kitterman Fri, 17 Jun 2011 08:36:05 -0500 + +pydkim (0.4.1-1) unstable; urgency=low + + * New upstream release + - Drop debian/patches/fix-key-record-validation.patch and + relaxed-canonicalization.patch, incorporated upstream + - Update debian/patches/adjust-setup.py.patch to match upstream setup.py + versions + - Add debian/patches/dns-namespace.patch to deconflict dns (python- + dnspython) and dkim/dns.py namespaces so the package works with either + python-dns (DNS) or python-dnspython (dns) + - Drop debian/dkimsign.1 and dkimverify.1, provided in the upstream + tarball now + - Drop debian/manpages, installed using upstream setup.py + - Add depends on python-dns and use python-dnspython as an alternate + - Increase minimum python version to 2.6 (X-P-V) and add X-Python3-Version + >= 3.1 for python3 support + - Add python3-dkim to debian/control for python3 support + - Only python3-dns is available for python3, so use this + - Add python3 to build-depends + - Rework debian/rules to build for python3 + - Update debian/copyright + * Update debian/watch and debian/control Homepage: to point at the new + upstream location + * python-dkim Breaks instead of Conflicts dkimproxy + + -- Scott Kitterman Thu, 16 Jun 2011 15:01:59 -0500 + +pydkim (0.3-6) unstable; urgency=low + + * Rebuild for python transition + * Bump Standards-Version to 3.9.2 without futher change + * Drop Breaks: ${python:Breaks} since it is no longer used + + -- Scott Kitterman Wed, 20 Apr 2011 00:12:53 -0400 + +pydkim (0.3-5) unstable; urgency=low + + * Add debian/patches/relaxed-canonicalization.patch to fix body hash + verification failures due to out of sequence operations. Thanks to + Martin Pool for the patch + * Add debian/patches/fix-key-record-validation.patch to fix incorrect key + record validation failures due to invalid assumptions about public key + record requirements + * Bump standards version to 3.9.1 without further change + * Change XS-Python-Version to X-Python-Version + * Add Breaks: ${python:Breaks} + * Drop XB-Python-Version + + -- Scott Kitterman Mon, 07 Mar 2011 00:09:56 -0500 + +pydkim (0.3-4) unstable; urgency=low + + * Convert from CDBS to Debhelper 7: + - Drop cdbs from build-depends and bump required debhelper verion + - Change compat to 7 + - Change debian/rules to DH 7 tiny --with quilt + - Add quilt to build-depends + - Update README.source for quilt + - Remove autogenerated pycompat + * Convert from python-central to dh_python2 + - Drop python-central from build-depends + - Build --with python2 + - Bump python version requirement to 2.6.5-2~ + * Bump standards version to 3.8.4 without further change + * Remove DM-Upload-Allowed (no longer needed) + * Update debian/dkimsign.1 and debian/dkimverify.1 to specify their license + * Use correct © symbol in debian/copyright + * Remove pointless debian/examples file + * Fix typo in previous debian/changelog entry to make lintian happy + + -- Scott Kitterman Mon, 21 Jun 2010 23:20:36 -0400 + +pydkim (0.3-3) unstable; urgency=low + + * Adjust dkimproxy conflict to << 1.0.1-8.1 due to filename collision + (Closes: #511037) + * Add ${misc:Depends} + + -- Scott Kitterman Mon, 12 Jan 2009 23:17:26 -0500 + +pydkim (0.3-2) unstable; urgency=low + + * Conflict dkimproxy << 1.0.1-8 due to filename collision + (Closes: #509045) + + -- Scott Kitterman Fri, 19 Dec 2008 14:34:10 -0500 + +pydkim (0.3-1) unstable; urgency=low + + * Initial Debian package (Closes: #502264) + * Add adjust-setup.py.patch to correct shebang in setup.py and to + not install dkimsend.sh in /usr/bin (at best it's an example and not + suitable for actual use - will install with docs) + + -- Scott Kitterman Thu, 06 Nov 2008 23:53:21 -0500 --- dkimpy-0.5.3.orig/debian/rules +++ dkimpy-0.5.3/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +%: + dh $@ --with python2,python3 + +override_dh_auto_build: + +override_dh_auto_install: + python $(CURDIR)/setup.py install --no-compile -O0 --install-layout=deb \ + --root $(CURDIR)/debian/python-dkim + mv debian/python-dkim/usr/bin/dkimsign.py debian/python-dkim/usr/bin/dkimsign + mv debian/python-dkim/usr/bin/dkimverify.py debian/python-dkim/usr/bin/dkimverify + python3 $(CURDIR)/setup.py install --no-compile -O0 --install-layout=deb \ + --root $(CURDIR)/debian/python3-dkim + rm -rf $(CURDIR)/debian/python3-dkim/usr/bin + rm -rf $(CURDIR)/debian/python3-dkim/usr/share/man + dh_install + +override_dh_auto_clean: + python setup.py clean -a + python3 setup.py clean -a; \ + done + find . -name \*.pyc -exec rm {} \; + dh_clean --- dkimpy-0.5.3.orig/debian/docs +++ dkimpy-0.5.3/debian/docs @@ -0,0 +1 @@ +README --- dkimpy-0.5.3.orig/debian/watch +++ dkimpy-0.5.3/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://launchpad.net/dkimpy/+download https://launchpad.net/dkimpy/.*/.*/dkimpy-(.*)\.tar\.gz debian uupdate + --- dkimpy-0.5.3.orig/debian/copyright +++ dkimpy-0.5.3/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Scott Kitterman on +Thu, 06 Nov 2008 23:12:29 -0500. + +It was downloaded from http://hewgill.com/pydkim + +Copyright Holders: +Copyright © 2008 Greg Hewgill http://hewgill.com +Copyright © 2011 William Grant +Copyright © 2011,2012 Scott Kitterman + +Every file for which the original upstream specified copyright in the original +has been modified from in this altered version of the software. + +License: + +# This software is provided 'as-is', without any express or implied +# warranty. In no event will the author be held liable for any damages +# arising from the use of this software. +# +# Permission is granted to anyone to use this software for any purpose, +# including commercial applications, and to alter it and redistribute it +# freely, subject to the following restrictions: +# +# 1. The origin of this software must not be misrepresented; you must not +# claim that you wrote the original software. If you use this software +# in a product, an acknowledgment in the product documentation would be +# appreciated but is not required. +# 2. Altered source versions must be plainly marked as such, and must not be +# misrepresented as being the original software. +# 3. This notice may not be removed or altered from any source distribution. +# +# Copyright © 2008 Greg Hewgill http://hewgill.com + +The Debian packaging is © 2008-11, Scott Kitterman and +is licensed under the same terms as pydkim, see above. --- dkimpy-0.5.3.orig/debian/python3-dkim.install +++ dkimpy-0.5.3/debian/python3-dkim.install @@ -0,0 +1 @@ +dkim/tests usr/lib/python3/dist-packages/dkim/ --- dkimpy-0.5.3.orig/debian/python-dkim.install +++ dkimpy-0.5.3/debian/python-dkim.install @@ -0,0 +1 @@ +dkim/tests usr/share/pyshared/dkim/ --- dkimpy-0.5.3.orig/debian/control +++ dkimpy-0.5.3/debian/control @@ -0,0 +1,27 @@ +Source: dkimpy +Section: python +Priority: optional +Maintainer: Scott Kitterman +Uploaders: Debian Python Modules Team +Build-Depends: debhelper (>= 7.3.16), python (>= 2.6.5-2~), python3 +X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.1 +Vcs-Svn: svn://svn.debian.org/python-modules/packages/dkimpy/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/dkimpy/trunk/ +Standards-Version: 3.9.3 +Homepage: http://launchpad.net/dkimpy + +Package: python-dkim +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-dns|python-dnspython +Description: Python module for DKIM signing and verification + Python module that implements DKIM (DomainKeys Identified Mail) email signing + and verification. It also provides helper scripts for command line signing + and verification. + +Package: python3-dkim +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends}, python3-dns|python3-dnspython +Description: Python 3 module for DKIM signing and verification + Python 3 module that implements DKIM (DomainKeys Identified Mail) email signing + and verification. --- dkimpy-0.5.3.orig/debian/compat +++ dkimpy-0.5.3/debian/compat @@ -0,0 +1,2 @@ +7 + --- dkimpy-0.5.3.orig/dkim/__init__.py +++ dkimpy-0.5.3/dkim/__init__.py @@ -118,7 +118,7 @@ lastindex[h] = i return sign_headers -FWS = r'(?:\r?\n\s+)?' +FWS = r'(?:(?:\s*\r?\n)?\s+)?' RE_BTAG = re.compile(r'([;\s]b'+FWS+r'=)(?:'+FWS+r'[a-zA-Z0-9+/=])*(?:\r?\n\Z)?') def hash_headers(hasher, canonicalize_headers, headers, include_headers,