diff options
-rw-r--r-- | app-crypt/signify/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/signify/files/signify-30-man_compress.patch | 18 | ||||
-rw-r--r-- | app-crypt/signify/signify-30.ebuild | 28 |
3 files changed, 47 insertions, 0 deletions
diff --git a/app-crypt/signify/Manifest b/app-crypt/signify/Manifest index e6b2482ccb5c..052c07712367 100644 --- a/app-crypt/signify/Manifest +++ b/app-crypt/signify/Manifest @@ -1,3 +1,4 @@ DIST signify-23.tar.gz 95335 BLAKE2B 4cdbee5dae7f217644a5df41d4253938c5cb8fb1f621f945addfceb64090234199e8dd81d7ef42c41aae13e9e5158541f40062296ca07562977473e39f68cd0b SHA512 f0330994f3d308e9ad7c7bf4b6d6f8e8bef914d6d10d83507002ad97f853b4e0a829997a0225373e2c34829a611b70980d7d3674247d4b5b447204ad7f039608 DIST signify-24.tar.gz 92038 BLAKE2B 4d9413a423534fb4f9adfb50494802b737e6099b47933eed9686ba751f7ffb6999b084c5a5431652a33baab11d7384e762c4709bab52bb0de4694a885c8eb570 SHA512 d612aca617f44ea7bf32a31d65da7e265dfdbe67f7983fc095b1f2d5c83cfa27f4c857279d98f6928199d15193c706cf3c77022fec70529a7b5d38b16ce64df5 DIST signify-29.tar.gz 94553 BLAKE2B eba286618c5ea9fb9515c44330297276504009078a09d7b36c208225e4fd33e014623829dd582ededc2f35f207058ad2c93412ad006852966c37466ed87e7b9a SHA512 a0fc07c176f3e0e6ea32d059fb6cc27849159dcc3975c47b2b0a54f7047cb1f1dc0e032f2c55eaf84096b0a84288193afec0777e669851a7c7f97a880fb0f0ab +DIST signify-30.tar.gz 94593 BLAKE2B 2d432cef9990a8ce23d0f05449ef02dcf7a00f4328a25dcab98cd25c2c74875fd8ea7ed7a67b7e4ac6c9f432a91564edcc1fc9260627c37352c19cc17581aea3 SHA512 4a1ebcdbf7aa74865b97cadbf5380460702306b6d0a77306e6c943bb0c3419ca929ecd3455522da4448d780a56c8eddeb26fb4d7fb006fc3bf23f69693c39e87 diff --git a/app-crypt/signify/files/signify-30-man_compress.patch b/app-crypt/signify/files/signify-30-man_compress.patch new file mode 100644 index 000000000000..f33a6c9d44b5 --- /dev/null +++ b/app-crypt/signify/files/signify-30-man_compress.patch @@ -0,0 +1,18 @@ +diff --git a/Makefile b/Makefile +index f908451..1537eb6 100644 +--- a/Makefile ++++ b/Makefile +@@ -224,11 +224,11 @@ sha512_256hl.c: helper.c + -e 's/HASH/SHA512_256/g' \ + -e 's/SHA512_256_CTX/SHA2_CTX/g' $< > $@ + +-install: signify signify.1.gz ++install: signify + install -m 755 -d $(DESTDIR)$(PREFIX)/bin + install -m 755 -t $(DESTDIR)$(PREFIX)/bin signify + install -m 755 -d $(DESTDIR)$(PREFIX)/share/man/man1 +- install -m 644 -t $(DESTDIR)$(PREFIX)/share/man/man1 signify.1.gz ++ install -m 644 -t $(DESTDIR)$(PREFIX)/share/man/man1 signify.1 + + .PHONY: install + diff --git a/app-crypt/signify/signify-30.ebuild b/app-crypt/signify/signify-30.ebuild new file mode 100644 index 000000000000..474220e8fa16 --- /dev/null +++ b/app-crypt/signify/signify-30.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Cryptographically sign and verify files" +HOMEPAGE="http://www.openbsd.org/ https://github.com/aperezdc/signify" +SRC_URI="https://github.com/aperezdc/signify/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-1" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-libs/libbsd-0.7" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-30-man_compress.patch ) + +src_configure() { + tc-export CC +} + +src_install() { + emake DESTDIR="${ED}" PREFIX="/usr" install + einstalldocs +} |