diff --git a/sysutils/rubygem-choria-mcorpc-support/Makefile b/sysutils/rubygem-choria-mcorpc-support/Makefile index ca5712ce0e52..7dc0de2e35fa 100644 --- a/sysutils/rubygem-choria-mcorpc-support/Makefile +++ b/sysutils/rubygem-choria-mcorpc-support/Makefile @@ -1,26 +1,26 @@ PORTNAME= choria-mcorpc-support DISTVERSION= 2.26.5 +PORTREVISION= 1 CATEGORIES= sysutils rubygems MASTER_SITES= RG MAINTAINER= puppet@FreeBSD.org COMMENT= Ruby support for the Choria Orchestration Server WWW= https://rubygems.org/gems/choria-mcorpc-support LICENSE= APACHE20 USES= gem -RUN_DEPENDS= choria>=0.20.1:sysutils/choria \ - rubygem-nats-pure>=0.6<0.8.0:net/rubygem-nats-pure \ +RUN_DEPENDS= rubygem-nats-pure>=0.6<0.8.0:net/rubygem-nats-pure \ rubygem-systemu>=2.6.4<3:devel/rubygem-systemu NO_ARCH= yes PLIST_FILES= bin/mco \ bin/execution_wrapper post-install: ${INSTALL_SCRIPT} ${FILESDIR}/execution_wrapper.rb ${STAGEDIR}${PREFIX}/bin/execution_wrapper .include diff --git a/sysutils/rubygem-choria-mcorpc-support/files/patch-lib_mcollective_monkey__patches.rb b/sysutils/rubygem-choria-mcorpc-support/files/patch-lib_mcollective_monkey__patches.rb new file mode 100644 index 000000000000..d230c147b228 --- /dev/null +++ b/sysutils/rubygem-choria-mcorpc-support/files/patch-lib_mcollective_monkey__patches.rb @@ -0,0 +1,33 @@ +--- lib/mcollective/monkey_patches.rb.orig 2026-06-03 23:37:51 UTC ++++ lib/mcollective/monkey_patches.rb +@@ -130,30 +130,3 @@ end + end + end + end +- +-# Reject all SSLv2 ciphers and all SSLv2 or SSLv3 handshakes by default +-require "openssl" +-class OpenSSL::SSL::SSLContext # rubocop:disable Style/ClassAndModuleChildren +- if DEFAULT_PARAMS[:options] +- DEFAULT_PARAMS[:options] |= OpenSSL::SSL::OP_NO_SSLv2 | OpenSSL::SSL::OP_NO_SSLv3 +- else +- DEFAULT_PARAMS[:options] = OpenSSL::SSL::OP_NO_SSLv2 | OpenSSL::SSL::OP_NO_SSLv3 +- end +- +- # ruby 1.8.5 doesn't define this constant, but has it on by default +- DEFAULT_PARAMS[:options] |= OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS if defined?(OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS) +- +- DEFAULT_PARAMS[:ciphers] << ":!SSLv2" if DEFAULT_PARAMS[:ciphers] +- +- alias __mcollective_original_initialize initialize +- private :__mcollective_original_initialize +- +- def initialize(*args) +- __mcollective_original_initialize(*args) +- params = { +- :options => DEFAULT_PARAMS[:options], +- :ciphers => DEFAULT_PARAMS[:ciphers] +- } +- set_params(params) +- end +-end