]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - liboping/liboping.nm
liboping: Fix build with GCC 9
[people/stevee/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 = 2
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 setcap cap_net_raw=ep %{BUILDROOT}%{bindir}/oping
36 setcap cap_net_raw=ep %{BUILDROOT}%{bindir}/noping
37 end
38 end
39
40 packages
41 package %{name}
42
43 package %{name}-devel
44 template DEVEL
45 end
46
47 package %{name}-debuginfo
48 template DEBUGINFO
49 end
50 end