From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B2B2B13829C for ; Sat, 4 Jun 2016 18:58:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0327A14120; Sat, 4 Jun 2016 18:58:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C21814120 for ; Sat, 4 Jun 2016 18:58:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD112340AB2 for ; Sat, 4 Jun 2016 18:58:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1227C970 for ; Sat, 4 Jun 2016 18:58:35 +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: <1465066700.c8ffb94f10b4c14f8f44df8cf5b8790b8e4fb0ad.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/ccid/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/ccid/Manifest app-crypt/ccid/ccid-1.4.24.ebuild X-VCS-Directories: app-crypt/ccid/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: c8ffb94f10b4c14f8f44df8cf5b8790b8e4fb0ad X-VCS-Branch: master Date: Sat, 4 Jun 2016 18:58:35 +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: 783ed73d-d964-4d7c-9295-94d6bffb8ae0 X-Archives-Hash: 5b93b623a74995471abcd3de4106c304 commit: c8ffb94f10b4c14f8f44df8cf5b8790b8e4fb0ad Author: Alon Bar-Lev gentoo org> AuthorDate: Sat Jun 4 18:58:20 2016 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Sat Jun 4 18:58:20 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8ffb94f app-crypt/ccid: version bump Bug: 585000 Package-Manager: portage-2.2.28 app-crypt/ccid/Manifest | 1 + app-crypt/ccid/ccid-1.4.24.ebuild | 67 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/app-crypt/ccid/Manifest b/app-crypt/ccid/Manifest index e26c8b2..693474e 100644 --- a/app-crypt/ccid/Manifest +++ b/app-crypt/ccid/Manifest @@ -2,3 +2,4 @@ DIST ccid-1.4.15.tar.bz2 487625 SHA256 5436182246f15b3e78b1ad6707022b02dc400e3f5 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 +DIST ccid-1.4.24.tar.bz2 594507 SHA256 62cb73c6c009c9799c526f05a05e25f00f0ad86d50f82a714dedcfbf4a7e4176 SHA512 4904165fdd089cd6f28b1c27130119d3433641a9cea5d6700afd1daa2722f763e2b348a42af4a292fdd08da45c7b17b2804b32b1fbe0ff19dccf58ec3310b09f WHIRLPOOL b2f88557ae0e6fb838432eaf0d13be1f7631c7d7f4b4a0c20014b060f0368fb5acba0c15eba7fdf6d9e31dc115a9c0bec5fe1e83468943522c94b8a89e93932c diff --git a/app-crypt/ccid/ccid-1.4.24.ebuild b/app-crypt/ccid/ccid-1.4.24.ebuild new file mode 100644 index 0000000..fb02ff5 --- /dev/null +++ b/app-crypt/ccid/ccid-1.4.24.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +STUPID_NUM="4171" + +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 \ + -e '/Kobil_mIDentity_switch/s/^/#/' \ + -i "${D}/$(get_udevdir)"/rules.d/92-pcsc-ccid.rules || die + fi + + fi +}