From 4e44082cd8d848d3b9d371a897ce85ba31d7e1bc Mon Sep 17 00:00:00 2001 From: cytopia Date: Thu, 27 Dec 2018 14:28:49 +0100 Subject: [PATCH] Import GPG key into rpm before installing software to ensure it is valid --- cfg/php-startup-7.0/03-oracle-oci8-and-pdo_oci.sh-example | 1 + cfg/php-startup-7.1/03-oracle-oci8-and-pdo_oci.sh-example | 1 + cfg/php-startup-7.2/03-oracle-oci8-and-pdo_oci.sh-example | 1 + cfg/php-startup-7.3/03-oracle-oci8-and-pdo_oci.sh-example | 1 + 4 files changed, 4 insertions(+) diff --git a/cfg/php-startup-7.0/03-oracle-oci8-and-pdo_oci.sh-example b/cfg/php-startup-7.0/03-oracle-oci8-and-pdo_oci.sh-example index 37b5f1e4f..1091b5ff6 100755 --- a/cfg/php-startup-7.0/03-oracle-oci8-and-pdo_oci.sh-example +++ b/cfg/php-startup-7.0/03-oracle-oci8-and-pdo_oci.sh-example @@ -14,6 +14,7 @@ curl -o /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm https:// curl -o /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm # Install RPMs +rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 alien -i /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm alien -i /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm diff --git a/cfg/php-startup-7.1/03-oracle-oci8-and-pdo_oci.sh-example b/cfg/php-startup-7.1/03-oracle-oci8-and-pdo_oci.sh-example index 37b5f1e4f..1091b5ff6 100755 --- a/cfg/php-startup-7.1/03-oracle-oci8-and-pdo_oci.sh-example +++ b/cfg/php-startup-7.1/03-oracle-oci8-and-pdo_oci.sh-example @@ -14,6 +14,7 @@ curl -o /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm https:// curl -o /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm # Install RPMs +rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 alien -i /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm alien -i /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm diff --git a/cfg/php-startup-7.2/03-oracle-oci8-and-pdo_oci.sh-example b/cfg/php-startup-7.2/03-oracle-oci8-and-pdo_oci.sh-example index 025439a9a..9c5bf8bd1 100755 --- a/cfg/php-startup-7.2/03-oracle-oci8-and-pdo_oci.sh-example +++ b/cfg/php-startup-7.2/03-oracle-oci8-and-pdo_oci.sh-example @@ -14,6 +14,7 @@ curl -o /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm https:// curl -o /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm # Install RPMs +rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 alien -i /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm alien -i /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm diff --git a/cfg/php-startup-7.3/03-oracle-oci8-and-pdo_oci.sh-example b/cfg/php-startup-7.3/03-oracle-oci8-and-pdo_oci.sh-example index 025439a9a..9c5bf8bd1 100755 --- a/cfg/php-startup-7.3/03-oracle-oci8-and-pdo_oci.sh-example +++ b/cfg/php-startup-7.3/03-oracle-oci8-and-pdo_oci.sh-example @@ -14,6 +14,7 @@ curl -o /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm https:// curl -o /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm # Install RPMs +rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 alien -i /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm alien -i /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm