diff --git a/databases/puppetdb-terminus8/Makefile b/databases/puppetdb-terminus8/Makefile index 94ac444c7428..91ac32a5bfc3 100644 --- a/databases/puppetdb-terminus8/Makefile +++ b/databases/puppetdb-terminus8/Makefile @@ -1,24 +1,24 @@ PORTNAME= puppetdb-terminus -PORTVERSION= 8.7.0 +PORTVERSION= 8.8.1 CATEGORIES= databases ruby MASTER_SITES= https://downloads.puppetlabs.com/puppetdb/ PKGNAMESUFFIX= 8 DISTNAME= puppetdb-${PORTVERSION} MAINTAINER= puppet@FreeBSD.org COMMENT= PuppetDB storeconfigs backend terminus module WWW= https://docs.puppetlabs.com/puppetdb/latest/ LICENSE= APACHE20 CONFLICTS_INSTALL= puppetdb-terminus[0-9] NO_BUILD= yes USES= gmake ruby post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/Makefile do-install: @cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${GMAKE} install-puppetdb-termini .include diff --git a/databases/puppetdb-terminus8/distinfo b/databases/puppetdb-terminus8/distinfo index 90adc82a94b2..11aae0361952 100644 --- a/databases/puppetdb-terminus8/distinfo +++ b/databases/puppetdb-terminus8/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1722084321 -SHA256 (puppetdb-8.7.0.tar.gz) = 9fe2cb3fe270105145cd09a431b33b263155d2c813ee8064bf43b639bd9ff93b -SIZE (puppetdb-8.7.0.tar.gz) = 61636500 +TIMESTAMP = 1730781532 +SHA256 (puppetdb-8.8.1.tar.gz) = 3ab636d759dfb8d8f0b9eeb06ce8677892961e9c0ac00d5838351db0bde7af9c +SIZE (puppetdb-8.8.1.tar.gz) = 61668542 diff --git a/databases/puppetdb-terminus8/files/patch-Makefile b/databases/puppetdb-terminus8/files/patch-Makefile index 2312dab85eb7..2e17c85b6023 100644 --- a/databases/puppetdb-terminus8/files/patch-Makefile +++ b/databases/puppetdb-terminus8/files/patch-Makefile @@ -1,61 +1,61 @@ ---- Makefile.orig 2024-07-19 17:11:35 UTC +--- Makefile.orig 2024-10-29 18:07:10 UTC +++ Makefile @@ -1,7 +1,7 @@ confdir = /etc prefix = /usr/local datadir = $(prefix)/share confdir = /etc -rubylibdir = $(shell ruby -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']") +rubylibdir = $(shell %%PREFIX%%/bin/ruby -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']") rundir = /var/run bindir = /usr/bin @@ -36,22 +36,33 @@ install-puppetdb-termini: install-puppetdb-termini: -- install -Dm 0644 puppet/util/puppetdb/command.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/command.rb" +- install -Dm 0644 puppet/util/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb.rb" - install -Dm 0644 puppet/util/puppetdb/command_names.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/command_names.rb" -- install -Dm 0644 puppet/util/puppetdb/http.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/http.rb" +- install -Dm 0644 puppet/util/puppetdb/config.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/config.rb" - install -Dm 0644 puppet/util/puppetdb/atom.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/atom.rb" +- install -Dm 0644 puppet/util/puppetdb/http.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/http.rb" - install -Dm 0644 puppet/util/puppetdb/char_encoding.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/char_encoding.rb" -- install -Dm 0644 puppet/util/puppetdb/config.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/config.rb" -- install -Dm 0644 puppet/util/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb.rb" -- install -Dm 0644 puppet/functions/puppetdb_query.rb "$(DESTDIR)$(rubylibdir)/puppet/functions/puppetdb_query.rb" +- install -Dm 0644 puppet/util/puppetdb/command.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/command.rb" - install -Dm 0644 puppet/face/node/status.rb "$(DESTDIR)$(rubylibdir)/puppet/face/node/status.rb" - install -Dm 0644 puppet/face/node/deactivate.rb "$(DESTDIR)$(rubylibdir)/puppet/face/node/deactivate.rb" +- install -Dm 0644 puppet/functions/puppetdb_query.rb "$(DESTDIR)$(rubylibdir)/puppet/functions/puppetdb_query.rb" - install -Dm 0644 puppet/reports/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/reports/puppetdb.rb" -- install -Dm 0644 puppet/indirector/node/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/node/puppetdb.rb" -- install -Dm 0644 puppet/indirector/resource/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/resource/puppetdb.rb" - install -Dm 0644 puppet/indirector/catalog/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/catalog/puppetdb.rb" -- install -Dm 0644 puppet/indirector/facts/puppetdb_apply.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts/puppetdb_apply.rb" - install -Dm 0644 puppet/indirector/facts/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts/puppetdb.rb" +- install -Dm 0644 puppet/indirector/facts/puppetdb_apply.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts/puppetdb_apply.rb" +- install -Dm 0644 puppet/indirector/resource/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/resource/puppetdb.rb" +- install -Dm 0644 puppet/indirector/node/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/node/puppetdb.rb" + install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/face" + install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/face/node" + install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/functions" + install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/indirector" + install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/indirector/catalog" + install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts" + install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/indirector/node" + install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/indirector/resource" + install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/reports" + install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/util" + install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb" -+ install -m 0644 puppet/util/puppetdb/command.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/command.rb" ++ install -m 0644 puppet/util/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb.rb" + install -m 0644 puppet/util/puppetdb/command_names.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/command_names.rb" -+ install -m 0644 puppet/util/puppetdb/http.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/http.rb" ++ install -m 0644 puppet/util/puppetdb/config.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/config.rb" + install -m 0644 puppet/util/puppetdb/atom.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/atom.rb" ++ install -m 0644 puppet/util/puppetdb/http.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/http.rb" + install -m 0644 puppet/util/puppetdb/char_encoding.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/char_encoding.rb" -+ install -m 0644 puppet/util/puppetdb/config.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/config.rb" -+ install -m 0644 puppet/util/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb.rb" -+ install -m 0644 puppet/functions/puppetdb_query.rb "$(DESTDIR)$(rubylibdir)/puppet/functions/puppetdb_query.rb" ++ install -m 0644 puppet/util/puppetdb/command.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/command.rb" + install -m 0644 puppet/face/node/status.rb "$(DESTDIR)$(rubylibdir)/puppet/face/node/status.rb" + install -m 0644 puppet/face/node/deactivate.rb "$(DESTDIR)$(rubylibdir)/puppet/face/node/deactivate.rb" ++ install -m 0644 puppet/functions/puppetdb_query.rb "$(DESTDIR)$(rubylibdir)/puppet/functions/puppetdb_query.rb" + install -m 0644 puppet/reports/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/reports/puppetdb.rb" -+ install -m 0644 puppet/indirector/node/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/node/puppetdb.rb" -+ install -m 0644 puppet/indirector/resource/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/resource/puppetdb.rb" + install -m 0644 puppet/indirector/catalog/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/catalog/puppetdb.rb" -+ install -m 0644 puppet/indirector/facts/puppetdb_apply.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts/puppetdb_apply.rb" + install -m 0644 puppet/indirector/facts/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts/puppetdb.rb" ++ install -m 0644 puppet/indirector/facts/puppetdb_apply.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts/puppetdb_apply.rb" ++ install -m 0644 puppet/indirector/resource/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/resource/puppetdb.rb" ++ install -m 0644 puppet/indirector/node/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/node/puppetdb.rb" install-rpm-sysv-init: install-rpm-preinst install -d -m 0755 "$(DESTDIR)$(initdir)" diff --git a/databases/puppetdb8/Makefile b/databases/puppetdb8/Makefile index 0496f383c589..3f3f367bf852 100644 --- a/databases/puppetdb8/Makefile +++ b/databases/puppetdb8/Makefile @@ -1,54 +1,54 @@ PORTNAME= puppetdb -PORTVERSION= 8.7.0 +PORTVERSION= 8.8.1 CATEGORIES= databases java MASTER_SITES= https://downloads.puppetlabs.com/puppetdb/ PKGNAMESUFFIX= 8 MAINTAINER= puppet@FreeBSD.org COMMENT= PuppetDB storeconfigs backend WWW= https://docs.puppetlabs.com/puppetdb/latest/ LICENSE= APACHE20 RUN_DEPENDS= bash:shells/bash USE_RC_SUBR= puppetdb CONFLICTS_INSTALL= puppetdb[0-9] # etc/puppetdb/bootstrap.cfg.sample USES= cpe shebangfix CPE_VENDOR= puppet SHEBANG_FILES= ext/bin/puppetdb \ ext/cli/anonymize \ ext/cli/config-migration \ ext/cli/foreground \ ext/cli/ssl-setup \ ext/cli/start \ ext/cli/stop \ ext/cli/reload \ ext/cli/upgrade \ ext/ezbake-functions.sh USE_JAVA= yes JAVA_VERSION= 11+ NO_ARCH= yes NO_BUILD= yes USERS= puppetdb GROUPS= puppetdb SUB_LIST= JAVA_HOME=${JAVA_HOME} SUB_FILES= pkg-message post-patch: .for file in Makefile ext/bin/puppetdb ext/cli/ssl-setup \ ext/config/conf.d/jetty.ini ext/config/conf.d/config.ini @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/${file} .endfor @${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" ${WRKSRC}/ext/bin/puppetdb @${REINPLACE_CMD} -e 's|/puppetlabs/puppetdb/|/puppetdb/|' \ -e 's|\(install -m 0644 ext/config/.*\)"|\1.sample"|' \ ${WRKSRC}/Makefile do-install: @cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} make install-puppetdb .include diff --git a/databases/puppetdb8/distinfo b/databases/puppetdb8/distinfo index a1dfa1d544f5..f5a76de17720 100644 --- a/databases/puppetdb8/distinfo +++ b/databases/puppetdb8/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1721971854 -SHA256 (puppetdb-8.7.0.tar.gz) = 9fe2cb3fe270105145cd09a431b33b263155d2c813ee8064bf43b639bd9ff93b -SIZE (puppetdb-8.7.0.tar.gz) = 61636500 +TIMESTAMP = 1730781495 +SHA256 (puppetdb-8.8.1.tar.gz) = 3ab636d759dfb8d8f0b9eeb06ce8677892961e9c0ac00d5838351db0bde7af9c +SIZE (puppetdb-8.8.1.tar.gz) = 61668542