From 4979077442e501619ca69cb5939c846e0ef39d0a Mon Sep 17 00:00:00 2001 From: Saba Touheed Mujawar Date: Fri, 17 Feb 2023 09:16:20 -0500 Subject: [PATCH] Debian: Add kubernetes 1.26.1 package This adds kubernetes 1.26.1 package for Debian, this is built using golang-1.19.5. Taken from the previous version and modified the files for 1.26.1. Note: Scripts have been copied from previous version. Hence, shellcheck is not done, it is an exercise for a future story. Test Plan: Debian PASS: kubernetes-1.26.1 package builds successfully PASS: all packages build successfully PASS: build-iso successful with multiple kubernetes versions PASS: For pkg-versioning ,added a dummy commit to subdirectory of kubernetes-1.26.1 . Built package kubernetes-1.26.1 and verified that package version was incremented by 1. Story: 2010368 Task: 47395 Depends-On: https://review.opendev.org/c/starlingx/compile/+/873555 Signed-off-by: Saba Touheed Mujawar Change-Id: Ia12bc9f2e2c7fe1a4fe320e75f0c8ce9fa51fe05 --- debian_iso_image.inc | 4 + debian_pkg_dirs | 1 + .../debian/deb_folder/changelog | 271 +++ .../debian/deb_folder/control | 92 + .../debian/deb_folder/copyright | 1820 +++++++++++++++++ .../debian/deb_folder/kubeadm.conf | 18 + .../debian/deb_folder/kubelet-cgroup-setup.sh | 132 ++ .../kubernetes-1.26.1-client.install | 2 + ...kubernetes-1.26.1-client.lintian-overrides | 9 + .../deb_folder/kubernetes-1.26.1-kubeadm.dirs | 1 + .../kubernetes-1.26.1-kubeadm.install | 2 + .../deb_folder/kubernetes-1.26.1-master.dirs | 5 + .../kubernetes-1.26.1-master.install | 8 + ...kubernetes-1.26.1-master.lintian-overrides | 7 + .../deb_folder/kubernetes-1.26.1-misc.docs | 3 + .../deb_folder/kubernetes-1.26.1-misc.install | 1 + .../kubernetes-1.26.1-misc.manpages | 10 + .../deb_folder/kubernetes-1.26.1-node.install | 2 + .../kubernetes-1.26.1-node.lintian-overrides | 4 + .../kubernetes-1.26.1-unit-test.install | 1 + .../kubernetes-1.26.1/debian/deb_folder/rules | 117 ++ .../debian/deb_folder/source/format | 1 + .../kubernetes-1.26.1/debian/meta_data.yaml | 10 + 23 files changed, 2521 insertions(+) create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/changelog create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/control create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/copyright create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubeadm.conf create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubelet-cgroup-setup.sh create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-client.install create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-client.lintian-overrides create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-kubeadm.dirs create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-kubeadm.install create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.dirs create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.install create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.lintian-overrides create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.docs create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.install create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.manpages create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-node.install create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-node.lintian-overrides create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-unit-test.install create mode 100755 kubernetes/kubernetes-1.26.1/debian/deb_folder/rules create mode 100644 kubernetes/kubernetes-1.26.1/debian/deb_folder/source/format create mode 100644 kubernetes/kubernetes-1.26.1/debian/meta_data.yaml diff --git a/debian_iso_image.inc b/debian_iso_image.inc index 8c5b405e6..30c951b08 100644 --- a/debian_iso_image.inc +++ b/debian_iso_image.inc @@ -216,6 +216,10 @@ kubernetes-1.24.4-node kubernetes-1.25.3-client kubernetes-1.25.3-kubeadm kubernetes-1.25.3-node +#kubernetes-1.26.1 +kubernetes-1.26.1-client +kubernetes-1.26.1-kubeadm +kubernetes-1.26.1-node #kubernetes-unversioned kubernetes-unversioned diff --git a/debian_pkg_dirs b/debian_pkg_dirs index 96645d4e1..f6152044c 100644 --- a/debian_pkg_dirs +++ b/debian_pkg_dirs @@ -68,6 +68,7 @@ kubernetes/kubernetes-1.22.5 kubernetes/kubernetes-1.23.1 kubernetes/kubernetes-1.24.4 kubernetes/kubernetes-1.25.3 +kubernetes/kubernetes-1.26.1 kubernetes/kubernetes-unversioned kubernetes/plugins/isolcpus-device-plugin kubernetes/plugins/kubectl-cert-manager diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/changelog b/kubernetes/kubernetes-1.26.1/debian/deb_folder/changelog new file mode 100644 index 000000000..389c371a5 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/changelog @@ -0,0 +1,271 @@ +kubernetes-1.26.1 (1.26.1-1) unstable; urgency=medium + + * Updated for stx debian packaging + + -- Saba Touheed Mujawar sabatouheed.mujawar@windriver.com Thu, 16 Feb 2023 18:38:00 +0000 + +kubernetes-1.25.3 (1.25.3-1) unstable; urgency=medium + + * Updated for stx debian packaging + + -- Ramesh Kumar Sivanandam rameshkumar.sivanandam@windriver.com Thu, 14 Nov 2022 14:30:00 +0000 + +kubernetes-1.24.4 (1.24.4-1) unstable; urgency=medium + + * Updated for stx debian packaging + + -- James Gauld james.gauld@windriver.com Wed, 14 Sep 2022 11:30:00 +0000 + +kubernetes-1.23.1 (1.23.1-1) unstable; urgency=medium + + * Updated for stx debian packaging + + -- Kaustubh Dhokte Tue, 22 Feb 2022 20:57:45 +0000 + +kubernetes (1.21.8-1) unstable; urgency=medium + + * Updated for stx debian packaging + + -- Mihnea Saracin mihnea.saracin@opendev.org Fri, 29 Oct 2021 12:51:12 +0000 + +kubernetes (1.20.5+really1.20.2-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Build using golang-go (Closes: #1000980) + + -- Florian Ernst Sat, 02 Apr 2022 16:49:13 +0200 + +kubernetes (1.20.5+really1.20.2-1) unstable; urgency=medium + + * This is actually still 1.20.2 + * Only contains the client, for the server binaries see unstable/fasttrack + + -- Janos Lenart Sun, 13 Jun 2021 07:08:18 +0000 + +kubernetes (1.20.2-1) unstable; urgency=medium + + * New upstream release: 1.20.2 + + -- Janos Lenart Thu, 14 Jan 2021 10:55:09 +0000 + +kubernetes (1.20.0-1) unstable; urgency=medium + + * New upstream release: 1.20.0 + * Fixes CVE-2020-8565 + + -- Janos Lenart Wed, 09 Dec 2020 12:33:59 +0000 + +kubernetes (1.19.4-2) unstable; urgency=medium + + * Updated README.Debian + + -- Janos Lenart Sat, 21 Nov 2020 14:06:21 +0000 + +kubernetes (1.19.4-1) unstable; urgency=medium + + * New upstream release: 1.19.4 + + -- Janos Lenart Tue, 17 Nov 2020 09:30:59 +0000 + +kubernetes (1.19.3-1) unstable; urgency=medium + + * New upstream release: 1.19.3 + * Building with golang-1.15 + * Fixes CVE-2020-8564, CVE-2020-8566 + + -- Janos Lenart Wed, 21 Oct 2020 10:38:41 +0100 + +kubernetes (1.18.6-1) unstable; urgency=medium + + * New upstream release: 1.18.6 + * (An earlier version, 1.17.4-1 fixes CVE-2019-9946) + + -- Janos Lenart Thu, 16 Jul 2020 10:08:46 +0100 + +kubernetes (1.18.5-1) unstable; urgency=medium + + * New upstream release: 1.18.5 + * Fixes CVE-2020-8557, CVE-2020-8558, CVE-2020-8559 + + -- Janos Lenart Wed, 15 Jul 2020 17:19:40 +0100 + +kubernetes (1.18.3-1) unstable; urgency=medium + + * New upstream release: 1.18.3 + * Improved build reproducibility + + -- Janos Lenart Tue, 02 Jun 2020 11:18:12 +0000 + +kubernetes (1.18.2-3) unstable; urgency=medium + + * Bumped Standards-Version + * Improved build reproducibility + + -- Janos Lenart Fri, 15 May 2020 13:17:53 +0000 + +kubernetes (1.18.2-2) unstable; urgency=medium + + * Added i386 back + + -- Janos Lenart Sun, 03 May 2020 21:13:17 +0000 + +kubernetes (1.18.2-1) unstable; urgency=medium + + * New upstream release: 1.18.2 + + -- Janos Lenart Sun, 03 May 2020 19:25:37 +0000 + +kubernetes (1.18.0-1) unstable; urgency=medium + + * New upstream release: 1.18.0 + + -- Janos Lenart Sat, 28 Mar 2020 12:58:42 +0000 + +kubernetes (1.17.4-1) unstable; urgency=high + + * New maintainer (Closes: #886739) + * New upstream release: 1.17.4 (Closes: #887741) + * New Debian packaging from scratch. See README.Debian + * kubernetes-node + - Moved docker from Depends into Recommends as kubelet can also work with + rkt, cri-o, etc. (Closes: #872690) + - Not shipping systemd units for kubelet and kube-proxy for now + * kubernetes-master + - Moved etcd from Depends into Recommends as apiserver can also connect to + a remote etcd/cluster. + - Not shipping systemd units for kube-apiserver, kube-schedules and + kube-controller-manager for now + + -- Janos Lenart Sun, 15 Mar 2020 21:46:45 +0000 + +kubernetes (1.7.16+dfsg-1) unstable; urgency=medium + + [ Michael Stapelberg ] + * Switch to XS-Go-Import-Path + + [ Dmitry Smirnov ] + * Resurrected "mergo.patch" that has been mistakenly removed + (Closes: #878254). + * Re-enabled safeguard test for the above problem. + * New upstream release: + + CVE-2017-1002101 (Closes: #892801) + + CVE-2017-1002102 (Closes: #894051) + * Updated Vcs URLs for Salsa. + * Standards-Version: 4.1.4 + * Build-Depends: + - golang-go + + golang-any + + golang-github-appc-cni-dev + + golang-github-armon-circbuf-dev + + golang-github-azure-azure-sdk-for-go-dev + + golang-github-dgrijalva-jwt-go-v3-dev + + golang-github-docker-distribution-dev + + golang-github-docker-docker-dev + + golang-github-emicklei-go-restful-swagger12-dev + + golang-github-gogo-protobuf-dev + + golang-github-gorilla-websocket-dev + + golang-github-grpc-ecosystem-go-grpc-prometheus-dev + + golang-github-karlseguin-ccache-dev + - golang-github-opencontainers-runc-dev + + golang-github-opencontainers-docker-runc-dev + + golang-github-pmezard-go-difflib-dev + + golang-golang-x-time-dev + + golang-golang-x-tools-dev + + golang-google-grpc-dev + + golang-gopkg-warnings.v0-dev + + golang-goprotobuf-dev + + -- Dmitry Smirnov Sun, 06 May 2018 16:20:21 +1000 + +kubernetes (1.7.7+dfsg-3) unstable; urgency=medium + + * kubernetes-master should depend on etcd (Closes: #855218). + + -- Andrew Shadura Sun, 22 Oct 2017 19:40:46 +0100 + +kubernetes (1.7.7+dfsg-2) unstable; urgency=medium + + * Use CURDIR, not PWD, unbreaks the build at buildds. + + -- Andrew Shadura Fri, 06 Oct 2017 19:25:45 +0200 + +kubernetes (1.7.7+dfsg-1) unstable; urgency=medium + + [ Tim Potter ] + * Open work for new release + * Remove unused Files-Excluded entries from d/copyright + * Remove Skydns B-D as no longer used + * Don't build on ppc64 or ppc64le architectures + + [ Andrew Shadura ] + * New upstream release. + * Refresh patches. + * Update build dependencies. + * Symlink vendor packages to the build directory. + + -- Andrew Shadura Fri, 06 Oct 2017 18:54:06 +0200 + +kubernetes (1.5.5+dfsg-2) unstable; urgency=medium + + * Team upload. + * Don't build on ppc64le due to Go linker problems. See GitHub issue + https://github.com/golang/go/issues/15823. + * Don't build on ppc64 as it's not supported by upstream at the + moment. (Closes: #860505) + + -- Tim Potter Sat, 03 Jun 2017 08:00:51 +1000 + +kubernetes (1.5.5+dfsg-1) unstable; urgency=low + + [ Dmitry Smirnov ] + * Switch to bundled "rkt". + * rules: remove "-p" option from build and test overrides. + * control: drop obsolete "golang-clockwork-dev" alternative. + * New patch to disable test failing on [armel]. + * Upload to unstable. + + [ Tim Potter ] + * New upstream version. [March 2017] + * Big updates to d/rules and d/copyright to update to upstream + changes made since the 1.2.x release. + * Refresh patches to bring up to date with upstream changes since + 1.2.x. + * control: add lsb-base as dependency for sysvinit scripts. + * Suppress spelling-error-in-binary Lintian messages. + + -- Tim Potter Thu, 13 Apr 2017 16:45:57 +1000 + +kubernetes (1.2.5+dfsg-1) experimental; urgency=medium + + * New upstream release [June 2016]. + * Switch to private "github.com/golang/glog" due to log noise. + * Disabled failing tests; no longer ignore failures in tests. + * Build/test using 2 cores only. + * New patch to update appc/cni name space (fixes FTBFS). + * Removed obsolete "spf13-cobra.patch". + + -- Dmitry Smirnov Sun, 03 Jul 2016 04:12:28 +1000 + +kubernetes (1.2.4+dfsg-2) experimental; urgency=medium + + * Added new patch to fix incompatibility with "imdario/mergo" v0.2.2 + (Closes: #825753). + Thanks, Florian Ernst. + * Enable tests but ignore failures for now. + + -- Dmitry Smirnov Fri, 17 Jun 2016 01:41:38 +1000 + +kubernetes (1.2.4+dfsg-1) experimental; urgency=medium + + * New upstream release [May 2016]. + * New patch to print output of "uname -m" on unsupported architectures. + * New "docker.patch" to fix potential FTBFS. + + Build-Depends += "golang-github-docker-distribution-dev". + + -- Dmitry Smirnov Wed, 15 Jun 2016 21:03:01 +1000 + +kubernetes (1.2.3+dfsg-1) experimental; urgency=low + + * Initial release (Closes: #795652). + + -- Dmitry Smirnov Mon, 25 Apr 2016 22:40:12 +1000 diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/control b/kubernetes/kubernetes-1.26.1/debian/deb_folder/control new file mode 100644 index 000000000..03a3003ce --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/control @@ -0,0 +1,92 @@ +Source: kubernetes-1.26.1 +Section: admin +Priority: optional +Maintainer: StarlingX Developers +Build-Depends: debhelper-compat (= 13), + build-essential, + bash-completion, + jq, + rsync, + go-bindata, + go-md2man, + golang-1.19 +Standards-Version: 4.4.1 +Homepage: http://kubernetes.io/ + +Package: kubernetes-1.26.1-client +Provides: kubernetes-utils +Architecture: amd64 +Depends: ${misc:Depends}, ${shlibs:Depends} +Recommends: ${misc:Recommends} +Built-Using: ${misc:Built-Using} +Description: Kubernetes Command Line Tool + The Kubernetes command line tool for interacting with the Kubernetes API. + +Package: kubernetes-1.26.1-master +Architecture: amd64 +Depends: ${misc:Depends}, ${shlibs:Depends}, + adduser, + lsb-base, + etcd +Recommends: ${misc:Recommends}, kubernetes-1.26.1-client +Built-Using: ${misc:Built-Using} +Description: Kubernetes services for master host + Container Cluster Manager from Google. Kubernetes is an open source system + for managing containerized applications across multiple hosts, providing + basic mechanisms for deployment, maintenance, and scaling of applications. + . + Linux kernel version 3.8 or above is required for proper operation of the + daemon process, and that any lower versions may have subtle and/or glaring + issues. + . + This package provides "kube-apiserver", "kube-controller-manager" and + "kube-scheduler" daemons. + +Package: kubernetes-1.26.1-node +Provides: cadvisor +Architecture: amd64 +Depends: ${misc:Depends}, ${shlibs:Depends}, + adduser, + conntrack, + conntrackd, + docker.io, + lsb-base, + socat, +Recommends: ${misc:Recommends}, kubernetes-1.26.1-client +Built-Using: ${misc:Built-Using} +Description: Kubernetes services for node host + Container Cluster Manager from Google. Kubernetes is an open source system + for managing containerized applications across multiple hosts, providing + basic mechanisms for deployment, maintenance, and scaling of applications. + . + Linux kernel version 3.8 or above is required for proper operation of the + daemon process, and that any lower versions may have subtle and/or glaring + issues. + +Package: kubernetes-1.26.1-kubeadm +Architecture: amd64 +Depends: ${misc:Depends}, containernetworking-plugins +Recommends: ${misc:Recommends}, kubernetes-1.26.1-client +Built-Using: ${misc:Built-Using} +Description: Kubernetes Cluster Bootstrapping Tool + The Kubernetes command line tool for bootstrapping a Kubernetes cluster. + +Package: kubernetes-1.26.1-misc +Architecture: amd64 +Depends: ${misc:Depends}, ${shlibs:Depends} +Recommends: ${misc:Recommends} +Built-Using: ${misc:Built-Using} +Description: dummy package + Kubernetes dummy package for misc stuff we don't want to install in production. + +Package: kubernetes-1.26.1-unit-test +Architecture: amd64 +Depends: ${misc:Depends}, ${shlibs:Depends}, + hostname, + rsync, + etcd (>= 2.0.9), + network-manager, +Recommends: ${misc:Recommends} +Built-Using: ${misc:Built-Using} +Description: Kubernetes unit test + Kubernetes unit-test framework. diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/copyright b/kubernetes/kubernetes-1.26.1/debian/deb_folder/copyright new file mode 100644 index 000000000..c491e21c9 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/copyright @@ -0,0 +1,1820 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Kubernetes +Source: https://github.com/kubernetes/kubernetes + +Files: + debian/kubeadm.conf + debian/kubelet-cgroup-setup.sh +Copyright: 2023 Wind River Systems, Inc. +License: Apache-2.0 + +Files: * +Copyright: 2014-2020 The Kubernetes Authors +License: Apache-2.0 + +Files: debian/* +Copyright: 2020 Janos Lenart +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems the full text of the Apache-2.0 license can be found in + /usr/share/common-licenses/Apache-2.0 . + +Files: vendor/bitbucket.org/bertimus9/systemstat/* +Copyright: 2013 Phillip Bond +License: Expat + +Files: vendor/cloud.google.com/go/* +Copyright: 2014 Google LLC +License: Apache-2.0 + +Files: vendor/github.com/armon/circbuf/* +Copyright: 2013 Armon Dadgar +License: Expat + +Files: vendor/github.com/asaskevich/govalidator/* +Copyright: 2014 Alex Saskevich +License: Expat + +Files: vendor/github.com/aws/aws-sdk-go/* +Copyright: 2015 Amazon.com, Inc. or its affiliates. + 2014-2015 Stripe, Inc. +License: Apache-2.0 + +Files: vendor/github.com/Azure/azure-sdk-for-go/* +Copyright: 2014-2017 Microsoft and contributors +License: Apache-2.0 + +Files: vendor/github.com/Azure/go-ansiterm/* +Copyright: 2015 Microsoft Corporation +License: Expat + +Files: vendor/github.com/Azure/go-autorest/* +Copyright: 2015, 2017, 2018 Microsoft Corporation +License: Apache-2.0 + +Files: vendor/github.com/bazelbuild/* +Copyright: 2014, 2016-2019 The Bazel Authors. + 2016-2017 Google Inc. +License: Apache-2.0 + +Files: vendor/github.com/beorn7/perks/* +Copyright: 2013 Blake Mizerany +License: Expat + +Files: vendor/github.com/blang/semver/* +Copyright: 2014 Benedikt Lang +License: Expat + +Files: vendor/github.com/BurntSushi/toml/* +Copyright: 2013 TOML authors + 2010 The Go Authors +License: Expat and BSD-3-clause + +Files: vendor/github.com/caddyserver/caddy/* +Copyright: 2015 Light Code Labs, LLC +License: Apache-2.0 + +Files: vendor/github.com/cespare/prettybench/* +Copyright: 2014 Caleb Spare +License: Expat + +Files: vendor/github.com/chai2010/gettext-go/* +Copyright: 2013 ChaiShushan +License: BSD-3-clause + +Files: vendor/github.com/checkpoint-restore/go-criu/* +Copyright: The go-criu contributors +License: Apache-2.0 + +Files: vendor/github.com/client9/misspell/* +Copyright: 2015-2017 Nick Galbreath + 2009, 2011 The Go Authors +License: Expat and BSD-3-clause + +Files: vendor/github.com/clusterhq/flocker-go/* +Copyright: 2014-2016 ClusterHQ +License: Apache-2.0 + +Files: vendor/github.com/containerd/* +Copyright: 2012-2016 Docker, Inc. +License: Apache-2.0 and CC-BY-4.0 + +Files: vendor/github.com/containernetworking/cni/* +Copyright: 2015,2016 CNI authors +License: Apache-2.0 + +Files: vendor/github.com/container-storage-interface/spec/* +Copyright: 2017-2020 container-storage-interface/spec contributors +License: Apache-2.0 + +Files: vendor/github.com/coredns/corefile-migration/* +Copyright: 2019-2020 coredns/corefile-migration contributors +License: Apache-2.0 + +Files: vendor/github.com/coreos/go-oidc/* +Copyright: 2014 CoreOS, Inc + 2004, 2006 The Linux Foundation and its contributors +License: Apache-2.0 + +Files: vendor/github.com/coreos/go-semver/* +Copyright: 2013-2015, 2018 CoreOS, Inc +License: Apache-2.0 + +Files: vendor/github.com/coreos/go-systemd/* +Copyright: 2014 Docker, Inc. + 2015-2018 CoreOS, Inc +License: Apache-2.0 + +Files: vendor/github.com/coreos/pkg/* +Copyright: 2014-2016 CoreOS, Inc +License: Apache-2.0 + +Files: vendor/github.com/cpuguy83/go-md2man/* +Copyright: 2014 Brian Goff +License: Expat + +Files: vendor/github.com/cyphar/filepath-securejoin/* +Copyright: 2014-2015 Docker Inc & Go Authors + 2017 SUSE LLC. +License: BSD-3-clause + +Files: vendor/github.com/davecgh/go-spew/* +Copyright: 2012-2016 Dave Collins +License: ISC + +Files: vendor/github.com/daviddengcn/go-colortext/* +Copyright: 2016, David Deng +License: Expat or BSD-3-clause + +Files: vendor/github.com/dgrijalva/jwt-go/* +Copyright: 2012 Dave Grijalva +License: Expat + +Files: vendor/github.com/docker/distribution/* +Copyright: 2014-2020 docker/distribution contributors + 2013 Damien Le Berrigaud and Nick Wade +License: Apache-2.0 and Expat and CC-BY-4.0 + +Files: vendor/github.com/docker/docker/* +Copyright: 2012-2018 Docker, Inc. + 2019 Keith Rarick +License: Apache-2.0 and Expat + +Files: vendor/github.com/docker/go-connections/* +Copyright: 2015 Docker, Inc. +License: Apache-2.0 + +Files: vendor/github.com/docker/go-units/* +Copyright: 2015 Docker, Inc. + 2004, 2006 The Linux Foundation and its contributors. +License: Apache-2.0 + +Files: vendor/github.com/docker/libnetwork/* +Copyright: 2015-2020 docker/libnetwork contributors +License: Apache-2.0 + +Files: vendor/github.com/docker/spdystream/* +Copyright: 2014-2015 Docker, Inc. + 2011, 2013 The Go Authors +License: Apache-2.0 and BSD-3-clause and CC-BY-SA-4.0 + +Files: vendor/github.com/dustin/go-humanize/* +Copyright: 2005-2008 Dustin Sallings +License: Expat + +Files: vendor/github.com/elazarl/goproxy/* +Copyright: 2012 Elazar Leibovich +License: BSD-3-clause + +Files: vendor/github.com/emicklei/go-restful/* +Copyright: 2012-2015, 2018 Ernest Micklei +License: Expat + +Files: vendor/github.com/euank/go-kmsg-parser/* +Copyright: 2016 Euan Kemp +License: Apache-2.0 + +Files: vendor/github.com/evanphx/json-patch/* +Copyright: 2014, Evan Phoenix +License: BSD-3-clause + +Files: vendor/github.com/exponent-io/jsonpath/* +Copyright: 2015 Exponent Labs LLC +License: Expat + +Files: vendor/github.com/fatih/camelcase/* +Copyright: 2015 Fatih Arslan +License: Expat + +Files: vendor/github.com/fatih/color/* +Copyright: 2013 Fatih Arslan +License: Expat + +Files: vendor/github.com/fsnotify/fsnotify/* +Copyright: 2010-2013, 2015 The Go Authors + 2012 fsnotify Authors +License: BSD-3-clause + +Files: vendor/github.com/ghodss/yaml/* +Copyright: 2014 Sam Ghods + 2012, 2013 The Go Authors +License: BSD-3-clause + +Files: vendor/github.com/go-bindata/go-bindata/* +Copyright: The go-bindata contributors +License: CC0-1.0 + +Files: vendor/github.com/godbus/dbus/* +Copyright: 2013, Georg Reinke (), Google +License: BSD-2-clause + +Files: vendor/github.com/gogo/protobuf/* +Copyright: 2013, The GoGo Authors + 2010-2012, 2015-2018 The Go Authors +License: BSD-3-clause + +Files: vendor/github.com/golang/groupcache/* +Copyright: 2013 Google Inc. +License: Apache-2.0 + +Files: vendor/github.com/golang/mock/* +Copyright: 2010, 2011 Google Inc. +License: Apache-2.0 + +Files: vendor/github.com/golang/protobuf/* +Copyright: 2008, 2010-2012, 2015-2018 The Go Authors +License: BSD-3-clause + +Files: vendor/github.com/googleapis/gnostic/* +Copyright: 2017 Google Inc. +License: Apache-2.0 + +Files: vendor/github.com/google/btree/* +Copyright: 2014 Google Inc. +License: Apache-2.0 + +Files: vendor/github.com/google/cadvisor/* +Copyright: 2014-2019 Google Inc. + 2014 The cAdvisor Authors +License: Apache-2.0 + +Files: vendor/github.com/GoogleCloudPlatform/k8s-cloud-provider/* +Copyright: 2018, 2019 Google LLC +License: Apache-2.0 + +Files: vendor/github.com/google/go-cmp/* +Copyright: 2017-2019 The Go Authors +License: BSD-3-clause + +Files: vendor/github.com/google/gofuzz/* +Copyright: 2014 Google Inc. +License: Apache-2.0 + +Files: vendor/github.com/google/uuid/* +Copyright: 2009, 2014, 2016-2018 Google Inc. +License: BSD-3-clause + +Files: vendor/github.com/go-openapi/analysis/* +Copyright: 2015 go-swagger maintainers +License: Apache-2.0 + +Files: vendor/github.com/go-openapi/errors/* +Copyright: 2015 go-swagger maintainers +License: Apache-2.0 + +Files: vendor/github.com/go-openapi/jsonpointer/* +Copyright: 2013 sigu-399 ( https://github.com/sigu-399 ) +License: Apache-2.0 + +Files: vendor/github.com/go-openapi/jsonreference/* +Copyright: 2013 sigu-399 ( https://github.com/sigu-399 ) +License: Apache-2.0 + +Files: vendor/github.com/go-openapi/loads/* +Copyright: 2015 go-swagger maintainers +License: Apache-2.0 + +Files: vendor/github.com/go-openapi/runtime/* +Copyright: 2015 go-swagger maintainers +License: Apache-2.0 + +Files: vendor/github.com/go-openapi/spec/* +Copyright: 2015 go-swagger maintainers +License: Apache-2.0 + +Files: vendor/github.com/go-openapi/strfmt/* +Copyright: 2015 go-swagger maintainers +License: Apache-2.0 + +Files: vendor/github.com/go-openapi/swag/* +Copyright: 2015 go-swagger maintainers +License: Apache-2.0 + +Files: vendor/github.com/go-openapi/validate/* +Copyright: 2015 go-swagger maintainers +License: Apache-2.0 + +Files: vendor/github.com/go-ozzo/ozzo-validation/* +Copyright: 2016, 2018 Qiang Xue, Google LLC +License: Expat + +Files: vendor/github.com/gophercloud/gophercloud/* +Copyright: 2012-2013 Rackspace, Inc. +License: Apache-2.0 + +Files: vendor/github.com/gorilla/websocket/* +Copyright: 2013, 2016, 2017 The Gorilla WebSocket Authors +License: BSD-2-clause + +Files: vendor/github.com/go-stack/stack/* +Copyright: 2014 Chris Hines +License: Expat + +Files: vendor/github.com/gregjones/httpcache/* +Copyright: 2012 Greg Jones (greg.jones@gmail.com) +License: Expat + +Files: vendor/github.com/grpc-ecosystem/go-grpc-middleware/* +Copyright: 2016 Michal Witkowski +License: Apache-2.0 + +Files: vendor/github.com/grpc-ecosystem/go-grpc-prometheus/* +Copyright: 2016 Michal Witkowski +License: Apache-2.0 + +Files: vendor/github.com/grpc-ecosystem/grpc-gateway/* +Copyright: 2015, Gengo, Inc. +License: BSD-3-clause + +Files: vendor/github.com/hashicorp/golang-lru/* +Copyright: 2014-2020 hashicorp/golang-lru contributors +License: MPL-2.0 + +Files: vendor/github.com/hashicorp/hcl/* +Copyright: 2014-2020 hashicorp/hcl contributors +License: MPL-2.0 + +Files: vendor/github.com/heketi/heketi/* +Copyright: 2015, 2016, 2018 The heketi Authors + 1989, 1991, 2007 Free Software Foundation, Inc. +License: (Apache-2.0 or LGPL-3.0) and (LGPL-3.0 or GPL-2.0) + +Files: vendor/github.com/hpcloud/tail/* +Copyright: 2015 Hewlett Packard Enterprise Development LP + 2015 HPE Software Inc. + 2013, 2014 ActiveState Software Inc. + 2013 99designs +License: Expat + +Files: vendor/github.com/imdario/mergo/* +Copyright: 2009, 2013, 2014 Dario Castañé + 2009, 2012 The Go Authors +License: BSD-3-clause + +Files: vendor/github.com/inconshreveable/mousetrap/* +Copyright: 2014 Alan Shreve +License: Apache-2.0 + +Files: vendor/github.com/JeffAshton/win_pdh/* +Copyright: 2010, 2013 The win_pdh Authors +License: BSD-3-clause + +Files: vendor/github.com/jmespath/go-jmespath/* +Copyright: 2015 James Saryerwinnie +License: Apache-2.0 + +Files: vendor/github.com/jonboulle/clockwork/* +Copyright: 2014-2020 jonboulle/clockwork contributors +License: Apache-2.0 + +Files: vendor/github.com/json-iterator/go/* +Copyright: 2016 json-iterator +License: Expat + +Files: vendor/github.com/karrick/godirwalk/* +Copyright: 2017, Karrick McDermott +License: BSD-2-clause + +Files: vendor/github.com/konsorten/go-windows-terminal-sequences/* +Copyright: 2016, 2017 marvin + konsorten GmbH (open-source@konsorten.de) +License: Expat + +Files: vendor/github.com/libopenstorage/openstorage/* +Copyright: 2015 Openstorage.org +License: Apache-2.0 + +Files: vendor/github.com/liggitt/tabwriter/* +Copyright: 2009 The Go Authors +License: BSD-3-clause + +Files: vendor/github.com/lithammer/dedent/* +Copyright: 2018 Peter Lithammer +License: Expat + +Files: vendor/github.com/magiconair/properties/* +Copyright: 2011 The Go Authors + 2013-2018 Frank Schroeder +License: BSD-2-clause + +Files: vendor/github.com/mailru/easyjson/* +Copyright: 2016 Mail.Ru Group +License: Expat + +Files: vendor/github.com/MakeNowJust/heredoc/* +Copyright: 2014-2017 TSUYUSATO Kitsune +License: Expat + +Files: vendor/github.com/mattn/go-colorable/* +Copyright: 2016 Yasuhiro Matsumoto +License: Expat + +Files: vendor/github.com/mattn/go-isatty/* +Copyright: Yasuhiro MATSUMOTO +License: Expat + +Files: vendor/github.com/mattn/go-shellwords/* +Copyright: 2017 Yasuhiro Matsumoto +License: Expat + +Files: vendor/github.com/matttproud/golang_protobuf_extensions/* +Copyright: 2012 Matt T. Proud (matt.proud@gmail.com) +License: Apache-2.0 + +Files: vendor/github.com/Microsoft/go-winio/* +Copyright: 2015 Microsoft +License: Expat + +Files: vendor/github.com/Microsoft/hcsshim/* +Copyright: 2015, 2018 Microsoft Corp. +License: Expat + +Files: vendor/github.com/miekg/dns/* +Copyright: 2011 Miek Gieben + 2009, 2013 The Go Authors + 2014 CloudFlare +License: BSD-3-clause + +Files: vendor/github.com/mindprince/gonvml/* +Copyright: 2017 Google Inc. + 1993-2016 NVIDIA Corporation +License: Apache-2.0 + +Files: vendor/github.com/mistifyio/go-zfs/* +Copyright: 2014 OmniTI Computer Consulting, Inc. +License: Apache-2.0 + +Files: vendor/github.com/mitchellh/go-wordwrap/* +Copyright: 2014 Mitchell Hashimoto +License: Expat + +Files: vendor/github.com/mitchellh/mapstructure/* +Copyright: 2013 Mitchell Hashimoto +License: Expat + +Files: vendor/github.com/modern-go/concurrent/* +Copyright: 2018-2020 modern-go/concurrent contributors +License: Apache-2.0 + +Files: vendor/github.com/modern-go/reflect2/* +Copyright: 2018-2020 modern-go/reflec2 contributors +License: Apache-2.0 + +Files: vendor/github.com/mohae/deepcopy/* +Copyright: 2014-2016 Joel Scoble (github.com/mohae) +License: Expat + +Files: vendor/github.com/morikuni/aec/* +Copyright: 2016 Taihei Morikuni +License: Expat + +Files: vendor/github.com/mrunalp/fileutils/* +Copyright: 2014 Docker Inc. +License: Apache-2.0 + +Files: vendor/github.com/munnerz/goautoneg/* +Copyright: 2011, Open Knowledge Foundation Ltd +License: BSD-3-clause + +Files: vendor/github.com/mvdan/xurls/* +Copyright: 2015, Daniel Martí +License: BSD-3-clause + +Files: vendor/github.com/mxk/go-flowrate/* +Copyright: 2014 The Go-FlowRate Authors +License: BSD-3-clause + +Files: vendor/github.com/NYTimes/gziphandler/* +Copyright: 2015 The New York Times Company +License: Apache-2.0 + +Files: vendor/github.com/onsi/ginkgo/* +Copyright: 2013-2014 Onsi Fakhouri + 2016 Yasuhiro Matsumoto +License: Expat + +Files: vendor/github.com/onsi/gomega/* +Copyright: 2013-2014 Onsi Fakhouri +License: Expat + +Files: vendor/github.com/opencontainers/go-digest/* +Copyright: 2017 Docker, Inc. + 2004, 2006 The Linux Foundation and its contributors +License: Apache-2.0 and CC-BY-SA-4.0 + +Files: vendor/github.com/opencontainers/image-spec/* +Copyright: 2016 The Linux Foundation +License: Apache-2.0 + +Files: vendor/github.com/opencontainers/runc/* +Copyright: 2012-2015 Docker, Inc. + 2016, 2017 SUSE LLC +License: Apache-2.0 + +Files: vendor/github.com/opencontainers/runtime-spec/* +Copyright: 2015 The Linux Foundation +License: Apache-2.0 + +Files: vendor/github.com/opencontainers/selinux/* +Copyright: 2017-2020 opencontainers/selinux contributors +License: Apache-2.0 + +Files: vendor/github.com/pelletier/go-toml/* +Copyright: 2013-2017 Thomas Pelletier, Eric Anderton +License: Expat + +Files: vendor/github.com/peterbourgon/diskv/* +Copyright: 2011-2012 Peter Bourgon +License: Expat + +Files: vendor/github.com/pkg/errors/* +Copyright: 2015, Dave Cheney +License: BSD-2-clause + +Files: vendor/github.com/pmezard/go-difflib/* +Copyright: 2013, Patrick Mezard +License: BSD-3-clause + +Files: vendor/github.com/pquerna/cachecontrol/* +Copyright: 2015 Paul Querna + 2009 The Go Authors +License: Apache-2.0 and BSD-3-clause + +Files: vendor/github.com/prometheus/client_golang/* +Copyright: 2012-2019 The Prometheus Authors + 2010 The Go Authors + 2013-2015 Blake Mizerany, Björn Rabenstein + 2013 Matt T. Proud +License: Apache-2.0 + +Files: vendor/github.com/prometheus/client_model/* +Copyright: 2012-2015 The Prometheus Authors +License: Apache-2.0 + +Files: vendor/github.com/prometheus/common/* +Copyright: 2013-2015 The Prometheus Authors + 2011, Open Knowledge Foundation Ltd. +License: Apache-2.0 + +Files: vendor/github.com/prometheus/procfs/* +Copyright: 2014-2015,2017-2019 The Prometheus Authors + 2017 Roger Luethi +License: Apache-2.0 + +Files: vendor/github.com/PuerkitoBio/purell/* +Copyright: 2012, Martin Angers +License: BSD-3-clause + +Files: vendor/github.com/PuerkitoBio/urlesc/* +Copyright: 2009, 2012 The Go Authors +License: BSD-3-clause + +Files: vendor/github.com/quobyte/api/* +Copyright: 2016, Quobyte Inc. +License: BSD-3-clause + +Files: vendor/github.com/robfig/cron/* +Copyright: 2012 Rob Figueiredo +License: Expat + +Files: vendor/github.com/rubiojr/go-vhd/* +Copyright: 2015 Sergio Rubio +License: Expat + +Files: vendor/github.com/russross/blackfriday/* +Copyright: 2011 Russ Ross +License: BSD-2-clause + +Files: vendor/github.com/satori/go.uuid/* +Copyright: 2013-2018 by Maxim Bublis +License: Expat + +Files: vendor/github.com/seccomp/libseccomp-golang/* +Copyright: 2015 Matthew Heon + 2015 Paul Moore +License: BSD-2-clause + +Files: vendor/github.com/sirupsen/logrus/* +Copyright: 2014 Simon Eskildsen +License: Expat + +Files: vendor/github.com/soheilhy/cmux/* +Copyright: 2016 The CMux Authors +License: Apache-2.0 + +Files: vendor/github.com/spf13/afero/* +Copyright: 2009, 2015 The Go Authors + 2014-2016,2018 Steve Francia + 2015 The Hugo Authors + 2013 The tsuru authors + 2016-present Bjørn Erik Pedersen +License: Apache-2.0 + +Files: vendor/github.com/spf13/cast/* +Copyright: 2014 Steve Francia + 2011 The Go Authors +License: Expat + +Files: vendor/github.com/spf13/cobra/* +Copyright: 2013 Steve Francia . + 2015 Red Hat Inc. + 2016 French Ben +License: Apache-2.0 + +Files: vendor/github.com/spf13/jwalterweatherman/* +Copyright: 2014, 2016 Steve Francia +License: Expat + +Files: vendor/github.com/spf13/pflag/* +Copyright: 2012 Alex Ogier + 2009, 2012 The Go Authors +License: BSD-3-clause + +Files: vendor/github.com/spf13/viper/* +Copyright: 2014 Steve Francia +License: Expat + +Files: vendor/github.com/storageos/go-api/* +Copyright: 2015-2018 StorageOS + 2013-2017 go-dockerclient Authors +License: Expat and BSD-2-clause + +Files: vendor/github.com/stretchr/objx/* +Copyright: 2014 Stretchr, Inc. + 2017-2018 objx contributors +License: Expat + +Files: vendor/github.com/stretchr/testify/* +Copyright: 2012-2018 Mat Ryer and Tyler Bunnell +License: Expat + +Files: vendor/github.com/syndtr/gocapability/* +Copyright: 2013 Suryandaru Triandana +License: BSD-2-clause + +Files: vendor/github.com/thecodeteam/goscaleio/* +Copyright: 2015-2019 thecodeteam/goscaleio contributors +License: Apache-2.0 + +Files: vendor/github.com/tmc/grpc-websocket-proxy/* +Copyright: 2016 Travis Cline +License: Expat + +Files: vendor/github.com/vishvananda/netlink/* +Copyright: 2014 Vishvananda Ishaya. + 2014 Docker, Inc. +License: Apache-2.0 + +Files: vendor/github.com/vishvananda/netns/* +Copyright: 2014 Vishvananda Ishaya. + 2014 Docker, Inc. +License: Apache-2.0 + +Files: vendor/github.com/vmware/govmomi/* +Copyright: 2014-2018 VMware, Inc. + 2009, 2011, 2012 The Go Authors +License: Apache-2.0 + +Files: vendor/github.com/xiang90/probing/* +Copyright: 2015 Xiang Li +License: Expat + +Files: vendor/go.etcd.io/bbolt/* +Copyright: 2013 Ben Johnson +License: Expat + +Files: vendor/go.etcd.io/etcd/* +Copyright: 2014 CoreOS, Inc + 2015-2019 The etcd Authors + 2015 The Go Authors +License: Apache-2.0 + +Files: vendor/go.mongodb.org/mongo-driver/* +Copyright: MongoDB Inc. 2017-present. +License: Apache-2.0 + +Files: vendor/go.opencensus.io/* +Copyright: 2017-2019 OpenCensus Authors +License: Apache-2.0 + +Files: vendor/go.uber.org/atomic/* +Copyright: 2016 Uber Technologies, Inc. +License: Expat + +Files: vendor/go.uber.org/multierr/* +Copyright: 2017 Uber Technologies, Inc. +License: Expat + +Files: vendor/go.uber.org/zap/* +Copyright: 2016-2017 Uber Technologies, Inc. +License: Expat + +Files: vendor/golang.org/x/crypto/* +Copyright: 2009,2011-2016,2018 The Go Authors +License: BSD-3-clause + +Files: vendor/golang.org/x/lint/* +Copyright: 2013,2018 The Go Authors +License: BSD-3-clause + +Files: vendor/golang.org/x/net/* +Copyright: 2009-2019 The Go Authors +License: BSD-3-clause + +Files: vendor/golang.org/x/oauth2/* +Copyright: 2009,2014-2018 The Go Authors +License: BSD-3-clause + +Files: vendor/golang.org/x/sync/* +Copyright: 2009,2016 The Go Authors +License: BSD-3-clause + +Files: vendor/golang.org/x/sys/* +Copyright: 2009-2019 The Go Authors +License: BSD-3-clause + +Files: vendor/golang.org/x/text/* +Copyright: 2009,2011,2013-2018 The Go Authors +License: BSD-3-clause + +Files: vendor/golang.org/x/time/* +Copyright: 2009,2015 The Go Authors +License: BSD-3-clause + +Files: vendor/golang.org/x/tools/* +Copyright: 2009,2011-2019 The Go Authors +License: BSD-3-clause + +Files: vendor/gonum.org/v1/gonum/* +Copyright: 2013-2019 The Gonum Authors + 2009, 2010, 2012 The Go Authors + 1984, 1987, 1989, 1992, 2000 Stephen L. Moshier + 2017 Robin Eklind +License: BSD-3-clause + +Files: vendor/google.golang.org/api/* +Copyright: 2011-2013 Google Inc + 2015-2019 Google LLC + 2013 Joshua Tacoma + 2015-2017 The Go Authors +License: BSD-3-clause + +Files: vendor/google.golang.org/appengine/* +Copyright: 2011-2015,2018 Google Inc. +License: Apache-2.0 + +Files: vendor/google.golang.org/genproto/* +Copyright: 2016-2020 google.golang.org/genproto contributors +License: Apache-2.0 + +Files: vendor/google.golang.org/grpc/* +Copyright: 2014-2019 gRPC authors +License: Apache-2.0 + +Files: vendor/gopkg.in/fsnotify.v1/* +Copyright: 2012 The Go Authors + 2012 fsnotify Authors +License: BSD-3-clause + +Files: vendor/gopkg.in/gcfg.v1/* +Copyright: 2012 Péter Surányi + 2009 The Go Authors +License: BSD-3-clause + +Files: vendor/gopkg.in/inf.v0/* +Copyright: 2012 Péter Surányi + 2009 The Go Authors +License: BSD-3-clause + +Files: vendor/gopkg.in/natefinch/lumberjack.v2/* +Copyright: 2014 Nate Finch +License: Expat + +Files: vendor/gopkg.in/square/go-jose.v2/* +Copyright: 2014,2016,2017,2018 Square Inc. + 2016 Zbigniew Mandziejewicz + 2010 The Go Authors +License: Apache-2.0 + +Files: vendor/gopkg.in/tomb.v1/* +Copyright: 2010-2011 - Gustavo Niemeyer +License: BSD-3-clause + +Files: vendor/gopkg.in/warnings.v0/* +Copyright: 2016 Péter Surányi +License: BSD-2-clause + +Files: vendor/gopkg.in/yaml.v2/* +Copyright: 2006 Kirill Simonov +License: Apache-2.0 + +Files: vendor/gotest.tools/* +Copyright: 2018 gotest.tools authors +License: Apache-2.0 + +Files: vendor/honnef.co/go/tools/* +Copyright: 2016, 2018, 2019 Dominik Honnef + 2009, 2013-2015, 2017, 2018 The Go Authors + 2018 Google Inc. + 2013 Kamil Kisiel + 2013 TOML authors +License: Expat + +Files: vendor/vbom.ml/util/* +Copyright: 2015 Frits van Bommel +License: Expat + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: MPL-2.0 + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + . + On Debian systems the full text of the MPL 2.0 license can be found in + /usr/share/common-licenses/MPL-2.0 . + +License: ISC + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +License: CC0-1.0 + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + . + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + . + On Debian systems, the full text of the CC0 Public Domain Dedication version + version 1.0 can be found in the file /usr/share/common-licenses/CC0-1.0 . + +License: LGPL-3.0 + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in /usr/share/common-licenses/LGPL-3 + +License: GPL-2.0 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General + Public License can be found in /usr/share/common-licenses/GPL-2 . + +License: CC-BY-SA-4.0 + Attribution-ShareAlike 4.0 International + . + ======================================================================= + . + Creative Commons Corporation ("Creative Commons") is not a law firm and + does not provide legal services or legal advice. Distribution of + Creative Commons public licenses does not create a lawyer-client or + other relationship. Creative Commons makes its licenses and related + information available on an "as-is" basis. Creative Commons gives no + warranties regarding its licenses, any material licensed under their + terms and conditions, or any related information. Creative Commons + disclaims all liability for damages resulting from their use to the + fullest extent possible. + . + Using Creative Commons Public Licenses + . + Creative Commons public licenses provide a standard set of terms and + conditions that creators and other rights holders may use to share + original works of authorship and other material subject to copyright + and certain other rights specified in the public license below. The + following considerations are for informational purposes only, are not + exhaustive, and do not form part of our licenses. + . + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + . + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + . + ======================================================================= + . + Creative Commons Attribution-ShareAlike 4.0 International Public + License + . + By exercising the Licensed Rights (defined below), You accept and agree + to be bound by the terms and conditions of this Creative Commons + Attribution-ShareAlike 4.0 International Public License ("Public + License"). To the extent this Public License may be interpreted as a + contract, You are granted the Licensed Rights in consideration of Your + acceptance of these terms and conditions, and the Licensor grants You + such rights in consideration of benefits the Licensor receives from + making the Licensed Material available under these terms and + conditions. + . + . + Section 1 -- Definitions. + . + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + . + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + . + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + . + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + . + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + . + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + . + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + . + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + . + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + . + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + . + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + . + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + . + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + . + . + Section 2 -- Scope. + . + a. License grant. + . + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + . + a. reproduce and Share the Licensed Material, in whole or + in part; and + . + b. produce, reproduce, and Share Adapted Material. + . + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + . + 3. Term. The term of this Public License is specified in Section + 6(a). + . + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + . + 5. Downstream recipients. + . + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + . + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + . + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + . + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + . + b. Other rights. + . + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + . + 2. Patent and trademark rights are not licensed under this + Public License. + . + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + . + . + Section 3 -- License Conditions. + . + Your exercise of the Licensed Rights is expressly made subject to the + following conditions. + . + a. Attribution. + . + 1. If You Share the Licensed Material (including in modified + form), You must: + . + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + . + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + . + ii. a copyright notice; + . + iii. a notice that refers to this Public License; + . + iv. a notice that refers to the disclaimer of + warranties; + . + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + . + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + . + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + . + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + . + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + . + b. ShareAlike. + . + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + . + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + . + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + . + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + . + . + Section 4 -- Sui Generis Database Rights. + . + Where the Licensed Rights include Sui Generis Database Rights that + apply to Your use of the Licensed Material: + . + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + . + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + . + including for purposes of Section 3(b); and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + . + For the avoidance of doubt, this Section 4 supplements and does not + replace Your obligations under this Public License where the Licensed + Rights include other Copyright and Similar Rights. + . + . + Section 5 -- Disclaimer of Warranties and Limitation of Liability. + . + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + . + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + . + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + . + . + Section 6 -- Term and Termination. + . + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + . + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + . + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + . + 2. upon express reinstatement by the Licensor. + . + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + . + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + . + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + . + . + Section 7 -- Other Terms and Conditions. + . + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + . + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + . + . + Section 8 -- Interpretation. + . + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + . + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + . + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + . + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + . + . + ======================================================================= + . + Creative Commons is not a party to its public + licenses. Notwithstanding, Creative Commons may elect to apply one of + its public licenses to material it publishes and in those instances + will be considered the “Licensor.” The text of the Creative Commons + public licenses is dedicated to the public domain under the CC0 Public + Domain Dedication. Except for the limited purpose of indicating that + material is shared under a Creative Commons public license or as + otherwise permitted by the Creative Commons policies published at + creativecommons.org/policies, Creative Commons does not authorize the + use of the trademark "Creative Commons" or any other trademark or logo + of Creative Commons without its prior written consent including, + without limitation, in connection with any unauthorized modifications + to any of its public licenses or any other arrangements, + understandings, or agreements concerning use of licensed material. For + the avoidance of doubt, this paragraph does not form part of the + public licenses. + . + Creative Commons may be contacted at creativecommons.org. + +License: CC-BY-4.0 + Attribution 4.0 International + . + ======================================================================= + . + Creative Commons Corporation ("Creative Commons") is not a law firm and + does not provide legal services or legal advice. Distribution of + Creative Commons public licenses does not create a lawyer-client or + other relationship. Creative Commons makes its licenses and related + information available on an "as-is" basis. Creative Commons gives no + warranties regarding its licenses, any material licensed under their + terms and conditions, or any related information. Creative Commons + disclaims all liability for damages resulting from their use to the + fullest extent possible. + . + Using Creative Commons Public Licenses + . + Creative Commons public licenses provide a standard set of terms and + conditions that creators and other rights holders may use to share + original works of authorship and other material subject to copyright + and certain other rights specified in the public license below. The + following considerations are for informational purposes only, are not + exhaustive, and do not form part of our licenses. + . + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + . + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + . + ======================================================================= + . + Creative Commons Attribution 4.0 International Public License + . + By exercising the Licensed Rights (defined below), You accept and agree + to be bound by the terms and conditions of this Creative Commons + Attribution 4.0 International Public License ("Public License"). To the + extent this Public License may be interpreted as a contract, You are + granted the Licensed Rights in consideration of Your acceptance of + these terms and conditions, and the Licensor grants You such rights in + consideration of benefits the Licensor receives from making the + Licensed Material available under these terms and conditions. + . + . + Section 1 -- Definitions. + . + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + . + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + . + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + . + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + . + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + . + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + . + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + . + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + . + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + . + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + . + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + . + . + Section 2 -- Scope. + . + a. License grant. + . + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + . + a. reproduce and Share the Licensed Material, in whole or + in part; and + . + b. produce, reproduce, and Share Adapted Material. + . + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + . + 3. Term. The term of this Public License is specified in Section + 6(a). + . + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + . + 5. Downstream recipients. + . + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + . + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + . + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + . + b. Other rights. + . + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + . + 2. Patent and trademark rights are not licensed under this + Public License. + . + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + . + . + Section 3 -- License Conditions. + . + Your exercise of the Licensed Rights is expressly made subject to the + following conditions. + . + a. Attribution. + . + 1. If You Share the Licensed Material (including in modified + form), You must: + . + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + . + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + . + ii. a copyright notice; + . + iii. a notice that refers to this Public License; + . + iv. a notice that refers to the disclaimer of + warranties; + . + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + . + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + . + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + . + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + . + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + . + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + . + . + Section 4 -- Sui Generis Database Rights. + . + Where the Licensed Rights include Sui Generis Database Rights that + apply to Your use of the Licensed Material: + . + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + . + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + . + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + . + For the avoidance of doubt, this Section 4 supplements and does not + replace Your obligations under this Public License where the Licensed + Rights include other Copyright and Similar Rights. + . + . + Section 5 -- Disclaimer of Warranties and Limitation of Liability. + . + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + . + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + . + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + . + . + Section 6 -- Term and Termination. + . + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + . + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + . + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + . + 2. upon express reinstatement by the Licensor. + . + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + . + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + . + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + . + . + Section 7 -- Other Terms and Conditions. + . + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + . + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + . + . + Section 8 -- Interpretation. + . + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + . + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + . + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + . + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + . + . + ======================================================================= + . + Creative Commons is not a party to its public + licenses. Notwithstanding, Creative Commons may elect to apply one of + its public licenses to material it publishes and in those instances + will be considered the “Licensor.” The text of the Creative Commons + public licenses is dedicated to the public domain under the CC0 Public + Domain Dedication. Except for the limited purpose of indicating that + material is shared under a Creative Commons public license or as + otherwise permitted by the Creative Commons policies published at + creativecommons.org/policies, Creative Commons does not authorize the + use of the trademark "Creative Commons" or any other trademark or logo + of Creative Commons without its prior written consent including, + without limitation, in connection with any unauthorized modifications + to any of its public licenses or any other arrangements, + understandings, or agreements concerning use of licensed material. For + the avoidance of doubt, this paragraph does not form part of the + public licenses. + . + Creative Commons may be contacted at creativecommons.org. + diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubeadm.conf b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubeadm.conf new file mode 100644 index 000000000..d8b77e9dc --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubeadm.conf @@ -0,0 +1,18 @@ +# Note: This dropin only works with kubeadm and kubelet v1.11+ +[Service] +Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf" +Environment="KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml" +# This is a file that "kubeadm init" and "kubeadm join" generates at runtime, populating the KUBELET_KUBEADM_ARGS variable dynamically +EnvironmentFile=-/var/lib/kubelet/kubeadm-flags.env +# This is a file that the user can use for overrides of the kubelet args as a last resort. Preferably, the user should use +# the .NodeRegistration.KubeletExtraArgs object in the configuration files instead. KUBELET_EXTRA_ARGS should be sourced from this file. +EnvironmentFile=-/etc/default/kubelet +ExecStart= +ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS +ExecStartPre=-/usr/local/sbin/sanitize_kubelet_reserved_cpus.sh /etc/default/kubelet +ExecStartPre=-/usr/bin/kubelet-cgroup-setup.sh +ExecStartPost=/bin/bash -c 'echo $MAINPID > /var/run/kubelet.pid;' +ExecStopPost=/bin/rm -f /var/run/kubelet.pid +Restart=always +StartLimitInterval=0 +RestartSec=10 diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubelet-cgroup-setup.sh b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubelet-cgroup-setup.sh new file mode 100644 index 000000000..fa3b6f472 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubelet-cgroup-setup.sh @@ -0,0 +1,132 @@ +#!/bin/bash +# +# Copyright (c) 2023 Wind River Systems, Inc. +# +# SPDX-License-Identifier: Apache-2.0 +# +# This script does minimal cgroup setup for kubelet. This creates k8s-infra +# cgroup for a minimal set of resource controllers, and configures cpuset +# attributes to span all online cpus and nodes. This will do nothing if +# the k8s-infra cgroup already exists (i.e., assume already configured). +# NOTE: The creation of directories under /sys/fs/cgroup is volatile, and +# does not persist reboots. The cpuset.mems and cpuset.cpus is later updated +# by puppet kubernetes.pp manifest. +# + +# Define minimal path +PATH=/bin:/usr/bin:/usr/local/bin + +# Log info message to /var/log/daemon.log +function LOG { + logger -p daemon.info "$0($$): $@" +} + +# Log error message to /var/log/daemon.log +function ERROR { + logger -s -p daemon.error "$0($$): ERROR: $@" +} + +# Create minimal cgroup directories and configure cpuset attributes if required +function create_cgroup { + local cg_name=$1 + local cg_nodeset=$2 + local cg_cpuset=$3 + + local CGROUP=/sys/fs/cgroup + local CONTROLLERS_AUTO_DELETED=("pids" "hugetlb") + local CONTROLLERS_PRESERVED=("cpuset" "memory" "cpu,cpuacct" "systemd") + local cnt='' + local CGDIR='' + local RC=0 + + # Ensure that these cgroups are created every time as they are auto deleted + for cnt in ${CONTROLLERS_AUTO_DELETED[@]}; do + CGDIR=${CGROUP}/${cnt}/${cg_name} + if [ -d ${CGDIR} ]; then + LOG "Nothing to do, already configured: ${CGDIR}." + continue + fi + LOG "Creating: ${CGDIR}" + mkdir -p ${CGDIR} + RC=$? + if [ ${RC} -ne 0 ]; then + ERROR "Creating: ${CGDIR}, rc=${RC}" + exit ${RC} + fi + done + + # These cgroups are preserved so if any of these are encountered additional + # cgroup setup is not required + for cnt in ${CONTROLLERS_PRESERVED[@]}; do + CGDIR=${CGROUP}/${cnt}/${cg_name} + if [ -d ${CGDIR} ]; then + LOG "Nothing to do, already configured: ${CGDIR}." + exit ${RC} + fi + LOG "Creating: ${CGDIR}" + mkdir -p ${CGDIR} + RC=$? + if [ ${RC} -ne 0 ]; then + ERROR "Creating: ${CGDIR}, rc=${RC}" + exit ${RC} + fi + done + + # Customize cpuset attributes + LOG "Configuring cgroup: ${cg_name}, nodeset: ${cg_nodeset}, cpuset: ${cg_cpuset}" + CGDIR=${CGROUP}/cpuset/${cg_name} + local CGMEMS=${CGDIR}/cpuset.mems + local CGCPUS=${CGDIR}/cpuset.cpus + local CGTASKS=${CGDIR}/tasks + + # Assign cgroup memory nodeset + LOG "Assign nodeset ${cg_nodeset} to ${CGMEMS}" + echo ${cg_nodeset} > ${CGMEMS} + RC=$? + if [ ${RC} -ne 0 ]; then + ERROR "Unable to write to: ${CGMEMS}, rc=${RC}" + exit ${RC} + fi + + # Assign cgroup cpus + LOG "Assign cpuset ${cg_cpuset} to ${CGCPUS}" + echo ${cg_cpuset} > ${CGCPUS} + RC=$? + if [ ${RC} -ne 0 ]; then + ERROR "Assigning: ${cg_cpuset} to ${CGCPUS}, rc=${RC}" + exit ${RC} + fi + + # Set file ownership + chown root:root ${CGMEMS} ${CGCPUS} ${CGTASKS} + RC=$? + if [ ${RC} -ne 0 ]; then + ERROR "Setting owner for: ${CGMEMS}, ${CGCPUS}, ${CGTASKS}, rc=${RC}" + exit ${RC} + fi + + # Set file mode permissions + chmod 644 ${CGMEMS} ${CGCPUS} ${CGTASKS} + RC=$? + if [ ${RC} -ne 0 ]; then + ERROR "Setting mode for: ${CGMEMS}, ${CGCPUS}, ${CGTASKS}, rc=${RC}" + exit ${RC} + fi + + return ${RC} +} + +if [ ${UID} -ne 0 ]; then + ERROR "Require sudo/root." + exit 1 +fi + +# Configure default kubepods cpuset to span all online cpus and nodes. +ONLINE_NODESET=$(/bin/cat /sys/devices/system/node/online) +ONLINE_CPUSET=$(/bin/cat /sys/devices/system/cpu/online) + +# Configure kubelet cgroup to match cgroupRoot. +create_cgroup 'k8s-infra' ${ONLINE_NODESET} ${ONLINE_CPUSET} + +exit $? + diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-client.install b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-client.install new file mode 100644 index 000000000..c4d4a49ab --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-client.install @@ -0,0 +1,2 @@ +usr/local/kubernetes/1.26.1/stage2/usr/bin/kubectl +usr/local/kubernetes/1.26.1/stage2/usr/share/bash-completion/completions/kubectl diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-client.lintian-overrides b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-client.lintian-overrides new file mode 100644 index 000000000..160b6783b --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-client.lintian-overrides @@ -0,0 +1,9 @@ +## Generated man pages: TODO +manpage-has-bad-whatis-entry usr/share/man/* +manpage-has-errors-from-man usr/share/man/man1/* + +## Bash-completion script does not have to be executable: +script-not-executable usr/share/bash-completion/completions/kubectl + +## Override annoying/useless messages +kubernetes-client: spelling-error-in-binary diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-kubeadm.dirs b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-kubeadm.dirs new file mode 100644 index 000000000..cc0213be3 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-kubeadm.dirs @@ -0,0 +1 @@ +usr/local/kubernetes/1.26.1/stage2/etc/systemd/system/kubelet.service.d/ diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-kubeadm.install b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-kubeadm.install new file mode 100644 index 000000000..b533df80f --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-kubeadm.install @@ -0,0 +1,2 @@ +usr/local/kubernetes/1.26.1/stage1/usr/bin/kubeadm +usr/local/kubernetes/1.26.1/stage2/etc/systemd/system/kubelet.service.d/kubeadm.conf diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.dirs b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.dirs new file mode 100644 index 000000000..ccb7aa0b9 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.dirs @@ -0,0 +1,5 @@ +etc/kubernetes-1.26.1 +etc/kubernetes-1.26.1/addons +etc/kubernetes-1.26.1/addons/volumesnapshots +etc/kubernetes-1.26.1/addons/volumesnapshots/crd +etc/kubernetes-1.26.1/addons/volumesnapshots/volume-snapshot-controller diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.install b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.install new file mode 100644 index 000000000..f71fce3a5 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.install @@ -0,0 +1,8 @@ +usr/bin/kube-apiserver +usr/bin/kube-controller-manager +usr/bin/kube-scheduler +etc/kubernetes-1.26.1/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml +etc/kubernetes-1.26.1/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml +etc/kubernetes-1.26.1/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshots.yaml +etc/kubernetes-1.26.1/addons/volumesnapshots/volume-snapshot-controller/volume-snapshot-controller-deployment.yaml +etc/kubernetes-1.26.1/addons/volumesnapshots/volume-snapshot-controller/rbac-volume-snapshot-controller.yaml diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.lintian-overrides b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.lintian-overrides new file mode 100644 index 000000000..f73c63ffd --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-master.lintian-overrides @@ -0,0 +1,7 @@ +## No manual page for hyperkube +kubernetes-master: binary-without-manpage usr/bin/hyperkube + +## Override annoying/useless messages +kubernetes-master: spelling-error-in-binary +kubernetes-master: manpage-has-errors-from-man usr/share/man/man1/* +kubernetes-master: manpage-has-bad-whatis-entry usr/share/man/man1/* diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.docs b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.docs new file mode 100644 index 000000000..1dc3a103d --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.docs @@ -0,0 +1,3 @@ +src/k8s.io/kubernetes/README.md +src/k8s.io/kubernetes/SUPPORT.md +src/k8s.io/kubernetes/_output/NOTICE diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.install b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.install new file mode 100644 index 000000000..f5d4f5581 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.install @@ -0,0 +1 @@ +usr/bin/kube-proxy diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.manpages b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.manpages new file mode 100644 index 000000000..e7203adc2 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-misc.manpages @@ -0,0 +1,10 @@ +# kubernetes-client +src/k8s.io/kubernetes/_output/man/kubeadm* +src/k8s.io/kubernetes/_output/man/kubectl* +# kubernetes-master +src/k8s.io/kubernetes/_output/man/kube-apiserver* +src/k8s.io/kubernetes/_output/man/kube-scheduler* +src/k8s.io/kubernetes/_output/man/kube-controller-manager* +# kubernetes-node +src/k8s.io/kubernetes/_output/man/kubelet* +src/k8s.io/kubernetes/_output/man/kube-proxy* diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-node.install b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-node.install new file mode 100644 index 000000000..0ed8dd169 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-node.install @@ -0,0 +1,2 @@ +usr/local/kubernetes/1.26.1/stage2/usr/bin/kubelet +usr/local/kubernetes/1.26.1/stage2/usr/bin/kubelet-cgroup-setup.sh diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-node.lintian-overrides b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-node.lintian-overrides new file mode 100644 index 000000000..99d470def --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-node.lintian-overrides @@ -0,0 +1,4 @@ +## Override annoying/useless messages +kubernetes-node: spelling-error-in-binary +kubernetes-node: manpage-has-errors-from-man usr/share/man/man1/* +kubernetes-node: manpage-has-bad-whatis-entry usr/share/man/man1/* diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-unit-test.install b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-unit-test.install new file mode 100644 index 000000000..4afdbf051 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/kubernetes-1.26.1-unit-test.install @@ -0,0 +1 @@ +var/lib/kubernetes-unit-test/ diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/rules b/kubernetes/kubernetes-1.26.1/debian/deb_folder/rules new file mode 100755 index 000000000..41dd61e24 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/rules @@ -0,0 +1,117 @@ +#!/usr/bin/make -f + +# +# Copyright (c) 2023 Wind River Systems, Inc. +# +# SPDX-License-Identifier: Apache-2.0 +# + +# This debian/rules file is based on: +# https://packages.debian.org/source/bookworm/kubernetes +# http://deb.debian.org/debian/pool/main/k/kubernetes/kubernetes_1.20.5+really1.20.2-1.1.debian.tar.xz + +# Customizations support kubernetes upgrades: +# - specific directory locations with kubernetes version, upgrades stage, +# and version specific golang compiler +# - build output not required on the production host is moved to +# kubernetes-misc package + +kube_version := 1.26.1 +kube_git_version := v${kube_version} +name := kubernetes-${kube_version} +go_version := 1.19.5 +_stage1 := /usr/local/kubernetes/${kube_version}/stage1 +_stage2 := /usr/local/kubernetes/${kube_version}/stage2 +_bindir := /usr/bin +kube_dir := src/k8s.io/kubernetes +output_dir := ${kube_dir}/_output +output_bindir := ${output_dir}/bin +output_mandir := ${output_dir}/man +DEBIAN_DESTDIR := $(CURDIR)/debian/tmp +export DH_VERBOSE = 1 +export PATH := /usr/lib/go-1.19/bin:$(PATH) +export KUBE_GIT_TREE_STATE="clean" +export KUBE_GIT_COMMIT=${kube_version} +export KUBE_GIT_VERSION=${kube_git_version} +export KUBE_EXTRA_GOPATH=$(pwd)/Godeps/_workspace +export PBR_VERSION=${kube_git_version} + +bins = kube-proxy kube-apiserver kube-controller-manager kubelet kubeadm kube-scheduler kubectl + +%: + dh $@ --with=bash-completion --builddirectory=src --without=build-stamp + +override_dh_auto_build: + # we support multiple go compilers; indicate the version we are using + go version + which go + + mkdir -pv ${kube_dir} + mv -v $$(ls | grep -v "^src$$" | grep -v "^debian$$") ${kube_dir}/. + cd ${kube_dir} && make WHAT="$(addprefix cmd/,$(bins) genman)" + + # manpages + mkdir -p ${output_mandir} + echo $(bins) | xargs --max-args=1 ${output_bindir}/genman ${output_mandir} + + # NOTICE files + find ${kube_dir}/vendor -name '*NOTICE*' -print0 | xargs -0 head -n1000 > ${output_dir}/NOTICE + +override_dh_install: + # kube_version stage1 + install -m 755 -d ${DEBIAN_DESTDIR}${_stage1}${_bindir} + install -p -m 755 -t ${DEBIAN_DESTDIR}${_stage1}${_bindir} ${output_bindir}/kubeadm + + # kube_version stage2 + install -m 755 -d ${DEBIAN_DESTDIR}${_stage2}${_bindir} + install -d -m 0755 ${DEBIAN_DESTDIR}${_stage2}/etc/systemd/system/kubelet.service.d + install -p -m 0644 -t ${DEBIAN_DESTDIR}${_stage2}/etc/systemd/system/kubelet.service.d debian/kubeadm.conf + install -p -m 0700 -t ${DEBIAN_DESTDIR}${_stage2}${_bindir} debian/kubelet-cgroup-setup.sh + install -p -m 750 -t ${DEBIAN_DESTDIR}${_stage2}${_bindir} ${output_bindir}/kubelet + install -p -m 755 -t ${DEBIAN_DESTDIR}${_stage2}${_bindir} ${output_bindir}/kubectl + # bash completions + install -d -m 0755 ${DEBIAN_DESTDIR}${_stage2}/usr/share/bash-completion/completions/ + ${DEBIAN_DESTDIR}${_stage2}${_bindir}/kubectl completion bash > ${DEBIAN_DESTDIR}${_stage2}/usr/share/bash-completion/completions/kubectl + + # remaining are not kube_version staged, i.e., kubernetes-master, kubernetes-misc + install -m 755 -d ${DEBIAN_DESTDIR}${_bindir} + install -p -m 750 -t ${DEBIAN_DESTDIR}${_bindir} ${output_bindir}/kube-apiserver + install -p -m 750 -t ${DEBIAN_DESTDIR}${_bindir} ${output_bindir}/kube-controller-manager + install -p -m 750 -t ${DEBIAN_DESTDIR}${_bindir} ${output_bindir}/kube-scheduler + install -p -m 750 -t ${DEBIAN_DESTDIR}${_bindir} ${output_bindir}/kube-proxy + + # specific cluster addons for optional use + install -d -m 0755 ${DEBIAN_DESTDIR}/etc/${name}/addons + + # Addon: volumesnapshots + install -d -m 0755 ${DEBIAN_DESTDIR}/etc/${name}/addons/volumesnapshots + install -d -m 0755 ${DEBIAN_DESTDIR}/etc/${name}/addons/volumesnapshots/crd + install -m 0644 -t ${DEBIAN_DESTDIR}/etc/${name}/addons/volumesnapshots/crd ${kube_dir}/cluster/addons/volumesnapshots/crd/* + install -d -m 0755 ${DEBIAN_DESTDIR}/etc/${name}/addons/volumesnapshots/volume-snapshot-controller + install -m 0644 -t ${DEBIAN_DESTDIR}/etc/${name}/addons/volumesnapshots/volume-snapshot-controller ${kube_dir}/cluster/addons/volumesnapshots/volume-snapshot-controller/* + + # unit-test + # - everything from the root directory is needed + # - unit-tests needs source code + # - integration tests needs docs and other files + # - test-cmd.sh atm needs cluster, examples and other + install -d -m 0755 ${DEBIAN_DESTDIR}/var/lib/kubernetes-unit-test/ + cp -a src ${DEBIAN_DESTDIR}/var/lib/kubernetes-unit-test/ + # remove generated output, i.e., binaries, go cache, man pages, violations report + rm -rf ${DEBIAN_DESTDIR}/var/lib/kubernetes-unit-test/${output_dir} + + dh_install + +override_dh_auto_test: + ${kube_dir}/hack/test-cmd.sh + ${kube_dir}/hack/benchmark-go.sh + ${kube_dir}/hack/test-go.sh + ${kube_dir}/hack/test-integration.sh --use_go_build + +override_dh_fixperms: + dh_fixperms -Xkube-apiserver -Xkubeadm -Xkubeadm.conf \ + -Xkubelet-cgroup-setup.sh -Xkube-apiserver \ + -Xkube-controller-manager -Xkube-scheduler \ + -Xkube-proxy -Xkubelet -Xkubectl + +override_dh_usrlocal: diff --git a/kubernetes/kubernetes-1.26.1/debian/deb_folder/source/format b/kubernetes/kubernetes-1.26.1/debian/deb_folder/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/deb_folder/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/kubernetes/kubernetes-1.26.1/debian/meta_data.yaml b/kubernetes/kubernetes-1.26.1/debian/meta_data.yaml new file mode 100644 index 000000000..c4363148e --- /dev/null +++ b/kubernetes/kubernetes-1.26.1/debian/meta_data.yaml @@ -0,0 +1,10 @@ +debver: 1.26.1 +dl_path: + name: kubernetes-1.26.1.tar.gz + url: https://github.com/kubernetes/kubernetes/archive/refs/tags/v1.26.1.tar.gz + sha256sum: 0e19d477b5123c74d12bb46bc72e5b6f4c407473af3772ef31cfff3a1d64d311 +revision: + dist: ${STX_DIST} + GITREVCOUNT: + BASE_SRCREV: a8f7a06d8f962e1a8fc0935e6086fd046fcaa790 + SRC_DIR: ${MY_REPO}/stx/integ/kubernetes/kubernetes-1.26.1