mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 06:01:41 +02:00
sdk: add app-crypt/ccid
required for pcsc-lite daemon to work Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
86f4e68f53
commit
31b722d0ba
@ -106,6 +106,7 @@ app-containers/runc
|
|||||||
app-crypt/adcli
|
app-crypt/adcli
|
||||||
app-crypt/argon2
|
app-crypt/argon2
|
||||||
app-crypt/efitools
|
app-crypt/efitools
|
||||||
|
app-crypt/ccid
|
||||||
app-crypt/libb2
|
app-crypt/libb2
|
||||||
app-crypt/libmd
|
app-crypt/libmd
|
||||||
app-crypt/mhash
|
app-crypt/mhash
|
||||||
|
@ -93,10 +93,12 @@ RDEPEND="${RDEPEND}
|
|||||||
|
|
||||||
# Host dependencies that are needed to create and sign images
|
# Host dependencies that are needed to create and sign images
|
||||||
# TODO: sys-apps/mosys
|
# TODO: sys-apps/mosys
|
||||||
|
# app-crypt/ccid is required for pcsc-lite daemon to work.
|
||||||
RDEPEND="${RDEPEND}
|
RDEPEND="${RDEPEND}
|
||||||
sys-fs/squashfs-tools
|
sys-fs/squashfs-tools
|
||||||
dev-libs/libp11
|
dev-libs/libp11
|
||||||
dev-libs/opensc
|
dev-libs/opensc
|
||||||
|
app-crypt/ccid
|
||||||
"
|
"
|
||||||
|
|
||||||
# Host dependencies that are needed for delta_generator.
|
# Host dependencies that are needed for delta_generator.
|
||||||
|
1
sdk_container/src/third_party/portage-stable/app-crypt/ccid/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/app-crypt/ccid/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST ccid-1.5.1.tar.bz2 702586 BLAKE2B 7b9e3c6daf03c186f34ac9b13bd960293a6481f9237ee52937ece1040bd3a79b7dab318e1244205a7feae992261ab5e82292d80ae023a4f621e0e7af7cdb9df5 SHA512 492bde96f5752e2a5316693c44e35e2d041785a00d15e094905c0aafad392f5329009d12801899367276328a582936ee53a1c5239c1813c4536001cb8a608f2e
|
45
sdk_container/src/third_party/portage-stable/app-crypt/ccid/ccid-1.5.1.ebuild
vendored
Normal file
45
sdk_container/src/third_party/portage-stable/app-crypt/ccid/ccid-1.5.1.ebuild
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit udev
|
||||||
|
|
||||||
|
DESCRIPTION="CCID free software driver"
|
||||||
|
HOMEPAGE="https://ccid.apdu.fr https://github.com/LudovicRousseau/CCID"
|
||||||
|
SRC_URI="https://ccid.apdu.fr/files/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86"
|
||||||
|
IUSE="twinserial +usb"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=sys-apps/pcsc-lite-1.8.3
|
||||||
|
twinserial? ( dev-lang/perl )
|
||||||
|
usb? ( virtual/libusb:1 )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
LEX=: \
|
||||||
|
$(use_enable twinserial) \
|
||||||
|
$(use_enable usb libusb)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
udev_newrules src/92_pcscd_ccid.rules 92-pcsc-ccid.rules
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
udev_reload
|
||||||
|
einfo "Check https://github.com/LudovicRousseau/CCID/blob/master/INSTALL"
|
||||||
|
einfo "for more info about how to configure and use ccid"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
udev_reload
|
||||||
|
}
|
11
sdk_container/src/third_party/portage-stable/app-crypt/ccid/metadata.xml
vendored
Normal file
11
sdk_container/src/third_party/portage-stable/app-crypt/ccid/metadata.xml
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<!-- maintainer-needed -->
|
||||||
|
<use>
|
||||||
|
<flag name="twinserial">Enable twinserial reader</flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">LudovicRousseau/CCID</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user