From 01b59a0e5271598479175116d9fd62ac22ddb845 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Fri, 15 Aug 2025 08:27:13 +0000 Subject: [PATCH] 24.03-lts-sp1 update strongswan to 6.0.2 --- .../strongswan/6.0.2/24.03-lts-sp1/Dockerfile | 26 +++++++++++++++++++ Cloud/strongswan/meta.yml | 4 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 Cloud/strongswan/6.0.2/24.03-lts-sp1/Dockerfile diff --git a/Cloud/strongswan/6.0.2/24.03-lts-sp1/Dockerfile b/Cloud/strongswan/6.0.2/24.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..dea22246 --- /dev/null +++ b/Cloud/strongswan/6.0.2/24.03-lts-sp1/Dockerfile @@ -0,0 +1,26 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} +ARG VERSION=6.0.2 + +RUN dnf update -y \ + && dnf install -y wget gcc make gmp-devel openssl-devel libcurl-devel \ + openldap-devel libcap-ng-devel iproute iptables pkgconfig \ + autoconf automake libtool libtool-ltdl-devel m4 gettext gettext-devel \ + gperf flex bison \ + && dnf clean all \ + && rm -rf /var/cache/dnf + +WORKDIR /opt + +RUN wget https://github.com/strongswan/strongswan/archive/refs/tags/${VERSION}.tar.gz \ + && tar -zxvf ${VERSION}.tar.gz \ + && rm -f ${VERSION}.tar.gz + +WORKDIR /opt/strongswan-${VERSION} + +RUN ./autogen.sh \ + && ./configure \ + && make -j \ + && make install + +CMD ["swanctl", "--help"] \ No newline at end of file diff --git a/Cloud/strongswan/meta.yml b/Cloud/strongswan/meta.yml index 794d230f..77be5664 100644 --- a/Cloud/strongswan/meta.yml +++ b/Cloud/strongswan/meta.yml @@ -1,2 +1,4 @@ 6.0.1-oe2403sp1: - path: 6.0.1/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 6.0.1/24.03-lts-sp1/Dockerfile +6.0.2-oe2403sp1: + path: 6.0.2/24.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee