From owner-svn-ports-head@freebsd.org Thu Jul 30 09:47:48 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5F28D37EC8A; Thu, 30 Jul 2020 09:47:48 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BHQZD1r7hz43RK; Thu, 30 Jul 2020 09:47:48 +0000 (UTC) (envelope-from sunpoet@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 22D2BF0EE; Thu, 30 Jul 2020 09:47:48 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06U9lmkN072541; Thu, 30 Jul 2020 09:47:48 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06U9llhe072537; Thu, 30 Jul 2020 09:47:47 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202007300947.06U9llhe072537@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 30 Jul 2020 09:47:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543733 - in head/net: . rubygem-train rubygem-train/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/net: . rubygem-train rubygem-train/files X-SVN-Commit-Revision: 543733 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.33 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, 30 Jul 2020 09:47:48 -0000 Author: sunpoet Date: Thu Jul 30 09:47:46 2020 New Revision: 543733 URL: https://svnweb.freebsd.org/changeset/ports/543733 Log: Add rubygem-train 3.3.6 Train lets you talk to your local or remote operating systems and APIs with a unified interface. It allows you to: - execute commands via run_command - interact with files via file - identify the target operating system via os - authenticate to API-based services and treat them like a platform Train supports: - Local execution - SSH - WinRM - Docker - Mock (for testing and debugging) - AWS as an API - Azure as an API - VMware via PowerCLI - Habitat WWW: https://github.com/inspec/train Added: head/net/rubygem-train/ head/net/rubygem-train/Makefile (contents, props changed) head/net/rubygem-train/distinfo (contents, props changed) head/net/rubygem-train/files/ head/net/rubygem-train/files/patch-train.gemspec (contents, props changed) head/net/rubygem-train/pkg-descr (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Thu Jul 30 09:47:36 2020 (r543732) +++ head/net/Makefile Thu Jul 30 09:47:46 2020 (r543733) @@ -1335,6 +1335,7 @@ SUBDIR += rubygem-stackdriver-core SUBDIR += rubygem-stompserver SUBDIR += rubygem-t + SUBDIR += rubygem-train SUBDIR += rubygem-tweetstream SUBDIR += rubygem-twitter SUBDIR += rubygem-twitter-stream Added: head/net/rubygem-train/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/rubygem-train/Makefile Thu Jul 30 09:47:46 2020 (r543733) @@ -0,0 +1,33 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= train +PORTVERSION= 3.3.6 +CATEGORIES= net rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Transport interface to talk to different backends + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-activesupport52>=5.2.4.3<6.0.0:devel/rubygem-activesupport52 \ + rubygem-azure_graph_rbac>=0.16<1:devel/rubygem-azure_graph_rbac \ + rubygem-azure_mgmt_key_vault>=0.17<1:devel/rubygem-azure_mgmt_key_vault \ + rubygem-azure_mgmt_resources>=0.15<1:devel/rubygem-azure_mgmt_resources \ + rubygem-azure_mgmt_security>=0.18<1:devel/rubygem-azure_mgmt_security \ + rubygem-azure_mgmt_storage>=0.18<1:devel/rubygem-azure_mgmt_storage \ + rubygem-docker-api>=1.26<2:net/rubygem-docker-api \ + rubygem-google-api-client>=0.23.9:devel/rubygem-google-api-client \ + rubygem-googleauth>=0.6.6:security/rubygem-googleauth \ + rubygem-inifile>=3.0<4:textproc/rubygem-inifile \ + rubygem-train-core>=${PORTVERSION}:net/rubygem-train-core \ + rubygem-train-winrm>=0.2<1:net/rubygem-train-winrm + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include Added: head/net/rubygem-train/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/rubygem-train/distinfo Thu Jul 30 09:47:46 2020 (r543733) @@ -0,0 +1,3 @@ +TIMESTAMP = 1595865777 +SHA256 (rubygem/train-3.3.6.gem) = 567954ee3a58620488fab62f97b2fc44059dda7df3edcdbe1415b7daeb7588c4 +SIZE (rubygem/train-3.3.6.gem) = 14848 Added: head/net/rubygem-train/files/patch-train.gemspec ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/rubygem-train/files/patch-train.gemspec Thu Jul 30 09:47:46 2020 (r543733) @@ -0,0 +1,13 @@ +--- train.gemspec.orig 2020-07-24 06:34:34 UTC ++++ train.gemspec +@@ -32,8 +32,8 @@ Gem::Specification.new do |s| + s.add_runtime_dependency(%q.freeze, ["~> 0.18"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.18"]) + s.add_runtime_dependency(%q.freeze, ["~> 1.26"]) +- s.add_runtime_dependency(%q.freeze, [">= 0.23.9", "< 0.35.0"]) +- s.add_runtime_dependency(%q.freeze, [">= 0.6.6", "< 0.11.0"]) ++ s.add_runtime_dependency(%q.freeze, [">= 0.23.9"]) ++ s.add_runtime_dependency(%q.freeze, [">= 0.6.6"]) + else + s.add_dependency(%q.freeze, ["= 3.3.6"]) + s.add_dependency(%q.freeze, ["~> 0.2"]) Added: head/net/rubygem-train/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/rubygem-train/pkg-descr Thu Jul 30 09:47:46 2020 (r543733) @@ -0,0 +1,21 @@ +Train lets you talk to your local or remote operating systems and APIs with a +unified interface. + +It allows you to: +- execute commands via run_command +- interact with files via file +- identify the target operating system via os +- authenticate to API-based services and treat them like a platform + +Train supports: +- Local execution +- SSH +- WinRM +- Docker +- Mock (for testing and debugging) +- AWS as an API +- Azure as an API +- VMware via PowerCLI +- Habitat + +WWW: https://github.com/inspec/train