aboutsummaryrefslogtreecommitdiff
path: root/sysutils/puppetserver5
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2020-08-31 20:05:24 +0000
committerRomain Tartière <romain@FreeBSD.org>2020-08-31 20:05:24 +0000
commita668adadf5d1a27995ac5bec96dc06363d5d4fef (patch)
tree8a2f0acd14c12a98eb040675f1c28b447ef33930 /sysutils/puppetserver5
parente9d0d0d4be52c74a958679cb7995cd4bfa92b4a7 (diff)
downloadports-a668adadf5d1a27995ac5bec96dc06363d5d4fef.tar.gz
ports-a668adadf5d1a27995ac5bec96dc06363d5d4fef.zip
Update to support Facter 4.x
Now that we ship sysutils/rubygem-facter, minor adjustments are needed on the PuppetServer side. The dependency on facter is managed by sysutils/puppet5, so no need for options here. Bump PORTREVISION. With hat: puppet
Notes
Notes: svn path=/head/; revision=547212
Diffstat (limited to 'sysutils/puppetserver5')
-rw-r--r--sysutils/puppetserver5/Makefile12
-rw-r--r--sysutils/puppetserver5/distinfo2
-rw-r--r--sysutils/puppetserver5/files/patch-ext__config__conf.d__puppetserver.conf9
3 files changed, 7 insertions, 16 deletions
diff --git a/sysutils/puppetserver5/Makefile b/sysutils/puppetserver5/Makefile
index b80c2abdbe33..eb89812eb3b8 100644
--- a/sysutils/puppetserver5/Makefile
+++ b/sysutils/puppetserver5/Makefile
@@ -2,6 +2,7 @@
PORTNAME= puppetserver
PORTVERSION= 5.3.14
+PORTREVISION= 1
CATEGORIES= sysutils java
MASTER_SITES= https://downloads.puppetlabs.com/puppet/
PKGNAMESUFFIX= 5
@@ -36,17 +37,6 @@ GROUPS= puppet
SUB_LIST= JAVA_HOME=${JAVA_HOME}
SUB_FILES= pkg-message
-OPTIONS_DEFAULT= CFACTER
-OPTIONS_RADIO= FACTER
-OPTIONS_RADIO_FACTER= CFACTER RFACTER
-
-RFACTER_DESC= Use facter 2.x (written in Ruby)
-CFACTER_DESC= Use facter 3.x (experimental rewrite in C++)
-
-RFACTER_RUN_DEPENDS= rubygem-facter>=2.0:sysutils/rubygem-facter
-
-CFACTER_RUN_DEPENDS= facter>=3.0:sysutils/facter
-
post-patch:
.for file in ext/config/logback.xml ext/config/request-logging.xml \
ext/config/conf.d/global.conf ext/config/conf.d/puppetserver.conf \
diff --git a/sysutils/puppetserver5/distinfo b/sysutils/puppetserver5/distinfo
index 427d0d723ed1..12076925e226 100644
--- a/sysutils/puppetserver5/distinfo
+++ b/sysutils/puppetserver5/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1594846825
+TIMESTAMP = 1598656625
SHA256 (puppetserver-5.3.14.tar.gz) = 23cebf6fda2233abcf059020bb73c9a9a283a89cfc211e3582cea59813da142c
SIZE (puppetserver-5.3.14.tar.gz) = 53787806
diff --git a/sysutils/puppetserver5/files/patch-ext__config__conf.d__puppetserver.conf b/sysutils/puppetserver5/files/patch-ext__config__conf.d__puppetserver.conf
index 07d8813ae735..a1f1fc0ce540 100644
--- a/sysutils/puppetserver5/files/patch-ext__config__conf.d__puppetserver.conf
+++ b/sysutils/puppetserver5/files/patch-ext__config__conf.d__puppetserver.conf
@@ -1,6 +1,6 @@
---- ext/config/conf.d/puppetserver.conf.orig 2018-08-21 16:07:02 UTC
+--- ext/config/conf.d/puppetserver.conf.orig 2020-07-02 18:59:15 UTC
+++ ext/config/conf.d/puppetserver.conf
-@@ -2,16 +2,20 @@
+@@ -2,16 +2,21 @@
jruby-puppet: {
# Where the puppet-agent dependency places puppet, facter, etc...
# Puppet server expects to load Puppet from this location
@@ -8,7 +8,8 @@
+ ruby-load-path: [
+ %%RUBY_SITELIBDIR%%,
+ %%PREFIX%%/lib/ruby/vendor_ruby,
-+ %%PREFIX%%/lib/ruby/gems/%%RUBY_VER%%/gems/facter-2.5.0/lib,
++ %%PREFIX%%/lib/ruby/gems/%%RUBY_VER%%/gems/facter/lib,
++ %%PREFIX%%/lib/ruby/gems/%%RUBY_VER%%/gems/hocon-1.3.1/lib,
+ ]
# This setting determines where JRuby will install gems. It is used for loading gems,
@@ -24,7 +25,7 @@
# PLEASE NOTE: Use caution when modifying the below settings. Modifying
# these settings will change the value of the corresponding Puppet settings
-@@ -26,23 +30,23 @@ jruby-puppet: {
+@@ -26,23 +31,23 @@ jruby-puppet: {
# (optional) path to puppet conf dir; if not specified, will use
# /etc/puppetlabs/puppet