Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37764198
en ru br
ALT Linux repos
S:2.22-alt3

Group :: Networking/Other
RPM: dirb

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: dirb
Version: 2.22
Release: alt3

Summary: Web Content Scanner.

License: %gpl2only
Group: Networking/Other
Url: http://dirb.sourceforge.net/

Packager: Nikita Ermakov <arei at altlinux.org>

Source: %name-%version.tar
Patch1: Fix-DIRB-for-GCC-10.patch

BuildPreReq: rpm-build-licenses
BuildRequires: libcurl-devel autoconf

%description
DIRB is a Web Content Scanner. It looks for existing (and/or hidden)
Web Objects. It basically works by launching a dictionary based attack
against a web server and analizing the response.

%prep
%setup
%patch1 -p1

%build
%autoreconf
%configure
%make_build

%install
%makeinstall_std
mv %buildroot/%_bindir/gendict{,-dirb}
mkdir -p %buildroot/%_datadir/dirb/
find wordlists/ -maxdepth 1 -type f -exec install -m 0644 '{}' %buildroot/%_datadir/dirb/ \;
mkdir -p %buildroot/%_datadir/dirb/others
find wordlists/others -maxdepth 1 -type f -exec install -m 0644 '{}' %buildroot/%_datadir/dirb/others \;
mkdir -p %buildroot/%_datadir/dirb/stress
find wordlists/stress -maxdepth 1 -type f -exec install -m 0644 '{}' %buildroot/%_datadir/dirb/stress \;
mkdir -p %buildroot/%_datadir/dirb/vulns
find wordlists/vulns -maxdepth 1 -type f -exec install -m 0644 '{}' %buildroot/%_datadir/dirb/vulns \;

%files
%_bindir/*
%_man1dir/*
%dir %_datadir/%{name}
%dir %_datadir/%{name}/others
%dir %_datadir/%{name}/stress
%dir %_datadir/%{name}/vulns
%_datadir/%{name}/*
%doc LICENSE.txt README.txt docs/GENDICT.TXT docs/FAQ.txt docs/TRICKS.txt docs/CHANGES.txt

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin