Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/vault: new aport

From: Francesco Colista <fcolista_at_alpinelinux.org>
Date: Mon, 07 Sep 2015 10:56:54 +0200

Il 2015-08-13 23:47 Christian Kampka ha scritto:
> https://www.vaultproject.io
> Vault is a tool for securely accessing secrets. A secret is anything
> that you want to tightly control access to, such as API keys,
> passwords,
> certificates, and more. Vault provides a unified interface to any
> secret, while providing tight access control and recording a detailed
> audit log.
> ---
> testing/vault/APKBUILD | 100 +++++++++++++++++++++
> testing/vault/Godeps.json | 221
> ++++++++++++++++++++++++++++++++++++++++++++++
> testing/vault/vault.confd | 1 +
> testing/vault/vault.hcl | 15 ++++
> testing/vault/vault.initd | 33 +++++++
> 5 files changed, 370 insertions(+)
> create mode 100644 testing/vault/APKBUILD
> create mode 100644 testing/vault/Godeps.json
> create mode 100644 testing/vault/vault.confd
> create mode 100644 testing/vault/vault.hcl
> create mode 100644 testing/vault/vault.initd
>

Hi Christian.
Thanks for this patch.
It does apply correctly, but package does not build.
snapshot function fails:


buildlab-edge:~/aports/testing/vault$ abuild snapshot
>>> vault: Cleaning temporary build dirs...
(1/3) Installing go (1.5-r0)
(2/3) Installing godep (0_git20140825-r1)
(3/3) Installing .makedepends-vault (0)
Executing busybox-1.23.2-r9.trigger
OK: 732 MiB in 132 packages
   % Total % Received % Xferd Average Speed Time Time Time
Current
                                  Dload Upload Total Spent Left
Speed
   0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
     0curl: (22) The requested URL returned error: 404 Not Found
>>> ERROR: vault: fetch failed
>>> vault: Checking out v0.2.0 tag
Note: checking out '358a3c28815f96f4996ce516795a0cd3673075de'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in
this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again.
Example:

   git checkout -b <new-branch-name>

install: can't stat
'/home/fcolista/aports/testing/vault/src/Godeps.json': No such file or
directory

You can try to fix this apkbuild by using the build-it "snapshot"
function of abuild rather than implementing you that function (if it is
possible).
An example can be found with main/atheme-iris package.
Thanks.

-- 
:: Francesco Colista
:: Alpine Linux Infrstraucture
:: http://www.alpinelinux.org
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Sep 07 2015 - 10:56:54 GMT