~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] testing/ali: new aport

Marvin Preuss <marvin@xsteadfastx.org>
Details
Message ID
<20210816080726.658288-1-marvin@xsteadfastx.org>
DKIM signature
missing
Download raw message
Patch: +33 -0
---
 testing/ali/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/ali/APKBUILD

diff --git a/testing/ali/APKBUILD b/testing/ali/APKBUILD
new file mode 100644
index 0000000000..d687c24422
--- /dev/null
+++ b/testing/ali/APKBUILD
@@ -0,0 +1,33 @@
# Contributor: Marvin Preuss <marvin@xsteadfastx.org>
# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
pkgname=ali
pkgver=0.7.2
pkgrel=0
pkgdesc="Generate HTTP load and plot the results in real-time"
url="https://github.com/nakabonne/ali"
arch="all"
license="MIT"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/nakabonne/ali/archive/refs/tags/v$pkgver.tar.gz"

export GOPATH="$srcdir"

build() {
	go build \
		-ldflags "
		-X \"main.version=$pkgver\" \
		-X \"main.date=$(date --utc +%Y-%m-%dT%H:%M:%SZ)\" \
		-X \"main.commit=none\" \
		"
}

check() {
	go test ./...
}

package() {
	install -Dm755 $pkgname "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
8f20135ce212f508352b39afe6db8499242116a28f9654d908ab25c5b690c5b455c31d0d8eeb91e3251cf979cdad8805349c525dffee37f2e600f9f844d9c456  ali-0.7.2.tar.gz
"
-- 
2.32.0
Details
Message ID
<162910516859.6885.2440813769506068578.gitlab.24284.72119e092f17f18d790ebd3b3dbfbce142debc93@listserv.local>
In-Reply-To
<20210816080726.658288-1-marvin@xsteadfastx.org> (view parent)
DKIM signature
missing
Download raw message
On Mon, 16 Aug 2021 10:07:26 +0200, Marvin Preuss wrote:
> +		-ldflags "
> +		-X \"main.version=$pkgver\" \
> +		-X \"main.date=$(date --utc +%Y-%m-%dT%H:%M:%SZ)\" \

Need to use SOURCE_DATE_EPOCH to guarantee reproducibility

```shell
$(date -u "+%Y-%m-%dT%TZ" ${SOURCE_DATE_EPOCH:+-d @$SOURCE_DATE_EPOCH})
```

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/24284#note_175448
Reply to thread Export thread (mbox)