pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openpam Initial import of openpam-20040210 as...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89f4f5d8710d
branches:  trunk
changeset: 487404:89f4f5d8710d
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Jan 13 21:51:08 2005 +0000

description:
Initial import of openpam-20040210 as security/openpam.

OpenPAM is an open source PAM library that focuses on simplicity,
correctness, and cleanliness.

OpenPAM aims to gather the best features of Solaris PAM, XSSO and
Linux-PAM, plus some innovations of its own.  In areas where these
implementations disagree, OpenPAM tries to remain compatible with
Solaris, at the expense of XSSO conformance and Linux-PAM
compatibility.

These are some of OpenPAM's features:

   - Implements the complete PAM API as described in the original PAM
     paper and in OSF-RFC 86.0; this corresponds to the full XSSO API
     except for mappings and secondary authentication.  Also
     implements some extensions found in Solaris 9.

   - Extends the API with several useful and time-saving functions.

   - Performs strict checking of return values from service modules.

diffstat:

 security/openpam/DESCR            |  19 +++++++++++++
 security/openpam/Makefile         |  32 ++++++++++++++++++++++
 security/openpam/PLIST            |  56 +++++++++++++++++++++++++++++++++++++++
 security/openpam/distinfo         |   6 ++++
 security/openpam/patches/patch-aa |  12 ++++++++
 security/openpam/patches/patch-ab |  22 +++++++++++++++
 6 files changed, 147 insertions(+), 0 deletions(-)

diffs (171 lines):

