Import oc-4.7.7
command line tool for controlling OpenShift clusters Description: With OpenShift Client CLI (oc), you can create applications and manage OpenShift resources. It is built on top of kubectl which means it provides its full capabilities to connect with any kubernetes compliant cluster, and on top adds commands simplifying interaction with an OpenShift cluster. Maintainer: Luca De Pandis <luca XXX depandis XXX protonmail XXX com> WWW: https://www.openshift.com Port from Luca De Pandis, ok gonzalo
This commit is contained in:
parent
cc15d59c80
commit
2e8909d9eb
36
sysutils/oc/Makefile
Normal file
36
sysutils/oc/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2021/04/29 04:11:39 rsadowski Exp $
|
||||
|
||||
COMMENT = command line tool for controlling OpenShift clusters
|
||||
|
||||
GH_ACCOUNT = openshift
|
||||
GH_PROJECT = oc
|
||||
VERSION = 4.7.7
|
||||
GH_COMMIT = 2513fdbb36e2ddf13bc0b17460151c03eb3a3547
|
||||
DISTNAME = oc-${VERSION}
|
||||
|
||||
CATEGORIES = sysutils
|
||||
|
||||
HOMEPAGE = https://www.openshift.com
|
||||
|
||||
MAINTAINER = Luca De Pandis <luca.depandis@protonmail.com>
|
||||
|
||||
# Apache License 2.0
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB = c pthread
|
||||
|
||||
|
||||
MODULES = lang/go
|
||||
|
||||
GO_PKGNAME = github.com/openshift/oc
|
||||
WRKSRC = ${MODGO_WORKSPACE}/src/${GO_PKGNAME}
|
||||
ALL_TARGET = ${GO_PKGNAME}/cmd/oc
|
||||
|
||||
MODGO_LDFLAGS += \
|
||||
-X ${GO_PKGNAME}/pkg/version.commitFromGit=${GH_COMMIT} \
|
||||
-X ${GO_PKGNAME}/pkg/version.versionFromGit=${VERSION} \
|
||||
-X ${GO_PKGNAME}/pkg/version.majorFromGit=${VERSION:R:R} \
|
||||
-X ${GO_PKGNAME}/pkg/version.minorFromGit=${VERSION:R:E} \
|
||||
-X ${GO_PKGNAME}/pkg/version.gitTreeState=clean
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/oc/distinfo
Normal file
2
sysutils/oc/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (oc-4.7.7-2513fdbb.tar.gz) = fnu5nJNssryQGrzTHbjKaQY1wEKgdyXLMLqKCzLgZgI=
|
||||
SIZE (oc-4.7.7-2513fdbb.tar.gz) = 13088120
|
5
sysutils/oc/pkg/DESCR
Normal file
5
sysutils/oc/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
With OpenShift Client CLI (oc), you can create applications and
|
||||
manage OpenShift resources. It is built on top of kubectl which
|
||||
means it provides its full capabilities to connect with any kubernetes
|
||||
compliant cluster, and on top adds commands simplifying interaction
|
||||
with an OpenShift cluster.
|
2
sysutils/oc/pkg/PLIST
Normal file
2
sysutils/oc/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/04/29 04:11:39 rsadowski Exp $
|
||||
@bin bin/oc
|
Loading…
Reference in New Issue
Block a user