diff --git a/security/pkcs11-tools/Makefile b/security/pkcs11-tools/Makefile index 26cb5b80b6dc..63454b289a95 100644 --- a/security/pkcs11-tools/Makefile +++ b/security/pkcs11-tools/Makefile @@ -1,57 +1,57 @@ PORTNAME= pkcs11-tools DISTVERSIONPREFIX= v -DISTVERSION= 2.6.0 +DISTVERSION= 3.0.0 CATEGORIES= security MAINTAINER= eric.devolder@gmail.com COMMENT= Tools for managing PKCS11 cryptographic tokens WWW= https://github.com/Mastercard/pkcs11-tools LICENSE= APACHE20 THIRDPARTY LICENSE_COMB= multi LICENSE_NAME_THIRDPARTY= Third-party licenses LICENSE_FILE_THIRDPARTY= ${WRKSRC}/docs/TPLICENSES.md LICENSE_PERMS_THIRDPARTY= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -BROKEN_SSL= libressl openssl openssl31 -BROKEN_SSL_REASON_libressl= error: use of undeclared identifier 'EVP_PKEY_X25519' (LibreSSL has no support for Edwards curves) -BROKEN_SSL_REASON_openssl= error: undefined symbol: EVP_PKEY_* -BROKEN_SSL_REASON_openssl31= error: undefined symbol: EVP_PKEY_* - BUILD_DEPENDS= autoconf-archive>0:devel/autoconf-archive \ flex:textproc/flex -RUN_DEPENDS= bash:shells/bash USES= autoreconf:build bison compiler:c11 libtool:build pkgconfig ssl +IGNORE_SSL= libressl openssl111 openssl34 +IGNORE_SSL_REASON_openssl111= No support for OpenSSL 3.X providers +IGNORE_SSL_REASON_libressl= No support for OpenSSL 3.X providers +IGNORE_SSL_REASON_openssl34= No support for PQC algotithms + USE_GITHUB= yes GH_ACCOUNT= Mastercard -GH_TUPLE= coreutils:gnulib:d1b40e0:gnulib \ - oasis-tcs:pkcs11:a136aac:oasis_pkcs11 - -OPTIONS_DEFINE= DOCS -OPTIONS_DEFAULT=DOCS +GH_TUPLE= coreutils:gnulib:34e1754363:gnulib \ + oasis-tcs:pkcs11:858bfc8:oasis_pkcs11 GNU_CONFIGURE= yes MAKE_ENV= LIBCRYPTO_RPATH=${OPENSSLBASE}/lib INSTALL_TARGET= install-strip +OPTIONS_DEFINE= BASH DOCS ZSH +OPTIONS_DEFAULT=BASH ZSH +OPTIONS_SUB= yes + post-extract: @${RMDIR} ${WRKSRC}/.gnulib ${WRKSRC}/include/oasis-pkcs11 @${MV} ${WRKSRC_gnulib} ${WRKSRC}/.gnulib @${MV} ${WRKSRC_oasis_pkcs11} ${WRKSRC}/include/oasis-pkcs11 pre-configure: @cd ${WRKSRC} && BUILD_PORT=1 ${WRKSRC}/bootstrap.sh post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} \ ${WRKSRC}/README.md \ ${WRKSRC}/docs/INSTALL.md \ ${WRKSRC}/docs/MANUAL.md \ ${STAGEDIR}${DOCSDIR} .include diff --git a/security/pkcs11-tools/distinfo b/security/pkcs11-tools/distinfo index b3f2cdb5f27e..f916ef1b74d0 100644 --- a/security/pkcs11-tools/distinfo +++ b/security/pkcs11-tools/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1690822324 -SHA256 (Mastercard-pkcs11-tools-v2.6.0_GH0.tar.gz) = 8b5fa6b784bf653a734b8e421b72167c9ba7121e99e5bf19ec11f275e686b0a8 -SIZE (Mastercard-pkcs11-tools-v2.6.0_GH0.tar.gz) = 295153 -SHA256 (coreutils-gnulib-d1b40e0_GH0.tar.gz) = 845c3eb0d09edb247e45ff8824597479b34169f11f0e9a57605c0947a1931b4e -SIZE (coreutils-gnulib-d1b40e0_GH0.tar.gz) = 7977868 -SHA256 (oasis-tcs-pkcs11-a136aac_GH0.tar.gz) = 5bb41d167ac60a58ba85526c4cd81324599d66a36567eed1aed3bad93c6e3705 -SIZE (oasis-tcs-pkcs11-a136aac_GH0.tar.gz) = 119794 +TIMESTAMP = 1783361086 +SHA256 (Mastercard-pkcs11-tools-v3.0.0_GH0.tar.gz) = f9e419c5380cb9275f5fcc292eb8ee396cd27ccf76e35f2681dd0560214b0c1c +SIZE (Mastercard-pkcs11-tools-v3.0.0_GH0.tar.gz) = 400584 +SHA256 (coreutils-gnulib-34e1754363_GH0.tar.gz) = e4ac476d423efa078758afd860d652b597866f6d5ef85419200f2361e0d4612b +SIZE (coreutils-gnulib-34e1754363_GH0.tar.gz) = 7423982 +SHA256 (oasis-tcs-pkcs11-858bfc8_GH0.tar.gz) = 43147465c211b13aa8a63e8ef5d44bd33665064b104d33dc96aa0b93e6c0bf7c +SIZE (oasis-tcs-pkcs11-858bfc8_GH0.tar.gz) = 29758 diff --git a/security/pkcs11-tools/pkg-descr b/security/pkcs11-tools/pkg-descr index 47293365eaf4..7f2374d3d444 100644 --- a/security/pkcs11-tools/pkg-descr +++ b/security/pkcs11-tools/pkg-descr @@ -1,6 +1,7 @@ -pkcs11-tools is a toolkit containing a bunch of small utilities to perform key -management tasks on cryptographic tokens implementing a PKCS#11 interface. It -features a number of commands similar to the unix CLI utilities, such as ls, mv, -rm, od, and more. It also has specific commands to generate keys, generate CSRs, -import certificates and other files, in a fashion compatible with most -implementations, including both IBM and Oracle JVMs. +pkcs11-tools is a toolkit containing a bunch of small utilities to perform +key management tasks on cryptographic tokens implementing a PKCS#11 interface. +It features a number of commands similar to the Unix CLI utilities, such as +ls, mv, rm, od, and more. It also has specific commands to generate keys, +generate CSRs, import certificates and other files, in a fashion compatible +with many implementations, including both IBM and Oracle JVMs. It is also +able to interface with software tokens, such as SoftHSM, NSS, and Kryoptic. diff --git a/security/pkcs11-tools/pkg-plist b/security/pkcs11-tools/pkg-plist index 9a76a144be45..782c7cad141b 100644 --- a/security/pkcs11-tools/pkg-plist +++ b/security/pkcs11-tools/pkg-plist @@ -1,31 +1,57 @@ bin/masqreq bin/p11cat bin/p11cp bin/p11importcert bin/p11importdata bin/p11importpubk +bin/p11init bin/p11kcv bin/p11keycomp bin/p11keygen bin/p11ls bin/p11mkcert bin/p11more bin/p11mv bin/p11od bin/p11req bin/p11rewrap bin/p11rm bin/p11setattr bin/p11slotinfo bin/p11unwrap bin/p11wrap bin/with_aws bin/with_beid +bin/with_kryoptic bin/with_luna bin/with_nfast bin/with_nss +bin/with_pkcs11_common bin/with_softhsm bin/with_utimaco +%%BASH%%share/bash-completion/completions/p11-common +%%BASH%%share/bash-completion/completions/p11cat +%%BASH%%share/bash-completion/completions/p11cp +%%BASH%%share/bash-completion/completions/p11importcert +%%BASH%%share/bash-completion/completions/p11importdata +%%BASH%%share/bash-completion/completions/p11importpubk +%%BASH%%share/bash-completion/completions/p11init +%%BASH%%share/bash-completion/completions/p11kcv +%%BASH%%share/bash-completion/completions/p11keycomp +%%BASH%%share/bash-completion/completions/p11keygen +%%BASH%%share/bash-completion/completions/p11ls +%%BASH%%share/bash-completion/completions/p11mkcert +%%BASH%%share/bash-completion/completions/p11more +%%BASH%%share/bash-completion/completions/p11mv +%%BASH%%share/bash-completion/completions/p11od +%%BASH%%share/bash-completion/completions/p11req +%%BASH%%share/bash-completion/completions/p11rewrap +%%BASH%%share/bash-completion/completions/p11rm +%%BASH%%share/bash-completion/completions/p11setattr +%%BASH%%share/bash-completion/completions/p11slotinfo +%%BASH%%share/bash-completion/completions/p11unwrap +%%BASH%%share/bash-completion/completions/p11wrap +%%ZSH%%share/zsh/site-functions/_p11tools %%PORTDOCS%%%%DOCSDIR%%/INSTALL.md %%PORTDOCS%%%%DOCSDIR%%/MANUAL.md %%PORTDOCS%%%%DOCSDIR%%/README.md