Some time ago I send PR about PAM support in xlockmore. Now
I spend some time to work on xlockmore. I found that PAM
works fine by default (with --enable-pam), but only with
modules that does not requires root rights to authenticate.
But almost all PAM configurations ends with pam_unix call.
Here is the trouble. xlock drops root privileges after
startup. I use BAD_PAM again to wrap this setuid(). IMHO,
usage of BAD_PAM is right in this case. Also abort trap was
fixed. Here was error in PAM_conv function. I'll send
explanations of changes and situation to xlock-discuss
mailing list later. May be fixes will be committed into
next release of xlockmore.
Here is attached diff against xlockmore port. It makes some
changes in Makefile and drops two patches to files dir.
New knobs added to Makefile and some old changed. Here is the
description:
- OPTIONS added for interactive configuration of xlockmore
(make config).
- WITH_PAM - enable common PAM support in xlock, but does not define
BAD_PAM. So PAM modules that does not require root rights can be used
(pam_pwdfile e.g.).
- WITH_BAD_PAM - enable WITH_PAM and define BAD_PAM in config.h after
'configure'. So all PAM modules can be used, including pam_unix.
- WITH_NICE_ONLY - enable only low-CPU modes. Good for old machines.
- WITH_BLANK_ONLY - enable only 'blank' mode. Can be useful in some
cases.
PR: ports/90276
Submitted by: Yuri Y. Bushmelev <jay-dev@simcom.ru>
and make XFREE86_VERSION map to it. XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.
PR: ports/68763
Approved by: portmgr (marcus)
Approved by: re (scottl)
Fix build if MAKE_KERBEROS4 defined [2]
Make cosmetic changes for pkg-descr, add WWW tag [3]
Spotted by: Chris <chris-gnats34@randomcamel.net> [2]
Submitted by: UMENO Takashi <umeno@rr.iij4u.or.jp> [1],
Volker Stolz <stolz@i2.informatik.rwth-aachen.de> [2],
osa [3]
PRs: 59882, 60925
Submitted by: asami
Upgrade to 4.17.2, while I'm here:
* coredump fix for GL modes cage, moebius, rubik, skewb, and stairs
* and Mesa3.1 thanks to Tom Schmidt <tschmidt@micron.com>.
* solitare.cc update for disable-interactive.
* xlock -resources crashes on Solaris thanks to Alexander Elgert
* <elgert@rbg.informatik.tu-darmstadt.de>.