head	1.13;
access;
symbols
	RELEASE_8_3_0:1.8
	RELEASE_9_0_0:1.8
	RELEASE_7_4_0:1.8
	RELEASE_8_2_0:1.8
	RELEASE_6_EOL:1.8
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.8
	RELEASE_8_0_0:1.8
	RELEASE_7_2_0:1.8
	RELEASE_7_1_0:1.8
	RELEASE_6_4_0:1.8
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3;
locks; strict;
comment	@# @;


1.13
date	2012.11.17.06.01.20;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.06.01.05.24.09;	author dinoex;	state Exp;
branches;
next	1.11;

1.11
date	2012.04.14.13.24.08;	author bapt;	state Exp;
branches;
next	1.10;

1.10
date	2012.04.10.17.53.21;	author bapt;	state Exp;
branches;
next	1.9;

1.9
date	2012.04.09.22.13.28;	author bapt;	state Exp;
branches;
next	1.8;

1.8
date	2007.05.19.20.22.53;	author flz;	state Exp;
branches;
next	1.7;

1.7
date	2006.11.17.10.13.02;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2006.10.12.03.35.56;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2006.08.17.09.40.02;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2006.07.03.22.54.56;	author linimon;	state Exp;
branches;
next	1.3;

1.3
date	2004.02.09.11.43.38;	author ale;	state Exp;
branches;
next	1.2;

1.2
date	2004.01.29.23.43.56;	author ale;	state Exp;
branches;
next	1.1;

1.1
date	2004.01.29.09.55.49;	author ale;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Switch exporter over
@
text
@# New ports collection makefile for:   snortreport
# Date created:        18 Jan 2004
# Whom:                Andrea Venturoli <freebsd@@netfence.it>
#
# $FreeBSD: head/security/snortreport/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	snortreport
PORTVERSION=	1.3.3
PORTREVISION=	1
CATEGORIES=	security www
MASTER_SITES=	http://www.symmetrixtech.com/ids/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Add-on module for snort to generate real-time web reports

LICENSE=	GPLv2

.if !defined(WITHOUT_JPGRAPH)
RUN_DEPENDS=	${LOCALBASE}/share/jpgraph/jpgraph.php:${PORTSDIR}/graphics/jpgraph2
.endif

USE_PHP=	yes
WANT_PHP_WEB=	yes

PKGMESSAGE=	${WRKDIR}/pkg-message
NO_BUILD=	yes

pre-everything::
	@@${ECHO} ""
	@@${ECHO} "You have to configure PHP either with MySQL or PostgreSQL"
	@@${ECHO} "support in order to let snortreport collect its data."
	@@${ECHO} "Is is also suggested to compile support for GD in"
	@@${ECHO} "and have Jpgraph installed in order to view the charts."
	@@${ECHO} ""

pre-patch:
	@@${SED} 's|%%PREFIX%%|${PREFIX}|g' \
		${PKGDIR}/pkg-message > ${PKGMESSAGE}

do-install:
	${MKDIR} ${PREFIX}/www/snortreport
	${CP} -p ${WRKSRC}/*.php ${PREFIX}/www/snortreport
	${CP} -p ${WRKSRC}/*.css ${PREFIX}/www/snortreport
	${CP} -p ${WRKSRC}/*.png ${PREFIX}/www/snortreport
	${CP} -p ${WRKSRC}/*.html ${PREFIX}/www/snortreport
	${CP} -p ${WRKSRC}/*.phps ${PREFIX}/www/snortreport
	${CP} -p ${WRKSRC}/*.js ${PREFIX}/www/snortreport
	${CHOWN} -R www:www ${PREFIX}/www/snortreport

post-install:
.if !defined(NOPORTDOCS)
	${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/Performance.txt ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/create_indexes.sql ${DOCSDIR}
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.12
log
@- update png to 1.5.10
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@Fix jpgraph dependency testing
@
text
@d10 1
@


1.10
log
@- update to 1.3.3
- switch from php4 to php5
- switch from jpgraph to jpgraph2 (which is actually version 3 :))
@
text
@d19 1
a19 1
RUN_DEPENDS=	${LOCALBASE}/share/jpgraph2/jpgraph.php:${PORTSDIR}/graphics/jpgraph2
@


1.9
log
@Back to the pool, maintainer's email address no more valid

Feature safe:	yes
@
text
@d9 1
a9 2
PORTVERSION=	1.3.1
PORTREVISION=	1
d16 2
d19 1
a19 1
RUN_DEPENDS=	${LOCALBASE}/share/jpgraph/jpgraph.php:${PORTSDIR}/graphics/jpgraph
a23 2
IGNORE_WITH_PHP=	5
DEFAULT_PHP_VER=	4
@


1.8
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d14 1
a14 1
MAINTAINER=	freebsd@@netfence.it
@


1.7
log
@- Update to 105618

PR:		ports/105618
Submitted by:	Andrea Venturoli <freebsd@@netfence.it> (maintainer)
@
text
@d10 1
@


1.6
log
@Revert previous commit; it still conflicts but CONFLICTS checking was
broken at the time.

Approved by:	portmgr (self)
@
text
@d3 1
a3 1
# Whom:                Andrea Venturoli <a.ventu@@flashnet.it>
d9 1
a9 1
PORTVERSION=	1.2
d11 1
a11 1
MASTER_SITES=	http://www.circuitsmaximus.com/snortreport/
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
d22 2
a27 2
BROKEN=		does not package; depends on multiple versions of PHP

@


1.5
log
@Now packages again
@
text
@d26 2
@


1.4
log
@Mark as BROKEN due to dependency on multiple PHP versions.  Also, reset
maintainer due to mbox overflow.
@
text
@a25 2
BROKEN=		does not package; depends on multiple versions of PHP

@


1.3
log
@Remove lang/php4/bsd.php.mk and switch every ports depending on PHP to
use Mk/bsd.php.mk.

Approved by:	nork (mentor/implicitly)
@
text
@d13 1
a13 1
MAINTAINER=	a.ventu@@flashnet.it
d26 2
@


1.2
log
@Fix email address.

Noticed by:	Alessandro de Manzano
Approved by:	nork (mentor/implicitly)
@
text
@d20 1
a25 3
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/php4/bsd.php.mk"

d58 1
a58 1
.include <bsd.port.post.mk>
@


1.1
log
@Add snortreport 1.2, add-on module for snort to generate real-time web
reports.

PR:		ports/62046
Submitted by:	Andrea Venturoli <a.ventu@@FreeBSD.org>
Approved by:	nork (mentor/implicitly)
@
text
@d3 1
a3 1
# Whom:                Andrea Venturoli <a.ventu@@FreeBSD.org>
@

