security/nikto doesn't install docs.

Florent Thoumie flz at xbsd.org
Thu May 20 21:10:53 UTC 2004


On Thu, May 20, 2004 at 01:23:01PM -0700,
jimmie james <h2g2_jimmiejaz at 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 at xbsd.org                    work : (33 1) xxxxxxxx
alt  : flz at epita.fr                    home : (33 1) 34162095
gpg  : 1024D/ADF908C1                  cell : (33 6) 76088660



More information about the freebsd-ports-bugs mailing list