public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/nitrocli/
Date: Sun,  6 Jan 2019 04:13:53 +0000 (UTC)	[thread overview]
Message-ID: <1546748011.95f628ba45a5aec0955053d5bf4ce8cf25cba6b9.gyakovlev@gentoo> (raw)

commit:     95f628ba45a5aec0955053d5bf4ce8cf25cba6b9
Author:     Daniel Mueller <deso <AT> posteo <DOT> net>
AuthorDate: Sat Jan  5 00:38:02 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jan  6 04:13:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95f628ba

app-crypt/nitrocli: Add ebuild for version 0.2.0

This patch adds an ebuild for app-crypt/nitrocli version 0.2.0. The
application now supports both Nitrokey Pro and Nitrokey Storage devices.
Also, running of non-device specific tests as part of the ebuild is now
supported.

Closes: https://github.com/gentoo/gentoo/pull/10742
Signed-off-by: Daniel Müller <deso <AT> posteo.net>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 app-crypt/nitrocli/Manifest              | 11 ++++++
 app-crypt/nitrocli/nitrocli-0.2.0.ebuild | 58 ++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/app-crypt/nitrocli/Manifest b/app-crypt/nitrocli/Manifest
index 27aed74de43..c9a4f91671e 100644
--- a/app-crypt/nitrocli/Manifest
+++ b/app-crypt/nitrocli/Manifest
@@ -1,6 +1,17 @@
+DIST argparse-0.2.2.crate 19440 BLAKE2B 7b15b2072ff52149bc08c5d02a266f2eef78a3aa8844e49154cf2ae1a9cb960ddc2a96a065b4aa44637aca8216211f2965291364d9f06ff6f68524a1f15dfed9 SHA512 97691566d3adc6f6be1c00cdca48424fd3576c372d1c995e7e31658bd20e17ef13553f7de21968ba189fd812928aeb93ef0fa89fe2fd258f45a0a8e095783706
+DIST bitflags-1.0.4.crate 15282 BLAKE2B 63f5feb47460c344983cef8822804b1c4ac2f3adfffcf206df2b05fafb9c7bfd73986721cde46705a3e4a0dc72a40683e4d369f2339adfc1b55208bad1766875 SHA512 81850d2be62eabb8486024ab263da67e6eb8ebfa732cac3a5d46a9186c564b2065cba15fa3da468bbd26eaf2b67038680e5de19d5dd99d78f60dae8a1776c8de
 DIST cc-1.0.25.crate 43191 BLAKE2B 2f715c36150ea81406ac34224ebc5e0b95ba1bc5f80d36e78af6e6f4027521bd5e163c3ff0f08dac8b0791b797e1498c8a1151dfbc72a8a8008546e0b44ecf83 SHA512 0ae0d47c9ceb67aa0ec25b7b98ab4d378bd7a58fb7bbcd9bcc804a0deadcfae904f9353c218d63b8e7046b388c67d5316248accf1f8b69822c0f58ff465652a3
+DIST fuchsia-zircon-0.3.3.crate 22565 BLAKE2B a4dac3457036efab8f79fe5d5b4545e4091e994d3dc63188f71fafbcc28bf98ef359dcd20add30ac1d990ab2e66159723302fb66697349c65fab0aa58d54535e SHA512 a43ee59452d49742111e506d6bdd8b8399a3a646e08648e25292864d7f71460c1dd1f2d77b8efa8ed09ac21fa4ff0442a2709f16d8833a3849bde0c388d83a93
+DIST fuchsia-zircon-sys-0.3.3.crate 7191 BLAKE2B 530bb5d475ac828843af248c6bbd24ca3b5dd8118c8884ccc6d7261818cff1c79038077114ffa04bc73a078177527824c4d9d20a9b022e4057afee3330258cff SHA512 978b7e8795a5877a68409ed3a1d7b4246263f8e7e7ce9ba8a022643be98f58f329cc1c234717df80a509db849da4394f39e90a8e2a6f56f8fa8dd3c07e7d4386
 DIST hid-0.4.1.crate 4121 BLAKE2B 8af6af754c129f3eeaaa35e3b03361fd2a658cdee017701573e79ed40e86900e137ae6a10c844f90ce8c29ecb577d892a8a9b065520eb360734c9bf52bcae6ce SHA512 5529be48d9c0cfb7bdafee029a45fe471cd8996cabe7d584615ccbfea244700a1cf7d78cdaaf8f36ac3d6ddca466d36569fb12e1c1eaaa45091899e57a1d21ce
 DIST hidapi-sys-0.1.4.crate 2391 BLAKE2B 5d8309bad190bdba91aee84239bb0965fdc0093a16a835b99ddfc13633dff6568c66f13c917d9e20cd4e1e453b3dd46ff071f729aba3ea1d99de8388997b193e SHA512 4e2c0a7ee48cb7c7c8bdaaf7c3fd22f58f8995ea2b14caab0cb03efef64711fbe35b435c9f4132e35fb02ea27ee77788be11b3c459f5a290e7297f4d0f9426ac
 DIST libc-0.2.45.crate 349425 BLAKE2B ded7a699266fb8c8003181dbbb0a8ed9fb27613951b72d538e05bf1d262810dac7edb47560d06989d0d24a9cfac18f22744efed44d12452fa41ba68cb4b8e4cc SHA512 8188400f2f9fabd7c1e0dd1172032eb25bde2702019aec4e3e0c8b936209347baea347ff8d85fee3e93031df0741d32faed151c2b553151e95ae8321bb653381
 DIST nitrocli-0.1.3.crate 23497 BLAKE2B a61cbf26ae5503a77c534efcfffadcd56a1ea15dc34fcfff50765fcee1c22b64f54b76d9cf23ce9ec58d37132be13e313e643379f1330e9d43b2e7492fa627db SHA512 43880b6cb9bb152a1179d02b4290ff6c4dbbdae3c5cb46c0c5cdc382d2a5d8322de97d94b1842b6e93bba97bc3d451bc8946da6d6c0b66fb7d9ed8936df2c263
