Bug 149769 - [PATCH] security/nikto don't build depends properly - p5-Net-SSLeay and nmap options
Summary: [PATCH] security/nikto don't build depends properly - p5-Net-SSLeay and nmap...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: niels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 15:10 UTC by Anderson Eduardo
Modified: 2010-08-18 22:30 UTC (History)
0 users

See Also:


Attachments
file.diff (459 bytes, patch)
2010-08-18 15:10 UTC, Anderson Eduardo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anderson Eduardo 2010-08-18 15:10:04 UTC
Nikto don't build properly when filled options up p5-Net-SSLeay and nmap, due to the incorrect word "depeneds" in the Makefile.

overlabs# cat Makefile | grep DEPENEDS
RUN_DEPENEDS+=  p5-Net-SSLeay>0:${PORTSDIR}/security/p5-Net-SSLeay
RUN_DEPENEDS+=  nmap:${PORTSDIR}/security/nmap
overlabs#

Fix: Patch attached with submission follows:
How-To-Repeat: I filled up the options nmap and p5-Net-SSLeay in the copiling time.

overlabs# make install clean
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for nikto-2.1.2,1
===>  Extracting for nikto-2.1.2,1
=> MD5 Checksum OK for nikto-2.1.2.tar.bz2.
=> SHA256 Checksum OK for nikto-2.1.2.tar.bz2.
===>  Patching for nikto-2.1.2,1
===>  Configuring for nikto-2.1.2,1
===>  Installing for nikto-2.1.2,1
===>   nikto-2.1.2,1 depends on file: /usr/local/bin/perl5.10.1 - found
===>   Generating temporary packing list
===>  Checking if security/nikto already installed
install  -o root -g wheel -m 555 /usr/ports/security/nikto/work/nikto-2.1.2/nikto.pl /usr/local/bin/nikto
install  -o root -g wheel -m 444 /usr/ports/security/nikto/work/nikto-2.1.2/nikto.conf /usr/local/etc/nikto.conf.sample
install  -o root -g wheel -m 444 /usr/ports/security/nikto/work/nikto-2.1.2/docs/nikto.1 /usr/local/man/man1/
[ -f /usr/local/etc/nikto.conf ] ||  install  -o root -g wheel -m 444 /usr/ports/security/nikto/work/nikto-2.1.2/nikto.conf /usr/local/etc/nikto.conf
install  -o root -g wheel -m 444 /usr/ports/security/nikto/work/nikto-2.1.2/plugins/LW2.pm /usr/local/share/nikto/plugins
install  -o root -g wheel -m 444 /usr/ports/security/nikto/work/nikto-2.1.2/plugins/db_* /usr/local/share/nikto/plugins
install  -o root -g wheel -m 444 /usr/ports/security/nikto/work/nikto-2.1.2/plugins/*.plugin /usr/local/share/nikto/plugins
install  -o root -g wheel -m 444 /usr/ports/security/nikto/work/nikto-2.1.2/templates/*.tmpl /usr/local/share/nikto/templates
install  -o root -g wheel -m 444 /usr/ports/security/nikto/work/nikto-2.1.2/docs/CHANGES.txt /usr/local/share/doc/nikto
install  -o root -g wheel -m 444 /usr/ports/security/nikto/work/nikto-2.1.2/docs/LICENSE.txt /usr/local/share/doc/nikto
install  -o root -g wheel -m 444 /usr/ports/security/nikto/work/nikto-2.1.2/docs/nikto.dtd /usr/local/share/doc/nikto
install  -o root -g wheel -m 444 /usr/ports/security/nikto/work/nikto-2.1.2/docs/nikto_manual.html /usr/local/share/doc/nikto
===>   Compressing manual pages for nikto-2.1.2,1
===>   Registering installation for nikto-2.1.2,1
===>  Cleaning for nikto-2.1.2,1
overlabs#

As you can se above, the nikto don't use neither the nmap nor p5-Net-SSLeay.
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2010-08-18 16:27:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->niels

Over to maintainer
Comment 2 niels freebsd_committer freebsd_triage 2010-08-18 19:28:36 UTC
State Changed
From-To: open->analyzed


Thanks, will commit this asap 
Niels
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-08-18 22:21:02 UTC
niels       2010-08-18 21:20:40 UTC

  FreeBSD ports repository

  Modified files:
    security/nikto       Makefile 
  Log:
  - Removed nmap dependency
  - Fixed typo /RUN_DEPENEDS/RUN_DEPENDS/
  - Updated nikto.conf patching
  - Bumped PORTREVISION
  
  Approved by:    itetcu (mentor, implicit)
  Submitted by:   Anderson Eduardo <anderson@secover.com.br>
  PR:             ports/149769
  
  Revision  Changes    Path
  1.26      +11 -22    ports/security/nikto/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 niels freebsd_committer freebsd_triage 2010-08-18 22:21:48 UTC
State Changed
From-To: analyzed->closed

Committed with some other changes. Nmap is in fact no longer a dependency since 2.1.1 

Thanks for pointing this out! 
Niels