Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/openocd-git: New aport

From: Leonardo Arena <rnalrd_at_gmail.com>
Date: Tue, 5 Mar 2019 11:14:05 +0100

Hi,

see few comments below.

On Mon, Jan 28, 2019 at 4:15 PM Marian Buschsieweke <
marian.buschsieweke_at_ovgu.de> wrote:

> http://openocd.org/
> Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan
> Testing
>
> This package is based upon testing/openocd, but builds the current
> development
> version of OpenOCD instead. As of now, the latest stable version of OpenOCD
> (version 0.10.0) is not able to flash nRF52 based boards.
> ---
> testing/openocd-git/APKBUILD | 64 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 64 insertions(+)
> create mode 100644 testing/openocd-git/APKBUILD
>


I believe it needs some refreshing:

Fetching
https://sourceforge.net/code-snapshots/git/o/op/openocd/code.git/openocd-code-7345801b69d2511252d587159bb9758532797233.zip

curl: (22) The requested URL returned error: 404 Not Found


>
> diff --git a/testing/openocd-git/APKBUILD b/testing/openocd-git/APKBUILD
> new file mode 100644
> index 0000000000..586b3e805a
> --- /dev/null
> +++ b/testing/openocd-git/APKBUILD
> _at__at_ -0,0 +1,64 @@
> +# Contributor: Sören Tempel <soeren+alpine_at_soeren-tempel.net>
> +# Maintainer: Marian Buschsieweke <marian.buschsieweke_at_ovgu.de>
> +_pkgname=openocd
> +_commit=7345801b69d2511252d587159bb9758532797233
> +_jimtcl_commit=a9bf5975fd0f89974d689a2d9ebd0873c8d64787
> +_libjaylink_commit=8645845c1abebd004e991ba9a7f808f4fd0c608b
> +pkgname=$_pkgname-git
> +pkgver=20190128
> +pkgrel=0
> +pkgdesc="Free and Open On-Chip Debugging, In-System Programming and
> Boundary-Scan Testing"
> +url="http://openocd.org/"
> +arch="all"
> +license="GPL"
>

It doesn't look like a valid license ID.


> +depends=""
> +depends_dev=""
> +makedepends="libftdi1-dev libusb-dev hidapi-dev libtool autoconf automake"
> +install=""
> +provides="openocd"
>

Wouldn't it make more sense to name the package "openocd" and use the
snapshot features of abuild?

Thanks!

/eo



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Mar 05 2019 - 11:14:05 UTC