public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/signify/
Date: Sun, 19 Dec 2021 12:20:45 +0000 (UTC)	[thread overview]
Message-ID: <1639916442.c28af4b573f2046b52fcaf65ed3f0fefcf8fb5a6.mgorny@gentoo> (raw)

commit:     c28af4b573f2046b52fcaf65ed3f0fefcf8fb5a6
Author:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Dec 19 11:33:01 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 19 12:20:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c28af4b5

app-crypt/signify: verify-sig, EAPI 8

Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
Closes: https://github.com/gentoo/gentoo/pull/23417
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-crypt/signify/Manifest             |  2 ++
 app-crypt/signify/signify-30-r1.ebuild | 47 ++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/app-crypt/signify/Manifest b/app-crypt/signify/Manifest
index 89e1cd2d5f09..dc977b5cb949 100644
--- a/app-crypt/signify/Manifest
+++ b/app-crypt/signify/Manifest
@@ -1 +1,3 @@
+DIST signify-30.sha.sig 246 BLAKE2B b5c26ad1d90ce562a5e6e8cb0a26c031da6bcc9d04cdd668f7b81410ba38ef1777db8f1a4b38fc515c251c840baf38e3df6b3f730a59a0921180ccb88f457fe5 SHA512 b0aea8736b4508ce5a45a296e11150218d694351b15d87478cad235869a6b0150d1893247d1600ea1679d47e71e87e629f5cf4932ecafa2ad4f05aa962f1743d
 DIST signify-30.tar.gz 94593 BLAKE2B 2d432cef9990a8ce23d0f05449ef02dcf7a00f4328a25dcab98cd25c2c74875fd8ea7ed7a67b7e4ac6c9f432a91564edcc1fc9260627c37352c19cc17581aea3 SHA512 4a1ebcdbf7aa74865b97cadbf5380460702306b6d0a77306e6c943bb0c3419ca929ecd3455522da4448d780a56c8eddeb26fb4d7fb006fc3bf23f69693c39e87
+DIST signify-30.tar.xz 73824 BLAKE2B 27de72ac82d9b66346185292cad71e57af0767111123ba0c618a7d5d4add2e5502b546ffd53ffa2956c66b8f00d2b1a96d21958125d5649d6efb23254c0f56ac SHA512 e760fd89de8a3fea76bd0aa52c683e1d331968620190f4ac487bbca30da00f8d6e2636bbe3c59b0e6fa925b1bbcf81516f50c0bc37707ae7e7465b61fee5c372

diff --git a/app-crypt/signify/signify-30-r1.ebuild b/app-crypt/signify/signify-30-r1.ebuild
new file mode 100644
index 000000000000..5b65cb628875
--- /dev/null
+++ b/app-crypt/signify/signify-30-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_METHOD="signify"
+inherit toolchain-funcs verify-sig
+
+DESCRIPTION="Cryptographically sign and verify files"
+HOMEPAGE="http://www.openbsd.org/ https://github.com/aperezdc/signify"
+SRC_URI="
+	https://github.com/aperezdc/${PN}/releases/download/v${PV}/${P}.tar.xz
+	verify-sig? (
+		https://github.com/aperezdc/${PN}/releases/download/v${PV}/SHA256.sig
+			-> ${P}.sha.sig
+	)"
+
+LICENSE="BSD-1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=dev-libs/libbsd-0.7"
+DEPEND="${RDEPEND}"
+BDEPEND="verify-sig? ( sec-keys/signify-keys-signify )"
+
+PATCHES=( "${FILESDIR}"/${PN}-30-man_compress.patch )
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/signify-keys/${P}.pub"
+
+src_unpack() {
+	if use verify-sig; then
+		# Too many levels of symbolic links
+		cp "${DISTDIR}"/${P}.{sha.sig,tar.xz} "${WORKDIR}" || die
+		verify-sig_verify_signed_checksums \
+			${P}.sha.sig sha256 ${P}.tar.xz
+	fi
+	default
+}
+
+src_configure() {
+	tc-export CC
+}
+
+src_install() {
+	emake DESTDIR="${ED}" PREFIX="/usr" install
+	einstalldocs
+}


             reply	other threads:[~2021-12-19 12:20 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-19 12:20 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-25 22:38 [gentoo-commits] repo/gentoo:master commit in: app-crypt/signify/ Sam James
2024-11-23 16:02 Michał Górny
2022-09-05  5:23 Michał Górny
2022-09-05  5:23 Michał Górny
2022-09-04 21:49 Jakov Smolić
2022-09-04 17:45 Sam James
2022-07-09  8:28 罗百科
2022-07-08 10:22 罗百科
2022-04-29  3:09 Sam James
2022-04-09 19:23 Arthur Zamarin
2022-04-09 19:23 Arthur Zamarin
2022-04-02  7:43 Arthur Zamarin
2022-04-02  7:39 Arthur Zamarin
2022-03-31 19:07 Arthur Zamarin
2022-03-26 23:54 Yixun Lan
2022-03-25 19:03 Sam James
2022-03-25 19:03 Sam James
2021-12-23  4:03 Sam James
2021-12-19 12:20 Michał Górny
2021-04-19 22:56 Sam James
2020-12-20 19:26 Thomas Deutschmann
2020-09-26 14:33 Aaron Bauman
2020-09-02 21:07 Sam James
2018-09-29  7:11 Patrick Lauer
2017-12-07 20:34 Jeroen Roovers
2017-12-07 20:34 Jeroen Roovers
2017-04-27 12:44 Patrick Lauer
2016-04-22 17:21 Patrick Lauer
2016-04-17 11:08 Patrick Lauer

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=1639916442.c28af4b573f2046b52fcaf65ed3f0fefcf8fb5a6.mgorny@gentoo \
    --to=mgorny@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