Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > d71c1bca3f8ab1f947ef4f7d99079301 > files > 2

blindelephant-1.0-1.5.9.mga5.src.rpm

%define snapshot 5

Name:		blindelephant
Version:	1.0
Release:	%mkrel 1.%{snapshot}.9
Summary:	Web Application Finger Printer
License:	LGPL
Group:		Security
URL:		http://blindelephant.sourceforge.net/
Source:     %{name}-%{snapshot}.tar.bz2
BuildArch:	noarch

%description
The BlindElephant Web Application Fingerprinter attempts to discover the
version of a (known) web application by comparing static files at known
locations against precomputed hashes for versions of those files in all all
available releases. The technique is fast, low-bandwidth, non-invasive,
generic, and highly automatable.

%prep
%setup -q -n %{name}

%build
cd src
python setup.py build

%install
pushd src
python setup.py install --root=%{buildroot}
popd

install -d -m 755 %{buildroot}%{_bindir}
cat > %{buildroot}%{_bindir}/blindelephant <<EOF
#!/bin/sh
python %{py_sitedir}/blindelephant/BlindElephant.py $@
EOF
chmod +x %{buildroot}%{_bindir}/blindelephant

install -d -m 755 %{buildroot}%{_datadir}/%{name}/shell-scripts
install -m 755 tools/shell-scripts/* \
    %{buildroot}%{_datadir}/%{name}/shell-scripts/

%files
%doc README doc/*
%{_bindir}/blindelephant
%{py_sitedir}/blindelephant
%{py_sitedir}/BlindElephant-1.0-py%{pyver}.egg-info
%{_datadir}/%{name}





%changelog
* Wed Oct 15 2014 umeabot <umeabot> 1.0-1.5.9.mga5
+ Revision: 749783
- Second Mageia 5 Mass Rebuild

* Sat Sep 27 2014 tv <tv> 1.0-1.5.8.mga5
+ Revision: 725982
- rebuild for missing pythoneggs deps

* Tue Sep 16 2014 umeabot <umeabot> 1.0-0.5.8.mga5
+ Revision: 678173
- Mageia 5 Mass Rebuild

* Sat May 31 2014 pterjan <pterjan> 1.0-0.5.7.mga5
+ Revision: 628116
- Rebuild for new Python

* Tue Oct 22 2013 umeabot <umeabot> 1.0-0.5.6.mga4
+ Revision: 542495
- Mageia 4 Mass Rebuild

* Mon Oct 14 2013 pterjan <pterjan> 1.0-0.5.5.mga4
+ Revision: 497653
- Rebuild to add different pythonegg provides for python 2 and 3

* Fri Jan 11 2013 umeabot <umeabot> 1.0-0.5.4.mga3
+ Revision: 346916
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Oct 16 2012 guillomovitch <guillomovitch> 1.0-0.5.3.mga3
+ Revision: 307156
- switch to Security group

* Fri Jul 29 2011 guillomovitch <guillomovitch> 1.0-0.5.3.mga2
+ Revision: 130395
- fix wrapper

* Wed Jul 20 2011 guillomovitch <guillomovitch> 1.0-0.5.2.mga2
+ Revision: 127283
- fix group

* Tue Jul 19 2011 guillomovitch <guillomovitch> 1.0-0.5.1.mga2
+ Revision: 126464
- imported package blindelephant


* Wed May 18 2011 Guillaume Rousse <guillomovitch@mandriva.org> 1.0-0.5.1mdv2011.0
+ Revision: 676002
- import blindelephant