Hello! I have attached an ebuild file for Cheops. Cheops is an "Open Source Network User Interface." It has an easy-to-use graphical overview and (best of all!) it provides a complete mapping of a network and its hosts. It does this by using scanning, os-guessing and snmp amongst others. Also it provides some kind of network monitoring, service detection and health-checking almost similar to much more complex tools like netsaint/nagios. More information can be found at the official homepage: www.marko.net/cheops.Unfortunately the project is currently seeking for a new maintainer. As category /net-misc/cheops might be a possible place... One last thing to note: I could not manage to get SNMP working, whenever I enabled snmp make failed. :( As I currently didn't find out what was wrong (I am using the latest ucd snmp 2.4.5, GCC 3.2 (i686) on Gentoo 1.4rc1) I just manually disabled the (optional) snmp support. This is a bit ugly but probably still better than nothing and a good place to start as besides that everything seems to work fine... Regards, Daniel Seyffer PS: Who needs SNMP anyway as it was and is a security risk. Ok, just kidding... ;-)
Created attachment 5014 [details] cheops-0.61.ebuild file The ebuild file for cheops.
Created attachment 5015 [details] a digest file for cheops. digest file...
Created attachment 5016 [details] cheops ChangeLog A ChangeLog proposal for the cheops ebuild...
I'll get cracking on this. I will even attempt to get SNMP working. Cheers, Dean (Alron)
Just a note to this bug. Cheops-ng is a full remake of cheops and is authored by Brent Priddy, the current maintainer. Homepage http://cheops-ng.sourceforge.net/
Created attachment 13336 [details] cheops-ng-0.1.12 ebuild Hi i just made this ebuild for cheops-ng. Is my first one so use with care. more info about cheops-ng http://cheops-ng.sourceforge.net Regards Andres
hi! alron: u want this? otherwise i could do it since i used cheops-ng before :) regards P.S.: just reassign if u don't want to ;)
I'm really anxious to see this ebuild implemented into portage...any plans on this happening? ~jeff~
i must have forgotten about that .. sorry my fault.. i'll do it asap ;) @alron: i reassign it if u r interested in doing it just assign it back
bump. Has this been forgotten? Open since 2002-10-25! :)
i did an updated (fixed) ebuild for this but i got some small problem with it atm .. i'll look into it another time .. btw .. cheops-ng seems more-or-less 'dead' .. i mailed one of the authors about it..
Going to reassign to netmon to possibly get more attention.
I tried to compile cheops-ng today, but I had some problems. Tried gcc versions 3.3.4 20040623 and 3.4.3-20050110. It configures fine, but apparently the code is broken...
Created attachment 54851 [details] cheops-ng-0.1.13.ebuild Hi all, This is the latest available version of cheops-ng. I've normally fixed the compilation problem, was due to gpl.c that is generated from COPYING file. It compiled fine with my gcc version 3.3.4 20040623. Regards, Michael
Hi Michael, Thanks, 0.1.13 compiled with gcc-3.3 for me. Very nifty tool. Anyway: it still will not compile with gcc-3.4. It would be nice if we could get it working with gcc-3.4 before adding it to the Portage tree or people will complain.
Hi Marcelo, I only have gcc-3.3 on my 2 running PC. I'll update my gcc tomorrow on a test machine and check to see what's bugging to post my results. See you
Created attachment 54882 [details] cheops.log -- gcc-3.4 Thanks Michael, I appreciate it.
Ok, found it. Need adns-gcc34.patch and some sed in some .c file to avoid the errors with gcc-3.4 Still work with gcc-3.3 HTH, Michael
Created attachment 54933 [details, diff] adns-gcc34.patch (took from net-libs/adns) Maybe a simple symlink could be done to the patch in net-libs/adns...
Created attachment 54935 [details] cheops-ng-0.1.13-r1.ebuild Hope you can release it now... Cheers, Michael
Very nice, thanks for all your work... But I'm still getting one problem: agent-nmapxml.c: In function `runNmapScan': agent-nmapxml.c:469: error: parse error before string constant make: *** [agent-nmapxml.o] Error 1 make: *** Waiting for unfinished jobs....
Hi Marcelo, Can you please edit this file and tell me if at agent-nmapxml.c:469 you see a "," at the end of __FUNCTION__ ? TIA Michael
Hi, This is the relevant line: DEBUG(printf(__FUNCTION__ "(): scanning %s using '%s'\n", ip, cmd));
Commenting it out // DEBUG(printf(__FUNCTION__ "(): scanning %s using '%s'\n", ip, cmd)); works, but new problems arise: gui-settings.c: In function `apply_the_setting': gui-settings.c:168: warning: passing arg 4 of `clog' discards qualifiers from pointer target type gui-settings.c:232: error: parse error before string constant gui-settings.c:253: error: parse error before string constant gui-settings.c: In function `apply_settings': gui-settings.c:350: error: parse error before string constant gui-settings.c:371: error: parse error before string constant make: *** [gui-settings.o] Error 1 make: *** Waiting for unfinished jobs.... gui-canvas.c: In function `page_object_create_group': gui-canvas.c:118: warning: passing arg 4 of `clog' discards qualifiers from pointer target type
Created attachment 54965 [details] cheops-ng-0.1.13-r1.ebuild (fixed) Well... Hope it is fixed. The error you've seen is redundant in several files. the last sed in my ebuild is supposed to arrange this. Tell me if it works please. PS. Did test with gcc-3.4 but probably by hand and not with the ebuild, don't remember.
Hi Michael, It works :-) Adding it to CVS...
In cvs. Barely feels like it has been a long time, eh? Thanks to everyone who participated!
Created attachment 54968 [details] cheops-ng-0.1.13-r2.ebuild Hi again, Sorry, I was a bit late but this new ebuild add the debug USE flag and it speeds up A LOT the os scanning by disabling the nmaposscan debug message that fills up all the CPU. Also added some die to prevent the build if sed fail. Cheers, Michael
in cvs
Hi everyone. Thanks for your work - very nice this finally made it into portage. :-))