Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836682 - app-crypt/gnupg fails to correctly identify sendmail binary location.
Summary: app-crypt/gnupg fails to correctly identify sendmail binary location.
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-04-03 06:32 UTC by Felix Tiede
Modified: 2023-01-13 13:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch current stable GnuPG ebuild to search for sendmail binary. (gnupg-sendmail.patch,385 bytes, patch)
2022-04-03 06:32 UTC, Felix Tiede
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Tiede 2022-04-03 06:32:36 UTC
Created attachment 768547 [details, diff]
Patch current stable GnuPG ebuild to search for sendmail binary.

At least GnuPG's WKS server requires a working sendmail binary to send automated mails.
GnuPG's configure script searches for sendmail in its usual locations, /usr/sbin, /usr/libexec and /usr/lib. Postfix, f.ex. installs its sendmail binary in /usr/sbin, thus the path should be searched for and not hardcoded.

The current GnuPG ebuild hardcodes sendmail's path to /usr/libexec/sendmail which does not work with a regular postfix installation, which uses /usr/sbin/sendmail.

Matching the ebuild's requirement for the installation of virtual/mta if and only if the wks-server USE flag is enabled, the attached patch changes the ebuild to enable/disable searching for sendmail depending on the wks-server USE flag, yet leaves figuring out the actual path of the sendmail binary to GnuPG's configure script.