summaryrefslogtreecommitdiff
path: root/dev-libs/opensc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-01 15:05:02 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-01 15:05:02 +0000
commite523ebcd50638ebe53f8f425d126bfa7385703b5 (patch)
treea8202f9224bd577afe09c919786f8836cf4a2a7c /dev-libs/opensc
parentd88834e7a12432c4e2d04ca7e938a66e25811f89 (diff)
gentoo auto-resync : 01:02:2023 - 15:05:01
Diffstat (limited to 'dev-libs/opensc')
-rw-r--r--dev-libs/opensc/Manifest6
-rw-r--r--dev-libs/opensc/metadata.xml6
-rw-r--r--dev-libs/opensc/opensc-0.22.0.ebuild4
-rw-r--r--dev-libs/opensc/opensc-0.23.0.ebuild70
4 files changed, 81 insertions, 5 deletions
diff --git a/dev-libs/opensc/Manifest b/dev-libs/opensc/Manifest
index e5c9b1cdbaac..20fae234b931 100644
--- a/dev-libs/opensc/Manifest
+++ b/dev-libs/opensc/Manifest
@@ -1,4 +1,6 @@
AUX opensc.module 390 BLAKE2B 4c5ea159ed2038af51c9ca3e903b23db1acdfa8a6c79be7f922f8a03602f15e3b1a98570be0a1f3f2db922c9083976eeb164d011b981c8709a9b1459e959634f SHA512 52a0a47963d0938a3a644dedcd913bb22ea6d5e3d539b759872c4175085491cc11a3958bb308029eb4942ea20e0f7890865c21cb063e335e38a154957a64ed58
DIST opensc-0.22.0.tar.gz 2287020 BLAKE2B 74e4bb6843b640c5a397b820a52180a34159c330f5ecb81af166096f23e2499ef1a4d555b5d71613da57ba121d0f984dcfdc2ba9491f26f826a423725a2321e2 SHA512 70ad5f1219f2ec2a5529a30d8e9955510c77c87d0bc857d5951c7227c75cf9de1c6071f43dd3816a2034123ebd902709793ff776e84d5379fdd54c811ccfaaee
-EBUILD opensc-0.22.0.ebuild 1636 BLAKE2B 48213724c6b6ad1d7b5aee25997ebf9cf9a07df1c78cfa72edbdd53920b3f566360e35158b19be4c36c807f59de7c8894788ab50fbd9f80ca6b7a409ea3995c1 SHA512 70bed015602f1be9a2d7e8784511551ea9c7f3e13bc23e523de276da417ee6c2451aab0b23cde0c540df81c4b4e3b76857d9829028bd2c2fc352fb0a1b9829c7
-MISC metadata.xml 1142 BLAKE2B 3d30c7f18bde3a590ae4cc5bda76d2154db32784ce39e9f5449362afde31cc164dbdbedafd7648c682a4918643922fe5248c090fc9fc5464a8f17a3599b18e42 SHA512 96321175c83534c31e50c48191dcf8e7e292f8322c6405172dc1222c42230c70015c57144fc1a73e3829b28ca376e762493f2967aab926b472648b4c57e79ccd
+DIST opensc-0.23.0.tar.gz 2366469 BLAKE2B c0f74379a70347a58be27684ae2cf833e6f35328b566af2c6daa8276174864406fa176acf7ba84931970fe07e3dd8d6eccf7884f079cb0110c4d6ff9a76792dc SHA512 cd102cd64e719c59153960a4921b7525055045f16e6f6ffa8c9def6ce999a9c5098267b41f8753b41107f626bea20c34561002f5d38eddb4ce6b371913a17a1b
+EBUILD opensc-0.22.0.ebuild 1590 BLAKE2B 2c7a622f626c78be1310af078205ee09f95a4abee16e4469f119296a340c573a32033399c84ec0dae6e4e524249a9288dfd59c9059bc5d983f68177841cf37d1 SHA512 624397c0bccce33471d9d1e665303262906240faf9d63d264156a6a8ee93b7e3be1682c7ec3221972dcca12affe8594c75030d0296286ede8fde225840d07daa
+EBUILD opensc-0.23.0.ebuild 1708 BLAKE2B d737d9ef9a2e3c6adfe351af0d7edfcad8a01599a67ac82d235dc2e1f96050e06d1369f7e176f54989afb0cbf45127b6beab4c97438fe83170a9af6b7dcbe56f SHA512 c33839c178b9a248a3609c13eb30edcad731ace29242d68038d0215a8b53c79fe7152df040e8df00607625f4d0eaecdde791dca11c262774ccec467732701832
+MISC metadata.xml 1309 BLAKE2B 3b8582f3491a909bd4c2f4f5b1bc7e6d111abf9d3908ea3c913dbde122a4668750a14b3717662f22989db86d468efac3a234b94a8a2ea58214cb8a9033798066 SHA512 65c9ad2a9b6e053b44af40f3b8d489a63437c13ec9c8efe966d5d3a3445a2bb1992b440702ce957e664c7464a0af35adbf056db1690875ada58e25a903be90a5
diff --git a/dev-libs/opensc/metadata.xml b/dev-libs/opensc/metadata.xml
index fa6acab7bee8..58a0aa27c2a1 100644
--- a/dev-libs/opensc/metadata.xml
+++ b/dev-libs/opensc/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>soap@gentoo.org</email>
+ <name>David Seifert</name>
+ </maintainer>
<longdescription>
OpenSC is a library for accessing SmartCard devices. It is also
the core library of the OpenSC project.
@@ -16,6 +19,7 @@
<flag name="ctapi">Use CT-API for accessing Smartcard hardware</flag>
<flag name="notify">Enable notifications</flag>
<flag name="openct">Use <pkg>dev-libs/openct</pkg> (and CT-API) for accessing Smartcard hardware</flag>
+ <flag name="openpace">Use <pkg>dev-libs/openpace</pkg> for EAC version 2 support</flag>
<flag name="pcsc-lite">Use <pkg>sys-apps/pcsc-lite</pkg> (and PC/SC API) for accessing Smartcard hardware</flag>
<flag name="secure-messaging">Enable secure messaging</flag>
</use>
diff --git a/dev-libs/opensc/opensc-0.22.0.ebuild b/dev-libs/opensc/opensc-0.22.0.ebuild
index d41e3ba56301..f4aee906f6aa 100644
--- a/dev-libs/opensc/opensc-0.22.0.ebuild
+++ b/dev-libs/opensc/opensc-0.22.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/OpenSC/OpenSC/releases/download/${PV}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ppc ppc64 ~s390 ~sparc x86"
+KEYWORDS="amd64 ppc64 x86"
IUSE="ctapi doc openct notify +pcsc-lite readline secure-messaging ssl test zlib"
RESTRICT="!test? ( test )"
diff --git a/dev-libs/opensc/opensc-0.23.0.ebuild b/dev-libs/opensc/opensc-0.23.0.ebuild
new file mode 100644
index 000000000000..1a356b477973
--- /dev/null
+++ b/dev-libs/opensc/opensc-0.23.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 libtool
+
+DESCRIPTION="Libraries and applications to access smartcards"
+HOMEPAGE="https://github.com/OpenSC/OpenSC/wiki"
+SRC_URI="https://github.com/OpenSC/OpenSC/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="ctapi doc openct openpace notify +pcsc-lite readline secure-messaging ssl test zlib"
+RESTRICT="!test? ( test )"
+
+RDEPEND="zlib? ( sys-libs/zlib )
+ readline? ( sys-libs/readline:0= )
+ ssl? ( dev-libs/openssl:0= )
+ openct? ( >=dev-libs/openct-0.5.0 )
+ openpace? ( dev-libs/openpace:= )
+ pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )
+ notify? ( dev-libs/glib:2 )"
+DEPEND="${RDEPEND}
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ test? ( dev-util/cmocka )"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="
+ pcsc-lite? ( !openct !ctapi )
+ openct? ( !pcsc-lite !ctapi )
+ ctapi? ( !pcsc-lite !openct )
+ || ( pcsc-lite openct ctapi )"
+
+src_prepare() {
+ default
+ elibtoolize
+}
+
+src_configure() {
+ # don't want to run upstream's clang-tidy checks
+ export ac_cv_path_CLANGTIDY=""
+
+ econf \
+ --with-completiondir="$(get_bashcompdir)" \
+ --disable-strict \
+ --enable-man \
+ $(use_enable ctapi) \
+ $(use_enable doc) \
+ $(use_enable notify ) \
+ $(use_enable openct) \
+ $(use_enable openpace ) \
+ $(use_enable pcsc-lite pcsc) \
+ $(use_enable readline) \
+ $(use_enable secure-messaging sm) \
+ $(use_enable ssl openssl) \
+ $(use_enable test cmocka) \
+ $(use_enable zlib)
+}
+
+src_install() {
+ default
+
+ insinto /etc/pkcs11/modules/
+ doins "${FILESDIR}"/opensc.module
+
+ find "${ED}" -name '*.la' -delete || die
+}