public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Wolfram Schlich" <wschlich@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/ccid/
Date: Fri,  1 Apr 2016 17:50:40 +0000 (UTC)	[thread overview]
Message-ID: <1459533033.f7269e7d8cc485672d2967df2af75a95e253015d.wschlich@gentoo> (raw)

commit:     f7269e7d8cc485672d2967df2af75a95e253015d
Author:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  1 17:50:21 2016 +0000
Commit:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Fri Apr  1 17:50:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7269e7d

app-crypt/ccid: version bump. added USE=kobil-midentity for building and installing contrib/Kobil_mIDentity_switch.

Package-Manager: portage-2.2.28

 app-crypt/ccid/Manifest           |  1 +
 app-crypt/ccid/ccid-1.4.22.ebuild | 65 +++++++++++++++++++++++++++++++++++++++
 app-crypt/ccid/metadata.xml       |  1 +
 3 files changed, 67 insertions(+)

diff --git a/app-crypt/ccid/Manifest b/app-crypt/ccid/Manifest
index 0dddcc9..e26c8b2 100644
--- a/app-crypt/ccid/Manifest
+++ b/app-crypt/ccid/Manifest
@@ -1,3 +1,4 @@
 DIST ccid-1.4.15.tar.bz2 487625 SHA256 5436182246f15b3e78b1ad6707022b02dc400e3f50c4cb5e5d340a4e716d990a SHA512 393eb65db0fb31b58d4010c10cae6c7592078b02d0e77b7741330cc3b1e5dd768fa08dbaf75db39c547e3603fa70aa1c8aaf3b536266314f2f04d2ff2b6fb29c WHIRLPOOL 0dd511454cf8e39303318b61f9e2390f2ef27b763e80e9270f55ee15966ced8378f3f3ee5440b6380481f970f03ae37bbb2221da6c3d2d658622ea4cdc3aee3f
 DIST ccid-1.4.18.tar.bz2 492113 SHA256 5fdba97a2d2eb1c652b7dd4aa0bb8cee4814bab0cf61aecb84b32b57272541aa SHA512 ff7e331431909fe9fffd4f7aae0a2395b3b755da9c898aa6a6b629f7f516c240b820669146791deb443c646dc8fc56f9100c9f987b3e7d13c24f24f81f06b1f0 WHIRLPOOL 86107ac379e5523c31aa1499e1ecd5a1f6dab5b7f748800b5a22ff2b6470e9bb590407cb8a98ad65870a832149fe8835aa42dff9a30027f0bce843640439ce1e
 DIST ccid-1.4.20.tar.bz2 567553 SHA256 400cb865bb63eed6d7668b2d971cb4644038b9b7a6cda121450d0c6cf6251cbc SHA512 4ce0694e268fe962f5eb49d3d640333a4c7ef54af5f9939b3682341b19ffad7470f5e1816b3b3af1bce8cf31f4335c3177f7e6b8190e187125ce1da73692cbab WHIRLPOOL 2af0cc1887ab93da92f9c498982798b57e3711b864cc59446248fd59f96703b781cb65602e7c80ce2de194901cff12b52b9105ad404b4c04a3f45a5f38343ee7
+DIST ccid-1.4.22.tar.bz2 578835 SHA256 9c5c8be465b6d33316be7a7ea720c24a776e2d76be9072116d28fc9adf58c106 SHA512 621b0165226c3530b514dfb87eb8963be750cc274f4263dd739a24bfe431b463cffdd467d8c38b3e909ca2a6ae756e5fd414891a4b332ca687318639d721e0c8 WHIRLPOOL 5c7592234f4bbf41565000b512064892588ccd19415cc9357f7197af5a851b95c6a5257824ec2440c163495ba78b8ff9bde4be43121e4b8eb3dc3c7af1d4cdbc

diff --git a/app-crypt/ccid/ccid-1.4.22.ebuild b/app-crypt/ccid/ccid-1.4.22.ebuild
new file mode 100644
index 0000000..500aaee
--- /dev/null
+++ b/app-crypt/ccid/ccid-1.4.22.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+STUPID_NUM="4162"
+
+inherit eutils toolchain-funcs udev autotools-utils
+
+DESCRIPTION="CCID free software driver"
+HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
+SRC_URI="http://alioth.debian.org/frs/download.php/file/${STUPID_NUM}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="twinserial kobil-midentity +usb"
+
+RDEPEND=">=sys-apps/pcsc-lite-1.8.3
+	usb? ( virtual/libusb:1 )"
+DEPEND="${RDEPEND}
+	kernel_linux? ( virtual/pkgconfig )"
+
+DOCS=( README AUTHORS )
+
+src_configure() {
+	local myeconfargs=(
+		LEX=:
+		$(use_enable twinserial)
+		$(use_enable usb libusb)
+	)
+
+	autotools-utils_src_configure
+}
+
+src_compile() {
+	autotools-utils_src_compile
+	use kobil-midentity && autotools-utils_src_compile contrib/Kobil_mIDentity_switch
+}
+
+src_install() {
+	autotools-utils_src_install
+
+	if use kobil-midentity; then
+		dosbin "${BUILD_DIR}"/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch
+		doman contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.8
+	fi
+
+	if use kernel_linux; then
+		# note: for eudev support, rules probably will always need to be
+		# installed to /usr
+
+		# ccid >=1.4.11 version changed the rules drastically in a minor
+		# release to no longer use the pcscd group. Using the old ones in
+		# the mean time.
+		udev_newrules "${FILESDIR}"/92_pcscd_ccid-2.rules 92-pcsc-ccid.rules
+
+		# disable Kobil_mIDentity_switch udev rule with USE=-kobil-midentity
+		if ! use kobil-midentity; then
+			sed -i -e '/Kobil_mIDentity_switch/s/^/#/' "$(_udev_get_udevdir)"/rules.d/92-pcsc-ccid.rules
+		fi
+
+	fi
+}

