pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/mimedefang
Module Name: pkgsrc
Committed By: bouyer
Date: Fri Mar 3 11:19:19 UTC 2023
Modified Files:
pkgsrc/mail/mimedefang: Makefile distinfo
Added Files:
pkgsrc/mail/mimedefang/patches:
patch-modules_lib_Mail_MIMEDefang_Actions.pm
Removed Files:
pkgsrc/mail/mimedefang/patches:
patch-modules_lib_Mail_MIMEDefang_MIME.pm
Log Message:
Replace fix for issue #74 with official fix from upstream (commit a6470d7).
Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/mail/mimedefang/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/mail/mimedefang/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/mail/mimedefang/patches/patch-modules_lib_Mail_MIMEDefang_Actions.pm
cvs rdiff -u -r1.1 -r0 \
pkgsrc/mail/mimedefang/patches/patch-modules_lib_Mail_MIMEDefang_MIME.pm
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/mimedefang/Makefile
diff -u pkgsrc/mail/mimedefang/Makefile:1.72 pkgsrc/mail/mimedefang/Makefile:1.73
--- pkgsrc/mail/mimedefang/Makefile:1.72 Tue Feb 28 20:23:13 2023
+++ pkgsrc/mail/mimedefang/Makefile Fri Mar 3 11:19:19 2023
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.72 2023/02/28 20:23:13 bouyer Exp $
+# $NetBSD: Makefile,v 1.73 2023/03/03 11:19:19 bouyer Exp $
DISTNAME= mimedefang-3.3
CATEGORIES= mail
MASTER_SITES= https://mimedefang.org/releases/
-PKGREVISION= 1
+PKGREVISION= 2
MAINTAINER= pettai%NetBSD.org@localhost
HOMEPAGE= https://www.mimedefang.org/
Index: pkgsrc/mail/mimedefang/distinfo
diff -u pkgsrc/mail/mimedefang/distinfo:1.33 pkgsrc/mail/mimedefang/distinfo:1.34
--- pkgsrc/mail/mimedefang/distinfo:1.33 Tue Feb 28 20:23:13 2023
+++ pkgsrc/mail/mimedefang/distinfo Fri Mar 3 11:19:19 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.33 2023/02/28 20:23:13 bouyer Exp $
+$NetBSD: distinfo,v 1.34 2023/03/03 11:19:19 bouyer Exp $
BLAKE2s (mimedefang-3.3.tar.gz) = f464307b1a34e15e9879ba3bc1622841743fa28dcb47f17f1f05747152c54311
SHA512 (mimedefang-3.3.tar.gz) = f973d6bf8e5bb5043f6d255961dcf3f4f8208c7fb159694f5d62884e4dd480ab2d04cf6b71c8f48f56f368aa31b7ce54ec499503a4a3f55b9bf0696299a240ef
Size (mimedefang-3.3.tar.gz) = 495544 bytes
SHA1 (patch-Makefile.in) = 14d53b305bc1bb099624d02cc8bca63ab7226ace
SHA1 (patch-mimedefang.pl.in) = d46c79ad616a6abc5c2791d32c678c5988ed64c9
-SHA1 (patch-modules_lib_Mail_MIMEDefang_MIME.pm) = 1d77a693fde1c7d883e3bca1407ced45629c97de
+SHA1 (patch-modules_lib_Mail_MIMEDefang_Actions.pm) = ca20c24f4e4888e6b21e7963b79727482bb59ff1
Added files:
Index: pkgsrc/mail/mimedefang/patches/patch-modules_lib_Mail_MIMEDefang_Actions.pm
diff -u /dev/null pkgsrc/mail/mimedefang/patches/patch-modules_lib_Mail_MIMEDefang_Actions.pm:1.1
--- /dev/null Fri Mar 3 11:19:19 2023
+++ pkgsrc/mail/mimedefang/patches/patch-modules_lib_Mail_MIMEDefang_Actions.pm Fri Mar 3 11:19:19 2023
@@ -0,0 +1,24 @@
+$NetBSD: patch-modules_lib_Mail_MIMEDefang_Actions.pm,v 1.1 2023/03/03 11:19:19 bouyer Exp $
+Patch from upstream (commit a6470d7) to fix issue with non-ascii filenames
+(issue 74)
+
+--- modules/lib/Mail/MIMEDefang/Actions.pm.orig 2023-03-02 15:01:50.625588453 +0100
++++ modules/lib/Mail/MIMEDefang/Actions.pm 2023-03-02 15:02:54.632130347 +0100
+@@ -139,10 +139,17 @@
+
+ my ($part);
+
++ my $charset = undef;
++ if (utf8::is_utf8($data)) {
++ utf8::encode($data);
++ $charset = 'utf-8';
++ }
++
+ $part = MIME::Entity->build(Type => $type,
+ Top => 0,
+ 'X-Mailer' => undef,
+ Encoding => $encoding,
++ Charset => $charset,
+ Data => ["$data"]);
+ defined ($fname) && $part->head->mime_attr("Content-Type.name" => $fname);
+ defined ($disposition) && $part->head->mime_attr("Content-Disposition" => $disposition);
Home |
Main Index |
Thread Index |
Old Index