From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/k3s/
Date: Mon, 10 Oct 2022 15:51:33 +0000 (UTC) [thread overview]
Message-ID: <1665417088.e599090965ca0932c5c742ddc95a213061a091d4.zmedico@gentoo> (raw)
commit: e599090965ca0932c5c742ddc95a213061a091d4
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 10 15:51:08 2022 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Oct 10 15:51:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5990909
sys-cluster/k3s: drop 1.25.0_p1
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
sys-cluster/k3s/Manifest | 1 -
sys-cluster/k3s/k3s-1.25.0_p1.ebuild | 102 -----------------------------------
2 files changed, 103 deletions(-)
diff --git a/sys-cluster/k3s/Manifest b/sys-cluster/k3s/Manifest
index e6cb178c93be..b58f0bdaa183 100644
--- a/sys-cluster/k3s/Manifest
+++ b/sys-cluster/k3s/Manifest
@@ -1,4 +1,3 @@
-DIST k3s-1.25.0_p1-vendor.tar.gz 31880481 BLAKE2B 6b45448119713374f7e796f35ba460a7f8fc351d2a146f1d47af96a7e5a3d67f24f48f9a6ce5643675122b0677b3db46e25af282f1ad1b99722b3fe2246fd078 SHA512 4cee72ce30ac14bbacc90d0d976f727e931dcd6f98a88b6a22da6635ce2977afa2db8eea779ff80bfdb91aeb5711ce560b9dc09b19fa5d10c9503bb52be0b24a
DIST k3s-1.25.2_p1-vendor.tar.gz 31890900 BLAKE2B 9a60ed25d4df0f8e2c90fe06de5b68656ce177dc5480a91272ecddbb75686ba86e61d600088a0fabeed37c1c28ec3d1ad46c514b8a248b1d0770f686da567a7a SHA512 c31098710c30b81cffbf1fd86084637c2563124e3415b8a83d428ced5e2bf81eb023de9b05a6990a2b8c236f1dab538a8f7fae6ef3105c266c40dd89c426c93a
DIST k3s-cni-plugins-1.1.1.tar.gz 3122345 BLAKE2B 270283ffb746ca97ad147b368143c56bd9641b7ebcb1b2b61f80ffea3336b240b28c9b9496bd2f6eb6d7e5382da4979c26e37eca30ac19fd362ed822ba94f300 SHA512 53dcd363231325553a5c9e804fc9005471fe5c05c87aae0340214c146eba66a3761d73976ba0145d86a663a2b0a1941e6cc5823b6d05e002a9ef18e41e10ac3c
DIST k3s-containerd-1.6.8-k3s1.tar.gz 10344676 BLAKE2B 18b236d61c710234fc6feefb4b08e36950c02a3a74d92a7bae5286ddf2916d29f636d1c9fb4307ccb6c6f1c7a77441096b0db9c892d5745f32815f4016af7b54 SHA512 b85c5e73c9f6c66c229888d93b3796c3fa4b362ee2ee4f7fb37f760ff241223820c0bec4995e73e9c3d20b81a8fc3676e7b0ed170239c8cb43194aae2701a6b5
diff --git a/sys-cluster/k3s/k3s-1.25.0_p1.ebuild b/sys-cluster/k3s/k3s-1.25.0_p1.ebuild
deleted file mode 100644
index aa0253761385..000000000000
--- a/sys-cluster/k3s/k3s-1.25.0_p1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module linux-info systemd
-
-DESCRIPTION="Lightweight Kubernetes"
-HOMEPAGE="https://k3s.io"
-K3S_CONTAINERD_VERSION=1.6.8-k3s1
-K3S_RUNC_VERSION=v1.1.4
-K3S_ROOT_VERSION=0.11.0
-K3S_TRAEFIK_VERSION=10.19.3
-K3S_TRAEFIK_PACKAGE_VERSION=00
-K3S_CNIPLUGINS_VERSION=1.1.1
-CONFIG_CHECK="~BRIDGE_NETFILTER ~CFS_BANDWIDTH ~CGROUP_DEVICE ~CGROUP_PERF ~CGROUP_PIDS ~IP_VS ~MEMCG ~NETFILTER_XT_MATCH_COMMENT ~OVERLAY_FS ~VLAN_8021Q ~VXLAN"
-
-MY_PV=${PV%_p*}+k3s${PV#*_p}
-SRC_URI="https://github.com/zmedico/k3s/archive/refs/tags/v${MY_PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
- ${EGO_SUM_SRC_URI}
- https://github.com/k3s-io/containerd/archive/refs/tags/v${K3S_CONTAINERD_VERSION}.tar.gz -> k3s-containerd-${K3S_CONTAINERD_VERSION}.tar.gz
- https://github.com/opencontainers/runc/archive/refs/tags/${K3S_RUNC_VERSION}.tar.gz -> k3s-runc-${K3S_RUNC_VERSION}.tar.gz
- https://helm.traefik.io/traefik/traefik-${K3S_TRAEFIK_VERSION}.tgz
- https://github.com/rancher/plugins/archive/refs/tags/v${K3S_CNIPLUGINS_VERSION}-k3s1.tar.gz -> k3s-cni-plugins-${K3S_CNIPLUGINS_VERSION}.tar.gz
- amd64? ( https://github.com/rancher/k3s-root/releases/download/v${K3S_ROOT_VERSION}/k3s-root-amd64.tar -> k3s-root-amd64-${K3S_ROOT_VERSION}.tar )"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+kubectl-symlink rootless"
-REQUIRED_USE="|| ( amd64 )"
-DEPEND="
- app-misc/yq
- net-firewall/conntrack-tools
- sys-fs/btrfs-progs
- rootless? ( app-containers/slirp4netns )
-"
-RDEPEND="kubectl-symlink? ( !sys-cluster/kubectl )"
-RESTRICT+=" test"
-
-S=${WORKDIR}/${PN}-${MY_PV/+/-}-vendor
-
-src_unpack() {
- unpack ${P}-vendor.tar.gz
- cd "${S}" || die
- mkdir -p bin/aux build/static/charts cache etc || die
- cp "${DISTDIR}/traefik-${K3S_TRAEFIK_VERSION}.tgz" build/static/charts/traefik-${K3S_TRAEFIK_VERSION}${K3S_TRAEFIK_PACKAGE_VERSION}.tgz || die
- cp "${DISTDIR}/k3s-cni-plugins-${K3S_CNIPLUGINS_VERSION}.tar.gz" cache/ || die
-}
-
-src_prepare() {
- local filename pattern replacement
- default
-
- local CONTAINERD_DIR=build/src/github.com/containerd/containerd
- mkdir -p "${CONTAINERD_DIR}" || die
- tar -x --strip-components=1 -f "${DISTDIR}/k3s-containerd-${K3S_CONTAINERD_VERSION}.tar.gz" -C "${CONTAINERD_DIR}" || die
- if has_version -b ">=dev-lang/go-1.18"; then
- # https://bugs.gentoo.org/835601
- sed -i -e "/github.com\/containerd\/containerd => .\/.empty-mod/d" "${CONTAINERD_DIR}"/{go.mod,vendor/modules.txt} || die
- fi
-
- local RUNC_DIR=build/src/github.com/opencontainers/runc
- mkdir -p "${RUNC_DIR}" || die
- tar -x --strip-components=1 -f "${DISTDIR}/k3s-runc-${K3S_RUNC_VERSION}.tar.gz" -C "${RUNC_DIR}" || die
-
- # Disable download for files fetched via SRC_URI.
- sed -e 's:^[[:space:]]*curl:#\0:' \
- -e 's:^[[:space:]]*git:#\0:' \
- -e 's:^rm -rf \${CHARTS_DIR}:#\0:' \
- -e 's:^rm -rf \${RUNC_DIR}:#\0:' \
- -e 's:^rm -rf \${CONTAINERD_DIR}:#\0:' \
- -e 's:yq e :yq -r :' \
- -e "s:^setup_tmp\$:TMP_DIR=${S}/build/static/charts:" \
- -i scripts/download || die
- sed -e '/scripts\/build-upload/d' -i scripts/package-cli || die
- pattern='git clone -b $VERSION_CNIPLUGINS https://github.com/rancher/plugins.git $WORKDIR'
- filename=scripts/build
- grep -qF "${pattern}" "${filename}" || \
- die "failed to locate plugins clone command"
- sed -e "s|${pattern}|mkdir -p \"\$WORKDIR\" \\&\\& tar -xzf \"${S}/cache/k3s-cni-plugins-${K3S_CNIPLUGINS_VERSION}.tar.gz\" --strip-components=1 -C \"\$WORKDIR\"|" \
- -e 's|rm -rf $TMPDIR||' \
- -i "${filename}" || die
- sed -e 's:/usr/local/bin:/usr/bin:g' -i k3s.service || die
-}
-
-src_compile() {
- mkdir -p build/data || die
- "${BASH}" -ex ./scripts/download || die
- ./scripts/build || die
- ./scripts/package-cli || die
-}
-
-src_install() {
- dobin "dist/artifacts/${PN}"
- use kubectl-symlink && dosym k3s /usr/bin/kubectl
- systemd_dounit "${FILESDIR}/${PN}.service"
- newinitd "${FILESDIR}/${PN}.initd" "${PN}"
- newconfd "${FILESDIR}/${PN}.confd" "${PN}"
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${PN}.logrotated" "${PN}"
- dodoc README.md
-}
next reply other threads:[~2022-10-10 15:51 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-10 15:51 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-01-29 20:34 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/k3s/ William Hubbs
2022-12-11 21:13 Zac Medico
2022-11-19 1:03 Zac Medico
2022-10-26 0:17 Zac Medico
2022-09-30 1:33 Zac Medico
2022-09-30 1:33 Zac Medico
2022-09-14 2:30 Zac Medico
2022-08-26 20:30 Zac Medico
2022-08-26 20:30 Zac Medico
2022-07-24 22:26 Zac Medico
2022-07-10 17:35 Zac Medico
2022-07-10 17:35 Zac Medico
2022-07-02 1:05 Zac Medico
2022-06-12 22:50 Zac Medico
2022-06-12 22:32 Zac Medico
2022-06-12 22:10 Zac Medico
2022-04-30 1:59 Zac Medico
2022-04-01 17:43 Zac Medico
2022-03-19 18:01 Zac Medico
2022-03-19 17:27 Zac Medico
2022-02-26 20:22 Zac Medico
2022-02-21 21:06 Zac Medico
2022-02-16 22:09 Zac Medico
2022-01-31 1:25 Zac Medico
2022-01-16 0:20 Zac Medico
2022-01-10 14:29 Zac Medico
2022-01-09 22:38 Zac Medico
2021-12-19 2:48 Zac Medico
2021-12-19 2:47 Zac Medico
2021-12-19 1:33 Zac Medico
2021-12-19 1:04 Zac Medico
2021-12-11 21:09 Zac Medico
2021-11-04 7:03 Zac Medico
2021-11-04 6:31 Zac Medico
2021-11-04 5:35 Zac Medico
2021-11-04 5:07 Zac Medico
2021-10-13 3:37 Zac Medico
2021-10-13 3:33 Zac Medico
2021-10-13 3:33 Zac Medico
2021-10-13 3:33 Zac Medico
2021-10-12 21:05 Zac Medico
2021-10-12 7:16 Zac Medico
2021-10-12 6:53 Zac Medico
2021-10-12 5:55 Zac Medico
2021-10-12 5:52 Zac Medico
2021-10-12 5:21 Zac Medico
2021-10-12 4:35 Zac Medico
2021-10-05 4:05 Zac Medico
2021-05-10 5:57 Zac Medico
2021-05-02 8:57 Zac Medico
2021-05-02 7:19 Zac Medico
2021-05-02 6:25 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1665417088.e599090965ca0932c5c742ddc95a213061a091d4.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox