Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries.
@ 2019-10-04 23:30 voidlinux-github
  2019-10-04 23:32 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-04 23:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 981 bytes --]

There is a new pull request by nilium against master on the void-packages repository

https://github.com/nilium/ecks-bops-packages k3s
https://github.com/void-linux/void-packages/pull/15101

DO NOT MERGE: k3s: add services, missing binaries.
- Fix version string in 'k3s -v' output to match release builds.

- Adds the missing hyperkube binary. This conflicts with kubernetes, so
  it may be an issue for folks who want to install both k3s and
  kubernetes at the same time. Not sure who those folks are, but
  I guess it could be a subpackage too.

- Fixes k3s builds to include kubectl and crictl (previous revisions
  included the CLI commands in the usage output but could not be used).

- Add service files for k3s-agent and k3s-server.

- Fetch Traefik manifests for codegen bits of the build.

- Update short_desc to match k3s description.

- Set homepage to k3s.io.

A patch file from https://github.com/void-linux/void-packages/pull/15101.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-k3s-15101.patch --]
[-- Type: text/x-diff, Size: 5096 bytes --]

From 387ead438cbdb32bd4955b5f40d567b8b75a5dfa Mon Sep 17 00:00:00 2001
From: Noel Cower <ncower@gmail.com>
Date: Mon, 23 Sep 2019 19:38:08 -0700
Subject: [PATCH] k3s: add services, missing binaries.

- Fix version string in 'k3s -v' output to match release builds.

- Adds the missing hyperkube binary. This conflicts with kubernetes, so
  it may be an issue for folks who want to install both k3s and
  kubernetes at the same time. Not sure who those folks are, but
  I guess it could be a subpackage too.

- Fixes k3s builds to include kubectl and crictl (previous revisions
  included the CLI commands in the usage output but could not be used).

- Add service files for k3s-agent and k3s-server.

- Fetch Traefik manifests for codegen bits of the build.

- Update short_desc to match k3s description.

- Set homepage to k3s.io.
---
 srcpkgs/k3s/files/k3s-agent/log/run  |  2 +
 srcpkgs/k3s/files/k3s-agent/run      |  4 ++
 srcpkgs/k3s/files/k3s-server/log/run |  2 +
 srcpkgs/k3s/files/k3s-server/run     |  4 ++
 srcpkgs/k3s/template                 | 64 +++++++++++++++++++++++++---
 5 files changed, 70 insertions(+), 6 deletions(-)
 create mode 100755 srcpkgs/k3s/files/k3s-agent/log/run
 create mode 100755 srcpkgs/k3s/files/k3s-agent/run
 create mode 100755 srcpkgs/k3s/files/k3s-server/log/run
 create mode 100755 srcpkgs/k3s/files/k3s-server/run

diff --git a/srcpkgs/k3s/files/k3s-agent/log/run b/srcpkgs/k3s/files/k3s-agent/log/run
new file mode 100755
index 00000000000..6a3f7aaa612
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-agent/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t k3s-agent
diff --git a/srcpkgs/k3s/files/k3s-agent/run b/srcpkgs/k3s/files/k3s-agent/run
new file mode 100755
index 00000000000..37e808acf27
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-agent/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r /etc/k3s/config ] && . /etc/k3s/config
+[ -r conf ] && . ./conf
+exec k3s agent ${K3S_OPTIONS} ${K3S_AGENT_OPTIONS}
diff --git a/srcpkgs/k3s/files/k3s-server/log/run b/srcpkgs/k3s/files/k3s-server/log/run
new file mode 100755
index 00000000000..6a3f7aaa612
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-server/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t k3s-agent
diff --git a/srcpkgs/k3s/files/k3s-server/run b/srcpkgs/k3s/files/k3s-server/run
new file mode 100755
index 00000000000..6d41643e438
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-server/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r /etc/k3s/config ] && . /etc/k3s/config
+[ -r ./conf ] && . ./conf
+exec k3s server ${K3S_OPTIONS} ${K3S_SERVER_OPTIONS}
diff --git a/srcpkgs/k3s/template b/srcpkgs/k3s/template
index d25489ca417..1657a9b7823 100644
--- a/srcpkgs/k3s/template
+++ b/srcpkgs/k3s/template
@@ -1,13 +1,65 @@
 # Template file for 'k3s'
 pkgname=k3s
 version=0.9.1
-revision=1
+revision=2
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
 build_style=go
 go_import_path="github.com/rancher/k3s"
-hostmakedepends="git"
-short_desc="Kubernetes on sedatives"
+hostmakedepends="git pkg-config"
+makedepends="libseccomp-devel"
+short_desc="Lightweight Kubernetes"
 maintainer="Cameron Nemo <cnemo@tutanota.com>"
 license="Apache-2.0"
