]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - openvpn/openvpn.nm
Move all packages to root.
[people/ms/ipfire-3.x.git] / openvpn / openvpn.nm
diff --git a/openvpn/openvpn.nm b/openvpn/openvpn.nm
new file mode 100644 (file)
index 0000000..6da76f6
--- /dev/null
@@ -0,0 +1,60 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = openvpn
+version    = 2.2-RC2
+release    = 1
+
+groups     = Networking/VPN
+url        = http://openvpn.net/
+license    = GPLv2
+summary    = A full-featured SSL VPN solution.
+
+description
+       OpenVPN is a robust and highly flexible tunneling application that uses all
+       of the encryption, authentication, and certification features of the
+       OpenSSL library to securely tunnel IP networks over a single UDP or TCP
+       port. It can use the Marcus Franz Xaver Johannes Oberhumer's LZO library
+       for compression.
+end
+
+source_dl  =
+
+PLUGINS    = auth-pam down-root
+
+build
+       requires
+               lzo-devel
+               openssl-devel
+               pam-devel
+       end
+
+       configure_options += \
+               --enable-pthread \
+               --enable-password-save \
+               --enable-iproute2
+
+       build_cmds
+               for plugin in %{PLUGINS}; do
+                       make -C plugin/$plugin
+               done
+       end
+
+       install_cmds
+               mkdir -pv %{BUILDROOT}/usr/lib/%{name}/plugin/lib
+               for plugin in %{PLUGINS}; do
+                       install -m 0755 plugin/$plugin/openvpn-$plugin.so \
+                               %{BUILDROOT}/usr/lib/%{name}/plugin/lib/openvpn-$plugin.so
+               done
+       end
+end
+
+packages
+       package %{name}
+               requires
+                       iproute2
+               end
+       end
+end