summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-08-22 02:12:39 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-08-22 02:12:39 +0200
commit75ff356779f7d3791ef97b2669e5ca1d80cbed3a (patch)
treebd6178f546f03d93ef69cce7899303e9d6df124b
parentfixup! add cri-tools 1.24 (diff)
add package for helm
-rw-r--r--helm/Makefile19
-rw-r--r--helm/debian/changelog5
-rw-r--r--helm/debian/compat1
-rw-r--r--helm/debian/control11
-rw-r--r--helm/debian/install1
-rwxr-xr-xhelm/debian/rules16
-rw-r--r--helm/debian/source/format1
-rw-r--r--helm/sha256sums.txt2
8 files changed, 56 insertions, 0 deletions
diff --git a/helm/Makefile b/helm/Makefile
new file mode 100644
index 0000000..01cc380
--- /dev/null
+++ b/helm/Makefile
@@ -0,0 +1,19 @@
+VERSION := "invalid"
+DOWNLOAD_BASEURL := "https://get.helm.sh"
+
+.PHONY: clean
+
+all: i386/helm amd64/helm
+
+%/helm: helm-v$(VERSION)-linux-%.tar.gz
+ mkdir -p $(shell echo $@ | sed 's#/.*##')
+ tar -C $(shell echo $@ | sed 's#/.*##') -xzf "$<" --strip-components=1
+
+helm-v$(VERSION)-linux-%.tar.gz:
+ wget -nc --progress=dot:mega "$(DOWNLOAD_BASEURL)/$(shell echo $@ | sed s/i386/386/)" -O "$@"
+ sha256sum -c --ignore-missing sha256sums.txt
+
+clean:
+ rm -rf i386
+ rm -rf amd64
+ rm -f helm-v$(VERSION)-linux-*.tar.gz
diff --git a/helm/debian/changelog b/helm/debian/changelog
new file mode 100644
index 0000000..13b496c
--- /dev/null
+++ b/helm/debian/changelog
@@ -0,0 +1,5 @@
+helm (3.9.3-1) unstable; urgency=medium
+
+ * initial package release.
+
+ -- Christian Pointner <equinox@spreadspace.org> Sat, 22 Aug 2022 02:08:16 +0200
diff --git a/helm/debian/compat b/helm/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/helm/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/helm/debian/control b/helm/debian/control
new file mode 100644
index 0000000..d2e31e2
--- /dev/null
+++ b/helm/debian/control
@@ -0,0 +1,11 @@
+Source: helm
+Maintainer: Christian Pointner <equinox@spreadspace.org>
+Section: utils
+Priority: optional
+Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 9), wget, ca-certificates
+
+Package: helm
+Architecture: amd64 i386
+Depends: ${misc:Depends}
+Description: Helm is a package manager for Kubernetes
diff --git a/helm/debian/install b/helm/debian/install
new file mode 100644
index 0000000..6e5bbcc
--- /dev/null
+++ b/helm/debian/install
@@ -0,0 +1 @@
+usr/bin/helm
diff --git a/helm/debian/rules b/helm/debian/rules
new file mode 100755
index 0000000..52d22fd
--- /dev/null
+++ b/helm/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
+%:
+ dh $@
+
+override_dh_auto_configure:
+
+override_dh_auto_build:
+ make VERSION=$(DEB_VERSION_UPSTREAM) $(DEB_BUILD_ARCH)/helm
+
+override_dh_auto_install:
+ install -d $$(pwd)/debian/tmp/usr/bin/
+ install -m 755 $$(pwd)/$(DEB_BUILD_ARCH)/helm $$(pwd)/debian/tmp/usr/bin/helm
+
+override_dh_auto_clean:
+ make VERSION=$(DEB_VERSION_UPSTREAM) clean
diff --git a/helm/debian/source/format b/helm/debian/source/format
new file mode 100644
index 0000000..d3827e7
--- /dev/null
+++ b/helm/debian/source/format
@@ -0,0 +1 @@
+1.0
diff --git a/helm/sha256sums.txt b/helm/sha256sums.txt
new file mode 100644
index 0000000..0c0eb78
--- /dev/null
+++ b/helm/sha256sums.txt
@@ -0,0 +1,2 @@
+2d07360a9d93b18488f1ddb9de818b92ba738acbec6e1c66885a88703fa7b21c helm-v3.9.3-linux-amd64.tar.gz
+634a5dca59674cb77fb7a69d08cee00c9051505e81af1c1d3ea96e5f3de84dbc helm-v3.9.3-linux-i386.tar.gz