diff --git a/app-crypt/ccid/metadata.xml b/app-crypt/ccid/metadata.xml
index c042339..6a12395 100644
--- a/app-crypt/ccid/metadata.xml
+++ b/app-crypt/ccid/metadata.xml
@@ -6,6 +6,7 @@
 		<name>Crypto</name>
 	</maintainer>
 	<use>
+		<flag name="kobil-midentity">Build and install Kobil_mIDentity_switch tool</flag>
 		<flag name="twinserial">Enable twinserial reader</flag>
 	</use>
 </pkgmetadata>


             reply	other threads:[~2016-04-01 17:50 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01 17:50 Wolfram Schlich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-28 13:56 [gentoo-commits] repo/gentoo:master commit in: app-crypt/ccid/ Arthur Zamarin
2024-09-26 10:36 Jakov Smolić
2024-09-26 10:36 Jakov Smolić
2024-09-26  8:26 Arthur Zamarin
2024-09-26  8:26 Arthur Zamarin
2024-03-14 21:44 Sam James
2024-03-14  7:34 Sam James
2024-03-14  6:45 Joonas Niilola
2024-03-14  6:44 Sam James
2024-03-14  6:43 Joonas Niilola
2024-01-20 11:49 Sam James
2023-03-04 11:56 Arthur Zamarin
2023-03-04 11:41 Arthur Zamarin
2023-03-04  6:52 Joonas Niilola
2023-03-04  6:52 Joonas Niilola
2023-03-04  5:29 Arthur Zamarin
2023-03-03 19:06 Arthur Zamarin
2023-02-01 11:42 David Seifert
2023-02-01 11:42 David Seifert
2023-01-27 10:11 Jakov Smolić
2023-01-26 20:55 Arthur Zamarin
2023-01-26 20:37 Arthur Zamarin
2023-01-14 22:07 Sam James
2022-02-01 19:44 Mikle Kolyada
2022-01-11  2:23 Georgy Yakovlev
2021-10-19  9:57 David Seifert
2021-10-17 11:01 Mikle Kolyada
2021-10-14 16:38 Sam James
2021-10-14 13:40 Agostino Sarubbo
2021-10-14 13:39 Agostino Sarubbo
2021-10-12 18:58 Sam James
2021-10-12 18:58 Sam James
2021-09-10  8:56 Marek Szuba
2021-08-01 18:01 Mikle Kolyada
2021-01-24 22:43 Mikle Kolyada
2021-01-24 22:43 Mikle Kolyada
2021-01-24 22:40 Mikle Kolyada
2020-07-09  8:04 Mikle Kolyada
2020-04-23 20:10 Mikle Kolyada
2020-01-08 17:05 Mikle Kolyada
2020-01-08 10:13 Mikle Kolyada
2019-11-10 12:42 Mikle Kolyada
2019-04-02 10:32 Alon Bar-Lev
2019-03-26 20:05 Markus Meier
2019-03-24 20:25 Sergei Trofimovich
2019-03-24 20:12 Sergei Trofimovich
2019-03-21 13:08 Mikle Kolyada
2018-10-12 15:58 Alon Bar-Lev
2018-08-30 20:20 Alon Bar-Lev
2018-08-30 20:07 Markus Meier
2018-08-19  7:26 Matt Turner
2018-08-18 22:31 Sergei Trofimovich
2018-08-16 23:59 Mikle Kolyada
2018-06-28  7:59 Alon Bar-Lev
2018-04-21  9:04 Alon Bar-Lev
2018-04-21  9:04 Alon Bar-Lev
2018-04-20  1:28 Aaron Bauman
2017-12-02  8:21 Markus Meier
2017-10-12 18:48 Sergei Trofimovich
2017-10-12 18:48 Sergei Trofimovich
2017-05-27 12:36 Diego Elio Pettenò
2017-03-25 21:46 Alon Bar-Lev
2017-03-15  6:27 Alon Bar-Lev
2017-03-15  6:00 Jeroen Roovers
2017-03-07 17:11 Michael Weber
2017-03-04 13:46 Agostino Sarubbo
2017-03-03  9:02 Agostino Sarubbo
2017-02-04  1:31 Alon Bar-Lev
2017-01-22  9:26 Alon Bar-Lev
2017-01-10 22:53 Diego Elio Pettenò
2016-12-17  6:27 Aaron Bauman
2016-10-09 14:09 Diego Elio Pettenò
2016-08-17  4:01 Jeroen Roovers
2016-06-12 20:01 Markus Meier
2016-06-12 13:41 Alon Bar-Lev
2016-06-04 18:58 Alon Bar-Lev
2016-04-06 17:11 Justin Lecher
2015-08-11 20:09 Alon Bar-Lev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459533033.f7269e7d8cc485672d2967df2af75a95e253015d.wschlich@gentoo \
    --to=wschlich@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox