Open xbgmsharp opened 4 years ago
To ease building package to each distribution, below a sample docker debian:latest compilation workflow. Can be extend to other system. Tested with Debian (buster) and Ubuntu (focal).
$ git clone https://github.com/evgeny-gridasov/openvpn-otp Debian: $ docker run -v $(pwd)/openvpn-otp:/openvpn-otp -it debian bash Ubuntu: $ docker run -v $(pwd)/openvpn-otp:/openvpn-otp -it ubuntu bash # apt update # apt upgrade # apt install openvpn autoconf automake libtool libssl-dev make # cd /openvpn-otp # ./autogen.sh # ./configure --prefix=/usr --disable-dependency-tracking # make install # ls src/.libs/openvpn-otp.* src/.libs/openvpn-otp.la src/.libs/openvpn-otp.lai src/.libs/openvpn-otp.so $ mkdir -p /usr/lib/openvpn/ $ cp src/.libs/openvpn-otp.* /usr/lib/openvpn/
To ease building package to each distribution, below a sample docker debian:latest compilation workflow. Can be extend to other system. Tested with Debian (buster) and Ubuntu (focal).