Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/cfssl: new aport

From: tang0th <tang0th_at_gmx.com>
Date: Sat, 20 Feb 2016 12:05:05 +0000

https://cfssl.org
Cloudflare PKI and TLS toolkit
---
 testing/cfssl/APKBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 testing/cfssl/APKBUILD
diff --git a/testing/cfssl/APKBUILD b/testing/cfssl/APKBUILD
new file mode 100644
index 0000000..8170aca
--- /dev/null
+++ b/testing/cfssl/APKBUILD
_at_@ -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"
-- 
2.6.4
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Feb 20 2016 - 12:05:05 GMT