blob: f3405cf5b877691a659b39f2414641a593c23b04 (
plain) (
blame)
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
|
PORTNAME= kube-apiserver
PORTVERSION= 1.26.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= net
MAINTAINER= loic.blot@unix-experience.fr
COMMENT= Kubernetes API service
WWW= https://github.com/kubernetes/kubernetes
LICENSE= APACHE20
USES= cpe go
CPE_VENDOR= jenkins
CPE_PRODUCT= kubernetes
USE_GITHUB= yes
GH_ACCOUNT= kubernetes
GH_PROJECT= kubernetes
BUILD_DATE= $$(date +'%Y-%m-%dT%H:%M:%SZ')
GO_PKGNAME= k8s.io/kubernetes
GO_TARGET= ${GO_PKGNAME}/cmd/kube-apiserver
GO_BUILDFLAGS= -ldflags="-X k8s.io/kubernetes/vendor/k8s.io/client-go/pkg/version.buildDate=${BUILD_DATE} \
-X k8s.io/kubernetes/vendor/k8s.io/component-base/version.buildDate=${BUILD_DATE} \
-X k8s.io/client-go/pkg/version.buildDate=${BUILD_DATE} \
-X k8s.io/component-base/version.buildDate=${BUILD_DATE} \
-X k8s.io/kubernetes/vendor/k8s.io/client-go/pkg/version.gitMinor=${PORTVERSION:R:E} \
-X k8s.io/kubernetes/vendor/k8s.io/component-base/version.gitMinor=${PORTVERSION:R:E} \
-X k8s.io/client-go/pkg/version.gitMinor=${PORTVERSION:R:E} \
-X k8s.io/component-base/version.gitMinor=${PORTVERSION:R:E} \
-X k8s.io/kubernetes/vendor/k8s.io/client-go/pkg/version.gitMajor=${PORTVERSION:R:R} \
-X k8s.io/kubernetes/vendor/k8s.io/component-base/version.gitMajor=${PORTVERSION:R:R} \
-X k8s.io/client-go/pkg/version.gitMajor=${PORTVERSION:R:R} \
-X k8s.io/component-base/version.gitMajor=${PORTVERSION:R:R} \
-X k8s.io/kubernetes/vendor/k8s.io/client-go/pkg/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION} \
-X k8s.io/kubernetes/vendor/k8s.io/component-base/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION} \
-X k8s.io/client-go/pkg/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION} \
-X k8s.io/component-base/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION}"
USE_RC_SUBR= kube-apiserver
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>
|