]>
Commit | Line | Data |
---|---|---|
ac082136 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
ac082136 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = openvpn |
7 | version = 2.2-RC2 | |
8 | release = 1 | |
ac082136 | 9 | |
802ea3af MT |
10 | groups = Networking/VPN |
11 | url = http://openvpn.net/ | |
12 | license = GPLv2 | |
13 | summary = A full-featured SSL VPN solution. | |
ac082136 | 14 | |
802ea3af MT |
15 | description |
16 | OpenVPN is a robust and highly flexible tunneling application that uses all | |
17 | of the encryption, authentication, and certification features of the | |
18 | OpenSSL library to securely tunnel IP networks over a single UDP or TCP | |
19 | port. It can use the Marcus Franz Xaver Johannes Oberhumer's LZO library | |
ac082136 | 20 | for compression. |
802ea3af MT |
21 | end |
22 | ||
23 | source_dl = | |
24 | ||
25 | PLUGINS = auth-pam down-root | |
26 | ||
27 | build | |
28 | requires | |
29 | lzo-devel | |
30 | openssl-devel | |
31 | pam-devel | |
32 | end | |
33 | ||
34 | configure_options += \ | |
35 | --enable-pthread \ | |
36 | --enable-password-save \ | |
37 | --enable-iproute2 | |
38 | ||
39 | build_cmds | |
40 | for plugin in %{PLUGINS}; do | |
41 | make -C plugin/$plugin | |
42 | done | |
43 | end | |
44 | ||
45 | install_cmds | |
46 | mkdir -pv %{BUILDROOT}/usr/lib/%{name}/plugin/lib | |
47 | for plugin in %{PLUGINS}; do | |
48 | install -m 0755 plugin/$plugin/openvpn-$plugin.so \ | |
49 | %{BUILDROOT}/usr/lib/%{name}/plugin/lib/openvpn-$plugin.so | |
50 | done | |
51 | end | |
52 | end | |
53 | ||
54 | packages | |
55 | package %{name} | |
56 | requires | |
57 | iproute2 | |
58 | end | |
59 | end | |
60 | end |