summaryrefslogtreecommitdiff
path: root/sysutils/pxp-agent/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/pxp-agent/files')
-rw-r--r--sysutils/pxp-agent/files/patch-cmake_FindCPPHOCON.cmake9
-rw-r--r--sysutils/pxp-agent/files/patch-cmake_Findcpp-pcp-client.cmake9
-rw-r--r--sysutils/pxp-agent/files/patch-lib_tests_unit_action__request__test.cc17
-rw-r--r--sysutils/pxp-agent/files/patch-modules_pxp-module-puppet8
4 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/pxp-agent/files/patch-cmake_FindCPPHOCON.cmake b/sysutils/pxp-agent/files/patch-cmake_FindCPPHOCON.cmake
new file mode 100644
index 000000000000..19d4419de3ab
--- /dev/null
+++ b/sysutils/pxp-agent/files/patch-cmake_FindCPPHOCON.cmake
@@ -0,0 +1,9 @@
+--- cmake/FindCPPHOCON.cmake.orig 2018-09-28 17:04:38 UTC
++++ cmake/FindCPPHOCON.cmake
+@@ -1,5 +1,5 @@
+ include(FindDependency)
+-find_dependency(CPPHOCON DISPLAY "cpp-hocon" HEADERS "hocon/config.hpp" LIBRARIES "libcpp-hocon.a")
++find_dependency(CPPHOCON DISPLAY "cpp-hocon" HEADERS "hocon/config.hpp" LIBRARIES "liblibcpp-hocon.so")
+
+ include(FeatureSummary)
+ set_package_properties(CPPHOCON PROPERTIES DESCRIPTION "A C++ parser for the HOCON configuration language" URL "https://github.com/puppetlabs/cpp-hocon")
diff --git a/sysutils/pxp-agent/files/patch-cmake_Findcpp-pcp-client.cmake b/sysutils/pxp-agent/files/patch-cmake_Findcpp-pcp-client.cmake
new file mode 100644
index 000000000000..117bd2ca599a
--- /dev/null
+++ b/sysutils/pxp-agent/files/patch-cmake_Findcpp-pcp-client.cmake
@@ -0,0 +1,9 @@
+--- cmake/Findcpp-pcp-client.cmake.orig 2018-09-28 17:04:38 UTC
++++ cmake/Findcpp-pcp-client.cmake
+@@ -2,5 +2,5 @@ include(FindDependency)
+ find_dependency(cpp-pcp-client
+ DISPLAY "cpp-pcp-client"
+ HEADERS "cpp-pcp-client/connector/connection.hpp"
+- LIBRARIES "libcpp-pcp-client.so" "libcpp-pcp-client.dylib" "cpp-pcp-client"
++ LIBRARIES "liblibcpp-pcp-client.so" "libcpp-pcp-client.dylib" "cpp-pcp-client"
+ REQUIRED)
diff --git a/sysutils/pxp-agent/files/patch-lib_tests_unit_action__request__test.cc b/sysutils/pxp-agent/files/patch-lib_tests_unit_action__request__test.cc
new file mode 100644
index 000000000000..e340234eeec1
--- /dev/null
+++ b/sysutils/pxp-agent/files/patch-lib_tests_unit_action__request__test.cc
@@ -0,0 +1,17 @@
+--- lib/tests/unit/action_request_test.cc.orig 2021-05-16 22:32:47 UTC
++++ lib/tests/unit/action_request_test.cc
+@@ -38,12 +38,14 @@ TEST_CASE("ActionRequest::ActionRequest", "[request]")
+ ActionRequest::Error);
+ }
+
++ /* Does not compile with a modern compiler
+ SECTION("throw a ActionRequest::Error if binary data") {
+ const PCPClient::ParsedChunks p_c { envelope, "bin data", debug, 0 };
+
+ REQUIRE_THROWS_AS(ActionRequest(RequestType::Blocking, p_c),
+ ActionRequest::Error);
+ }
++ */
+
+ SECTION("throw a ActionRequest::Error if invalid data") {
+ const PCPClient::ParsedChunks p_c { envelope, false, debug, 0 };
diff --git a/sysutils/pxp-agent/files/patch-modules_pxp-module-puppet b/sysutils/pxp-agent/files/patch-modules_pxp-module-puppet
new file mode 100644
index 000000000000..a4aa813673de
--- /dev/null
+++ b/sysutils/pxp-agent/files/patch-modules_pxp-module-puppet
@@ -0,0 +1,8 @@
+--- modules/pxp-module-puppet.orig 2018-09-28 17:04:38 UTC
++++ modules/pxp-module-puppet
+@@ -1,4 +1,4 @@
+-#!/opt/puppetlabs/puppet/bin/ruby
++#!/usr/bin/env ruby
+ # encoding: UTF-8
+
+ require 'json'