diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-01-12 16:26:46 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-01-12 16:27:09 +0000 |
commit | f24402c59aee6fcdd4383258e544135f2c19039b (patch) | |
tree | 41c25b0ffdaf6fe6a932e399c393f6709855dc10 /testing/kubernetes/APKBUILD | |
parent | c91bba7beb3a5cb3204fa59656532a80def51c39 (diff) | |
download | aports-f24402c59aee6fcdd4383258e544135f2c19039b.tar.bz2 aports-f24402c59aee6fcdd4383258e544135f2c19039b.tar.xz |
testing/kubernetes: moved from unmaintained, fixed build, upgrade to 1.5.2
Diffstat (limited to 'testing/kubernetes/APKBUILD')
-rw-r--r-- | testing/kubernetes/APKBUILD | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/testing/kubernetes/APKBUILD b/testing/kubernetes/APKBUILD new file mode 100644 index 0000000000..3a30c42d45 --- /dev/null +++ b/testing/kubernetes/APKBUILD @@ -0,0 +1,67 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=kubernetes +pkgver=1.5.2 +pkgrel=0 +pkgdesc="Container Cluster Manager for Docker" +url="http://kubernetes.io/" +arch="x86_64" +license="APACHE" +options="!nostrip" +depends="bash" +makedepends="go rsync bash linux-headers findutils coreutils" +subpackages="" +source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz +no-gnu-grep.patch +make-e2e_node-run-over-distro-bins.patch +hyperkube-remove-federation-cmds.patch +make-test-cmd-run-over-hyperkube-based-kubectl.patch +build-with-debug-info.patch +fix-support-for-ppc64le.patch +remove-apiserver-add-kube-prefix-for-hyperkube.patch +get-rid-of-the-git-commands-in-mungedocs.patch" + +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + make -j1 +} + +package() { + cd "$builddir" + binaries="kube-dns kube-proxy kube-apiserver kube-controller-manager kubelet kubeadm kubemark hyperkube kube-scheduler kubectl kube-discovery kubefed" + for bin in $binaries; do + install -Dm755 _output/local/bin/linux/amd64/$bin "$pkgdir"/usr/bin/$bin + done + + install -d $pkgdir/var/lib/kubelet +} + +md5sums="b9562e55bef1aa6d74caf0ff95f7ba54 kubernetes-1.5.2.tar.gz +165b04cecdd70c222258dd8526884147 no-gnu-grep.patch +dce3f64c931ac4cfffcfebbc5e646dea make-e2e_node-run-over-distro-bins.patch +f0c83d6bd2fce20fb4186f946aa37648 hyperkube-remove-federation-cmds.patch +f034f2b3326e9bbeb2586c55ab4160bb make-test-cmd-run-over-hyperkube-based-kubectl.patch +502d8fd704504ff929b51e3c44cd419a build-with-debug-info.patch +84b9c2e8c56e0f566aff50ef4cebd4bc fix-support-for-ppc64le.patch +a991e8fe6ba9998a02df69c11223ffa7 remove-apiserver-add-kube-prefix-for-hyperkube.patch +cc96c27511272055e0bd422a57cf162b get-rid-of-the-git-commands-in-mungedocs.patch" +sha256sums="e1c4050ff67d31a2a98d303785f52fbf5033c2f33b61d525a821fb82c8820eae kubernetes-1.5.2.tar.gz +5ad044c88f1943896d1a4594d1d50658efc4e0a9af12feef2447627cabb50fb7 no-gnu-grep.patch +5e90c80a47deb946fc21467aa053f96d4a67bd8bcdb7d1da3a74f2ffe9a5fa20 make-e2e_node-run-over-distro-bins.patch +6dc932a8fd313119127ca095d88cd6a2da498d30e55c8bccad4aac7c39f1f4a1 hyperkube-remove-federation-cmds.patch +ed1a00eef35b16a5595abd37fe3cb8f19ea0aafa3b8dfa196d0d306a6f8db406 make-test-cmd-run-over-hyperkube-based-kubectl.patch +590cb72ff13332817985ef4d6c93adf7217e2f75c362088c3e17a702e760b428 build-with-debug-info.patch +bf4f18d7c678718c5d557e4f9e0f80c8fb982a6f21291d95130e5766cd21aa46 fix-support-for-ppc64le.patch +4480c266cff7ef01a3f12560c9f3aab4108da21415f0b0971272ab0f36cf79fa remove-apiserver-add-kube-prefix-for-hyperkube.patch +7ea42197c1733c34e73f8b3fcff8fbf99201578b8ce98317002f8394c89a7cc3 get-rid-of-the-git-commands-in-mungedocs.patch" +sha512sums="9c29767a356619cc6d4e49c37ab502706666e0857cad0695023b831d7a8d750169d9d7da55c35fbc109ad47466a1add7253196d816c96ca60468d5e41ca8876a kubernetes-1.5.2.tar.gz +66f9cb208ed8074532f6013480560af44b49adca25b7e266772beaf148771af4e0d01dc42409ac81af3006036d90b822214d43fd1840d33a120dfcb0a9422a9b no-gnu-grep.patch +93bf77d0b9321f895d6d778561a7d9a0df742201b4d361a3c9d43ef2c510ca20872853cab9d2bbb577f0cb7358a58c2ef6e6b371cdba0e7d5585501246150afe make-e2e_node-run-over-distro-bins.patch +79059cdd54e5fd54b81c7d3836cc63b0546cce33929b4ce546f8b10918c362d7f4dcc9ca3fc6732d17625404dffe69b839412f20a99251021c204ac112441069 hyperkube-remove-federation-cmds.patch +6d8a9c6197025744f97db7c643e2ca651678af967c35a018185bf066d8c31ac5cfedb8fd179fd86b95e538810bf68651cfb58113fdc067d0d6837d8d0ff1110c make-test-cmd-run-over-hyperkube-based-kubectl.patch +9f1a86529893aca8a3c757bf61e7f0bd0c6c92ccc94f48ddc583374cf92d3961f4f98a3a6c2c87c29ebeaae04a95ccdd8435d1e1eebdd82eff9c0827e810fbe6 build-with-debug-info.patch +641f8be76eb5fcfed96128e6f1ca8a35279b9cb5ce5375dfb62ce0e86e7c38cfae8e91cde0fec3fc61efd36470a046bf031c8e3ee644b8d1335336d7ebb48d75 fix-support-for-ppc64le.patch +0b6128b290a7b0f4a2466e6b46102337a15a2c6c7fee80066ccd39a43cdcd8481399f4baec4004c93e33237227b5da5517d3504d0f58ad138c0f7e97c0eabc68 remove-apiserver-add-kube-prefix-for-hyperkube.patch +1de56401931458d94143a6494cc1ec8fccd9ac551e9c065ca8ad5b0cfbba4f77d93b8e4a0c63ea71b31d94063401735e55e2b17bef7049793428a27d2b1283df get-rid-of-the-git-commands-in-mungedocs.patch" |