From owner-svn-ports-head@freebsd.org Thu Aug 2 21:38:37 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D183410516B7; Thu, 2 Aug 2018 21:38:37 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 876067DDD6; Thu, 2 Aug 2018 21:38:37 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 687731750C; Thu, 2 Aug 2018 21:38:37 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w72Lcbo1054962; Thu, 2 Aug 2018 21:38:37 GMT (envelope-from danilo@FreeBSD.org) Received: (from danilo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w72LcahY054958; Thu, 2 Aug 2018 21:38:36 GMT (envelope-from danilo@FreeBSD.org) Message-Id: <201808022138.w72LcahY054958@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danilo set sender to danilo@FreeBSD.org using -f From: Danilo Egea Gondolfo Date: Thu, 2 Aug 2018 21:38:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476250 - in head/sysutils: . kubectl X-SVN-Group: ports-head X-SVN-Commit-Author: danilo X-SVN-Commit-Paths: in head/sysutils: . kubectl X-SVN-Commit-Revision: 476250 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2018 21:38:38 -0000 Author: danilo Date: Thu Aug 2 21:38:36 2018 New Revision: 476250 URL: https://svnweb.freebsd.org/changeset/ports/476250 Log: - New port sysutils/kubectl Use the Kubernetes command-line tool, kubectl, to deploy and manage applications on Kubernetes. Using kubectl, you can inspect cluster resources; create, delete, and update components; and look at your new cluster and bring up example apps. Added: head/sysutils/kubectl/ head/sysutils/kubectl/Makefile (contents, props changed) head/sysutils/kubectl/distinfo (contents, props changed) head/sysutils/kubectl/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Thu Aug 2 21:17:16 2018 (r476249) +++ head/sysutils/Makefile Thu Aug 2 21:38:36 2018 (r476250) @@ -579,6 +579,7 @@ SUBDIR += ksysguardd-kde4 SUBDIR += ksystemlog SUBDIR += ksystemlog-kde4 + SUBDIR += kubectl SUBDIR += kuser-kde4 SUBDIR += lava SUBDIR += lbl-cf Added: head/sysutils/kubectl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/kubectl/Makefile Thu Aug 2 21:38:36 2018 (r476250) @@ -0,0 +1,40 @@ +# Created by: Danilo Egea Gondolfo +# $FreeBSD$ + +PORTNAME= kubectl +PORTVERSION= 1.11.1 +DISTVERSIONPREFIX= v +CATEGORIES= sysutils + +MAINTAINER= danilo@FreeBSD.org +COMMENT= Kubernetes command-line tool + +LICENSE= APACHE20 + +USES= go + +USE_GITHUB= yes +GH_ACCOUNT= kubernetes +GH_PROJECT= kubernetes + +PLIST_FILES= bin/${PORTNAME} + +post-patch: + ${LN} -s ${WRKSRC}/vendor ${WRKSRC}/src + ${MKDIR} ${WRKSRC}/src/k8s.io/kubernetes + ${LN} -s ${WRKSRC}/pkg ${WRKSRC}/src/k8s.io/kubernetes/pkg + +do-build: + cd ${WRKSRC}/cmd/${PORTNAME} && \ + GOPATH=${WRKSRC} go build \ + -ldflags="-X k8s.io/kubernetes/pkg/version.gitMajor=${PORTVERSION:R:R} \ + -X k8s.io/kubernetes/pkg/version.gitMinor=${PORTVERSION:R:E} \ + -X k8s.io/kubernetes/pkg/version.buildDate=$$(date +'%Y-%m-%dT%H:%M:%SZ') \ + -X k8s.io/kubernetes/pkg/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION}" + +do-install: + ${INSTALL_PROGRAM} \ + ${WRKSRC}/cmd/${PORTNAME}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include Added: head/sysutils/kubectl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/kubectl/distinfo Thu Aug 2 21:38:36 2018 (r476250) @@ -0,0 +1,3 @@ +TIMESTAMP = 1533233064 +SHA256 (kubernetes-kubernetes-v1.11.1_GH0.tar.gz) = 073b77321812f26df6513c0ad0aef3a8b0c17f6281a186d515f5855ae009ea17 +SIZE (kubernetes-kubernetes-v1.11.1_GH0.tar.gz) = 24774820 Added: head/sysutils/kubectl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/kubectl/pkg-descr Thu Aug 2 21:38:36 2018 (r476250) @@ -0,0 +1,6 @@ +Use the Kubernetes command-line tool, kubectl, to deploy and manage +applications on Kubernetes. Using kubectl, you can inspect cluster +resources; create, delete, and update components; and look at your +new cluster and bring up example apps. + +WWW: https://github.com/kubernetes/kubectl