diff options
author | clsung <clsung@FreeBSD.org> | 2007-10-05 09:44:07 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2007-10-05 09:44:07 +0800 |
commit | c8106e0426648cf42d267cbb878d576d624ea36e (patch) | |
tree | 9eea75fdf1dc5738bda2252805a5160172e7fa29 | |
parent | a4642a16bfe54fe1a242b5d09a5a65a48a501cd9 (diff) | |
download | freebsd-ports-gnome-c8106e0426648cf42d267cbb878d576d624ea36e.tar.gz freebsd-ports-gnome-c8106e0426648cf42d267cbb878d576d624ea36e.tar.zst freebsd-ports-gnome-c8106e0426648cf42d267cbb878d576d624ea36e.zip |
- Update to 0.9.15.2
- Updated patch-Makefile.in
- Added Man page
Changelog libprelude:
- prelude-adduser has been renamed to prelude-admin, and now include command
to print or send files containing binary IDMEF data.
- Brand new failover implementation, Feature a real 'journaling' log,
allowing to restart where we were interupted. Allow multiple process to write to
the same failover, and is chroot safe.
- prelude-admin manpage, thanks to Frederic Motte <fred at ubixis com>.
- Use SHA1 in place of MD5 for Analyzer checksum.
- Do not set TCP option on UNIX socket, avoid un-necessary warning.
- New measure all over the public interface to protect against bad API
usage, when a function is not used correctly, a critical warning is triggered.
- [logging]: New PRELUDE_LOG_CRIT logging priority.
- [logging]: Correctly map Prelude log level to Syslog priority.
- [logging]: Improved logging format (include timestamp, level, process pid).
- [logging]: New LIBPRELUDE_ABORT variable, useful if you'd like libprelude
to abord on critical assertion.
- [logging]: Automatically switch to syslog mode if we detect stdout/stderr
closure.
- [IDMEF-Criteria]: When we try to match a value against a path that is not
part of a message using a 'not' operator, the match should succeed
(Example:
alert.classification.text != 'stuff' should match if the message has no
classification object).
- [IDMEF-Criteria]: When matching multiple listed values within the same
path using a 'not' operator, return an explicit 'no match' if the provided
comparison value was found at least once.
- [IDMEF-Path] (fix #251): Fixes NULL pointer dereference when the last
element of an IDMEF path to an enumeration is not the enumeration itself
(S??ébastien Tricaud <toady at gscore.org>
- Fix a possible race condition with the internal libprelude reference to
the program idmef_analyzer_t when asynchronous timer were used.
- Workaround possible deadlock at exit on OpenBSD, Linux Glibc.
- Only configure libltdl if it is required.
- Various bug fixes, minor enhancements.
- Write the children PID into specified pidfile (fixes #257).
- Fix double free on idmef_criterion_value_t cloned regexp object (thanks
to Helmut Azbest <helmut.azbest at gmail.com>).
- Allow Python thread to run, while entering libprelude C function.
- Return PRELUDE_ERROR_ASSERTION when API check fail, in place of
PRELUDE_ERROR_GENERIC.
- Make prelude_plugin_unsubcribe() work as expected (call the plugin
instance destroy function).
- Various bug fixes, minor enhancements.
PR: ports/116107
Submitted by: maintainer (Robin Gruyters)
-rw-r--r-- | security/libprelude/Makefile | 6 | ||||
-rw-r--r-- | security/libprelude/distinfo | 6 | ||||
-rw-r--r-- | security/libprelude/files/patch-Makefile.in | 21 | ||||
-rw-r--r-- | security/libprelude/pkg-plist | 3 |
4 files changed, 20 insertions, 16 deletions
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile index da3436044273..17e6a8f61be8 100644 --- a/security/libprelude/Makefile +++ b/security/libprelude/Makefile @@ -4,8 +4,7 @@ # $FreeBSD$ PORTNAME= libprelude -PORTVERSION= 0.9.14 -PORTREVISION= 1 +PORTVERSION= 0.9.15.2 CATEGORIES= security MASTER_SITES= http://www.prelude-ids.org/download/releases/ \ http://www.prelude-ids.org/download/releases/old/ @@ -24,6 +23,8 @@ USE_LDCONFIG= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --localstatedir=/var +MAN1= prelude-admin.1 + .include <bsd.port.pre.mk> .if defined(WITH_PERL) @@ -51,6 +52,7 @@ CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc post-install: @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/api/html/* ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/docs/manpages/*.1 ${MAN1PREFIX}/man/man1/ @if [ ! -f ${PREFIX}/etc/prelude/default/client.conf ]; then \ ${CP} -p ${PREFIX}/etc/prelude/default/client.conf-dist \ diff --git a/security/libprelude/distinfo b/security/libprelude/distinfo index e7d581d85cd8..44de8c4eceed 100644 --- a/security/libprelude/distinfo +++ b/security/libprelude/distinfo @@ -1,3 +1,3 @@ -MD5 (libprelude-0.9.14.tar.gz) = c6656df73e6de15fc3854dacb1665122 -SHA256 (libprelude-0.9.14.tar.gz) = d499613b378ccee8d66d1ce4c29a17a9b46c4c6577f19fb4e23b605ac6f08906 -SIZE (libprelude-0.9.14.tar.gz) = 1906090 +MD5 (libprelude-0.9.15.2.tar.gz) = dab40d05caa8e6d3b9c48e07ad245211 +SHA256 (libprelude-0.9.15.2.tar.gz) = c8013b9f9b572d8301a2c839abd541b4ed00996ed6c0953a5a3ce7a585bf5b4f +SIZE (libprelude-0.9.15.2.tar.gz) = 1949284 diff --git a/security/libprelude/files/patch-Makefile.in b/security/libprelude/files/patch-Makefile.in index f62a52f10bc9..48362d25967b 100644 --- a/security/libprelude/files/patch-Makefile.in +++ b/security/libprelude/files/patch-Makefile.in @@ -1,20 +1,20 @@ ---- Makefile.in.orig Fri Mar 30 16:17:46 2007 -+++ Makefile.in Mon Apr 2 10:39:02 2007 -@@ -462,8 +462,8 @@ +--- Makefile.in.orig Tue Sep 4 16:31:01 2007 ++++ Makefile.in Wed Sep 5 11:29:03 2007 +@@ -514,8 +514,8 @@ target_vendor = @target_vendor@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --without-system-ltdl ACLOCAL_AMFLAGS = -I m4 -I libmissing/m4 --@HAVE_SYSTEM_LIBLTDL_FALSE@SUBDIRS = libltdl libmissing m4 src prelude-adduser bindings docs --@HAVE_SYSTEM_LIBLTDL_TRUE@SUBDIRS = libmissing m4 src prelude-adduser bindings docs -+@HAVE_SYSTEM_LIBLTDL_FALSE@SUBDIRS = libltdl libmissing m4 src prelude-adduser bindings -+@HAVE_SYSTEM_LIBLTDL_TRUE@SUBDIRS = libmissing m4 src prelude-adduser bindings +-@HAVE_SYSTEM_LIBLTDL_FALSE@SUBDIRS = libltdl libmissing m4 src prelude-admin bindings docs +-@HAVE_SYSTEM_LIBLTDL_TRUE@SUBDIRS = libmissing m4 src prelude-admin bindings docs ++@HAVE_SYSTEM_LIBLTDL_FALSE@SUBDIRS = libltdl libmissing m4 src prelude-admin bindings docs ++@HAVE_SYSTEM_LIBLTDL_TRUE@SUBDIRS = libmissing m4 src prelude-admin bindings docs + DIST_SUBDIRS = $(SUBDIRS) EXTRA_DIST = HACKING.README LICENSE.README client.conf global.conf idmef-client.conf tls.conf bin_SCRIPTS = $(top_builddir)/libprelude-config - distuninstallcheck_listfiles = find . -type f -print | grep -v 'perl' | grep -v '3pm' -@@ -985,61 +985,10 @@ +@@ -1038,61 +1038,11 @@ $(INSTALL) -d -m 755 $(DESTDIR)$(prelude_config_dir); $(INSTALL) -d -m 755 $(DESTDIR)$(prelude_config_dir)/default; - $(INSTALL) -d -m 755 $(DESTDIR)$(prelude_config_dir)/profile; + $(INSTALL) -d -m 711 $(DESTDIR)$(prelude_config_dir)/profile; - @if test -f $(DESTDIR)$(prelude_config_dir)/default/client.conf; then \ - echo; \ - echo "********************************************************************************"; \ @@ -70,6 +70,7 @@ - else \ - $(INSTALL) -m 644 $(top_srcdir)/tls.conf $(DESTDIR)$(prelude_config_dir)/default; \ - fi ++ + $(INSTALL) -m 644 $(top_srcdir)/client.conf $(DESTDIR)$(prelude_config_dir)/default/client.conf-dist; + $(INSTALL) -m 644 $(top_srcdir)/global.conf $(DESTDIR)$(prelude_config_dir)/default/global.conf-dist; + $(INSTALL) -m 644 $(top_srcdir)/idmef-client.conf $(DESTDIR)$(prelude_config_dir)/default/idmef-client.conf-dist; diff --git a/security/libprelude/pkg-plist b/security/libprelude/pkg-plist index ae0f1edc993c..fb3e6df216f3 100644 --- a/security/libprelude/pkg-plist +++ b/security/libprelude/pkg-plist @@ -1,6 +1,7 @@ @comment $FreeBSD$ bin/libprelude-config bin/prelude-adduser +bin/prelude-admin @unexec if cmp -s %D/etc/prelude/default/client.conf %D/etc/prelude/default/client.conf-dist; then rm -f %D/etc/prelude/default/client.conf; fi etc/prelude/default/client.conf-dist @exec if [ ! -f %D/etc/prelude/default/client.conf ] ; then cp -p %D/%F %B/client.conf; fi @@ -60,7 +61,7 @@ include/libprelude/prelude.h include/libprelude/variable.h lib/libprelude.la lib/libprelude.so -lib/libprelude.so.12 +lib/libprelude.so.13 %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Prelude.pm %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Prelude/.packlist %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Prelude/Prelude.bs |