Index: head/security/base/Makefile =================================================================== --- head/security/base/Makefile (revision 404929) +++ head/security/base/Makefile (revision 404930) @@ -1,61 +1,56 @@ # Created by: Linh Pham # $FreeBSD$ PORTNAME= base PORTVERSION= 1.4.5 CATEGORIES= security MASTER_SITES= SF/secureideas/BASE/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Basic Analysis and Security Engine - analyzing Snort alerts +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/docs/GPL + RUN_DEPENDS= ${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb5 \ ${LOCALBASE}/share/pear/Image/Graph.php:${PORTSDIR}/graphics/pear-Image_Graph \ ${LOCALBASE}/share/pear/Mail.php:${PORTSDIR}/mail/pear-Mail \ ${LOCALBASE}/share/pear/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime USE_PHP= gd gettext pcre session zlib ctype ADODB_DIR= ${LOCALBASE}/share/adodb +NO_ARCH= yes SUB_FILES= pkg-message DOCS= docs/CHANGELOG docs/CREDITS docs/README docs/README.mssql \ docs/TODO docs/UPGRADE docs/GPL docs/base_faq.rtf OPTIONS_DEFINE= MYSQL PGSQL PDF DOCS -.include +MYSQL_USE= MYSQL=yes PHP=mysql +PGSQL_USES= pgsql +PGSQL_USE= PHP=pgsql +PDF_RUN_DEPENDS=${LOCALBASE}/share/fpdf/fpdf.php:${PORTSDIR}/print/fpdf -.if ${PORT_OPTIONS:MMYSQL} -USE_MYSQL= yes -USE_PHP+= mysql -.endif -.if ${PORT_OPTIONS:MPGSQL} -USES+= pgsql -USE_PHP+= pgsql -.endif -.if ${PORT_OPTIONS:MPDF} -RUN_DEPENDS+= ${LOCALBASE}/share/fpdf/fpdf.php:${PORTSDIR}/print/fpdf -.endif - do-build: @${REINPLACE_CMD} -e 's,DBlib_path = "",DBlib_path = "${ADODB_DIR}",' \ ${WRKSRC}/base_conf.php.dist do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/www/base/includes/templates/default + @${MKDIR} ${STAGEDIR}${PREFIX}/www/base/includes/templates/default ${INSTALL_DATA} ${WRKSRC}/*.php ${WRKSRC}/*.dist ${STAGEDIR}${PREFIX}/www/base .for dir in admin help includes languages setup - ${MKDIR} ${STAGEDIR}${PREFIX}/www/base/${dir} + @${MKDIR} ${STAGEDIR}${PREFIX}/www/base/${dir} ${INSTALL_DATA} ${WRKSRC}/${dir}/*.php ${STAGEDIR}${PREFIX}/www/base/${dir} .endfor .for dir in images sql styles - ${MKDIR} ${STAGEDIR}${PREFIX}/www/base/${dir} + @${MKDIR} ${STAGEDIR}${PREFIX}/www/base/${dir} ${INSTALL_DATA} ${WRKSRC}/${dir}/* ${STAGEDIR}${PREFIX}/www/base/${dir} .endfor -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/security/base/pkg-descr =================================================================== --- head/security/base/pkg-descr (revision 404929) +++ head/security/base/pkg-descr (revision 404930) @@ -1,11 +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/ +WWW: http://secureideas.sourceforge.net/