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:   jschauma
Date:           Fri Sep 13 18:07:52 UTC 2024

Modified Files:
        pkgsrc/doc: CHANGES-2024
Added Files:
        pkgsrc/security/oqs-provider: DESCR MESSAGE Makefile PLIST distinfo

Log Message:
add security/oqs-provider version 0.6.1

oqs-provider provides an Open Quantum Safe provider for OpenSSL (3.x) to
enable quantum-safe cryptography (QSC).

Currently this provider fully enables quantum-safe cryptography for KEM
key establishment in TLS1.3 including management of such keys via the
OpenSSL (3.0) provider interface and hybrid KEM schemes. Also, QSC
signatures including CMS and CMP functionality are available via the
OpenSSL EVP interface. Key persistence is provided via the encode/decode
mechanism, X.509 data structures, and PKCS#12 for bundling a private key
with its corresponding X.509 certificate.


To generate a diff of this commit:
cvs rdiff -u -r1.5616 -r1.5617 pkgsrc/doc/CHANGES-2024
cvs rdiff -u -r0 -r1.1 pkgsrc/security/oqs-provider/DESCR \
    pkgsrc/security/oqs-provider/MESSAGE \
    pkgsrc/security/oqs-provider/Makefile pkgsrc/security/oqs-provider/PLIST \
    pkgsrc/security/oqs-provider/distinfo

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-2024
diff -u pkgsrc/doc/CHANGES-2024:1.5616 pkgsrc/doc/CHANGES-2024:1.5617
--- pkgsrc/doc/CHANGES-2024:1.5616      Fri Sep 13 18:04:46 2024
+++ pkgsrc/doc/CHANGES-2024     Fri Sep 13 18:07:51 2024
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2024,v 1.5616 2024/09/13 18:04:46 pin Exp $
+$NetBSD: CHANGES-2024,v 1.5617 2024/09/13 18:07:51 jschauma Exp $
 
 Changes to the packages collection and infrastructure in 2024:
 
@@ -8641,3 +8641,4 @@ Changes to the packages collection and i
        Updated sysutils/macchina to 6.2.1 [pin 2024-09-13]
        Added security/liboqs version 0.10.1 [jschauma 2024-09-13]
        Updated math/four-bar-rs to 7.0.2 [pin 2024-09-13]
+       Added security/oqs-provider version 0.6.1 [jschauma 2024-09-13]

Added files:

