Репозитории ALT
Последнее обновление в Сб, 08 мая 2021, 16:33:16 +0000 | Пакетов: 11695
en ru
Исходные пакеты в ветвях
свернуть окно
  • 3.1.7-alt0.M60P.1
  • 3.1.7-alt0.M60P.1
Группа :: Мониторинг
Исходный пакет: iperf3
Необработанный spec-файл

%define native iperf
%define abiversion 0

Name: iperf3
Version: 3.1.7
Release: alt0.M60P.1

Summary: A TCP, UDP, and SCTP network bandwidth measurement tool
License: %bsd
Group: Monitoring

Url: http://software.es.net/iperf
Source0: http://downloads.es.net/pub/iperf/%native-%version.tar.gz
Source1: iperf3.sysconfig
Source2: iperf3.init
Source3: iperf3.service

Patch0: iperf3-3.1.3-name.patch

BuildRequires: rpm-build-licenses

Requires: lib%name-%abiversion = %version-%release

%package -n lib%name-%abiversion
Summary: iperf shared library
Group: System/Libraries
Provides: lib%name = %version-%release

%package -n lib%name-devel
Summary: iperf's development files
Group: Development/C
Requires: lib%name-%abiversion = %version-%release
Provides: %name-devel = %version
Obsoletes: %name-devel < %version

%description
iperf is a tool for active measurements of the maximum achievable
bandwidth on IP networks. It supports tuning of various parameters
related to timing, protocols, and buffers. For each test it reports
the bandwidth, loss, and other parameters.

This version, sometimes referred to as iperf3, is a redesign of an
original version developed at NLANR/DAST. iperf3 is a new
implementation from scratch, with the goal of a smaller, simpler code
base, and a library version of the functionality that can be used in
other programs. iperf3 also a number of features found in other tools
such as nuttcp and netperf, but were missing from the original iperf.
These include, for example, a zero-copy mode and optional JSON output.

Note that iperf3 is NOT backwards compatible with the original iperf.

%description -n lib%name-%abiversion
Librairies for iperf3

%description -n lib%name-devel
This package contains development files of iperf3

%prep
%setup -q -n %native-%version

%patch0 -p2

%build

# fixed RPATH issue

libtoolize --copy --force --automake
aclocal -I config
autoheader
automake --foreign --add-missing --copy
autoconf

%configure
%make_build

%install
%makeinstall

rm -f %buildroot/%_libdir/*.a

install -pDm0644 %SOURCE1 %buildroot/%_sysconfdir/sysconfig/%name

install -pDm0755 %SOURCE2 %buildroot/%_initdir/%name
install -pDm0644 %SOURCE3 %buildroot/%_unitdir/%name.service

%post
%post_service %name

%preun
%preun_service %name

%files
%_bindir/*
%_mandir/man?/*
%_initdir/%name
%_unitdir/%name.service
%config(noreplace) %_sysconfdir/sysconfig/%name
%doc LICENSE README.md RELEASE_NOTES

%files -n lib%name-%abiversion
/%_libdir/lib%native.so.*

%files -n lib%name-devel
%_includedir/%{native}_api.h
%_libdir/lib%native.so


%changelog
* Fri Mar 17 2017 Sergey Y. Afonin <asy at altlinux.ru> 3.1.7-alt0.M60P.1
- Branch p6 backport

* Fri Mar 17 2017 Sergey Y. Afonin <asy at altlinux.ru> 3.1.7-alt1
- New version

* Sat Jul 09 2016 Sergey Y. Afonin <asy at altlinux.ru> 3.1.3-alt1
- New version (CVE-2016-4303)

* Sat Feb 13 2016 Sergey Y. Afonin <asy at altlinux.ru> 3.1.2-alt1
- New version
- Added lsb init header (fixed repocop's warninig)

* Sat Nov 28 2015 Sergey Y. Afonin <asy at altlinux.ru> 3.1.1-alt0.M60P.3
- Branch p6 backport

* Sat Nov 28 2015 Sergey Y. Afonin <asy at altlinux.ru> 3.1.1-alt3
- removed listen port from $ARGS (5201 is default for iperf3)
- removed --displayname from start_daemon in init script

* Thu Nov 26 2015 Sergey Y. Afonin <asy at altlinux.ru> 3.1.1-alt0.M60P.2
- Branch p6 backport

* Thu Nov 26 2015 Sergey Y. Afonin <asy at altlinux.ru> 3.1.1-alt2
- Removed init and service files for udp service:
one tcp daemon is serves all in Iperf3

* Thu Nov 26 2015 Sergey Y. Afonin <asy at altlinux.ru> 3.1.1-alt0.M60P.1
- Branch p6 backport

* Thu Nov 26 2015 Sergey Y. Afonin <asy at altlinux.ru> 3.1.1-alt1
- New version

* Thu Oct 09 2014 Sergey Y. Afonin <asy at altlinux.ru> 3.0.8-alt1
- Initial build for ALTLinux
 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT