From 6fdf599c60875e013986282246f5ee80da6f4335 Mon Sep 17 00:00:00 2001 From: shannonjr Date: Wed, 11 Oct 2006 14:46:10 +0000 Subject: Update to 0.9.11. Changes: - Hook class comparison function. Accept NULL, equal, not equal operator. - Introduce better error checking in the idmef-class API, which is now considered public and might be used by external application. Rename error code to reflect the API. - Change to the way IDMEF listed element are handled. Specifying negative number as the position of the element from the low level API now allow to position the element at the specified (reversed) index. Using the high level API a negative index permit to address a list of element backward (replace an element). - Build fixes for SWIG > 1.3.27. - Modify idmef_value_match() so that it always unroll listed value (do it for both val1 and val2. Remove assertion, and let idmef_value_type_compare() return an error code in case there is an issue. - Handle path using IDMEF_LIST_APPEND or IDMEF_LIST_PREPEND as path using an undefined list index on idmef_path_get() call. - Make criteria parser accept (*) list index. - Implement comparison function for all IDMEF object. --- security/libprelude/Makefile | 5 ++--- security/libprelude/PLIST.py | 3 ++- security/libprelude/distinfo | 9 ++++----- security/libprelude/patches/patch-ad | 31 ------------------------------- 4 files changed, 8 insertions(+), 40 deletions(-) delete mode 100644 security/libprelude/patches/patch-ad diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile index 6ddc84c4be7..5bbdeca140a 100644 --- a/security/libprelude/Makefile +++ b/security/libprelude/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.17 2006/08/31 18:02:41 rillig Exp $ +# $NetBSD: Makefile,v 1.18 2006/10/11 14:46:10 shannonjr Exp $ # -DISTNAME= libprelude-0.9.10.1 -PKGREVISION= 1 +DISTNAME= libprelude-0.9.11 CATEGORIES= security MASTER_SITES= http://www.prelude-ids.org/download/releases/ \ http://www.prelude-ids.org/download/releases/old/ diff --git a/security/libprelude/PLIST.py b/security/libprelude/PLIST.py index 734de693366..f5d37e69ed5 100644 --- a/security/libprelude/PLIST.py +++ b/security/libprelude/PLIST.py @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST.py,v 1.2 2006/08/31 13:04:54 rillig Exp $ +@comment $NetBSD: PLIST.py,v 1.3 2006/10/11 14:46:10 shannonjr Exp $ ${PYSITELIB}/_prelude.so ${PYSITELIB}/prelude.py ${PYSITELIB}/prelude.pyc +${PYSITELIB}/prelude.py diff --git a/security/libprelude/distinfo b/security/libprelude/distinfo index 7390f18788e..6adeab37edc 100644 --- a/security/libprelude/distinfo +++ b/security/libprelude/distinfo @@ -1,9 +1,8 @@ -$NetBSD: distinfo,v 1.12 2006/08/23 10:51:25 shannonjr Exp $ +$NetBSD: distinfo,v 1.13 2006/10/11 14:46:10 shannonjr Exp $ -SHA1 (libprelude-0.9.10.1.tar.gz) = 4172c790a403c11eff06a8fc7d6cc73d9e3e30e0 -RMD160 (libprelude-0.9.10.1.tar.gz) = d8b07a88b0ff8a57d49aac80d07d515e3cab6a15 -Size (libprelude-0.9.10.1.tar.gz) = 1788966 bytes +SHA1 (libprelude-0.9.11.tar.gz) = fd938d550d3cd7c895c54eee78c3ae20ea709282 +RMD160 (libprelude-0.9.11.tar.gz) = 61c058ebc3ccec07cc650e1573633bb8f075f7a0 +Size (libprelude-0.9.11.tar.gz) = 1809482 bytes SHA1 (patch-aa) = 1d788517feb2ef687777ae6640033d9f177b07f8 SHA1 (patch-ab) = 592f42a6d9217c502eb49e8fb0ba7d17a49f2ada SHA1 (patch-ac) = 9cb75b90f961fd75faca146881d70262a3cf7d1c -SHA1 (patch-ad) = e590779a4158cb1daef40cf4e00e262b9549120d diff --git a/security/libprelude/patches/patch-ad b/security/libprelude/patches/patch-ad deleted file mode 100644 index 4f8081d7449..00000000000 --- a/security/libprelude/patches/patch-ad +++ /dev/null @@ -1,31 +0,0 @@ -$NetBSD: patch-ad,v 1.3 2006/08/23 10:51:25 shannonjr Exp $ - ---- ./bindings/python/_prelude.c.orig 2006-07-25 07:30:30.000000000 -0600 -+++ ./bindings/python/_prelude.c -@@ -49118,7 +49118,7 @@ SWIGEXPORT void SWIG_init(void) { - PyDict_SetItemString(d,"PRELUDE_INT32_MIN", SWIG_From_int((int)((-2147483647-1)))); - } - { -- PyDict_SetItemString(d,"PRELUDE_INT64_MIN", SWIG_From_long((long)((-9223372036854775807L-1)))); -+ PyDict_SetItemString(d,"PRELUDE_INT64_MIN", PyLong_FromLongLong((long long)((-9223372036854775807LL-1)))); - } - { - PyDict_SetItemString(d,"PRELUDE_INT8_MAX", SWIG_From_int((int)((127)))); -@@ -49130,7 +49130,7 @@ SWIGEXPORT void SWIG_init(void) { - PyDict_SetItemString(d,"PRELUDE_INT32_MAX", SWIG_From_int((int)((2147483647)))); - } - { -- PyDict_SetItemString(d,"PRELUDE_INT64_MAX", SWIG_From_long((long)((9223372036854775807L)))); -+ PyDict_SetItemString(d,"PRELUDE_INT64_MAX", PyLong_FromLongLong((long long)((9223372036854775807LL)))); - } - { - PyDict_SetItemString(d,"PRELUDE_UINT8_MAX", SWIG_From_int((int)((255)))); -@@ -49142,7 +49142,7 @@ SWIGEXPORT void SWIG_init(void) { - PyDict_SetItemString(d,"PRELUDE_UINT32_MAX", SWIG_From_unsigned_SS_int((unsigned int)((4294967295U)))); - } - { -- PyDict_SetItemString(d,"PRELUDE_UINT64_MAX", SWIG_From_unsigned_SS_long((unsigned long)((18446744073709551615UL)))); -+ PyDict_SetItemString(d,"PRELUDE_UINT64_MAX", PyLong_FromUnsignedLongLong((unsigned long long)((18446744073709551615ULL)))); - } - PyDict_SetItemString(d,"PRELUDE_PRId64", SWIG_FromCharPtr("ld")); - PyDict_SetItemString(d,"PRELUDE_PRIi64", SWIG_FromCharPtr("li")); -- cgit v1.2.3