diff options
-rw-r--r-- | security/prelude-lml/Makefile | 25 | ||||
-rw-r--r-- | security/prelude-lml/distinfo | 6 | ||||
-rw-r--r-- | security/prelude-lml/pkg-plist | 8 |
3 files changed, 33 insertions, 6 deletions
diff --git a/security/prelude-lml/Makefile b/security/prelude-lml/Makefile index 766b61c739b4..de7b1288e7cc 100644 --- a/security/prelude-lml/Makefile +++ b/security/prelude-lml/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= prelude-lml -PORTVERSION= 0.9.7 +PORTVERSION= 0.9.8.1 CATEGORIES= security MASTER_SITES= http://www.prelude-ids.org/download/releases/ \ http://www.prelude-ids.org/download/releases/old/ @@ -13,7 +13,7 @@ MASTER_SITES= http://www.prelude-ids.org/download/releases/ \ MAINTAINER= r.gruyters@yirdis.nl COMMENT= Prelude Network Intrusion Detection System Log Monitoring Lackey -LIB_DEPENDS+= prelude.10:${PORTSDIR}/security/libprelude \ +LIB_DEPENDS+= prelude.11:${PORTSDIR}/security/libprelude \ pcre.0:${PORTSDIR}/devel/pcre USE_GPG= yes @@ -24,4 +24,23 @@ 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.mk> +.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> diff --git a/security/prelude-lml/distinfo b/security/prelude-lml/distinfo index cb4a5e68b087..b0f57a551bb5 100644 --- a/security/prelude-lml/distinfo +++ b/security/prelude-lml/distinfo @@ -1,3 +1,3 @@ -MD5 (prelude-lml-0.9.7.tar.gz) = d161cc373a37610896a492b09005f0f7 -SHA256 (prelude-lml-0.9.7.tar.gz) = 860b5af24e24dc5f4566075169f56cc99e619e9a2b3d195eb836f0c334adee97 -SIZE (prelude-lml-0.9.7.tar.gz) = 557907 +MD5 (prelude-lml-0.9.8.1.tar.gz) = 9304593d58d2aa1268760c93150ab8db +SHA256 (prelude-lml-0.9.8.1.tar.gz) = 0f902e823dc0b8ca94491d69ab1f925aa53dd2257429ff216072dc3d0e01340e +SIZE (prelude-lml-0.9.8.1.tar.gz) = 554886 diff --git a/security/prelude-lml/pkg-plist b/security/prelude-lml/pkg-plist index f7911bdd8986..c395ed3854dc 100644 --- a/security/prelude-lml/pkg-plist +++ b/security/prelude-lml/pkg-plist @@ -1,17 +1,24 @@ @comment $FreeBSD$ bin/prelude-lml +@unexec if cmp -s %D/etc/prelude-lml/plugins.rules %D/etc/prelude-lml/plugins.rules-dist; then rm -f %D/etc/prelude-lml/plugins.rules; fi etc/prelude-lml/plugins.rules-dist +@exec if [ ! -f %D/etc/prelude-lml/plugins.rules ] ; then cp -p %D/%F %B/plugins.rules; fi +@unexec if cmp -s %D/etc/prelude-lml/prelude-lml.conf %D/etc/prelude-lml/prelude-lml.conf-dist; then rm -f %D/etc/prelude-lml/prelude-lml.conf; fi etc/prelude-lml/prelude-lml.conf-dist +@exec if [ ! -f %D/etc/prelude-lml/prelude-lml.conf ] ; then cp -p %D/%F %B/prelude-lml.conf; fi etc/prelude-lml/ruleset/apc-emu.rules etc/prelude-lml/ruleset/arbor.rules etc/prelude-lml/ruleset/arpwatch.rules +etc/prelude-lml/ruleset/cacti-thold.rules etc/prelude-lml/ruleset/checkpoint.rules etc/prelude-lml/ruleset/cisco-asa.rules etc/prelude-lml/ruleset/cisco-css.rules +etc/prelude-lml/ruleset/cisco-ips.rules etc/prelude-lml/ruleset/cisco-router.rules etc/prelude-lml/ruleset/cisco-vpn.rules etc/prelude-lml/ruleset/clamav.rules etc/prelude-lml/ruleset/dell-om.rules +etc/prelude-lml/ruleset/exim.rules etc/prelude-lml/ruleset/f5-bigip.rules etc/prelude-lml/ruleset/grsecurity.rules etc/prelude-lml/ruleset/honeyd.rules @@ -21,6 +28,7 @@ etc/prelude-lml/ruleset/ipfw.rules etc/prelude-lml/ruleset/ipso.rules etc/prelude-lml/ruleset/linksys-wap11.rules etc/prelude-lml/ruleset/modsecurity.rules +etc/prelude-lml/ruleset/ms-cluster.rules etc/prelude-lml/ruleset/ms-sql.rules etc/prelude-lml/ruleset/nagios.rules etc/prelude-lml/ruleset/navce.rules |