-homepage="https://github.com/rancher/k3s"
-distfiles="https://github.com/rancher/k3s/archive/v${version}.tar.gz"
-checksum=dee3ddfcdb61f292bcfe778d7677e436309511e15c6bbdd326ebec42ea41bbac
+homepage="https://k3s.io"
+# _traefik_* variables' values from scripts/download in source distfile
+_traefik_version="1.77.1"
+_traefik_file="traefik-${_traefik_version}.tgz"
+distfiles="https://${go_import_path}/archive/v${version}.tar.gz
+ https://kubernetes-charts.storage.googleapis.com/${_traefik_file}"
+checksum="dee3ddfcdb61f292bcfe778d7677e436309511e15c6bbdd326ebec42ea41bbac
+ 15dd78d136d7c9bae7144072052ef6cd12821ae081a7c085f145d834d96c5d5c"
+skip_extraction="${_traefik_file}"
+conflicts="kubernetes"
+
+_git_commit=755bd1c63bafe80f9b5fe8d4bba527f988625364
+
+pre_build() {
+	# Modify version.sh to use template variables' values.
+	vsed -i scripts/version.sh -e '
+		s@^COMMIT=.*@COMMIT='"${_git_commit}"'@;
+		s@^GIT_TAG=.*@GIT_TAG=v'"${version}"'@
+		'
+	# Remove -s (strip) and -w (no dwarf) linker arguments.
+	vsed -i scripts/build -e 's@-w -s@@'
+	# Remove BIN_SUFFIX, nullify GOARCH for go generate. The latter
+	# is needed because 'go run' will try to run binaries for the
+	# target given by GOOS/GOARCH. The -x prints what 'go generate'
+	# is executing. CGO_ENABLED is set to 0 because cross builds
+	# won't necessarily be able to handle 64-bit builds performed by
+	# 'go run'.
+	vsed -i scripts/package-cli -e '
+		s@BIN_SUFFIX="[^"]\+"@BIN_SUFFIX=""@;
+		s@^go generate$@CGO_ENABLED=0 GOARCH= & -x@;
+		s@-w -s@@g
+		'
+
+	# Recreate behavior of scripts/download minus downloading
+	# anything or having anything to do with busybox.
+	mkdir -p bin
+
+	mkdir -p build/static/charts
+	cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_traefik_file} build/static/charts/${_traefik_file}
+}
+
+do_build() {
+	scripts/build
+	scripts/package-cli
+}
+
+do_install() {
+	vbin dist/artifacts/k3s
+	vbin dist/artifacts/hyperkube
+	vsv k3s-server
+	vsv k3s-agent
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] DO NOT MERGE: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
@ 2019-10-04 23:32 ` voidlinux-github
  2019-10-04 23:32 ` voidlinux-github
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-04 23:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 986 bytes --]

There is an updated pull request by nilium against master on the void-packages repository

https://github.com/nilium/ecks-bops-packages k3s
https://github.com/void-linux/void-packages/pull/15101

DO NOT MERGE: k3s: add services, missing binaries.
- Fix version string in 'k3s -v' output to match release builds.

- Adds the missing hyperkube binary. This conflicts with kubernetes, so
  it may be an issue for folks who want to install both k3s and
  kubernetes at the same time. Not sure who those folks are, but
  I guess it could be a subpackage too.

- Fixes k3s builds to include kubectl and crictl (previous revisions
  included the CLI commands in the usage output but could not be used).

- Add service files for k3s-agent and k3s-server.

- Fetch Traefik manifests for codegen bits of the build.

- Update short_desc to match k3s description.

- Set homepage to k3s.io.

A patch file from https://github.com/void-linux/void-packages/pull/15101.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-k3s-15101.patch --]
[-- Type: text/x-diff, Size: 5097 bytes --]

From b866b058a7cdcaa19434cdbf91d5edfc9c73e944 Mon Sep 17 00:00:00 2001
From: Noel Cower <ncower@gmail.com>
Date: Mon, 23 Sep 2019 19:38:08 -0700
Subject: [PATCH] k3s: add services, missing binaries.

- Fix version string in 'k3s -v' output to match release builds.

- Adds the missing hyperkube binary. This conflicts with kubernetes, so
  it may be an issue for folks who want to install both k3s and
  kubernetes at the same time. Not sure who those folks are, but
  I guess it could be a subpackage too.

- Fixes k3s builds to include kubectl and crictl (previous revisions
  included the CLI commands in the usage output but could not be used).

- Add service files for k3s-agent and k3s-server.

- Fetch Traefik manifests for codegen bits of the build.

- Update short_desc to match k3s description.

- Set homepage to k3s.io.
---
 srcpkgs/k3s/files/k3s-agent/log/run  |  2 +
 srcpkgs/k3s/files/k3s-agent/run      |  4 ++
 srcpkgs/k3s/files/k3s-server/log/run |  2 +
 srcpkgs/k3s/files/k3s-server/run     |  4 ++
 srcpkgs/k3s/template                 | 64 +++++++++++++++++++++++++---
 5 files changed, 70 insertions(+), 6 deletions(-)
 create mode 100755 srcpkgs/k3s/files/k3s-agent/log/run
 create mode 100755 srcpkgs/k3s/files/k3s-agent/run
 create mode 100755 srcpkgs/k3s/files/k3s-server/log/run
 create mode 100755 srcpkgs/k3s/files/k3s-server/run

