summaryrefslogtreecommitdiff
path: root/security/openpam
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-02-18 16:48:12 +0000
committerjlam <jlam@pkgsrc.org>2008-02-18 16:48:12 +0000
commiteb1248c6b06871c4747384f8d1a9188d591ccfdd (patch)
tree3e66e056afb7280521edffb9d63b0526967214d1 /security/openpam
parent4d5bc282941e24522dce9867523604a032c5bf26 (diff)
downloadpkgsrc-eb1248c6b06871c4747384f8d1a9188d591ccfdd.tar.gz
Update security/openpam to openpam-20071221 (Hydrangea). Changes from
version 20050616 (Figwort) include: - ENHANCE: API function arguments are now const where appropriate, to match corresponding changes in the Solaris PAM and Linux-PAM APIs. - ENHANCE: corrected a number of C namespace violations. - ENHANCE: the module cache has been removed, allowing long-lived applications to pick up module changes. This also allows multiple threads to use PAM simultaneously (as long as they use separate PAM contexts), since the module cache was the only part of OpenPAM that was not thread-safe.
Diffstat (limited to 'security/openpam')
-rw-r--r--security/openpam/Makefile4
-rw-r--r--security/openpam/PLIST3
-rw-r--r--security/openpam/distinfo13
-rw-r--r--security/openpam/patches/patch-aa14
-rw-r--r--security/openpam/patches/patch-ab6
-rw-r--r--security/openpam/patches/patch-ac14
6 files changed, 24 insertions, 30 deletions
diff --git a/security/openpam/Makefile b/security/openpam/Makefile
index 060d772f910..a365713f7a3 100644
--- a/security/openpam/Makefile
+++ b/security/openpam/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2007/09/06 18:54:44 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2008/02/18 16:48:12 jlam Exp $
-DISTNAME= openpam-20050616
+DISTNAME= openpam-20071221
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openpam/}
diff --git a/security/openpam/PLIST b/security/openpam/PLIST
index fe5a1fdc3e0..e6c7574b00a 100644
--- a/security/openpam/PLIST
+++ b/security/openpam/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.4 2007/09/06 18:54:44 joerg Exp $
+@comment $NetBSD: PLIST,v 1.5 2008/02/18 16:48:12 jlam Exp $
include/security/openpam.h
+include/security/openpam_attr.h
include/security/openpam_version.h
include/security/pam_appl.h
include/security/pam_constants.h
diff --git a/security/openpam/distinfo b/security/openpam/distinfo
index cfec3793875..8ab3271aaa7 100644
--- a/security/openpam/distinfo
+++ b/security/openpam/distinfo
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.5 2007/09/06 18:54:44 joerg Exp $
+$NetBSD: distinfo,v 1.6 2008/02/18 16:48:12 jlam Exp $
-SHA1 (openpam-20050616.tar.gz) = 1334b9507b8ec288c7c95399b9338b3781b29ebb
-RMD160 (openpam-20050616.tar.gz) = 4506364a65ea1bf8f7aa80254f593c1cad64ebbd
-Size (openpam-20050616.tar.gz) = 375459 bytes
-SHA1 (patch-aa) = e76a722fa78a70fa91da922e465316cbdaaee948
-SHA1 (patch-ab) = 9e5149c20b1ea0c0b937e7d90e5c6b609d5b4796
-SHA1 (patch-ac) = 3fa3a314e2659bf14bb932a753c13094bfa03c54
+SHA1 (openpam-20071221.tar.gz) = 43d41fa4a86199077c4fe193c52c59365f4c317e
+RMD160 (openpam-20071221.tar.gz) = cd8f7e94984693b0f892f226bfed6a3f9b24ec72
+Size (openpam-20071221.tar.gz) = 396932 bytes
+SHA1 (patch-ab) = a3da5cc8629a3b0c99483f46ccc600c25a10a927
+SHA1 (patch-ac) = 72fb5ffb67edf9892e6c2db5485fdf51ea4b50ce
diff --git a/security/openpam/patches/patch-aa b/security/openpam/patches/patch-aa
deleted file mode 100644
index a35353ea4ca..00000000000
--- a/security/openpam/patches/patch-aa
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2007/09/06 18:56:25 joerg Exp $
-
---- config.h.in.orig 2007-09-06 20:48:16.000000000 +0200
-+++ config.h.in
-@@ -43,7 +43,9 @@
- #undef LIB_MAJ
-
- /* OpenPAM modules directory */
-+#ifndef OPENPAM_MODULES_DIR
- #undef OPENPAM_MODULES_DIR
-+#endif
-
- /* Name of package */
- #undef PACKAGE
diff --git a/security/openpam/patches/patch-ab b/security/openpam/patches/patch-ab
index 72828eca9e8..023ae22ce0b 100644
--- a/security/openpam/patches/patch-ab
+++ b/security/openpam/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.1.1.1 2005/01/13 21:51:08 jlam Exp $
+$NetBSD: patch-ab,v 1.2 2008/02/18 16:48:12 jlam Exp $
---- lib/openpam_configure.c.orig 2004-02-09 18:00:00.000000000 -0500
+--- lib/openpam_configure.c.orig 2007-12-21 06:36:24.000000000 -0500
+++ lib/openpam_configure.c
-@@ -262,11 +262,13 @@ openpam_read_chain(pam_handle_t *pamh,
+@@ -263,11 +263,13 @@ openpam_read_chain(pam_handle_t *pamh,
return (-1);
}
diff --git a/security/openpam/patches/patch-ac b/security/openpam/patches/patch-ac
index 27a1b4af939..6675d31960b 100644
--- a/security/openpam/patches/patch-ac
+++ b/security/openpam/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.2 2005/02/10 02:55:39 jlam Exp $
+$NetBSD: patch-ac,v 1.3 2008/02/18 16:48:12 jlam Exp $
---- lib/Makefile.in.orig 2005-01-31 18:00:00.000000000 -0500
+--- lib/Makefile.in.orig 2007-12-21 06:44:28.000000000 -0500
+++ lib/Makefile.in
-@@ -137,7 +137,7 @@ CC = @CC@
+@@ -116,7 +116,7 @@ CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
@@ -11,3 +11,11 @@ $NetBSD: patch-ac,v 1.2 2005/02/10 02:55:39 jlam Exp $
CRYPT_LIBS = @CRYPT_LIBS@
CXX = @CXX@
CXXCPP = @CXXCPP@
+@@ -267,7 +267,6 @@ libpam_la_SOURCES = \
+ pam_vprompt.c \
+ $(NULL)
+
+-libpam_la_CFLAGS = -DOPENPAM_MODULES_DIR='"@OPENPAM_MODULES_DIR@/"'
+ libpam_la_LDFLAGS = -no-undefined -version-info @LIB_MAJ@ @DL_LIBS@
+ EXTRA_DIST = \
+ pam_authenticate_secondary.c \