From 978881fae6060627e63516deab257fd9beb9a198 Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Nov 01 2008 16:51:55 +0000 Subject: initial build --- diff --git a/.cvsignore b/.cvsignore index e69de29..a72546f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +dnsperf-src-1.0.1.0-1.tar.gz diff --git a/dnsperf.spec b/dnsperf.spec new file mode 100644 index 0000000..0bf984b --- /dev/null +++ b/dnsperf.spec @@ -0,0 +1,56 @@ +Summary: Benchmarking authorative and recursing DNS servers +Name: dnsperf +Version: 1.0.1.0 +Release: 4%{?dist} +License: MIT +Url: http://www.nominum.com/services/measurement_tools.php +Source: ftp://ftp.nominum.com/pub/nominum/dnsperf/%{version}/dnsperf-src-%{version}-1.tar.gz +Group: Applications/Internet +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: bind-devel >= 9.3.0, libcap-devel, bzip2, openssl-devel +BuildRequires: krb5-devel +Requires: gnuplot pcapy python-dns + +%description +This is dnsperf, a collection of DNS server performance testing tools. +For more information, see the dnsperf(1) and resperf(1) man pages. + +%prep +%setup -q -n dnsperf-src-%{version}-1 +%configure + +%build +%{__make} CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} + +%install +rm -rf %{buildroot} +%{__make} DESTDIR=%{buildroot} install +bzip2 -9 examples/queryfile-example-100thousand +echo "For a better test, use ftp://ftp.nominum.com/pub/nominum/dnsperf/data/queryfile-example-3million.gz" > examples/README.largetest +install contrib/queryparse/queryparse %{buildroot}/%{_bindir} +install -D -m 644 contrib/queryparse/queryparse.1 %{buildroot}/%{_mandir}/man1/queryparse.1 +gzip %{buildroot}/%{_mandir}/man1/queryparse.1 + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root,-) +%doc README RELEASE_NOTES doc examples/* +%{_bindir}/* +%{_mandir}/*/* + +%changelog +* Wed Oct 31 2008 Paul Wouters - 1.0.1.0-4 +- Changed license from BSD to MIT + +* Wed Oct 22 2008 Paul Wouters - 1.0.1.0-3 +- Fixed missing buildrequires +- Pass proper CFLAGS to gcc +- Fix Group + +* Tue Oct 21 2008 Paul Wouters - 1.0.1.0-2 +- Fixed libpcap vs libcap confusion + +* Mon Oct 20 2008 Paul Wouters - 1.0.1.0-1 +- Initial Fedora package diff --git a/import.log b/import.log new file mode 100644 index 0000000..fae5d6e --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +dnsperf-1_0_1_0-4_fc9:HEAD:dnsperf-1.0.1.0-4.fc9.src.rpm:1225557844 diff --git a/sources b/sources index e69de29..20d9105 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +008fa4b10d24ab977482755361104554 dnsperf-src-1.0.1.0-1.tar.gz