diff --git a/srcpkgs/k3s/files/k3s-agent/log/run b/srcpkgs/k3s/files/k3s-agent/log/run
new file mode 100755
index 00000000000..6a3f7aaa612
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-agent/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t k3s-agent
diff --git a/srcpkgs/k3s/files/k3s-agent/run b/srcpkgs/k3s/files/k3s-agent/run
new file mode 100755
index 00000000000..37e808acf27
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-agent/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r /etc/k3s/config ] && . /etc/k3s/config
+[ -r conf ] && . ./conf
+exec k3s agent ${K3S_OPTIONS} ${K3S_AGENT_OPTIONS}
diff --git a/srcpkgs/k3s/files/k3s-server/log/run b/srcpkgs/k3s/files/k3s-server/log/run
new file mode 100755
index 00000000000..e78f852bb29
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-server/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t k3s-server
diff --git a/srcpkgs/k3s/files/k3s-server/run b/srcpkgs/k3s/files/k3s-server/run
new file mode 100755
index 00000000000..6d41643e438
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-server/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r /etc/k3s/config ] && . /etc/k3s/config
+[ -r ./conf ] && . ./conf
+exec k3s server ${K3S_OPTIONS} ${K3S_SERVER_OPTIONS}
diff --git a/srcpkgs/k3s/template b/srcpkgs/k3s/template
index d25489ca417..1657a9b7823 100644
--- a/srcpkgs/k3s/template
+++ b/srcpkgs/k3s/template
@@ -1,13 +1,65 @@
 # Template file for 'k3s'
 pkgname=k3s
 version=0.9.1
-revision=1
+revision=2
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
 build_style=go
 go_import_path="github.com/rancher/k3s"
-hostmakedepends="git"
-short_desc="Kubernetes on sedatives"
+hostmakedepends="git pkg-config"
+makedepends="libseccomp-devel"
+short_desc="Lightweight Kubernetes"
 maintainer="Cameron Nemo <cnemo@tutanota.com>"
 license="Apache-2.0"
-homepage="https://github.com/rancher/k3s"
-distfiles="https://github.com/rancher/k3s/archive/v${version}.tar.gz"
-checksum=dee3ddfcdb61f292bcfe778d7677e436309511e15c6bbdd326ebec42ea41bbac
+homepage="https://k3s.io"
+# _traefik_* variables' values from scripts/download in source distfile
+_traefik_version="1.77.1"
+_traefik_file="traefik-${_traefik_version}.tgz"
+distfiles="https://${go_import_path}/archive/v${version}.tar.gz
+ https://kubernetes-charts.storage.googleapis.com/${_traefik_file}"
+checksum="dee3ddfcdb61f292bcfe778d7677e436309511e15c6bbdd326ebec42ea41bbac
+ 15dd78d136d7c9bae7144072052ef6cd12821ae081a7c085f145d834d96c5d5c"
+skip_extraction="${_traefik_file}"
+conflicts="kubernetes"
+
+_git_commit=755bd1c63bafe80f9b5fe8d4bba527f988625364
+
+pre_build() {
+	# Modify version.sh to use template variables' values.
+	vsed -i scripts/version.sh -e '
+		s@^COMMIT=.*@COMMIT='"${_git_commit}"'@;
+		s@^GIT_TAG=.*@GIT_TAG=v'"${version}"'@
+		'
+	# Remove -s (strip) and -w (no dwarf) linker arguments.
+	vsed -i scripts/build -e 's@-w -s@@'
+	# Remove BIN_SUFFIX, nullify GOARCH for go generate. The latter
+	# is needed because 'go run' will try to run binaries for the
+	# target given by GOOS/GOARCH. The -x prints what 'go generate'
+	# is executing. CGO_ENABLED is set to 0 because cross builds
+	# won't necessarily be able to handle 64-bit builds performed by
+	# 'go run'.
+	vsed -i scripts/package-cli -e '
+		s@BIN_SUFFIX="[^"]\+"@BIN_SUFFIX=""@;
+		s@^go generate$@CGO_ENABLED=0 GOARCH= & -x@;
+		s@-w -s@@g
+		'
+
+	# Recreate behavior of scripts/download minus downloading
+	# anything or having anything to do with busybox.
+	mkdir -p bin
+
+	mkdir -p build/static/charts
+	cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_traefik_file} build/static/charts/${_traefik_file}
+}
+
+do_build() {
+	scripts/build
+	scripts/package-cli
+}
+
+do_install() {
+	vbin dist/artifacts/k3s
+	vbin dist/artifacts/hyperkube
+	vsv k3s-server
+	vsv k3s-agent
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] DO NOT MERGE: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
  2019-10-04 23:32 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-10-04 23:32 ` voidlinux-github
  2019-10-05  1:47 ` voidlinux-github
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-04 23:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 986 bytes --]

There is an updated pull request by nilium against master on the void-packages repository

https://github.com/nilium/ecks-bops-packages k3s
https://github.com/void-linux/void-packages/pull/15101

DO NOT MERGE: k3s: add services, missing binaries.
- Fix version string in 'k3s -v' output to match release builds.

- Adds the missing hyperkube binary. This conflicts with kubernetes, so
  it may be an issue for folks who want to install both k3s and
  kubernetes at the same time. Not sure who those folks are, but
  I guess it could be a subpackage too.

- Fixes k3s builds to include kubectl and crictl (previous revisions
  included the CLI commands in the usage output but could not be used).

- Add service files for k3s-agent and k3s-server.

- Fetch Traefik manifests for codegen bits of the build.

- Update short_desc to match k3s description.

- Set homepage to k3s.io.

A patch file from https://github.com/void-linux/void-packages/pull/15101.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-k3s-15101.patch --]
[-- Type: text/x-diff, Size: 5097 bytes --]

