aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cfssl
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-08-03 18:46:59 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-08-24 23:13:31 +0000
commit5969c3e110aa96fbb568a3046efd9bb6f33caf6b (patch)
tree8702006d221b1e8cbafb77dbf7005d41e5a84644 /testing/cfssl
parent407d9671381cf613c46ce8d8a507074bd5d48d03 (diff)
downloadaports-5969c3e110aa96fbb568a3046efd9bb6f33caf6b.tar.bz2
aports-5969c3e110aa96fbb568a3046efd9bb6f33caf6b.tar.xz
testing/cfssl: upgrade to 1.2.0 and modernize abuild
Diffstat (limited to 'testing/cfssl')
-rw-r--r--testing/cfssl/APKBUILD25
1 files changed, 7 insertions, 18 deletions
diff --git a/testing/cfssl/APKBUILD b/testing/cfssl/APKBUILD
index 4b5ade0cb2..9217c1b946 100644
--- a/testing/cfssl/APKBUILD
+++ b/testing/cfssl/APKBUILD
@@ -1,24 +1,15 @@
# Contributor:
# Maintainer:
pkgname=cfssl
-pkgver=1.1.0_git20160219
-_pkgcommit=b70ba7a6c5246664189c88eb2b986d80093d7b3e
-pkgrel=1
+pkgver=1.2.0
+pkgrel=0
pkgdesc="Cloudflare PKI and TLS toolkit"
url="https://cfssl.org"
arch="all"
license="BSD"
-depends="musl"
-depends_dev=""
-makedepends="$depends_dev go git gcc libc-dev libtool libgcc libltdl"
-install=""
-subpackages=""
-source="$pkgname-$_pkgcommit.tar.gz::https://github.com/cloudflare/$pkgname/archive/$_pkgcommit.tar.gz"
-
-_builddir="$srcdir/$pkgname-$_pkgcommit"
-prepare() {
- cd "$_builddir"
-}
+makedepends="go"
+source="$pkgname-$pkgver.tar.gz::https://github.com/cloudflare/$pkgname/archive/$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$srcdir"
@@ -26,7 +17,7 @@ build() {
export GO15VENDOREXPERIMENT=1
mkdir -p src/github.com/cloudflare/
- cp -r "$_builddir" src/github.com/cloudflare/cfssl
+ cp -r "$builddir" src/github.com/cloudflare/cfssl
go install -tags pkcs11 github.com/cloudflare/cfssl/cmd/...
}
@@ -43,6 +34,4 @@ package() {
install -Dm755 bin/multirootca $pkgdir/usr/bin/multirootca
}
-md5sums="63dd717cf3883013032c8376e8387c1a cfssl-b70ba7a6c5246664189c88eb2b986d80093d7b3e.tar.gz"
-sha256sums="495fdc0794eb4bc9eece350e6f4a93837933d170479e27312b6d34d47deb544a cfssl-b70ba7a6c5246664189c88eb2b986d80093d7b3e.tar.gz"
-sha512sums="585fffe375d9aaa47ae523335352cd331126fd95479188c2891cbe5ba12f0c800a5b8633d7595842f9a1ee81980d16eb2388e5dc5e016b3a4b69e428ffb8150a cfssl-b70ba7a6c5246664189c88eb2b986d80093d7b3e.tar.gz"
+sha512sums="7ecf2d6e6248b94f1abbb714c1fa3eb257903a4adab2a2c6708f63f286a82030451a2c93ba082653a0b97b1881070052beec5e0858b14d6971ecec87fd0e432f cfssl-1.2.0.tar.gz"