Source: kubernetes
Followup-For: Bug #960231
Control: severity -1 wishlist

Hi Janos,

I'm reducing the severity of this report, because I don't think that the
initial severity was correct (my apologies).

Attached is an updated patch; please note:

  - This won't be in time for bookworm as I understand it (too far into freeze)
  - I'm not sure about the version number I've suggested in the changelog
  - The changelog entry is attributed to my work email since it is work-related

The patch should apply with patch options '-Np1' in the Debian source package
directory.

Thank you,
James
diff -Nru a/debian/changelog b/debian/changelog
--- a/debian/changelog  2020-05-03 22:13:17.000000000 +0100
+++ b/debian/changelog  2023-02-15 18:30:42.000000000 +0100
@@ -1,3 +1,11 @@
+kubernetes (1.20.5+really1.20.2-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * kubernetes-admin
+    - New package containing kubeadm command (Closes: #960231)
+
+ -- James Addison <ja...@reciperadar.com>  Wed, 15 Feb 2023 18:30:42 +0100
+
 kubernetes (1.20.5+really1.20.2-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
--- a/debian/control    2020-05-03 22:12:59.000000000 +0100
+++ b/debian/control    2023-02-15 18:24:28.000000000 +0100
@@ -6,6 +6,19 @@
 Standards-Version: 4.5.0
 Homepage: http://kubernetes.io/
 
+Package: kubernetes-admin
+Architecture: amd64 i386 armel armhf arm64 s390x
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: Kubernetes master binaries
+ Kubernetes is a portable, extensible, open-source platform for managing
+ containerized workloads and services, that facilitates both declarative
+ configuration and automation. It has a large, rapidly growing ecosystem.
+ Kubernetes services, support, and tools are widely available.
+ .
+ This package ships the Kubernetes kubeadm binary, which can be used
+ to initialize and configure clusters.
+
 Package: kubernetes-client
 Architecture: amd64 i386 armel armhf arm64 s390x
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff -Nru a/debian/copyright b/debian/copyright
--- a/debian/copyright  2020-03-22 10:53:29.000000000 +0000
+++ b/debian/copyright  2023-02-15 18:24:28.000000000 +0100
@@ -846,6 +846,11 @@
            2013 TOML authors
 License: Expat
 
+Files: vendor/sigs.k8s.io/yaml/*
+Copyright: 2014 Sam Ghods
+           2012, 2013 The Go Authors
+License: Expat and BSD-3-clause-SIGS-YAML
+
 Files: vendor/vbom.ml/util/*
 Copyright: 2015 Frits van Bommel
 License: Expat
@@ -1812,3 +1817,29 @@
   .
   Creative Commons may be contacted at creativecommons.org.
 
+License: BSD-3-clause-SIGS-YAML
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions are
+  met:
+  .
+     * Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+     * 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.
+     * Neither the name of Google Inc. 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 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
+  OWNER 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.
diff -Nru a/debian/kubernetes-admin.bash-completion 
b/debian/kubernetes-admin.bash-completion
--- a/debian/kubernetes-admin.bash-completion   1970-01-01 01:00:00.000000000 
+0100
+++ b/debian/kubernetes-admin.bash-completion   2023-02-15 18:24:28.000000000 
+0100
@@ -0,0 +1 @@
+_output/bash-completion/kubeadm
diff -Nru a/debian/kubernetes-admin.docs b/debian/kubernetes-admin.docs
--- a/debian/kubernetes-admin.docs      1970-01-01 01:00:00.000000000 +0100
+++ b/debian/kubernetes-admin.docs      2023-02-15 18:24:28.000000000 +0100
@@ -0,0 +1,3 @@
+README.md
+SUPPORT.md
+_output/NOTICE
diff -Nru a/debian/kubernetes-admin.install b/debian/kubernetes-admin.install
--- a/debian/kubernetes-admin.install   1970-01-01 01:00:00.000000000 +0100
+++ b/debian/kubernetes-admin.install   2023-02-15 18:24:28.000000000 +0100
@@ -0,0 +1 @@
+_output/bin/kubeadm usr/bin/
diff -Nru a/debian/kubernetes-admin.lintian-overrides 
b/debian/kubernetes-admin.lintian-overrides
--- a/debian/kubernetes-admin.lintian-overrides 1970-01-01 01:00:00.000000000 
+0100
+++ b/debian/kubernetes-admin.lintian-overrides 2023-02-15 18:24:28.000000000 
+0100
@@ -0,0 +1,3 @@
+manpage-has-bad-whatis-entry usr/share/man/*
+manpage-has-errors-from-man usr/share/man/*
+statically-linked-binary usr/bin/kubeadm
diff -Nru a/debian/kubernetes-admin.manpages b/debian/kubernetes-admin.manpages
--- a/debian/kubernetes-admin.manpages  1970-01-01 01:00:00.000000000 +0100
+++ b/debian/kubernetes-admin.manpages  2023-02-15 18:24:28.000000000 +0100
@@ -0,0 +1 @@
+_output/man/kubeadm*
diff -Nru a/debian/rules b/debian/rules
--- a/debian/rules      2020-03-21 15:30:21.000000000 +0000
+++ b/debian/rules      2023-02-15 18:24:28.000000000 +0100
@@ -16,6 +16,7 @@
        # bash completion
        mkdir -p _output/bash-completion
        _output/bin/kubectl completion bash >_output/bash-completion/kubectl
+       _output/bin/kubeadm completion bash >_output/bash-completion/kubeadm
        # manpages
        mkdir -p _output/man
        echo $(bins) | xargs --max-args=1 env HOME=/home/user 
_output/bin/genman _output/man

Reply via email to