Lines 13-19
Link Here
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="" |
15 |
KEYWORDS="" |
16 |
IUSE="examples down-root iproute2 pam passwordsave pkcs11 +plugins polarssl selinux +ssl +lzo static userland_BSD" |
16 |
IUSE="examples down-root iproute2 pam passwordsave pkcs11 +plugins polarssl selinux snappy +ssl +lzo static userland_BSD" |
17 |
|
17 |
|
18 |
REQUIRED_USE="static? ( !plugins !pkcs11 ) |
18 |
REQUIRED_USE="static? ( !plugins !pkcs11 ) |
19 |
polarssl? ( ssl ) |
19 |
polarssl? ( ssl ) |
Lines 25-30
Link Here
|
25 |
) |
25 |
) |
26 |
pam? ( virtual/pam ) |
26 |
pam? ( virtual/pam ) |
27 |
selinux? ( sec-policy/selinux-openvpn ) |
27 |
selinux? ( sec-policy/selinux-openvpn ) |
|
|
28 |
snappy? ( app-arch/snappy ) |
28 |
ssl? ( |
29 |
ssl? ( |
29 |
!polarssl? ( >=dev-libs/openssl-0.9.7 ) polarssl? ( >=net-libs/polarssl-1.1.0 ) |
30 |
!polarssl? ( >=dev-libs/openssl-0.9.7 ) polarssl? ( >=net-libs/polarssl-1.1.0 ) |
30 |
) |
31 |
) |
Lines 40-45
Link Here
|
40 |
use static && LDFLAGS="${LDFLAGS} -Xcompiler -static" |
41 |
use static && LDFLAGS="${LDFLAGS} -Xcompiler -static" |
41 |
local myconf |
42 |
local myconf |
42 |
use polarssl && myconf="--with-crypto-library=polarssl" |
43 |
use polarssl && myconf="--with-crypto-library=polarssl" |
|
|
44 |
use snappy || myconf="${myconf} --disable-snappy" |
43 |
econf \ |
45 |
econf \ |
44 |
${myconf} \ |
46 |
${myconf} \ |
45 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
47 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |