Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 13:26:49 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        current@FreeBSD.org
Subject:   pam_ssh support for static PAM library
Message-ID:  <20011212132649.D32012@sunbay.com>

next in thread | raw e-mail | index | archive | help
Hi!

There's a number of build problems exists with libssh, pam_ssh,
and libpam triple.  The major issue being that the static PAM
library, libpam.a, doesn't currently support pam_ssh.

There have been a semi-private discussion taking place between
me and Mark Murray on the subject, and I've prepared a set of
patches to address these issues.

First approach proposed was to make libssh a "standard" FreeBSD
library, in that sense that it has its name in bsd.libnames.mk
namespace, and is installable under /usr/lib, and is available
for dynamic linking.  This approach was rejected, because
libssh is believed to be of no common interest to be available
under /usr/lib, in that sense when we call such a library
"internal".

The latest patch on the subject is believed to fix all these
issues, while still preserving libssh from being visible under
/usr/lib.

I've already sent a notification to Mark, and he promised to
look into my patch during the next week or so.

For those also interested, I've put my patch and the detailed
log here:

http://people.FreeBSD.org/~ru/patches/libssh.patch
http://people.FreeBSD.org/~ru/patches/libssh.patch.log

In order to test it without a full "buildworld", you'll have
to proceed in this order:

1.  Install updated bsd.lib.mk and bsd.libnames.mk.
2.  Build secure/lib/libssh.
3.  Build and install lib/libpam.

Now you're ready to build/install any PAMified stuff
statically, and pam_ssh should be available.


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011212132649.D32012>