diff options
author | jinqiang zhang <peeweep@0x0.ee> | 2024-12-11 06:30:30 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-11 07:14:18 +0000 |
commit | 3ffc169449fb7425b19ef60ee30c3a1c5ee2d034 (patch) | |
tree | 4c410504a4505630b7eaa633983328ecf34116d3 /app-crypt | |
parent | net-im/telegram-desktop: keyword 5.9.0 for ~loong (diff) | |
download | gentoo-3ffc169449fb7425b19ef60ee30c3a1c5ee2d034.tar.gz gentoo-3ffc169449fb7425b19ef60ee30c3a1c5ee2d034.tar.bz2 gentoo-3ffc169449fb7425b19ef60ee30c3a1c5ee2d034.zip |
app-crypt/cfssl: add 1.6.5
Closes: https://bugs.gentoo.org/917254
Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
Closes: https://github.com/gentoo/gentoo/pull/39671
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/cfssl/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/cfssl/cfssl-1.6.5.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/app-crypt/cfssl/Manifest b/app-crypt/cfssl/Manifest index cbb44b34801c..a3ab67c527c7 100644 --- a/app-crypt/cfssl/Manifest +++ b/app-crypt/cfssl/Manifest @@ -1,3 +1,4 @@ DIST cfssl-1.4.1.tar.gz 5736648 BLAKE2B 581627eb269fcbbbe9ff3afe558c6ddc7afa10f563444899244045baa0ae195d8822b389e7c59bec6c9135b1159b18d2a5e497c83cd26eaa47a3a87de23ce694 SHA512 0aa557708a300e2eaf48a99d55794069530b6842584cdd867a864272b205c89d5abc2acf3a19d34b3b5519a6429b5f55685129638e65d574ad6afe5b7e1e1e8f DIST cfssl-1.6.0.tar.gz 7428162 BLAKE2B 100313b756885e00a09003bfd326f8b0d69a14d148cd65b97a53667716c14a8841d862740b7dafbca74da30a8f1d6465ca3f3bad6ccd2ed39379bb1de80fd225 SHA512 a1470c50a6ffa506d2c1798a9e8af5a60206cd41d24cc3ca8a071e9ddfc3249a07fa79c03dabc3df0800985be7e930018045ae95ee83d31486cba93e516da111 DIST cfssl-1.6.4.tar.gz 7890450 BLAKE2B d179f8768894b3686b377698120df6dd33f7dd82b4f8c74b626ca62168f59eff350129793f0954cc7db5e621d26d99f4e26ea579cf7eb5d5f89520cad060f5ee SHA512 6327d15dda24bf072958c74f4cd0bf1aa4023f935bb24da7f5655739992970fa777f6771603dd3a6edfee6cd2ed418a2fef335f7209ce88cf07674d592c3110f +DIST cfssl-1.6.5.tar.gz 8164981 BLAKE2B e82a80969f1b51142753bb9a8fcd4ec4854eb3a456bc1170159117ca8a29d6cb883c25e37981e7922f91480e161b1d0eea0c5265caaa550ccf31e01b092dac8b SHA512 b59863d534474ba73efe2dc38b55ba4eb1e0911346b6b9fff7778a3bdc77bf58290ab7173e3ce2cd69f38594dc471ce78632c2aa1cf9188eb6163ca272391185 diff --git a/app-crypt/cfssl/cfssl-1.6.5.ebuild b/app-crypt/cfssl/cfssl-1.6.5.ebuild new file mode 100644 index 000000000000..d3514adaba47 --- /dev/null +++ b/app-crypt/cfssl/cfssl-1.6.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module + +DESCRIPTION="Cloudflare's PKI and TLS toolkit" +HOMEPAGE="https://github.com/cloudflare/cfssl" +SRC_URI="https://github.com/cloudflare/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-1 MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" + +PATCHES=( + "${FILESDIR}/${PN}-1.4.1-build-fix.patch" +) + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" emake VERSION="${PV}" +} + +src_install() { + dobin bin/* + dodoc CHANGELOG README.md + mv -iv "${ED}"/usr/bin/mkbundle{,.cfssl} || die +} + +pkg_postinst() { + ewarn "Please note that mkbundle is renamed to mkbundle.cfssl, to avoid" + ewarn "collision with mkbundle in dev-lang/mono" +} |