~alpine/aports

testing/ali: upgrade to 0.7.3 v1 APPLIED

Marvin Preuss: 1
 testing/ali: upgrade to 0.7.3

 2 files changed, 6 insertions(+), 34 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3661/mbox | git am -3
Learn more about email & git

[PATCH] testing/ali: upgrade to 0.7.3 Export this patch

---
 .../ali/0001-moves-uint64-on-struct-top.patch | 26 -------------------
 testing/ali/APKBUILD                          | 14 +++++-----
 2 files changed, 6 insertions(+), 34 deletions(-)
 delete mode 100644 testing/ali/0001-moves-uint64-on-struct-top.patch

diff --git a/testing/ali/0001-moves-uint64-on-struct-top.patch b/testing/ali/0001-moves-uint64-on-struct-top.patch
deleted file mode 100644
index 0cb5073ae5..0000000000
--- a/testing/ali/0001-moves-uint64-on-struct-top.patch
@@ -1,26 +0,0 @@
From f7701809e24ea67411fceb25d5d1f0036c59872d Mon Sep 17 00:00:00 2001
From: Marvin Preuss <marvin@xsteadfastx.org>
Date: Mon, 16 Aug 2021 12:45:19 +0200
Subject: [PATCH] moves uint64 on struct top

---
 attacker/resolver.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/attacker/resolver.go b/attacker/resolver.go
index 8281492..4993ea8 100644
--- a/attacker/resolver.go
+++ b/attacker/resolver.go
@@ -8,8 +8,8 @@ import (
 )
 
 type resolver struct {
-	addrs []string
 	idx   uint64
+	addrs []string
 }
 
 func NewResolver(addrs []string) *net.Resolver {
--- 
2.32.0

diff --git a/testing/ali/APKBUILD b/testing/ali/APKBUILD
index 5d5a0c20a0..d9fcb1ae22 100644
--- a/testing/ali/APKBUILD
+++ b/testing/ali/APKBUILD
@@ -1,19 +1,18 @@
# Contributor: Marvin Preuss <marvin@xsteadfastx.org>
# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
pkgname=ali
pkgver=0.7.2
pkgver=0.7.3
# this is used for the help command to print the commit.
# needs to be changed on every release.
_rev=910942e
pkgrel=3
_rev=22d6aed
pkgrel=0
pkgdesc="Generate HTTP load and plot the results in real-time"
url="https://github.com/nakabonne/ali"
arch="all"
license="MIT"
options="chmod-clean"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/nakabonne/ali/archive/refs/tags/v$pkgver.tar.gz\
	0001-moves-uint64-on-struct-top.patch
"
source="$pkgname-$pkgver.tar.gz::https://github.com/nakabonne/ali/archive/refs/tags/v$pkgver.tar.gz"

export GOPATH="$srcdir"
export GOFLAGS="$GOFLAGS -modcacherw"
@@ -35,6 +34,5 @@ package() {
	install -Dm755 $pkgname "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
8f20135ce212f508352b39afe6db8499242116a28f9654d908ab25c5b690c5b455c31d0d8eeb91e3251cf979cdad8805349c525dffee37f2e600f9f844d9c456  ali-0.7.2.tar.gz
97e71d74c459b1727f39451126302fb5ddab1e51e609232484c531b64e58f86dfeb601bfde1f3d6d91d8b199aa492b0e9a2440d67ff5dac1d48f757c79fa8101  0001-moves-uint64-on-struct-top.patch
d10cfb882707a8a366982316247edefdf88bf2f2c3f5f4c554c6d3834edbe587ff9a7de7e128b1c742593ed4f1a145e9ed4b2dc2e7ef7b26c058beb3e1576360  ali-0.7.3.tar.gz
"
-- 
2.33.0