pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/pkcs11-helper



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Apr 10 08:39:23 UTC 2021

Modified Files:
        pkgsrc/security/pkcs11-helper: Makefile buildlink3.mk distinfo
            options.mk
Removed Files:
        pkgsrc/security/pkcs11-helper/patches: patch-aa

Log Message:
pkcs11-helper: update to 1.27

- fixes build with openssl 1.1
- add support for mbedtls as an option
- avoids regenerating autoconf bits

2020-11-17 - Version 1.27

* core: handle PIN expiration after C_Login as C_Login may take a while
* core: return explict success when plugin&play and no threading and no
  safefork, thanks to Tunnelblick

2020-01-21 - Version 1.26

* openssl: build with openssl ec disabled
* openssl: support RSA_NO_PADDING padding, thanks to Selva Nair
* core: reduce mutex lock scope of add/remove provider, thanks to Frank Morgner
* core: improve the fork fixup sequence

2018-08-16 - Version 1.25.1

 * core: build with threading disabled

2018-08-04 - Version 1.25

 * core: do not attempt to initialize provider with fork mode is not safe. Too
   many providers do not follow the PKCS#11 spec.

2018-06-15 - Version 1.24

 * build: support libressl-2.7

2018-06-02 - Version 1.23

 * build: cleanups.
 * openssl: rework support 1.1.

2017-02-12 - Version 1.22

 * spec: minor cleanups.

2017-01-06 - Version 1.21

 * mbedtls: fix missing logic if issur certificate, thanks to Steffan Karger

2016-12-08 - Version 1.20

 * polarssl: support polarssl-1.3, thanks to Steffan Karger.
 * certificate: ignore certificate object without CKA_ID.
 * openssl: fix memory leak, thanks to ASPj.
 * openssl: support 1.1 and libressl, thanks to Daiki Ueno.

2013-10-11 - Version 1.11

 * openssl: support generic pkey.
 * openssl: add dsa support.
 * openssl: add ecdsa support, thanks for Sanaullah for testing.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/security/pkcs11-helper/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/security/pkcs11-helper/buildlink3.mk
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/pkcs11-helper/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/pkcs11-helper/options.mk
cvs rdiff -u -r1.1 -r0 pkgsrc/security/pkcs11-helper/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/pkcs11-helper/Makefile
diff -u pkgsrc/security/pkcs11-helper/Makefile:1.26 pkgsrc/security/pkcs11-helper/Makefile:1.27
--- pkgsrc/security/pkcs11-helper/Makefile:1.26 Fri Apr  9 06:54:58 2021
+++ pkgsrc/security/pkcs11-helper/Makefile      Sat Apr 10 08:39:23 2021
@@ -1,22 +1,20 @@
-# $NetBSD: Makefile,v 1.26 2021/04/09 06:54:58 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2021/04/10 08:39:23 nia Exp $
 
-DISTNAME=      pkcs11-helper-1.10
-PKGREVISION=   14
+DISTNAME=      pkcs11-helper-1.27.0
 CATEGORIES=    security
-MASTER_SITES=  https://github.com/downloads/alonbl/pkcs11-helper/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=OpenSC/}
+GITHUB_RELEASE=        ${DISTNAME:R}
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    gdt%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/OpenSC/OpenSC/wiki/pkcs11-helper
-COMMENT=       Library that simplifies the interaction with PKCS\#11
+HOMEPAGE=      https://github.com/OpenSC/pkcs11-helper
+COMMENT=       Library that simplifies the interaction with PKCS11
 LICENSE=       modified-bsd OR gnu-gpl-v2
 
-BROKEN=                "Fails to build with OpenSSL 1.1"
-
 # Not documented, but relatively clear from warnings.
 USE_LANGUAGES=         c99
 USE_LIBTOOL=           yes
-USE_TOOLS+=            autoconf autoreconf gmake pkg-config
+USE_TOOLS+=            gmake pkg-config
 GNU_CONFIGURE=         yes
 
 CONFIGURE_ARGS+=       --enable-strict
@@ -24,8 +22,6 @@ CONFIGURE_ARGS+=      --enable-pedantic
 
 PKGCONFIG_OVERRIDE+=   lib/libpkcs11-helper-1.pc.in
 
-pre-configure:
-       cd ${WRKSRC} && autoreconf
-
 .include "options.mk"
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/pkcs11-helper/buildlink3.mk
diff -u pkgsrc/security/pkcs11-helper/buildlink3.mk:1.19 pkgsrc/security/pkcs11-helper/buildlink3.mk:1.20
--- pkgsrc/security/pkcs11-helper/buildlink3.mk:1.19    Fri Apr  9 06:54:58 2021
+++ pkgsrc/security/pkcs11-helper/buildlink3.mk Sat Apr 10 08:39:23 2021
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.19 2021/04/09 06:54:58 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2021/04/10 08:39:23 nia Exp $
 
 BUILDLINK_TREE+=       pkcs11-helper
 
@@ -12,13 +12,16 @@ BUILDLINK_PKGSRCDIR.pkcs11-helper?= ../.
 pkgbase := pkcs11-helper
 .include "../../mk/pkg-build-options.mk"
 
