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
Created attachment 77596 [details] base-1.2.2.ebuild (New Package)
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?
(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).
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.
Created attachment 78313 [details] base-1.2.2.ebuild (with proper PEAR dependencies)
The missing dev-php/PEAR-* packages are in the tree now.
No business left for php here, removing from CC...
(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.
I already solved the funky deps problem, thank you :-).
In cvs with some minor modifications. It's currently in package.mask so that it can get some testing. Thanks for all your work!