File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,19 @@ export PROJECT
3636# Otherwise, we build it.
3737if [ x" $SYSTEM_SSL " = x ]
3838then
39- # We don't bundle OpenSSL on RHEL 8 (and newer in the future)
40- if [ " $OS " = " rhel" ] && expr " $OS_VERSION " " >=" " 8" > /dev/null
39+ # We don't bundle OpenSSL on some redhat-derived systems due to incompatability with libpam and our openssl.
40+ _OS_MAJOR_VERSION=" $( echo " $OS_VERSION " | cut -d. -f1) "
41+ if [ " $OS " = " rhel" ] && expr " $_OS_MAJOR_VERSION " " >=" " 8" > /dev/null
4142 then
4243 SYSTEM_SSL=1
4344 fi
45+ if [ " $OS " = " opensuse" ] || [ " $OS " = " sles" ]
46+ then
47+ if expr " $_OS_MAJOR_VERSION " " >=" " 15"
48+ then
49+ SYSTEM_SSL=1
50+ fi
51+ fi
4452 # Detect using system ssl when running a Jenkins job
4553 if expr x" $label " " :" " .*systemssl" > /dev/null
4654 then
Original file line number Diff line number Diff line change @@ -129,6 +129,10 @@ bundle agent cfengine_build_host_setup
129129 "platform-python-devel" -> { "cfbs shebang", "ENT-11338" }
130130 comment => "py3_shebang_fix macro needs /usr/bin/pathfix.py from platform-python-devel package";
131131
132+ suse_15::
133+ "libopenssl-devel" -> { "ENT-12528" }
134+ comment => "like redhat, suse 15+ needs to build with system openssl.";
135+
132136 (redhat_8|centos_8|redhat_9).(yum_dnf_conf_ok)::
133137 "java-1.8.0-openjdk-headless" package_policy => "delete",
134138 comment => "Installing Development Tools includes this jdk1.8 which we do not want.";
You can’t perform that action at this time.
0 commit comments