diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-12-27 08:08:56 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-12-27 08:08:56 +0100 |
commit | f54efa8eb5e1af63b435598b3cbba0c6f8d6c511 (patch) | |
tree | 733fd52b9dc39cd4c065b8e644d0b094c3af2aee /app-crypt | |
parent | dev-ruby/gpgme: add 2.0.22 (diff) | |
download | gentoo-f54efa8eb5e1af63b435598b3cbba0c6f8d6c511.tar.gz gentoo-f54efa8eb5e1af63b435598b3cbba0c6f8d6c511.tar.bz2 gentoo-f54efa8eb5e1af63b435598b3cbba0c6f8d6c511.zip |
app-crypt/age: add 1.1.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/age/Manifest | 2 | ||||
-rw-r--r-- | app-crypt/age/age-1.1.1.ebuild | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/app-crypt/age/Manifest b/app-crypt/age/Manifest index 43a23acb23e1..ef8e05d95192 100644 --- a/app-crypt/age/Manifest +++ b/app-crypt/age/Manifest @@ -1,2 +1,4 @@ DIST age-1.0.0-deps.tar.xz 4837780 BLAKE2B 37e6621aaadc723fb2b3ecfe213cbc3aaeac4f597d61b7b74941f0fa605ba66fb38de96513d7d2a4c8af73e3fa31b3b4b0665a0ae3d6832bc404168158089035 SHA512 8f1bd81342b6bcfdce353de1fe970a40153fd7dfb3abc81ed8081c5378819fa6bb6dfd97534fff35d94e923b1951ba7ce7074100947087382558234e1caf4f8a DIST age-1.0.0.tar.gz 59682 BLAKE2B 1347f833b2e867bcff5a4738f9444aaf60bdfd4804c0ecd4d60cebde3e90c250554ad9b99b305a48ed29b11439ea2847a06d39fbab3085b8861b22bceea51a42 SHA512 77ea1af03a76339f4e934222bc9fc6119698080d0e03011c79b25119e0e8a1e6c0772ede5069cd63bde48cfaa4d355c897912741680e8b0c52d4c518182c2f7f +DIST age-1.1.1-deps.tar.xz 4958644 BLAKE2B dd6eeee0bd1c970cfabc6b37e7655c552bd292673f4a77211f54fc1122c9b490a823db7e87a02b857b30e57969dd623ef425eba52002e57d9fd9ced94448e13e SHA512 36d45cf684364de1364d20cd197c2e4c826a0109917ab6bcb9e295acc6f209f305bf5e89c25ffc6a696526aab07cddae640e1658907f08cb79312a032a2d186d +DIST age-1.1.1.tar.gz 204281 BLAKE2B fad101f9790e3ca85142207471545679bfa6e0b842af4f0368a6f9d67e48f64f60c13d3d2192b3b91caeb9e5d818e17a5e618fa9b24f80e9297e57ac1727a6e2 SHA512 bee02208453982b6403382c1e351ba28cbe80942702e7a35de89c3ae9a640c26ad1ee8239feb3726eac5df4210a5fc6375d40623162cad033965bd2eb0f7ce1e diff --git a/app-crypt/age/age-1.1.1.ebuild b/app-crypt/age/age-1.1.1.ebuild new file mode 100644 index 000000000000..38d405360142 --- /dev/null +++ b/app-crypt/age/age-1.1.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="A simple, modern and secure encryption tool (and Go library)" +HOMEPAGE="https://github.com/FiloSottile/age" +SRC_URI="https://github.com/FiloSottile/age/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~graaff/age/${P}-deps.tar.xz" + +S="${WORKDIR}/age-${PV}" + +LICENSE="BSD" +#RESTRICT+=" test" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="dev-go/gox" + +src_compile() { + go build -ldflags "-X main.Version=${PV}" -o . filippo.io/age/cmd/... || die +} + +src_test() { + go test -race filippo.io/age/cmd/... || die +} + +src_install() { + dobin age age-keygen + doman doc/age.1 doc/age-keygen.1 + dodoc README.md +} |