summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2005-02-21 00:17:25 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2005-02-21 00:17:25 +0000
commita2ff10abd4c7470546d715fa2e7ba697b3328aeb (patch)
treed6e8b882e89005d04845abefc3bd14a7fa5fd442 /security
parent- Update to 3.19 (diff)
Add security/base:
BASE is the Basic Analysis and Security Engine. It is based on the code from the ACID project. This application provides a PHP-based web front-end to query and analyze the alerts coming from a Snort IDS system. BASE is a web interface to perform analysis of intrusions that Snort has detected on your network. It uses a user authentication and role-base system, so that you as the security admin can decide what and how much information each user can see. It also has a simple to use, web-based setup program for people not comfortable with editing files directly. WWW: http://secureideas.sourceforge.net/ PR: ports/74492 [1], ports/77103 [2] Submitted by: Linh Pham <question+fbsdports@closedsrc.org> [1], Paul Schmhel <pauls@utdallas.edu> [2]
Notes
Notes: svn path=/head/; revision=129429
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/base/Makefile54
-rw-r--r--security/base/distinfo2
-rw-r--r--security/base/files/pkg-message.in8
-rw-r--r--security/base/pkg-descr11
-rw-r--r--security/base/pkg-plist116
6 files changed, 192 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 56f4951fb262..a77b0d99f87d 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -25,6 +25,7 @@
SUBDIR += autossh
SUBDIR += avcheck
SUBDIR += barnyard
+ SUBDIR += base
SUBDIR += bcwipe
SUBDIR += beecrypt
SUBDIR += bfbtester
diff --git a/security/base/Makefile b/security/base/Makefile
new file mode 100644
index 000000000000..f9844e02ec43
--- /dev/null
+++ b/security/base/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: base
+# Date created: 2004-11-29
+# Whom: Linh Pham <question+fbsdports@closedsrc.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= base
+PORTVERSION= 1.0.2
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= secureideas
+
+MAINTAINER= question+fbsdports@closedsrc.org
+COMMENT= Basic Analysis and Security Engine - analyzing Snort alerts
+
+RUN_DEPENDS= ${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort \
+ ${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb \
+ ${JPGRAPH_DIR}/jpgraph.php:${PORTSDIR}/graphics/jpgraph
+
+USE_PHP= yes
+USE_REINPLACE= yes
+
+ADODB_DIR= ${LOCALBASE}/share/adodb
+JPGRAPH_DIR= ${LOCALBASE}/share/jpgraph
+
+SUB_FILES= pkg-message
+DOCS= docs/CHANGELOG docs/CREDITS docs/README docs/TODO docs/UPGRADE
+
+do-build:
+ @${REINPLACE_CMD} -e 's,DBlib_path = "",DBlib_path = "${ADODB_DIR}",' \
+ -e 's,ChartLib_path = "",ChartLib_path = "${JPGRAPH_DIR}",' \
+ ${WRKSRC}/base_conf.php.dist
+
+do-install:
+ @${MKDIR} ${PREFIX}/www/base/includes/templates/default
+ ${INSTALL_DATA} ${WRKSRC}/*.php ${WRKSRC}/*.dist ${PREFIX}/www/base
+.for dir in admin help includes languages setup
+ @${MKDIR} ${PREFIX}/www/base/${dir}
+ ${INSTALL_DATA} ${WRKSRC}/${dir}/*.php ${PREFIX}/www/base/${dir}
+.endfor
+.for dir in images sql styles
+ @${MKDIR} ${PREFIX}/www/base/${dir}
+ ${INSTALL_DATA} ${WRKSRC}/${dir}/* ${PREFIX}/www/base/${dir}
+.endfor
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/security/base/distinfo b/security/base/distinfo
new file mode 100644
index 000000000000..190753bbaecd
--- /dev/null
+++ b/security/base/distinfo
@@ -0,0 +1,2 @@
+MD5 (base-1.0.2.tar.gz) = 579378300f88d3076d645f26c30b7ec4
+SIZE (base-1.0.2.tar.gz) = 265051
diff --git a/security/base/files/pkg-message.in b/security/base/files/pkg-message.in
new file mode 100644
index 000000000000..2b26d42cd705
--- /dev/null
+++ b/security/base/files/pkg-message.in
@@ -0,0 +1,8 @@
+************************************************************
+Please read the README file located at:
+
+%%DOCSDIR%%/README
+
+for how to configure %%PREFIX%%/www/base/base_conf.php after
+installation.
+************************************************************
diff --git a/security/base/pkg-descr b/security/base/pkg-descr
new file mode 100644
index 000000000000..9af3407125ff
--- /dev/null
+++ b/security/base/pkg-descr
@@ -0,0 +1,11 @@
+BASE is the Basic Analysis and Security Engine. It is based on the code
+from the ACID project. This application provides a PHP-based web front-end
+to query and analyze the alerts coming from a Snort IDS system.
+
+BASE is a web interface to perform analysis of intrusions that Snort has
+detected on your network. It uses a user authentication and role-base
+system, so that you as the security admin can decide what and how much
+information each user can see. It also has a simple to use, web-based
+setup program for people not comfortable with editing files directly.
+
+WWW: http://secureideas.sourceforge.net/
diff --git a/security/base/pkg-plist b/security/base/pkg-plist
new file mode 100644
index 000000000000..5b80f023dea3
--- /dev/null
+++ b/security/base/pkg-plist
@@ -0,0 +1,116 @@
+@comment $FreeBSD$
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/CREDITS
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+www/base/admin/base_roleadmin.php
+www/base/admin/base_useradmin.php
+www/base/admin/index.php
+www/base/base_ag_common.php
+www/base/base_ag_main.php
+www/base/base_common.php
+www/base/base_conf.php.dist
+www/base/base_db_common.php
+www/base/base_db_setup.php
+www/base/base_denied.php
+www/base/base_footer.php
+www/base/base_graph_common.php
+www/base/base_graph_display.php
+www/base/base_graph_form.php
+www/base/base_graph_main.php
+www/base/base_hdr1.php
+www/base/base_hdr2.php
+www/base/base_main.php
+www/base/base_maintenance.php
+www/base/base_qry_alert.php
+www/base/base_qry_common.php
+www/base/base_qry_form.php
+www/base/base_qry_main.php
+www/base/base_qry_sqlcalls.php
+www/base/base_stat_alerts.php
+www/base/base_stat_class.php
+www/base/base_stat_common.php
+www/base/base_stat_ipaddr.php
+www/base/base_stat_iplink.php
+www/base/base_stat_ports.php
+www/base/base_stat_sensor.php
+www/base/base_stat_time.php
+www/base/base_stat_uaddr.php
+www/base/base_user.php
+www/base/help/base_app_faq.php
+www/base/help/base_help.php
+www/base/help/base_setup_help.php
+www/base/images/button_delete.png
+www/base/images/button_edit.png
+www/base/images/button_exclamation.png
+www/base/images/greencheck.gif
+www/base/images/greencheck.png
+www/base/images/redcheck.gif
+www/base/includes/base_action.inc.php
+www/base/includes/base_auth.inc.php
+www/base/includes/base_cache.inc.php
+www/base/includes/base_capabilities.php
+www/base/includes/base_constants.inc.php
+www/base/includes/base_db.inc.php
+www/base/includes/base_include.inc.php
+www/base/includes/base_log_error.inc.php
+www/base/includes/base_log_timing.inc.php
+www/base/includes/base_net.inc.php
+www/base/includes/base_output_html.inc.php
+www/base/includes/base_output_query.inc.php
+www/base/includes/base_setup.inc.php
+www/base/includes/base_signature.inc.php
+www/base/includes/base_state_citems.inc.php
+www/base/includes/base_state_common.inc.php
+www/base/includes/base_state_criteria.inc.php
+www/base/includes/base_state_query.inc.php
+www/base/includes/base_template.php
+www/base/includes/base_user.inc.php
+www/base/includes/class.ezpdf.php
+www/base/includes/class.pdf.php
+www/base/index.php
+www/base/languages/chinese.lang.php
+www/base/languages/danish.lang.php
+www/base/languages/english.lang.php
+www/base/languages/finnish.lang.php
+www/base/languages/french.lang.php
+www/base/languages/german.lang.php
+www/base/languages/index.php
+www/base/languages/indonesian.lang.php
+www/base/languages/italian.lang.php
+www/base/languages/japanese.lang.php
+www/base/languages/norwegian.lang.php
+www/base/languages/portuguese.lang.php
+www/base/languages/russian.lang.php
+www/base/languages/spanish.lang.php
+www/base/languages/swedish.lang.php
+www/base/setup/base_conf_contents.php
+www/base/setup/index.php
+www/base/setup/setup1.php
+www/base/setup/setup2.php
+www/base/setup/setup3.php
+www/base/setup/setup4.php
+www/base/setup/setup5.php
+www/base/sql/acid2base_tbls_mssql.sql
+www/base/sql/acid2base_tbls_mysql.sql
+www/base/sql/acid2base_tbls_pgsql.sql
+www/base/sql/create_base_tbls_mssql.sql
+www/base/sql/create_base_tbls_mssql_extra.sql
+www/base/sql/create_base_tbls_mysql.sql
+www/base/sql/create_base_tbls_pgsql.sql
+www/base/sql/create_base_tbls_pgsql_extra.sql
+www/base/sql/upgrade_0.9.x_to_1.0-mysql.sql
+www/base/styles/base_style.css
+@dirrm www/base/styles
+@dirrm www/base/sql
+@dirrm www/base/setup
+@dirrm www/base/languages
+@dirrm www/base/includes/templates/default
+@dirrm www/base/includes/templates
+@dirrm www/base/includes
+@dirrm www/base/images
+@dirrm www/base/help
+@dirrm www/base/admin
+@dirrm www/base