From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02A60138334 for ; Fri, 4 Jan 2019 02:22:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD421E0A62; Fri, 4 Jan 2019 02:22:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 76A8CE0A62 for ; Fri, 4 Jan 2019 02:22:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 38F01335C9F for ; Fri, 4 Jan 2019 02:22:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 394A842F for ; Fri, 4 Jan 2019 02:22:46 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1546568258.c1f7eca883ef2bf52554047526eca946de0d9b9c.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/nitrocli/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/nitrocli/Manifest app-crypt/nitrocli/metadata.xml app-crypt/nitrocli/nitrocli-0.1.3.ebuild X-VCS-Directories: app-crypt/nitrocli/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: c1f7eca883ef2bf52554047526eca946de0d9b9c X-VCS-Branch: master Date: Fri, 4 Jan 2019 02:22:46 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dbfc047e-e1d6-4ca8-8b02-46d8c12cae8f X-Archives-Hash: 8a3c7e5d0396b67aab5af82849d56ff8 commit: c1f7eca883ef2bf52554047526eca946de0d9b9c Author: Daniel Mueller posteo net> AuthorDate: Wed Jan 2 20:47:15 2019 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Jan 4 02:17:38 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1f7eca8 app-crypt/nitrocli: New package This change introduces new ebuilds for the nitrocli program. nitrocli is a command line application that interacts with Nitrokey devices (https://www.nitrokey.com). Nitrokey Pro devices provide an OpenPGP SmartCard with additional functionality such as one-time password support and a password safe. Nitrokey Storage add to that hardware encrypted storage. nitrocli-0.1.3.ebuild installs the most recent released version of the program. Closes: https://bugs.gentoo.org/674200 Closes: https://github.com/gentoo/gentoo/pull/10729 Signed-off-by: Daniel Müller posteo.net> Signed-off-by: Georgy Yakovlev gentoo.org> app-crypt/nitrocli/Manifest | 6 ++++ app-crypt/nitrocli/metadata.xml | 20 +++++++++++++ app-crypt/nitrocli/nitrocli-0.1.3.ebuild | 49 ++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) diff --git a/app-crypt/nitrocli/Manifest b/app-crypt/nitrocli/Manifest new file mode 100644 index 00000000000..27aed74de43 --- /dev/null +++ b/app-crypt/nitrocli/Manifest @@ -0,0 +1,6 @@ +DIST cc-1.0.25.crate 43191 BLAKE2B 2f715c36150ea81406ac34224ebc5e0b95ba1bc5f80d36e78af6e6f4027521bd5e163c3ff0f08dac8b0791b797e1498c8a1151dfbc72a8a8008546e0b44ecf83 SHA512 0ae0d47c9ceb67aa0ec25b7b98ab4d378bd7a58fb7bbcd9bcc804a0deadcfae904f9353c218d63b8e7046b388c67d5316248accf1f8b69822c0f58ff465652a3 +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 pkg-config-0.3.14.crate 13565 BLAKE2B bc457c2bee4034e7b5a5303bddf078e0b3e52018eb7513c5fa610ec9b272b95fab6cbbe35281e86bf0f97883526d91dcf8c156ea83e7dc23da0924a395b6c811 SHA512 bf120f0694f44d7b83b431eb28fe14ef3aca4d08ae0c2c9edbf8f184c145ba3faa479a6ab25e2d7e9f9d9f2d9a3fc21674fd4ddfe88bcc4fadad40bd8285656d diff --git a/app-crypt/nitrocli/metadata.xml b/app-crypt/nitrocli/metadata.xml new file mode 100644 index 00000000000..d84c39390b8 --- /dev/null +++ b/app-crypt/nitrocli/metadata.xml @@ -0,0 +1,20 @@ + + + + + deso@posteo.net + Daniel Müller + + + proxy-maint@gentoo.org + Proxy Maintainers + + + nitrocli is a command line application that interacts with Nitrokey + Pro and Storage devices (see https://www.nitrokey.com/). + + + d-e-s-o/nitrocli + https://github.com/d-e-s-o/nitrocli/issues + + diff --git a/app-crypt/nitrocli/nitrocli-0.1.3.ebuild b/app-crypt/nitrocli/nitrocli-0.1.3.ebuild new file mode 100644 index 00000000000..1424608aca7 --- /dev/null +++ b/app-crypt/nitrocli/nitrocli-0.1.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CRATES=" +cc-1.0.25 +hid-0.4.1 +hidapi-sys-0.1.4 +libc-0.2.45 +nitrocli-0.1.3 +pkg-config-0.3.14 +" + +inherit cargo + +DESCRIPTION="A command line tool for interacting with the Nitrokey Storage" +HOMEPAGE="https://github.com/d-e-s-o/nitrocli" +SRC_URI="$(cargo_crate_uris ${CRATES})" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +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 +" + +# Requires a Nitrokey in pristine configuration. +RESTRICT="test" +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" +}