head	1.31;
access;
symbols
	RELEASE_8_3_0:1.29
	RELEASE_9_0_0:1.29
	RELEASE_7_4_0:1.29
	RELEASE_8_2_0:1.29
	RELEASE_6_EOL:1.29
	RELEASE_8_1_0:1.29
	RELEASE_7_3_0:1.28
	RELEASE_8_0_0:1.28
	RELEASE_7_2_0:1.23
	RELEASE_7_1_0:1.23
	RELEASE_6_4_0:1.23
	RELEASE_5_EOL:1.20
	RELEASE_7_0_0:1.18
	RELEASE_6_3_0:1.18
	PRE_XORG_7:1.16
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.13
	RELEASE_6_1_0:1.9
	RELEASE_5_5_0:1.9
	RELEASE_6_0_0:1.5
	RELEASE_5_4_0:1.1;
locks; strict;
comment	@# @;


1.31
date	2012.12.17.02.18.03;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2012.11.17.06.01.01;	author svnexp;	state Exp;
branches;
next	1.29;

1.29
date	2010.05.09.11.22.35;	author miwi;	state Exp;
branches;
next	1.28;

1.28
date	2009.09.17.21.16.19;	author miwi;	state Exp;
branches;
next	1.27;

1.27
date	2009.08.22.00.34.48;	author amdmi3;	state Exp;
branches;
next	1.26;

1.26
date	2009.06.06.16.23.58;	author miwi;	state Exp;
branches;
next	1.25;

1.25
date	2009.05.29.19.41.47;	author miwi;	state Exp;
branches;
next	1.24;

1.24
date	2009.05.01.14.01.44;	author miwi;	state Exp;
branches;
next	1.23;

1.23
date	2008.09.11.11.39.03;	author miwi;	state Exp;
branches;
next	1.22;

1.22
date	2008.09.06.21.13.27;	author miwi;	state Exp;
branches;
next	1.21;

1.21
date	2008.06.06.14.00.46;	author edwin;	state Exp;
branches;
next	1.20;

1.20
date	2008.04.27.08.13.49;	author rafan;	state Exp;
branches;
next	1.19;

1.19
date	2007.12.12.18.42.01;	author miwi;	state Exp;
branches;
next	1.18;

1.18
date	2007.05.27.10.00.07;	author miwi;	state Exp;
branches;
next	1.17;

1.17
date	2007.05.19.20.22.21;	author flz;	state Exp;
branches;
next	1.16;

1.16
date	2007.03.06.06.51.49;	author linimon;	state Exp;
branches;
next	1.15;

1.15
date	2007.02.26.21.26.34;	author miwi;	state Exp;
branches;
next	1.14;

1.14
date	2006.11.21.23.38.57;	author miwi;	state Exp;
branches;
next	1.13;

1.13
date	2006.07.29.19.41.58;	author miwi;	state Exp;
branches;
next	1.12;

1.12
date	2006.06.09.05.54.26;	author clsung;	state Exp;
branches;
next	1.11;

1.11
date	2006.05.16.12.10.35;	author itetcu;	state Exp;
branches;
next	1.10;

1.10
date	2006.05.13.04.14.59;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2006.01.13.06.13.43;	author clsung;	state Exp;
branches;
next	1.8;

1.8
date	2005.10.31.19.49.01;	author sem;	state Exp;
branches;
next	1.7;

1.7
date	2005.10.12.19.31.37;	author sem;	state Exp;
branches;
next	1.6;

1.6
date	2005.09.04.16.45.40;	author sem;	state Exp;
branches;
next	1.5;

1.5
date	2005.06.30.17.09.58;	author flz;	state Exp;
branches;
next	1.4;

1.4
date	2005.06.14.16.06.21;	author novel;	state Exp;
branches;
next	1.3;

1.3
date	2005.04.09.21.49.50;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2005.04.05.18.18.26;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2005.02.21.00.17.25;	author sergei;	state Exp;
branches;
next	;


desc
@@


1.31
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309053
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309053 | bapt | 2012-12-17 02:15:13 +0000 (Mon, 17 Dec 2012) | 6 lines
## SVN ##
## SVN ## Convert miwi's ports to new Options framework
## SVN ## While here fix some consistency in PEAR options name
## SVN ## bumped revision of net/icpld and net/ipsumdump because IPV6 is now on
## SVN ##
## SVN ## Approved by:	miwi (maintainer)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Linh Pham <question+fbsdports@@closedsrc.org>
# $FreeBSD: head/security/base/Makefile 309053 2012-12-17 02:15:13Z bapt $

