change to openvpn 2.4.7

because tunnelblick removed 2.4.6 patches in favor of 2.4.7
This commit is contained in:
lawtancool 2019-06-21 18:51:39 -07:00 committed by GitHub
parent 2975062a3f
commit 3f057f93b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,10 +12,10 @@ LABEL maintainer="Kyle Manna <kyle@kylemanna.com>"
# 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 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 pkg-config && \
wget http://swupdate.openvpn.org/community/releases/openvpn-2.4.6.tar.gz && tar xvf openvpn-2.4.6.tar.gz && \ wget http://swupdate.openvpn.org/community/releases/openvpn-2.4.7.tar.gz && tar xvf openvpn-2.4.7.tar.gz && \
wget https://github.com/Tunnelblick/Tunnelblick/archive/master.zip && unzip master.zip && \ wget https://github.com/Tunnelblick/Tunnelblick/archive/master.zip && unzip master.zip && \
cp Tunnelblick-master/third_party/sources/openvpn/openvpn-2.4.6/patches/*.diff openvpn-2.4.6 && \ cp Tunnelblick-master/third_party/sources/openvpn/openvpn-2.4.7/patches/*.diff openvpn-2.4.7 && \
cd openvpn-2.4.6 && \ cd openvpn-2.4.7 && \
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 && \