]>
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 | 6 | name = openvpn |
83beae71 | 7 | version = 2.2.1 |
4d776803 | 8 | release = 2 |
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 | ||
83beae71 | 23 | source_dl = http://swupdate.openvpn.org/community/releases/ |
802ea3af MT |
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 | |
4d776803 | 46 | mkdir -pv %{BUILDROOT}%{libdir}/%{name}/plugin/lib |
802ea3af MT |
47 | for plugin in %{PLUGINS}; do |
48 | install -m 0755 plugin/$plugin/openvpn-$plugin.so \ | |
4d776803 | 49 | %{BUILDROOT}%{libdir}/%{name}/plugin/lib/openvpn-$plugin.so |
802ea3af MT |
50 | done |
51 | end | |
52 | end | |
53 | ||
54 | packages | |
55 | package %{name} | |
56 | requires | |
57 | iproute2 | |
58 | end | |
59 | end | |
1f9bc2f0 MT |
60 | |
61 | package %{name}-debuginfo | |
62 | template DEBUGINFO | |
63 | end | |
802ea3af | 64 | end |