+DIST nitrocli-0.2.0.crate 43024 BLAKE2B d3dea35dc88fe71b5b87666f1c79c41a56a7dc3a45c7252b342e937f69de4d4e29e217f0ffad5dc2fe2e0fca1841e6ce84ce7544b16c847bf4aacd17e45d6215 SHA512 aca356201c29ed670595d2d637edc2ce15df0a59a6843c68632b702fc92dd8df85cf6e17eed6d5d95e8dd2e83e1f15c3691f2e9bd1aeb0fc908c2217af7e74ae
+DIST nitrokey-0.2.1.crate 20573 BLAKE2B db7a20121a36d198f1b84e24ea79bdbb18dcb428ec9a84b7180f2157fa14b8ad78a3adcf2162da5bfcd8e112d71b2b05031c694a830e9c6c327c7518360f2f2f SHA512 5f2d87f628028f4ffedc07dd056287744ef558de9e9fc21ba0e7e1a87c138acb7bbc9b0fb9b2b086845f13ffde131b0ff22dfb0b5b32713279a260a7a8ce3829
+DIST nitrokey-sys-3.4.1.crate 61726 BLAKE2B 98a1cfa696434372d980ff5f645de77479e2e7977334df805d67d970df262e19c11c5880343c5bfc1a1b2abe7d29a34762bd90ad926c7cf7ba486e0b513c84fa SHA512 cc9cfbbebbad8a5c5846c60ad4125c87a64624ee90302327b03a94b1494d2329e45bbb09d58a3a00d465b23915faff3d3d787f64c0edcce6c63f25ab7830af13
 DIST pkg-config-0.3.14.crate 13565 BLAKE2B bc457c2bee4034e7b5a5303bddf078e0b3e52018eb7513c5fa610ec9b272b95fab6cbbe35281e86bf0f97883526d91dcf8c156ea83e7dc23da0924a395b6c811 SHA512 bf120f0694f44d7b83b431eb28fe14ef3aca4d08ae0c2c9edbf8f184c145ba3faa479a6ab25e2d7e9f9d9f2d9a3fc21674fd4ddfe88bcc4fadad40bd8285656d
+DIST rand-0.4.3.crate 76094 BLAKE2B 3889a26c9c41fd6b0b5bfdc75961aa4f74dd22aa61060914b0391361129a7557b504f3f23777cfddba6c2f71092ef9f2a76359245c0d594988c5ae7aa2968ad4 SHA512 d287faa583d07134a10db61d1dad30a3ac006624815240d50a8a21faca49085c3ef5c01c3741def25b3e93cb52507fff36497521caacf525e106f419013381d3
+DIST winapi-0.3.6.crate 1029391 BLAKE2B 9a52085c3cb74d84bc66cee575da0105eeca69f6abd3c8c601a4de013bafea795f044748be10ec9ab419a9ec82a304a0b65ba4d74f6cb39baff91228f83009f1 SHA512 991eb3d6ba08d59e7f7ec81ebf469cecc56b3723b636392972d2fdc1d6f13d88f8a244ad5cbb20f6058d12b44e060ed663c12aa3fbcd1235ab511fafa105cd3c
+DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
+DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513

