pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/amavisd-new update package to version 2.12.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/979c6e603ab1
branches: trunk
changeset: 385411:979c6e603ab1
user: spz <spz%pkgsrc.org@localhost>
date: Sat Sep 17 09:26:12 2022 +0000
description:
update package to version 2.12.2
It's the successor to amavisd-new both in sources and in versioning,
but strictly speaking it's now "amavis". I kept the package name to
make it easier to update existing installations.
Upstream release notes:
October 13, 2021
amavis-2.12.2 release notes
BUG FIXES
- Allow $timestamp_fmt_mysql to be used with the DBD::MariaDB driver.
Reported by Marcel Evenson.
Issue: https://gitlab.com/amavis/amavis/issues/79
MR: https://gitlab.com/amavis/amavis/merge_requests/78
- Resolve utf8mb4 problems when using DBD-MariaDB.
Reported by Marcel Evenson.
Issue: https://gitlab.com/amavis/amavis/issues/67
MR: https://gitlab.com/amavis/amavis/merge_requests/80
- Set correct originating flag when using milter/AM.PDP without policy banks.
Reported by Henrik K.
Issue: https://gitlab.com/amavis/amavis/issues/61
MR: https://gitlab.com/amavis/amavis/merge_requests/81
- Resolve crash on reload with insufficient permissions.
Amavis now tests whether it is able read and evaluate its
configuration files with dropped privileges.
In case it cannot, amavis fails to start and refuses to reload.
Reported by Michael Orlitzky.
Suggestions by Ralph Seichter and Michael Orlitzky.
Issue: https://gitlab.com/amavis/amavis/issues/10
MR: https://gitlab.com/amavis/amavis/merge_requests/74
MR: https://gitlab.com/amavis/amavis/merge_requests/75
- Resolve SSL client connection hangups with broken pipe
Reported by @kolbma.
Issue: https://gitlab.com/amavis/amavis/issues/73
MR: https://gitlab.com/amavis/amavis/merge_requests/71
---------------------------------------------------------------------------
November 13, 2020
amavis-2.12.1 release notes
BUG FIXES
- Generate DKIM record comment line including the 's=' (selector) tag
instead of an 'i=' (identifier) tag when using "amavisd showkeys".
Reported by Juan Orti Alcaine.
Issue: https://gitlab.com/amavis/amavis/issues/63
MR: https://gitlab.com/amavis/amavis/merge_requests/41
- Make sure generated Authentication-Results follow RFC specification.
MR: https://gitlab.com/amavis/amavis/merge_requests/57
- Prevent re-encoding of notification templates.
Fixed by Henrik Krohns and Michael Weiser.
Issue: https://gitlab.com/amavis/amavis/issues/62
MR: https://gitlab.com/amavis/amavis/merge_requests/40
- Compare inode numbers as strings.
Reported and implemented by Mark Martinec.
Issue: https://gitlab.com/amavis/amavis/issues/48
MR: https://gitlab.com/amavis/amavis/merge_requests/21
- Resolve MySQL invalid utf8mb4 clause.
Reported by Henrik Krohns.
Issue: https://gitlab.com/amavis/amavis/issues/33
MR: https://gitlab.com/amavis/amavis/merge_requests/14
---------------------------------------------------------------------------
July 25, 2019
amavis-2.12.0 release notes
This software is renamed from amavisd-new to amavis.
NEW FEATURES
- Introduce Rspamd client extension
With this extension, Amavis can use Rspamd either running on the same
server or remotely. Connections are made using HTTP/HTTPS depending on
configuration, the latter requiring a HTTPS-capable proxy (like NGINX or
Apache) for Rspamd, which does not natively support HTTPS. Basic
authentication with name/password pairs is also available.
Implemented by Ralph Seichter.
MR: https://gitlab.com/amavis/amavis/merge_requests/11
BUG FIXES
- Treat "not an OLE file" as a successful result
Amavis supports calling the ripOLE program to extract embedded objects
from Microsoft OLE documents. However, not all Microsoft documents
contain said objects, and the underlying file format changes when they
do. Since Amavis can't tell the difference, it passes everything to
ripOLE unconditionally. Amavis now treats the "not an OLE file" error
code of ripOLE as a successful result, proceeds normally and scans the
file as a whole.
Fixed by Michael Orlitzky.
MR: https://gitlab.com/amavis/amavis/merge_requests/9
- Fix unix socket path extraction that has prevented a socket based
policy bank to be loaded;
Fixed by Boris Gulay.
MR: https://gitlab.com/amavis/amavis/merge_requests/2
MR: https://gitlab.com/amavis/amavis/merge_requests/19
- Fix DKIM signing for outbound messages.
Fixed by Ralph Seichter.
MR: https://gitlab.com/amavis/amavis/merge_requests/1
- Fix unescaped left brace regex warning in run_av() subroutine.
Fixed by Ralph Seichter.
MR: https://gitlab.com/amavis/amavis/merge_requests/10
Issue: https://gitlab.com/amavis/amavis/issues/31
- Mention default value for $myprogram_name in minimal amavisd.conf.
MR: https://gitlab.com/amavis/amavis/merge_requests/12
Issue: https://gitlab.com/amavis/amavis/issues/36
diffstat:
mail/amavisd-new/Makefile | 28 ++++++++++++----------------
mail/amavisd-new/PLIST | 3 ++-
mail/amavisd-new/distinfo | 11 +++++------
mail/amavisd-new/patches/patch-aa | 12 ++++++------
mail/amavisd-new/patches/patch-amavisd | 15 ---------------
5 files changed, 25 insertions(+), 44 deletions(-)
diffs (134 lines):
diff -r b83fc015d7c0 -r 979c6e603ab1 mail/amavisd-new/Makefile
--- a/mail/amavisd-new/Makefile Sat Sep 17 08:56:42 2022 +0000
+++ b/mail/amavisd-new/Makefile Sat Sep 17 09:26:12 2022 +0000
@@ -1,24 +1,20 @@
-# $NetBSD: Makefile,v 1.31 2022/06/28 11:34:16 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2022/09/17 09:26:12 spz Exp $
-DISTNAME= amavisd-new-${VERSION}${PATCHLEVEL}
-PKGNAME= amavisd-new-${VERSION}${PATCHLEVEL:S/-//}
-PKGREVISION= 4
+# pkgname kept as amavisd-new even though that migrated to be amavis again
+PKGNAME= amavisd-new-${VERSION}
+DISTNAME= amavis-${GITLAB_TAG}
+VERSION= 2.12.2
+
CATEGORIES= mail security
-MASTER_SITES= https://www.ijs.si/software/amavisd/
-MASTER_SITES+= http://mirrors.catpipe.net/amavisd-new/
-MASTER_SITES+= http://mirror.mainloop.se/amavisd/
-MASTER_SITES+= http://mirror.cedratnet.com/amavisd-new/
-MASTER_SITES+= http://mirror.omroep.nl/amavisd-new/
-EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= ${MASTER_SITE_GITLAB:=amavis/}
+GITLAB_PROJECT= amavis
+GITLAB_TAG= v${VERSION}
MAINTAINER= spz%NetBSD.org@localhost
-HOMEPAGE= https://www.ijs.si/software/amavisd/
+HOMEPAGE= https://www.amavis.org/
COMMENT= Daemonized interface between MTA and content checkers
LICENSE= gnu-gpl-v2
-VERSION= 2.11.1
-PATCHLEVEL= # empty
-
DEPENDS+= p5-Archive-Zip>=1.14:../../archivers/p5-Archive-Zip
DEPENDS+= p5-BerkeleyDB-[0-9]*:../../databases/p5-BerkeleyDB
DEPENDS+= p5-Convert-TNEF-[0-9]*:../../converters/p5-Convert-TNEF
@@ -27,12 +23,12 @@
DEPENDS+= p5-Mail-DKIM>=0.31:../../mail/p5-Mail-DKIM
DEPENDS+= p5-MIME-tools>=5.417:../../mail/p5-MIME-tools
DEPENDS+= p5-MailTools>=1.58:../../mail/p5-MailTools
-DEPENDS+= p5-Net-LibIDN-[0-9]*:../../net/p5-Net-LibIDN
+DEPENDS+= p5-Net-LibIDN2>=1.0.0:../../net/p5-Net-LibIDN2
DEPENDS+= p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy
DEPENDS+= p5-Net-Server>=0.88:../../net/p5-Net-Server
DEPENDS+= p5-Unix-Syslog-[0-9]*:../../sysutils/p5-Unix-Syslog
-WRKSRC= ${WRKDIR}/amavisd-new-${VERSION}
+WRKSRC= ${WRKDIR}/${DISTNAME}
CONFLICTS+= amavis-[0-9]*
CONFLICTS+= amavis-perl-[0-9]*
diff -r b83fc015d7c0 -r 979c6e603ab1 mail/amavisd-new/PLIST
--- a/mail/amavisd-new/PLIST Sat Sep 17 08:56:42 2022 +0000
+++ b/mail/amavisd-new/PLIST Sat Sep 17 09:26:12 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2016/09/14 18:20:30 spz Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/09/17 09:26:12 spz Exp $
sbin/amavisd
sbin/amavisd-agent
sbin/amavisd-nanny
@@ -28,6 +28,7 @@
share/doc/amavisd-new/README.postfix
share/doc/amavisd-new/README.postfix.html
share/doc/amavisd-new/README.protocol
+share/doc/amavisd-new/README.rspamd
share/doc/amavisd-new/README.sendmail
share/doc/amavisd-new/README.sendmail-dual
share/doc/amavisd-new/README.sendmail-dual.old
diff -r b83fc015d7c0 -r 979c6e603ab1 mail/amavisd-new/distinfo
--- a/mail/amavisd-new/distinfo Sat Sep 17 08:56:42 2022 +0000
+++ b/mail/amavisd-new/distinfo Sat Sep 17 09:26:12 2022 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:53:54 nia Exp $
+$NetBSD: distinfo,v 1.11 2022/09/17 09:26:12 spz Exp $
-BLAKE2s (amavisd-new-2.11.1.tar.bz2) = 49ec6948a0f7671b1584e027c0f12a7fcc7cebcfe043322b2a5dc225b04c7d95
-SHA512 (amavisd-new-2.11.1.tar.bz2) = 06180a4efa777af2f91781ba6e3ea302041c5dd721981d960bab24cecb160c17df8a927e95df9dd7ee5ba64004b8edd3c6c0c5ef7f96fd702d1d84e4a856ea83
-Size (amavisd-new-2.11.1.tar.bz2) = 875204 bytes
-SHA1 (patch-aa) = 3be1325acb060370960fc0fb27d87bc360861320
-SHA1 (patch-amavisd) = c7829d112a5a3dc2dadd309e8a67c23b2f3cc647
+BLAKE2s (amavis-v2.12.2.tar.gz) = fd9dc23a2923bcbf198a5a7d7993dd90a426a056fd96bf28a6bf421c98ff3770
+SHA512 (amavis-v2.12.2.tar.gz) = 7ef5ba670b530bf19352ba8aebd57a171e32d90adffc0b248b93a39f740fe4bb8ddf1d5ecdd46d0c9e1b4ca1a9ff0a9e86e73900e73a1a2cac514656c3a7db01
+Size (amavis-v2.12.2.tar.gz) = 1097754 bytes
+SHA1 (patch-aa) = d9076df1115ca88cef2ccb586a6c5e15288130a5
diff -r b83fc015d7c0 -r 979c6e603ab1 mail/amavisd-new/patches/patch-aa
--- a/mail/amavisd-new/patches/patch-aa Sat Sep 17 08:56:42 2022 +0000
+++ b/mail/amavisd-new/patches/patch-aa Sat Sep 17 09:26:12 2022 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-aa,v 1.4 2016/09/14 18:20:30 spz Exp $
+$NetBSD: patch-aa,v 1.5 2022/09/17 09:26:12 spz Exp $
pkgsrc-ify the conf file
---- amavisd.conf.orig 2008-06-24 22:23:05.000000000 -0400
-+++ amavisd.conf 2008-06-24 22:25:53.000000000 -0400
-@@ -14,15 +14,15 @@
- # $bypass_decode_parts = 1; # controls running of decoders&dearchivers
+--- amavisd.conf.orig 2021-10-13 08:10:54.000000000 +0000
++++ amavisd.conf 2022-09-17 09:08:46.198960456 +0000
+@@ -17,15 +17,15 @@
+ # truncation in /proc/<pid>/stat and ps -e output
$max_servers = 2; # num of pre-forked children (2..30 is common), -m
-$daemon_user = 'vscan'; # (no default; customary: vscan or amavis), -u
@@ -24,7 +24,7 @@
# $quarantine_subdir_levels = 1; # add level of subdirs to disperse quarantine
# $release_format = 'resend'; # 'attach', 'plain', 'resend'
# $report_format = 'arf'; # 'attach', 'plain', 'resend', 'arf'
-@@ -130,7 +130,7 @@
+@@ -133,7 +133,7 @@
# $recipient_delimiter = '+'; # undef disables address extensions altogether
# when enabling addr extensions do also Postfix/main.cf: recipient_delimiter=+
diff -r b83fc015d7c0 -r 979c6e603ab1 mail/amavisd-new/patches/patch-amavisd
--- a/mail/amavisd-new/patches/patch-amavisd Sat Sep 17 08:56:42 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-amavisd,v 1.1 2018/11/03 11:41:30 spz Exp $
-
-fix a 'Unescaped left brace in regex'
-
---- amavisd.orig 2018-10-09 12:41:10.000000000 +0000
-+++ amavisd
-@@ -28856,7 +28856,7 @@ sub run_av(@) {
- my $f = $bare_fnames->[$k]; my $multi = 0;
- if ($one_at_a_time) { # glob templates may be substrings anywhere
- local($1); @query_expanded = @query_template; # start afresh
-- s{ ( {} (?: / \* )? | \* ) }
-+ s{ ( \{\} (?: / \* )? | \* ) }
- { $1 eq '{}' ? "$tempdir/parts"
- : $1 eq '{}/*' ? ($multi=1,"$tempdir/parts/$f")
- : $1 eq '*' ? ($multi=1,$f) : $1
Home |
Main Index |
Thread Index |
Old Index