Subject: Re: xscreensaver --without-pam ?
To: Frederick Bruckman <fredb@immanent.net>
From: Michal Pasternak <michal@pasternak.w.lub.pl>
List: tech-pkg
Date: 12/23/2003 00:04:48
Frederick Bruckman [Mon, Dec 22, 2003 at 05:55:31PM -0600]:
> For xscreensaver, buildlink apparently fails in its purpose again: It
> fails to exclude pam on FreeBSD, because pam is in the base system (PR
> pkg/23843). Would it be OK to set --without-pam unconditionally? I.e.,
> are there platforms/systems for which xscreensaver must link against
> pam to function properly?

I would just disable it for FreeBSD (just like the FreeBSD Ports Collection
does it!).

If there are problems on other platforms, people can send-pr(1). 

This is the safest thing possible -- I bet that if you disable PAM
unconditionally for all other operating systems, someone after some time
will e-mail tech-pkg@, asking why the support was dropped.

And, BTW, the fact this doesn't work has nothing to do with PAM on FreeBSD
platform. xscreensaver's PAM .c file just uses "sigtimedwait", which on
FreeBSD is defined in /usr/include/signal.h -- but doesn't occur anywhere
else in /usr/lib, so the linker gets upset about it. It is just that
--disable-pam option makes this file excluded from the build process.

Again, I'd take the safest possible bet: turn it off only for FreeBSD. At
least 99.9% of FreeBSD users, who are happy with FreeBSD Ports use such
settings and nothing bad happens since...

-- 
Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net