aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cfssl
diff options
context:
space:
mode:
authortang0th <tang0th@gmx.com>2016-03-05 23:03:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-03-22 10:32:29 +0000
commit5947d35426db49e801854344d3f4867e42ff5f06 (patch)
treea7f93dac041d3ec0de2549c960468fcfde262d16 /testing/cfssl
parent2ff5365db672970079f40b1d9b252989ce4e3a07 (diff)
downloadaports-5947d35426db49e801854344d3f4867e42ff5f06.tar.bz2
aports-5947d35426db49e801854344d3f4867e42ff5f06.tar.xz
testing/cfssl: Fix creation of executables
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"