libxml2 and libxslt deps are not needed
Search Criteria
Package Details: parsedmarc 8.17.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/parsedmarc.git (read-only, click to copy) |
---|---|
Package Base: | parsedmarc |
Description: | Python package and CLI for parsing aggregate and forensic DMARC reports |
Upstream URL: | https://github.com/domainaware/parsedmarc |
Keywords: | aggregate analyze analyzer cli dmarc forensic parse parsing python report reports rpt tls tlsrpt visualize visualizer |
Licenses: | Apache-2.0 |
Submitter: | flacks |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2018-08-23 21:39 (UTC) |
Last Updated: | 2025-01-13 23:05 (UTC) |
Dependencies (35)
- mailparserAUR
- python (python37AUR, python311AUR, python310AUR)
- python-azure-coreAUR
- python-azure-identityAUR
- python-azure-monitor-ingestionAUR
- python-boto3
- python-dateutil
- python-dnspython (python-dnspython-gitAUR)
- python-elasticsearch-dsl7AUR
- python-elasticsearch7.13AUR
- python-expiringdictAUR
- python-geoip2
- python-google-api-python-client
- python-google-auth
- python-google-auth-oauthlib
- python-imapclientAUR
- python-kafka-ngAUR
- python-lxml
- python-mailsuiteAUR
- python-msgraph-core0.2AUR
- Show 15 more dependencies...
Required by (0)
Sources (2)
micwoj92 commented on 2025-01-13 20:26 (UTC)
dpeukert commented on 2025-01-06 00:35 (UTC)
All dependency related problems should now be fixed, but I haven't got around to fully testing the functionality, let me know if you run into any problems.
dpeukert commented on 2025-01-06 00:30 (UTC)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/parsedmarc
micwoj92 commented on 2023-11-17 22:12 (UTC)
This currently does not run due to old python-elasticsearch version in repos. You'd have to: 1. install this elastic-transport python module (I see no sense in uploading it since it is required when python-elasticsearch will be eventually updated in repos). 2. build 8.11.0 of python-elasticsearch.
I've also changed download to pypi, because upstream has no tags and I find this commit based download bad, that also means no docs and tests.
piater commented on 2022-07-03 18:06 (UTC) (edited on 2022-07-03 18:08 (UTC) by piater)
To fix the bad escape \d at position 7
bug leading to empty reports:
In PKGBUILD
:
- In
depends
, replacedateparser>=...
bydateutil
. - Add
dateutil.patch
tosource
, and30e7d94081110b3e77882f673c6914429b99332adabf806b5a92432ee5a03df019ca3b4c4990573553231b3aefc1d4c778437cb3f9fcbb387e8ae96c0c4ca31d
tosha512sums
.
To PKGBUILD
add:
prepare() {
cd "$srcdir/$pkgname-$_commit"
patch --strip=1 --input=$srcdir/dateutil.patch
}
Add a file dateutil.patch
containing:
diff --unified --recursive --text parsedmarc.orig/parsedmarc/utils.py parsedmarc.new/parsedmarc/utils.py
--- parsedmarc.orig/parsedmarc/utils.py 2020-11-25 15:36:39.000000000 +0100
+++ parsedmarc.new/parsedmarc/utils.py 2022-07-03 18:18:10.559619785 +0200
@@ -3,6 +3,7 @@
import logging
import os
from datetime import datetime
+from datetime import timezone
from datetime import timedelta
from collections import OrderedDict
import tempfile
@@ -17,7 +18,7 @@
import mailbox
import re
-import dateparser
+from dateutil.parser import parse as parse_date
import dns.reversename
import dns.resolver
import dns.exception
@@ -239,12 +240,9 @@
human_timestamp = human_timestamp.replace("-0000", "")
human_timestamp = parenthesis_regex.sub("", human_timestamp)
- settings = {}
- if to_utc:
- settings = {"TO_TIMEZONE": "UTC"}
-
- return dateparser.parse(human_timestamp, settings=settings)
+ dt = parse_date(human_timestamp)
+ return dt.astimezone(timezone.utc) if to_utc else dt
def human_timestamp_to_timestamp(human_timestamp):
android commented on 2021-03-21 02:06 (UTC)
python-codecov is still missing. I just commented it out in the PKGBUILD (in python-mailsuite too) Any idea what the consequences of no python-codecov are?
ashpie commented on 2021-02-02 14:43 (UTC)
python-codecov seems to have been deleted from the AUR. Any idea why? Is there a way to install it from another source?
bjo commented on 2021-01-03 20:15 (UTC)
Feel free to adopt the package :)
thomas_niphba commented on 2021-01-03 16:54 (UTC)
I have created an updated PKGBUILD for version 6.12.0. I would like to share with you.
flacks commented on 2019-09-01 23:39 (UTC) (edited on 2019-09-01 23:40 (UTC) by flacks)
lilmike, I have not tested parsedmarc with Python requirements explicitly marked as lesser-than versions, but we can induce that there are API incompatibilities with the newer libraries. Its not difficult to build the older/newer versions of Python packages not in the AUR - see the ABS, and, in the case of older packages, the respective packages' Git history. In my case, as of this writing, I haven't run into system-wide issues with the older/newer Python libraries.
Pinned Comments
dpeukert commented on 2025-01-06 00:35 (UTC)
All dependency related problems should now be fixed, but I haven't got around to fully testing the functionality, let me know if you run into any problems.
dpeukert commented on 2025-01-06 00:30 (UTC)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/parsedmarc