mirror of
https://github.com/wahyd4/docker-ipsec-vpn-server.git
synced 2026-08-09 04:46:22 +10:00
Fix Libreswan 3.22 bug
- This bug causes Libreswan 3.22 fail to start on a Raspberry Pi - Apply fix from Libreswan GitHub repo: libreswan/libreswan@e154ae7 - Ref: https://lists.libreswan.org/pipermail/swan/2017/002338.html
This commit is contained in:
@@ -21,6 +21,7 @@ RUN apt-get -yqq update \
|
||||
&& tar xzf "libreswan.tar.gz" \
|
||||
&& rm -f "libreswan.tar.gz" \
|
||||
&& cd "libreswan-${SWAN_VER}" \
|
||||
&& sed -i '/^#define LSWBUF_CANARY/s/-2$/((char) -2)/' include/lswlog.h \
|
||||
&& printf 'WERROR_CFLAGS =\nUSE_DNSSEC = false\nUSE_SYSTEMD_WATCHDOG = false\n' > Makefile.inc.local \
|
||||
&& make -s base \
|
||||
&& make -s install-base \
|
||||
|
||||
Reference in New Issue
Block a user