Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=4 |
6 |
|
6 |
|
7 |
inherit eutils multilib toolchain-funcs flag-o-matic |
7 |
inherit eutils multilib toolchain-funcs autotools flag-o-matic |
8 |
|
8 |
|
9 |
DESCRIPTION="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes." |
9 |
DESCRIPTION="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes." |
10 |
SRC_URI="http://swupdate.openvpn.net/community/releases/${P}.tar.gz" |
10 |
SRC_URI="http://swupdate.openvpn.net/community/releases/${P}.tar.gz" |
Lines 13-19
Link Here
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux" |
15 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux" |
16 |
IUSE="examples iproute2 minimal pam passwordsave selinux +ssl static pkcs11 userland_BSD" |
16 |
IUSE="examples iproute2 ipv6 minimal pam passwordsave selinux ssl static pkcs11 userland_BSD" |
17 |
|
17 |
|
18 |
DEPEND=">=dev-libs/lzo-1.07 |
18 |
DEPEND=">=dev-libs/lzo-1.07 |
19 |
kernel_linux? ( |
19 |
kernel_linux? ( |
Lines 27-36
Link Here
|
27 |
|
27 |
|
28 |
src_prepare() { |
28 |
src_prepare() { |
29 |
epatch "${FILESDIR}/${PN}-2.2.2-pkcs11.patch" |
29 |
epatch "${FILESDIR}/${PN}-2.2.2-pkcs11.patch" |
|
|
30 |
use ipv6 && epatch "${FILESDIR}/${PN}-2.2.2-ipv6-payload.patch" |
30 |
sed -i \ |
31 |
sed -i \ |
31 |
-e "s/gcc \${CC_FLAGS}/\${CC} \${CFLAGS} -Wall/" \ |
32 |
-e "s/gcc \${CC_FLAGS}/\${CC} \${CFLAGS} -Wall/" \ |
32 |
-e "s/-shared/-shared \${LDFLAGS}/" \ |
33 |
-e "s/-shared/-shared \${LDFLAGS}/" \ |
33 |
plugin/*/Makefile || die "sed failed" |
34 |
plugin/*/Makefile || die "sed failed" |
|
|
35 |
if use ipv6; then |
36 |
eautoreconf |
37 |
fi |
34 |
} |
38 |
} |
35 |
|
39 |
|
36 |
src_configure() { |
40 |
src_configure() { |