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
|
2006-12-21 20:14:24 +01:00
|
|
|
PORTVERSION= 0.9.7
|
2007-01-02 09:54:13 +01:00
|
|
|
PORTREVISION= 2
|
2003-06-18 04:52:48 +02:00
|
|
|
CATEGORIES= security
|
2006-03-21 12:50:53 +01:00
|
|
|
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
|
2006-07-28 15:23:33 +02:00
|
|
|
http://www.prelude-ids.org/download/releases/old/
|
2003-06-18 04:52:48 +02:00
|
|
|
|
2006-02-15 15:02:57 +01:00
|
|
|
MAINTAINER= r.gruyters@yirdis.nl
|
2003-06-18 04:52:48 +02:00
|
|
|
COMMENT= Prelude Network Intrusion Detection System central logging point
|
|
|
|
|
2006-12-21 20:14:24 +01:00
|
|
|
LIB_DEPENDS+= prelude.11:${PORTSDIR}/security/libprelude \
|
2007-01-02 09:54:13 +01:00
|
|
|
gnutls.15:${PORTSDIR}/security/gnutls
|
2003-06-18 04:52:48 +02:00
|
|
|
|
2005-10-18 16:28:01 +02:00
|
|
|
USE_GPG= yes
|
|
|
|
SIG_SUFFIX= .sig
|
2003-09-27 00:30:58 +02:00
|
|
|
USE_GMAKE= yes
|
2006-10-09 15:38:02 +02:00
|
|
|
USE_LDCONFIG= yes
|
2003-06-18 04:52:48 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-03-21 12:50:53 +01:00
|
|
|
USE_RC_SUBR= prelude-manager.sh
|
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
|
|
|
|
2006-12-21 20:14:24 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-06-16 18:28:28 +02:00
|
|
|
.if defined(WITHOUT_XML)
|
|
|
|
PLIST_SUB+= WITH_XML="@comment "
|
|
|
|
CONFIGURE_ARGS+= --disable-xmltest --without-xml
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
|
|
|
|
PLIST_SUB+= WITH_XML=""
|
|
|
|
.endif
|
|
|
|
|
2006-02-21 00:02:38 +01:00
|
|
|
.if defined(WITHOUT_DB)
|
|
|
|
PLIST_SUB+= WITH_DB="@comment "
|
|
|
|
.else
|
2006-08-15 08:45:33 +02:00
|
|
|
LIB_DEPENDS+= preludedb.4:${PORTSDIR}/security/libpreludedb
|
2006-02-21 00:02:38 +01:00
|
|
|
PLIST_SUB+= WITH_DB=""
|
|
|
|
.endif
|
|
|
|
|
2006-12-21 20:14:24 +01:00
|
|
|
post-install:
|
2006-12-22 09:54:38 +01:00
|
|
|
@if [ ! -f ${PREFIX}/etc/prelude-manager/prelude-manager.conf ]; then \
|
2006-12-21 20:14:24 +01:00
|
|
|
${CP} -p ${PREFIX}/etc/prelude-manager/prelude-manager.conf-dist \
|
|
|
|
${PREFIX}/etc/prelude-manager/prelude-manager.conf ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|