]>
Commit | Line | Data |
---|---|---|
876fe705 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = fastd | |
faff1ffe | 7 | version = 17 |
876fe705 MT |
8 | release = 1 |
9 | ||
10 | groups = Networking/VPN | |
11 | url = https://projects.universe-factory.net/projects/fastd/wiki | |
12 | license = BSD | |
13 | summary = Fast and Secure Tunnelling Daemon | |
14 | ||
15 | description | |
16 | fastd is a fast and secure tunneling daemon that is designed | |
17 | to run on embedded devices. | |
18 | end | |
19 | ||
faff1ffe | 20 | source_dl = https://projects.universe-factory.net/attachments/download/81/ |
876fe705 MT |
21 | sources = %{thisapp}.tar.xz |
22 | ||
23 | build | |
24 | requires | |
25 | bison >= 2.5 | |
26 | cmake >= 3.0 | |
faff1ffe | 27 | doxygen |
876fe705 MT |
28 | json-c-devel |
29 | libcap-devel | |
30 | libsodium-devel | |
faff1ffe | 31 | libuecc >= 5 |
876fe705 MT |
32 | libuecc-devel |
33 | openssl-devel | |
34 | end | |
35 | ||
36 | if "%{DISTRO_ARCH}" == "i686" | |
37 | build_options = \ | |
38 | -DWITH_CIPHER_SALSA2012_XMM=OFF \ | |
39 | -DWITH_CIPHER_SALSA20_XMM=OFF \ | |
40 | -DWITH_MAC_GHASH_PCLMULQDQ=OFF | |
41 | end | |
42 | ||
43 | build | |
44 | %{cmake} %{build_options} . | |
45 | make %{PARALLELISMFLAGS} | |
46 | end | |
47 | end | |
48 | ||
49 | packages | |
50 | package %{name} | |
51 | ||
52 | package %{name}-debuginfo | |
53 | template DEBUGINFO | |
54 | end | |
55 | end |