svn commit: r460141 - in head/net: . bosh-bootloader bosh-cli

Jean-Sébastien Pédron dumbbell at FreeBSD.org
Sat Jan 27 19:02:03 UTC 2018


Author: dumbbell
Date: Sat Jan 27 19:02:01 2018
New Revision: 460141
URL: https://svnweb.freebsd.org/changeset/ports/460141

Log:
  net/bosh-{bootloader,cli}: New ports for the BOSH CLI v2
  
  The new BOSH CLI is comprised of two executables: `bbl` and `bosh`. They
  replace the previous version of the CLI (sysutils/rubygem-bosh_cli).
  
  Sponsored by:	Pivotal

Added:
  head/net/bosh-bootloader/
  head/net/bosh-bootloader/Makefile   (contents, props changed)
  head/net/bosh-bootloader/distinfo   (contents, props changed)
  head/net/bosh-bootloader/pkg-descr   (contents, props changed)
  head/net/bosh-cli/
  head/net/bosh-cli/Makefile   (contents, props changed)
  head/net/bosh-cli/distinfo   (contents, props changed)
  head/net/bosh-cli/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sat Jan 27 18:42:55 2018	(r460140)
+++ head/net/Makefile	Sat Jan 27 19:02:01 2018	(r460141)
@@ -55,6 +55,8 @@
     SUBDIR += boclient
     SUBDIR += boinc-client
     SUBDIR += boinc_curses
+    SUBDIR += bosh-bootloader
+    SUBDIR += bosh-cli
     SUBDIR += bounce
     SUBDIR += bsdec2-image-upload
     SUBDIR += bsdproxy

Added: head/net/bosh-bootloader/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/bosh-bootloader/Makefile	Sat Jan 27 19:02:01 2018	(r460141)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	bosh-bootloader
+PORTVERSION=	6.0.0
+CATEGORIES=	net sysutils
+
+MAINTAINER=	dumbbell at FreeBSD.org
+COMMENT=	CLI for standing up CloudFoundry or Concourse on an IAAS
+
+LICENSE=	APACHE20
+
+USE_GITHUB=	yes
+GH_TUPLE=	cloudfoundry:bosh-bootloader:v${PORTVERSION}
+
+USES=		go tar:xz
+
+GO_PKGNAME=	github.com/cloudfoundry/bosh-bootloader
+GO_TARGET=	github.com/cloudfoundry/bosh-bootloader/bbl
+
+PLIST_FILES=	bin/bbl
+
+post-patch:
+	${REINPLACE_CMD} -E -e 's|(Version = )"dev"|\1"${PORTVERSION}"|' ${WRKSRC}/bbl/main.go
+
+.include <bsd.port.mk>

Added: head/net/bosh-bootloader/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/bosh-bootloader/distinfo	Sat Jan 27 19:02:01 2018	(r460141)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1517077398
+SHA256 (cloudfoundry-bosh-bootloader-6.0.0-v6.0.0_GH0.tar.gz) = 6390b292a60278c5fbeb60582405afd146c7eefc8a5e0a05215b9325a6e15e95
+SIZE (cloudfoundry-bosh-bootloader-6.0.0-v6.0.0_GH0.tar.gz) = 4113792

Added: head/net/bosh-bootloader/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/bosh-bootloader/pkg-descr	Sat Jan 27 19:02:01 2018	(r460141)
@@ -0,0 +1,6 @@
+This is a command line utility for standing up a CloudFoundry or
+Concourse installation on an IAAS. This CLI is currently under heavy
+development, and the initial goal is to support bootstrapping a
+CloudFoundry installation on AWS.
+
+WWW: https://github.com/cloudfoundry/bosh-bootloader

Added: head/net/bosh-cli/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/bosh-cli/Makefile	Sat Jan 27 19:02:01 2018	(r460141)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME=	bosh-cli
+PORTVERSION=	2.0.48
+CATEGORIES=	net sysutils
+
+MAINTAINER=	dumbbell at FreeBSD.org
+COMMENT=	CLI for BOSH
+
+LICENSE=	APACHE20
+
+USE_GITHUB=	yes
+GH_TUPLE=	cloudfoundry:bosh-cli:v${PORTVERSION}
+
+CONFLICTS_INSTALL=	rubygem-bosh_cli
+
+USES=		go tar:xz
+
+GO_PKGNAME=	github.com/cloudfoundry/bosh-cli
+
+PLIST_FILES=	bin/bosh
+
+post-patch:
+	${REINPLACE_CMD} -e 's|\[DEV BUILD\]|${PORTVERSION}|' ${WRKSRC}/cmd/version.go
+
+post-install:
+	${MV} ${STAGEDIR}${PREFIX}/bin/bosh-cli ${STAGEDIR}${PREFIX}/bin/bosh
+
+.include <bsd.port.mk>

Added: head/net/bosh-cli/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/bosh-cli/distinfo	Sat Jan 27 19:02:01 2018	(r460141)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1517077409
+SHA256 (cloudfoundry-bosh-cli-2.0.48-v2.0.48_GH0.tar.gz) = 846840d078d539e8642335511c4ceba941a710e0e65a8c1cc592155ae88d787d
+SIZE (cloudfoundry-bosh-cli-2.0.48-v2.0.48_GH0.tar.gz) = 4182093

Added: head/net/bosh-cli/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/bosh-cli/pkg-descr	Sat Jan 27 19:02:01 2018	(r460141)
@@ -0,0 +1,4 @@
+The BOSH Command Line Interface (CLI) is what you use to run BOSH
+commands. CLI v2 is a new major version of CLI.
+
+WWW: https://bosh.io/docs/cli-v2.html


More information about the svn-ports-all mailing list