buildout.cfg 826 Bytes
[buildout]
extends =
  ../lzo/buildout.cfg
  ../openssl/buildout.cfg
  ../flex/buildout.cfg
  ../xz-utils/buildout.cfg

parts =
  openvpn

[openvpn]
recipe = slapos.recipe.cmmi
url = https://swupdate.openvpn.org/community/releases/openvpn-${:version}.tar.xz
version = 2.4.7
md5sum = 4ad8a008e1e7f261b3aa0024e79e7fb7
configure-options =
  --disable-dependency-tracking
  --disable-plugin-auth-pam
  --enable-iproute2
environment =
  PATH=${xz-utils:location}/bin:%(PATH)s
  LZO_LIBS=-L${lzo:location}/lib -llzo2
  LZO_CFLAGS=-I${lzo:location}/include
  OPENSSL_LIBS=-L${openssl:location}/lib -lcrypto -lssl
  OPENSSL_CFLAGS=-I${openssl:location}/include
  LDFLAGS =-Wl,-rpath=${lzo:location}/lib -Wl,-rpath=${flex:location}/lib -Wl,-rpath=${openssl:location}/lib
  CPPFLAGS=-I${lzo:location}/include -I${flex:location}/include