BSD Ports

net/rubygem-train 3.15.1 MidnightBSD

Transport interface to talk to different backends

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
f1daaac83d
License
Apache-2.0
Categories
net, rubygems

Description

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

In the other systems

SystemPortVersion
MidnightBSDnet/rubygem-train3.15.1
FreeBSDnet/rubygem-train3.16.5
DragonFlynet/rubygem-train3.12.7

Install

Binary package:

mport install train

From mports:

cd /usr/mports/net/rubygem-train && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	train>0:net/rubygem-train

Dependencies

As this port's Makefile names them.

Build 19

Runtime 19

Build dependencies 19
Run dependencies 19

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/train-3.15.1.gem1689650b840f7e2ed98d895f5a4be0c110e0241022f7e6c61240aec47ceb0e76ebbf5
Master sites 1
  • RG

Commit history 1

DateCommitCreditsLog message
f1daaac83d Lucas Holt net/rubygem-train: fix the dependency version upper bound
mport.query does not match a package when the lower bound of a range equals the upper bound's base version and the upper bound carries a _N suffix: "version>=1.1.1<1.1.1_99" reports not found for an installed 1.1.1, while "version>=1.1.1<1.1.1.99" matches, including packages carrying a PORTREVISION. Spell the bound with .99 so the dependency resolves. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>