blob: 2e24b2b0e933532e2a130d2c95d00d05f01d3d3b (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=kubernetes
pkgver=1.5.3
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"
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
}
sha512sums="5bb6635863a98fca62bda509069d62f0f1096d1ffb3a67d280fb6ffc89dcef69a3b9ecf5b4ca835a089b2e1622df0c373b0e317d782af438f9b3794e410bf6a3 kubernetes-1.5.3.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"
|