aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cfssl
diff options
context:
space:
mode:
authortang0th <tang0th@gmx.com>2016-02-20 12:05:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-02-22 16:47:51 +0000
commit8271c18aa96f51d0be696808eb1de2d4156a4241 (patch)
treeb001cc226be1ef574ae20dc7f06a0768270736d4 /testing/cfssl
parent945bf9e18b6cc6525aeee325047d9e7a833fa879 (diff)
downloadaports-8271c18aa96f51d0be696808eb1de2d4156a4241.tar.bz2
aports-8271c18aa96f51d0be696808eb1de2d4156a4241.tar.xz
testing/cfssl: new aport
https://cfssl.org Cloudflare PKI and TLS toolkit
Diffstat (limited to 'testing/cfssl')
-rw-r--r--testing/cfssl/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/cfssl/APKBUILD b/testing/cfssl/APKBUILD
new file mode 100644
index 0000000000..8170aca493
--- /dev/null
+++ b/testing/cfssl/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor:
+# Maintainer:
+pkgname=cfssl
+pkgver=1.1.0_git20160219
+_pkgcommit=b70ba7a6c5246664189c88eb2b986d80093d7b3e
+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"
+}
+
+build() {
+ cd "$srcdir"
+ export GOPATH="$PWD"
+ export GO15VENDOREXPERIMENT=1
+
+ 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
+}
+
+md5sums="63dd717cf3883013032c8376e8387c1a cfssl-b70ba7a6c5246664189c88eb2b986d80093d7b3e.tar.gz"
+sha256sums="495fdc0794eb4bc9eece350e6f4a93837933d170479e27312b6d34d47deb544a cfssl-b70ba7a6c5246664189c88eb2b986d80093d7b3e.tar.gz"
+sha512sums="585fffe375d9aaa47ae523335352cd331126fd95479188c2891cbe5ba12f0c800a5b8633d7595842f9a1ee81980d16eb2388e5dc5e016b3a4b69e428ffb8150a cfssl-b70ba7a6c5246664189c88eb2b986d80093d7b3e.tar.gz"