]>
Commit | Line | Data |
---|---|---|
11789f68 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = liboping | |
bb097c54 | 7 | version = 1.10.0 |
87829961 | 8 | release = 5 |
11789f68 MT |
9 | |
10 | groups = Development/Tools | |
bb097c54 | 11 | url = https://noping.cc/ |
11789f68 MT |
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 | ||
bb097c54 | 24 | source_dl = https://noping.cc/files/ |
11789f68 MT |
25 | |
26 | build | |
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 |
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 |