From 918739de5871fe04023ec5f02f47f6ef6a02293d Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Sat, 3 Dec 2022 19:16:13 +0800 Subject: opensc: upgrade 0.22.0 -> 0.23.0 Changelog: ============ Support signing of data with a length of more than 512 bytes (#2314) By default, disable support for old card drivers (#2391) and remove support for old drivers MioCOS and JCOP (#2374) Bump minimal required OpenSSL version to 1.1.1 and add support for OpenSSL 3.0 (#2438, #2506) Compatibility with LibreSSL (#2495, #2595) Remove support for DSA (#2503) Extend p11test to support symmetric keys (#2430) Notice detached reader on macOS (#2418) Support for OAEP padding (#2475, #2484) Fix for PSS salt length (#2478) Improve fuzzing by adding new tests (#2417, #2500, #2520, #2550, #2637) Fixed various issues reported by OSS-Fuzz and Coverity regarding card drivers, PKCS#11 and PKCS#15 init Fix issues with OpenPACE (#2472) Containers support for local testing Add support for encryption and decryption using symmetric keys (#2473, #2607) Stop building support for Gost algorithms with OpenSSL 3.0 as they require deprecated API (#2586) Fix detection of disconnected readers in PCSC (#2600) Add configuration option for on-disk caching of private data (#2588) Skip building empty binaries when dependencies are missing and remove needless linking (#2617) Define arm64 as a supported architecture in the Installer package (#2610) Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/opensc/opensc_0.22.0.bb | 49 ------------------------- meta-oe/recipes-support/opensc/opensc_0.23.0.bb | 49 +++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 meta-oe/recipes-support/opensc/opensc_0.22.0.bb create mode 100644 meta-oe/recipes-support/opensc/opensc_0.23.0.bb (limited to 'meta-oe/recipes-support/opensc') diff --git a/meta-oe/recipes-support/opensc/opensc_0.22.0.bb b/meta-oe/recipes-support/opensc/opensc_0.22.0.bb deleted file mode 100644 index f8b4af0c4f..0000000000 --- a/meta-oe/recipes-support/opensc/opensc_0.22.0.bb +++ /dev/null @@ -1,49 +0,0 @@ -SUMMARY = "Smart card library and applications" -DESCRIPTION = "OpenSC is a tool for accessing smart card devices. Basic\ -functionality (e.g. SELECT FILE, READ BINARY) should work on any ISO\ -7816-4 compatible smart card. Encryption and decryption using private\ -keys on the smart card is possible with PKCS\ -such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten\ -eID cards have also been confirmed to work." - -HOMEPAGE = "http://www.opensc-project.org/opensc/" -SECTION = "System Environment/Libraries" -LICENSE = "LGPL-2.0-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7" - -#v0.21.0 -SRCREV = "c902e1992195e00ada12d71beb1029287cd72037" -SRC_URI = "git://github.com/OpenSC/OpenSC;branch=master;protocol=https \ - " -DEPENDS = "virtual/libiconv openssl" - -S = "${WORKDIR}/git" -inherit autotools pkgconfig bash-completion - -EXTRA_OECONF = " \ - --disable-static \ - --disable-ctapi \ - --disable-doc \ - --disable-strict \ -" -EXTRA_OEMAKE = "DESTDIR=${D}" - -PACKAGECONFIG ??= "pcsc" - -PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct" -PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite,pcsc-lite pcsc-lite-lib" - -RDEPENDS:${PN} = "readline" - -FILES:${PN} += "\ - ${libdir}/opensc-pkcs11.so \ - ${libdir}/onepin-opensc-pkcs11.so \ - ${libdir}/pkcs11-spy.so \ -" -FILES:${PN}-dev += "\ - ${libdir}/pkcs11/opensc-pkcs11.so \ - ${libdir}/pkcs11/onepin-opensc-pkcs11.so \ - ${libdir}/pkcs11/pkcs11-spy.so \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-oe/recipes-support/opensc/opensc_0.23.0.bb b/meta-oe/recipes-support/opensc/opensc_0.23.0.bb new file mode 100644 index 0000000000..078e4e6868 --- /dev/null +++ b/meta-oe/recipes-support/opensc/opensc_0.23.0.bb @@ -0,0 +1,49 @@ +SUMMARY = "Smart card library and applications" +DESCRIPTION = "OpenSC is a tool for accessing smart card devices. Basic\ +functionality (e.g. SELECT FILE, READ BINARY) should work on any ISO\ +7816-4 compatible smart card. Encryption and decryption using private\ +keys on the smart card is possible with PKCS\ +such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten\ +eID cards have also been confirmed to work." + +HOMEPAGE = "http://www.opensc-project.org/opensc/" +SECTION = "System Environment/Libraries" +LICENSE = "LGPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7" + +#v0.21.0 +SRCREV = "5497519ea6b4af596628f8f8f2f904bacaa3148f" +SRC_URI = "git://github.com/OpenSC/OpenSC;branch=master;protocol=https \ + " +DEPENDS = "virtual/libiconv openssl" + +S = "${WORKDIR}/git" +inherit autotools pkgconfig bash-completion + +EXTRA_OECONF = " \ + --disable-static \ + --disable-ctapi \ + --disable-doc \ + --disable-strict \ +" +EXTRA_OEMAKE = "DESTDIR=${D}" + +PACKAGECONFIG ??= "pcsc" + +PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct" +PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite,pcsc-lite pcsc-lite-lib" + +RDEPENDS:${PN} = "readline" + +FILES:${PN} += "\ + ${libdir}/opensc-pkcs11.so \ + ${libdir}/onepin-opensc-pkcs11.so \ + ${libdir}/pkcs11-spy.so \ +" +FILES:${PN}-dev += "\ + ${libdir}/pkcs11/opensc-pkcs11.so \ + ${libdir}/pkcs11/onepin-opensc-pkcs11.so \ + ${libdir}/pkcs11/pkcs11-spy.so \ +" + +BBCLASSEXTEND = "native" -- cgit 1.2.3-korg