Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 23:10:54 +0200
From:      Florent Thoumie <flz@xbsd.org>
To:        jimmie james <h2g2_jimmiejaz@yahoo.com>
Cc:        freebsd-ports-bugs@freebsd.org
Subject:   Re: security/nikto doesn't install docs.
Message-ID:  <20040520211053.GA25199@gw.xbsd.org>
In-Reply-To: <20040520202301.87072.qmail@web13421.mail.yahoo.com>
References:  <20040520202301.87072.qmail@web13421.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 20, 2004 at 01:23:01PM -0700,
jimmie james <h2g2_jimmiejaz@yahoo.com> wrote:

> The Nikto tarball has docs. that don't get installed,
> I hope I did the diff's right, I included the
> pkg-plist to make sure they're removed when/if
> deinstalling.
>  
> 
> *** Makefile.orig       Thu May 20 01:48:36 2004
> --- Makefile    Thu May 20 01:54:21 2004
> ***************
> *** 27,32 ****
> --- 27,37 ----
>         @${REINPLACE_CMD} -e
> "s|/usr/bin/nmap|${PREFIX}/bin/nmap|g"
> ${WRKSRC}/config.txt
>         @${REINPLACE_CMD} -e
> "s|/usr/local/nikto|${PREFIX}/share/nikto|g"
> ${WRKSRC}/config.txt
>         @${INSTALL_DATA} ${WRKSRC}/config.txt
> ${PREFIX}/etc/nikto/
> +       @${INSTALL_DATA}
> ${WRKSRC}/docs/nikto_usage.txt ${PREFIX}/etc/nikto/
> +       @${INSTALL_DATA}
> ${WRKSRC}/docs/nikto_usage.html ${PREFIX}/etc/nikto/
> +       @${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.txt
> ${PREFIX}/etc/nikto/
> +       @${INSTALL_DATA} ${WRKSRC}/docs/LICENSE.txt
> ${PREFIX}/etc/nikto/
> +       @${INSTALL_DATA}
> ${WRKSRC}/docs/README_plugins.txt ${PREFIX}/etc/nikto/
>         @${MKDIR} ${PREFIX}/share/nikto/ && ${CHMOD}
> 755 ${PREFIX}/share/nikto/
>         @for i in `${LS} ${WRKSRC}/plugins/` ; \
>         do \
> 
> 
> *** pkg-plist.orig      Thu May 20 01:54:28 2004
> --- pkg-plist   Thu May 20 02:04:28 2004
> ***************
> *** 1,5 ****
> --- 1,10 ----
>   bin/nikto
>   etc/nikto/config.txt
> + etc/nikto/nikto_usage.txt
> + etc/nikto/nikto_usage.html
> + etc/nikto/CHANGES.txt
> + etc/nikto/LICENSE.txt
> + etc/nikto/README_plugins.txt
>   share/nikto/nikto_mutate.plugin
>   share/nikto/nikto_outdated.plugin
>   share/nikto/nikto_apacheusers.plugin

	You should have install these docs in ${PREFIX}/share/doc/nikto.

	Check out this link :

	http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-documentation.html

	It suggests using %%DOCSDIR%% for these kind of files.

	To reduce the amount of lines, you can use .for loops.

-- 
Florent Thoumie                        Epita SRS Promo 2005
web  : http://xbsd.org/~flz            Xbsd.org System Administrator
mail : flz@xbsd.org                    work : (33 1) xxxxxxxx
alt  : flz@epita.fr                    home : (33 1) 34162095
gpg  : 1024D/ADF908C1                  cell : (33 6) 76088660



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040520211053.GA25199>