diff --git a/LICENSE b/LICENSE deleted file mode 100644 index d58b300..0000000 --- a/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -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 (c) 2008 Greg Hewgill http://hewgill.com -See individual files for information about modification to these files and -additional copyright information. diff --git a/dkimpy-0.9.3.tar.gz b/dkimpy-0.9.3.tar.gz deleted file mode 100644 index cc5a044..0000000 --- a/dkimpy-0.9.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d7f335e1e901695aba1a2659102147775502ed7d0664f00319357ba4457d6e6 -size 83607 diff --git a/dkimpy-1.0.3.tar.gz b/dkimpy-1.0.3.tar.gz new file mode 100644 index 0000000..7158202 --- /dev/null +++ b/dkimpy-1.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11fc2bd6177a7d016e1148bff8535d0f0c9931e339186b4a58a93a331c9aefc3 +size 59670 diff --git a/no-optional.patch b/no-optional.patch index d10368f..81b1c92 100644 --- a/no-optional.patch +++ b/no-optional.patch @@ -1,10 +1,10 @@ -Index: dkimpy-0.9.3/dkim/__init__.py +Index: dkimpy-1.0.3/dkim/__init__.py =================================================================== ---- dkimpy-0.9.3.orig/dkim/__init__.py -+++ dkimpy-0.9.3/dkim/__init__.py -@@ -38,18 +38,9 @@ import logging - import re +--- dkimpy-1.0.3.orig/dkim/__init__.py ++++ dkimpy-1.0.3/dkim/__init__.py +@@ -40,18 +40,9 @@ import sys import time + import binascii -# only needed for arc -try: diff --git a/python-dkimpy.changes b/python-dkimpy.changes index c5fb444..f1440c5 100644 --- a/python-dkimpy.changes +++ b/python-dkimpy.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Fri Apr 3 07:55:20 UTC 2020 - Marketa Calabkova + +- update to 1.0.3 + * dknewkey: On posix operating systems set file permissions to 600 for + ed25519 private key files (as is already done for RSA) (LP: #1857827) + * Set minimum dnspython version to 1.16 because previous versions can not + support the timeout parameter (LP: #1856546) + * Follow CNAMES when looking up key records when using DNS (pydns) + * Add support for RFC 8460 tlsrpt DKIM signature processing (LP: #1847020) + * Add async support with aiodns for DKIM verification (ARC not supported) + * Add new timeout parameter to enable DNS lookup timeouts to be adjusted + * Add new DKIM.present function to allow applications to test if a DKIM + signature is present without doing validation (LP: #1851141) + * Support signature verification with RSAPublicKey formatted keys + since, although rare, they are RFC 6376 specified (LP: #1851862) + * Drop usage of pymilter Milter.dns in dnsplug since it doesn't support + having a timeout passed to it + * Catch binascii related key format errors (LP: #1854477) + * Ignore unknown service types in key records (LP: #1847020) + * Add LICENSE to MANIFEST.in so it is included in the tarball +- Drop shipped LICENSE file +- Reapplied patch no-optional.patch + ------------------------------------------------------------------- Mon Dec 2 10:47:11 UTC 2019 - pgajdos@suse.com diff --git a/python-dkimpy.spec b/python-dkimpy.spec index 32fbde4..de23878 100644 --- a/python-dkimpy.spec +++ b/python-dkimpy.spec @@ -1,7 +1,7 @@ # # spec file for package python-dkimpy # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,26 +19,25 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-dkimpy -Version: 0.9.3 +Version: 1.0.3 Release: 0 Summary: DKIM (DomainKeys Identified Mail) License: BSD-2-Clause URL: https://launchpad.net/dkimpy Source: https://files.pythonhosted.org/packages/source/d/dkimpy/dkimpy-%{version}.tar.gz -Source99: https://git.launchpad.net/dkimpy/plain/LICENSE Patch0: no-optional.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyNaCl Requires: python-authres -Requires: python-dnspython +Requires: python-dnspython >= 1.16 Requires: python-setuptools BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyNaCl} BuildRequires: %{python_module authres} -BuildRequires: %{python_module dnspython} +BuildRequires: %{python_module dnspython >= 1.16} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -50,10 +49,7 @@ DKIM (DomainKeys Identified Mail) %setup -q -n dkimpy-%{version} %patch0 -p1 -cp %{SOURCE99} . - %build -cp %{SOURCE99} . %python_build %install @@ -64,7 +60,7 @@ cp %{SOURCE99} . %pytest %files %{python_files} -%doc ChangeLog README +%doc ChangeLog README.md %license LICENSE %python3_only %{_bindir}/arcsign %python3_only %{_bindir}/arcverify