Use the correct path to the sendmail(8) mail enqueuer.

This makes the GPG Web Key Service work correctly; from Aisha Tammy.
This commit is contained in:
naddy 2020-04-27 19:22:54 +00:00
parent 74426fefd4
commit 985f782817
2 changed files with 16 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.66 2019/07/12 21:15:35 sthen Exp $
# $OpenBSD: Makefile,v 1.67 2020/04/27 19:22:54 naddy Exp $
COMMENT = GNU privacy guard - a free PGP replacement
DISTNAME = gnupg-2.2.12
CATEGORIES = security
REVISION = 0
REVISION = 1
# don't mix up dependencies with gnupg1
PKGSPEC = gnupg->=2

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-tools_send-mail_c,v 1.1 2020/04/27 19:22:54 naddy Exp $
Index: tools/send-mail.c
--- tools/send-mail.c.orig
+++ tools/send-mail.c
@@ -33,7 +33,7 @@ static gpg_error_t
run_sendmail (estream_t data)
{
gpg_error_t err;
- const char pgmname[] = "/usr/lib/sendmail";
+ const char pgmname[] = "/usr/sbin/sendmail";
const char *argv[3];
argv[0] = "-oi";