From dff6f59f0e8a0f8a0616068593e319d40d24efb4 Mon Sep 17 00:00:00 2001 From: Matthias Lisin Date: Mon, 6 Apr 2020 23:23:23 +0200 Subject: newpkg: helmsman 3.2.0-1 --- .SRCINFO | 17 +++++++++++++++++ .gitignore | 5 +++++ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..989547f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = helmsman + pkgdesc = Helm Charts as Code + pkgver = 3.2.0 + pkgrel = 1 + url = https://github.com/Praqma/helmsman + arch = x86_64 + arch = i686 + license = MIT + makedepends = go + depends = helm + depends = kubectl + optdepends = ruby-hiera-eyaml: backend for secret encryption + source = helmsman-3.2.0.tar.gz::https://github.com/Praqma/helmsman/archive/v3.2.0.tar.gz + sha256sums = 66fee9d212a78c918d5d31b3f0f4a5217fdf81995c68724a253d1d356d41efa3 + +pkgname = helmsman + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..37e29d6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/pkg/ +/src/ +/*.log +/helmsman-*.tar.gz +/helmsman-*.pkg.tar* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..f22ffb0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: ml +pkgname=helmsman +pkgver=3.2.0 +pkgrel=1 +pkgdesc='Helm Charts as Code' +arch=('x86_64' 'i686') +url='https://github.com/Praqma/helmsman' +license=('MIT') +depends=('helm' 'kubectl') +optdepends=('ruby-hiera-eyaml: backend for secret encryption') +makedepends=('go') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('66fee9d212a78c918d5d31b3f0f4a5217fdf81995c68724a253d1d356d41efa3') + +build() { + cd "${pkgname}-${pkgver}" + export CGO_LDFLAGS="$LDFLAGS" + export GOFLAGS='-buildmode=pie -modcacherw -trimpath' + # https://github.com/Praqma/helmsman/blob/master/Makefile + # man makepkg(8) + _date=$(date --utc --date="@${SOURCE_DATE_EPOCH}" +'%d%m%y') + go build -o "$pkgname" -ldflags "-X main.version=v${pkgver}-${_date}" ./cmd/helmsman +} + +check() { + cd "${pkgname}-${pkgver}" + go test ./... +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dm755 "$pkgname" -t "${pkgdir}/usr/bin" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} -- cgit v1.2.3-70-g09d2 From 102d8ec031e578d1e1ff71e6945940319b508dfc Mon Sep 17 00:00:00 2001 From: Matthias Lisin Date: Wed, 15 Apr 2020 12:54:47 +0200 Subject: upgpkg: helmsman 3.3.0-1 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 989547f..b8ba1b6 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code - pkgver = 3.2.0 + pkgver = 3.3.0 pkgrel = 1 url = https://github.com/Praqma/helmsman arch = x86_64 @@ -10,8 +10,8 @@ pkgbase = helmsman depends = helm depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption - source = helmsman-3.2.0.tar.gz::https://github.com/Praqma/helmsman/archive/v3.2.0.tar.gz - sha256sums = 66fee9d212a78c918d5d31b3f0f4a5217fdf81995c68724a253d1d356d41efa3 + source = helmsman-3.3.0.tar.gz::https://github.com/Praqma/helmsman/archive/v3.3.0.tar.gz + sha256sums = e9116122751a6448129d2e14f01b2777f66f02d534c5985bb5dc16eedca0387e pkgname = helmsman diff --git a/PKGBUILD b/PKGBUILD index f22ffb0..42edbbf 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: ml pkgname=helmsman -pkgver=3.2.0 +pkgver=3.3.0 pkgrel=1 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') @@ -10,7 +10,7 @@ depends=('helm' 'kubectl') optdepends=('ruby-hiera-eyaml: backend for secret encryption') makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('66fee9d212a78c918d5d31b3f0f4a5217fdf81995c68724a253d1d356d41efa3') +sha256sums=('e9116122751a6448129d2e14f01b2777f66f02d534c5985bb5dc16eedca0387e') build() { cd "${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2 From ad98e15a2e7237169b6dfe12d1513f0ce1406e1b Mon Sep 17 00:00:00 2001 From: Matthias Lisin Date: Wed, 13 May 2020 14:46:27 +0200 Subject: upgpkg: helmsman 3.3.0-2 --- .SRCINFO | 4 ++-- PKGBUILD | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index b8ba1b6..d579c57 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code pkgver = 3.3.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Praqma/helmsman arch = x86_64 arch = i686 license = MIT makedepends = go - depends = helm + depends = helm-diff depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption source = helmsman-3.3.0.tar.gz::https://github.com/Praqma/helmsman/archive/v3.3.0.tar.gz diff --git a/PKGBUILD b/PKGBUILD index 42edbbf..e6b7ebd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,12 +1,12 @@ # Maintainer: ml pkgname=helmsman pkgver=3.3.0 -pkgrel=1 +pkgrel=2 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') url='https://github.com/Praqma/helmsman' license=('MIT') -depends=('helm' 'kubectl') +depends=('helm-diff' 'kubectl') optdepends=('ruby-hiera-eyaml: backend for secret encryption') makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") @@ -14,10 +14,13 @@ sha256sums=('e9116122751a6448129d2e14f01b2777f66f02d534c5985bb5dc16eedca0387e') build() { cd "${pkgname}-${pkgver}" + export CGO_ENABLED=1 export CGO_LDFLAGS="$LDFLAGS" + export CGO_CFLAGS="$CFLAGS" + export CGO_CPPFLAGS="$CPPFLAGS" + export CGO_CXXFLAGS="$CXXFLAGS" export GOFLAGS='-buildmode=pie -modcacherw -trimpath' - # https://github.com/Praqma/helmsman/blob/master/Makefile - # man makepkg(8) + # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile _date=$(date --utc --date="@${SOURCE_DATE_EPOCH}" +'%d%m%y') go build -o "$pkgname" -ldflags "-X main.version=v${pkgver}-${_date}" ./cmd/helmsman } -- cgit v1.2.3-70-g09d2 From e15772c0113c46918baa8af0db5a68cb3002cbbd Mon Sep 17 00:00:00 2001 From: Matthias Lisin Date: Wed, 13 May 2020 15:06:56 +0200 Subject: upgpkg: helmsman-3.4.0-1 --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index d579c57..3c9826e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code - pkgver = 3.3.0 - pkgrel = 2 + pkgver = 3.4.0 + pkgrel = 1 url = https://github.com/Praqma/helmsman arch = x86_64 arch = i686 @@ -10,8 +10,8 @@ pkgbase = helmsman depends = helm-diff depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption - source = helmsman-3.3.0.tar.gz::https://github.com/Praqma/helmsman/archive/v3.3.0.tar.gz - sha256sums = e9116122751a6448129d2e14f01b2777f66f02d534c5985bb5dc16eedca0387e + source = helmsman-3.4.0.tar.gz::https://github.com/Praqma/helmsman/archive/v3.4.0.tar.gz + sha256sums = 8a58c448e4571604ad72b9e3a049de422a8a300a75182ff6a303c98f5e1b2ad0 pkgname = helmsman diff --git a/PKGBUILD b/PKGBUILD index e6b7ebd..50554bd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: ml pkgname=helmsman -pkgver=3.3.0 -pkgrel=2 +pkgver=3.4.0 +pkgrel=1 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') url='https://github.com/Praqma/helmsman' @@ -10,7 +10,7 @@ depends=('helm-diff' 'kubectl') optdepends=('ruby-hiera-eyaml: backend for secret encryption') makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('e9116122751a6448129d2e14f01b2777f66f02d534c5985bb5dc16eedca0387e') +sha256sums=('8a58c448e4571604ad72b9e3a049de422a8a300a75182ff6a303c98f5e1b2ad0') build() { cd "${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2 From 9597cea52c8e91372f01900b4a1f92e46dc7bf83 Mon Sep 17 00:00:00 2001 From: Matthias Lisin Date: Fri, 15 May 2020 21:26:37 +0200 Subject: upgpkg: helmsman 3.4.1-1 --- .SRCINFO | 6 +++--- .gitignore | 5 +++-- PKGBUILD | 11 ++++++++--- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 3c9826e..350dc3b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code - pkgver = 3.4.0 + pkgver = 3.4.1 pkgrel = 1 url = https://github.com/Praqma/helmsman arch = x86_64 @@ -10,8 +10,8 @@ pkgbase = helmsman depends = helm-diff depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption - source = helmsman-3.4.0.tar.gz::https://github.com/Praqma/helmsman/archive/v3.4.0.tar.gz - sha256sums = 8a58c448e4571604ad72b9e3a049de422a8a300a75182ff6a303c98f5e1b2ad0 + source = helmsman-3.4.1.tar.gz::https://github.com/Praqma/helmsman/archive/v3.4.1.tar.gz + sha256sums = b79508f64bc7b56eadba41a45ff0e4c6f12990210d464173bbba441635edebdb pkgname = helmsman diff --git a/.gitignore b/.gitignore index 37e29d6..f1ecb61 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /pkg/ /src/ /*.log -/helmsman-*.tar.gz -/helmsman-*.pkg.tar* +/*.tar.gz +/*.pkg.tar* +/*.src.tar* diff --git a/PKGBUILD b/PKGBUILD index 50554bd..40399eb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: ml pkgname=helmsman -pkgver=3.4.0 +pkgver=3.4.1 pkgrel=1 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') @@ -10,7 +10,12 @@ depends=('helm-diff' 'kubectl') optdepends=('ruby-hiera-eyaml: backend for secret encryption') makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('8a58c448e4571604ad72b9e3a049de422a8a300a75182ff6a303c98f5e1b2ad0') +sha256sums=('b79508f64bc7b56eadba41a45ff0e4c6f12990210d464173bbba441635edebdb') + +prepare() { + cd "${pkgname}-${pkgver}" + go mod download +} build() { cd "${pkgname}-${pkgver}" @@ -19,7 +24,7 @@ build() { export CGO_CFLAGS="$CFLAGS" export CGO_CPPFLAGS="$CPPFLAGS" export CGO_CXXFLAGS="$CXXFLAGS" - export GOFLAGS='-buildmode=pie -modcacherw -trimpath' + export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath' # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile _date=$(date --utc --date="@${SOURCE_DATE_EPOCH}" +'%d%m%y') go build -o "$pkgname" -ldflags "-X main.version=v${pkgver}-${_date}" ./cmd/helmsman -- cgit v1.2.3-70-g09d2 From e9c6a8ade02110287f53c085d66b427af0481d46 Mon Sep 17 00:00:00 2001 From: Matthias Lisin Date: Tue, 26 May 2020 14:28:36 +0200 Subject: upgpkg: helmsman 3.4.2-1 --- .SRCINFO | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 350dc3b..b7ee045 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code - pkgver = 3.4.1 + pkgver = 3.4.2 pkgrel = 1 url = https://github.com/Praqma/helmsman arch = x86_64 @@ -10,8 +10,8 @@ pkgbase = helmsman depends = helm-diff depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption - source = helmsman-3.4.1.tar.gz::https://github.com/Praqma/helmsman/archive/v3.4.1.tar.gz - sha256sums = b79508f64bc7b56eadba41a45ff0e4c6f12990210d464173bbba441635edebdb + source = helmsman-3.4.2.tar.gz::https://github.com/Praqma/helmsman/archive/v3.4.2.tar.gz + sha256sums = 5e0dc492560cb3ecc11f5db6bcea3861f8305004950becc12a81dfc7bfaed17d pkgname = helmsman diff --git a/PKGBUILD b/PKGBUILD index 40399eb..9500053 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: ml pkgname=helmsman -pkgver=3.4.1 +pkgver=3.4.2 pkgrel=1 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') @@ -10,7 +10,7 @@ depends=('helm-diff' 'kubectl') optdepends=('ruby-hiera-eyaml: backend for secret encryption') makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('b79508f64bc7b56eadba41a45ff0e4c6f12990210d464173bbba441635edebdb') +sha256sums=('5e0dc492560cb3ecc11f5db6bcea3861f8305004950becc12a81dfc7bfaed17d') prepare() { cd "${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2 From 35aaeb7292ea376544251c0636202f615b6c9d34 Mon Sep 17 00:00:00 2001 From: Matthias Lisin Date: Tue, 2 Jun 2020 21:04:25 +0200 Subject: upgpkg: Add optional helm-secrets --- .SRCINFO | 3 ++- PKGBUILD | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index b7ee045..70218e5 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code pkgver = 3.4.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Praqma/helmsman arch = x86_64 arch = i686 @@ -10,6 +10,7 @@ pkgbase = helmsman depends = helm-diff depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption + optdepends = helm-secrets: backend for secret encryption source = helmsman-3.4.2.tar.gz::https://github.com/Praqma/helmsman/archive/v3.4.2.tar.gz sha256sums = 5e0dc492560cb3ecc11f5db6bcea3861f8305004950becc12a81dfc7bfaed17d diff --git a/PKGBUILD b/PKGBUILD index 9500053..42f6dda 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,13 +1,15 @@ # Maintainer: ml pkgname=helmsman pkgver=3.4.2 -pkgrel=1 +pkgrel=2 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') url='https://github.com/Praqma/helmsman' license=('MIT') depends=('helm-diff' 'kubectl') -optdepends=('ruby-hiera-eyaml: backend for secret encryption') +optdepends=( + 'ruby-hiera-eyaml: backend for secret encryption' + 'helm-secrets: backend for secret encryption') makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") sha256sums=('5e0dc492560cb3ecc11f5db6bcea3861f8305004950becc12a81dfc7bfaed17d') -- cgit v1.2.3-70-g09d2 From 24cfbb64376059d5704d078d1845a37ca2c81272 Mon Sep 17 00:00:00 2001 From: Matthias Lisin Date: Wed, 3 Jun 2020 11:02:37 +0200 Subject: updpkg: helmsman 3.4.3-1 --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 70218e5..e03ac1a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code - pkgver = 3.4.2 - pkgrel = 2 + pkgver = 3.4.3 + pkgrel = 1 url = https://github.com/Praqma/helmsman arch = x86_64 arch = i686 @@ -11,8 +11,8 @@ pkgbase = helmsman depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption optdepends = helm-secrets: backend for secret encryption - source = helmsman-3.4.2.tar.gz::https://github.com/Praqma/helmsman/archive/v3.4.2.tar.gz - sha256sums = 5e0dc492560cb3ecc11f5db6bcea3861f8305004950becc12a81dfc7bfaed17d + source = helmsman-3.4.3.tar.gz::https://github.com/Praqma/helmsman/archive/v3.4.3.tar.gz + sha256sums = a030106c670aed5dd0e198f3f8595a77c31ba5234d6e0df6055a1d9373a9cf9c pkgname = helmsman diff --git a/PKGBUILD b/PKGBUILD index 42f6dda..0b73366 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: ml pkgname=helmsman -pkgver=3.4.2 -pkgrel=2 +pkgver=3.4.3 +pkgrel=1 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') url='https://github.com/Praqma/helmsman' @@ -12,7 +12,7 @@ optdepends=( 'helm-secrets: backend for secret encryption') makedepends=('go') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('5e0dc492560cb3ecc11f5db6bcea3861f8305004950becc12a81dfc7bfaed17d') +sha256sums=('a030106c670aed5dd0e198f3f8595a77c31ba5234d6e0df6055a1d9373a9cf9c') prepare() { cd "${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2 From d590a1aa57a167fc6626d538982f814714b8ced1 Mon Sep 17 00:00:00 2001 From: Matthias Lisin Date: Tue, 16 Jun 2020 14:32:04 +0200 Subject: upgpkg: helmsman 3.4.4-1 --- .SRCINFO | 6 +++--- PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index e03ac1a..8b5ce2b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code - pkgver = 3.4.3 + pkgver = 3.4.4 pkgrel = 1 url = https://github.com/Praqma/helmsman arch = x86_64 @@ -11,8 +11,8 @@ pkgbase = helmsman depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption optdepends = helm-secrets: backend for secret encryption - source = helmsman-3.4.3.tar.gz::https://github.com/Praqma/helmsman/archive/v3.4.3.tar.gz - sha256sums = a030106c670aed5dd0e198f3f8595a77c31ba5234d6e0df6055a1d9373a9cf9c + source = https://github.com/Praqma/helmsman/archive/v3.4.4/helmsman-3.4.4.tar.gz + sha256sums = 220be069c610c0b80789336648d318ed2046394e7a3f9b6119555fe35f19c5b2 pkgname = helmsman diff --git a/PKGBUILD b/PKGBUILD index 0b73366..87d946a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: ml pkgname=helmsman -pkgver=3.4.3 +pkgver=3.4.4 pkgrel=1 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') @@ -11,8 +11,8 @@ optdepends=( 'ruby-hiera-eyaml: backend for secret encryption' 'helm-secrets: backend for secret encryption') makedepends=('go') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('a030106c670aed5dd0e198f3f8595a77c31ba5234d6e0df6055a1d9373a9cf9c') +source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('220be069c610c0b80789336648d318ed2046394e7a3f9b6119555fe35f19c5b2') prepare() { cd "${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2 From 8cb65fc8651413ab82a2752bacb38e3493b1b85e Mon Sep 17 00:00:00 2001 From: Matthias Lisin Date: Wed, 24 Jun 2020 22:19:52 +0200 Subject: upgpkg: helmsman 3.4.4-2 --- .SRCINFO | 2 +- PKGBUILD | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 8b5ce2b..27b2db1 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code pkgver = 3.4.4 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Praqma/helmsman arch = x86_64 arch = i686 diff --git a/PKGBUILD b/PKGBUILD index 87d946a..e75dafa 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: ml pkgname=helmsman pkgver=3.4.4 -pkgrel=1 +pkgrel=2 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') url='https://github.com/Praqma/helmsman' @@ -41,4 +41,8 @@ package() { cd "${pkgname}-${pkgver}" install -Dm755 "$pkgname" -t "${pkgdir}/usr/bin" install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + + # README, docs and examples + install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" + cp -a docs examples -t "${pkgdir}/usr/share/doc/${pkgname}" } -- cgit v1.2.3-70-g09d2 From 7c682eecb2fe377c24e94fb991c3d181624d404d Mon Sep 17 00:00:00 2001 From: ml Date: Fri, 9 Oct 2020 01:50:57 +0200 Subject: updpkg: helmsman 3.4.6-1 --- .SRCINFO | 8 ++++---- PKGBUILD | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 27b2db1..ce98938 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code - pkgver = 3.4.4 - pkgrel = 2 + pkgver = 3.4.6 + pkgrel = 1 url = https://github.com/Praqma/helmsman arch = x86_64 arch = i686 @@ -11,8 +11,8 @@ pkgbase = helmsman depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption optdepends = helm-secrets: backend for secret encryption - source = https://github.com/Praqma/helmsman/archive/v3.4.4/helmsman-3.4.4.tar.gz - sha256sums = 220be069c610c0b80789336648d318ed2046394e7a3f9b6119555fe35f19c5b2 + source = https://github.com/Praqma/helmsman/archive/v3.4.6/helmsman-3.4.6.tar.gz + sha256sums = 53f4ced9d274f7af7efd7462c77ed5536971efe5480e7ed9e1a3cc067acfadb2 pkgname = helmsman diff --git a/PKGBUILD b/PKGBUILD index e75dafa..022907e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: ml pkgname=helmsman -pkgver=3.4.4 -pkgrel=2 +pkgver=3.4.6 +pkgrel=1 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') url='https://github.com/Praqma/helmsman' @@ -12,7 +12,7 @@ optdepends=( 'helm-secrets: backend for secret encryption') makedepends=('go') source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('220be069c610c0b80789336648d318ed2046394e7a3f9b6119555fe35f19c5b2') +sha256sums=('53f4ced9d274f7af7efd7462c77ed5536971efe5480e7ed9e1a3cc067acfadb2') prepare() { cd "${pkgname}-${pkgver}" @@ -26,9 +26,9 @@ build() { export CGO_CFLAGS="$CFLAGS" export CGO_CPPFLAGS="$CPPFLAGS" export CGO_CXXFLAGS="$CXXFLAGS" - export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath' + export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath -ldflags=-linkmode=external' # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile - _date=$(date --utc --date="@${SOURCE_DATE_EPOCH}" +'%d%m%y') + TZ=UTC printf -v _date '%(%d%m%y)T' ${SOURCE_DATE_EPOCH:-} go build -o "$pkgname" -ldflags "-X main.version=v${pkgver}-${_date}" ./cmd/helmsman } -- cgit v1.2.3-70-g09d2 From 397418b101fbf20b8095d473276ae9ae3a83f17a Mon Sep 17 00:00:00 2001 From: ml Date: Fri, 9 Oct 2020 01:52:48 +0200 Subject: updpkg: helmsman 3.4.6-2 --- .SRCINFO | 2 +- PKGBUILD | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index ce98938..3a541d5 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code pkgver = 3.4.6 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Praqma/helmsman arch = x86_64 arch = i686 diff --git a/PKGBUILD b/PKGBUILD index 022907e..d42b80f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: ml pkgname=helmsman pkgver=3.4.6 -pkgrel=1 +pkgrel=2 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') url='https://github.com/Praqma/helmsman' @@ -26,10 +26,10 @@ build() { export CGO_CFLAGS="$CFLAGS" export CGO_CPPFLAGS="$CPPFLAGS" export CGO_CXXFLAGS="$CXXFLAGS" - export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath -ldflags=-linkmode=external' + export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath' # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile TZ=UTC printf -v _date '%(%d%m%y)T' ${SOURCE_DATE_EPOCH:-} - go build -o "$pkgname" -ldflags "-X main.version=v${pkgver}-${_date}" ./cmd/helmsman + go build -o "$pkgname" -ldflags "-linkmode=external -X main.version=v${pkgver}-${_date}" ./cmd/helmsman } check() { -- cgit v1.2.3-70-g09d2 From a9a250939b471ea191e9870cb33d1acace248630 Mon Sep 17 00:00:00 2001 From: ml Date: Mon, 9 Nov 2020 21:42:15 +0100 Subject: updpkg: helmsman 3.5.0-1 --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 3a541d5..fdd3c5a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code - pkgver = 3.4.6 - pkgrel = 2 + pkgver = 3.5.0 + pkgrel = 1 url = https://github.com/Praqma/helmsman arch = x86_64 arch = i686 @@ -11,8 +11,8 @@ pkgbase = helmsman depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption optdepends = helm-secrets: backend for secret encryption - source = https://github.com/Praqma/helmsman/archive/v3.4.6/helmsman-3.4.6.tar.gz - sha256sums = 53f4ced9d274f7af7efd7462c77ed5536971efe5480e7ed9e1a3cc067acfadb2 + source = https://github.com/Praqma/helmsman/archive/v3.5.0/helmsman-3.5.0.tar.gz + sha256sums = f700de27d35324e7a848e7437faed7b0edc3c868ca931f52e314db99da4e632c pkgname = helmsman diff --git a/PKGBUILD b/PKGBUILD index d42b80f..1c38d6f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: ml pkgname=helmsman -pkgver=3.4.6 -pkgrel=2 +pkgver=3.5.0 +pkgrel=1 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') url='https://github.com/Praqma/helmsman' @@ -12,7 +12,7 @@ optdepends=( 'helm-secrets: backend for secret encryption') makedepends=('go') source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('53f4ced9d274f7af7efd7462c77ed5536971efe5480e7ed9e1a3cc067acfadb2') +sha256sums=('f700de27d35324e7a848e7437faed7b0edc3c868ca931f52e314db99da4e632c') prepare() { cd "${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2 From 5a3a028dcf3a4f0e00fb2353ccbd4dacf96fdacd Mon Sep 17 00:00:00 2001 From: ml Date: Tue, 10 Nov 2020 23:41:37 +0100 Subject: updpkg: helmsman 3.5.1-1 --- .SRCINFO | 6 +++--- PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index fdd3c5a..a8ebb8e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code - pkgver = 3.5.0 + pkgver = 3.5.1 pkgrel = 1 url = https://github.com/Praqma/helmsman arch = x86_64 @@ -11,8 +11,8 @@ pkgbase = helmsman depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption optdepends = helm-secrets: backend for secret encryption - source = https://github.com/Praqma/helmsman/archive/v3.5.0/helmsman-3.5.0.tar.gz - sha256sums = f700de27d35324e7a848e7437faed7b0edc3c868ca931f52e314db99da4e632c + source = https://github.com/Praqma/helmsman/archive/v3.5.1/helmsman-3.5.1.tar.gz + sha256sums = 33dedea0a3d862fc949b2343dcb81d34552c7f00105967dc7023e36ed39c0aa1 pkgname = helmsman diff --git a/PKGBUILD b/PKGBUILD index 1c38d6f..d59aee2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: ml pkgname=helmsman -pkgver=3.5.0 +pkgver=3.5.1 pkgrel=1 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') @@ -12,7 +12,7 @@ optdepends=( 'helm-secrets: backend for secret encryption') makedepends=('go') source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('f700de27d35324e7a848e7437faed7b0edc3c868ca931f52e314db99da4e632c') +sha256sums=('33dedea0a3d862fc949b2343dcb81d34552c7f00105967dc7023e36ed39c0aa1') prepare() { cd "${pkgname}-${pkgver}" @@ -28,7 +28,7 @@ build() { export CGO_CXXFLAGS="$CXXFLAGS" export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath' # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile - TZ=UTC printf -v _date '%(%d%m%y)T' ${SOURCE_DATE_EPOCH:-} + TZ=UTC printf -v _date '%(%d%m%y)T' ${SOURCE_DATE_EPOCH:- -1} go build -o "$pkgname" -ldflags "-linkmode=external -X main.version=v${pkgver}-${_date}" ./cmd/helmsman } -- cgit v1.2.3-70-g09d2 From 8929eec6fe55481cfb93460ef8949fc62bf72e8e Mon Sep 17 00:00:00 2001 From: ml Date: Wed, 25 Nov 2020 23:44:37 +0100 Subject: updpkg: helmsman 3.6.2-1 --- .SRCINFO | 6 +++--- PKGBUILD | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a8ebb8e..4feb5b3 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code - pkgver = 3.5.1 + pkgver = 3.6.2 pkgrel = 1 url = https://github.com/Praqma/helmsman arch = x86_64 @@ -11,8 +11,8 @@ pkgbase = helmsman depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption optdepends = helm-secrets: backend for secret encryption - source = https://github.com/Praqma/helmsman/archive/v3.5.1/helmsman-3.5.1.tar.gz - sha256sums = 33dedea0a3d862fc949b2343dcb81d34552c7f00105967dc7023e36ed39c0aa1 + source = https://github.com/Praqma/helmsman/archive/v3.6.2/helmsman-3.6.2.tar.gz + sha256sums = 56a50521b5ec443569080eaaa700e4d2bf890fc8a42048c1e0560fc5daa8ed8e pkgname = helmsman diff --git a/PKGBUILD b/PKGBUILD index d59aee2..b5aca72 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: ml pkgname=helmsman -pkgver=3.5.1 +pkgver=3.6.2 pkgrel=1 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') @@ -12,7 +12,7 @@ optdepends=( 'helm-secrets: backend for secret encryption') makedepends=('go') source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('33dedea0a3d862fc949b2343dcb81d34552c7f00105967dc7023e36ed39c0aa1') +sha256sums=('56a50521b5ec443569080eaaa700e4d2bf890fc8a42048c1e0560fc5daa8ed8e') prepare() { cd "${pkgname}-${pkgver}" @@ -28,13 +28,13 @@ build() { export CGO_CXXFLAGS="$CXXFLAGS" export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath' # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile - TZ=UTC printf -v _date '%(%d%m%y)T' ${SOURCE_DATE_EPOCH:- -1} + TZ=UTC printf -v _date '%(%d%m%y)T' "${SOURCE_DATE_EPOCH:- -1}" go build -o "$pkgname" -ldflags "-linkmode=external -X main.version=v${pkgver}-${_date}" ./cmd/helmsman } check() { cd "${pkgname}-${pkgver}" - go test ./... + go test -short ./... } package() { -- cgit v1.2.3-70-g09d2 From 4e60cc6c00a83f75c3ddc4b7d97a80069035f200 Mon Sep 17 00:00:00 2001 From: ml Date: Wed, 13 Jan 2021 01:31:06 +0100 Subject: updpkg: helmsman 3.6.3-1 --- .SRCINFO | 6 +++--- PKGBUILD | 29 +++++++++++++---------------- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 4feb5b3..afe4a0d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = helmsman pkgdesc = Helm Charts as Code - pkgver = 3.6.2 + pkgver = 3.6.3 pkgrel = 1 url = https://github.com/Praqma/helmsman arch = x86_64 @@ -11,8 +11,8 @@ pkgbase = helmsman depends = kubectl optdepends = ruby-hiera-eyaml: backend for secret encryption optdepends = helm-secrets: backend for secret encryption - source = https://github.com/Praqma/helmsman/archive/v3.6.2/helmsman-3.6.2.tar.gz - sha256sums = 56a50521b5ec443569080eaaa700e4d2bf890fc8a42048c1e0560fc5daa8ed8e + source = https://github.com/Praqma/helmsman/archive/v3.6.3/helmsman-3.6.3.tar.gz + sha256sums = 05ce86066028ed0fbb99902018953107432727abe297745de4013815b5bf6781 pkgname = helmsman diff --git a/PKGBUILD b/PKGBUILD index b5aca72..048e58a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,8 @@ # Maintainer: ml +# to build in clean chroot build helm-diff from AUR, then pass to build cmd: +# $ extra-x86_64-build -- -I helm-diff-3.1.3-2-x86_64.pkg.tar.zst pkgname=helmsman -pkgver=3.6.2 +pkgver=3.6.3 pkgrel=1 pkgdesc='Helm Charts as Code' arch=('x86_64' 'i686') @@ -11,16 +13,11 @@ optdepends=( 'ruby-hiera-eyaml: backend for secret encryption' 'helm-secrets: backend for secret encryption') makedepends=('go') -source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('56a50521b5ec443569080eaaa700e4d2bf890fc8a42048c1e0560fc5daa8ed8e') - -prepare() { - cd "${pkgname}-${pkgver}" - go mod download -} +source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('05ce86066028ed0fbb99902018953107432727abe297745de4013815b5bf6781') build() { - cd "${pkgname}-${pkgver}" + cd "$pkgname-$pkgver" export CGO_ENABLED=1 export CGO_LDFLAGS="$LDFLAGS" export CGO_CFLAGS="$CFLAGS" @@ -29,20 +26,20 @@ build() { export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath' # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile TZ=UTC printf -v _date '%(%d%m%y)T' "${SOURCE_DATE_EPOCH:- -1}" - go build -o "$pkgname" -ldflags "-linkmode=external -X main.version=v${pkgver}-${_date}" ./cmd/helmsman + go build -ldflags "-linkmode=external -X main.version=v$pkgver-$_date" ./cmd/helmsman } check() { - cd "${pkgname}-${pkgver}" + cd "$pkgname-$pkgver" go test -short ./... } package() { - cd "${pkgname}-${pkgver}" - install -Dm755 "$pkgname" -t "${pkgdir}/usr/bin" - install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + cd "$pkgname-$pkgver" + install -Dm755 "$pkgname" -t "$pkgdir/usr/bin" + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" # README, docs and examples - install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" - cp -a docs examples -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname" + cp -a docs examples -t "$pkgdir/usr/share/doc/$pkgname" } -- cgit v1.2.3-70-g09d2