Skip to content

Commit

Permalink
New Libreswan version
Browse files Browse the repository at this point in the history
- Use new Libreswan version 4.9.
  • Loading branch information
hwdsl2 committed Oct 19, 2022
1 parent 565b408 commit af4b9d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

FROM alpine:3.16

ENV SWAN_VER 4.7
ENV SWAN_VER 4.9
WORKDIR /opt/src

RUN set -x \
Expand All @@ -23,8 +23,7 @@ RUN set -x \
&& tar xzf libreswan.tar.gz \
&& rm -f libreswan.tar.gz \
&& cd "libreswan-${SWAN_VER}" \
&& printf 'WERROR_CFLAGS=-w -s\nUSE_DNSSEC=false\nUSE_DH2=true\n' > Makefile.inc.local \
&& printf 'FINALNSSDIR=/etc/ipsec.d\nUSE_GLIBC_KERN_FLIP_HEADERS=true\n' >> Makefile.inc.local \
&& printf 'WERROR_CFLAGS=-w -s\nUSE_DNSSEC=false\nUSE_DH2=true\nFINALNSSDIR=/etc/ipsec.d\n' > Makefile.inc.local \
&& make -s base \
&& make -s install-base \
&& cd /opt/src \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

FROM debian:bullseye-slim

ENV SWAN_VER 4.7
ENV SWAN_VER 4.9
WORKDIR /opt/src

RUN apt-get -yqq update \
Expand Down

0 comments on commit af4b9d8

Please sign in to comment.