-.if !empty(PKG_BUILD_OPTIONS.pkcs11-helper:Mopenssl)
+.if ${PKG_BUILD_OPTIONS.pkcs11-helper:Mopenssl}
 .  include "../../security/openssl/buildlink3.mk"
 .endif
-.if !empty(PKG_BUILD_OPTIONS.pkcs11-helper:Mgnutls)
+.if ${PKG_BUILD_OPTIONS.pkcs11-helper:Mgnutls}
 .  include "../../security/gnutls/buildlink3.mk"
 .endif
-.if !empty(PKG_BUILD_OPTIONS.pkcs11-helper:Mnss)
+.if ${PKG_BUILD_OPTIONS.pkcs11-helper:Mmbedtls}
+.  include "../../security/mbedtls/buildlink3.mk"
+.endif
+.if ${PKG_BUILD_OPTIONS.pkcs11-helper:Mnss}
 .  include "../../devel/nss/buildlink3.mk"
 .endif
 

Index: pkgsrc/security/pkcs11-helper/distinfo
diff -u pkgsrc/security/pkcs11-helper/distinfo:1.4 pkgsrc/security/pkcs11-helper/distinfo:1.5
--- pkgsrc/security/pkcs11-helper/distinfo:1.4  Wed Nov  4 01:18:01 2015
+++ pkgsrc/security/pkcs11-helper/distinfo      Sat Apr 10 08:39:23 2021
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 01:18:01 agc Exp $
+$NetBSD: distinfo,v 1.5 2021/04/10 08:39:23 nia Exp $
 
-SHA1 (pkcs11-helper-1.10.tar.bz2) = 8c1e6dde1f42e9bf59da429c5035950042b540f4
-RMD160 (pkcs11-helper-1.10.tar.bz2) = c1f8aed0ea956cc6ac84147223f4bf03db5e06eb
-SHA512 (pkcs11-helper-1.10.tar.bz2) = 7d1614cec8586779fe6c1fb15f66f1e33281675d1274677730b91a3188f07ec5809f043a597be2cea40113545d336a67ccbb2f7368556dab7173e33a01455287
-Size (pkcs11-helper-1.10.tar.bz2) = 375741 bytes
-SHA1 (patch-aa) = 05294e1f777717a54dc63425edd5cb8c13a70978
+SHA1 (pkcs11-helper-1.27.0.tar.bz2) = 1f7046c25968004ef176c0aace90ca6488fbb987
+RMD160 (pkcs11-helper-1.27.0.tar.bz2) = f30d78341e140ebeb45a27289b0afd55b7127363
+SHA512 (pkcs11-helper-1.27.0.tar.bz2) = 5799342cb755dae8b7ba0880d652e9d4b4f1e52a74043015e1185e1e059326cb2689bb51957db98060ac2257dee34e2f047dcf3d52ad59fd49b91fedcfc5332b
+Size (pkcs11-helper-1.27.0.tar.bz2) = 422425 bytes

Index: pkgsrc/security/pkcs11-helper/options.mk
diff -u pkgsrc/security/pkcs11-helper/options.mk:1.2 pkgsrc/security/pkcs11-helper/options.mk:1.3
--- pkgsrc/security/pkcs11-helper/options.mk:1.2        Thu Apr 28 07:20:46 2011
+++ pkgsrc/security/pkcs11-helper/options.mk    Sat Apr 10 08:39:23 2021
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.2 2011/04/28 07:20:46 adam Exp $
+# $NetBSD: options.mk,v 1.3 2021/04/10 08:39:23 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.pkcs11-helper
-PKG_SUPPORTED_OPTIONS= openssl gnutls nss
+PKG_SUPPORTED_OPTIONS= openssl gnutls nss mbedtls
 PKG_SUGGESTED_OPTIONS= openssl
 
 .include "../../mk/bsd.options.mk"
@@ -9,7 +9,6 @@ PKG_SUGGESTED_OPTIONS=  openssl
 # crypto engines to use
 
 .if !empty(PKG_OPTIONS:Mopenssl)
-.include "../../security/openssl/buildlink3.mk"
 CONFIGURE_ARGS+=--enable-crypto-engine-openssl
 .else
 CONFIGURE_ARGS+=--disable-crypto-engine-openssl
@@ -22,6 +21,13 @@ CONFIGURE_ARGS+=--enable-crypto-engine-g
 CONFIGURE_ARGS+=--disable-crypto-engine-gnutls
 .endif
 
+.if !empty(PKG_OPTIONS:Mmbedtls)
+.include "../../security/mbedtls/buildlink3.mk"
+CONFIGURE_ARGS+=--enable-crypto-engine-mbedtls
+.else
+CONFIGURE_ARGS+=--disable-crypto-engine-mbedtls
+.endif
+
 .if !empty(PKG_OPTIONS:Mnss)
 .include "../../devel/nss/buildlink3.mk"
 CONFIGURE_ARGS+=--enable-crypto-engine-nss



Home | Main Index | Thread Index | Old Index