How to achieve the same setup as when
Code: Select all
apt install openvpn
Do so:
1. Downloaded the source code from here https://github.com/OpenVPN/openvpn/arch ... 4.4.tar.gz
2.
Code: Select all
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-dependency-tracking "CFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong -Wformat -Werror=format-security" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" "CXXFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong -Wformat -Werror=format-security" "FCFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong" "FFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong" "GCJFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong" "LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now" "OBJCFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong -Wformat -Werror=format-security" "OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong -Wformat -Werror=format-security" --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --includedir=\${prefix}/include/openvpn --enable-pkcs11 --enable-x509-alt-username --enable-systemd --enable-iproute2
Code: Select all
make
Code: Select all
make install