Created attachment 472044 [details, diff] Patch for Makefile.in to avoid linking to pam Currently, users of alpine are forced to install pam. I request to provide a USE=pam which makes pam optional. This only requires patching a single line in Makefile.in and to replace a check in configure.ac The patch for Makefile.in and a possible patch for the ebuild to apply the patch and to fix configure.ac are attached.
Created attachment 472046 [details, diff] Patch for the ebuild to provide USE=pam and patch configure.ac
Robert, you alpine's maintainer. Have you reviewed this patch?
Martin, thanks for the patch. Can you port it to the recent alpine ebuid (version 2.21.1-r1)?
Created attachment 555358 [details, diff] patch for alpine-2.21.1-r1.ebuild The only change for newer ebuilds is that the 2.00-lpam.patch is never applied.
(In reply to Martin Väth from comment #4) > Created attachment 555358 [details, diff] [details, diff] > patch for alpine-2.21.1-r1.ebuild > > The only change for newer ebuilds is that the 2.00-lpam.patch is never > applied. Thanks! I tested the patch successfully and created a PR.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdc9317f37aedfaf956f7f72ef46f73b97f31170 commit cdc9317f37aedfaf956f7f72ef46f73b97f31170 Author: Robert Siebeck <gentoo.2019@r123.de> AuthorDate: 2018-11-17 18:27:32 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2019-11-07 05:42:29 +0000 mail-client/alpine: make PAM optional Closes: https://bugs.gentoo.org/617924 Signed-off-by: Robert Siebeck <gentoo.bugzilla.2012@r123.de> Closes: https://github.com/gentoo/gentoo/pull/10645 Signed-off-by: Joonas Niilola <juippis@gentoo.org> mail-client/alpine/alpine-2.21.1-r2.ebuild | 95 ++++++++++++++++++++++ mail-client/alpine/files/alpine-2.21.1-nopam.patch | 27 ++++++ 2 files changed, 122 insertions(+)