From b866b058a7cdcaa19434cdbf91d5edfc9c73e944 Mon Sep 17 00:00:00 2001
From: Noel Cower <ncower@gmail.com>
Date: Mon, 23 Sep 2019 19:38:08 -0700
Subject: [PATCH] k3s: add services, missing binaries.

- Fix version string in 'k3s -v' output to match release builds.

- Adds the missing hyperkube binary. This conflicts with kubernetes, so
  it may be an issue for folks who want to install both k3s and
  kubernetes at the same time. Not sure who those folks are, but
  I guess it could be a subpackage too.

- Fixes k3s builds to include kubectl and crictl (previous revisions
  included the CLI commands in the usage output but could not be used).

- Add service files for k3s-agent and k3s-server.

- Fetch Traefik manifests for codegen bits of the build.

- Update short_desc to match k3s description.

- Set homepage to k3s.io.
---
 srcpkgs/k3s/files/k3s-agent/log/run  |  2 +
 srcpkgs/k3s/files/k3s-agent/run      |  4 ++
 srcpkgs/k3s/files/k3s-server/log/run |  2 +
 srcpkgs/k3s/files/k3s-server/run     |  4 ++
 srcpkgs/k3s/template                 | 64 +++++++++++++++++++++++++---
 5 files changed, 70 insertions(+), 6 deletions(-)
 create mode 100755 srcpkgs/k3s/files/k3s-agent/log/run
 create mode 100755 srcpkgs/k3s/files/k3s-agent/run
 create mode 100755 srcpkgs/k3s/files/k3s-server/log/run
 create mode 100755 srcpkgs/k3s/files/k3s-server/run

diff --git a/srcpkgs/k3s/files/k3s-agent/log/run b/srcpkgs/k3s/files/k3s-agent/log/run
new file mode 100755
index 00000000000..6a3f7aaa612
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-agent/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t k3s-agent
diff --git a/srcpkgs/k3s/files/k3s-agent/run b/srcpkgs/k3s/files/k3s-agent/run
new file mode 100755
index 00000000000..37e808acf27
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-agent/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r /etc/k3s/config ] && . /etc/k3s/config
+[ -r conf ] && . ./conf
+exec k3s agent ${K3S_OPTIONS} ${K3S_AGENT_OPTIONS}
diff --git a/srcpkgs/k3s/files/k3s-server/log/run b/srcpkgs/k3s/files/k3s-server/log/run
new file mode 100755
index 00000000000..e78f852bb29
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-server/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t k3s-server
diff --git a/srcpkgs/k3s/files/k3s-server/run b/srcpkgs/k3s/files/k3s-server/run
new file mode 100755
index 00000000000..6d41643e438
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-server/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r /etc/k3s/config ] && . /etc/k3s/config
+[ -r ./conf ] && . ./conf
+exec k3s server ${K3S_OPTIONS} ${K3S_SERVER_OPTIONS}
diff --git a/srcpkgs/k3s/template b/srcpkgs/k3s/template
index d25489ca417..1657a9b7823 100644
--- a/srcpkgs/k3s/template
+++ b/srcpkgs/k3s/template
@@ -1,13 +1,65 @@
 # Template file for 'k3s'
 pkgname=k3s
 version=0.9.1
-revision=1
+revision=2
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
 build_style=go
 go_import_path="github.com/rancher/k3s"
-hostmakedepends="git"
-short_desc="Kubernetes on sedatives"
+hostmakedepends="git pkg-config"
+makedepends="libseccomp-devel"
+short_desc="Lightweight Kubernetes"
 maintainer="Cameron Nemo <cnemo@tutanota.com>"
 license="Apache-2.0"
