Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2012 10:02:47 GMT
From:      Denis Generalov <gd@rambler-co.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174653: [NEW PORT] sysutils/liblognorm: tool to normalize log data
Message-ID:  <201212231002.qBNA2lwZ033683@red.freebsd.org>
Resent-Message-ID: <201212231010.qBNAA16X092136@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174653
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/liblognorm: tool to normalize log data
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 23 10:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Denis Generalov
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
Rambler
>Environment:
FreeBSD tyl.rambler.ramblermedia.com 9.0-STABLE FreeBSD 9.0-STABLE #1: Tue Feb 14 22:57:58 MSK 2012     root@tyl2.park.rambler.ru:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
"liblognorm" is a log normalization library. That is, you can feed liblognorm
a "log message" (think syslog or event log) and it can extract useful
information from the message.

It uses a simple rule syntax to extract useful information from a log message.
Actually, a better way to think about it is that it uses a "masking" approach
to extract information. "liblognorm" is based of the Mitre Common Event
Expression Language which has not been standardized yet.

WWW:    http://www.liblognorm.com/
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

===> Creating shar file
===> Viewing diff with more
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	liblognorm
#	liblognorm/pkg-plist
#	liblognorm/Makefile
#	liblognorm/pkg-descr
#	liblognorm/distinfo
#	liblognorm/files
#	liblognorm/files/patch-m4__libtool.m4
#	liblognorm/files/patch-Makefile.am
#
echo c - liblognorm
mkdir -p liblognorm > /dev/null 2>&1
echo x - liblognorm/pkg-plist
sed 's/^X//' >liblognorm/pkg-plist << '5beecb3ffaabdee3a6429f09711f6061'
Xbin/lognormalizer
Xinclude/liblognorm.h
Xinclude/samp.h
Xinclude/lognorm.h
Xinclude/ptree.h
Xinclude/annot.h
Xlib/liblognorm.so.0
Xlib/liblognorm.so
Xlib/liblognorm.la
Xlib/liblognorm.a
Xlibdata/pkgconfig/lognorm.pc
5beecb3ffaabdee3a6429f09711f6061
echo x - liblognorm/Makefile
sed 's/^X//' >liblognorm/Makefile << 'e868874d296a97acc870010c9db2c908'
X# Created by: Denis Generalov <gd@rambler-co.ru>
X# $FreeBSD$
X
XPORTNAME=	liblognorm
XPORTVERSION=	0.3.5
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.liblognorm.com/download/files/download/
X
XMAINTAINER=	gd@rambler-co.ru
XCOMMENT=	Liblognorm is a tool to normalize log data
X
XLICENSE=	GPLv2
X
XLIB_DEPENDS=	ee:${PORTSDIR}/devel/libee \
X		estr:${PORTSDIR}/devel/libestr
X
XUSE_AUTOTOOLS=	aclocal autoconf automake libtool
XACLOCAL_ARGS=	-I ${WRKSRC}/m4
XUSE_PKGCONFIG=	yes
XUSE_LDCONFIG=	yes
XGNU_CONFIGURE=	yes
X
X.if defined(WITH_DEBUG)
XCONFIGURE_ARGS+=--enable-debug
X.endif
X
X.include <bsd.port.mk>
e868874d296a97acc870010c9db2c908
echo x - liblognorm/pkg-descr
sed 's/^X//' >liblognorm/pkg-descr << '8cfaffc63c9c781554fb9655f7ed4b69'
X"liblognorm" is a log normalization library. That is, you can feed liblognorm
Xa "log message" (think syslog or event log) and it can extract useful
Xinformation from the message.
X
XIt uses a simple rule syntax to extract useful information from a log message.
XActually, a better way to think about it is that it uses a "masking" approach
Xto extract information. "liblognorm" is based of the Mitre Common Event
XExpression Language which has not been standardized yet.
X
XWWW:	http://www.liblognorm.com/
8cfaffc63c9c781554fb9655f7ed4b69
echo x - liblognorm/distinfo
sed 's/^X//' >liblognorm/distinfo << '4ed17ee3e83a63bf75c133f2f9d8dc01'
XSHA256 (liblognorm-0.3.5.tar.gz) = 5714f145b379adb64fe1d87ea6adec9e8d91e5fe1bc0654febb85960dc34dd06
XSIZE (liblognorm-0.3.5.tar.gz) = 322410
4ed17ee3e83a63bf75c133f2f9d8dc01
echo c - liblognorm/files
mkdir -p liblognorm/files > /dev/null 2>&1
echo x - liblognorm/files/patch-m4__libtool.m4
sed 's/^X//' >liblognorm/files/patch-m4__libtool.m4 << 'f0f5cb20b78260c5ab624efb3003b38a'
X--- ./m4/libtool.m4.orig	2010-12-16 15:47:11.000000000 +0300
X+++ ./m4/libtool.m4	2012-12-22 02:36:12.000000000 +0400
X@@ -1021,7 +1021,7 @@
X # to the aix ld manual.
X m4_defun([_LT_SYS_MODULE_PATH_AIX],
X [m4_require([_LT_DECL_SED])dnl
X-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
X+AC_LINK_IFELSE([AC_LANG_PROGRAM],[
X lt_aix_libpath_sed='
X     /Import File Strings/,/^$/ {
X 	/^0/ {
X@@ -4846,7 +4846,7 @@
X 	# implicitly export all symbols.
X         save_LDFLAGS="$LDFLAGS"
X         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
X-        AC_LINK_IFELSE(int foo(void) {},
X+        AC_LINK_IFELSE([AC_LANG_SOURCE([int foo(void) {}])],
X           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
X         )
X         LDFLAGS="$save_LDFLAGS"
f0f5cb20b78260c5ab624efb3003b38a
echo x - liblognorm/files/patch-Makefile.am
sed 's/^X//' >liblognorm/files/patch-Makefile.am << 'ad96554f0487e7c03a849c97538fe894'
X--- ./Makefile.am.orig	2010-12-16 15:44:02.000000000 +0300
X+++ ./Makefile.am	2012-12-22 02:40:04.000000000 +0400
X@@ -1,6 +1,6 @@
X SUBDIRS = src
X 
X-pkgconfigdir = $(libdir)/pkgconfig
X+pkgconfigdir = ${exec_prefix}/libdata/pkgconfig
X pkgconfig_DATA = lognorm.pc
X 
X ACLOCAL_AMFLAGS = -I m4
ad96554f0487e7c03a849c97538fe894
exit

===> Done


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212231002.qBNA2lwZ033683>