This is Google's cache of https://forums.openmandriva.org/en/discussion/1009/pam-stack-patch-for-pam-1-1-3-4-src-rpm-mandriva-2011. It is a snapshot of the page as it appeared on Jul 4, 2015 17:40:43 GMT.
The current page could have changed in the meantime. Learn more
Full versionText-only versionView sourceTip: To quickly find your search term on this page, press Ctrl+F or ⌘-F (Mac) and use the find bar.
pam_stack patch for pam-1.1.3-4.src.rpm (mandriva 2011) - Forum [en] OpenMandriva

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Who's Online (1)

pam_stack patch for pam-1.1.3-4.src.rpm (mandriva 2011)

in Oct 2005 tmraz from RedHat decided that pam_stack.so was deprecated :
http://www.redhat.com/archives/rhl-devel-list/2005-October/msg00050.html
Linux-PAM 0.78 and later contains include directive which obsoletes
using the pam_stack module. This module is rather a hack as it requires
access to pam library internals for its operation and will never be
accepted to upstream.
What the engineer never realized was that redhat with its pam and pam_stack.so
has become the upstream. So i decided to rol the pam_stack module back into
pam-1.1.3-4.src.rpm (mandriva 2011) using a patch . Downloads are at :

ftp://ftp.crashrecovery.org/pub/linux/pam/RPMS/mdv2011/
total 2456
-rw-r--r--  1 root root  162059 Jul  2 00:15 lib64pam0-1.1.3-7-mdv2011.0.x86_64.rpm
-rw-r--r--  1 root root   98977 Jul  2 00:15 lib64pam-devel-1.1.3-7-mdv2011.0.x86_64.rpm
-rw-r--r--  1 root root   43086 Jul  2 00:12 Linux-PAM-1.1.3-pam_stack-v2.patch
-rw-r--r--  1 root root     579 Jul  2 01:50 MD5SUM
-rw-r--r--  1 root root  283408 Jul  2 00:15 pam-1.1.3-7-mdv2011.0.x86_64.rpm
-rw-r--r--  1 root root 1223552 Jul  2 00:15 pam-1.1.3-7.src.rpm
-rw-r--r--  1 root root  592440 Jul  2 00:15 pam-debug-1.1.3-7-mdv2011.0.x86_64.rpm
-rw-r--r--  1 root root   54127 Jul  2 00:15 pam-doc-1.1.3-7-mdv2011.0.x86_64.rpm
-rw-r--r--  1 root root    1073 Jul  2 00:14 README.pam_stack
-rw-r--r--  1 root root     700 Jul  2 01:51 SHA1SUM
-rw-r--r--  1 root root     362 Jul  2 01:45 sshd.pam
pam_stack indeed uses internal functions to the Linux-PAM library
but this possible linking problem is solved like this :
# Copyright (c) 2005 Thorsten Kukuk 
# Copyright (c) 2005 Red Hat, Inc.
#

CLEANFILES = *~

man_MANS = pam_stack.8
EXTRA_DIST = README $(man_MANS)

securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)

AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include
AM_LDFLAGS = -no-undefined -avoid-version -module \
        $(top_srcdir)/libpam/pam_misc.lo \
        $(top_srcdir)/libpam/pam_env.lo \
        $(top_srcdir)/libpam/pam_dispatch.lo \
        $(top_srcdir)/libpam/pam_handlers.lo \
        $(top_srcdir)/libpam/pam_dynamic.lo \
        $(top_srcdir)/libpam/pam_audit.lo \
        $(top_srcdir)/libpam/pam_data.lo \
        $(top_srcdir)/libpam/pam_end.lo \
        -L$(top_builddir)/libpam -lpam
if HAVE_VERSIONING
  AM_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map
endif

securelib_LTLIBRARIES = pam_stack.la
pam_stack_la_LIBADD = -L$(top_builddir)/libpam -lpam

Comments

Sign In or Register to comment.