-homepage="https://github.com/rancher/k3s"
-distfiles="https://github.com/rancher/k3s/archive/v${version}.tar.gz"
-checksum=dee3ddfcdb61f292bcfe778d7677e436309511e15c6bbdd326ebec42ea41bbac
+homepage="https://k3s.io"
+# _traefik_* variables' values from scripts/download in source distfile
+_traefik_version="1.77.1"
+_traefik_file="traefik-${_traefik_version}.tgz"
+distfiles="https://${go_import_path}/archive/v${version}.tar.gz
+ https://kubernetes-charts.storage.googleapis.com/${_traefik_file}"
+checksum="dee3ddfcdb61f292bcfe778d7677e436309511e15c6bbdd326ebec42ea41bbac
+ 15dd78d136d7c9bae7144072052ef6cd12821ae081a7c085f145d834d96c5d5c"
+skip_extraction="${_traefik_file}"
+conflicts="kubernetes"
+
+_git_commit=755bd1c63bafe80f9b5fe8d4bba527f988625364
+
+pre_build() {
+	# Modify version.sh to use template variables' values.
+	vsed -i scripts/version.sh -e '
+		s@^COMMIT=.*@COMMIT='"${_git_commit}"'@;
+		s@^GIT_TAG=.*@GIT_TAG=v'"${version}"'@
+		'
+	# Remove -s (strip) and -w (no dwarf) linker arguments.
+	vsed -i scripts/build -e 's@-w -s@@'
+	# Remove BIN_SUFFIX, nullify GOARCH for go generate. The latter
+	# is needed because 'go run' will try to run binaries for the
+	# target given by GOOS/GOARCH. The -x prints what 'go generate'
+	# is executing. CGO_ENABLED is set to 0 because cross builds
+	# won't necessarily be able to handle 64-bit builds performed by
+	# 'go run'.
+	vsed -i scripts/package-cli -e '
+		s@BIN_SUFFIX="[^"]\+"@BIN_SUFFIX=""@;
+		s@^go generate$@CGO_ENABLED=0 GOARCH= & -x@;
+		s@-w -s@@g
+		'
+
+	# Recreate behavior of scripts/download minus downloading
+	# anything or having anything to do with busybox.
+	mkdir -p bin
+
+	mkdir -p build/static/charts
+	cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_traefik_file} build/static/charts/${_traefik_file}
+}
+
+do_build() {
+	scripts/build
+	scripts/package-cli
+}
+
+do_install() {
+	vbin dist/artifacts/k3s
+	vbin dist/artifacts/hyperkube
+	vsv k3s-server
+	vsv k3s-agent
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DO NOT MERGE: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
  2019-10-04 23:32 ` [PR PATCH] [Updated] " voidlinux-github
  2019-10-04 23:32 ` voidlinux-github
@ 2019-10-05  1:47 ` voidlinux-github
  2019-10-06  0:16 ` voidlinux-github
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-05  1:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/15101#issuecomment-538606024

Comment:
this looks alright to me.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DO NOT MERGE: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
                   ` (2 preceding siblings ...)
  2019-10-05  1:47 ` voidlinux-github
@ 2019-10-06  0:16 ` voidlinux-github
  2019-10-07 16:43 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-06  0:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

New comment by nilium on void-packages repository

https://github.com/void-linux/void-packages/pull/15101#issuecomment-538699959

Comment:
Going to run a few tests with the services to make sure it's all working before removing the DNM. If there's another release, don't hold on updating the package on account of this -- I'll rebase and update this as needed.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] DO NOT MERGE: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
                   ` (4 preceding siblings ...)
  2019-10-07 16:43 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-10-07 16:43 ` voidlinux-github
  2019-10-07 16:48 ` voidlinux-github
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-07 16:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 986 bytes --]

There is an updated pull request by nilium against master on the void-packages repository

https://github.com/nilium/ecks-bops-packages k3s
https://github.com/void-linux/void-packages/pull/15101

DO NOT MERGE: k3s: add services, missing binaries.
- Fix version string in 'k3s -v' output to match release builds.

- Adds the missing hyperkube binary. This conflicts with kubernetes, so
  it may be an issue for folks who want to install both k3s and
  kubernetes at the same time. Not sure who those folks are, but
  I guess it could be a subpackage too.

- Fixes k3s builds to include kubectl and crictl (previous revisions
  included the CLI commands in the usage output but could not be used).

- Add service files for k3s-agent and k3s-server.

- Fetch Traefik manifests for codegen bits of the build.

- Update short_desc to match k3s description.

- Set homepage to k3s.io.

A patch file from https://github.com/void-linux/void-packages/pull/15101.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-k3s-15101.patch --]
[-- Type: text/x-diff, Size: 5254 bytes --]

From c48c1f02b621fd46c8415cce015f878f88b9b607 Mon Sep 17 00:00:00 2001
From: Noel Cower <ncower@gmail.com>
Date: Mon, 23 Sep 2019 19:38:08 -0700
Subject: [PATCH] k3s: add services, missing binaries.

- Fix version string in 'k3s -v' output to match release builds.

- Adds the missing hyperkube binary. This conflicts with kubernetes, so
  it may be an issue for folks who want to install both k3s and
  kubernetes at the same time. Not sure who those folks are, but
  I guess it could be a subpackage too.

- Fixes k3s builds to include kubectl and crictl (previous revisions
  included the CLI commands in the usage output but could not be used).

- Add service files for k3s-agent and k3s-server.

- Fetch Traefik manifests for codegen bits of the build.

- Update short_desc to match k3s description.

- Set homepage to k3s.io.
---
 srcpkgs/k3s/files/k3s-agent/log/run  |  2 +
 srcpkgs/k3s/files/k3s-agent/run      | 10 +++++
 srcpkgs/k3s/files/k3s-server/log/run |  2 +
 srcpkgs/k3s/files/k3s-server/run     |  5 +++
 srcpkgs/k3s/template                 | 64 +++++++++++++++++++++++++---
 5 files changed, 77 insertions(+), 6 deletions(-)
 create mode 100755 srcpkgs/k3s/files/k3s-agent/log/run
 create mode 100755 srcpkgs/k3s/files/k3s-agent/run
 create mode 100755 srcpkgs/k3s/files/k3s-server/log/run
 create mode 100755 srcpkgs/k3s/files/k3s-server/run

