Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
new ruby dependencies for OpenVox (newer Puppet fork)
To:
ports <ports@openbsd.org>
Cc:
Sebastian Reitenbach <sebastia@openbsd.org>
Date:
Fri, 29 Aug 2025 23:51:09 +0000

Download raw body.

Thread
So sysutils/ruby-puppet/ is dead upstream as they closed the sources.

Now there's https://voxpupuli.org/openvox/ that continues the several
subprojects.

I'd like to import new dependencies and keep working on the update.

Feedback or OK for those ports?

	benchmarks/ruby-benchmark
	converters/ruby-base64
	devel/ruby-concurrent-ruby
	devel/ruby-ostruct
	devel/ruby-thor
	sysutils/ruby-openfact
	textproc/ruby-hocon
	textproc/ruby-logger

The minimal diff below updates our puppet port to the fork to show
how deps are used and let others play with it.

Besides some new facter warnings, my catalouge applies without
changes or errors on my nodes.

Eventually, a new sysutils/ruby-openvox would be more appropiate,
I guess.

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/ruby-puppet/8/Makefile,v
diff -u -p -r1.7 Makefile
--- Makefile	29 Aug 2025 09:29:52 -0000	1.7
+++ Makefile	29 Aug 2025 22:48:45 -0000
@@ -1,18 +1,21 @@
-PORTROACH=		limit:^8
+PORTROACH=		limit:^${VERSION:R:R}
 
-VERSION=		8.10.0
-REVISION=		1
+HOMEPAGE=		https://voxpopuli.org/openvox/
+VERSION=		8.22.0
+DISTNAME=		openvox-${VERSION}
 
-RUN_DEPENDS+=		converters/ruby-multi_json,${MODRUBY_FLAVOR}>=1.13,<2 \
+RUN_DEPENDS+=		benchmarks/ruby-benchmark,${MODRUBY_FLAVOR}>=0.3,<0.5 \
+			converters/ruby-base64,${MODRUBY_FLAVOR}>=0.1,<0.4 \
+			converters/ruby-multi_json,${MODRUBY_FLAVOR}>=1.13,<2 \
 			devel/ruby-concurrent-ruby,${MODRUBY_FLAVOR}>=1,<2 \
 			devel/ruby-deep_merge,${MODRUBY_FLAVOR}>=1,<2 \
 			devel/ruby-fast_gettext,${MODRUBY_FLAVOR}>=2.1,<4 \
 			devel/ruby-locale,${MODRUBY_FLAVOR}>=2.1,<3 \
+			devel/ruby-ostruct,${MODRUBY_FLAVOR}>=0.6.0 \
 			devel/ruby-puppet-resource_api,${MODRUBY_FLAVOR}>=1.5,<2 \
 			devel/ruby-scanf,${MODRUBY_FLAVOR}>=1,<2 \
 			devel/ruby-semantic_puppet,${MODRUBY_FLAVOR}>=1,<2 \
-			net/ruby-msgpack,${MODRUBY_FLAVOR} \
-			sysutils/ruby-facter,${MODRUBY_FLAVOR}>=4.3.0,<5
+			sysutils/ruby-openfact,${MODRUBY_FLAVOR}>=5.0
 
 pre-configure:
 	${SUBST_CMD} ${WRKSRC}/lib/puppet/provider/package/gem.rb \
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/ruby-puppet/8/distinfo,v
diff -u -p -r1.4 distinfo
--- distinfo	21 Jan 2025 10:40:03 -0000	1.4
+++ distinfo	29 Aug 2025 21:36:17 -0000
@@ -1,2 +1,2 @@
-SHA256 (puppet-8.10.0.gem) = 8vXej1p5TsSaww9CgGyf+1zULJkIqzAU+djqaKIcKjo=
-SIZE (puppet-8.10.0.gem) = 1533952
+SHA256 (openvox-8.22.0.gem) = 2UPalbziPWSWPAsfmRVZdt8O72K3D4FCrVyXOP86jPc=
+SIZE (openvox-8.22.0.gem) = 1533440
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/ruby-puppet/8/pkg/PLIST,v
diff -u -p -r1.4 PLIST
--- pkg/PLIST	21 Jan 2025 10:40:03 -0000	1.4
+++ pkg/PLIST	29 Aug 2025 21:49:47 -0000
@@ -7,10 +7,9 @@
 ${GEM_BIN}/puppet
 ${GEM_LIB}/cache/${DISTNAME}.gem
 ${GEM_LIB}/gems/${DISTNAME}/
-${GEM_LIB}/gems/${DISTNAME}/CODEOWNERS
+${GEM_LIB}/gems/${DISTNAME}/CHANGELOG.md
 ${GEM_LIB}/gems/${DISTNAME}/CODE_OF_CONDUCT.md
 ${GEM_LIB}/gems/${DISTNAME}/Gemfile
-${GEM_LIB}/gems/${DISTNAME}/Gemfile.lock
 ${GEM_LIB}/gems/${DISTNAME}/Guardfile.example
 ${GEM_LIB}/gems/${DISTNAME}/LICENSE
 ${GEM_LIB}/gems/${DISTNAME}/README.md
@@ -515,7 +514,6 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/puppet/m
 ${GEM_LIB}/gems/${DISTNAME}/lib/puppet/module_tool/applications/unpacker.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/puppet/module_tool/applications/upgrader.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/puppet/module_tool/checksums.rb
-${GEM_LIB}/gems/${DISTNAME}/lib/puppet/module_tool/contents_description.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/puppet/module_tool/dependency.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/puppet/module_tool/errors/
 ${GEM_LIB}/gems/${DISTNAME}/lib/puppet/module_tool/errors.rb
@@ -1278,6 +1276,8 @@ ${GEM_LIB}/gems/${DISTNAME}/man/man8/
 @man ${GEM_LIB}/gems/${DISTNAME}/man/man8/puppet-script.8
 @man ${GEM_LIB}/gems/${DISTNAME}/man/man8/puppet-ssl.8
 @man ${GEM_LIB}/gems/${DISTNAME}/man/man8/puppet.8
+${GEM_LIB}/gems/${DISTNAME}/tasks/
+${GEM_LIB}/gems/${DISTNAME}/tasks/vox.rake
 ${GEM_LIB}/specifications/${DISTNAME}.gemspec
 @sample ${LOCALSTATEDIR}/puppetlabs/puppet/
 share/doc/pkg-readmes/${PKGSTEM}