diff options
Diffstat (limited to 'meta-oe/recipes-support/opensc/opensc_0.26.1.bb')
-rw-r--r-- | meta-oe/recipes-support/opensc/opensc_0.26.1.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/opensc/opensc_0.26.1.bb b/meta-oe/recipes-support/opensc/opensc_0.26.1.bb new file mode 100644 index 0000000000..78258c965a --- /dev/null +++ b/meta-oe/recipes-support/opensc/opensc_0.26.1.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | SUMMARY = "Smart card library and applications" | ||
2 | DESCRIPTION = "OpenSC is a tool for accessing smart card devices. Basic\ | ||
3 | functionality (e.g. SELECT FILE, READ BINARY) should work on any ISO\ | ||
4 | 7816-4 compatible smart card. Encryption and decryption using private\ | ||
5 | keys on the smart card is possible with PKCS\ | ||
6 | such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten\ | ||
7 | eID cards have also been confirmed to work." | ||
8 | HOMEPAGE = "https://github.com/OpenSC/OpenSC/wiki" | ||
9 | SECTION = "System Environment/Libraries" | ||
10 | LICENSE = "LGPL-2.1-or-later" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7" | ||
12 | DEPENDS = "openssl" | ||
13 | |||
14 | SRCREV = "043343d2df7b09d1938bc3dc313d86a96be457cc" | ||
15 | SRC_URI = "git://github.com/OpenSC/OpenSC;branch=0.26.1;protocol=https" | ||
16 | |||
17 | CVE_STATUS[CVE-2024-8443] = "fixed-version: this is fixed since 0.26.0" | ||
18 | |||
19 | |||
20 | inherit autotools pkgconfig bash-completion | ||
21 | |||
22 | EXTRA_OECONF = " \ | ||
23 | --disable-ctapi \ | ||
24 | --disable-doc \ | ||
25 | --disable-static \ | ||
26 | --disable-strict \ | ||
27 | " | ||
28 | EXTRA_OEMAKE = "DESTDIR=${D}" | ||
29 | |||
30 | PACKAGECONFIG ??= "pcsc" | ||
31 | |||
32 | PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct" | ||
33 | PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite,pcsc-lite pcsc-lite-lib" | ||
34 | PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" | ||
35 | |||
36 | FILES:${PN} += "\ | ||
37 | ${libdir}/opensc-pkcs11.so \ | ||
38 | ${libdir}/pkcs11-spy.so \ | ||
39 | " | ||
40 | FILES:${PN}-dev += "\ | ||
41 | ${libdir}/onepin-opensc-pkcs11.so \ | ||
42 | ${libdir}/pkcs11/opensc-pkcs11.so \ | ||
43 | ${libdir}/pkcs11/onepin-opensc-pkcs11.so \ | ||
44 | ${libdir}/pkcs11/pkcs11-spy.so \ | ||
45 | " | ||
46 | |||
47 | BBCLASSEXTEND = "native" | ||