1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/security/prelude-manager/Makefile
Cheng-Lung Sung be9a93457a - Update to 0.9.10
Changelog prelude-manager-0.9.10:
- Make threshold act like a real threshold: pass every Nth events
  in the defined amount of seconds.
- Allow mixing Limit and Threshold.
- Do not share the tresholding hash accross thresholding plugin instance:
  previously, the shared hash would result in strange thresholding plugin
  behavior if you had several instance of thresholding loaded.
- Various bug fixes concerning plugin instance un-subscribtion
  (unsubscribtion of certain plugin was not triggered).

PR:		ports/117416
Submitted by:	maintainer (Robin Gruyters)
2007-10-25 02:16:57 +00:00

70 lines
1.7 KiB
Makefile

# 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
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 central logging point
LIB_DEPENDS+= prelude.13:${PORTSDIR}/security/libprelude \
gnutls.13:${PORTSDIR}/security/gnutls
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_RC_SUBR= prelude-manager.sh
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--localstatedir=/var
PRELUDEUSER?= prelude
PRELUDEGROUP?= prelude
PRELUDEDIR?= /nonexistent
PRELUDEUID= 281
PRELUDEGID= ${PRELUDEUID}
MAN1= prelude-manager.1
.include <bsd.port.pre.mk>
PLIST_SUB+= PRELUDEDIR=${PRELUDEDIR} \
PRELUDEUSER=${PRELUDEUSER} \
PRELUDEGROUP=${PRELUDEGROUP}
SUB_FILES= pkg-install \
pkg-deinstall
SUB_LIST= PREFIX=${PREFIX} \
${PLIST_SUB}
.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
.if defined(WITHOUT_PRELUDEDB)
PLIST_SUB+= WITH_PRELUDEDB="@comment "
.else
LIB_DEPENDS+= preludedb.4:${PORTSDIR}/security/libpreludedb
PLIST_SUB+= WITH_PRELUDEDB=""
.endif
post-install:
@if [ ! -f ${PREFIX}/etc/prelude-manager/prelude-manager.conf ]; then \
${CP} -p ${PREFIX}/etc/prelude-manager/prelude-manager.conf-dist \
${PREFIX}/etc/prelude-manager/prelude-manager.conf ; \
fi
.include <bsd.port.post.mk>