Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/cfssl: Fix creation of executables

From: Muh Muhten <muh.muhten_at_gmail.com>
Date: Tue, 8 Mar 2016 18:37:14 -0500

This seems to have changed the indentation scheme, making it hard to see
what changes were made.

On 2016-03-05 6:03 PM, tang0th wrote:
> ---
> testing/cfssl/APKBUILD | 36 ++++++++++++++++++------------------
> 1 file changed, 18 insertions(+), 18 deletions(-)
>
> diff --git a/testing/cfssl/APKBUILD b/testing/cfssl/APKBUILD
> index 8170aca..4b5ade0 100644
> --- a/testing/cfssl/APKBUILD
> +++ b/testing/cfssl/APKBUILD
> _at_@ -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"
> _at_@ -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"
>


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Mar 08 2016 - 18:37:14 GMT