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: Wed Feb 25 13:41:49 UTC 2026
Modified Files:
pkgsrc/mail/py-checkdmarc: Makefile distinfo
Log Message:
py-checkdmarc: updated to 5.14.1
5.14.1
Fixes
Make the DMARC p tag required again until DMARCbis is released with an RFC number.
5.14.0
DMARCbis changes
New tags: np (non-existent subdomain policy), psd (PSD flag), t (test mode) with descriptions, defaults, and validation
Removed tag warnings: pct, rf, ri descriptions appended with "Removed in DMARCbis." and emit warnings when explicitly present in a record
Optional p tag: Missing p now produces a warning and defaults to none instead of raising an error
"The p tag is optional in DMARCbis, but is required in older versions of DMARC."
DNS tree walk: query_dmarc_record replaces PSL-based get_base_domain lookup with the DMARCbis tree walk algorithm (walks parent domains one label at a time, with 8-label query limit optimization)
Bug fixes
dmarc.py — get_dmarc_tag_description: allowed_values was always {} — never populated from dmarc_tags[tag]["values"], making value-specific descriptions dead code
dmarc.py — _query_dmarc_record: f"The domain {0} does not exist.".format(domain) mixed f-string with .format(), producing "The domain 0 does not exist." regardless of input
mta_sts.py — parse_mta_sts_policy: 4 missing raise keywords — exceptions for duplicate keys, invalid version, invalid mode, and non-integer max_age were instantiated but never raised, silently
accepting invalid policies. Also fixed the duplicate key detection which incorrectly used the pre-populated parsed_policy dict (where defaults like max_age: 0 were already present), replaced with a
seen_keys set.
smtp_tls_reporting.py — parse_smtp_tls_reporting_record: Missing raise keyword — SMTPTLSReportingSyntaxError for a missing required rua tag was instantiated but never raised, silently allowing
records without the required tag.
Tests
92 new unit tests (153 total, up from 61) providing comprehensive coverage across all modules. Overall project test coverage improved from 45% to 58%.
dmarc.py (60% → 82%): Tag descriptions, syntax errors, duplicate/invalid tags, pct edge cases, parked domain warnings, fo/rf/sp tag warnings, report URI parsing, record queries, DNS tree walk,
check_dmarc
mta_sts.py (32% → 71%): Record/policy parsing, duplicate keys, invalid version/mode/max_age, missing keys, mx pattern matching
smtp_tls_reporting.py (38% → 69%): Record parsing, tag descriptions, invalid/duplicate tags, missing rua, HTTPS URIs
soa.py (43% → 89%): soa_rname_to_email, parse_soa_string, check_soa
__init__.py (21% → 54%): results_to_json, results_to_csv_rows, check_ns
spf.py (73% → 77%): query_spf_record, check_spf, parked domains, redirect macros, all mechanism variants
dnssec.py (16% → 28%): test_dnssec (mocked), DNSKEY cache
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/mail/py-checkdmarc/Makefile
cvs rdiff -u -r1.26 -r1.27 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.28 pkgsrc/mail/py-checkdmarc/Makefile:1.29
--- pkgsrc/mail/py-checkdmarc/Makefile:1.28 Mon Jan 26 20:17:25 2026
+++ pkgsrc/mail/py-checkdmarc/Makefile Wed Feb 25 13:41:49 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2026/01/26 20:17:25 adam Exp $
+# $NetBSD: Makefile,v 1.29 2026/02/25 13:41:49 adam Exp $
-DISTNAME= checkdmarc-5.13.3
+DISTNAME= checkdmarc-5.14.1
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.26 pkgsrc/mail/py-checkdmarc/distinfo:1.27
--- pkgsrc/mail/py-checkdmarc/distinfo:1.26 Mon Jan 26 20:17:25 2026
+++ pkgsrc/mail/py-checkdmarc/distinfo Wed Feb 25 13:41:49 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2026/01/26 20:17:25 adam Exp $
+$NetBSD: distinfo,v 1.27 2026/02/25 13:41:49 adam Exp $
-BLAKE2s (checkdmarc-5.13.3.tar.gz) = 9b3a1b6625448b899fa8e6b216f732f5c65196304462b4fd108eb64f652ba8f2
-SHA512 (checkdmarc-5.13.3.tar.gz) = cbac46d2a9d02e982cc139b20efdc0394816052e8bd225bdff7211e99965cd14e384c14d6558aea6c75b8557cce44768fa3760200177958767af8dada8f6aafc
-Size (checkdmarc-5.13.3.tar.gz) = 61990 bytes
+BLAKE2s (checkdmarc-5.14.1.tar.gz) = d573de51d259d685da037cf9c85b45e0e39750e2f69262ea8bfc530531488f5d
+SHA512 (checkdmarc-5.14.1.tar.gz) = 9b548dc592df822553a8638f7465d90b00520732fe27027dffd06be92f224b0470a6fd64fb300b5ec1d9fffea29b6dac8137d8ddf0dd827a998cfa95d77475c2
+Size (checkdmarc-5.14.1.tar.gz) = 63286 bytes
Home |
Main Index |
Thread Index |
Old Index