aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2024-06-20 03:42:52 +0000
committerRomain Tartière <romain@FreeBSD.org>2024-06-20 04:27:43 +0000
commit6b98d694934fe409cde1527efe0f6da6928f106e (patch)
tree4e310dd3b6525156642e68f0e8f765fc671099ff
parentca2e88c896956ee1ec7b45ff1f0bdb8972a5d3c0 (diff)
downloadports-6b98d694934fe409cde1527efe0f6da6928f106e.tar.gz
ports-6b98d694934fe409cde1527efe0f6da6928f106e.zip
sysutils/puppet8: Allow latest fast_gettext
While here, revert unexpected removal of a fix of the location of the main configuration file. Pointy hat to: me With hat: puppet
-rw-r--r--sysutils/puppet8/Makefile4
-rw-r--r--sysutils/puppet8/files/patch-puppet.gemspec11
2 files changed, 14 insertions, 1 deletions
diff --git a/sysutils/puppet8/Makefile b/sysutils/puppet8/Makefile
index ce96cd519e0e..8a334133b376 100644
--- a/sysutils/puppet8/Makefile
+++ b/sysutils/puppet8/Makefile
@@ -1,5 +1,6 @@
PORTNAME= puppet
PORTVERSION= 8.7.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://forge.puppet.com/v3/files/:forge
PKGNAMESUFFIX= 8
@@ -61,7 +62,8 @@ DISTFILES+= puppetlabs-${module:C/=.*//}-${module:C/.*=//}.tar.gz:forge
post-patch:
@${REINPLACE_CMD} -e "s|/etc/puppetlabs/puppet|${ETCDIR}|" \
${WRKSRC}/install.rb \
- ${WRKSRC}/lib/puppet/reference/configuration.rb
+ ${WRKSRC}/lib/puppet/reference/configuration.rb \
+ ${WRKSRC}/lib/puppet/util/run_mode.rb
@${REINPLACE_CMD} -e "s|/etc/puppetlabs/code|${ETCDIR}|" \
${WRKSRC}/install.rb \
${WRKSRC}/lib/puppet/reference/configuration.rb \
diff --git a/sysutils/puppet8/files/patch-puppet.gemspec b/sysutils/puppet8/files/patch-puppet.gemspec
new file mode 100644
index 000000000000..93cd9cc75104
--- /dev/null
+++ b/sysutils/puppet8/files/patch-puppet.gemspec
@@ -0,0 +1,11 @@
+--- puppet.gemspec.orig 2024-06-17 03:50:53 UTC
++++ puppet.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
+ spec.specification_version = 4
+ spec.add_runtime_dependency(%q<facter>, [">= 4.3.0", "< 5"])
+ spec.add_runtime_dependency(%q<semantic_puppet>, "~> 1.0")
+- spec.add_runtime_dependency(%q<fast_gettext>, ">= 2.1", "< 3")
++ spec.add_runtime_dependency(%q<fast_gettext>, ">= 2.1", "< 4")
+ spec.add_runtime_dependency(%q<locale>, "~> 2.1")
+ spec.add_runtime_dependency(%q<multi_json>, "~> 1.13")
+ spec.add_runtime_dependency(%q<puppet-resource_api>, "~> 1.5")