git: libpam: Play some 4D chess for static pam modules support.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Fri Nov 10 09:24:31 PST 2017
commit 0521e8db4c6bf27167bedeb20789021db94252e0
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Thu Nov 9 16:57:23 2017 +0200
libpam: Play some 4D chess for static pam modules support.
We need A, B, C and D. C depends on A, B depends on D, A&B and C&D are both
built in pairs. So split A&B and hope for the best.
PAM modules were moved in closer to support this in the previous commit.
Also use workaround to get matching set pointers. Might be a pam bug.
Now su(1), login(1) and friends are usable in -static compilations with
pending buildworld support patches.
No functional change to usual case of shared libpam.so.
Partially-taken-from: FreeBSD
Summary of changes:
lib/libpam/Makefile | 6 ++--
lib/libpam/Makefile.inc | 6 ++++
lib/libpam/libpam/Makefile | 18 +++++++-----
lib/libpam/modules/Makefile.inc | 3 +-
lib/libpam/static_libpam/Makefile | 60 +++++++++++++++++++++++++++++++++++++++
5 files changed, 83 insertions(+), 10 deletions(-)
create mode 100644 lib/libpam/static_libpam/Makefile
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0521e8db4c6bf27167bedeb20789021db94252e0
--
DragonFly BSD source repository
More information about the Commits
mailing list