From 742e4245a0040c434a36a625a39f0552e5b12ee5 Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Sat, 4 Dec 2021 12:21:21 +0330 Subject: [PATCH] upgpkg: pumba 0.9.0-3 temporary fix --- ci/pumba/before_makepkg.sh | 6 +++--- pumba/.SRCINFO | 10 ++++++---- pumba/PKGBUILD | 13 +++++++++---- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/ci/pumba/before_makepkg.sh b/ci/pumba/before_makepkg.sh index e4b0858..e05d26a 100644 --- a/ci/pumba/before_makepkg.sh +++ b/ci/pumba/before_makepkg.sh @@ -1,5 +1,5 @@ #!/bin/sh pacman -Syu git --noconfirm -git clone https://aur.archlinux.org/go-lint-git.git -chown -R devel: go-lint-git -su devel sh -c "cd go-lint-git && makepkg -sri --noconfirm" +git clone https://aur.archlinux.org/golangci-lint.git +chown -R devel: golangci-lint +su devel sh -c "cd golangci-lint && makepkg -sri --noconfirm" diff --git a/pumba/.SRCINFO b/pumba/.SRCINFO index 46abe9f..f9f7051 100644 --- a/pumba/.SRCINFO +++ b/pumba/.SRCINFO @@ -1,13 +1,15 @@ pkgbase = pumba pkgdesc = Chaos testing, network emulation and stress testing tool for containers - pkgver = 0.8.0 - pkgrel = 1 + pkgver = 0.9.0 + pkgrel = 3 url = https://github.com/alexei-led/pumba arch = x86_64 license = Apache makedepends = go makedepends = git - source = pumba-0.8.0-1.tar.gz::https://github.com/alexei-led/pumba/archive/refs/tags/0.8.0.tar.gz - sha256sums = 052ece6984a0533d7f93b2b64c66d5e89516bbf93e4cb732a2743322b4eef9da + source = pumba-0.9.0-3.tar.gz::https://github.com/alexei-led/pumba/archive/refs/tags/0.9.0.tar.gz + source = https://patch-diff.githubusercontent.com/raw/alexei-led/pumba/pull/214.patch + sha256sums = 7faa50566898a53b0fff81973e7161874eabec45ad11f9defcd0e04310bddaff + sha256sums = fe04556548acdf46bb7f7c0774624a37adb2271044265735f2b24e02981649c6 pkgname = pumba diff --git a/pumba/PKGBUILD b/pumba/PKGBUILD index 4a5f95b..3475bbc 100644 --- a/pumba/PKGBUILD +++ b/pumba/PKGBUILD @@ -1,16 +1,21 @@ # Maintainer: Amin Vakil pkgname=pumba -pkgver=0.8.0 -pkgrel=1 +pkgver=0.9.0 +pkgrel=3 pkgdesc="Chaos testing, network emulation and stress testing tool for containers" arch=('x86_64') url="https://github.com/alexei-led/pumba" license=('Apache') makedepends=('go' 'git') -source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz") -sha256sums=('052ece6984a0533d7f93b2b64c66d5e89516bbf93e4cb732a2743322b4eef9da') +source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz" + "https://patch-diff.githubusercontent.com/raw/alexei-led/pumba/pull/214.patch") +sha256sums=('7faa50566898a53b0fff81973e7161874eabec45ad11f9defcd0e04310bddaff' + 'fe04556548acdf46bb7f7c0774624a37adb2271044265735f2b24e02981649c6') +prepare() { + patch -d "$pkgname-$pkgver" -p1 -i ../214.patch +} build() { cd "$pkgname-$pkgver"