From f86736ab5e5aef05e636271e314c323c836b8747 Mon Sep 17 00:00:00 2001 From: Mark McKinstry Date: Apr 06 2011 01:47:03 +0000 Subject: Initial import (#672418). --- diff --git a/fpdns.spec b/fpdns.spec new file mode 100644 index 0000000..66342d3 --- /dev/null +++ b/fpdns.spec @@ -0,0 +1,52 @@ +Name: fpdns +Version: 0.9.3 +Release: 1%{?dist} +Summary: Fingerprint DNS servers +License: BSD +Group: Development/Libraries +URL: http://code.google.com/p/fpdns/ +Source0: http://fpdns.googlecode.com/files/Net-DNS-Fingerprint-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Net::DNS) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +fpdns is a program that remotely determines DNS server versions. It does this +by sending a series of borderline DNS queries which are compared against a +table of responses and server versions. + +%prep +%setup -q -n Net-DNS-Fingerprint-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc LICENSE +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_bindir}/fpdns + +%changelog +* Mon Nov 22 2010 Mark McKinstry 0.9.3-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..4828554 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +16f1fbc9e5c8b935a0a48a509dc58899 Net-DNS-Fingerprint-0.9.3.tar.gz