]> git.ipfire.org Git - ipfire-3.x.git/blob - ldns/ldns.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / ldns / ldns.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = ldns
7 version = 1.8.3
8 release = 1.1
9
10 groups = Networking/DNS
11 url = https://www.nlnetlabs.nl/projects/ldns/
12 license = BSD
13 summary = Low-level DNS(SEC) library with API
14
15 description
16 The goal of ldns is to simplify DNS programming in C. ldns supports
17 all low-level DNS and DNSSEC operations. It also defines a higher
18 level API which allows a programmer to for instance create or sign
19 packets.
20 end
21
22 source_dl = https://www.nlnetlabs.nl/downloads/%{name}/
23
24 build
25 requires
26 ca-certificates
27 doxygen
28 gcc-c++
29 libpcap-devel
30 openssl-devel
31 end
32
33 prepare_cmds
34 sed -i "s/@includedir@/@includedir@\/ldns/" \
35 packaging/libldns.pc.in
36 end
37
38 configure_options += \
39 --disable-gost \
40 --enable-ecdsa \
41 --with-ca-file=/etc/pki/tls/certs/ca-bundle.trust.crt \
42 --with-ca-path=/etc/pki/tls/certs/ \
43 --with-trust-anchor=%{sharedstatedir}/unbound/root.key
44 end
45
46 packages
47 package %{name}
48
49 package %{name}-devel
50 template DEVEL
51
52 files += %{bindir}/ldns-config
53 files += %{mandir}/man1/ldns-config.1*
54 end
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
59 end