Update to OpenVPN 2.5.3
This commit is contained in:
parent
eacfe8ede7
commit
188206b842
10
Dockerfile
10
Dockerfile
@ -12,10 +12,10 @@ LABEL maintainer="lawtancool"
|
|||||||
# rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
|
# rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-dev iproute2 liblz4-dev liblzo2-dev libpam0g-dev libpkcs11-helper1-dev libsystemd-dev easy-rsa iptables pkg-config && \
|
RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-dev iproute2 liblz4-dev liblzo2-dev libpam0g-dev libpkcs11-helper1-dev libsystemd-dev easy-rsa iptables pkg-config && \
|
||||||
wget http://swupdate.openvpn.org/community/releases/openvpn-2.5.0.tar.gz && tar xvf openvpn-2.5.0.tar.gz && \
|
wget https://swupdate.openvpn.org/community/releases/openvpn-2.5.3.tar.gz && tar xvf openvpn-2.5.3.tar.gz && \
|
||||||
wget https://github.com/Tunnelblick/Tunnelblick/archive/v3.8.5beta02.zip && unzip v3.8.5beta02.zip && \
|
wget https://github.com/Tunnelblick/Tunnelblick/archive/refs/tags/v3.8.6beta05.zip && unzip v3.8.6beta05.zip && \
|
||||||
cp Tunnelblick-3.8.5beta02/third_party/sources/openvpn/openvpn-2.5.0/patches/*.diff openvpn-2.5.0 && \
|
cp Tunnelblick-3.8.6beta05/third_party/sources/openvpn/openvpn-2.5.3/patches/*.diff openvpn-2.5.3 && \
|
||||||
cd openvpn-2.5.0 && \
|
cd openvpn-2.5.3 && \
|
||||||
patch -p1 < 02-tunnelblick-openvpn_xorpatch-a.diff && \
|
patch -p1 < 02-tunnelblick-openvpn_xorpatch-a.diff && \
|
||||||
patch -p1 < 03-tunnelblick-openvpn_xorpatch-b.diff && \
|
patch -p1 < 03-tunnelblick-openvpn_xorpatch-b.diff && \
|
||||||
patch -p1 < 04-tunnelblick-openvpn_xorpatch-c.diff && \
|
patch -p1 < 04-tunnelblick-openvpn_xorpatch-c.diff && \
|
||||||
@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-d
|
|||||||
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
||||||
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
||||||
make && make install && \
|
make && make install && \
|
||||||
cd .. && rm -r openvpn-2.5.0 && rm -r Tunnelblick-3.8.5beta02
|
cd .. && rm -r openvpn-2.5.3 && rm -r Tunnelblick-3.8.6beta05
|
||||||
|
|
||||||
# Needed by scripts
|
# Needed by scripts
|
||||||
ENV OPENVPN /etc/openvpn
|
ENV OPENVPN /etc/openvpn
|
||||||
|
@ -14,10 +14,10 @@ COPY qemu-arm-static /usr/bin
|
|||||||
# rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
|
# rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-dev iproute2 liblz4-dev liblzo2-dev libpam0g-dev libpkcs11-helper1-dev libsystemd-dev easy-rsa iptables pkg-config && \
|
RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-dev iproute2 liblz4-dev liblzo2-dev libpam0g-dev libpkcs11-helper1-dev libsystemd-dev easy-rsa iptables pkg-config && \
|
||||||
wget http://swupdate.openvpn.org/community/releases/openvpn-2.5.0.tar.gz && tar xvf openvpn-2.5.0.tar.gz && \
|
wget https://swupdate.openvpn.org/community/releases/openvpn-2.5.3.tar.gz && tar xvf openvpn-2.5.3.tar.gz && \
|
||||||
wget https://github.com/Tunnelblick/Tunnelblick/archive/v3.8.5beta02.zip && unzip v3.8.5beta02.zip && \
|
wget https://github.com/Tunnelblick/Tunnelblick/archive/refs/tags/v3.8.6beta05.zip && unzip v3.8.6beta05.zip && \
|
||||||
cp Tunnelblick-3.8.5beta02/third_party/sources/openvpn/openvpn-2.5.0/patches/*.diff openvpn-2.5.0 && \
|
cp Tunnelblick-3.8.6beta05/third_party/sources/openvpn/openvpn-2.5.3/patches/*.diff openvpn-2.5.3 && \
|
||||||
cd openvpn-2.5.0 && \
|
cd openvpn-2.5.3 && \
|
||||||
patch -p1 < 02-tunnelblick-openvpn_xorpatch-a.diff && \
|
patch -p1 < 02-tunnelblick-openvpn_xorpatch-a.diff && \
|
||||||
patch -p1 < 03-tunnelblick-openvpn_xorpatch-b.diff && \
|
patch -p1 < 03-tunnelblick-openvpn_xorpatch-b.diff && \
|
||||||
patch -p1 < 04-tunnelblick-openvpn_xorpatch-c.diff && \
|
patch -p1 < 04-tunnelblick-openvpn_xorpatch-c.diff && \
|
||||||
@ -25,7 +25,7 @@ RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-d
|
|||||||
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
||||||
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
||||||
make && make install && \
|
make && make install && \
|
||||||
cd .. && rm -r openvpn-2.5.0 && rm -r Tunnelblick-3.8.5beta02
|
cd .. && rm -r openvpn-2.5.3 && rm -r Tunnelblick-3.8.6beta05
|
||||||
|
|
||||||
# Needed by scripts
|
# Needed by scripts
|
||||||
ENV OPENVPN /etc/openvpn
|
ENV OPENVPN /etc/openvpn
|
||||||
|
@ -14,10 +14,10 @@ COPY qemu-aarch64-static /usr/bin
|
|||||||
# rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
|
# rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-dev iproute2 liblz4-dev liblzo2-dev libpam0g-dev libpkcs11-helper1-dev libsystemd-dev easy-rsa iptables pkg-config && \
|
RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-dev iproute2 liblz4-dev liblzo2-dev libpam0g-dev libpkcs11-helper1-dev libsystemd-dev easy-rsa iptables pkg-config && \
|
||||||
wget http://swupdate.openvpn.org/community/releases/openvpn-2.5.0.tar.gz && tar xvf openvpn-2.5.0.tar.gz && \
|
wget https://swupdate.openvpn.org/community/releases/openvpn-2.5.3.tar.gz && tar xvf openvpn-2.5.3.tar.gz && \
|
||||||
wget https://github.com/Tunnelblick/Tunnelblick/archive/v3.8.5beta02.zip && unzip v3.8.5beta02.zip && \
|
wget https://github.com/Tunnelblick/Tunnelblick/archive/refs/tags/v3.8.6beta05.zip && unzip v3.8.6beta05.zip && \
|
||||||
cp Tunnelblick-3.8.5beta02/third_party/sources/openvpn/openvpn-2.5.0/patches/*.diff openvpn-2.5.0 && \
|
cp Tunnelblick-3.8.6beta05/third_party/sources/openvpn/openvpn-2.5.3/patches/*.diff openvpn-2.5.3 && \
|
||||||
cd openvpn-2.5.0 && \
|
cd openvpn-2.5.3 && \
|
||||||
patch -p1 < 02-tunnelblick-openvpn_xorpatch-a.diff && \
|
patch -p1 < 02-tunnelblick-openvpn_xorpatch-a.diff && \
|
||||||
patch -p1 < 03-tunnelblick-openvpn_xorpatch-b.diff && \
|
patch -p1 < 03-tunnelblick-openvpn_xorpatch-b.diff && \
|
||||||
patch -p1 < 04-tunnelblick-openvpn_xorpatch-c.diff && \
|
patch -p1 < 04-tunnelblick-openvpn_xorpatch-c.diff && \
|
||||||
@ -25,7 +25,7 @@ RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-d
|
|||||||
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
||||||
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
||||||
make && make install && \
|
make && make install && \
|
||||||
cd .. && rm -r openvpn-2.5.0 && rm -r Tunnelblick-3.8.5beta02
|
cd .. && rm -r openvpn-2.5.3 && rm -r Tunnelblick-3.8.6beta05
|
||||||
|
|
||||||
# Needed by scripts
|
# Needed by scripts
|
||||||
ENV OPENVPN /etc/openvpn
|
ENV OPENVPN /etc/openvpn
|
||||||
|
Loading…
Reference in New Issue
Block a user