]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - openvpn/openvpn.nm
Merge remote-tracking branch 'arne_f/automake'
[people/ms/ipfire-3.x.git] / openvpn / openvpn.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = openvpn
7 version = 2.2.1
8 release = 2
9
10 groups = Networking/VPN
11 url = http://openvpn.net/
12 license = GPLv2
13 summary = A full-featured SSL VPN solution.
14
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
20 for compression.
21 end
22
23 source_dl = http://swupdate.openvpn.org/community/releases/
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}%{libdir}/%{name}/plugin/lib
47 for plugin in %{PLUGINS}; do
48 install -m 0755 plugin/$plugin/openvpn-$plugin.so \
49 %{BUILDROOT}%{libdir}/%{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
61 package %{name}-debuginfo
62 template DEBUGINFO
63 end
64 end