PORTNAME=	base
PORTVERSION=	1.4.5
CATEGORIES=	security
MASTER_SITES=	SF/secureideas/BASE/${PORTNAME}-${PORTVERSION}

MAINTAINER=	miwi@@FreeBSD.org
COMMENT=	Basic Analysis and Security Engine - analyzing Snort alerts

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

#WRKSRC=		${WRKDIR}/${PORTNAME}-php4

USE_PHP=	gd gettext pcre session zlib ctype

ADODB_DIR=	${LOCALBASE}/share/adodb

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 <bsd.port.options.mk>

.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL=	yes
USE_PHP+=	mysql
.endif
.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL=	yes
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} ${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 ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.30
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	base
# Date created:		2004-11-29
# Whom:			Linh Pham <question+fbsdports@@closedsrc.org>
#
# $FreeBSD: head/security/base/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d27 1
a27 3
OPTIONS=	MYSQL "Enable MySQL support" off \
		PGSQL "Enable PostgreSQL support" off \
		PDF "Enable PDF support" off
d29 1
a29 1
.include <bsd.port.pre.mk>
d31 1
a31 1
.if defined(WITH_MYSQL)
d35 1
a35 1
.if defined(WITH_PGSQL)
d39 1
a39 1
.if defined(WITH_PDF)
d60 1
a60 1
.if !defined(NOPORTDOCS)
d66 1
a66 1
.include <bsd.port.post.mk>
@


1.29
log
@- Update to 1.4.5

PR:		145635
Submitted by:	olli hauer <ohauer@@gmx.de>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.28
log
@- Update to 1.4.4

Feature safe: yes

Requested  by:	Raleigh Romine <rromine@@nsf.gov>
@
text
@d9 1
a9 1
PORTVERSION=	1.4.4
d16 1
a16 1
RUN_DEPENDS=	${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb \
@


1.27
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d9 1
a9 1
PORTVERSION=	1.4.3.1
@


1.26
log
@- Update to 1.4.3.1
@
text
@d11 1
a11 1
MASTER_SITES=	SF/secureideas
@


1.25
log
@- Update to 1.4.3
@
text
@d9 1
a9 1
PORTVERSION=	1.4.3
@


1.24
log
@- Update to 1.4.1
@
text
@d9 1
a9 1
PORTVERSION=	1.4.2
@


1.23
log
@- Add missing dependecy of php ctype

Reported by:	Matthew Seaman <matthew.seaman@@thebunker.net>
Approved by:	portmgr (erwin)
@
text
@d9 1
a9 2
PORTVERSION=	1.4.1
PORTREVISION=	1
d21 1
a21 1
WRKSRC=		${WRKDIR}/${PORTNAME}-php4
@


1.22
log
@- Update to 1.4.1
- Take over maintainership
- Use SF macro

PR:		127133
Submitted by:	Linh Pham <question+fbsdports@@closedsrc.org> (old maintainer)
@
text
@d10 1
d24 1
a24 1
USE_PHP=	gd gettext pcre session zlib
@


1.21
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	1.4.0
PORTREVISION=	1
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	secureideas
d13 1
a13 1
MAINTAINER=	question+fbsdports@@closedsrc.org
d17 5
a21 1
		${LOCALBASE}/share/pear/Image/Graph.php:${PORTSDIR}/graphics/pear-Image_Graph
@


1.20
log
@- Update to 1.4.0

PR:		ports/123125
Submitted by:	Linh Pham <question+fbsdports at closedsrc.org> (maintainer)
@
text
@d10 1
@


1.19
log
@- Update to 1.3.9

PR:		118166
Submitted by:	Linh Pham <question+fbsdports@@closedsrc.org> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.9
@


1.18
log
@- Update to 1.3.6

PR:		112795
Submitted by:	Kian Mohageri <kian.mohageri@@gmail.com>
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.3.6
@


1.17
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 2
PORTVERSION=	1.3.5
PORTREVISION=	1
d25 2
a26 1
DOCS=		docs/CHANGELOG docs/CREDITS docs/README docs/TODO docs/UPGRADE
@


1.16
log
@Use the new facility of bsd.port.mk to be able to simplify the interaction
of USE_PHP and OPTIONS.

PR:		ports/106557
Submitted by:	ale
Hat:		portmgr
@
text
@d10 1
@


1.15
log
@- Update to 1.3.5

PR:             109554
Submitted by:   Kian Mohageri <kian.mohageri@@gmail.com>
Approved by:    maintainer
@
text
@a44 3
# we need this because we USE_PHP after bsd.port.pre.mk is included
.include "${PORTSDIR}/Mk/bsd.php.mk"

@


1.14
log
@- Update to 1.2.7

PR:		ports/105727
Submitted by:	Linh Pham (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.2.7
@


1.13
log
@- Update to 1.2.6
- Remove snort from depends [1]

PR:		ports/100783
Submitted by:	Linh Pham <question+fbsdports(at)closedsrc.org>
                Kian Mohageri <kian.mohageri(at)gmail.com> [1]
Approved by:	krion (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.2.6
@


1.12
log
@- Update security/base to 1.2.5, which includes some bugfixes.

PR:		98725
Submitted by:	maintainer (Linh Pham)
@
text
@d9 1
a9 1
PORTVERSION=	1.2.5
d17 1
a17 2
RUN_DEPENDS=	${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort \
		${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb \
@


1.11
log
@Update security/base to 1.2.4.
- BASE 1.2.4 includes many, many bugfixes and changes which PDF library it uses
- use OPTIONS
- Updated ./files/pkg-message.in to include mention of FPDF path, since it does
not use the standard PHP sub-ports or standard PHP class paths.

PR:		ports/94812
Submitted by:	Linh Pham <question+fbsdports@@closedsrc.org> (maintainer)
Approved by:	lawrance
@
text
@d9 1
a9 1
PORTVERSION=	1.2.4
@


1.10
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d9 1
a9 1
PORTVERSION=	1.2.2
d21 1
a21 1
USE_PHP=	yes
d28 21
d72 1
a72 1
.include <bsd.port.mk>
@


1.9
log
@- Update security/base to 1.2.2, which includes several fixes and updates,
  including: adding Turkish as a language, a final version of the SQL
  injection fix included in 1.2.1, and Portscan information.

PR:		91738
Submitted by:	Linh Pham (maintainer)
@
text
@a21 1
USE_REINPLACE=	yes
@


1.8
log
@- Update security/base to 1.2.1, which fixes a SQL injection issue
  derived from ACID.

PR:		ports/88257
Submitted by:	maintainer

Security:	http://www.vuxml.org/freebsd/f38c87a5-4a3e-11da-8ba2-0004614cc33d.html
@
text
@d9 1
a9 1
PORTVERSION=	1.2.1
@


1.7
log
@- Update to 1.2

PR:		ports/87327
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.2
@


1.6
log
@- Update to 1.1.4

PR:		ports/84725
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.1.4
@


1.5
log
@- Fix missing dependency.
- Complete pkg-message (note on Apache configuration).

PR:		ports/82829
Submitted by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	1.1.3
PORTREVISION=	1
@


1.4
log
@Update to 1.1.3.

PR:		82232
Submitted by:	Linh Pham (maintainer)
@
text
@d10 1
d19 2
a20 1
		${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb
@


1.3
log
@- Update to 1.1.2

PR:		ports/79702
Submitted by:	Linh Pham <question+fbsdports@@closedsrc.org> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.2
@


1.2
log
@- Update to 1.1

PR:		ports/79515
Submitted by:	Linh Pham <question+fbsdports@@closedsrc.org> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.1
@


1.1
log
@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]
@
text
@d9 1
a9 1
PORTVERSION=	1.0.2
d18 1
a18 2
		${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb \
		${JPGRAPH_DIR}/jpgraph.php:${PORTSDIR}/graphics/jpgraph
a23 1
JPGRAPH_DIR=	${LOCALBASE}/share/jpgraph
a29 1
		-e 's,ChartLib_path = "",ChartLib_path = "${JPGRAPH_DIR}",' \
d33 1
a33 1
	@@${MKDIR} ${PREFIX}/www/base/includes/templates/default
d36 1
a36 1
	@@${MKDIR} ${PREFIX}/www/base/${dir}
d40 1
a40 1
	@@${MKDIR} ${PREFIX}/www/base/${dir}
d46 1
a46 1
	@@${MKDIR} ${DOCSDIR}
@

