-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-crypt/cfssl: new package, add 1.6.4
Don’t want to wait https://bugs.gentoo.org/917254 to bump it Signed-off-by: jinqiang zhang <[email protected]>
- Loading branch information
1 parent
3341a6c
commit 9106332
Showing
4 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST cfssl-1.6.4.tar.gz 7890450 BLAKE2B d179f8768894b3686b377698120df6dd33f7dd82b4f8c74b626ca62168f59eff350129793f0954cc7db5e621d26d99f4e26ea579cf7eb5d5f89520cad060f5ee SHA512 6327d15dda24bf072958c74f4cd0bf1aa4023f935bb24da7f5655739992970fa777f6771603dd3a6edfee6cd2ed418a2fef335f7209ce88cf07674d592c3110f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Copyright 1999-2022 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" | ||
|
||
RDEPEND="!!dev-lang/mono" #File collision (bug 614364) | ||
|
||
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
This patch cannot be upstreamed in this form. However, the following | ||
issue has been opened to discuss integrating a better solution upstream. | ||
|
||
https://github.com/cloudflare/cfssl/issues/1062 | ||
|
||
diff --git a/Makefile b/Makefile | ||
index 10a52fc..7fc019b 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -1,5 +1,4 @@ | ||
-VERSION := $(shell git describe --tags --abbrev=0 | tr -d '[:alpha:]') | ||
-LDFLAGS := "-s -w -X github.com/cloudflare/cfssl/cli/version.version=$(VERSION)" | ||
+LDFLAGS := "-X github.com/cloudflare/cfssl/cli/version.version=$(VERSION)" | ||
|
||
export GOFLAGS := -mod=vendor | ||
export GOPROXY := off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>William Hubbs</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">cloudflare/cfssl</remote-id> | ||
</upstream> | ||
</pkgmetadata> |