Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208165 - net-analyzer/nikto-2.03 version bump
Summary: net-analyzer/nikto-2.03 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Perl team
URL: http://www.cirt.net/code/nikto.shtml
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-30 12:37 UTC by Frank Breedijk
Modified: 2009-03-20 16:02 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Nikto 2.02 ebuild (nikto-2.02.ebuild,1.38 KB, text/plain)
2008-01-30 12:56 UTC, Frank Breedijk
Details
Nikto 2.03 ebuild (nikto-2.03.ebuild,1.38 KB, text/plain)
2008-09-29 04:59 UTC, Frank Breedijk
Details
nikto-2.03.ebuild (nikto-2.03.ebuild,1.24 KB, text/plain)
2009-01-23 21:53 UTC, Santiago M. Mola (RETIRED)
Details
nikto-2.03 with fixed ssl (nikto-2.03-r2.ebuild,1.25 KB, text/plain)
2009-03-20 01:56 UTC, Anton Bolshakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Breedijk 2008-01-30 12:37:10 UTC
A new version of Nikto is available, please version bump

Reproducible: Always

Steps to Reproduce:
1. emerge nikto
2. nikto 2.01 is emerged

Actual Results:  
nikto 2.01 is emerged

Expected Results:  
nikto 2.02 should have emerged
Comment 1 Frank Breedijk 2008-01-30 12:56:20 UTC
Created attachment 142197 [details]
Nikto 2.02 ebuild

Updated ebuild working on amd64 and x86
Comment 2 Jesse Adelman 2008-09-26 00:17:43 UTC
nikto 2.03 is out. Thanks!
Comment 3 Frank Breedijk 2008-09-29 04:59:39 UTC
Created attachment 166727 [details]
Nikto 2.03 ebuild

I have vcreated a nikto-2.03 ebuild and provided it to the sectools overlay (http://gentoo.o0o.nu)
Comment 4 Santiago M. Mola (RETIRED) gentoo-dev 2009-01-23 21:53:51 UTC
Created attachment 179479 [details]
nikto-2.03.ebuild

Updated ebuild. Updates sed calls in src_unpack (I think kbase is no longer needed), remove .svn cruft and simplify src_install.

By the way, there are some more path mess, for example:

plugins/nikto_core.plugin:   open(OUT,">$NIKTO{plugindir}/../docs/CHANGES.txt")

When doing nikto -update, it'll try to write to /usr/share/nikto/plugins/../docs/CHANGES.txt which doesn't exist. Although, I don't know if that's worth fixing, since leaving cruft on /usr/share/doc/${PF} aftear each ebuild bump may be worse.
Comment 5 David Lodge 2009-01-25 10:00:54 UTC
I'm the current maintainer for Nikto (Sullo can't do it any more).

I would like to move Nikto to a more LSB friendly type file structure anyway (as Ubuntu, Gentoo, Fedora and BSD packages move the files around a lot), so I'm happy to take suggestions as the best way to fix this upstream.

My initial thought is to set up a new $NIKTO{docpath} variable to point the way to docs. Unless somebody has a better suggestion. I've raised this in the nikto bug tracker as bug #72:
http://trac2.assembla.com/Nikto_2/ticket/72

Just a couple of notes for the package:
* If you're using nikto 2.03, ensure that you have a nikto 2.03 config file, don't use an old one or nikto will fail to find HTTP hosts.
* I plan, in the near future to release nikto 2.10; this is probably a couple of months away.
Comment 6 David Lodge 2009-02-02 18:43:11 UTC
The latest SVN version of nikto has the directories moved out to the nikto.conf file (so this'll be fixed in version 2.10).

All you need to alter is the config file and the location of it (by default, one of /etc/nikto.conf, ~/nikto.conf and ./nikto.conf)
Comment 7 Anton Bolshakov 2009-02-10 23:33:01 UTC
Hi David,

I afraid the path in a config file won't help much.
Thus, for example, the current path of my installation is /usr/share/doc/nikto-2.03-r1/CHANGES.txt.bz2. Please note it's bz-ed as well.

I suggest to have have two separate log files: one for the main application and one for plugins in the same directory with plugins itself. I think it would make sense if the "update" option would touch files in one directory (currently /usr/share/nikto/plugins/) only.

As a main problem I see "nikto_core.plugin" file which is not really a plugin. You might want to merge it the the main nikto script and release a new version with the proper changelog file if you need to update it.

Thank you.

ps. I'm a bit late with the suggestion, sorry about it.
Comment 8 David Lodge 2009-02-11 22:17:36 UTC
You're echoing my goals for moving nikto in a more package orientated entity. Unfortunately most of the stuff in nikto_core is quite tied in with the code, so this'll be migrated (a lot into a separate perl module), but this won't happen until I've had time to do some real development work on it, so at least 6 months away.

Having a separate change log for the plugins makes sense, though placing this with the plugins breaks the old mixing code and documentation rule... I need to think about this fully.

One thing though: Nikto can't be expected to cope with packages changing files (e.g. bziping them). I'll try working with the different distribution maintainers, but if each has different standards one will end up with large amounts of code checking for every possible change that package makers can make.
Comment 9 el 2009-03-20 01:19:43 UTC
The current ebuild download http://www.cirt.net/source/nikto/ARCHIVE/nikto-2.03.tar.bz2 but that package still has broken SSL support (see http://trac2.assembla.com/Nikto_2/ticket/55).

Either the archive needs updating or the ebuild should get http://www.cirt.net/source/nikto/nikto-2.03.tar.bz2 which is fixed.
Comment 10 Anton Bolshakov 2009-03-20 01:56:42 UTC
Created attachment 185591 [details]
nikto-2.03 with fixed ssl

I'd say the upsteam need to be more consistent:
- don't archive current version;
- don't host different sources with the same name
- tar ball should have name+version as a first level directory (this ebuild runs "cd nikto" every time)

ps. Make sure you remove /usr/portage/distfiles/nikto* before running "ebuild nikto-203.ebuild manifest", otherwise you'll end up with an error.
Comment 11 Anton Bolshakov 2009-03-20 02:20:14 UTC
Actually, my ebuild will be broken after 2.04 release, so previous ebuild with "ARCHIVE" source path + "-update" might be a better solution.
We could have both paths in the ebuild but sources are different.. brr..

David: I think this is an indirect "echo" of having nikto_core.plugin ;-)

Comment 12 Tobias Scherbaum (RETIRED) gentoo-dev 2009-03-20 16:02:51 UTC
(In reply to comment #11)
> Actually, my ebuild will be broken after 2.04 release, so previous ebuild with
> "ARCHIVE" source path + "-update" might be a better solution.
> We could have both paths in the ebuild but sources are different.. brr..
> 
> David: I think this is an indirect "echo" of having nikto_core.plugin ;-)
> 
Thanks, i added 2.0.3.