Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9666 - cheops-0.61.ebuild (new Package)
Summary: cheops-0.61.ebuild (new Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2002-10-25 15:55 UTC by Daniel Seyffer
Modified: 2005-04-02 01:53 UTC (History)
2 users (show)

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


Attachments
cheops-0.61.ebuild file (cheops-0.61.ebuild,1.46 KB, text/plain)
2002-10-25 15:56 UTC, Daniel Seyffer
Details
a digest file for cheops. (digest-cheops-0.61,63 bytes, text/plain)
2002-10-25 15:57 UTC, Daniel Seyffer
Details
cheops ChangeLog (ChangeLog,2.02 KB, text/plain)
2002-10-25 15:58 UTC, Daniel Seyffer
Details
cheops-ng-0.1.12 ebuild (cheops-ng-0.1.12.ebuild,2.03 KB, text/plain)
2003-06-15 17:58 UTC, Andres Mujica
Details
cheops-ng-0.1.13.ebuild (cheops-ng-0.1.13.ebuild,1.17 KB, text/plain)
2005-03-30 08:51 UTC, Michael Zanetta
Details
cheops.log -- gcc-3.4 (cheops.log,5.94 KB, text/plain)
2005-03-30 13:54 UTC, Marcelo Goes (RETIRED)
Details
adns-gcc34.patch (took from net-libs/adns) (adns-gcc34.patch,433 bytes, patch)
2005-03-31 07:54 UTC, Michael Zanetta
Details | Diff
cheops-ng-0.1.13-r1.ebuild (cheops-ng-0.1.13-r1.ebuild,1.31 KB, text/plain)
2005-03-31 07:58 UTC, Michael Zanetta
Details
cheops-ng-0.1.13-r1.ebuild (fixed) (cheops-ng-0.1.13-r1.ebuild,1.31 KB, text/plain)
2005-03-31 13:20 UTC, Michael Zanetta
Details
cheops-ng-0.1.13-r2.ebuild (cheops-ng-0.1.13-r2.ebuild,1.78 KB, text/plain)
2005-03-31 13:55 UTC, Michael Zanetta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Seyffer 2002-10-25 15:55:43 UTC
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... ;-)
Comment 1 Daniel Seyffer 2002-10-25 15:56:44 UTC
Created attachment 5014 [details]
cheops-0.61.ebuild file

The ebuild file for cheops.
Comment 2 Daniel Seyffer 2002-10-25 15:57:25 UTC
Created attachment 5015 [details]
a digest file for cheops.

digest file...
Comment 3 Daniel Seyffer 2002-10-25 15:58:23 UTC
Created attachment 5016 [details]
cheops ChangeLog

A ChangeLog proposal for the cheops ebuild...
Comment 4 Dean Bailey 2002-11-02 22:15:51 UTC
I'll get cracking on this. I will even attempt to get SNMP working.

Cheers,
      Dean (Alron)
Comment 5 Hans-Henry Jakobsen 2002-11-04 04:36:47 UTC
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/
Comment 6 Andres Mujica 2003-06-15 17:58:43 UTC
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
Comment 7 Thomas Raschbacher gentoo-dev 2003-09-29 02:07:08 UTC
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 ;)
Comment 8 Jeff Caplan 2004-03-28 13:10:13 UTC
I'm really anxious to see this ebuild implemented into portage...any plans on this happening?

~jeff~
Comment 9 Thomas Raschbacher gentoo-dev 2004-03-31 05:32:36 UTC
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
Comment 10 Daniel Seyffer 2004-05-03 11:37:56 UTC
bump. Has this been forgotten? Open since 2002-10-25! :)
Comment 11 Thomas Raschbacher gentoo-dev 2004-05-12 08:41:52 UTC
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..

Comment 12 Lance Albertson (RETIRED) gentoo-dev 2005-02-09 08:47:02 UTC
Going to reassign to netmon to possibly get more attention.
Comment 13 Marcelo Goes (RETIRED) gentoo-dev 2005-03-26 16:34:04 UTC
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...
Comment 14 Michael Zanetta 2005-03-30 08:51:32 UTC
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
Comment 15 Marcelo Goes (RETIRED) gentoo-dev 2005-03-30 13:00:49 UTC
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.
Comment 16 Michael Zanetta 2005-03-30 13:35:55 UTC
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
Comment 17 Marcelo Goes (RETIRED) gentoo-dev 2005-03-30 13:54:57 UTC
Created attachment 54882 [details]
cheops.log -- gcc-3.4

Thanks Michael, I appreciate it.
Comment 18 Michael Zanetta 2005-03-31 07:52:25 UTC
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
Comment 19 Michael Zanetta 2005-03-31 07:54:54 UTC
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...
Comment 20 Michael Zanetta 2005-03-31 07:58:18 UTC
Created attachment 54935 [details]
cheops-ng-0.1.13-r1.ebuild

Hope you can release it now...

Cheers,

Michael
Comment 21 Marcelo Goes (RETIRED) gentoo-dev 2005-03-31 11:59:35 UTC
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....
Comment 22 Michael Zanetta 2005-03-31 12:12:10 UTC
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
Comment 23 Marcelo Goes (RETIRED) gentoo-dev 2005-03-31 12:52:46 UTC
Hi,

This is the relevant line:

DEBUG(printf(__FUNCTION__ "(): scanning %s using '%s'\n", ip, cmd));
Comment 24 Marcelo Goes (RETIRED) gentoo-dev 2005-03-31 13:01:31 UTC
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
Comment 25 Michael Zanetta 2005-03-31 13:20:27 UTC
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.
Comment 26 Marcelo Goes (RETIRED) gentoo-dev 2005-03-31 13:39:07 UTC
Hi Michael,

It works :-)
Adding it to CVS...
Comment 27 Marcelo Goes (RETIRED) gentoo-dev 2005-03-31 13:53:57 UTC
In cvs. Barely feels like it has been a long time, eh?
Thanks to everyone who participated!
Comment 28 Michael Zanetta 2005-03-31 13:55:23 UTC
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
Comment 29 Marcelo Goes (RETIRED) gentoo-dev 2005-03-31 14:14:26 UTC
in cvs
Comment 30 Daniel Seyffer 2005-04-02 01:53:57 UTC
Hi everyone.
Thanks for your work - very nice this finally made it into portage. :-))