SHA256
1
0
forked from pool/tcpreplay

Accepting request 356971 from home:pluskalm:branches:network:utilities

- Install LICENSE
- Use url for source
- Add gpg signature
- Make building more verbose
- Cleanup spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/356971
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=5
This commit is contained in:
Andrei Dziahel 2016-01-31 20:55:26 +00:00 committed by Git OBS Bridge
parent b2f522f913
commit e18a3aea37
6 changed files with 89 additions and 22 deletions

3
tcpreplay-4.1.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61b916ef91049cad2a9ddc8de6f5e3e3cc5d9998dbb644dc91cf3a798497ffe4
size 2173781

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJWk810AAoJEOniFJeTveF+R5gH/RXY9rXgb4AfK6hfRrEG0e1W
hhi44n5zIegmV9Tmoz4OuECGrLjmmDkuZybPPQFW5eqrfe1YSuStqO5xHxaCVEU8
ncsdlQmwVAbD8wAiOPW1ML+d8M7akH7jRS3mypyWjT+hovWivEN+4uVDyThoTkfY
pMQiKpN7xh1ouKbyD9iycZ9Nna7Y/2q595uMCNxAvvhO7QyZ2j5l1o1Hs7W5a2zv
2QNFULJVPrj4an52KqQrKuxlK9Wbl2hL2jtWu97QXciKfhFTTbJcaH1ztC4ANIlt
Vsnu+dTjrGTocFWl4K7FGHsu4PBvW5QTagCr2TzMDGQTLbs0V2rc5gjrWJ7HH0w=
=1Eax
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b26fbca89c919cca08d0bf8cd4f9def8b68979b50a8b07c40461151f7a56b590
size 726236

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Jan 31 15:26:20 UTC 2016 - mpluskal@suse.com
- Install LICENSE
- Use url for source
- Add gpg signature
- Make building more verbose
- Cleanup spec file with spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 28 12:58:28 UTC 2016 - mkubecek@suse.cz Thu Jan 28 12:58:28 UTC 2016 - mkubecek@suse.cz

36
tcpreplay.keyring Normal file
View File

@ -0,0 +1,36 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQENBFKz34gBCADE9Dwl1kvBfp9Hjafnvg8NYIf06A/JG31OoMJb691ZNd1lnfe2
K5tUa/lwF/E4TtsciZGMJu1+2hWEllRZRn+ijo1CXRle3qT5XwAK5xkbeBG9vAbK
2z3xrqpA5aKe5oMOHptXc5KtDk6EcCmytjAO0ZGC/X66Yp8odCBCQ9mUphosBs9N
4iGPXGnIXaH5t7V4hRG4MtUS3lzBCb3bJytRf4AzGKdLByKMWH8wZg2foEejgZ04
W3g+xXoxxr3wa1p+stCdgN2UcFcHsyjNaAWRCMIf/3nlSPoq0sd9WPABS537w/ed
wPlxQTGcm+coCAScQjEkVWaP5z5ORPU97se5ABEBAAG0JEZyZWQgS2xhc3NlbiA8
dGNwcmVwbGF5QGFwcG5ldGEuY29tPokBIgQTAQoADAUCU9vkiQWDB4YfgAAKCRAc
p98VUISrwI3ACACoYJSs9ZMe/ERZgVOOZwF09xLEAYNb061+4yQDhpvxRpXVwQBY
tldkXHgqBWwaHtEzw+UJaQU9lF4/MH1FLFiw7liVqpocuU9VeUpsfTVnWKegnvsX
14w3H/d7nHSYrHJ3UhoYrg/RKxRmPLxFKD0Gh0Sp7Wt5KAoGiBSORAWvA1dLwdWA
hqbFtUN5qAWZbBJDfj8DQX3T9pKNYSg62qChW9i2n1o266qyXxFG9NmyM2lopTG5
PlMNOc8Yyu55RwztU5hB5g+AN4yef1QG9vVoiuAvGn4bNezVqeTvGjH+RzA51cMG
l7FOcfj3hKgMcZNThRJ1KEzVYWTDUBVo64TgiQE4BBMBAgAiBQJSs9+IAhsDBgsJ
CAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDp4hSXk73hfq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nqWHceYwLx7tP7u3DRT/RcVunFLoMeSGDW/hID00cTnBsLpiw==
=J/Di
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -16,23 +16,21 @@
# #
%if 0%{?suse_version} < 1130
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%endif
Name: tcpreplay Name: tcpreplay
Version: 4.1.1 Version: 4.1.1
Release: 0 Release: 0
Source: %{name}-%{version}.tar.xz
Url: http://tcpreplay.appneta.com/
BuildRequires: libdnet-devel
BuildRequires: libpcap-devel
BuildRequires: tcpdump
BuildRequires: xz
Requires: tcpdump
Summary: Network analysis and testing tools Summary: Network analysis and testing tools
License: GPL-3.0 License: GPL-3.0
Group: Productivity/Networking/Diagnostic Group: Productivity/Networking/Diagnostic
Url: http://tcpreplay.appneta.com/
Source0: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
BuildRequires: libdnet-devel
BuildRequires: libpcap-devel
BuildRequires: tcpdump
Requires: tcpdump
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
Tcpreplay is a suite of free Open Source utilities for editing and Tcpreplay is a suite of free Open Source utilities for editing and
@ -42,22 +40,35 @@ Systems, it has seen many evolutions including capabilities to replay to
web servers. web servers.
Version 4.0.0 introduces features and performance enhancements to Version 4.0.0 introduces features and performance enhancements to
support switches, routers, and IP Flow/NetFlow appliances. support switches, routers, and IP Flow/NetFlow appliances.
%prep %prep
%setup %setup -q
%build %build
%configure --enable-dynamic-link %configure \
make %{?_smp_mflags} --enable-dynamic-link
make %{?_smp_mflags} V=1
%install %install
make DESTDIR=${RPM_BUILD_ROOT} install make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %doc docs/LICENSE
%{_mandir}/man1/* %{_bindir}/tcpbridge
%{_bindir}/tcpcapinfo
%{_bindir}/tcpliveplay
%{_bindir}/tcpprep
%{_bindir}/tcpreplay
%{_bindir}/tcpreplay-edit
%{_bindir}/tcprewrite
%{_mandir}/man1/tcpbridge.1%{ext_man}
%{_mandir}/man1/tcpcapinfo.1%{ext_man}
%{_mandir}/man1/tcpliveplay.1%{ext_man}
%{_mandir}/man1/tcpprep.1%{ext_man}
%{_mandir}/man1/tcpreplay-edit.1%{ext_man}
%{_mandir}/man1/tcpreplay.1%{ext_man}
%{_mandir}/man1/tcprewrite.1%{ext_man}
%changelog %changelog