pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: manu
Date: Sun Mar 29 02:18:56 UTC 2020
Modified Files:
pkgsrc/doc: CHANGES-2020
pkgsrc/security/pam-p11: Makefile PLIST distinfo
pkgsrc/security/pam-p11/patches: patch-ab
Added Files:
pkgsrc/security/pam-p11/patches: patch-src_login.c patch-src_passwd.c
patch-src_test.c
Removed Files:
pkgsrc/security/pam-p11/patches: patch-aa
Log Message:
Update pam-p11 to 0.3.1
Changes since pam-p11-0.1.5 from the NEWS file:
New in 0.3.1; 2019-09-11; Frank Morgner
* CVE-2019-16058: Fixed buffer overflow when creating signatures longer than 256
bytes
New in 0.3.0; 2019-04-24; Frank Morgner
* Add Italian translation
* Add support for matching the PIN-input with a regular expression
* Add support for macOS
* Add support for building with OpenSSL 1.1.1
* Add support for nistp256/384/521 keys in authorized_keys file
New in 0.2.0; 2018-05-16; Frank Morgner
* Add user documentation in Readme.md
* Add support for PIN pad readers
* Add support for changing/unblocking PIN (use with passwd)
* Add support for localized user feedback
* Add support for cards without certificates (e.g. OpenPGP card)
* Add support for PKCS#11 modules with multiple slots
* Add support for building with OpenSSL 1.1
* Merged opensc and openssh module into pam_p11.so
* Fixed memory leaks, coverity issues, compiler warnings
* Created `test-passwd` and `test-login` for testing standard use cases
New in 0.1.6; 2017-03-06; Alon Bar-Lev
* Build system rewritten (NOTICE: configure options was modified).
To generate a diff of this commit:
cvs rdiff -u -r1.1960 -r1.1961 pkgsrc/doc/CHANGES-2020
cvs rdiff -u -r1.13 -r1.14 pkgsrc/security/pam-p11/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/pam-p11/PLIST \
pkgsrc/security/pam-p11/distinfo
cvs rdiff -u -r1.3 -r0 pkgsrc/security/pam-p11/patches/patch-aa
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/pam-p11/patches/patch-ab
cvs rdiff -u -r0 -r1.1 pkgsrc/security/pam-p11/patches/patch-src_login.c \
pkgsrc/security/pam-p11/patches/patch-src_passwd.c \
pkgsrc/security/pam-p11/patches/patch-src_test.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/doc/CHANGES-2020
diff -u pkgsrc/doc/CHANGES-2020:1.1960 pkgsrc/doc/CHANGES-2020:1.1961
--- pkgsrc/doc/CHANGES-2020:1.1960 Sun Mar 29 02:13:32 2020
+++ pkgsrc/doc/CHANGES-2020 Sun Mar 29 02:18:55 2020
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2020,v 1.1960 2020/03/29 02:13:32 manu Exp $
+$NetBSD: CHANGES-2020,v 1.1961 2020/03/29 02:18:55 manu Exp $
Changes to the packages collection and infrastructure in 2020:
@@ -2639,3 +2639,4 @@ Changes to the packages collection and i
Updated devel/ncurses to 6.2nb1 [wiz 2020-03-28]
Updated textproc/docbook-xsl to 1.79.2nb3 [wiz 2020-03-28]
Updated security/libp11 to 0.4.4 [manu 2020-03-29]
+ Updated security/pam-p11 to 0.3.1 [manu 2020-03-29]
Index: pkgsrc/security/pam-p11/Makefile
diff -u pkgsrc/security/pam-p11/Makefile:1.13 pkgsrc/security/pam-p11/Makefile:1.14
--- pkgsrc/security/pam-p11/Makefile:1.13 Sat Jan 18 21:50:43 2020
+++ pkgsrc/security/pam-p11/Makefile Sun Mar 29 02:18:56 2020
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.13 2020/01/18 21:50:43 jperkin Exp $
+# $NetBSD: Makefile,v 1.14 2020/03/29 02:18:56 manu Exp $
#
-DISTNAME= pam_p11-0.1.5
-PKGREVISION= 5
+DISTNAME= pam_p11-0.3.1
+#PKGREVISION= 1
CATEGORIES= security
-# This has a bad name and doesn't have generated auto* files.
-#MASTER_SITES= https://github.com/OpenSC/pam_p11/archive/
-MASTER_SITES= ${MASTER_SITE_BACKUP}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenSC/}
+GITHUB_TAG= pam_p11
+GITHUB_RELEASE= pam_p11-0.3.1
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
#HOMEPAGE= https://opensc-project.org/opensc/wiki/pam_p11
@@ -17,6 +17,7 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config autoconf automake
+WRKSRC= ${WRKDIR}/${DISTNAME}
pre-configure:
cd ${WRKSRC} && autoreconf -f -i
Index: pkgsrc/security/pam-p11/PLIST
diff -u pkgsrc/security/pam-p11/PLIST:1.5 pkgsrc/security/pam-p11/PLIST:1.6
--- pkgsrc/security/pam-p11/PLIST:1.5 Mon Jan 1 22:29:54 2018
+++ pkgsrc/security/pam-p11/PLIST Sun Mar 29 02:18:56 2020
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2018/01/01 22:29:54 rillig Exp $
-lib/security/pam_p11_opensc.la
-lib/security/pam_p11_openssh.la
+@comment $NetBSD: PLIST,v 1.6 2020/03/29 02:18:56 manu Exp $
+lib/security/pam_p11.la
+share/doc/pam_p11/NEWS
+share/doc/pam_p11/README.md
Index: pkgsrc/security/pam-p11/distinfo
diff -u pkgsrc/security/pam-p11/distinfo:1.5 pkgsrc/security/pam-p11/distinfo:1.6
--- pkgsrc/security/pam-p11/distinfo:1.5 Wed Nov 4 01:18:00 2015
+++ pkgsrc/security/pam-p11/distinfo Sun Mar 29 02:18:56 2020
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 01:18:00 agc Exp $
+$NetBSD: distinfo,v 1.6 2020/03/29 02:18:56 manu Exp $
-SHA1 (pam_p11-0.1.5.tar.gz) = 4ff838140e452c84143445dcf6a3f158009b83b0
-RMD160 (pam_p11-0.1.5.tar.gz) = 57930c4b93182dd36cd2a1c81231638f813b47d2
-SHA512 (pam_p11-0.1.5.tar.gz) = 848c4671daa535db67c16b2eedc0495ed68cedeffe5a8c657310ff10fcfd17d2a8b4708f343b4b7b17498953ad47fdc133eb7ea885f94f795b29ff3973ceea12
-Size (pam_p11-0.1.5.tar.gz) = 348181 bytes
-SHA1 (patch-aa) = c82f6de3fdb094601f5250280c7a5727d41d983d
-SHA1 (patch-ab) = 701f8e878f928c98f0037b363099f9c12ece429e
-SHA1 (patch-src_Makefile.am) = b9b9883552a4e0f01f78473c22e97534d075f05e
+SHA1 (pam_p11-0.3.1.tar.gz) = 540e7e0d342d9ef74aa9d0452a7b1f7f9864db0c
+RMD160 (pam_p11-0.3.1.tar.gz) = 1f3cc07a7da062f5b4df9681f807f3fc75a70cd5
+SHA512 (pam_p11-0.3.1.tar.gz) = caaa6882d4c007dfaba5974dc420bc45aa225f705679d170fdc9576aa49cbd24bba6985f14eb2bca97d4fe37aaf6088641add912dfbb93740b7d634f448addcf
+Size (pam_p11-0.3.1.tar.gz) = 422940 bytes
+SHA1 (patch-ab) = d953fe263b8cbd0b659d79b03f7f5ccc78404d5d
+SHA1 (patch-src_login.c) = 985a660cfbf76368f8d18527fef43180a81dc3be
+SHA1 (patch-src_passwd.c) = 88a5280eb0b00b3687c04559726dbabca345113c
+SHA1 (patch-src_test.c) = 81c44e7310086f8537dc65ecfcd41c71003edc29
Index: pkgsrc/security/pam-p11/patches/patch-ab
diff -u pkgsrc/security/pam-p11/patches/patch-ab:1.3 pkgsrc/security/pam-p11/patches/patch-ab:1.4
--- pkgsrc/security/pam-p11/patches/patch-ab:1.3 Wed Jul 14 07:14:29 2010
+++ pkgsrc/security/pam-p11/patches/patch-ab Sun Mar 29 02:18:56 2020
@@ -1,31 +1,16 @@
-$NetBSD: patch-ab,v 1.3 2010/07/14 07:14:29 manu Exp $
---- src/pam_p11.c.orig 2010-06-29 08:56:07.000000000 +0200
-+++ src/pam_p11.c 2010-06-29 09:05:03.000000000 +0200
-@@ -21,10 +21,16 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <unistd.h>
-
-+#include <openssl/sha.h>
-+
+$NetBSD: patch-ab,v 1.4 2020/03/29 02:18:56 manu Exp $
+--- src/pam_p11.c.orig 2020-03-28 02:10:02.159482871 +0000
++++ src/pam_p11.c 2020-03-28 02:12:32.285912554 +0000
+@@ -32,8 +32,12 @@
#include <libp11.h>
+ #include <regex.h>
+ #include <stdlib.h>
+#ifdef __NetBSD__
+#define NO_STATIC_MODULES
+#endif
+
- /* We have to make this definitions before we include the pam header files! */
- #define PAM_SM_AUTH
- #define PAM_SM_ACCOUNT
- #define PAM_SM_SESSION
-@@ -43,9 +49,9 @@
-
- #define LOGNAME "pam_p11" /* name for log-file entries */
-
- #define RANDOM_SOURCE "/dev/urandom"
--#define RANDOM_SIZE 128
-+#define RANDOM_SIZE SHA_DIGEST_LENGTH
- #define MAX_SIGSIZE 256
-
- extern int match_user(X509 * x509, const char *login);
-
+ /* openssl deprecated API emulation */
+ #ifndef HAVE_EVP_MD_CTX_NEW
+ #define EVP_MD_CTX_new() EVP_MD_CTX_create()
+ #endif
Added files:
Index: pkgsrc/security/pam-p11/patches/patch-src_login.c
diff -u /dev/null pkgsrc/security/pam-p11/patches/patch-src_login.c:1.1
--- /dev/null Sun Mar 29 02:18:56 2020
+++ pkgsrc/security/pam-p11/patches/patch-src_login.c Sun Mar 29 02:18:56 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_login.c,v 1.1 2020/03/29 02:18:56 manu Exp $
+--- src/login.c.orig 2020-03-28 02:25:09.912642023 +0000
++++ src/login.c 2020-03-28 02:25:31.170971060 +0000
+@@ -19,8 +19,12 @@
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+
++#ifdef __NetBSD__
++#define NO_STATIC_MODULES
++#endif
++
+ #include <security/pam_modules.h>
+
+ extern int pam_sm_test(pam_handle_t *pamh, int flags, int argc, const char **argv);
+
Index: pkgsrc/security/pam-p11/patches/patch-src_passwd.c
diff -u /dev/null pkgsrc/security/pam-p11/patches/patch-src_passwd.c:1.1
--- /dev/null Sun Mar 29 02:18:56 2020
+++ pkgsrc/security/pam-p11/patches/patch-src_passwd.c Sun Mar 29 02:18:56 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_passwd.c,v 1.1 2020/03/29 02:18:56 manu Exp $
+--- src/passwd.c.orig 2020-03-28 02:26:07.941903613 +0000
++++ src/passwd.c 2020-03-28 02:26:17.315839015 +0000
+@@ -19,8 +19,12 @@
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+
++#ifdef __NetBSD__
++#define NO_STATIC_MODULES
++#endif
++
+ #include <security/pam_modules.h>
+
+ extern int pam_sm_test(pam_handle_t *pamh, int flags, int argc, const char **argv);
+
Index: pkgsrc/security/pam-p11/patches/patch-src_test.c
diff -u /dev/null pkgsrc/security/pam-p11/patches/patch-src_test.c:1.1
--- /dev/null Sun Mar 29 02:18:56 2020
+++ pkgsrc/security/pam-p11/patches/patch-src_test.c Sun Mar 29 02:18:56 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_test.c,v 1.1 2020/03/29 02:18:56 manu Exp $
+--- src/test.c.orig 2020-03-28 02:23:37.173089076 +0000
++++ src/test.c 2020-03-28 02:23:57.222211243 +0000
+@@ -19,8 +19,12 @@
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+
++#ifdef __NetBSD__
++#define NO_STATIC_MODULES
++#endif
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
Home |
Main Index |
Thread Index |
Old Index