Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56914 - Requested ebuild for ossim
Summary: Requested ebuild for ossim
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL: http://ossim.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-13 09:02 UTC by byron
Modified: 2006-11-29 14:04 UTC (History)
1 user (show)

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


Attachments
ossim-db-0.9.9_rc3.ebuild (ossim-db-0.9.9_rc3.ebuild,2.86 KB, text/plain)
2006-11-29 13:40 UTC, Tudor Vaida
Details
ossim-server-0.9.9_rc3.ebuild (ossim-server-0.9.9_rc3.ebuild,1.47 KB, text/plain)
2006-11-29 13:42 UTC, Tudor Vaida
Details
ossim-server.confd (ossim-server.confd,206 bytes, text/plain)
2006-11-29 13:42 UTC, Tudor Vaida
Details
ossim-server.initd (ossim-server.initd,596 bytes, text/plain)
2006-11-29 13:42 UTC, Tudor Vaida
Details
ossim-agent-0.9.9_rc3.ebuild (ossim-agent-0.9.9_rc3.ebuild,1.28 KB, text/plain)
2006-11-29 13:43 UTC, Tudor Vaida
Details
ossim-agent.confd (ossim-agent.confd,202 bytes, text/plain)
2006-11-29 13:44 UTC, Tudor Vaida
Details
ossim-agent.initd (ossim-agent.initd,590 bytes, text/plain)
2006-11-29 13:44 UTC, Tudor Vaida
Details
ossim-framework-0.9.9_rc3.ebuild (ossim-framework-0.9.9_rc3.ebuild,5.60 KB, text/plain)
2006-11-29 13:45 UTC, Tudor Vaida
Details
ossim-framework.confd (ossim-framework.confd,220 bytes, text/plain)
2006-11-29 13:45 UTC, Tudor Vaida
Details
ossim-framework.initd (ossim-framework.initd,604 bytes, text/plain)
2006-11-29 13:45 UTC, Tudor Vaida
Details
vhosts 99_ossim.conf (99_ossim.conf,524 bytes, text/plain)
2006-11-29 13:46 UTC, Tudor Vaida
Details

Note You need to log in before you can comment on or make changes to this bug.
Description byron 2004-07-13 09:02:39 UTC
It would be nice for someone to work through the deps for a OSSIM ebuild, found here http://ossim.net.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Eldad Zack (RETIRED) gentoo-dev 2004-07-16 07:23:46 UTC
the deps are crazy.
If you can compile a list of the deps, I can sketch around an ebuild for you to test.

Or maybe you can do it youself:
http://www.gentoo.org/doc/en/gentoo-howto.xml
Comment 2 Eldad Zack (RETIRED) gentoo-dev 2004-08-11 01:53:20 UTC
We'll need AT LEAST a list of required deps.
Comment 3 jens zettelmeyer 2004-08-12 11:12:27 UTC
Hi, 

