From 8fc62fe2fdea6dc3af4fa4a337e3f635ef4b4087 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Wed, 29 Jul 2015 18:26:35 +0000 Subject: [PATCH] upgrading package: cfssl 20150718 -> 20150729 --- cfssl/cfssl.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/cfssl/cfssl.spec b/cfssl/cfssl.spec index 160be0db92..4b42bd11fa 100644 --- a/cfssl/cfssl.spec +++ b/cfssl/cfssl.spec @@ -22,8 +22,8 @@ ## # package version -%define V_opkg 20150718 -%define V_dist 20150718 +%define V_opkg 20150729 +%define V_dist 20150729 # package information Name: cfssl @@ -36,7 +36,7 @@ Class: EVAL Group: Network License: MIT Version: %{V_opkg} -Release: 20150718 +Release: 20150729 # list of sources Source0: http://download.openpkg.org/components/versioned/cfssl/cfssl-%{V_dist}.tar.xz @@ -46,8 +46,8 @@ Source3: cfssl-initca.sh Patch0: cfssl.patch # build information -BuildPreReq: OpenPKG, openpkg >= 20120101, go -PreReq: OpenPKG, openpkg >= 20120101 +BuildPreReq: OpenPKG, openpkg >= 20140101, go +PreReq: OpenPKG, openpkg >= 20140101 %description CF-SSL is CloudFlare's SSL/TLS/X.509 swiss army knife. It is both a @@ -72,12 +72,14 @@ PreReq: OpenPKG, openpkg >= 20120101 -e 's;/etc/cfssl/ca-bundle.crt.metadata;%{l_prefix}/var/cfssl/dat/ca-bundle.crt.metadata;g' \ -e 's;/etc/cfssl/int-bundle\.crt;%{l_prefix}/var/cfssl/dat/int-bundle.crt;g' \ -e 's;/etc/cfssl/intermediates;%{l_prefix}/var/cfssl/dat/int.d;g' \ - src/github.com/cloudflare/cfssl/cli/cli.go + src/github.com/cloudflare/cfssl/scan/broad.go \ + src/github.com/cloudflare/cfssl/cli/config.go # prepare Go build environment export GOPATH=`pwd` # build program + export CC="%{l_cc} %{l_cflags} %{l_cppflags} %{l_ldflags}" go build -x -o cfssl src/github.com/cloudflare/cfssl/cmd/cfssl/cfssl.go go build -x -o cfssl-mkbundle src/github.com/cloudflare/cfssl/cmd/mkbundle/mkbundle.go go build -x -o cfssl-json src/github.com/cloudflare/cfssl/cmd/cfssljson/cfssljson.go