1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

- Update to 1.1

PR:		ports/79515
Submitted by:	Linh Pham <question+fbsdports@closedsrc.org> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-04-05 18:18:26 +00:00
parent bc83b14156
commit 092281149e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132574
3 changed files with 10 additions and 12 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= base
PORTVERSION= 1.0.2
PORTVERSION= 1.1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= secureideas
@ -15,38 +15,35 @@ 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
${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb
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
${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}
${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}
${MKDIR} ${PREFIX}/www/base/${dir}
${INSTALL_DATA} ${WRKSRC}/${dir}/* ${PREFIX}/www/base/${dir}
.endfor
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}

View File

@ -1,2 +1,2 @@
MD5 (base-1.0.2.tar.gz) = 579378300f88d3076d645f26c30b7ec4
SIZE (base-1.0.2.tar.gz) = 265051
MD5 (base-1.1.tar.gz) = ce8156463055bbdb4f0a35d95add273f
SIZE (base-1.1.tar.gz) = 277338

View File

@ -99,6 +99,7 @@ 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_oracle.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
@ -113,4 +114,4 @@ www/base/styles/base_style.css
@dirrm www/base/images
@dirrm www/base/help
@dirrm www/base/admin
@dirrm www/base
@unexec rmdir %D/www/base 2>/dev/null || true