View | Details | Raw Unified | Return to bug 79515
Collapse All | Expand All

(-)base/Makefile (-5 / +3 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	base
8
PORTNAME=	base
9
PORTVERSION=	1.0.2
9
PORTVERSION=	1.1
10
CATEGORIES=	security
10
CATEGORIES=	security
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	secureideas
12
MASTER_SITE_SUBDIR=	secureideas
Lines 15-39 Link Here
15
COMMENT=	Basic Analysis and Security Engine - analyzing Snort alerts
15
COMMENT=	Basic Analysis and Security Engine - analyzing Snort alerts
16
16
17
RUN_DEPENDS=	${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort \
17
RUN_DEPENDS=	${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort \
18
		${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb \
18
		${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb
19
		${JPGRAPH_DIR}/jpgraph.php:${PORTSDIR}/graphics/jpgraph
20
19
21
USE_PHP=	yes
20
USE_PHP=	yes
22
USE_REINPLACE=	yes
21
USE_REINPLACE=	yes
23
22
24
ADODB_DIR=	${LOCALBASE}/share/adodb
23
ADODB_DIR=	${LOCALBASE}/share/adodb
25
JPGRAPH_DIR=	${LOCALBASE}/share/jpgraph
26
24
27
SUB_FILES=	pkg-message
25
SUB_FILES=	pkg-message
28
DOCS=		docs/CHANGELOG docs/CREDITS docs/README docs/TODO docs/UPGRADE
26
DOCS=		docs/CHANGELOG docs/CREDITS docs/README docs/TODO docs/UPGRADE
29
27
30
do-build:
28
do-build:
31
	@${REINPLACE_CMD} -e 's,DBlib_path = "",DBlib_path = "${ADODB_DIR}",' \
29
	@${REINPLACE_CMD} -e 's,DBlib_path = "",DBlib_path = "${ADODB_DIR}",' \
32
		-e 's,ChartLib_path = "",ChartLib_path = "${JPGRAPH_DIR}",' \
33
		${WRKSRC}/base_conf.php.dist
30
		${WRKSRC}/base_conf.php.dist
34
31
35
do-install:
32
do-install:
36
	@${MKDIR} ${PREFIX}/www/base/includes/templates/default
33
	@${MKDIR} ${PREFIX}/www/base/includes/templates/default
34
	@${RM} ${WRKSRC}/base_conf.php
37
	${INSTALL_DATA} ${WRKSRC}/*.php ${WRKSRC}/*.dist ${PREFIX}/www/base
35
	${INSTALL_DATA} ${WRKSRC}/*.php ${WRKSRC}/*.dist ${PREFIX}/www/base
38
.for dir in admin help includes languages setup
36
.for dir in admin help includes languages setup
39
	@${MKDIR} ${PREFIX}/www/base/${dir}
37
	@${MKDIR} ${PREFIX}/www/base/${dir}
(-)base/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (base-1.0.2.tar.gz) = 579378300f88d3076d645f26c30b7ec4
1
MD5 (base-1.1.tar.gz) = 38a5e02337103754de743fbaaa1bfdae
2
SIZE (base-1.0.2.tar.gz) = 265051
2
SIZE (base-1.1.tar.gz) = 277864
(-)base/pkg-plist (-1 / +2 lines)
Lines 99-104 Link Here
99
www/base/sql/create_base_tbls_mssql.sql
99
www/base/sql/create_base_tbls_mssql.sql
100
www/base/sql/create_base_tbls_mssql_extra.sql
100
www/base/sql/create_base_tbls_mssql_extra.sql
101
www/base/sql/create_base_tbls_mysql.sql
101
www/base/sql/create_base_tbls_mysql.sql
102
www/base/sql/create_base_tbls_oracle.sql
102
www/base/sql/create_base_tbls_pgsql.sql
103
www/base/sql/create_base_tbls_pgsql.sql
103
www/base/sql/create_base_tbls_pgsql_extra.sql
104
www/base/sql/create_base_tbls_pgsql_extra.sql
104
www/base/sql/upgrade_0.9.x_to_1.0-mysql.sql
105
www/base/sql/upgrade_0.9.x_to_1.0-mysql.sql
Lines 113-116 Link Here
113
@dirrm www/base/images
114
@dirrm www/base/images
114
@dirrm www/base/help
115
@dirrm www/base/help
115
@dirrm www/base/admin
116
@dirrm www/base/admin
116
@dirrm www/base
117
@unexec rmdir %D/www/base 2>/dev/null || true

Return to bug 79515