<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ee29ccb6f8d63715864cba36a584ba414250174d">https://github.com/macports/macports-ports/commit/ee29ccb6f8d63715864cba36a584ba414250174d</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ee29ccb6f8d nikto: 2.5.0, take maintainership
</span>ee29ccb6f8d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ee29ccb6f8d63715864cba36a584ba414250174d
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Thu Apr 4 02:48:34 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> nikto: 2.5.0, take maintainership
</span>---
www/nikto/Portfile | 36 +++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/nikto/Portfile b/www/nikto/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ead004e89a1..c0d850705f1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/nikto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/nikto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +1,14 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name nikto
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.1.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup sullo nikto 2.5.0
</span> categories www security
platforms any
supported_archs noarch
license GPL-2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {i0ntempest @i0ntempest} openmaintainer
</span> homepage http://cirt.net/nikto2
description Web server scanner
long_description Nikto is an Open Source (GPL) web server scanner \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,35 +22,37 @@ long_description Nikto is an Open Source (GPL) web server scanner \
</span> options, and will attempt to identify installed web \
servers and software. Scan items and plugins are \
frequently updated and can be automatically updated.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://cirt.net/nikto/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 ba392c5301ab01fc44c63c62fc519b92c06f60b8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 65b99c1fdec14d1d5e7cbc964f70fce162cbec50aee878e1500e2d22df079b34
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 6f36a161fe9bf7bfbb267dba38629eb008ba977f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 fb1b470879fb958adf9a53d013b47eba827a366f62715b7a3e44df058d36f4bc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 435932
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_run port:perl5
patchfiles patch-nikto.conf.diff
use_configure no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+build.dir ${worksrcpath}/program
</span>
build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/etc/nikto.conf|${prefix}/etc/nikto/nikto.conf|g" ${worksrcpath}/nikto.pl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl|" ${worksrcpath}/nikto.pl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/nikto.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/etc/nikto.conf|${prefix}/etc/nikto/nikto.conf|g" ${build.dir}/nikto.pl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|#!/usr/bin/env perl|#!${prefix}/bin/perl|" ${build.dir}/nikto.pl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX@|${prefix}|g" ${build.dir}/nikto.conf.default
</span> }
destroot {
xinstall -d ${destroot}${prefix}/etc/nikto
xinstall -d ${destroot}${prefix}/share/nikto
<span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/plugins ${destroot}${prefix}/share/${name}/plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/databases ${destroot}${prefix}/share/${name}/databases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/templates ${destroot}${prefix}/share/${name}/templates
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/docs ${destroot}${prefix}/share/${name}/docs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall ${worksrcpath}/nikto.pl ${destroot}${prefix}/bin/nikto
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${worksrcpath}/nikto.conf ${destroot}${prefix}/etc/nikto/nikto.conf.sample
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${build.dir}/plugins ${destroot}${prefix}/share/${name}/plugins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${build.dir}/databases ${destroot}${prefix}/share/${name}/databases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${build.dir}/templates ${destroot}${prefix}/share/${name}/templates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${build.dir}/docs ${destroot}${prefix}/share/${name}/docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall ${build.dir}/nikto.pl ${destroot}${prefix}/bin/nikto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${build.dir}/nikto.conf.default ${destroot}${prefix}/etc/nikto
</span> }
post-activate {
if {![file exists ${prefix}/etc/nikto/nikto.conf]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${prefix}/etc/nikto/nikto.conf.sample ${prefix}/etc/nikto/nikto.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${prefix}/etc/nikto/nikto.conf.default ${prefix}/etc/nikto/nikto.conf
</span> }
}
</pre><pre style='margin:0'>
</pre>