]> git.ipfire.org Git - ipfire-3.x.git/blob - liboping/liboping.nm
strace: Update to version 6.6
[ipfire-3.x.git] / liboping / liboping.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = liboping
7 version = 1.10.0
8 release = 5.1
9
10 groups = Development/Tools
11 url = https://noping.cc/
12 license = LGPLv2.1 and GPLv2
13 summary = liboping is a C library to generate ICMP echo requests
14
15 description
16 liboping is a C library to generate ICMP echo requests, better known
17 as 'ping packets'. It is intended for use in network monitoring
18 applications or applications that would otherwise need to fork ping(1)
19 frequently. Included is a sample application, called oping, which
20 demonstrates the library's abilities. It is like ping, ping6, and
21 fping rolled into one.
22 end
23
24 source_dl = https://noping.cc/files/
25
26 build
27 requires
28 ncurses-devel
29 end
30
31 configure_options += \
32 --without-perl-bindings
33
34 install_cmds
35 # Set capabilities
36 setcap cap_net_raw=ep %{BUILDROOT}%{bindir}/oping
37 setcap cap_net_raw=ep %{BUILDROOT}%{bindir}/noping
38 end
39 end
40
41 packages
42 package %{name}
43
44 package %{name}-devel
45 template DEVEL
46 end
47
48 package %{name}-debuginfo
49 template DEBUGINFO
50 end
51 end