]>
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 | |
7 | version = 1.8.0 | |
8 | release = 1 | |
9 | ||
10 | groups = Development/Tools | |
11 | url = http://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 = http://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 |