978881
Summary: Benchmarking authorative and recursing DNS servers
978881
Name: dnsperf
e1d140
Version: 2.1.0.0
e1d140
Release: 1%{?dist}
978881
License: MIT
097319
Url: http://www.nominum.com/support/measurement-tools/
978881
Source: ftp://ftp.nominum.com/pub/nominum/dnsperf/%{version}/dnsperf-src-%{version}-1.tar.gz
e6a0a7
Source2: bind9-hmacsha.h
e1d140
Source3: queryfile-example-current.gz
978881
Group: Applications/Internet
e1d140
BuildRequires: bind-devel >= 9.3.0, libcap-devel, gzip, openssl-devel
9d0212
BuildRequires: krb5-devel, libxml2-devel, GeoIP-devel
978881
Requires: gnuplot pcapy python-dns
978881
978881
%description
978881
This is dnsperf, a collection of DNS server performance testing tools.
978881
For more information, see the dnsperf(1) and resperf(1) man pages.
978881
978881
%prep
978881
%setup -q -n dnsperf-src-%{version}-1
e6a0a7
cp %{SOURCE2} hmacsha.h
e6a0a7
%configure 
e6a0a7
sed -i "s/<isc\ hmacsha.h="">/\"hmacsha.h\"/" dns.c
978881
978881
%build
e6a0a7
%{__make} CFLAGS="$RPM_OPT_FLAGS -I/usr/include/bind9 -I." %{?_smp_mflags}
978881
978881
%install
978881
rm -rf %{buildroot}
978881
%{__make} DESTDIR=%{buildroot} install
978881
install contrib/queryparse/queryparse %{buildroot}/%{_bindir}
978881
install -D -m 644 contrib/queryparse/queryparse.1 %{buildroot}/%{_mandir}/man1/queryparse.1
978881
gzip %{buildroot}/%{_mandir}/man1/queryparse.1
978881
Adam Tkac 8ed06a
mkdir -p %{buildroot}%{_datadir}/%{name}
e1d140
gunzip -c %{SOURCE3} > %{buildroot}%{_datadir}/%{name}/queryfile-example-current
Adam Tkac 8ed06a
chmod 644 %{buildroot}%{_datadir}/%{name}/queryfile-example-current
Adam Tkac 8ed06a
978881
%clean
978881
rm -rf ${RPM_BUILD_ROOT}
978881
978881
%files 
978881
%defattr(-,root,root,-)
e6a0a7
%doc README RELEASE_NOTES
978881
%{_bindir}/*
978881
%{_mandir}/*/*
e6a0a7
%dir %{_datadir}/dnsperf
e6a0a7
%{_datadir}/dnsperf/queryfile-example-current
978881
978881
%changelog
e1d140
* Wed Apr 20 2016 Paul Wouters <pwouters@redhat.com> - 2.1.0.0-1
e1d140
- Updated to 2.1.0.0 (rhbz#1305929)
e1d140
- Remove incorporated patches
e1d140
- Updated example query file with upstream
e1d140
- Fixup bad changelog dates
e1d140
- Use gunzip not bunzip2 as upstream query file is only gzipped
e1d140
5eabc5
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.0-20
5eabc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5eabc5
735a73
* Wed Dec 16 2015 Tomas Hozza <thozza@redhat.com> - 2.0.0.0-19
735a73
- Rebuild against bind-9.10.3-P2
735a73
d3240c
* Fri Sep 04 2015 Tomas Hozza <thozza@redhat.com> - 2.0.0.0-18
d3240c
- Rebuild against bind 9.10.3rc1
d3240c
a43e5d
* Wed Jun 24 2015 Tomas Hozza <thozza@redhat.com> - 2.0.0.0-17
a43e5d
- rebuild against bind-9.10.2-P1
9d0212
- add Build dependency on GeoIP-devel since bind is built with it
a43e5d
61da1d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0.0-16
61da1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
61da1d
1002ff
* Fri Mar 13 2015 Tomas Hozza <thozza@redhat.com> - 2.0.0.0-15
1002ff
- rebuild against bind-9.10.2
1002ff
c0dec1
* Wed Feb 25 2015 Tomas Hozza <thozza@redhat.com> - 2.0.0.0-14
c0dec1
- Rebuild against bind-9.10.2rc2
c0dec1
3adbd8
* Mon Feb 02 2015 Tomas Hozza <thozza@redhat.com> - 2.0.0.0-13
3adbd8
- rebuild against bind-9.10.2rc1
3adbd8
0184f3
* Wed Jan 14 2015 Tomas Hozza <thozza@redhat.com> - 2.0.0.0-12
0184f3
- rebuild against bind-9.10.1-P1
0184f3
4d1f46
* Fri Oct 03 2014 Tomas Hozza <thozza@redhat.com> - 2.0.0.0-11
4d1f46
- rebuild against bind-9.9.6
4d1f46
8ee44d
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0.0-10
8ee44d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8ee44d
0ccc05
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0.0-9
0ccc05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0ccc05
c1ed66
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0.0-8
c1ed66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c1ed66
6ed3d8
* Mon Jul 15 2013 Tomas Hozza <thozza@redhat.com> - 2.0.0.0-7
6ed3d8
- Rebuild against bind 9.9.4b1
6ed3d8
097319
* Tue May 14 2013 Paul Wouters <pwouters@redhat.com> - 2.0.0.0-6
097319
- Rebuild against bind 9.9.3-0.6.rc2
097319
- Fix url, nominum changed their website
097319
Adam Tkac 3732f8
* Tue Apr 16 2013 Adam Tkac <atkac redhat="" com=""> - 2.0.0.0-5
Adam Tkac 3732f8
- rebuild against new bind
Adam Tkac 3732f8
8672a6
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0.0-4
8672a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8672a6
Adam Tkac fee774
* Thu Oct 11 2012 Adam TKac <atkac redhat="" com=""> - 2.0.0.0-3
Adam Tkac fee774
- rebuild against new bind-libs
Adam Tkac 8ed06a
- pack sample query file with bz2
Adam Tkac fee774
4533a9
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0.0-2
4533a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4533a9
e6a0a7
* Wed Apr 18 2012 Paul Wouters <pwouters@redhat.com> - 2.0.0.0-1
e6a0a7
- Upgraded to 2.0.0.0
e6a0a7
- Fixup of URLs
e6a0a7
- Add pointer to sample query file in usage info
e6a0a7
- Added current query sample file as old example has been removed
e6a0a7
- Pulled in missing bind-9.8.x/9.9.x version of hmacsha.h
e6a0a7
- Removed doc/*pdf files, as their license might mean non-free
e6a0a7
1880a6
* Wed Feb  1 2012 Adam Williamson <awilliam@redhat.com> - 1.0.1.0-28
1880a6
- rebuild against new bind
1880a6
b8a15c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.0-27
b8a15c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b8a15c
Adam Tkac fdbd61
* Mon Nov 14 2011 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-26
Adam Tkac fdbd61
- rebuild against new bind
Adam Tkac fdbd61
Adam Tkac ae5f32
* Fri Sep 09 2011 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-25
Adam Tkac ae5f32
- rebuild against new bind
Adam Tkac ae5f32
Paul Wouters 151b08
* Tue May 24 2011 Paul Wouters <paul@xelerance.com> - 1.0.1.0-24
Paul Wouters 151b08
- rebuilt for newer bind
Paul Wouters 151b08
e1d140
* Mon Feb 21 2011 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-23
Adam Tkac da117a
- rebuild against new bind
Adam Tkac da117a
5da3b6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.0-22
5da3b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5da3b6
Adam Tkac 402f37
* Thu Sep 30 2010 Adam Tkac <atkac@redhat.com> - 1.0.1.0-21
Adam Tkac 402f37
- rebuild against new bind
Adam Tkac 402f37
Adam Tkac f780e0
* Fri Aug 27 2010 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-20
Adam Tkac f780e0
- rebuild against new bind
Adam Tkac f780e0
Adam Tkac 8cc532
* Tue Aug 03 2010 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-19
Adam Tkac 8cc532
- rebuild against new bind
Adam Tkac 8cc532
Adam Tkac a22adf
* Fri Jul 02 2010 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-18
Adam Tkac a22adf
- rebuild to ensure devel branch doesn't have lower NVR than stable branch
Adam Tkac a22adf
Adam Tkac 984693
* Mon May 31 2010 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-17
Adam Tkac 984693
- rebuild against new bind
Adam Tkac 984693
Adam Tkac 97f253
* Thu Jan 28 2010 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-16
Adam Tkac 97f253
- rebuild against new bind
Adam Tkac 97f253
Adam Tkac 850a7b
* Tue Dec 15 2009 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-15
Adam Tkac 850a7b
- rebuild against new bind
Adam Tkac 850a7b
Adam Tkac bdad8a
* Tue Dec 01 2009 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-14
Adam Tkac bdad8a
- rebuild against new bind
Adam Tkac bdad8a
Adam Tkac 54ae4a
* Thu Nov 26 2009 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-13
Adam Tkac 54ae4a
- rebuild against new bind
Adam Tkac 54ae4a
e0940c
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.0.1.0-12
e0940c
- rebuilt with new openssl
e0940c
ac8b74
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.0-11
ac8b74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ac8b74
Adam Tkac 07f117
* Fri Jun 19 2009 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-10
Adam Tkac 07f117
- rebuild again
Adam Tkac 07f117
Adam Tkac 3a0197
* Wed Jun 17 2009 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-9
Adam Tkac 3a0197
- rebuild against new bind-libs
Adam Tkac 3a0197
Adam Tkac 48071d
* Mon Mar 30 2009 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-8
Adam Tkac 48071d
- rebuild against new bind-libs
Adam Tkac 48071d
80ca2f
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.0-7
80ca2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
80ca2f
0dfb8b
* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> - 1.0.1.0-6
0dfb8b
- rebuild with new openssl
c3d67d
- seems to require libxml2-devel to build now
0dfb8b
Adam Tkac 465012
* Mon Nov 10 2008 Adam Tkac <atkac redhat="" com=""> - 1.0.1.0-5
Adam Tkac 465012
- rebuild against new bind-libs
Adam Tkac 465012
e1d140
* Fri Oct 31 2008 Paul Wouters <paul@xelerance.com> - 1.0.1.0-4
978881
- Changed license from BSD to MIT
978881
978881
* Wed Oct 22 2008 Paul Wouters <paul@xelerance.com> - 1.0.1.0-3
978881
- Fixed missing buildrequires
978881
- Pass proper CFLAGS to gcc
978881
- Fix Group
978881
978881
* Tue Oct 21 2008 Paul Wouters <paul@xelerance.com> - 1.0.1.0-2
978881
- Fixed libpcap vs libcap confusion
978881
978881
* Mon Oct 20 2008 Paul Wouters <paul@xelerance.com> - 1.0.1.0-1
978881
- Initial Fedora package