1 |
commit: b2f6fc954066d2cb53e76474569810d60d457282 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 15 00:13:19 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 15 00:13:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2f6fc95 |
7 |
|
8 |
app-crypt/coolkey: Remove old |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
app-crypt/coolkey/Manifest | 1 - |
13 |
app-crypt/coolkey/coolkey-1.1.0-r6.ebuild | 86 ------------------------------- |
14 |
2 files changed, 87 deletions(-) |
15 |
|
16 |
diff --git a/app-crypt/coolkey/Manifest b/app-crypt/coolkey/Manifest |
17 |
index 9fa753c3e2..8250bd40ea 100644 |
18 |
--- a/app-crypt/coolkey/Manifest |
19 |
+++ b/app-crypt/coolkey/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST coolkey-1.1.0-patches-002.tar.gz 20574 SHA256 42767673025f7410bc1169231f7759abe4de69d8fa204fc8acfbe228b543129a SHA512 94050979f04f24924331b8a7c38b60de207d32b964caa39714aefd9f616ab7dd4e58b51e2c49fdb63b4dec1acce0c7245ae0a025ef76d457162b7200193dc663 WHIRLPOOL 55fee8ff261b8b3b8e16af05c1a6e7b4acd8eacaa0c73f5dd7bdf4918929097918be0f1ec2feaa5385d991d2a472672c7306dee60f4d61d313b2c47ec691f66a |
22 |
DIST coolkey-1.1.0-patches-003.tar.gz 21263 SHA256 af04f104a2ababe5b4cc7cd9e870918c24b2baa2599ddfe7a8eb0114b63428e0 SHA512 25a5fac68ca041fcf9e927d134d0179fa286e6de75019e7bbf205edeaf73222d9fb9fd3861a8f6e0d933d1a09229e3e727278c3a9b3cc63390ef07774c46390d WHIRLPOOL c272e01c61ec66c2f06b75370ffca33c067b0fbfea16284b8696484dd80b161ec86688a9b4af5ae433e9582ebc914bc10ee4d387dc920e989a93b514ce881746 |
23 |
DIST coolkey-1.1.0.tar.gz 432808 SHA256 8448e3abb81bffc593c96b577dcfbc05b40e8684188456c31be15fae73d730f7 SHA512 4b61de9b40abcf620fbb519d5e3cf1e93ebdd0470854cb63a597fc91e0182998217353014327f7bc4f255d22515d8ea2b08d36b3a831f5f09134fdcd418bc08b WHIRLPOOL 60408f606a5cf5d9ec1ba3938a96a6f938c8d9f4b7ace2677ff35ce125104995675bf0decae92575e82dfc1a2eeaa26c4197ad174a4d3901250c43d906976c24 |
24 |
|
25 |
diff --git a/app-crypt/coolkey/coolkey-1.1.0-r6.ebuild b/app-crypt/coolkey/coolkey-1.1.0-r6.ebuild |
26 |
deleted file mode 100644 |
27 |
index 69d84d982f..0000000000 |
28 |
--- a/app-crypt/coolkey/coolkey-1.1.0-r6.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,86 +0,0 @@ |
31 |
-# Copyright 1999-2013 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
-# $Id$ |
34 |
- |
35 |
-EAPI=3 |
36 |
- |
37 |
-inherit eutils |
38 |
- |
39 |
-PATCHVER="002" |
40 |
- |
41 |
-DESCRIPTION="Linux Driver support for the CoolKey and CAC products" |
42 |
-HOMEPAGE="https://directory.fedora.redhat.com/wiki/CoolKey" |
43 |
-SRC_URI="https://directory.fedora.redhat.com/download/coolkey/${P}.tar.gz |
44 |
- mirror://gentoo/${P}-patches-${PATCHVER}.tar.gz" |
45 |
- |
46 |
-LICENSE="LGPL-2.1" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
49 |
-IUSE="debug" |
50 |
- |
51 |
-RDEPEND=">=sys-apps/pcsc-lite-1.6.4 |
52 |
- dev-libs/nss[utils] |
53 |
- sys-libs/zlib" |
54 |
- |
55 |
-DEPEND="${RDEPEND} |
56 |
- >=app-crypt/ccid-1.4.0 |
57 |
- virtual/pkgconfig" |
58 |
- |
59 |
-pkg_setup() { |
60 |
- pk="pk11install" |
61 |
- dbdir="/etc/pki/nssdb" |
62 |
- ck_mod_name="CoolKey PKCS #11 Module" |
63 |
- |
64 |
- if ! [[ -x $dbdir ]]; then |
65 |
- ewarn "No /etc/pki/nssdb found; check under \$HOME/.pki and" |
66 |
- ewarn "follow the suggested commands using the correct path." |
67 |
- fi |
68 |
-} |
69 |
- |
70 |
-src_prepare() { |
71 |
- epatch "${WORKDIR}/${PN}-patches"/* |
72 |
-} |
73 |
- |
74 |
-src_configure() { |
75 |
- econf --enable-pk11install $(use_enable debug) \ |
76 |
- || die "configure failed" |
77 |
-} |
78 |
- |
79 |
-src_compile() { |
80 |
- emake CFLAGS+="-fno-strict-aliasing" -j1 || die "make failed" |
81 |
-} |
82 |
- |
83 |
-src_install() { |
84 |
- emake install DESTDIR="${D}" || die |
85 |
- diropts -m 1777 |
86 |
- keepdir /var/cache/coolkey |
87 |
-} |
88 |
- |
89 |
-pkg_postinst() { |
90 |
- if [[ -x $dbdir ]]; then |
91 |
- if ! $(modutil -rawlist -dbdir $dbdir | grep libcoolkeypk11); then |
92 |
- elog "You still need to install libcoolkey in your PKCS11 library:" |
93 |
- elog "$pk -p $dbdir 'name=$ck_mod_name library=libcoolkeypk11.so'" |
94 |
- |
95 |
- fi |
96 |
- else |
97 |
- elog "" |
98 |
- elog "You still need to setup your PKCS11 library, or at least" |
99 |
- elog "find where it is (perhaps \$HOME/.pki/nssdb). Once you" |
100 |
- elog "find it, use 'modutil -rawlist -dbdir \$db' to look for" |
101 |
- elog "libcoolkeypk11.so, and if not found, add it using:" |
102 |
- elog "" |
103 |
- elog "$pk -p \$db 'name=$ck_mod_name library=libcoolkeypk11.so'" |
104 |
- elog "" |
105 |
- elog "where \$db is the full path to your pki/nssdb directory." |
106 |
- elog "" |
107 |
- fi |
108 |
-} |
109 |
- |
110 |
-pkg_postrm() { |
111 |
- if [[ -x $dbdir ]]; then |
112 |
- if $(modutil -rawlist -dbdir $dbdir | grep libcoolkeypk11); then |
113 |
- elog "You should remove libcoolkey from your PKCS11 library." |
114 |
- fi |
115 |
- fi |
116 |
-} |