Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2020 20:54:58 +0000 (UTC)
From:      Dmitri Goutnik <dmgk@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531557 - in head/net: . k6
Message-ID:  <202004122054.03CKswdM054801@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dmgk
Date: Sun Apr 12 20:54:57 2020
New Revision: 531557
URL: https://svnweb.freebsd.org/changeset/ports/531557

Log:
  New port: net/k6
  
  Modern load testing tool for developers and testers in the
  DevOps era, building on Load Impact's years of experience
  in the load and performance testing industry. It provides
  a clean, approachable scripting API, local and cloud
  execution, and flexible configuration.
  
  WWW: https://k6.io/
  
  PR:		245082
  Submitted by:	Lewis Cook <vulcan@wired.sh>

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

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sun Apr 12 20:47:19 2020	(r531556)
+++ head/net/Makefile	Sun Apr 12 20:54:57 2020	(r531557)
@@ -298,6 +298,7 @@
     SUBDIR += jsch
     SUBDIR += jumpgate
     SUBDIR += jwhois
+    SUBDIR += k6
     SUBDIR += kafka
     SUBDIR += kafkacat
     SUBDIR += kalarmcal

Added: head/net/k6/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/k6/Makefile	Sun Apr 12 20:54:57 2020	(r531557)
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME=	k6
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.26.2
+CATEGORIES=	net
+
+MAINTAINER=	vulcan@wired.sh
+COMMENT=	Modern load testing tool, using Go and Javascript
+
+LICENSE=	AGPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+USES=		go
+USE_GITHUB=	yes
+GH_ACCOUNT=	loadimpact
+
+_BUILD_DATE=	$$(date -u +"%FT%T%z")
+_BUILD_HASH=	459da79
+
+GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
+GO_BUILDFLAGS=	-ldflags "\
+		-s -w \
+		-X ${GO_PKGNAME}/lib/consts.VersionDetails=${_BUILD_DATE}/${_BUILD_HASH}"
+
+PLIST_FILES=	bin/${PORTNAME}
+PORTDOCS=	${DOCS:T}
+
+OPTIONS_DEFINE=	DOCS
+
+DOCS=		release\ notes/\${DISTVERSIONFULL}.md CODE_OF_CONDUCT.md \
+		CONTRIBUTING.md README.md SUPPORT.md
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/net/k6/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/k6/distinfo	Sun Apr 12 20:54:57 2020	(r531557)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1585246692
+SHA256 (loadimpact-k6-v0.26.2_GH0.tar.gz) = 28941215c295155538fc8d920167bfcda343cc1dd767c28f0df284cf93da37bb
+SIZE (loadimpact-k6-v0.26.2_GH0.tar.gz) = 5467130

Added: head/net/k6/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/k6/pkg-descr	Sun Apr 12 20:54:57 2020	(r531557)
@@ -0,0 +1,7 @@
+Modern load testing tool for developers and testers in the
+DevOps era, building on Load Impact's years of experience
+in the load and performance testing industry. It provides
+a clean, approachable scripting API, local and cloud
+execution, and flexible configuration.
+
+WWW: https://k6.io/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004122054.03CKswdM054801>