diff --git a/srcpkgs/k3s/files/k3s-agent/log/run b/srcpkgs/k3s/files/k3s-agent/log/run
new file mode 100755
index 00000000000..6a3f7aaa612
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-agent/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t k3s-agent
diff --git a/srcpkgs/k3s/files/k3s-agent/run b/srcpkgs/k3s/files/k3s-agent/run
new file mode 100755
index 00000000000..48244292cf9
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-agent/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+set --
+[ -r /etc/k3s/config ] && . /etc/k3s/config
+[ -r conf ] && . ./conf
+if [ 0 = $# ]; then
+  set -- \
+    ${K3S_SERVER:+--server="${K3S_SERVER}"} \
+    ${K3S_TOKEN:+--token="${K3S_TOKEN}"}
+fi
+exec k3s agent ${K3S_OPTIONS} ${K3S_AGENT_OPTIONS} "$@"
diff --git a/srcpkgs/k3s/files/k3s-server/log/run b/srcpkgs/k3s/files/k3s-server/log/run
new file mode 100755
index 00000000000..e78f852bb29
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-server/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t k3s-server
diff --git a/srcpkgs/k3s/files/k3s-server/run b/srcpkgs/k3s/files/k3s-server/run
new file mode 100755
index 00000000000..03ada62d4a4
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-server/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+set --
+[ -r /etc/k3s/config ] && . /etc/k3s/config
+[ -r ./conf ] && . ./conf
+exec k3s server ${K3S_OPTIONS} ${K3S_SERVER_OPTIONS} "$@"
diff --git a/srcpkgs/k3s/template b/srcpkgs/k3s/template
index d25489ca417..1657a9b7823 100644
--- a/srcpkgs/k3s/template
+++ b/srcpkgs/k3s/template
@@ -1,13 +1,65 @@
 # Template file for 'k3s'
 pkgname=k3s
 version=0.9.1
-revision=1
+revision=2
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
 build_style=go
 go_import_path="github.com/rancher/k3s"
-hostmakedepends="git"
-short_desc="Kubernetes on sedatives"
+hostmakedepends="git pkg-config"
+makedepends="libseccomp-devel"
+short_desc="Lightweight Kubernetes"
 maintainer="Cameron Nemo <cnemo@tutanota.com>"
 license="Apache-2.0"
-homepage="https://github.com/rancher/k3s"
-distfiles="https://github.com/rancher/k3s/archive/v${version}.tar.gz"
-checksum=dee3ddfcdb61f292bcfe778d7677e436309511e15c6bbdd326ebec42ea41bbac
+homepage="https://k3s.io"
+# _traefik_* variables' values from scripts/download in source distfile
+_traefik_version="1.77.1"
+_traefik_file="traefik-${_traefik_version}.tgz"
+distfiles="https://${go_import_path}/archive/v${version}.tar.gz
+ https://kubernetes-charts.storage.googleapis.com/${_traefik_file}"
+checksum="dee3ddfcdb61f292bcfe778d7677e436309511e15c6bbdd326ebec42ea41bbac
+ 15dd78d136d7c9bae7144072052ef6cd12821ae081a7c085f145d834d96c5d5c"
+skip_extraction="${_traefik_file}"
+conflicts="kubernetes"
+
+_git_commit=755bd1c63bafe80f9b5fe8d4bba527f988625364
+
+pre_build() {
+	# Modify version.sh to use template variables' values.
+	vsed -i scripts/version.sh -e '
+		s@^COMMIT=.*@COMMIT='"${_git_commit}"'@;
+		s@^GIT_TAG=.*@GIT_TAG=v'"${version}"'@
+		'
+	# Remove -s (strip) and -w (no dwarf) linker arguments.
+	vsed -i scripts/build -e 's@-w -s@@'
+	# Remove BIN_SUFFIX, nullify GOARCH for go generate. The latter
+	# is needed because 'go run' will try to run binaries for the
+	# target given by GOOS/GOARCH. The -x prints what 'go generate'
+	# is executing. CGO_ENABLED is set to 0 because cross builds
+	# won't necessarily be able to handle 64-bit builds performed by
+	# 'go run'.
+	vsed -i scripts/package-cli -e '
+		s@BIN_SUFFIX="[^"]\+"@BIN_SUFFIX=""@;
+		s@^go generate$@CGO_ENABLED=0 GOARCH= & -x@;
+		s@-w -s@@g
+		'
+
+	# Recreate behavior of scripts/download minus downloading
+	# anything or having anything to do with busybox.
+	mkdir -p bin
+
+	mkdir -p build/static/charts
+	cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_traefik_file} build/static/charts/${_traefik_file}
+}
+
+do_build() {
+	scripts/build
+	scripts/package-cli
+}
+
+do_install() {
+	vbin dist/artifacts/k3s
+	vbin dist/artifacts/hyperkube
+	vsv k3s-server
+	vsv k3s-agent
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Updated] DO NOT MERGE: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
                   ` (3 preceding siblings ...)
  2019-10-06  0:16 ` voidlinux-github
@ 2019-10-07 16:43 ` voidlinux-github
  2019-10-07 16:43 ` voidlinux-github
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-07 16:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 986 bytes --]

There is an updated pull request by nilium against master on the void-packages repository

https://github.com/nilium/ecks-bops-packages k3s
https://github.com/void-linux/void-packages/pull/15101

DO NOT MERGE: k3s: add services, missing binaries.
- Fix version string in 'k3s -v' output to match release builds.

- Adds the missing hyperkube binary. This conflicts with kubernetes, so
  it may be an issue for folks who want to install both k3s and
  kubernetes at the same time. Not sure who those folks are, but
  I guess it could be a subpackage too.

- Fixes k3s builds to include kubectl and crictl (previous revisions
  included the CLI commands in the usage output but could not be used).

- Add service files for k3s-agent and k3s-server.

- Fetch Traefik manifests for codegen bits of the build.

- Update short_desc to match k3s description.

- Set homepage to k3s.io.

