Skip to content

Commit 316187a

Browse files
Merge pull request #689 from splunk/py-3.6-vulns
resolve py3.6 CVEs
2 parents 6f85613 + 17cef9d commit 316187a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

base/redhat-8/install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export LANG=en_US.utf8
2929
# Install utility packages
3030
microdnf -y --nodocs install wget sudo shadow-utils procps tar make gcc \
3131
openssl-devel bzip2-devel libffi-devel findutils \
32-
libssh-devel libcurl-devel glib2-devel ncurses-devel \
32+
libssh-devel libcurl-devel ncurses-devel \
3333
diffutils bzip2
3434
# Patch security updates
3535
microdnf -y --nodocs update gnutls kernel-headers libdnf librepo libnghttp2 nettle \
@@ -78,7 +78,7 @@ ln -sf /usr/bin/pip${PY_SHORT} /usr/bin/pip3
7878
# Install splunk-ansible dependencies
7979
cd /
8080
/usr/bin/python3.9 -m pip install --upgrade pip
81-
pip -q --no-cache-dir install --upgrade "requests_unixsocket<2.29" "requests<2.29" six wheel Mako "urllib3<2.0.0" certifi jmespath future avro cryptography lxml protobuf setuptools ansible
81+
pip -q --no-cache-dir install --upgrade requests_unixsocket requests six wheel Mako "urllib3<2.0.0" certifi jmespath future avro cryptography lxml protobuf setuptools ansible
8282

8383
# Remove tests packaged in python libs
8484
find /usr/lib/ -depth \( -type d -a -not -wholename '*/ansible/plugins/test' -a \( -name test -o -name tests -o -name idle_test \) \) -exec rm -rf '{}' \;
@@ -87,7 +87,7 @@ find /usr/lib/ -depth \( -type f -a -name 'wininst-*.exe' \) -exec rm -rf '{}' \
8787
ldconfig
8888

8989
# Cleanup
90-
microdnf remove -y make gcc openssl-devel bzip2-devel findutils glib2-devel glibc-devel cpp binutils \
90+
microdnf remove -y make gcc openssl-devel bzip2-devel findutils glibc-devel cpp binutils \
9191
keyutils-libs-devel krb5-devel libcom_err-devel libffi-devel libcurl-devel \
9292
libselinux-devel libsepol-devel libssh-devel libverto-devel libxcrypt-devel \
9393
ncurses-devel pcre2-devel zlib-devel diffutils bzip2

0 commit comments

Comments
 (0)