From 11789f683c6c5c2ae3cbad85b49a413c09086049 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 30 Jun 2015 10:04:46 +0000 Subject: [PATCH] liboping: New package A simple library that sends ICMP echo requests. Required for collecty Signed-off-by: Michael Tremer --- liboping/liboping.nm | 50 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 liboping/liboping.nm diff --git a/liboping/liboping.nm b/liboping/liboping.nm new file mode 100644 index 000000000..a4b42984d --- /dev/null +++ b/liboping/liboping.nm @@ -0,0 +1,50 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = liboping +version = 1.8.0 +release = 1 + +groups = Development/Tools +url = http://noping.cc/ +license = LGPLv2.1 and GPLv2 +summary = liboping is a C library to generate ICMP echo requests + +description + liboping is a C library to generate ICMP echo requests, better known + as 'ping packets'. It is intended for use in network monitoring + applications or applications that would otherwise need to fork ping(1) + frequently. Included is a sample application, called oping, which + demonstrates the library's abilities. It is like ping, ping6, and + fping rolled into one. +end + +source_dl = http://noping.cc/files/ + +build + requires + ncurses-devel + end + + configure_options += \ + --without-perl-bindings + + install_cmds + setcap cap_net_raw=ep %{BUILDROOT}%{bindir}/oping + setcap cap_net_raw=ep %{BUILDROOT}%{bindir}/noping + end +end + +packages + package %{name} + + package %{name}-devel + template DEVEL + end + + package %{name}-debuginfo + template DEBUGINFO + end +end -- 2.39.2