From e0c270606164d4c8727ee1fb50b8c8800e6ed845 Mon Sep 17 00:00:00 2001 From: msf Date: Mon, 23 Apr 2007 09:04:41 +0000 Subject: [PATCH] initial import of logpp 0.13 Logpp is a tool for preprocessing event logs and feeding relevant information to other programs for storing or in-depth analysis. During its work, logpp reads lines appended to input files (like tail(1) in -f mode), matches the lines with patterns (e.g., regular expressions), converts matching lines according to given templates, and writes the results to given destinations. Logpp supports multi-line matching and several types of output destinations like regular files, FIFOs, external programs, and the system logger.Therefore, logpp can act as a filter in front of the more complex event log analysis system and increase the system's performance by weeding out irrelevant log data; it can work as a syslog gateway between the system logger and the application that doesn't use syslog(3); it can convert multiline log messages to shorter single line messages, and accomplish other log pre-processing tasks. ok sturm@ jasper@ --- sysutils/logpp/Makefile | 25 +++++++++++++++++++++++++ sysutils/logpp/distinfo | 5 +++++ sysutils/logpp/pkg/DESCR | 16 ++++++++++++++++ sysutils/logpp/pkg/PLIST | 3 +++ 4 files changed, 49 insertions(+) create mode 100644 sysutils/logpp/Makefile create mode 100644 sysutils/logpp/distinfo create mode 100644 sysutils/logpp/pkg/DESCR create mode 100644 sysutils/logpp/pkg/PLIST diff --git a/sysutils/logpp/Makefile b/sysutils/logpp/Makefile new file mode 100644 index 00000000000..7258821bcca --- /dev/null +++ b/sysutils/logpp/Makefile @@ -0,0 +1,25 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/04/23 09:04:41 msf Exp $ + +COMMENT= "log file preprocessor" + +DISTNAME= logpp-0.13 +CATEGORIES= sysutils + +MAINTAINER= Mathieu Sauve-Frankel + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +WANTLIB+= c + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=logpp/} + +LIB_DEPENDS= pcre::devel/pcre + +CONFIGURE_STYLE= gnu +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include diff --git a/sysutils/logpp/distinfo b/sysutils/logpp/distinfo new file mode 100644 index 00000000000..3a2a26e08d1 --- /dev/null +++ b/sysutils/logpp/distinfo @@ -0,0 +1,5 @@ +MD5 (logpp-0.13.tar.gz) = KcosGD+z5HrBVVYK+AB3zQ== +RMD160 (logpp-0.13.tar.gz) = YHgxVIcRH13mGXk4paJGIDI9Q4Q= +SHA1 (logpp-0.13.tar.gz) = GfQCmTXoHXV9EYyKny9a4Tnoe1Y= +SHA256 (logpp-0.13.tar.gz) = Hifig9z8sc1Wv8AnF9ZdugJYcQXu/GrXQmKIGXI02Ck= +SIZE (logpp-0.13.tar.gz) = 110992 diff --git a/sysutils/logpp/pkg/DESCR b/sysutils/logpp/pkg/DESCR new file mode 100644 index 00000000000..778ada07e1b --- /dev/null +++ b/sysutils/logpp/pkg/DESCR @@ -0,0 +1,16 @@ +Logpp is a tool for preprocessing event logs and feeding relevant +information to other programs for storing or in-depth analysis. + +During its work, logpp reads lines appended to input files (like tail(1) +in -f mode), matches the lines with patterns (e.g., regular +expressions), converts matching lines according to given templates, and +writes the results to given destinations. + +Logpp supports multi-line matching and several types of output +destinations like regular files, FIFOs, external programs, and the +system logger.Therefore, logpp can act as a filter in front of the +more complex event log analysis system and increase the system's +performance by weeding out irrelevant log data; it can work as a syslog +gateway between the system logger and the application that doesn't use +syslog(3); it can convert multiline log messages to shorter single +line messages, and accomplish other log pre-processing tasks. diff --git a/sysutils/logpp/pkg/PLIST b/sysutils/logpp/pkg/PLIST new file mode 100644 index 00000000000..e5ea9221b34 --- /dev/null +++ b/sysutils/logpp/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/04/23 09:04:41 msf Exp $ +bin/logpp +@man man/man1/logpp.1