Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119623 - net-analyzer/base-1.2.2.ebuild (New Package)
Summary: net-analyzer/base-1.2.2.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 120578 120579 120581 120583
Blocks:
  Show dependency tree
 
Reported: 2006-01-19 17:30 UTC by Travis Post
Modified: 2006-01-28 12:18 UTC (History)
1 user (show)

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


Attachments
base-1.2.2.ebuild (New Package) (base-1.2.2.ebuild,7.10 KB, text/plain)
2006-01-19 17:32 UTC, Travis Post
Details
base-1.2.2.ebuild (with proper PEAR dependencies) (base-1.2.2.ebuild,5.45 KB, text/plain)
2006-01-27 16:40 UTC, Travis Post
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Post 2006-01-19 17:30:52 UTC
Hi!

Please consider adding the attached BASE ebuild to Gentoo.

BASE is the Basic Analysis and Security Engine. It is a modern fork of the long since defunct ACID project (Analysis Console for Intrusion Databases). BASE is a web-based front-end to the Snort intrusion detection system. It provides a user-friendly interface to the snort logs, and provides charting capabilities.

All dependencies of BASE are already available in portage (PHP, MySQL, PostgreSQL, PEAR-PEAR, adodb, jpgraph, and gd).

I suggest net-analyzer/base (the same location as the comparable ACID).

Thanks,

Travis Post
Comment 1 Travis Post 2006-01-19 17:32:43 UTC
Created attachment 77596 [details]
base-1.2.2.ebuild (New Package)
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2006-01-27 13:58:18 UTC
I'm getting something funky related to dependencies (that may have nothing to do with your ebuild):

Calculating dependencies ...done!
[blocks B     ] dev-lang/php (is blocking dev-php/mod_php-4.4.0-r9)
[blocks B     ] dev-lang/php (is blocking dev-php/php-4.4.0-r4)
[ebuild  N    ] net-libs/c-client-2004a-r1
[ebuild  N    ] app-admin/php-toolkit-1.0-r2
[ebuild  N    ] dev-lang/php-5.0.5-r5
[ebuild  N    ] dev-lang/php-4.4.1-r3
[ebuild  N    ] dev-php4/jpgraph-1.19
[ebuild  N    ] dev-php/adodb-4.65
[ebuild  N    ] dev-php/PEAR-PEAR-1.4.6-r1
[ebuild  N    ] app-crypt/mhash-0.9.2
[ebuild  N    ] dev-php/mod_php-4.4.0-r9
[ebuild  N    ] net-analyzer/base-1.2.2
[ebuild  N    ] dev-php/php-4.4.0-r4

Can someone from php herd comment on that?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-27 14:12:43 UTC
(In reply to comment #2)
> I'm getting something funky related to dependencies (that may have nothing to
> do with your ebuild):
> 
> [ebuild  N    ] dev-php/adodb-4.65

^^^ Wrong version, only >=4.68 is dev-lang/php compatible (see Bug 120215 wrt stabilization).
Comment 4 Luca Longinotti (RETIRED) gentoo-dev 2006-01-27 14:22:59 UTC
Also please change that part of the ebuild that installs all the PEAR packages manually in pkg_postinstall(), don't do that, it heavily messes PEAR up to install packages outside of what we provide with the dev-php/PEAR-* packages, and we prefer to do it using those packages, so please file a couple of bugs (one per package) for each of those PEAR packages that aren't available in Gentoo yet, and they should then be in 1-2 days, then change the ebuild to depend and use those, and not some self-installed versions, unless there's a _very_ good reason to do that, thanks!
Best regards, CHTEKK.
Comment 5 Travis Post 2006-01-27 16:40:55 UTC
Created attachment 78313 [details]
base-1.2.2.ebuild (with proper PEAR dependencies)
Comment 6 Sebastian Bergmann (RETIRED) gentoo-dev 2006-01-27 23:38:41 UTC
The missing dev-php/PEAR-* packages are in the tree now.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-01-28 07:26:44 UTC
No business left for php here, removing from CC...
Comment 8 Travis Post 2006-01-28 11:01:41 UTC
(In reply to comment #2)
> I'm getting something funky related to dependencies (that may have nothing to
> do with your ebuild):

I had the same problem a few months ago. The solution for me was to add 'cli' to my use-flags, and unmerge dev-php/php and dev-php/mod_php. Then I had to emerge dev-lang/php with the new use-flags. 

I think your funky dependencies are probably related to the relocation of php, but I'm no expert on those changes. My understanding is that dev-lang/php is all you need for PHP. Whether you get the Apache module alone, or have the PHP command line program as well depends on the 'php' 'apache(2)' and 'cli' use-flags.

Comment 9 Marcelo Goes (RETIRED) gentoo-dev 2006-01-28 11:20:28 UTC
I already solved the funky deps problem, thank you :-).
Comment 10 Marcelo Goes (RETIRED) gentoo-dev 2006-01-28 12:18:20 UTC
In cvs with some minor modifications. It's currently in package.mask so that it can get some testing.

Thanks for all your work!