14
0
forked from pool/python-dkimpy

Accepting request 791121 from home:mcalabkova:branches:devel:languages:python

- 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

OBS-URL: https://build.opensuse.org/request/show/791121
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dkimpy?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2020-04-03 08:18:06 +00:00
committed by Git OBS Bridge
parent eae7dfeaf0
commit 87da128162
6 changed files with 37 additions and 36 deletions

19
LICENSE
View File

@@ -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.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d7f335e1e901695aba1a2659102147775502ed7d0664f00319357ba4457d6e6
size 83607

3
dkimpy-1.0.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11fc2bd6177a7d016e1148bff8535d0f0c9931e339186b4a58a93a331c9aefc3
size 59670

View File

@@ -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:

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Fri Apr 3 07:55:20 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- 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

View File

@@ -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