e17793cbe5
Changelog prelude-lml: - Ability to use regular expressions in plugins.rules to define monitored sources, this can be very useful when combined to file globing. - [SPEEDUP] When the "*" keyword is used, the data is passed to the upper layer without trying to match anything. - Fix NULL pointer dereference when a rule reference an existing, but empty context (fix #226). - Remove deprecated use of prelude_client_print_setup_error(), directly handled via prelude_perror(). - Make the log parser more robust. PR: 112835 Submitted by: Robin Gruyters <r.gruyters@yirdis.nl> (maintainer)
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# New ports collection makefile for: prelude-lml
|
|
# Date created: Sun Aug 4 19:31:17 CEST 2002
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= prelude-lml
|
|
PORTVERSION= 0.9.10
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
|
|
http://www.prelude-ids.org/download/releases/old/
|
|
|
|
MAINTAINER= r.gruyters@yirdis.nl
|
|
COMMENT= Prelude Network Intrusion Detection System Log Monitoring Lackey
|
|
|
|
LIB_DEPENDS+= prelude.11:${PORTSDIR}/security/libprelude \
|
|
pcre.0:${PORTSDIR}/devel/pcre
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_RC_SUBR= prelude-lml.sh
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_FAM)
|
|
USE_FAM= yes
|
|
CONFIGURE_ARGS+= --enable-fam
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-fam
|
|
.endif
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/etc/prelude-lml/prelude-lml.conf ]; then \
|
|
${CP} -p ${PREFIX}/etc/prelude-lml/prelude-lml.conf-dist \
|
|
${PREFIX}/etc/prelude-lml/prelude-lml.conf ; \
|
|
fi
|
|
@if [ ! -f ${PREFIX}/etc/prelude-lml/plugins.rules ]; then \
|
|
${CP} -p ${PREFIX}/etc/prelude-lml/plugins.rules-dist \
|
|
${PREFIX}/etc/prelude-lml/plugins.rules ; \
|
|
fi
|
|
|
|
.include <bsd.port.post.mk>
|