spamassassin/spamassassin-4.0.0-gnupg2.patch

13 lines
600 B
Diff
Raw Permalink Normal View History

diff -ruN Mail-SpamAssassin-4.0.0.old/sa-update.raw Mail-SpamAssassin-4.0.0/sa-update.raw
--- Mail-SpamAssassin-4.0.0.old/sa-update.raw 2023-02-14 10:53:50.117091015 +0000
+++ Mail-SpamAssassin-4.0.0/sa-update.raw 2023-02-14 10:54:37.222875579 +0000
@@ -361,7 +361,7 @@
if ($GPG_ENABLED || $opt{'import'}) {
# find GPG in the PATH
# bug 4958: for *NIX it's "gpg", in Windows it's "gpg.exe"
- $GPGPath = 'gpg' . $Config{_exe};
+ $GPGPath = 'gpg2' . $Config{_exe};
dbg("gpg: Searching for '$GPGPath'");
if ($GPGPath = Mail::SpamAssassin::Util::find_executable_in_env_path($GPGPath)) {