aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cfssl
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cfssl')
-rw-r--r--testing/cfssl/APKBUILD36
1 files changed, 18 insertions, 18 deletions
diff --git a/testing/cfssl/APKBUILD b/testing/cfssl/APKBUILD
index 8170aca493..4b5ade0cb2 100644
--- a/testing/cfssl/APKBUILD
+++ b/testing/cfssl/APKBUILD
@@ -3,7 +3,7 @@
pkgname=cfssl
pkgver=1.1.0_git20160219
_pkgcommit=b70ba7a6c5246664189c88eb2b986d80093d7b3e
-pkgrel=0
+pkgrel=1
pkgdesc="Cloudflare PKI and TLS toolkit"
url="https://cfssl.org"
arch="all"
@@ -17,30 +17,30 @@ source="$pkgname-$_pkgcommit.tar.gz::https://github.com/cloudflare/$pkgname/arch
_builddir="$srcdir/$pkgname-$_pkgcommit"
prepare() {
- cd "$_builddir"
+ cd "$_builddir"
}
build() {
- cd "$srcdir"
- export GOPATH="$PWD"
- export GO15VENDOREXPERIMENT=1
-
- mkdir -p src/github.com/cloudflare/
- cp -r "$_builddir" src/github.com/cloudflare/cfssl
+ cd "$srcdir"
+ export GOPATH="$PWD"
+ export GO15VENDOREXPERIMENT=1
- go install -tags pkcs11 github.com/cloudflare/cfssl/cmd/...
+ mkdir -p src/github.com/cloudflare/
+ cp -r "$_builddir" src/github.com/cloudflare/cfssl
+
+ go install -tags pkcs11 github.com/cloudflare/cfssl/cmd/...
}
package() {
- cd "$srcdir"
- install -Dm755 bin/cfssl $pkgdir/usr/bin
- install -Dm755 bin/cfssl-bundle $pkgdir/usr/bin
- install -Dm755 bin/cfssl-certinfo $pkgdir/usr/bin
- install -Dm755 bin/cfssl-newkey $pkgdir/usr/bin
- install -Dm755 bin/cfssl-scan $pkgdir/usr/bin
- install -Dm755 bin/cfssljson $pkgdir/usr/bin
- install -Dm755 bin/mkbundle $pkgdir/usr/bin
- install -Dm755 bin/multirootca $pkgdir/usr/bin
+ 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
}
md5sums="63dd717cf3883013032c8376e8387c1a cfssl-b70ba7a6c5246664189c88eb2b986d80093d7b3e.tar.gz"