Skip to content

Commit

Permalink
sysutils/rubygem-ohai17: Add rubygem-ohai17 17.9.1 (copied from rubyg…
Browse files Browse the repository at this point in the history
…em-ohai)

- Add PORTSCOUT
  • Loading branch information
sunpoet committed May 27, 2023
1 parent 32fb0f8 commit 0d61690
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions sysutils/Makefile
Expand Up @@ -1271,6 +1271,7 @@
SUBDIR += rubygem-murder
SUBDIR += rubygem-ohai
SUBDIR += rubygem-ohai16
SUBDIR += rubygem-ohai17
SUBDIR += rubygem-parallel
SUBDIR += rubygem-puppet_forge
SUBDIR += rubygem-puppetfile-resolver
Expand Down
36 changes: 36 additions & 0 deletions sysutils/rubygem-ohai17/Makefile
@@ -0,0 +1,36 @@
PORTNAME= ohai
PORTVERSION= 17.9.1
CATEGORIES= sysutils rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 17

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Ohai profiles your system and emits JSON
WWW= https://github.com/chef/ohai

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= rubygem-chef-config17>=14.12<18:sysutils/rubygem-chef-config17 \
rubygem-chef-utils17>=16.0<18:sysutils/rubygem-chef-utils17 \
rubygem-ffi>=1.9<2:devel/rubygem-ffi \
rubygem-ffi-yajl>=2.2<3:devel/rubygem-ffi-yajl \
rubygem-ipaddress>=0:net/rubygem-ipaddress \
rubygem-mixlib-cli>=1.7.0:devel/rubygem-mixlib-cli \
rubygem-mixlib-config>=2.0<4.0:devel/rubygem-mixlib-config \
rubygem-mixlib-log>=2.0.1<4.0:devel/rubygem-mixlib-log \
rubygem-mixlib-shellout>=3.2.5<4:devel/rubygem-mixlib-shellout \
rubygem-plist>=3.1<4:devel/rubygem-plist \
rubygem-train-core>=0:net/rubygem-train-core \
rubygem-wmi-lite>=1.0<2:devel/rubygem-wmi-lite

USES= gem

NO_ARCH= yes

PORTSCOUT= limit:^17\.

post-install:
${RM} ${STAGEDIR}${PREFIX}/bin/ohai

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions sysutils/rubygem-ohai17/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1682146272
SHA256 (rubygem/ohai-17.9.1.gem) = a2693ab7ec1573f4952b42481d84537e97fa3ec8d9e188c5f0194dfcedf8c539
SIZE (rubygem/ohai-17.9.1.gem) = 129024
5 changes: 5 additions & 0 deletions sysutils/rubygem-ohai17/pkg-descr
@@ -0,0 +1,5 @@
Ohai detects data about your operating system. It can be used standalone, but
it's primary purpose is to provide node data to Chef.

Ohai will print out a JSON data blob for all the known data about your system.
When used with Chef, that data is reported back via node attributes.

0 comments on commit 0d61690

Please sign in to comment.