mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 18:08:16 +00:00
[qa#261] install OpenSSL 1.1.1g on CentOS 7
This commit is contained in:
parent
cd5e13cff1
commit
47d6341da4
21
hammer.py
21
hammer.py
@ -1397,9 +1397,16 @@ def prepare_system_local(features, check_times):
|
|||||||
elif system == 'centos':
|
elif system == 'centos':
|
||||||
install_pkgs('epel-release', env=env, check_times=check_times)
|
install_pkgs('epel-release', env=env, check_times=check_times)
|
||||||
|
|
||||||
packages = ['make', 'autoconf', 'automake', 'libtool', 'gcc-c++', 'openssl-devel',
|
packages = ['make', 'autoconf', 'automake', 'libtool', 'gcc-c++',
|
||||||
'log4cplus-devel', 'boost-devel', 'mariadb-devel', 'postgresql-devel']
|
'log4cplus-devel', 'boost-devel', 'mariadb-devel', 'postgresql-devel']
|
||||||
|
|
||||||
|
if revision == '7':
|
||||||
|
# openssl-devel is version 1.0.2k which is out of support.
|
||||||
|
# Install 1.1.1g instead.
|
||||||
|
packages.append('openssl11-devel')
|
||||||
|
else:
|
||||||
|
packages.append('openssl-devel')
|
||||||
|
|
||||||
if 'native-pkg' in features:
|
if 'native-pkg' in features:
|
||||||
packages.extend(['rpm-build', 'python3-devel'])
|
packages.extend(['rpm-build', 'python3-devel'])
|
||||||
|
|
||||||
@ -1453,9 +1460,15 @@ def prepare_system_local(features, check_times):
|
|||||||
|
|
||||||
# prepare rhel
|
# prepare rhel
|
||||||
elif system == 'rhel':
|
elif system == 'rhel':
|
||||||
packages = ['make', 'autoconf', 'automake', 'libtool', 'gcc-c++', 'openssl-devel', 'boost-devel',
|
packages = ['make', 'autoconf', 'automake', 'libtool', 'gcc-c++', 'boost-devel',
|
||||||
'mariadb-devel', 'postgresql-devel']
|
'mariadb-devel', 'postgresql-devel', 'rpm-build']
|
||||||
packages.extend(['rpm-build'])
|
|
||||||
|
if revision == '7':
|
||||||
|
# openssl-devel is version 1.0.2k which is out of support.
|
||||||
|
# Install 1.1.1g instead.
|
||||||
|
packages.append('openssl11-devel')
|
||||||
|
else:
|
||||||
|
packages.append('openssl-devel')
|
||||||
|
|
||||||
if 'docs' in features and not revision == '8':
|
if 'docs' in features and not revision == '8':
|
||||||
packages.extend(['libxslt', 'elinks', 'docbook-style-xsl'])
|
packages.extend(['libxslt', 'elinks', 'docbook-style-xsl'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user