Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267918 - mail-client/alpine-2.00 should optionally depend on PAM
Summary: mail-client/alpine-2.00 should optionally depend on PAM
Status: RESOLVED DUPLICATE of bug 391387
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
: 437626 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-29 21:23 UTC by Christer Ekholm
Modified: 2012-10-08 19:09 UTC (History)
4 users (show)

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


Attachments
patch to alpine ebuild to allow build without pam (alpine-without-pam.patch,827 bytes, patch)
2009-04-29 21:24 UTC, Christer Ekholm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christer Ekholm 2009-04-29 21:23:30 UTC
I suggest a change in alpine ebuild to allow for build without pam.
Comment 1 Christer Ekholm 2009-04-29 21:24:59 UTC
Created attachment 189898 [details, diff]
patch to alpine ebuild to allow build without pam
Comment 2 Zachary Kline 2010-01-22 05:44:16 UTC
I agree, especially since pine already has optional PAM.
Providing the same for alpine should be trivial.
Comment 3 Christer Ekholm 2010-03-12 22:09:18 UTC
Both alpine-2.00-r2 and alpine-2.00-r3 has been released since I
reported this. And this is still not fixed.
Comment 4 Stefan de Konink 2011-10-28 14:16:04 UTC
+1
Comment 5 Sascha Lucas 2012-02-13 21:51:31 UTC
Hi,

(In reply to comment #3)
> Both alpine-2.00-r2 and alpine-2.00-r3 has been released since I
> reported this. And this is still not fixed.

thanks a lot for your help. i'll try to put this into main portage-tree. (and sorry for the delay).

Sascha.
Comment 6 Sascha Lucas 2012-02-20 20:48:38 UTC
Hi,

(In reply to comment #1)
> patch to alpine ebuild to allow build without pam

I'm unable to build alpine without pam on a system which already has pam. The configure has no option to enable/disable pam. My "pam-support" is auto-detected

checking for pam_start in -lpam... yes

and the build fails later

osdep.c:(.text+0x336): undefined reference to `pam_setcred'
osdep.c:(.text+0x346): undefined reference to `pam_end'
../c-client/c-client.a(osdep.o): In function `checkpw':
osdep.c:(.text+0xa2c1): undefined reference to `pam_start'
osdep.c:(.text+0xa328): undefined reference to `pam_set_item'
osdep.c:(.text+0xa33f): undefined reference to `pam_authenticate'
osdep.c:(.text+0xa356): undefined reference to `pam_acct_mgmt'
osdep.c:(.text+0xa371): undefined reference to `pam_setcred'
collect2: ld returned 1 exit status

Do you have other experiences?

Sascha.
Comment 7 Christer Ekholm 2012-02-20 22:03:49 UTC
(In reply to comment #6)
> Hi,
> 
> (In reply to comment #1)
> > patch to alpine ebuild to allow build without pam
> 
> I'm unable to build alpine without pam on a system which already has pam. The
> configure has no option to enable/disable pam. My "pam-support" is
> auto-detected

Since I reported this I have stopped using alpine myself. :)

I'll examine this and get back to you later. It looks like alpine is
abandoned upstream. Perhaps it's time to let it go?

There seems to be a atempt at continuation-project called re-alpine
http://re-alpine.sourceforge.net/ But that may also be abandoned? The
latest release on http://sourceforge.net/projects/re-alpine/files/ is
2.02 which is more than two years old.
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2012-10-08 17:21:15 UTC
*** Bug 437626 has been marked as a duplicate of this bug. ***
Comment 9 Martin Väth 2012-10-08 18:06:08 UTC
(In reply to comment #6)
> The configure has no option to enable/disable pam. My "pam-support" is
> auto-detected

The simplest way to fix this without patching anything is to execute
   use pam || export ac_cv_lib_pam_pam_start=no
in the ebuild before calling ./configure
Comment 10 Martin Väth 2012-10-08 18:30:08 UTC
(In reply to comment #7)
> There seems to be a atempt at continuation-project called re-alpine

According to http://de.wikipedia.org/wiki/Pine
(perhaps only in this german version)
re-alpine is the official successor to alpine.

> 2.02 which is more than two years old.

I would say that a "classical" software like this does not need
frequent updates (unless a security bug is found or it collides with
a new fundamental change in some infrastructure).
Actually, I do not understand even why pine should be removed
from the gentoo tree since it runs fine.
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-10-08 19:09:45 UTC

*** This bug has been marked as a duplicate of bug 391387 ***