diff options
author | prspkt <prspkt@protonmail.com> | 2018-03-15 23:26:46 +0000 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-03-20 13:52:11 +0100 |
commit | 352346672bd8208a2f6d0529882ff617de3c873b (patch) | |
tree | 46a2e4de13fa0c703df82b6d0614518afa84cbd9 /testing/cfssl/APKBUILD | |
parent | eb41792cfff9e0b52b4e910dd6bcc37910098d8e (diff) | |
download | aports-352346672bd8208a2f6d0529882ff617de3c873b.tar.bz2 aports-352346672bd8208a2f6d0529882ff617de3c873b.tar.xz |
testing/cfssl: upgrade to 1.3.1, clarify license
Diffstat (limited to 'testing/cfssl/APKBUILD')
-rw-r--r-- | testing/cfssl/APKBUILD | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/testing/cfssl/APKBUILD b/testing/cfssl/APKBUILD index 9217c1b946..45271fdf16 100644 --- a/testing/cfssl/APKBUILD +++ b/testing/cfssl/APKBUILD @@ -1,37 +1,31 @@ # Contributor: # Maintainer: pkgname=cfssl -pkgver=1.2.0 +pkgver=1.3.1 pkgrel=0 pkgdesc="Cloudflare PKI and TLS toolkit" url="https://cfssl.org" arch="all" -license="BSD" +license="BSD-2-Clause" makedepends="go" source="$pkgname-$pkgver.tar.gz::https://github.com/cloudflare/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$srcdir" - export GOPATH="$PWD" - export GO15VENDOREXPERIMENT=1 + cd "$srcdir" - mkdir -p src/github.com/cloudflare/ - cp -r "$builddir" src/github.com/cloudflare/cfssl + mkdir -p src/github.com/cloudflare + cp -r "$builddir" src/github.com/cloudflare/cfssl - go install -tags pkcs11 github.com/cloudflare/cfssl/cmd/... + export GOPATH="$PWD" + go install -tags pkcs11 github.com/cloudflare/cfssl/cmd/... } package() { - cd "$srcdir" - install -Dm755 bin/cfssl $pkgdir/usr/bin/cfssl - install -Dm755 bin/cfssl-bundle $pkgdir/usr/bin/cfssl-bundle - install -Dm755 bin/cfssl-certinfo $pkgdir/usr/bin/cfssl-certinfo - install -Dm755 bin/cfssl-newkey $pkgdir/usr/bin/cfssl-newkey - install -Dm755 bin/cfssl-scan $pkgdir/usr/bin/cfssl-scan - install -Dm755 bin/cfssljson $pkgdir/usr/bin/cfssljson - install -Dm755 bin/mkbundle $pkgdir/usr/bin/mkbundle - install -Dm755 bin/multirootca $pkgdir/usr/bin/multirootca + cd "$srcdir"/bin + + mkdir -p "$pkgdir"/usr/bin + install -m755 "$srcdir"/bin/* "$pkgdir"/usr/bin/ } -sha512sums="7ecf2d6e6248b94f1abbb714c1fa3eb257903a4adab2a2c6708f63f286a82030451a2c93ba082653a0b97b1881070052beec5e0858b14d6971ecec87fd0e432f cfssl-1.2.0.tar.gz" +sha512sums="1c33527d1d0c08cac39647e7c6237e655569c474a872b144b962af3e7c39c420d002e719875bbea1f5b502fa640483e63d9a7061bed7875c64565d3f6c15cf47 cfssl-1.3.1.tar.gz" |