diff --git a/app-crypt/nitrocli/nitrocli-0.2.0.ebuild b/app-crypt/nitrocli/nitrocli-0.2.0.ebuild
new file mode 100644
index 00000000000..193d981b961
--- /dev/null
+++ b/app-crypt/nitrocli/nitrocli-0.2.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CRATES="
+argparse-0.2.2
+bitflags-1.0.4
+cc-1.0.25
+fuchsia-zircon-0.3.3
+fuchsia-zircon-sys-0.3.3
+libc-0.2.45
+nitrocli-0.2.0
+nitrokey-0.2.1
+nitrokey-sys-3.4.1
+rand-0.4.3
+winapi-0.3.6
+winapi-i686-pc-windows-gnu-0.4.0
+winapi-x86_64-pc-windows-gnu-0.4.0
+"
+
+inherit cargo
+
+DESCRIPTION="A command line application for interacting with Nitrokey devices"
+HOMEPAGE="https://github.com/d-e-s-o/nitrocli"
+SRC_URI="$(cargo_crate_uris ${CRATES})"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+BDEPEND="
+	>=dev-lang/rust-1.31.0
+"
+DEPEND="
+	dev-libs/hidapi
+"
+# We require gnupg for /usr/bin/gpg-connect-agent.
+RDEPEND="
+	${DEPEND}
+	app-crypt/gnupg
+"
+
+QA_FLAGS_IGNORED="/usr/bin/nitrocli"
+
+src_install() {
+	cargo install -j $(makeopts_jobs) --path=. --root="${D}/usr" $(usex debug --debug "") \
+		|| die "cargo install failed"
+	rm "${D}/usr/.crates.toml" || die "failed to remove .crates.toml"
+
+	einstalldocs
+	doman "${S}/doc/nitrocli.1"
+}
+
+src_test() {
+	cargo test -j $(makeopts_jobs) $(usex debug "" --release) -v || die "cargo test failed"
+}


             reply	other threads:[~2019-01-06  4:14 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-06  4:13 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-20 13:21 [gentoo-commits] repo/gentoo:master commit in: app-crypt/nitrocli/ Joonas Niilola
2023-01-12 14:41 Joonas Niilola
2021-12-07  6:26 Agostino Sarubbo
2021-12-05 22:04 Sam James
2021-07-31  1:15 Ionen Wolkens
2021-06-13 22:38 Sam James
2021-06-13 22:38 Sam James
2021-03-31  7:40 Joonas Niilola
2021-01-29 13:52 Joonas Niilola
2021-01-22 18:45 Sam James
2021-01-21  9:52 Agostino Sarubbo
2020-09-10  3:54 Georgy Yakovlev
2020-04-21 12:45 Joonas Niilola
2020-04-21 12:45 Joonas Niilola
2020-04-13 14:53 Agostino Sarubbo
2020-04-13 14:48 Agostino Sarubbo
2020-04-13  8:31 Joonas Niilola
2020-04-13  8:31 Joonas Niilola
2020-04-13  8:31 Joonas Niilola
2020-04-13  8:31 Joonas Niilola
2020-04-13  8:31 Joonas Niilola
2020-01-06 23:09 Georgy Yakovlev
2019-12-27  2:03 Georgy Yakovlev
2019-12-18 16:32 Joonas Niilola
2019-11-26  0:58 Thomas Deutschmann
2019-11-12 10:45 Agostino Sarubbo
2019-11-07  5:42 Joonas Niilola
2019-06-01 19:52 Georgy Yakovlev
2019-05-28  2:36 Georgy Yakovlev
2019-05-24  2:05 Georgy Yakovlev
2019-05-24  2:05 Georgy Yakovlev
2019-05-14 23:04 Georgy Yakovlev
2019-05-14 18:19 Georgy Yakovlev
2019-02-01  5:34 Georgy Yakovlev
2019-02-01  5:34 Georgy Yakovlev
2019-01-16  2:51 Georgy Yakovlev
2019-01-16  2:51 Georgy Yakovlev
2019-01-16  2:51 Georgy Yakovlev
2019-01-09  1:53 Georgy Yakovlev
2019-01-04  2:22 Georgy Yakovlev

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=1546748011.95f628ba45a5aec0955053d5bf4ce8cf25cba6b9.gyakovlev@gentoo \
    --to=gyakovlev@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