2003-06-18 04:52:48 +02:00
|
|
|
# New ports collection makefile for: prelude-manager
|
|
|
|
# Date created: Sun Aug 4 19:31:17 CEST 2002
|
|
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= prelude-manager
|
2003-12-17 01:07:53 +01:00
|
|
|
PORTVERSION= 0.8.10
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 1
|
2003-06-18 04:52:48 +02:00
|
|
|
CATEGORIES= security
|
2003-07-30 13:35:41 +02:00
|
|
|
MASTER_SITES= http://www.prelude-ids.org/download/releases/
|
2003-06-18 04:52:48 +02:00
|
|
|
|
2005-04-26 10:21:06 +02:00
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
2003-06-18 04:52:48 +02:00
|
|
|
COMMENT= Prelude Network Intrusion Detection System central logging point
|
|
|
|
|
2003-12-17 01:07:53 +01:00
|
|
|
LIB_DEPENDS+= prelude.1:${PORTSDIR}/security/libprelude \
|
|
|
|
xml2.5:${PORTSDIR}/textproc/libxml2
|
2003-06-18 04:52:48 +02:00
|
|
|
|
2003-09-27 00:30:58 +02:00
|
|
|
USE_GMAKE= yes
|
2003-06-18 04:52:48 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-03-25 22:26:53 +01:00
|
|
|
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
|
|
|
|
--localstatedir=/var
|
2003-06-18 04:52:48 +02:00
|
|
|
|
|
|
|
.if defined(WITHOUT_SSL)
|
|
|
|
CONFIGURE_ARGS+= --disable-openssl
|
|
|
|
.else
|
|
|
|
USE_OPENSSL= YES
|
|
|
|
CONFIGURE_ARGS+= --enable-openssl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MYSQL)
|
2003-08-28 14:14:21 +02:00
|
|
|
USE_MYSQL= YES
|
2003-06-18 04:52:48 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-mysql
|
|
|
|
PLIST_SUB+= MYSQL=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-mysql
|
2003-07-30 13:35:41 +02:00
|
|
|
PLIST_SUB+= MYSQL="@comment "
|
2003-06-18 04:52:48 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_POSTGRES)
|
2005-01-31 01:35:55 +01:00
|
|
|
USE_PGSQL= YES
|
2003-07-30 13:35:41 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-pgsql
|
|
|
|
PLIST_SUB+= PGSQL=""
|
2003-06-18 04:52:48 +02:00
|
|
|
.else
|
2003-07-30 13:35:41 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-pgsql
|
2003-06-18 04:52:48 +02:00
|
|
|
PLIST_SUB+= PGSQL="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "*---------------------------------------------------------------------------*"
|
|
|
|
@${ECHO} "Options:"
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} " WITHOUT_SSL=yes Disable SSL support"
|
|
|
|
@${ECHO} " WITH_MYSQL=yes Enable MySQL support"
|
|
|
|
@${ECHO} " WITH_POSTGRES=yes Enable PostreSQL support"
|
|
|
|
@${ECHO} "*---------------------------------------------------------------------------*"
|
|
|
|
@${ECHO} ""
|
|
|
|
|
2003-08-28 14:14:21 +02:00
|
|
|
.include <bsd.port.mk>
|