Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 17315 Details for
Bug 17740
The Analysis Console for Intrusion Databases (ACID)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild
acid-0.9.6_beta23.ebuild (text/plain), 2.53 KB, created by
Daniel Black (RETIRED)
on 2003-09-09 01:21:55 UTC
(
hide
)
Description:
ebuild
Filename:
MIME Type:
Creator:
Daniel Black (RETIRED)
Created:
2003-09-09 01:21:55 UTC
Size:
2.53 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DESCRIPTION="Web Analyzer interface to Snort data" > >HOMEPAGE="http://www.cert.org/kb/acid" > >MY_P=${P/_beta/b} > ># ># note sourceforge may not (still) have the latest version ># mirror://sourceforge/${PN}/${MY_P}.tar.gz" > >SRC_URI="http://www.andrew.cmu.edu/~rdanyliw/snort/${MY_P}.tar.gz" > >LICENSE="GPL-2" > >SLOT="0" > >KEYWORDS="~x86" > >IUSE="mysql postgres" > >DEPEND=">=sys-apps/sed-4.0.0" > >RDEPEND="dev-php/mod_php > dev-php/adodb > mysql? ( >=dev-db/mysql-3.23.00 ) > postgres? ( >=dev-db/postgresql-7.1 ) > >=media-libs/libgd-1.8.4 > >=dev-php/jpgraph-1.12" > ># Doco suggest 1.8 and greater (1.08?) ># >=dev-php/jpgraph-1.08" > ># documented to work with phplot although untested ># >=dev-php/phplot > >S=${WORKDIR}/${PN} > >inherit webapp-apache >webapp-detect || NO_WEBSERVER=1 > >pkg_setup() { > webapp-pkg_setup "${NO_WEBSERVER}" > einfo "Installing for ${WEBAPP_SERVER}" >} > >src_compile() { > einfo "Setting up configuration" > use mysql && ( \ > use postgres && > einfo "select snort db type in ${HTTPD_ROOT}/acid/acid_conf.php" \ > || einfo "set for mysql" \ > ) || > ( use postgres && einfo "set for postgresql" \ > || einfo "select mysql or postgreql in use flags" > ) > > sed -i -e 's:^\$DBlib_path = \":\$DBlib_path = \"/usr/lib/php/adodb:' \ > -e 's:^\$ChartLib_path = \":\$ChartLib_path = \"/usr/lib/php/jpgraph:' \ > -e 's:^\$alert_dbname = \"snort_log:\$alert_dbname =\"snort:' \ > -e 's:^\$alert_user = \"root:\$alert_user = \"snort_analyzer:' \ > acid_conf.php > ># for phplot (untested) ># -e 's:^\$ChartLib_path = \":\$ChartLib_path =\"/usr/lib/php/phplot:' > > if [ "`use postgres`" ] > then ># FIX postgresql obselete DATETIME data type to TIMESTAMP > sed -i -e 's/DATETIME/TIMESTAMP/g' acid_db_setup.php > sed -i -e 's/DATETIME/TIMESTAMP/g' create_acid_tbls_pgsql*.sql > sed -i -e 's:^\$DBtype = \"mysql:\$DBtype =\"postgres:' acid_conf.php > fi > > >} > >src_install() { > cd ${S} > dodir "${HTTPD_ROOT}/acid" > cp -a *.inc *.php *.html *.css "${D}/${HTTPD_ROOT}/acid" > fowners ${HTTPD_USER}.${HTTPD_GROUP} ${HTTPD_ROOT}/acid/* > dodoc CREDITS TODO README README.mssql CHANGELOG *sql > dodoc ${FILESDIR}/perms.sql >} > >pkg_postinst() { > einfo "Ensure file ${HTTPD_ROOT}/acid/acid_conf.php matches your snort setup" > einfo "" > einfo "Once the database has been setup for snort use the" > einfo "sql files in /usr/share/doc/${PN}-${PV} add tables for acid"; > einfo "" > einfo "For permissions on these tables refer to:" > einfo "/usr/share/doc/${PN}-${PV}/README.gz and perms.sql" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 17740
: 17315 |
17316
|
17317
|
18734