Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
liboping
> liboping0.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File liboping0.spec of Package liboping (Revision 8)
Currently displaying revision
8
,
show latest
# norootforbuild Name: liboping0 Version: 1.6.0 Release: 1 Summary: Multiple Host Ping Library that supports ICMPv4 and ICMPv6 Source: http://verplant.org/liboping/files/liboping-%{version}.tar.bz2 Patch1: liboping-perl_vendor.patch #Patch2: liboping-perl_bindings_no_rpath.patch #Patch3: liboping-no_IPV6_RECVHOPLIMIT.patch URL: http://verplant.org/liboping/ Group: System/Libraries License: GNU General Public License version 2 (GPL v2) BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: gcc make glibc-devel perl BuildRequires: autoconf automake libtool Provides: liboping = %{version}-%{release} %description liboping is a C library for measuring network latency using ICMP echo requests. It can send to and receive packets from multiple hosts in parallel, which is nice for monitoring applications. Both IPv4 and IPv6 are supported transparently for the programmer and user. A program called oping is available on the oping package to show the simplicity and potential of the library and provide the functionality at the command line. Authors: -------- Florian octo Forster <octo@verplant.org> %package -n liboping-devel Summary: Multiple Host Ping Library that supports ICMPv4 and ICMPv6 Requires: %{name} = %{version}-%{release} Group: Development/Libraries/Other %description -n liboping-devel liboping is a C library for measuring network latency using ICMP echo requests. It can send to and receive packets from multiple hosts in parallel, which is nice for monitoring applications. Both IPv4 and IPv6 are supported transparently for the programmer and user. This package includes the header and shared library link, required for building applications or libraries that use %{name}. This package is not needed at runtime. %package -n oping Summary: Multiple Host Ping that supports ICMPv4 and ICMPv6 Requires: %{name} = %{version}-%{release} Group: Productivity/Networking/Other %description -n oping oping is for measuring network latency using ICMP echo requests. It can send to and receive packets from multiple hosts in parallel, which is nice for monitoring applications. Both IPv4 and IPv6 are supported transparently. Authors: -------- Florian octo Forster <octo@verplant.org> %if 0 # currently broken %package -n perl-Net-Oping Summary: Multiple Host Ping that supports ICMPv4 and ICMPv6 Group: Development/Libraries/Perl %description -n perl-Net-Oping Net::Oping is for measuring network latency using ICMP echo requests. It can send to and receive packets from multiple hosts in parallel, which is nice for monitoring applications. Both IPv4 and IPv6 are supported transparently. Authors: -------- Florian octo Forster <octo@verplant.org> %endif %prep %setup -q -n "liboping-%{version}" %patch1 #%patch2 #%if 0%{?suse_version} < 1000 #%patch3 #%endif %build %configure \ --with-perl-bindings="INSTALLDIRS=vendor" %__make -C bindings perl/Makefile #%__sed -i 's|LD_RUN_PATH=".*" |LD_RUN_PATH="%{_libdir}"|' bindings/perl/Makefile %__make %{?jobs:-j%{jobs}} %install %__sed -e 's|perl5/site_perl/|perl5/vendor_perl/|g' bindings/perl/Makefile %makeinstall %__rm "%{buildroot}%{_libdir}"/*.la %perl_process_packlist %__rm -rf "%{buildroot}%{_usr}/lib/perl5" %__rm -rf "%{buildroot}/var/adm/perl-modules" %post -n %{name} /sbin/ldconfig %postun -n %{name} /sbin/ldconfig %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README %{_libdir}/liboping.so.0 %{_libdir}/liboping.so.0.*.* %files -n liboping-devel %defattr(-,root,root) %{_includedir}/oping.h %{_libdir}/liboping.so %{_libdir}/liboping.a %doc %{_mandir}/man3/*.3* %files -n oping %defattr(-,root,root) %{_bindir}/oping %doc %{_mandir}/man8/oping.8* %if 0 %files -n perl-Net-Oping %defattr(-,root,root) %dir %{perl_vendorarch}/Net %{perl_vendorarch}/Net/Oping.pm %dir %{perl_vendorarch}/auto/Net %{perl_vendorarch}/auto/Net/Oping /var/adm/perl-modules/%{name} %endif %changelog * Sun Jan 30 2011 Carsten Schoene <cs@linux-administrator.com> - 1.6.0-1 - update to release 1.6.0 * Fri Nov 19 2010 Carsten Schoene <cs@linux-administrator.com> - 1.5.1-1 - update to 1.5.1 * Sun Dec 20 2009 Pascal Bleser <pascal.bleser@opensuse.org> 1.3.4 - update to 1.3.4: * improved handling of sockets with error conditions: previously, such an error could lead to indefinite busy looping * improved oping utility to allow reading from files even when running * SetUID-root: privileges are dropped temporarily when supported by the system * an off-by-one error has been fixed in the Perl bindings * Sat Sep 26 2009 Klaus Kaempf <kkaempf@suse.de> 1.3.2 - rename .spec to match liboping0 package name * Mon Jul 27 2009 Pascal Bleser <pascal.bleser@opensuse.org> 1.3.2 - update to 1.3.2: * ability to specify the network device to use has been added to the library * the included “oping” application has been enhanced to provide this functionality and allow reading hostnames from a file or standard input * argument checking has been improved * a bug which could lead to incorrect measurements has been fixed * Tue May 12 2009 Pascal Bleser <pascal.bleser@opensuse.org> 1.1.2-0.pm.1 - moved to openSUSE Build Service - update to 1.1.2 * Wed Feb 18 2009 Pascal Bleser <guru@unixtech.be> 1.0.0-0.pm.1 - moved to Packman repository - update to 1.0.0: * some bugs and portability problems have been fixed * the possibility to retrieve the number of timed out packets has been added * the Net::Oping Perl module is now included in the source code distribution * Sat Mar 31 2007 Pascal Bleser <guru@unixtech.be> 0.3.5-1 - new upstream version - CHANGES: a case in which file descriptors would not be closed correctly has been fixed - CHANGES: the includes have been corrected and C++ support has been improved * Wed Dec 6 2006 Pascal Bleser <guru@unixtech.be> 0.3.4-1 - new upstream version * Fri Jul 21 2006 Pascal Bleser <guru@unixtech.be> 0.3.3-1 - new upstream version * Tue May 30 2006 Pascal Bleser <guru@unixtech.be> 0.2.0-1 - new upstream version * Sat May 13 2006 Pascal Bleser <guru@unixtech.be> 0.1.1-1 - new upstream version * Mon May 8 2006 Pascal Bleser <guru@unixtech.be> 0.1-1 - new package # Local Variables: # mode: rpm-spec # tab-width: 3 # End: