1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

- update to 0.9.7.1;

- change variable WITH(OUT)_DB to WITH(OUT)_PRELUDEDB;
- delete the patch files/patch-xmlmod.c (merged upstream).

PR:		107986
Submitted by:	Robin Gruyters <r.gruyters at yirdis.nl> (maintainer)
This commit is contained in:
Boris Samorodov 2007-01-16 19:04:22 +00:00
parent 932ec1ea35
commit f11eb77bb3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182536
4 changed files with 9 additions and 21 deletions

View File

@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= prelude-manager
PORTVERSION= 0.9.7
PORTREVISION= 2
PORTVERSION= 0.9.7.1
CATEGORIES= security
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
http://www.prelude-ids.org/download/releases/old/
@ -37,11 +36,11 @@ LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
PLIST_SUB+= WITH_XML=""
.endif
.if defined(WITHOUT_DB)
PLIST_SUB+= WITH_DB="@comment "
.if defined(WITHOUT_PRELUDEDB)
PLIST_SUB+= WITH_PRELUDEDB="@comment "
.else
LIB_DEPENDS+= preludedb.4:${PORTSDIR}/security/libpreludedb
PLIST_SUB+= WITH_DB=""
PLIST_SUB+= WITH_PRELUDEDB=""
.endif
post-install:

View File

@ -1,3 +1,3 @@
MD5 (prelude-manager-0.9.7.tar.gz) = 6265843b38384f5d6c4005f3837af091
SHA256 (prelude-manager-0.9.7.tar.gz) = 6c3b8edba4aeb4ed13586fc41047e477824f97e625db124e2d2591d411a56106
SIZE (prelude-manager-0.9.7.tar.gz) = 565775
MD5 (prelude-manager-0.9.7.1.tar.gz) = 4af593e21b41faa220d9dc9648df4a85
SHA256 (prelude-manager-0.9.7.1.tar.gz) = 2a35c94f1aab51fee089b72c5bd299e281d6d44199a9fed942c554d76fb21ce2
SIZE (prelude-manager-0.9.7.1.tar.gz) = 565882

View File

@ -1,11 +0,0 @@
--- plugins/reports/xmlmod/xmlmod.c.orig Wed Dec 20 15:58:15 2006
+++ plugins/reports/xmlmod/xmlmod.c Thu Dec 21 16:59:22 2006
@@ -58,7 +58,7 @@
size_t ret;
ret = fwrite(buf, 1, len, context);
- if ( ret != (size_t ) len && ferror(context) ) {
+ if ( ret != (size_t ) len && ferror((FILE *) context) ) {
prelude_log(PRELUDE_LOG_ERR, "could not write IDMEF-XML data: '%s'.\n", strerror(errno));
return -1;
}

View File

@ -8,8 +8,8 @@ lib/prelude-manager/filters/idmef-criteria.la
lib/prelude-manager/filters/idmef-criteria.so
lib/prelude-manager/decodes/normalize.so
lib/prelude-manager/decodes/normalize.la
%%WITH_DB%%lib/prelude-manager/reports/db.la
%%WITH_DB%%lib/prelude-manager/reports/db.so
%%WITH_PRELUDEDB%%lib/prelude-manager/reports/db.la
%%WITH_PRELUDEDB%%lib/prelude-manager/reports/db.so
lib/prelude-manager/reports/debug.la
lib/prelude-manager/reports/debug.so
lib/prelude-manager/reports/relaying.la