2012-12-15 23:22:37 +01:00
|
|
|
# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
2003-06-18 04:45:20 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= prelude-lml
|
2012-12-15 23:22:37 +01:00
|
|
|
PORTVERSION= 1.0.1
|
2014-02-07 12:44:08 +01:00
|
|
|
PORTREVISION= 5
|
2003-06-18 04:45:20 +02:00
|
|
|
CATEGORIES= security
|
2012-12-15 23:22:37 +01:00
|
|
|
MASTER_SITES= https://www.prelude-ids.org/attachments/download/242/
|
2003-06-18 04:45:20 +02:00
|
|
|
|
2009-09-24 00:17:11 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-06-18 04:45:20 +02:00
|
|
|
COMMENT= Prelude Network Intrusion Detection System Log Monitoring Lackey
|
|
|
|
|
2014-02-07 12:44:08 +01:00
|
|
|
LIB_DEPENDS= libicuuc.so:${PORTSDIR}/devel/icu \
|
|
|
|
libpcre.so:${PORTSDIR}/devel/pcre \
|
|
|
|
libgmp.so:${PORTSDIR}/math/gmp \
|
|
|
|
libgnutls.so:${PORTSDIR}/security/gnutls \
|
|
|
|
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
|
|
|
|
libgpg-error.so:${PORTSDIR}/security/libgpg-error \
|
|
|
|
libprelude.so:${PORTSDIR}/security/libprelude \
|
|
|
|
libnettle.so:${PORTSDIR}/security/nettle \
|
|
|
|
libp11-kit.so:${PORTSDIR}/security/p11-kit
|
2003-06-18 04:45:20 +02:00
|
|
|
|
2005-10-18 18:19:42 +02:00
|
|
|
USE_GMAKE= yes
|
2012-12-15 23:22:37 +01:00
|
|
|
USE_AUTOTOOLS= libltdl
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2012-08-06 01:19:36 +02:00
|
|
|
USE_RC_SUBR= prelude-lml
|
2004-03-25 22:26:53 +01:00
|
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
|
2013-06-29 23:35:45 +02:00
|
|
|
USES= charsetfix gettext iconv pkgconfig
|
2003-06-18 04:45:20 +02:00
|
|
|
|
2012-12-15 23:22:37 +01:00
|
|
|
OPTIONS_DEFINE= FAM
|
2014-01-05 00:40:44 +01:00
|
|
|
FAM_CONFIGURE_ENABLE= fam
|
|
|
|
FAM_USES= fam
|
2006-12-21 20:14:20 +01:00
|
|
|
|
2013-09-21 00:55:24 +02:00
|
|
|
NO_STAGE= yes
|
2006-12-21 20:14:20 +01:00
|
|
|
|
|
|
|
post-install:
|
2006-12-22 09:51:41 +01:00
|
|
|
@if [ ! -f ${PREFIX}/etc/prelude-lml/prelude-lml.conf ]; then \
|
2006-12-21 20:14:20 +01:00
|
|
|
${CP} -p ${PREFIX}/etc/prelude-lml/prelude-lml.conf-dist \
|
|
|
|
${PREFIX}/etc/prelude-lml/prelude-lml.conf ; \
|
|
|
|
fi
|
2006-12-22 09:51:41 +01:00
|
|
|
@if [ ! -f ${PREFIX}/etc/prelude-lml/plugins.rules ]; then \
|
2006-12-21 20:14:20 +01:00
|
|
|
${CP} -p ${PREFIX}/etc/prelude-lml/plugins.rules-dist \
|
|
|
|
${PREFIX}/etc/prelude-lml/plugins.rules ; \
|
|
|
|
fi
|
|
|
|
|
2012-12-15 23:22:37 +01:00
|
|
|
.include <bsd.port.mk>
|