A patch file from https://github.com/void-linux/void-packages/pull/15101.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-k3s-15101.patch --]
[-- Type: text/x-diff, Size: 5254 bytes --]

From c48c1f02b621fd46c8415cce015f878f88b9b607 Mon Sep 17 00:00:00 2001
From: Noel Cower <ncower@gmail.com>
Date: Mon, 23 Sep 2019 19:38:08 -0700
Subject: [PATCH] k3s: add services, missing binaries.

- Fix version string in 'k3s -v' output to match release builds.

- Adds the missing hyperkube binary. This conflicts with kubernetes, so
  it may be an issue for folks who want to install both k3s and
  kubernetes at the same time. Not sure who those folks are, but
  I guess it could be a subpackage too.

- Fixes k3s builds to include kubectl and crictl (previous revisions
  included the CLI commands in the usage output but could not be used).

- Add service files for k3s-agent and k3s-server.

- Fetch Traefik manifests for codegen bits of the build.

- Update short_desc to match k3s description.

- Set homepage to k3s.io.
---
 srcpkgs/k3s/files/k3s-agent/log/run  |  2 +
 srcpkgs/k3s/files/k3s-agent/run      | 10 +++++
 srcpkgs/k3s/files/k3s-server/log/run |  2 +
 srcpkgs/k3s/files/k3s-server/run     |  5 +++
 srcpkgs/k3s/template                 | 64 +++++++++++++++++++++++++---
 5 files changed, 77 insertions(+), 6 deletions(-)
 create mode 100755 srcpkgs/k3s/files/k3s-agent/log/run
 create mode 100755 srcpkgs/k3s/files/k3s-agent/run
 create mode 100755 srcpkgs/k3s/files/k3s-server/log/run
 create mode 100755 srcpkgs/k3s/files/k3s-server/run

