install.pl: Added openssl-devel requirement for mstflint
authorVladimir Sokolovsky <vlad@mellanox.com>
Fri, 7 Dec 2018 17:57:23 +0000 (11:57 -0600)
committerVladimir Sokolovsky <vlad@mellanox.com>
Fri, 7 Dec 2018 17:57:23 +0000 (11:57 -0600)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
install.pl

index cac5458..ef6afa6 100755 (executable)
@@ -354,6 +354,8 @@ my $pkgconfig = "pkgconfig";
 my $glib2 = 'glib2';
 my $glib2_devel = 'glib2-devel';
 my $glibc_devel = 'glibc-devel';
+my $openssl_devel = 'openssl-devel';
+my $openssl = 'openssl';
 my $libcurl = 'libcurl';
 my $cmake = 'cmake';
 my $ninja = '';
@@ -378,11 +380,15 @@ if ($DISTRO =~ m/SLES11/) {
     $curl_devel = 'libcurl-devel';
     $libnl = "libnl3-200";
     $libnl_devel = "libnl3-devel";
+    $openssl_devel = 'libopenssl-devel';
+    $openssl = 'libopenssl1_0_0';
     $pkgconfig = "pkg-config";
 } elsif ($DISTRO =~ m/SLES15/) {
     $libstdc = 'libstdc++6-devel-gcc7';
     $libgcc = 'libgcc_s1';
     $curl_devel = 'libcurl-devel';
+    $openssl_devel = 'libopenssl-devel';
+    $openssl = 'libopenssl1_1';
     $libcurl = "libcurl4";
     $libnl_devel = 'libnl3-devel';
     $libnl = 'libnl3-200';
@@ -953,8 +959,8 @@ my %packages_info = (
             { name => "mstflint", parent => "mstflint",
             selected => 0, installed => 0, rpm_exist => 0, rpm_exist32 => 0,
             available => 1, mode => "user",
-            dist_req_build => ["zlib-devel$suffix_64bit", "$libstdc_devel$suffix_64bit", "gcc-c++"],
-            dist_req_inst => [], ofa_req_build => ["libibmad-devel"],
+            dist_req_build => ["zlib-devel$suffix_64bit", "$libstdc_devel$suffix_64bit", "gcc-c++", "$openssl_devel"],
+            dist_req_inst => ["$openssl"], ofa_req_build => ["libibmad-devel"],
             ubuntu_dist_req_build => ["zlib1g-dev", "$libstdc_devel", "gcc","g++","byacc"],ubuntu_dist_req_inst => [],
             ofa_req_inst => ["libibmad"],
             install32 => 0, exception => 0, configure_options => '' },