diff --git a/checkdmarc-5.7.8.tar.gz b/checkdmarc-5.7.8.tar.gz deleted file mode 100644 index d100282..0000000 --- a/checkdmarc-5.7.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1affa797ec976165932787ac8b46a291d5a5328e7412bf306011a1e60f6e873e -size 58464 diff --git a/checkdmarc-5.8.1.tar.gz b/checkdmarc-5.8.1.tar.gz new file mode 100644 index 0000000..0827fec --- /dev/null +++ b/checkdmarc-5.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7690b02808ff4c64e17068d848a3f5ff7ce8a8d2cec98a7446b9b82bde8a0ed9 +size 59507 diff --git a/python-checkdmarc.changes b/python-checkdmarc.changes index 20d9a1d..421ce03 100644 --- a/python-checkdmarc.changes +++ b/python-checkdmarc.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Mar 4 16:36:52 UTC 2025 - Martin Hauke + +- Update to version 5.8.1 + * Fix incomplete fix for issue #159 +- Update to version 5.8.0 + * Support ra=, rp= and rr= tags from RFC 6652. + * Do not use static answer positions when checking DNSSEC and + TLSA. +- Update patch: + * skip-network-tests.patch + ------------------------------------------------------------------- Sun Nov 10 10:27:03 UTC 2024 - Martin Hauke diff --git a/python-checkdmarc.spec b/python-checkdmarc.spec index 4b4d5bc..7445ead 100644 --- a/python-checkdmarc.spec +++ b/python-checkdmarc.spec @@ -1,8 +1,8 @@ # # spec file for package python-checkdmarc # -# Copyright (c) 2024 SUSE LLC -# Copyright (c) 2021-2024, Martin Hauke +# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2021-2025, Martin Hauke # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: python-checkdmarc -Version: 5.7.8 +Version: 5.8.1 Release: 0 Summary: A Python module and command line parser for SPF and DMARC records License: Apache-2.0 diff --git a/skip-network-tests.patch b/skip-network-tests.patch index 665c203..b6f724d 100644 --- a/skip-network-tests.patch +++ b/skip-network-tests.patch @@ -1,48 +1,8 @@ diff --git a/tests.py b/tests.py -index 8e58708..65605d4 100755 +index fd22132..b684ecb 100755 --- a/tests.py +++ b/tests.py -@@ -3,6 +3,7 @@ - - """Automated tests""" - -+import os.path - import unittest - from collections import OrderedDict - -@@ -99,6 +100,7 @@ class Test(unittest.TestCase): - - self.assertEqual(len(results["warnings"]), 0) - -+ @unittest.skipUnless(os.path.exists("/etc/resolv.conf"), "no network") - def testSplitSPFRecord(self): - """Split SPF records are parsed properly""" - -@@ -140,6 +142,7 @@ class Test(unittest.TestCase): - domain, - ) - -+ @unittest.skipUnless(os.path.exists("/etc/resolv.conf"), "no network") - def testTooManySPFDNSLookups(self): - """SPF records with > 10 SPF mechanisms that cause DNS lookups raise - SPFTooManyDNSLookups""" -@@ -161,6 +164,7 @@ class Test(unittest.TestCase): - domain, - ) - -+ @unittest.skipUnless(os.path.exists("/etc/resolv.conf"), "no network") - def testTooManySPFVoidDNSLookups(self): - """SPF records with > 2 void DNS lookups""" - -@@ -274,6 +278,7 @@ class Test(unittest.TestCase): - domain, - ) - -+ @unittest.skipUnless(os.path.exists("/etc/resolv.conf"), "no network") - def testSPFMissingMXRecord(self): - """A warning is issued if an SPF record contains a mx mechanism - pointing to a domain that has no MX records""" -@@ -285,6 +290,7 @@ class Test(unittest.TestCase): +@@ -291,6 +291,7 @@ class Test(unittest.TestCase): "{0} does not have any MX records".format(domain), results["warnings"] ) @@ -50,19 +10,3 @@ index 8e58708..65605d4 100755 def testSPFMissingARecord(self): """A warning is issued if an SPF record contains a mx mechanism pointing to a domain that has no A records""" -@@ -296,6 +302,7 @@ class Test(unittest.TestCase): - "cardinalhealth.net does not have any A/AAAA records", results["warnings"] - ) - -+ @unittest.skipUnless(os.path.exists("/etc/resolv.conf"), "no network") - def testDMARCPctLessThan100Warning(self): - """A warning is issued if the DMARC pvt value is less than 100""" - -@@ -347,6 +354,7 @@ class Test(unittest.TestCase): - domain, - ) - -+ @unittest.skipUnless(os.path.exists("/etc/resolv.conf"), "no network") - def testBIMI(self): - """Test BIMI checks""" - domain = "chase.com"