Update to OpenVPN 2.5.0
This commit is contained in:
parent
2bb96ab343
commit
35347e8c6a
10
Dockerfile
10
Dockerfile
@ -12,10 +12,10 @@ LABEL maintainer="lawtancool"
|
||||
# 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 && \
|
||||
wget http://swupdate.openvpn.org/community/releases/openvpn-2.4.9.tar.gz && tar xvf openvpn-2.4.9.tar.gz && \
|
||||
wget https://github.com/Tunnelblick/Tunnelblick/archive/v3.8.2beta02.zip && unzip v3.8.2beta02.zip && \
|
||||
cp Tunnelblick-3.8.2beta02/third_party/sources/openvpn/openvpn-2.4.8/patches/*.diff openvpn-2.4.9 && \
|
||||
cd openvpn-2.4.9 && \
|
||||
wget http://swupdate.openvpn.org/community/releases/openvpn-2.5.0.tar.gz && tar xvf openvpn-2.5.0.tar.gz && \
|
||||
wget https://github.com/Tunnelblick/Tunnelblick/archive/v3.8.5beta02.zip && unzip v3.8.5beta02.zip && \
|
||||
cp Tunnelblick-3.8.5beta02/third_party/sources/openvpn/openvpn-2.5.0/patches/*.diff openvpn-2.5.0 && \
|
||||
cd openvpn-2.5.0 && \
|
||||
patch -p1 < 02-tunnelblick-openvpn_xorpatch-a.diff && \
|
||||
patch -p1 < 03-tunnelblick-openvpn_xorpatch-b.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 && \
|
||||
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
||||
make && make install && \
|
||||
cd .. && rm -r openvpn-2.4.9 && rm -r Tunnelblick-3.8.2beta02
|
||||
cd .. && rm -r openvpn-2.5.0 && rm -r Tunnelblick-3.8.5beta02
|
||||
|
||||
# Needed by scripts
|
||||
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/*
|
||||
|
||||
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.4.8.tar.gz && tar xvf openvpn-2.4.8.tar.gz && \
|
||||
wget https://github.com/Tunnelblick/Tunnelblick/archive/v3.8.2beta02.zip && unzip v3.8.2beta02.zip && \
|
||||
cp Tunnelblick-3.8.2beta02/third_party/sources/openvpn/openvpn-2.4.8/patches/*.diff openvpn-2.4.8 && \
|
||||
cd openvpn-2.4.8 && \
|
||||
wget http://swupdate.openvpn.org/community/releases/openvpn-2.5.0.tar.gz && tar xvf openvpn-2.5.0.tar.gz && \
|
||||
wget https://github.com/Tunnelblick/Tunnelblick/archive/v3.8.5beta02.zip && unzip v3.8.5beta02.zip && \
|
||||
cp Tunnelblick-3.8.5beta02/third_party/sources/openvpn/openvpn-2.5.0/patches/*.diff openvpn-2.5.0 && \
|
||||
cd openvpn-2.5.0 && \
|
||||
patch -p1 < 02-tunnelblick-openvpn_xorpatch-a.diff && \
|
||||
patch -p1 < 03-tunnelblick-openvpn_xorpatch-b.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 && \
|
||||
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
||||
make && make install && \
|
||||
cd .. && rm -r openvpn-2.4.8 && rm -r Tunnelblick-3.8.2beta02
|
||||
cd .. && rm -r openvpn-2.5.0 && rm -r Tunnelblick-3.8.5beta02
|
||||
|
||||
# Needed by scripts
|
||||
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/*
|
||||
|
||||
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.4.8.tar.gz && tar xvf openvpn-2.4.8.tar.gz && \
|
||||
wget https://github.com/Tunnelblick/Tunnelblick/archive/v3.8.2beta02.zip && unzip v3.8.2beta02.zip && \
|
||||
cp Tunnelblick-3.8.2beta02/third_party/sources/openvpn/openvpn-2.4.8/patches/*.diff openvpn-2.4.8 && \
|
||||
cd openvpn-2.4.8 && \
|
||||
wget http://swupdate.openvpn.org/community/releases/openvpn-2.5.0.tar.gz && tar xvf openvpn-2.5.0.tar.gz && \
|
||||
wget https://github.com/Tunnelblick/Tunnelblick/archive/v3.8.5beta02.zip && unzip v3.8.5beta02.zip && \
|
||||
cp Tunnelblick-3.8.5beta02/third_party/sources/openvpn/openvpn-2.5.0/patches/*.diff openvpn-2.5.0 && \
|
||||
cd openvpn-2.5.0 && \
|
||||
patch -p1 < 02-tunnelblick-openvpn_xorpatch-a.diff && \
|
||||
patch -p1 < 03-tunnelblick-openvpn_xorpatch-b.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 && \
|
||||
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
||||
make && make install && \
|
||||
cd .. && rm -r openvpn-2.4.8 && rm -r Tunnelblick-3.8.2beta02
|
||||
cd .. && rm -r openvpn-2.5.0 && rm -r Tunnelblick-3.8.5beta02
|
||||
|
||||
# Needed by scripts
|
||||
ENV OPENVPN /etc/openvpn
|
||||
|
Loading…
Reference in New Issue
Block a user