Summary: | app-crypt/gnupg fails to correctly identify sendmail binary location. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Felix Tiede <info> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | base-system, jstein |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch current stable GnuPG ebuild to search for sendmail binary. |
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.