]>
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 | |
7 | version = 16 | |
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 | ||
20 | source_dl = | |
21 | sources = %{thisapp}.tar.xz | |
22 | ||
23 | build | |
24 | requires | |
25 | bison >= 2.5 | |
26 | cmake >= 3.0 | |
27 | json-c-devel | |
28 | libcap-devel | |
29 | libsodium-devel | |
30 | libuecc-devel | |
31 | openssl-devel | |
32 | end | |
33 | ||
34 | if "%{DISTRO_ARCH}" == "i686" | |
35 | build_options = \ | |
36 | -DWITH_CIPHER_SALSA2012_XMM=OFF \ | |
37 | -DWITH_CIPHER_SALSA20_XMM=OFF \ | |
38 | -DWITH_MAC_GHASH_PCLMULQDQ=OFF | |
39 | end | |
40 | ||
41 | build | |
42 | %{cmake} %{build_options} . | |
43 | make %{PARALLELISMFLAGS} | |
44 | end | |
45 | end | |
46 | ||
47 | packages | |
48 | package %{name} | |
49 | ||
50 | package %{name}-debuginfo | |
51 | template DEBUGINFO | |
52 | end | |
53 | end |