]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - openvpn/openvpn.nm
l7-protocols: Package is of architecture noarch.
[people/ms/ipfire-3.x.git] / openvpn / openvpn.nm
CommitLineData
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 6name = openvpn
83beae71 7version = 2.2.1
802ea3af 8release = 1
ac082136 9
802ea3af
MT
10groups = Networking/VPN
11url = http://openvpn.net/
12license = GPLv2
13summary = A full-featured SSL VPN solution.
ac082136 14
802ea3af
MT
15description
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
21end
22
83beae71 23source_dl = http://swupdate.openvpn.org/community/releases/
802ea3af
MT
24
25PLUGINS = auth-pam down-root
26
27build
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
52end
53
54packages
55 package %{name}
56 requires
57 iproute2
58 end
59 end
60end