From 5180e49c19a1e797fbc91384e4abd8c1d524bebc Mon Sep 17 00:00:00 2001 From: STAM Date: Sun, 16 Feb 2025 15:33:49 +0300 Subject: [PATCH] added openssl 1.0.2u to develop images --- .../debian/11-bullseye/develop/Dockerfile | 36 +++++++++++++++++++ .../debian/12-bookworm/develop/Dockerfile | 36 +++++++++++++++++++ .../debian/13-trixie/develop/Dockerfile | 36 +++++++++++++++++++ .../epicmorg/debian/sid/develop/Dockerfile | 36 +++++++++++++++++++ 4 files changed, 144 insertions(+) diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/develop/Dockerfile index 11e647151..292317249 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/develop/Dockerfile @@ -175,6 +175,17 @@ ARG GPERFTOOLS_DOWNLOAD_URL=https://github.com/gperftools/gperftools/releases/do ARG GPERFTOOLS_TEMP=/tmp/gperftools-${GPERFTOOLS_VERSION}.tar.gz ARG GPERFTOOLS_TEMP_SRC=/tmp/gperftools-${GPERFTOOLS_VERSION} +# OpenSSL 1.0.2 +ENV OPENSSL_102_VERSION=1.0.2 +ENV OPENSSL_102_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_102_VERSION} +ENV OPENSSL_102_BIN_DIR=${OPENSSL_102_DIR}/bin +ENV OPENSSL_102_INC_DIR=${OPENSSL_102_DIR}/include +ENV OPENSSL_102_LIB_DIR=${OPENSSL_102_DIR}/lib +ENV OPENSSL_102_SRC_DIR=/usr/local/src/openssl/${OPENSSL_102_VERSION} +ARG OPENSSL_102_DOWNLOAD_URL=https://github.com/openssl/openssl/releases/download/OpenSSL_1_0_2u/openssl-1.0.2u.tar.gz +ARG OPENSSL_102_TEMP=/tmp/openssl-1.0.2u.tar.gz +ARG OPENSSL_102_TEMP_SRC=/tmp/openssl-1.0.2u + # OpenSSL 1.1.1 ENV OPENSSL_111_VERSION=1.1.1 ENV OPENSSL_111_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_111_VERSION} @@ -867,6 +878,31 @@ RUN tar -xzf ${GPERFTOOLS_TEMP} --directory /tmp && \ ENV PATH="${GPERFTOOLS_BIN_DIR}:${PATH}" +################################################################## +# OpenSSL 1.0.2u +################################################################## +RUN mkdir -p ${OPENSSL_102_DIR} ${OPENSSL_102_SRC_DIR} +ADD ${OPENSSL_102_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${OPENSSL_102_TEMP} --directory /tmp && \ + cp -rfv ${OPENSSL_102_TEMP_SRC}/* ${OPENSSL_102_SRC_DIR} && \ + ln -sf ${OPENSSL_102_SRC_DIR} ${OPENSSL_102_DIR}/src && \ + cd ${OPENSSL_102_TEMP_SRC} && \ + CFLAGS=-Wno-error ./config \ + zlib \ + --with-zlib-include=${ZLIB_DIR}/include \ + --with-zlib-lib=${ZLIB_DIR}/lib \ + enable-ec_nistp_64_gcc_128 \ + enable-egd \ + enable-ssl-trace \ + threads \ + sctp \ + --release \ + --prefix=${OPENSSL_102_DIR} \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install + ################################################################## # OpenSSL 1.1.1.1 ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/develop/Dockerfile index bf691ba71..2d27cb02e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/develop/Dockerfile @@ -175,6 +175,17 @@ ARG GPERFTOOLS_DOWNLOAD_URL=https://github.com/gperftools/gperftools/releases/do ARG GPERFTOOLS_TEMP=/tmp/gperftools-${GPERFTOOLS_VERSION}.tar.gz ARG GPERFTOOLS_TEMP_SRC=/tmp/gperftools-${GPERFTOOLS_VERSION} +# OpenSSL 1.0.2 +ENV OPENSSL_102_VERSION=1.0.2 +ENV OPENSSL_102_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_102_VERSION} +ENV OPENSSL_102_BIN_DIR=${OPENSSL_102_DIR}/bin +ENV OPENSSL_102_INC_DIR=${OPENSSL_102_DIR}/include +ENV OPENSSL_102_LIB_DIR=${OPENSSL_102_DIR}/lib +ENV OPENSSL_102_SRC_DIR=/usr/local/src/openssl/${OPENSSL_102_VERSION} +ARG OPENSSL_102_DOWNLOAD_URL=https://github.com/openssl/openssl/releases/download/OpenSSL_1_0_2u/openssl-1.0.2u.tar.gz +ARG OPENSSL_102_TEMP=/tmp/openssl-1.0.2u.tar.gz +ARG OPENSSL_102_TEMP_SRC=/tmp/openssl-1.0.2u + # OpenSSL 1.1.1 ENV OPENSSL_111_VERSION=1.1.1 ENV OPENSSL_111_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_111_VERSION} @@ -865,6 +876,31 @@ RUN tar -xzf ${GPERFTOOLS_TEMP} --directory /tmp && \ ENV PATH="${GPERFTOOLS_BIN_DIR}:${PATH}" +################################################################## +# OpenSSL 1.0.2u +################################################################## +RUN mkdir -p ${OPENSSL_102_DIR} ${OPENSSL_102_SRC_DIR} +ADD ${OPENSSL_102_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${OPENSSL_102_TEMP} --directory /tmp && \ + cp -rfv ${OPENSSL_102_TEMP_SRC}/* ${OPENSSL_102_SRC_DIR} && \ + ln -sf ${OPENSSL_102_SRC_DIR} ${OPENSSL_102_DIR}/src && \ + cd ${OPENSSL_102_TEMP_SRC} && \ + CFLAGS=-Wno-error ./config \ + zlib \ + --with-zlib-include=${ZLIB_DIR}/include \ + --with-zlib-lib=${ZLIB_DIR}/lib \ + enable-ec_nistp_64_gcc_128 \ + enable-egd \ + enable-ssl-trace \ + threads \ + sctp \ + --release \ + --prefix=${OPENSSL_102_DIR} \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install + ################################################################## # OpenSSL 1.1.1.1 ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/13-trixie/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/13-trixie/develop/Dockerfile index 9ff37ffa8..ea867ed01 100644 --- a/linux/ecosystem/epicmorg/debian/13-trixie/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/13-trixie/develop/Dockerfile @@ -189,6 +189,17 @@ ARG GPERFTOOLS_DOWNLOAD_URL=https://github.com/gperftools/gperftools/releases/do ARG GPERFTOOLS_TEMP=/tmp/gperftools-${GPERFTOOLS_VERSION}.tar.gz ARG GPERFTOOLS_TEMP_SRC=/tmp/gperftools-${GPERFTOOLS_VERSION} +# OpenSSL 1.0.2 +ENV OPENSSL_102_VERSION=1.0.2 +ENV OPENSSL_102_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_102_VERSION} +ENV OPENSSL_102_BIN_DIR=${OPENSSL_102_DIR}/bin +ENV OPENSSL_102_INC_DIR=${OPENSSL_102_DIR}/include +ENV OPENSSL_102_LIB_DIR=${OPENSSL_102_DIR}/lib +ENV OPENSSL_102_SRC_DIR=/usr/local/src/openssl/${OPENSSL_102_VERSION} +ARG OPENSSL_102_DOWNLOAD_URL=https://github.com/openssl/openssl/releases/download/OpenSSL_1_0_2u/openssl-1.0.2u.tar.gz +ARG OPENSSL_102_TEMP=/tmp/openssl-1.0.2u.tar.gz +ARG OPENSSL_102_TEMP_SRC=/tmp/openssl-1.0.2u + # OpenSSL 1.1.1 ENV OPENSSL_111_VERSION=1.1.1 ENV OPENSSL_111_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_111_VERSION} @@ -886,6 +897,31 @@ RUN tar -xzf ${GPERFTOOLS_TEMP} --directory /tmp && \ ENV PATH="${GPERFTOOLS_BIN_DIR}:${PATH}" +################################################################## +# OpenSSL 1.0.2u +################################################################## +RUN mkdir -p ${OPENSSL_102_DIR} ${OPENSSL_102_SRC_DIR} +ADD ${OPENSSL_102_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${OPENSSL_102_TEMP} --directory /tmp && \ + cp -rfv ${OPENSSL_102_TEMP_SRC}/* ${OPENSSL_102_SRC_DIR} && \ + ln -sf ${OPENSSL_102_SRC_DIR} ${OPENSSL_102_DIR}/src && \ + cd ${OPENSSL_102_TEMP_SRC} && \ + CFLAGS=-Wno-error ./config \ + zlib \ + --with-zlib-include=${ZLIB_DIR}/include \ + --with-zlib-lib=${ZLIB_DIR}/lib \ + enable-ec_nistp_64_gcc_128 \ + enable-egd \ + enable-ssl-trace \ + threads \ + sctp \ + --release \ + --prefix=${OPENSSL_102_DIR} \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install + ################################################################## # OpenSSL 1.1.1.1 ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/sid/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/sid/develop/Dockerfile index 80f1c9dca..0e28f1b75 100644 --- a/linux/ecosystem/epicmorg/debian/sid/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/sid/develop/Dockerfile @@ -175,6 +175,17 @@ ARG GPERFTOOLS_DOWNLOAD_URL=https://github.com/gperftools/gperftools/releases/do ARG GPERFTOOLS_TEMP=/tmp/gperftools-${GPERFTOOLS_VERSION}.tar.gz ARG GPERFTOOLS_TEMP_SRC=/tmp/gperftools-${GPERFTOOLS_VERSION} +# OpenSSL 1.0.2 +ENV OPENSSL_102_VERSION=1.0.2 +ENV OPENSSL_102_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_102_VERSION} +ENV OPENSSL_102_BIN_DIR=${OPENSSL_102_DIR}/bin +ENV OPENSSL_102_INC_DIR=${OPENSSL_102_DIR}/include +ENV OPENSSL_102_LIB_DIR=${OPENSSL_102_DIR}/lib +ENV OPENSSL_102_SRC_DIR=/usr/local/src/openssl/${OPENSSL_102_VERSION} +ARG OPENSSL_102_DOWNLOAD_URL=https://github.com/openssl/openssl/releases/download/OpenSSL_1_0_2u/openssl-1.0.2u.tar.gz +ARG OPENSSL_102_TEMP=/tmp/openssl-1.0.2u.tar.gz +ARG OPENSSL_102_TEMP_SRC=/tmp/openssl-1.0.2u + # OpenSSL 1.1.1 ENV OPENSSL_111_VERSION=1.1.1 ENV OPENSSL_111_DIR=${EMG_LOCAL_BASE_DIR}/openssl/${OPENSSL_111_VERSION} @@ -865,6 +876,31 @@ RUN tar -xzf ${GPERFTOOLS_TEMP} --directory /tmp && \ ENV PATH="${GPERFTOOLS_BIN_DIR}:${PATH}" +################################################################## +# OpenSSL 1.0.2u +################################################################## +RUN mkdir -p ${OPENSSL_102_DIR} ${OPENSSL_102_SRC_DIR} +ADD ${OPENSSL_102_DOWNLOAD_URL} /tmp + +RUN tar -xzf ${OPENSSL_102_TEMP} --directory /tmp && \ + cp -rfv ${OPENSSL_102_TEMP_SRC}/* ${OPENSSL_102_SRC_DIR} && \ + ln -sf ${OPENSSL_102_SRC_DIR} ${OPENSSL_102_DIR}/src && \ + cd ${OPENSSL_102_TEMP_SRC} && \ + CFLAGS=-Wno-error ./config \ + zlib \ + --with-zlib-include=${ZLIB_DIR}/include \ + --with-zlib-lib=${ZLIB_DIR}/lib \ + enable-ec_nistp_64_gcc_128 \ + enable-egd \ + enable-ssl-trace \ + threads \ + sctp \ + --release \ + --prefix=${OPENSSL_102_DIR} \ + && \ + make -j$(nproc) && \ + make -j$(nproc) install + ################################################################## # OpenSSL 1.1.1.1 ##################################################################