]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - liboping/liboping.nm
liboping: Re-enable setting capabilities
[people/stevee/ipfire-3.x.git] / liboping / liboping.nm
CommitLineData
11789f68
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = liboping
bb097c54 7version = 1.10.0
87829961 8release = 5
11789f68
MT
9
10groups = Development/Tools
bb097c54 11url = https://noping.cc/
11789f68
MT
12license = LGPLv2.1 and GPLv2
13summary = liboping is a C library to generate ICMP echo requests
14
15description
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.
22end
23
bb097c54 24source_dl = https://noping.cc/files/
11789f68
MT
25
26build
27 requires
28 ncurses-devel
29 end
30
31 configure_options += \
32 --without-perl-bindings
33
34 install_cmds
87829961
SS
35 # Set capabilities
36 setcap cap_net_raw=ep %{BUILDROOT}%{bindir}/oping
37 setcap cap_net_raw=ep %{BUILDROOT}%{bindir}/noping
11789f68
MT
38 end
39end
40
41packages
42 package %{name}
43
44 package %{name}-devel
45 template DEVEL
46 end
47
48 package %{name}-debuginfo
49 template DEBUGINFO
50 end
51end