aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-05-30 06:11:57 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-05-30 06:11:57 +0000
commit016298809b9f445b0a07a04ae604d63fac69436d (patch)
treebf843e55152c63719adb37e4753824f8e1fead47
parent3fae1bf13280f35e91e7c5b24cc644b3f39e6f3c (diff)
downloadports-016298809b9f445b0a07a04ae604d63fac69436d.tar.gz
ports-016298809b9f445b0a07a04ae604d63fac69436d.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)
Notes
Notes: svn path=/head/; revision=192367
-rw-r--r--GIDs1
-rw-r--r--UIDs1
-rw-r--r--security/prelude-manager/Makefile9
-rw-r--r--security/prelude-manager/distinfo6
-rw-r--r--security/prelude-manager/pkg-plist6
5 files changed, 19 insertions, 4 deletions
diff --git a/GIDs b/GIDs
index 1bb3375754d5..c51433169997 100644
--- a/GIDs
+++ b/GIDs
@@ -85,6 +85,7 @@ smxm:*:263:
smx:*:264:
haclient:*:275:
mrtg:*:279:
+prelude:*:281:
_sphinx:*:312:
dkfilter:*:325:
wildfire:*:340:
diff --git a/UIDs b/UIDs
index ed31f228ddb2..51d55f520240 100644
--- a/UIDs
+++ b/UIDs
@@ -95,6 +95,7 @@ smxm:*:263:263:Sendmail X misc:/nonexistent:/usr/sbin/nologin
smx:*:264:264:Sendmail X other:/nonexistent:/usr/sbin/nologin
hacluster:*:275:275:Heartbeat cluster user:/nonexistent:/sbin/nologin
mrtg:*:279:279:MRTG daemon:/nonexistent:/sbin/nologin
+prelude:*:281:281:Prelude user:/nonexistent:/sbin/nologin
_sphinx:*:312:312::0:0:Sphinxsearch Owner:/nonexistent:/sbin/nologin
dkfilter:*:325:325:DK Filter Owner:/nonexistent:/sbin/nologin
wildfire:*:340:340::0:0:Wildfire Daemon:/nonexistent:/sbin/nologin
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