aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2026-01-28 08:53:53 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2026-02-01 06:37:35 +0000
commit5c329f9913bfbd06edd51d05ab720a4973461417 (patch)
treec97596db9259017d8695676c35f00974c480e20d /sysutils
parent1b42243fe6778df0ca6cc3036033a92505eb105e (diff)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/rubygem-ohai18/Makefile33
-rw-r--r--sysutils/rubygem-ohai18/distinfo3
-rw-r--r--sysutils/rubygem-ohai18/pkg-descr5
4 files changed, 42 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 0f486a971d27..193cce6f73db 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1233,6 +1233,7 @@
SUBDIR += rubygem-mothra
SUBDIR += rubygem-murder
SUBDIR += rubygem-ohai
+ SUBDIR += rubygem-ohai18
SUBDIR += rubygem-openbolt
SUBDIR += rubygem-openfact
SUBDIR += rubygem-openvoxserver-ca
diff --git a/sysutils/rubygem-ohai18/Makefile b/sysutils/rubygem-ohai18/Makefile
new file mode 100644
index 000000000000..ec3ebffa7157
--- /dev/null
+++ b/sysutils/rubygem-ohai18/Makefile
@@ -0,0 +1,33 @@
+PORTNAME= ohai
+PORTVERSION= 18.2.8
+CATEGORIES= sysutils rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 18
+
+MAINTAINER= ruby@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-config>=14.12<19:sysutils/rubygem-chef-config \
+ rubygem-chef-utils>=16.0<19:sysutils/rubygem-chef-utils \
+ rubygem-ffi16>=1.9<1.17:devel/rubygem-ffi16 \
+ 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
+
+PLIST_FILES= bin/ohai
+
+.include <bsd.port.mk>
diff --git a/sysutils/rubygem-ohai18/distinfo b/sysutils/rubygem-ohai18/distinfo
new file mode 100644
index 000000000000..53af65846cef
--- /dev/null
+++ b/sysutils/rubygem-ohai18/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1769582446
+SHA256 (rubygem/ohai-18.2.8.gem) = d9af88b7585b4f6e08396884c859f79acec80046d280278c600acd4234b89b86
+SIZE (rubygem/ohai-18.2.8.gem) = 134144
diff --git a/sysutils/rubygem-ohai18/pkg-descr b/sysutils/rubygem-ohai18/pkg-descr
new file mode 100644
index 000000000000..8b73029ad523
--- /dev/null
+++ b/sysutils/rubygem-ohai18/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.