diff --git a/srcpkgs/k3s/files/k3s-agent/log/run b/srcpkgs/k3s/files/k3s-agent/log/run
new file mode 100755
index 00000000000..6a3f7aaa612
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-agent/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t k3s-agent
diff --git a/srcpkgs/k3s/files/k3s-agent/run b/srcpkgs/k3s/files/k3s-agent/run
new file mode 100755
index 00000000000..48244292cf9
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-agent/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+set --
+[ -r /etc/k3s/config ] && . /etc/k3s/config
+[ -r conf ] && . ./conf
+if [ 0 = $# ]; then
+  set -- \
+    ${K3S_SERVER:+--server="${K3S_SERVER}"} \
+    ${K3S_TOKEN:+--token="${K3S_TOKEN}"}
+fi
+exec k3s agent ${K3S_OPTIONS} ${K3S_AGENT_OPTIONS} "$@"
diff --git a/srcpkgs/k3s/files/k3s-server/log/run b/srcpkgs/k3s/files/k3s-server/log/run
new file mode 100755
index 00000000000..e78f852bb29
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-server/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t k3s-server
diff --git a/srcpkgs/k3s/files/k3s-server/run b/srcpkgs/k3s/files/k3s-server/run
new file mode 100755
index 00000000000..03ada62d4a4
--- /dev/null
+++ b/srcpkgs/k3s/files/k3s-server/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+set --
+[ -r /etc/k3s/config ] && . /etc/k3s/config
+[ -r ./conf ] && . ./conf
+exec k3s server ${K3S_OPTIONS} ${K3S_SERVER_OPTIONS} "$@"
diff --git a/srcpkgs/k3s/template b/srcpkgs/k3s/template
index d25489ca417..1657a9b7823 100644
--- a/srcpkgs/k3s/template
+++ b/srcpkgs/k3s/template
@@ -1,13 +1,65 @@
 # Template file for 'k3s'
 pkgname=k3s
 version=0.9.1
-revision=1
+revision=2
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
 build_style=go
 go_import_path="github.com/rancher/k3s"
-hostmakedepends="git"
-short_desc="Kubernetes on sedatives"
+hostmakedepends="git pkg-config"
+makedepends="libseccomp-devel"
+short_desc="Lightweight Kubernetes"
 maintainer="Cameron Nemo <cnemo@tutanota.com>"
 license="Apache-2.0"
-homepage="https://github.com/rancher/k3s"
-distfiles="https://github.com/rancher/k3s/archive/v${version}.tar.gz"
-checksum=dee3ddfcdb61f292bcfe778d7677e436309511e15c6bbdd326ebec42ea41bbac
+homepage="https://k3s.io"
+# _traefik_* variables' values from scripts/download in source distfile
+_traefik_version="1.77.1"
+_traefik_file="traefik-${_traefik_version}.tgz"
+distfiles="https://${go_import_path}/archive/v${version}.tar.gz
+ https://kubernetes-charts.storage.googleapis.com/${_traefik_file}"
+checksum="dee3ddfcdb61f292bcfe778d7677e436309511e15c6bbdd326ebec42ea41bbac
+ 15dd78d136d7c9bae7144072052ef6cd12821ae081a7c085f145d834d96c5d5c"
+skip_extraction="${_traefik_file}"
+conflicts="kubernetes"
+
+_git_commit=755bd1c63bafe80f9b5fe8d4bba527f988625364
+
+pre_build() {
+	# Modify version.sh to use template variables' values.
+	vsed -i scripts/version.sh -e '
+		s@^COMMIT=.*@COMMIT='"${_git_commit}"'@;
+		s@^GIT_TAG=.*@GIT_TAG=v'"${version}"'@
+		'
+	# Remove -s (strip) and -w (no dwarf) linker arguments.
+	vsed -i scripts/build -e 's@-w -s@@'
+	# Remove BIN_SUFFIX, nullify GOARCH for go generate. The latter
+	# is needed because 'go run' will try to run binaries for the
+	# target given by GOOS/GOARCH. The -x prints what 'go generate'
+	# is executing. CGO_ENABLED is set to 0 because cross builds
+	# won't necessarily be able to handle 64-bit builds performed by
+	# 'go run'.
+	vsed -i scripts/package-cli -e '
+		s@BIN_SUFFIX="[^"]\+"@BIN_SUFFIX=""@;
+		s@^go generate$@CGO_ENABLED=0 GOARCH= & -x@;
+		s@-w -s@@g
+		'
+
+	# Recreate behavior of scripts/download minus downloading
+	# anything or having anything to do with busybox.
+	mkdir -p bin
+
+	mkdir -p build/static/charts
+	cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_traefik_file} build/static/charts/${_traefik_file}
+}
+
+do_build() {
+	scripts/build
+	scripts/package-cli
+}
+
+do_install() {
+	vbin dist/artifacts/k3s
+	vbin dist/artifacts/hyperkube
+	vsv k3s-server
+	vsv k3s-agent
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DO NOT MERGE: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
                   ` (5 preceding siblings ...)
  2019-10-07 16:43 ` voidlinux-github
@ 2019-10-07 16:48 ` voidlinux-github
  2019-10-07 18:24 ` voidlinux-github
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-07 16:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

New comment by nilium on void-packages repository

https://github.com/void-linux/void-packages/pull/15101#issuecomment-539103577

Comment:
Tested it out and works as intended. Made a couple changes to the run scripts to make it easier to configure them.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
                   ` (6 preceding siblings ...)
  2019-10-07 16:48 ` voidlinux-github
@ 2019-10-07 18:24 ` voidlinux-github
  2019-10-07 18:24 ` voidlinux-github
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-07 18:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/15101#issuecomment-539142373

Comment:
Why is `set -- and $@` used?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
                   ` (7 preceding siblings ...)
  2019-10-07 18:24 ` voidlinux-github
@ 2019-10-07 18:24 ` voidlinux-github
  2019-10-07 18:25 ` voidlinux-github
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-07 18:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/15101#issuecomment-539142373

Comment:
Why is `set --` and `$@` used?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
                   ` (8 preceding siblings ...)
  2019-10-07 18:24 ` voidlinux-github
@ 2019-10-07 18:25 ` voidlinux-github
  2019-10-12  9:31 ` voidlinux-github
  2019-10-15  3:24 ` [PR PATCH] [Closed]: " voidlinux-github
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-07 18:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 321 bytes --]

New comment by nilium on void-packages repository

https://github.com/void-linux/void-packages/pull/15101#issuecomment-539142876

Comment:
The latter is so conf files can set arguments without need for special quoting. The former is just to remove any arguments that might get passed if someone runs the script manually.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
                   ` (9 preceding siblings ...)
  2019-10-07 18:25 ` voidlinux-github
@ 2019-10-12  9:31 ` voidlinux-github
  2019-10-15  3:24 ` [PR PATCH] [Closed]: " voidlinux-github
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-12  9:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/15101#issuecomment-541306789

Comment:
lgtm, I'm not sure about introducing this new pattern of configuring services but I guess it makes sense.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PR PATCH] [Closed]: k3s: add services, missing binaries.
  2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
                   ` (10 preceding siblings ...)
  2019-10-12  9:31 ` voidlinux-github
@ 2019-10-15  3:24 ` voidlinux-github
  11 siblings, 0 replies; 13+ messages in thread
From: voidlinux-github @ 2019-10-15  3:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

There's a closed pull request on the void-packages repository

k3s: add services, missing binaries.
https://github.com/void-linux/void-packages/pull/15101

Description:
- Fix version string in 'k3s -v' output to match release builds.

- Adds the missing hyperkube binary. This conflicts with kubernetes, so
  it may be an issue for folks who want to install both k3s and
  kubernetes at the same time. Not sure who those folks are, but
  I guess it could be a subpackage too.

- Fixes k3s builds to include kubectl and crictl (previous revisions
  included the CLI commands in the usage output but could not be used).

- Add service files for k3s-agent and k3s-server.

- Fetch Traefik manifests for codegen bits of the build.

- Update short_desc to match k3s description.

- Set homepage to k3s.io.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-10-15  3:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-04 23:30 [PR PATCH] DO NOT MERGE: k3s: add services, missing binaries voidlinux-github
2019-10-04 23:32 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-04 23:32 ` voidlinux-github
2019-10-05  1:47 ` voidlinux-github
2019-10-06  0:16 ` voidlinux-github
2019-10-07 16:43 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-07 16:43 ` voidlinux-github
2019-10-07 16:48 ` voidlinux-github
2019-10-07 18:24 ` voidlinux-github
2019-10-07 18:24 ` voidlinux-github
2019-10-07 18:25 ` voidlinux-github
2019-10-12  9:31 ` voidlinux-github
2019-10-15  3:24 ` [PR PATCH] [Closed]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).