1 |
commit: c1f7eca883ef2bf52554047526eca946de0d9b9c |
2 |
Author: Daniel Mueller <deso <AT> posteo <DOT> net> |
3 |
AuthorDate: Wed Jan 2 20:47:15 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 4 02:17:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1f7eca8 |
7 |
|
8 |
app-crypt/nitrocli: New package |
9 |
|
10 |
This change introduces new ebuilds for the nitrocli program. nitrocli |
11 |
is a command line application that interacts with Nitrokey devices |
12 |
(https://www.nitrokey.com). Nitrokey Pro devices provide an OpenPGP |
13 |
SmartCard with additional functionality such as one-time password |
14 |
support and a password safe. Nitrokey Storage add to that hardware |
15 |
encrypted storage. |
16 |
nitrocli-0.1.3.ebuild installs the most recent released version of the |
17 |
program. |
18 |
|
19 |
Closes: https://bugs.gentoo.org/674200 |
20 |
Closes: https://github.com/gentoo/gentoo/pull/10729 |
21 |
Signed-off-by: Daniel Müller <deso <AT> posteo.net> |
22 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
23 |
|
24 |
app-crypt/nitrocli/Manifest | 6 ++++ |
25 |
app-crypt/nitrocli/metadata.xml | 20 +++++++++++++ |
26 |
app-crypt/nitrocli/nitrocli-0.1.3.ebuild | 49 ++++++++++++++++++++++++++++++++ |
27 |
3 files changed, 75 insertions(+) |
28 |
|
29 |
diff --git a/app-crypt/nitrocli/Manifest b/app-crypt/nitrocli/Manifest |
30 |
new file mode 100644 |
31 |
index 00000000000..27aed74de43 |
32 |
--- /dev/null |
33 |
+++ b/app-crypt/nitrocli/Manifest |
34 |
@@ -0,0 +1,6 @@ |
35 |
+DIST cc-1.0.25.crate 43191 BLAKE2B 2f715c36150ea81406ac34224ebc5e0b95ba1bc5f80d36e78af6e6f4027521bd5e163c3ff0f08dac8b0791b797e1498c8a1151dfbc72a8a8008546e0b44ecf83 SHA512 0ae0d47c9ceb67aa0ec25b7b98ab4d378bd7a58fb7bbcd9bcc804a0deadcfae904f9353c218d63b8e7046b388c67d5316248accf1f8b69822c0f58ff465652a3 |
36 |
+DIST hid-0.4.1.crate 4121 BLAKE2B 8af6af754c129f3eeaaa35e3b03361fd2a658cdee017701573e79ed40e86900e137ae6a10c844f90ce8c29ecb577d892a8a9b065520eb360734c9bf52bcae6ce SHA512 5529be48d9c0cfb7bdafee029a45fe471cd8996cabe7d584615ccbfea244700a1cf7d78cdaaf8f36ac3d6ddca466d36569fb12e1c1eaaa45091899e57a1d21ce |
37 |
+DIST hidapi-sys-0.1.4.crate 2391 BLAKE2B 5d8309bad190bdba91aee84239bb0965fdc0093a16a835b99ddfc13633dff6568c66f13c917d9e20cd4e1e453b3dd46ff071f729aba3ea1d99de8388997b193e SHA512 4e2c0a7ee48cb7c7c8bdaaf7c3fd22f58f8995ea2b14caab0cb03efef64711fbe35b435c9f4132e35fb02ea27ee77788be11b3c459f5a290e7297f4d0f9426ac |
38 |
+DIST libc-0.2.45.crate 349425 BLAKE2B ded7a699266fb8c8003181dbbb0a8ed9fb27613951b72d538e05bf1d262810dac7edb47560d06989d0d24a9cfac18f22744efed44d12452fa41ba68cb4b8e4cc SHA512 8188400f2f9fabd7c1e0dd1172032eb25bde2702019aec4e3e0c8b936209347baea347ff8d85fee3e93031df0741d32faed151c2b553151e95ae8321bb653381 |
39 |
+DIST nitrocli-0.1.3.crate 23497 BLAKE2B a61cbf26ae5503a77c534efcfffadcd56a1ea15dc34fcfff50765fcee1c22b64f54b76d9cf23ce9ec58d37132be13e313e643379f1330e9d43b2e7492fa627db SHA512 43880b6cb9bb152a1179d02b4290ff6c4dbbdae3c5cb46c0c5cdc382d2a5d8322de97d94b1842b6e93bba97bc3d451bc8946da6d6c0b66fb7d9ed8936df2c263 |
40 |
+DIST pkg-config-0.3.14.crate 13565 BLAKE2B bc457c2bee4034e7b5a5303bddf078e0b3e52018eb7513c5fa610ec9b272b95fab6cbbe35281e86bf0f97883526d91dcf8c156ea83e7dc23da0924a395b6c811 SHA512 bf120f0694f44d7b83b431eb28fe14ef3aca4d08ae0c2c9edbf8f184c145ba3faa479a6ab25e2d7e9f9d9f2d9a3fc21674fd4ddfe88bcc4fadad40bd8285656d |
41 |
|
42 |
diff --git a/app-crypt/nitrocli/metadata.xml b/app-crypt/nitrocli/metadata.xml |
43 |
new file mode 100644 |
44 |
index 00000000000..d84c39390b8 |
45 |
--- /dev/null |
46 |
+++ b/app-crypt/nitrocli/metadata.xml |
47 |
@@ -0,0 +1,20 @@ |
48 |
+<?xml version='1.0' encoding='UTF-8'?> |
49 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
50 |
+<pkgmetadata> |
51 |
+ <maintainer type="person"> |
52 |
+ <email>deso@××××××.net</email> |
53 |
+ <name>Daniel Müller</name> |
54 |
+ </maintainer> |
55 |
+ <maintainer type="project"> |
56 |
+ <email>proxy-maint@g.o</email> |
57 |
+ <name>Proxy Maintainers</name> |
58 |
+ </maintainer> |
59 |
+ <longdescription lang="en"> |
60 |
+ nitrocli is a command line application that interacts with Nitrokey |
61 |
+ Pro and Storage devices (see https://www.nitrokey.com/). |
62 |
+ </longdescription> |
63 |
+ <upstream> |
64 |
+ <remote-id type="github">d-e-s-o/nitrocli</remote-id> |
65 |
+ <bugs-to>https://github.com/d-e-s-o/nitrocli/issues</bugs-to> |
66 |
+ </upstream> |
67 |
+</pkgmetadata> |
68 |
|
69 |
diff --git a/app-crypt/nitrocli/nitrocli-0.1.3.ebuild b/app-crypt/nitrocli/nitrocli-0.1.3.ebuild |
70 |
new file mode 100644 |
71 |
index 00000000000..1424608aca7 |
72 |
--- /dev/null |
73 |
+++ b/app-crypt/nitrocli/nitrocli-0.1.3.ebuild |
74 |
@@ -0,0 +1,49 @@ |
75 |
+# Copyright 1999-2019 Gentoo Authors |
76 |
+# Distributed under the terms of the GNU General Public License v2 |
77 |
+ |
78 |
+EAPI=7 |
79 |
+ |
80 |
+CRATES=" |
81 |
+cc-1.0.25 |
82 |
+hid-0.4.1 |
83 |
+hidapi-sys-0.1.4 |
84 |
+libc-0.2.45 |
85 |
+nitrocli-0.1.3 |
86 |
+pkg-config-0.3.14 |
87 |
+" |
88 |
+ |
89 |
+inherit cargo |
90 |
+ |
91 |
+DESCRIPTION="A command line tool for interacting with the Nitrokey Storage" |
92 |
+HOMEPAGE="https://github.com/d-e-s-o/nitrocli" |
93 |
+SRC_URI="$(cargo_crate_uris ${CRATES})" |
94 |
+ |
95 |
+LICENSE="GPL-3+" |
96 |
+SLOT="0" |
97 |
+KEYWORDS="~amd64" |
98 |
+IUSE="" |
99 |
+ |
100 |
+BDEPEND=" |
101 |
+ >=dev-lang/rust-1.31.0 |
102 |
+" |
103 |
+DEPEND=" |
104 |
+ dev-libs/hidapi |
105 |
+" |
106 |
+# We require gnupg for /usr/bin/gpg-connect-agent. |
107 |
+RDEPEND=" |
108 |
+ ${DEPEND} |
109 |
+ app-crypt/gnupg |
110 |
+" |
111 |
+ |
112 |
+# Requires a Nitrokey in pristine configuration. |
113 |
+RESTRICT="test" |
114 |
+QA_FLAGS_IGNORED="/usr/bin/nitrocli" |
115 |
+ |
116 |
+src_install() { |
117 |
+ cargo install -j $(makeopts_jobs) --path=. --root="${D}/usr" $(usex debug --debug "") \ |
118 |
+ || die "cargo install failed" |
119 |
+ rm "${D}/usr/.crates.toml" || die "failed to remove .crates.toml" |
120 |
+ |
121 |
+ einstalldocs |
122 |
+ doman "${S}/doc/nitrocli.1" |
123 |
+} |