Репозитории ALT
S: | 2.1.6-alt1.git6f8c472 |
5.1: | 2.1.3-alt0.M51.1 |
4.1: | 1.36-alt3 |
4.0: | 1.36-alt1 |
Группа :: Безопасность/Сети
Пакет: nikto
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# SPEC file for nikto web server scanner
Name: nikto
Version: 2.1.6
Release: alt1.git6f8c472
Epoch: 1
Summary: web server vulnerability scaner
Summary(ru_RU.UTF-8): я│п╨п╟п╫п╣я─ я┐я▐п╥п╡п╦п╪п╬я│я┌п╣п╧ п╡п╣п╠-я│п╣я─п╡п╣я─п╬п╡
License: %gpl2only
Group: Security/Networking
#URL: http://www.cirt.net/nikto2
URL: https://github.com/sullo/nikto
Packager: Nikolay A. Fetisov <naf at altlinux.org>
Source0: %name-%version.tar
Patch0: %name-%version-%release.patch
BuildArch: noarch
BuildRequires(pre): rpm-build-licenses
AutoReqProv: perl, yes
Requires: perl-Net-SSLeay openssl perl-bignum
%description
Nikto is an Open Source (GPL) web server scanner which performs
comprehensive tests against web servers for multiple items,
including over 3500 potentially dangerous files/CGIs, versions
on over 900 servers, and version specific problems on over 250
servers.
%description -l ru_RU.UTF-8
Nikto - я█я┌п╬ я│п╨п╟п╫п╣я─ п╡п╣п╠-я│п╣я─п╡п╣я─п╬п╡, п╨п╬я┌п╬я─я▀п╧ п©я─п╬п╦п╥п╡п╬п╢п╦я┌ п©п╬п╢я─п╬п╠п╫п╬п╣
я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦п╣ п╡п╣п╠-я│п╣я─п╡п╣я─п╬п╡ п©п╬ я├п╣п╩п╬п╪я┐ я─я▐п╢я┐ п©п╟я─п╟п╪п╣я┌я─п╬п╡, п╡п╨п╩я▌я┤п╟я▐
п©я─п╬п╡п╣я─п╨я┐ п╫п╟ п╫п╟п╩п╦я┤п╦п╣ я│п╡я▀я┬п╣ 3500 п©п╬я┌п╣п╫я├п╦п╟п╩я▄п╫п╬ п╬п©п╟я│п╫я▀я┘ я└п╟п╧п╩п╬п╡ п╦
CGI-я│п╨я─п╦п©я┌п╬п╡ п╢п╩я▐ п╠п╬п╩п╣п╣ я┤п╣п╪ 900 п╡п╣я─я│п╦п╧ я│п╣я─п╡п╣я─п╬п╡, п╟ я┌п╟п╨п╤п╣ п╢я─я┐пЁп╦я┘
п©я─п╬п╠п╩п╣п╪, я│п©п╣я├п╦я└п╦я┤п╫я▀я┘ п╢п╩я▐ п╠п╬п╩п╣п╣ я┤п╣п╪ 250 п╡п╣я─я│п╦п╧ я│п╣я─п╡п╣я─п╬п╡.
%define execdir %_datadir/%name
%define _perl_lib_path %execdir/plugins
%prep
%setup
%patch0 -p1
%build
pushd program
# Fix location of config file
sed -e 's at "nikto.conf" at "%_sysconfdir/%name/nikto.conf" at ' -i nikto.pl
# Fix pathes in config.txt
sed -e 's at NIKTODTD=.*/nikto.dtd at NIKTODTD=%_sysconfdir/%name/nikto.dtd at ' -i nikto.conf
sed -e 's at # EXECDIR=.*/nikto at EXECDIR=%execdir at ' -i nikto.conf
sed -e 's at # PLUGINDIR=.*/plugins at # PLUGINDIR=%execdir/plugins at ' -i nikto.conf
sed -e 's at # DBDIR=.*/databases at # DBDIR=%execdir/databases at ' -i nikto.conf
sed -e 's at # TEMPLATEDIR=.*/templates at # TEMPLATEDIR=%execdir/templates at ' -i nikto.conf
sed -e 's at # DOCDIR=.*/docs at # DOCDIR=%execdir/docs at ' -i nikto.conf
popd
%install
pushd program
install -m 0755 -d -- %buildroot%_sysconfdir/%name
install -m 0644 -- nikto.conf %buildroot%_sysconfdir/%name/nikto.conf
install -m 0644 -- docs/%name.dtd %buildroot%_sysconfdir/%name/%name.dtd
install -m 0755 -d -- %buildroot/%_bindir
install -D -m 0755 -- %name.pl %buildroot%_bindir/%name
install -m 0755 -d -- %buildroot/%execdir/plugins
install -m 0644 -- plugins/* %buildroot%execdir/plugins/
install -m 0755 -d -- %buildroot/%execdir/templates
install -m 0644 -- templates/* %buildroot%execdir/templates/
install -m 0755 -d -- %buildroot/%execdir/databases
install -m 0644 -- databases/* %buildroot%execdir/databases/
popd
%files
%doc README.md program/docs/CHANGES.txt program/docs/LICENSE.txt program/docs/nikto_manual.html
%dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/nikto.conf
%config %_sysconfdir/%name/%name.dtd
%_bindir/%name
%dir %_datadir/%name
%_datadir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: nikto
Version: 2.1.6
Release: alt1.git6f8c472
Epoch: 1
Summary: web server vulnerability scaner
Summary(ru_RU.UTF-8): я│п╨п╟п╫п╣я─ я┐я▐п╥п╡п╦п╪п╬я│я┌п╣п╧ п╡п╣п╠-я│п╣я─п╡п╣я─п╬п╡
License: %gpl2only
Group: Security/Networking
#URL: http://www.cirt.net/nikto2
URL: https://github.com/sullo/nikto
Packager: Nikolay A. Fetisov <naf at altlinux.org>
Source0: %name-%version.tar
Patch0: %name-%version-%release.patch
BuildArch: noarch
BuildRequires(pre): rpm-build-licenses
AutoReqProv: perl, yes
Requires: perl-Net-SSLeay openssl perl-bignum
%description
Nikto is an Open Source (GPL) web server scanner which performs
comprehensive tests against web servers for multiple items,
including over 3500 potentially dangerous files/CGIs, versions
on over 900 servers, and version specific problems on over 250
servers.
%description -l ru_RU.UTF-8
Nikto - я█я┌п╬ я│п╨п╟п╫п╣я─ п╡п╣п╠-я│п╣я─п╡п╣я─п╬п╡, п╨п╬я┌п╬я─я▀п╧ п©я─п╬п╦п╥п╡п╬п╢п╦я┌ п©п╬п╢я─п╬п╠п╫п╬п╣
я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦п╣ п╡п╣п╠-я│п╣я─п╡п╣я─п╬п╡ п©п╬ я├п╣п╩п╬п╪я┐ я─я▐п╢я┐ п©п╟я─п╟п╪п╣я┌я─п╬п╡, п╡п╨п╩я▌я┤п╟я▐
п©я─п╬п╡п╣я─п╨я┐ п╫п╟ п╫п╟п╩п╦я┤п╦п╣ я│п╡я▀я┬п╣ 3500 п©п╬я┌п╣п╫я├п╦п╟п╩я▄п╫п╬ п╬п©п╟я│п╫я▀я┘ я└п╟п╧п╩п╬п╡ п╦
CGI-я│п╨я─п╦п©я┌п╬п╡ п╢п╩я▐ п╠п╬п╩п╣п╣ я┤п╣п╪ 900 п╡п╣я─я│п╦п╧ я│п╣я─п╡п╣я─п╬п╡, п╟ я┌п╟п╨п╤п╣ п╢я─я┐пЁп╦я┘
п©я─п╬п╠п╩п╣п╪, я│п©п╣я├п╦я└п╦я┤п╫я▀я┘ п╢п╩я▐ п╠п╬п╩п╣п╣ я┤п╣п╪ 250 п╡п╣я─я│п╦п╧ я│п╣я─п╡п╣я─п╬п╡.
%define execdir %_datadir/%name
%define _perl_lib_path %execdir/plugins
%prep
%setup
%patch0 -p1
%build
pushd program
# Fix location of config file
sed -e 's at "nikto.conf" at "%_sysconfdir/%name/nikto.conf" at ' -i nikto.pl
# Fix pathes in config.txt
sed -e 's at NIKTODTD=.*/nikto.dtd at NIKTODTD=%_sysconfdir/%name/nikto.dtd at ' -i nikto.conf
sed -e 's at # EXECDIR=.*/nikto at EXECDIR=%execdir at ' -i nikto.conf
sed -e 's at # PLUGINDIR=.*/plugins at # PLUGINDIR=%execdir/plugins at ' -i nikto.conf
sed -e 's at # DBDIR=.*/databases at # DBDIR=%execdir/databases at ' -i nikto.conf
sed -e 's at # TEMPLATEDIR=.*/templates at # TEMPLATEDIR=%execdir/templates at ' -i nikto.conf
sed -e 's at # DOCDIR=.*/docs at # DOCDIR=%execdir/docs at ' -i nikto.conf
popd
%install
pushd program
install -m 0755 -d -- %buildroot%_sysconfdir/%name
install -m 0644 -- nikto.conf %buildroot%_sysconfdir/%name/nikto.conf
install -m 0644 -- docs/%name.dtd %buildroot%_sysconfdir/%name/%name.dtd
install -m 0755 -d -- %buildroot/%_bindir
install -D -m 0755 -- %name.pl %buildroot%_bindir/%name
install -m 0755 -d -- %buildroot/%execdir/plugins
install -m 0644 -- plugins/* %buildroot%execdir/plugins/
install -m 0755 -d -- %buildroot/%execdir/templates
install -m 0644 -- templates/* %buildroot%execdir/templates/
install -m 0755 -d -- %buildroot/%execdir/databases
install -m 0644 -- databases/* %buildroot%execdir/databases/
popd
%files
%doc README.md program/docs/CHANGES.txt program/docs/LICENSE.txt program/docs/nikto_manual.html
%dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/nikto.conf
%config %_sysconfdir/%name/%name.dtd
%_bindir/%name
%dir %_datadir/%name
%_datadir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь