forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace fix for issue #74 with official fix from upstream (commit a64…
…70d7). Bump PKGREVISION
- Loading branch information
bouyer
committed
Mar 3, 2023
1 parent
d9d2f5a
commit 05e231c
Showing
4 changed files
with
28 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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= [email protected] | ||
HOMEPAGE= https://www.mimedefang.org/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
24 changes: 24 additions & 0 deletions
24
mail/mimedefang/patches/patch-modules_lib_Mail_MIMEDefang_Actions.pm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); |
16 changes: 0 additions & 16 deletions
16
mail/mimedefang/patches/patch-modules_lib_Mail_MIMEDefang_MIME.pm
This file was deleted.
Oops, something went wrong.