From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53F851382C5 for ; Wed, 16 May 2018 18:36:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 752BFE08E2; Wed, 16 May 2018 18:36:09 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3CCB8E08E2 for ; Wed, 16 May 2018 18:36:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 548A4335C06 for ; Wed, 16 May 2018 18:36:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C6FD29B for ; Wed, 16 May 2018 18:36:06 +0000 (UTC) From: "Alon Bar-Lev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alon Bar-Lev" Message-ID: <1526495682.b625fcf97c9ce2dba9712b1beda3f2ca8bc6410a.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/opensc/files/, dev-libs/opensc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/opensc/Manifest dev-libs/opensc/files/opensc-0.18.0-build.patch dev-libs/opensc/opensc-0.18.0.ebuild X-VCS-Directories: dev-libs/opensc/ dev-libs/opensc/files/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: b625fcf97c9ce2dba9712b1beda3f2ca8bc6410a X-VCS-Branch: master Date: Wed, 16 May 2018 18:36:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 998dc62e-6240-4b52-8fb2-e6aca1524ae2 X-Archives-Hash: 4e9d06ae113da4bac11e6b8ae9421525 commit: b625fcf97c9ce2dba9712b1beda3f2ca8bc6410a Author: Alon Bar-Lev gentoo org> AuthorDate: Wed May 16 18:34:42 2018 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Wed May 16 18:34:42 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b625fcf9 dev-libs/opensc: version bump Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-libs/opensc/Manifest | 1 + dev-libs/opensc/files/opensc-0.18.0-build.patch | 32 +++++++++++++ dev-libs/opensc/opensc-0.18.0.ebuild | 60 +++++++++++++++++++++++++ 3 files changed, 93 insertions(+) diff --git a/dev-libs/opensc/Manifest b/dev-libs/opensc/Manifest index 9c821f16b70..400ac494bc1 100644 --- a/dev-libs/opensc/Manifest +++ b/dev-libs/opensc/Manifest @@ -1,2 +1,3 @@ DIST opensc-0.16.0.tar.gz 1760418 BLAKE2B 7f5799445e285010392f315fa57919c7f0b038170a19e83dbda664d5d73898f075cccad4304275402c900b9fc50564ed5515a10d31156a6c76a68f170ca3e439 SHA512 15f7d62388dde6dad226acab3cd54f8e2f2f53684dc0cb976c6fc6fbdb4487be931ca69bf965ab07c51efd16be64d5411f10bacea11a07fc823c92dd7bb25139 DIST opensc-0.17.0.tar.gz 1950547 BLAKE2B 861dbb60e211d503332228c9d75d667f70cb9e15883c571821bb2f7703ca62dd4ce56c5ea7965e2d5e8c6a81b5063fc689013670294426baf1bfaec88282e20e SHA512 8991c1724d187d3c34a2ed591b21f0085f767c0d866edc2decfda85a2b3dedf717838f4937d1dda3e1bbc17f02e6eca6740299660128bc448a29e8bfc2962922 +DIST opensc-0.18.0.tar.gz 2037073 BLAKE2B f2b339d1f9c616f6f706acb3c55289deb5b1749a8b5561142c69db4ed1c7dee554ce1f8d820e6e69bb9e462ca460379badf3017ed35fa6cd395702c995326c3e SHA512 dc90cff3e0e639c14bfb11d1d0455964d24d08aa27728592ab0d8b487a1ffee1ca71cb9bbf5d0f101b2ebd85cf9478988f686d45effa72315e6ffc843d398768 diff --git a/dev-libs/opensc/files/opensc-0.18.0-build.patch b/dev-libs/opensc/files/opensc-0.18.0-build.patch new file mode 100644 index 00000000000..2bea2e53d59 --- /dev/null +++ b/dev-libs/opensc/files/opensc-0.18.0-build.patch @@ -0,0 +1,32 @@ +From 1f1de5ae9a43e845431dc43af96ec61e910ad789 Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev +Date: Wed, 16 May 2018 21:30:15 +0300 +Subject: [PATCH] build: fix --disable-sm + +--- + src/libopensc/card-sc-hsm.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/libopensc/card-sc-hsm.c b/src/libopensc/card-sc-hsm.c +index e2af52b9..a609f612 100644 +--- a/src/libopensc/card-sc-hsm.c ++++ b/src/libopensc/card-sc-hsm.c +@@ -451,6 +451,7 @@ static int sc_hsm_soc_biomatch(sc_card_t *card, struct sc_pin_cmd_data *data, + + + ++#ifdef ENABLE_SM + #ifdef ENABLE_OPENPACE + #include "sm/sm-eac.h" + #include +@@ -573,6 +574,7 @@ static int sc_hsm_perform_chip_authentication(sc_card_t *card) + return SC_ERROR_NOT_SUPPORTED; + } + #endif ++#endif + + + +-- +2.16.1 + diff --git a/dev-libs/opensc/opensc-0.18.0.ebuild b/dev-libs/opensc/opensc-0.18.0.ebuild new file mode 100644 index 00000000000..9693228d0a4 --- /dev/null +++ b/dev-libs/opensc/opensc-0.18.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit ltprune + +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="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc +pcsc-lite secure-messaging openct ctapi readline libressl ssl zlib" + +RDEPEND="zlib? ( sys-libs/zlib ) + readline? ( sys-libs/readline:0= ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + openct? ( >=dev-libs/openct-0.5.0 ) + pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + app-text/docbook-xsl-stylesheets + dev-libs/libxslt" + +REQUIRED_USE=" + pcsc-lite? ( !openct !ctapi ) + openct? ( !pcsc-lite !ctapi ) + ctapi? ( !pcsc-lite !openct ) + || ( pcsc-lite openct ctapi )" + +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) + +src_configure() { + econf \ + --docdir="/usr/share/doc/${PF}" \ + --htmldir='$(docdir)/html' \ + --disable-static \ + --disable-openpace \ + $(use_enable doc) \ + $(use_enable openct) \ + $(use_enable readline) \ + $(use_enable zlib) \ + $(use_enable secure-messaging sm) \ + $(use_enable ssl openssl) \ + $(use_enable pcsc-lite pcsc) \ + $(use_enable openct) \ + $(use_enable ctapi) +} + +src_install() { + default + prune_libtool_files --all +}