From e87be0e241f77f78911d764a9d765b802d91babc Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Thu, 11 Sep 2025 00:04:47 +0000 Subject: [PATCH] 24.03-lts-sp2 update strongswan to 6.0.2 --- .../strongswan/6.0.2/24.03-lts-sp2/Dockerfile | 26 +++++++++++++++++++ Cloud/strongswan/README.md | 1 + Cloud/strongswan/doc/image-info.yml | 1 + Cloud/strongswan/meta.yml | 4 ++- 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 Cloud/strongswan/6.0.2/24.03-lts-sp2/Dockerfile diff --git a/Cloud/strongswan/6.0.2/24.03-lts-sp2/Dockerfile b/Cloud/strongswan/6.0.2/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..7faa32fb --- /dev/null +++ b/Cloud/strongswan/6.0.2/24.03-lts-sp2/Dockerfile @@ -0,0 +1,26 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +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/README.md b/Cloud/strongswan/README.md index f1b506a5..8a19d900 100644 --- a/Cloud/strongswan/README.md +++ b/Cloud/strongswan/README.md @@ -18,6 +18,7 @@ The tag of each `strongSwan` docker image is consist of the version of `strongSw | Tag | Currently | Architectures | |------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|---------------| +|[6.0.2-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/strongswan/6.0.2/24.03-lts-sp2/Dockerfile) | strongswan 6.0.2 on openEuler 24.03-LTS-SP2 | amd64, arm64 | | [6.0.1-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/strongswan/6.0.1/24.03-lts-sp1/Dockerfile) | strongSwan 6.0.1 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage diff --git a/Cloud/strongswan/doc/image-info.yml b/Cloud/strongswan/doc/image-info.yml index a076ec8c..c22ce8d3 100644 --- a/Cloud/strongswan/doc/image-info.yml +++ b/Cloud/strongswan/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[6.0.2-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/strongswan/6.0.2/24.03-lts-sp2/Dockerfile) | strongswan 6.0.2 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[6.0.1-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/strongswan/6.0.1/24.03-lts-sp1/Dockerfile)| strongSwan 6.0.1 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | diff --git a/Cloud/strongswan/meta.yml b/Cloud/strongswan/meta.yml index 77be5664..5d25fb33 100644 --- a/Cloud/strongswan/meta.yml +++ b/Cloud/strongswan/meta.yml @@ -1,4 +1,6 @@ 6.0.1-oe2403sp1: 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 + path: 6.0.2/24.03-lts-sp1/Dockerfile +6.0.2-oe2403sp2: + path: 6.0.2/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee