pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/py-checkdmarc



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 29 10:08:58 UTC 2026

Modified Files:
        pkgsrc/mail/py-checkdmarc: Makefile distinfo

Log Message:
py-checkdmarc: updated to 5.17.3

5.17.3

Changed

Narrow the advisory SPF record size check to catch only UnicodeError (raised when a record can't be encoded to UTF-8) instead of swallowing every exception, and log the skip at debug level
Replace the remaining broad except Exception handlers across the package with the specific exception types each block can recover from, so unexpected programming errors surface instead of being 
masked. As a result, intentional record-validation errors (e.g. MultipleSPFRTXTRecords, MTASTSRecordInWrongLocation) now propagate as their own types rather than being converted to a generic "record 
not found" error
Modernize type annotations to PEP 604 syntax (X | None and X | Y instead of Optional[X] and Union[X, Y]) throughout the package

Fixed

Declare the supported Python floor with the correct requires-python key (the previous python_requires key is not recognized in a PEP 621 [project] table, so the published metadata advertised no 
minimum and pip would install on end-of-life Python versions where the modern type-alias syntax fails). Also add per-version Python classifiers for 3.10–3.14

5.17.2

Fixed

Discard TXT records with leading whitespace instead of treating them as valid SPF records, since RFC 7208 section 4.5 requires a record to begin with exactly v=spf1

Security

Require cryptography>=48.0.1 to avoid the vulnerable OpenSSL bundled in earlier cryptography wheels


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/mail/py-checkdmarc/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/mail/py-checkdmarc/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/py-checkdmarc/Makefile
diff -u pkgsrc/mail/py-checkdmarc/Makefile:1.33 pkgsrc/mail/py-checkdmarc/Makefile:1.34
--- pkgsrc/mail/py-checkdmarc/Makefile:1.33     Mon Jun 22 12:17:03 2026
+++ pkgsrc/mail/py-checkdmarc/Makefile  Mon Jun 29 10:08:58 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2026/06/22 12:17:03 adam Exp $
+# $NetBSD: Makefile,v 1.34 2026/06/29 10:08:58 adam Exp $
 
-DISTNAME=      checkdmarc-5.17.1
+DISTNAME=      checkdmarc-5.17.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    mail python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/checkdmarc/}

Index: pkgsrc/mail/py-checkdmarc/distinfo
diff -u pkgsrc/mail/py-checkdmarc/distinfo:1.31 pkgsrc/mail/py-checkdmarc/distinfo:1.32
--- pkgsrc/mail/py-checkdmarc/distinfo:1.31     Mon Jun 22 12:17:03 2026
+++ pkgsrc/mail/py-checkdmarc/distinfo  Mon Jun 29 10:08:58 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2026/06/22 12:17:03 adam Exp $
+$NetBSD: distinfo,v 1.32 2026/06/29 10:08:58 adam Exp $
 
-BLAKE2s (checkdmarc-5.17.1.tar.gz) = edb0473465428033337a3b268c3a63cbc9902eeec96299ec086152922a12a93e
-SHA512 (checkdmarc-5.17.1.tar.gz) = 3e3cee5ae7250d79db9030bf8236c115f416f2eb993b480e802e897b92c69e9f8bda8c3a37143c4b53baa26781cce37460db2e862c1c18c1e1da34d55e76bf0c
-Size (checkdmarc-5.17.1.tar.gz) = 65809 bytes
+BLAKE2s (checkdmarc-5.17.3.tar.gz) = 0d684ae3a41e91fa4e55c53b112efa3ea9adae39de49efb6f1ee082e3f93846e
+SHA512 (checkdmarc-5.17.3.tar.gz) = e2c6a06e2c324bda60a5171ed3c635ba885c1d8073431db1791ecea4a4d8bee0620088c273a4474eccb0d2e72792f9e6e164c8eac0d3a4ffca1487eeb7b3f358
+Size (checkdmarc-5.17.3.tar.gz) = 66061 bytes



Home | Main Index | Thread Index | Old Index