since no one answers i'll try to put the deps together.
According to http://www.ossim.net/docs/INSTALL.fc1
the following files are needed:
snort > 2.1.0 with mysql support
php-acid > 0.9.6b (perhaps 23 but i think that's fedora specific)
ntop > 2.2c
cgilib > 0.5.1
rrdtool > 20040205
gnet2 > 2.0.4
libgda > 1.0.3
gda-mysql > 1.0.3
MySQL-python > 0.9.2
nmap > 3.50
p0f > 2.0.3
php-adodb > 4.11

as far as i can see these are all dependencies. Lateron i'll see if all packages are already included in portage or what's missing and what has to be done to get os-sim runing.

Jens
Comment 4 jens zettelmeyer 2004-08-12 12:57:23 UTC
this is a compilation of what's aviable in portage

prog		needed			latest aviable in portage

snort		2.1.0			2.1.2
php-acid	0.9.6b
ntop		2.2c			2.2c
rrdtool		20040205		1.0.47	??
cgilib		0.5.1
gnet2		2.0.4
libgda		1.0.3			1.0.2
gda-mysql	1.0.3
MySQL-python	0.9.2			0.9.2
nmap		3.50			3.50
p0f		2.0.3			2.0.3
php-adodb	4.11
Comment 5 David Gaston Rodriguez 2004-09-23 07:47:27 UTC
I installed ossim in gentoo, I know the steps to do it but I know little about ebuilds, I began to read "Gentoo Ebuild/Developer HOWTO" and I would like to do this ebuild or to contribute with that knows more about ebuilds, the main problem is that some dependencies as ntop,snort,acid,mrtg needs to be modified with patches that ossim brings, and ossim need the CVS version of rrdtools before compile ntop. I think I would be necessary to modify ebuilds of ntops,snort,acid,mrtg to add a variable USE call "ossim" that patch to the package with support for ossim before installing it, somebody can guide to me on as I must take the project?

PD: I am from argentina, sorry my english.
Comment 6 Tudor Vaida 2006-11-29 13:39:50 UTC
I will try attaching here the ebuilds I have put together while installing ossim-0.9.9-rc3, as a request for comments. 

Dependency data is compiled from the files supplied with the distribution and from the OSSIM Wiki. Based a lot on the OSSIM gentoo installation guide by Jeremy Briffaut: 
http://www.ossim.net/dokuwiki/doku.php?id=installation:gentoo

The ebuilds are split because each part of ossim can be installed on a separate server, and the dependencies are different for each part. Flags used:
net-analyzer/ossim-db-0.9.9_rc3  IUSE="mysql doc eventdb-only ossimdb-only postgres"
net-analyzer/ossim-framework-0.9.9_rc3  IUSE="apache apache2 mysql nagios nessus nmap ntop postgres"
net-analyzer/ossim-server-0.9.9_rc3 IUSE=""
net-analyzer/ossim-agent-0.9.9_rc3 IUSE=""

ossim-framework depends on two packages not yet in portage, phpgacl and fpdf, the ebuilds can be found in these bugs:
fpdf-1.53: bug 107558
phpgacl-3.3.7: bug 154300
For base-1.2.6 I will attach an 'ossim' use flag patch in bug 142528.

The ossim-agent could be configured with flags & dependencies for each plugin, but it would be very hard testing such an ebuild. I assume it's just easier emerging each of the needed dependencies (snort for snort, etc. - maybe later with an 'ossim' flag for ossim patches ) and editing the config files, because the agent itself has just python as dependency.
Comment 7 Tudor Vaida 2006-11-29 13:40:56 UTC
Created attachment 103011 [details]
ossim-db-0.9.9_rc3.ebuild
Comment 8 Tudor Vaida 2006-11-29 13:42:03 UTC
Created attachment 103012 [details]
ossim-server-0.9.9_rc3.ebuild
Comment 9 Tudor Vaida 2006-11-29 13:42:31 UTC
Created attachment 103013 [details]
ossim-server.confd
Comment 10 Tudor Vaida 2006-11-29 13:42:55 UTC
Created attachment 103014 [details]
ossim-server.initd
Comment 11 Tudor Vaida 2006-11-29 13:43:48 UTC
Created attachment 103015 [details]
ossim-agent-0.9.9_rc3.ebuild
Comment 12 Tudor Vaida 2006-11-29 13:44:12 UTC
Created attachment 103016 [details]
ossim-agent.confd
Comment 13 Tudor Vaida 2006-11-29 13:44:34 UTC
Created attachment 103017 [details]
ossim-agent.initd
Comment 14 Tudor Vaida 2006-11-29 13:45:14 UTC
Created attachment 103018 [details]
ossim-framework-0.9.9_rc3.ebuild
Comment 15 Tudor Vaida 2006-11-29 13:45:40 UTC
Created attachment 103019 [details]
ossim-framework.confd
Comment 16 Tudor Vaida 2006-11-29 13:45:55 UTC
Created attachment 103020 [details]
ossim-framework.initd
Comment 17 Tudor Vaida 2006-11-29 13:46:30 UTC
Created attachment 103021 [details]
vhosts 99_ossim.conf
Comment 18 Tudor Vaida 2006-11-29 14:04:02 UTC
According to the ossim ChangeLog, acid is no longer required for ossim-framework:
"* BASE support. It should be the default event viewer, ACID is dead."

The same is valid for mrtg (quote from sources/etc/cron.d/ossim-framework):
"# WARNING!
#
# Generate ossim's rrd files via mrtg is deprecated.
# You should remove this script from you crontab
#
# Use frameworkd (ossim-framework daemon) instead.
#"