Index: pkgsrc/security/oqs-provider/DESCR
diff -u /dev/null pkgsrc/security/oqs-provider/DESCR:1.1
--- /dev/null   Fri Sep 13 18:07:52 2024
+++ pkgsrc/security/oqs-provider/DESCR  Fri Sep 13 18:07:51 2024
@@ -0,0 +1,10 @@
+oqs-provider provides an Open Quantum Safe provider for OpenSSL (3.x) to
+enable quantum-safe cryptography (QSC).
+
+Currently this provider fully enables quantum-safe cryptography for KEM
+key establishment in TLS1.3 including management of such keys via the
+OpenSSL (3.0) provider interface and hybrid KEM schemes. Also, QSC
+signatures including CMS and CMP functionality are available via the
+OpenSSL EVP interface. Key persistence is provided via the encode/decode
+mechanism, X.509 data structures, and PKCS#12 for bundling a private key
+with its corresponding X.509 certificate.
Index: pkgsrc/security/oqs-provider/MESSAGE
diff -u /dev/null pkgsrc/security/oqs-provider/MESSAGE:1.1
--- /dev/null   Fri Sep 13 18:07:52 2024
+++ pkgsrc/security/oqs-provider/MESSAGE        Fri Sep 13 18:07:51 2024
@@ -0,0 +1,28 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2024/09/13 18:07:51 jschauma Exp $
+
+In order to make the OpenQuantumSafe provider available to your OpenSSL
+commands by default, add the following snippet to your openssl.cnf
+(${PREFIX}/etc/openssl/openssl.cnf if your system OpenSSL is <= 3.x and
+this package pulled in a newer OpenSSL package, /etc/openssl/openssl.cnf
+otherwise):
+
+--------------------------------
+openssl_conf = openssl_init
+
+[openssl_init]
+providers = provider_sect
+
+[provider_sect]
+default = default_sect
+oqsprovider = oqsprovider_sect
+
+[default_sect]
+activate = 1
+
+[oqsprovider_sect]
+activate = 1
+module = ${PREFIX}/lib/ossl-modules/oqsprovider.so
+--------------------------------
+
+===========================================================================
Index: pkgsrc/security/oqs-provider/Makefile
diff -u /dev/null pkgsrc/security/oqs-provider/Makefile:1.1
--- /dev/null   Fri Sep 13 18:07:52 2024
+++ pkgsrc/security/oqs-provider/Makefile       Fri Sep 13 18:07:51 2024
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2024/09/13 18:07:51 jschauma Exp $
+
+VERSION=       0.6.1
+DISTNAME=      oqs-provider-${VERSION}
+CATEGORIES=    security
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=open-quantum-safe/}
+
+MAINTAINER=    jschauma%NetBSD.org@localhost
+HOMEPAGE=      https://openquantumsafe.org/applications/tls.html
+COMMENT=       Open Quantum Safe provider for OpenSSL
+LICENSE=       mit
+
+PLIST_SUBST+=  VERSION="${VERSION}"
+
+do-test:
+       cd ${WRKSRC}/${CMAKE_BUILD_DIR} && ${PREFIX}/ctest --test-dir .
+
+do-install:
+       mkdir -p ${DESTDIR}${PREFIX}/lib/ossl-modules
+       mkdir -p ${DESTDIR}${PREFIX}/include/oqsprov
+       ${INSTALL_DATA} ${WRKSRC}/oqsprov/oqs_prov.h                    \
+               ${DESTDIR}${PREFIX}/include/oqsprov/oqs_prov.h
+       ${INSTALL_DATA} ${WRKSRC}/${CMAKE_BUILD_DIR}/lib/oqsprovider.so \
+               ${DESTDIR}${PREFIX}/lib/ossl-modules/oqsprovider.so.${VERSION}
+       ln -s oqsprovider.so.${VERSION} ${DESTDIR}${PREFIX}/lib/ossl-modules/oqsprovider.so
+
+.include "../../devel/cmake/build.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../security/liboqs/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/oqs-provider/PLIST
diff -u /dev/null pkgsrc/security/oqs-provider/PLIST:1.1
--- /dev/null   Fri Sep 13 18:07:52 2024
+++ pkgsrc/security/oqs-provider/PLIST  Fri Sep 13 18:07:51 2024
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2024/09/13 18:07:51 jschauma Exp $
+include/oqsprov/oqs_prov.h
+lib/ossl-modules/oqsprovider.so
+lib/ossl-modules/oqsprovider.so.${VERSION}
Index: pkgsrc/security/oqs-provider/distinfo
diff -u /dev/null pkgsrc/security/oqs-provider/distinfo:1.1
--- /dev/null   Fri Sep 13 18:07:52 2024
+++ pkgsrc/security/oqs-provider/distinfo       Fri Sep 13 18:07:51 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/09/13 18:07:51 jschauma Exp $
+
+BLAKE2s (oqs-provider-0.6.1.tar.gz) = fa55566d99c730d07246d323ad5ae7a589164dc6b5abd573c97e50062cb92beb
+SHA512 (oqs-provider-0.6.1.tar.gz) = 4c431b20fedf6680e04a4f57d3dedad76ca606f51ddbf6e3bd90e516c65b6d20df60142f3fa68a6a0f73d5d2be7f27d82ae6929a3b73b522acfbfaef9420815a
+Size (oqs-provider-0.6.1.tar.gz) = 201436 bytes



Home | Main Index | Thread Index | Old Index