fastd: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 Dec 2014 00:43:46 +0000 (01:43 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 Dec 2014 00:43:46 +0000 (01:43 +0100)
fastd/fastd.nm [new file with mode: 0644]

diff --git a/fastd/fastd.nm b/fastd/fastd.nm
new file mode 100644 (file)
index 0000000..23563cf
--- /dev/null
@@ -0,0 +1,53 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = fastd
+version    = 16
+release    = 1
+
+groups     = Networking/VPN
+url        = https://projects.universe-factory.net/projects/fastd/wiki
+license    = BSD
+summary    = Fast and Secure Tunnelling Daemon
+
+description
+       fastd is a fast and secure tunneling daemon that is designed
+       to run on embedded devices.
+end
+
+source_dl  =
+sources    = %{thisapp}.tar.xz
+
+build
+       requires
+               bison >= 2.5
+               cmake >= 3.0
+               json-c-devel
+               libcap-devel
+               libsodium-devel
+               libuecc-devel
+               openssl-devel
+       end
+
+       if "%{DISTRO_ARCH}" == "i686"
+               build_options = \
+                       -DWITH_CIPHER_SALSA2012_XMM=OFF \
+                       -DWITH_CIPHER_SALSA20_XMM=OFF \
+                       -DWITH_MAC_GHASH_PCLMULQDQ=OFF
+       end
+
+       build
+               %{cmake} %{build_options} .
+               make %{PARALLELISMFLAGS}
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end