aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-05-30 14:11:57 +0800
committermiwi <miwi@FreeBSD.org>2007-05-30 14:11:57 +0800
commit6b04f233e3f5a87a55562c76a153571432e81e55 (patch)
tree93cc7e7adb29c8e1fdc9416689089865eb4a35de /security
parent80102cac4bc8a747b5ea18a3ec5aa0c256809d44 (diff)
downloadfreebsd-ports-gnome-6b04f233e3f5a87a55562c76a153571432e81e55.tar.gz
freebsd-ports-gnome-6b04f233e3f5a87a55562c76a153571432e81e55.tar.zst
freebsd-ports-gnome-6b04f233e3f5a87a55562c76a153571432e81e55.zip
- Update to 0.9.8
- Added user prelude with uid/gid 281 prelude-manager Changelog: - Initial implementation of the 'thresholding' plugin, allowing you to suppress events after a certain limit/threshold. - Filters hooking to a reporting plugin are now OR'ed instead of being AND'ed. AND is already possible by hooking filtering plugin one with another. - Improved error reporting. - Minor bug fixes. PR: 112416 Submitted by: Robin Gruyters <r.gruyters@yirdis.nl> (maintainer)
Diffstat (limited to 'security')
-rw-r--r--security/prelude-manager/Makefile9
-rw-r--r--security/prelude-manager/distinfo6
-rw-r--r--security/prelude-manager/pkg-plist6
3 files changed, 17 insertions, 4 deletions
diff --git a/security/prelude-manager/Makefile b/security/prelude-manager/Makefile
index 5efbc3d665a3..cc7ac39e47fd 100644
--- a/security/prelude-manager/Makefile
+++ b/security/prelude-manager/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= prelude-manager
-PORTVERSION= 0.9.7.2
+PORTVERSION= 0.9.8
CATEGORIES= security
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
http://www.prelude-ids.org/download/releases/old/
@@ -24,6 +24,13 @@ 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}
+
.include <bsd.port.pre.mk>
.if defined(WITHOUT_XML)
diff --git a/security/prelude-manager/distinfo b/security/prelude-manager/distinfo
index 47d5d15cef04..aad9fb374b9a 100644
--- a/security/prelude-manager/distinfo
+++ b/security/prelude-manager/distinfo
@@ -1,3 +1,3 @@
-MD5 (prelude-manager-0.9.7.2.tar.gz) = 7f32b6fb176d9f91d98f341928e0802e
-SHA256 (prelude-manager-0.9.7.2.tar.gz) = eed9903beb569b36ab46e81e8cc51ebdcf7a05322bafa456ee76da8f0ef369e7
-SIZE (prelude-manager-0.9.7.2.tar.gz) = 596874
+MD5 (prelude-manager-0.9.8.tar.gz) = be73ee46a7279200c5b9fcc4a2f9b7ad
+SHA256 (prelude-manager-0.9.8.tar.gz) = c5a41ba98ff05d4c75f237e7e8c01efb8c086362b0713736d4d3451a1c023f15
+SIZE (prelude-manager-0.9.8.tar.gz) = 617261
diff --git a/security/prelude-manager/pkg-plist b/security/prelude-manager/pkg-plist
index c3aee2f2b3d5..9d230e95dadb 100644
--- a/security/prelude-manager/pkg-plist
+++ b/security/prelude-manager/pkg-plist
@@ -1,4 +1,8 @@
@comment $FreeBSD$
+@exec mkdir -p /var/spool/prelude-manager/failover
+@exec mkdir -p /var/spool/prelude-manager/scheduler
+@exec chmod 700 /var/spool/prelude-manager /var/spool/prelude-manager/failover /var/spool/prelude-manager/scheduler
+@exec chown %%PRELUDEUSER%%:%%PRELUDEGROUP%% /var/run/prelude-manager /var/spool/prelude-manager /var/spool/prelude-manager/failover /var/spool/prelude-manager/scheduler
bin/prelude-manager
@unexec if cmp -s %D/etc/prelude-manager/prelude-manager.conf %D/etc/prelude-manager/prelude-manager.conf-dist; then rm -f %D/etc/prelude-manager/prelude-manager.conf; fi
etc/prelude-manager/prelude-manager.conf-dist
@@ -6,6 +10,8 @@ etc/prelude-manager/prelude-manager.conf-dist
include/prelude-manager/prelude-manager.h
lib/prelude-manager/filters/idmef-criteria.la
lib/prelude-manager/filters/idmef-criteria.so
+lib/prelude-manager/filters/thresholding.so
+lib/prelude-manager/filters/thresholding.la
lib/prelude-manager/decodes/normalize.so
lib/prelude-manager/decodes/normalize.la
%%WITH_PRELUDEDB%%lib/prelude-manager/reports/db.la