diff -r a9d8a1956ffa -r 89f4f5d8710d security/openpam/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openpam/DESCR    Thu Jan 13 21:51:08 2005 +0000
@@ -0,0 +1,19 @@
+OpenPAM is an open source PAM library that focuses on simplicity,
+correctness, and cleanliness.
+
+OpenPAM aims to gather the best features of Solaris PAM, XSSO and
+Linux-PAM, plus some innovations of its own.  In areas where these
+implementations disagree, OpenPAM tries to remain compatible with
+Solaris, at the expense of XSSO conformance and Linux-PAM
+compatibility.
+
+These are some of OpenPAM's features:
+
+   - Implements the complete PAM API as described in the original PAM
+     paper and in OSF-RFC 86.0; this corresponds to the full XSSO API
+     except for mappings and secondary authentication.  Also
+     implements some extensions found in Solaris 9.
+
+   - Extends the API with several useful and time-saving functions.
+
+   - Performs strict checking of return values from service modules.
diff -r a9d8a1956ffa -r 89f4f5d8710d security/openpam/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openpam/Makefile Thu Jan 13 21:51:08 2005 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/13 21:51:08 jlam Exp $
+
+DISTNAME=      openpam-20040210
+CATEGORIES=    security
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=openpam/}
+
+MAINTAINER=    jlam%NetBSD.org@localhost
+HOMEPAGE=      http://www.openpam.org/
+COMMENT=       open-source PAM library
+
+CONFLICTS+=    PAM-[0-9]*
+
+USE_BUILDLINK3=                yes
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --without-pam-su
+CONFIGURE_ARGS+=       --with-pam-unix
+CONFIGURE_ARGS+=       --with-modules-dir=${PREFIX}/lib/security
+
+# Create a fake perl binary to avoid recreating the man pages.
+post-tools:
+       ${RM} -f ${TOOLS_DIR}/bin/perl
+       ${LN} -sf ${TRUE} ${TOOLS_DIR}/bin/perl
+
+# Remove a directory that's created for the sample su application that
+# we don't install.
+#
+post-install:
+       ${RMDIR} -p ${PREFIX}/bin 2>/dev/null || ${TRUE}
+
+.include "../../mk/bsd.pkg.mk"
diff -r a9d8a1956ffa -r 89f4f5d8710d security/openpam/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openpam/PLIST    Thu Jan 13 21:51:08 2005 +0000
@@ -0,0 +1,56 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/13 21:51:08 jlam Exp $
+include/security/openpam.h
+include/security/openpam_version.h
+include/security/pam_appl.h
+include/security/pam_constants.h
+include/security/pam_modules.h
+include/security/pam_types.h
+lib/libpam.la
+lib/security/pam_deny.la
+lib/security/pam_permit.la
+lib/security/pam_unix.la
+man/man3/openpam.3
+man/man3/openpam_borrow_cred.3
+man/man3/openpam_free_data.3
+man/man3/openpam_get_option.3
+man/man3/openpam_log.3
+man/man3/openpam_nullconv.3
+man/man3/openpam_readline.3
+man/man3/openpam_restore_cred.3
+man/man3/openpam_set_option.3
+man/man3/openpam_ttyconv.3
+man/man3/pam.3
+man/man3/pam_acct_mgmt.3
+man/man3/pam_authenticate.3
+man/man3/pam_chauthtok.3
+man/man3/pam_close_session.3
+man/man3/pam_conv.3
+man/man3/pam_end.3
+man/man3/pam_error.3
+man/man3/pam_get_authtok.3
+man/man3/pam_get_data.3
+man/man3/pam_get_item.3
+man/man3/pam_get_user.3
+man/man3/pam_getenv.3
+man/man3/pam_getenvlist.3
+man/man3/pam_info.3
+man/man3/pam_open_session.3
+man/man3/pam_prompt.3
+man/man3/pam_putenv.3
+man/man3/pam_set_data.3
+man/man3/pam_set_item.3
+man/man3/pam_setcred.3
+man/man3/pam_setenv.3
+man/man3/pam_sm_acct_mgmt.3
+man/man3/pam_sm_authenticate.3
+man/man3/pam_sm_chauthtok.3
+man/man3/pam_sm_close_session.3
+man/man3/pam_sm_open_session.3
+man/man3/pam_sm_setcred.3
+man/man3/pam_start.3
+man/man3/pam_strerror.3
+man/man3/pam_verror.3
+man/man3/pam_vinfo.3
+man/man3/pam_vprompt.3
+@dirrm lib/security
+@dirrm include/security
diff -r a9d8a1956ffa -r 89f4f5d8710d security/openpam/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openpam/distinfo Thu Jan 13 21:51:08 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/13 21:51:08 jlam Exp $
+
+SHA1 (openpam-20040210.tar.gz) = 99967a06cba98736d8999bf31aec80592f4718b2
+Size (openpam-20040210.tar.gz) = 212523 bytes
+SHA1 (patch-aa) = a24f8ccd0da01358b4d1015fe54e21c4e78e659e
+SHA1 (patch-ab) = 9e5149c20b1ea0c0b937e7d90e5c6b609d5b4796
diff -r a9d8a1956ffa -r 89f4f5d8710d security/openpam/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openpam/patches/patch-aa Thu Jan 13 21:51:08 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/01/13 21:51:08 jlam Exp $
+
+--- configure.orig     2004-02-09 18:00:00.000000000 -0500
++++ configure
+@@ -3213,6 +3213,7 @@ else
+ echo "${ECHO_T}no" >&6
+ fi;
+ 
++CPPFLAGS="$CPPFLAGS -DSYSCONFDIR=\\\"$sysconfdir\\\""
+ 
+ echo "$as_me:$LINENO: checking whether to build example version of /bin/su" >&5
+ echo $ECHO_N "checking whether to build example version of /bin/su... $ECHO_C" >&6
diff -r a9d8a1956ffa -r 89f4f5d8710d security/openpam/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openpam/patches/patch-ab Thu Jan 13 21:51:08 2005 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/01/13 21:51:08 jlam Exp $
+
+--- lib/openpam_configure.c.orig       2004-02-09 18:00:00.000000000 -0500
++++ lib/openpam_configure.c
+@@ -262,11 +262,13 @@ openpam_read_chain(pam_handle_t *pamh,
+       return (-1);
+ }
+ 
++#ifndef SYSCONFDIR
++#define SYSCONFDIR    "/usr/local/etc"
++#endif
++
+ static const char *openpam_policy_path[] = {
+-      "/etc/pam.d/",
+-      "/etc/pam.conf",
+-      "/usr/local/etc/pam.d/",
+-      "/usr/local/etc/pam.conf",
++      SYSCONFDIR "/pam.d/",
++      SYSCONFDIR "/pam.conf",
+       NULL
+ };
+ 



Home | Main Index | Thread Index | Old Index