blob: 3a30c42d45b1ff5941ff126132fed6659e96520c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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"
|