Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 07:00:39 GMT
From:      Veniamin Gvozdikov <g.veniamin@googlemail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175691: [new port]: devel/nglogc Flexible C logging API
Message-ID:  <201301300700.r0U70dTY048171@red.freebsd.org>
Resent-Message-ID: <201301300710.r0U7A0P0034365@freefall.freebsd.org>

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

>Number:         175691
>Category:       ports
>Synopsis:       [new port]: devel/nglogc Flexible C logging API
>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:   Wed Jan 30 07:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Veniamin Gvozdikov
>Release:        FreeBSD 8.3-RELEASE-p5
>Organization:
>Environment:
FreeBSD ololo 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #0: Thu Dec  6 16:25:28 MSK 2012     root@ololo:/usr/obj/usr/src/sys/OLOLO  amd64
>Description:
The intention of the nglogc library is to provide an easy to use and powerfullogging API with mechanism which allows to cram source codes with logstatements at the start of implementation and decide at the level of building
or at runtime which statements should be processed.

Therefore the log statements could be controlled by various log levels anddefine switches are available to completely remove the call of the functions at
pre-processor time. So it is possible to switch on the logging only if it is
necessary or only print selected messages without any changes in the source
code. Different publishers are provided also as different formats of outputs to
fulfil the requirements for software development.
>How-To-Repeat:

>Fix:
# 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:
#
#	nglogc
#	nglogc/distinfo
#	nglogc/pkg-descr
#	nglogc/Makefile
#	nglogc/pkg-plist
#	nglogc/files
#	nglogc/files/patch-src_nglogc_Makefile.in
#	nglogc/files/patch-src_nglogc_Makefile.am
#
echo c - nglogc
mkdir -p nglogc > /dev/null 2>&1
echo x - nglogc/distinfo
sed 's/^X//' >nglogc/distinfo << '67bc702a9e697a5432720110057c23cc'
XSHA256 (nglogc-1.1.0.tar.gz) = 5b994fabb791edf1f65ac62fe0551fbf595e7dc2a38d1ee79701adac54817b29
XSIZE (nglogc-1.1.0.tar.gz) = 466794
67bc702a9e697a5432720110057c23cc
echo x - nglogc/pkg-descr
sed 's/^X//' >nglogc/pkg-descr << 'f266fd4e7d1744124f370d4335fe70d4'
XThe intention of the nglogc library is to provide an easy to use and powerful
Xlogging API with mechanism which allows to cram source codes with log
Xstatements at the start of implementation and decide at the level of building
Xor at runtime which statements should be processed.
X
XTherefore the log statements could be controlled by various log levels and
Xdefine switches are available to completely remove the call of the functions at
Xpre-processor time. So it is possible to switch on the logging only if it is
Xnecessary or only print selected messages without any changes in the source
Xcode. Different publishers are provided also as different formats of outputs to
Xfulfil the requirements for software development.
X
XWWW: http://code.google.com/p/nglogc/
f266fd4e7d1744124f370d4335fe70d4
echo x - nglogc/Makefile
sed 's/^X//' >nglogc/Makefile << '8ce5ff80d10272d1f4513ff24a06a63f'
X# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
X# $FreeBSD$
X
XPORTNAME=	nglogc
XPORTVERSION=	1.1.0
XCATEGORIES=	devel
XMASTER_SITES=	GOOGLE_CODE
X
XMAINTAINER=	g.veniamin@googlemail.com
XCOMMENT=	Flexible C logging API
X
XGNU_CONFIGURE=	yes
X
XMAN3=	\
X	logc_changeLogLevel.3 \
X	logc_defines.3 \
X	logc_log.3 \
X	logc_logArray.3 \
X	logc_logArrayBasic.3 \
X	logc_logArrayFine.3 \
X	logc_logArrayFinest.3 \
X	logc_logArrayInfo.3 \
X	logc_logArrayWarning.3 \
X	logc_logBasic.3 \
X	logc_logEnter.3 \
X	logc_logError.3 \
X	logc_logErrorBasic.3 \
X	logc_logErrorFine.3 \
X	logc_logErrorFinest.3 \
X	logc_logErrorInfo.3 \
X	logc_logErrorWarning.3 \
X	logc_logFine.3 \
X	logc_logFinest.3 \
X	logc_logInfo.3 \
X	logc_logLeave.3 \
X	logc_logWarning.3 \
X	logc_logger.3 \
X	logc_readRingbuffer.3 \
X	logc_registerLogger.3 \
X	logc_removeLogger.3 \
X	logc_resetRingbuffer.3 \
X	logc_setLogFile.3 \
X	logc_setLogFormat.3 \
X	logc_setRingbuffer.3
X
X.include <bsd.port.mk>
8ce5ff80d10272d1f4513ff24a06a63f
echo x - nglogc/pkg-plist
sed 's/^X//' >nglogc/pkg-plist << '6be6db09fc671733f533d9733b14ab27'
X%%DOCSDIR%%/nglogc_manual.pdf
Xinclude/nglogc/flf_log.h
Xinclude/nglogc/flf_logarray.h
Xinclude/nglogc/flf_logerror.h
Xinclude/nglogc/flf_logtrace.h
Xinclude/nglogc/log.h
Xinclude/nglogc/log_priv.h
Xinclude/nglogc/logger.h
Xinclude/nglogc/logger_type.h
Xinclude/nglogc/nflf_log.h
Xinclude/nglogc/nflf_logarray.h
Xinclude/nglogc/nflf_logerror.h
Xinclude/nglogc/nflf_logtrace.h
Xinclude/nglogc/ringbuffer.h
Xinclude/nglogc/types.h
Xlib/libnglogc.a
Xlib/libnglogc.la
Xlib/libnglogc.so
Xlib/libnglogc.so.0
X@dirrm %%DOCSDIR%%
X@dirrm include/nglogc
6be6db09fc671733f533d9733b14ab27
echo c - nglogc/files
mkdir -p nglogc/files > /dev/null 2>&1
echo x - nglogc/files/patch-src_nglogc_Makefile.in
sed 's/^X//' >nglogc/files/patch-src_nglogc_Makefile.in << 'cc620d66093d176e6081e49efc33249c'
X--- src/nglogc/Makefile.in.orig	2013-01-30 10:33:50.121624340 +0400
X+++ src/nglogc/Makefile.in	2013-01-30 10:34:05.433457827 +0400
X@@ -269,6 +269,7 @@
X 	nflf_logtrace.h \
X 	nflf_logarray.h \
X 	nflf_logerror.h \
X+	ringbuffer.h \
X 	types.h \
X 	log_priv.h
X 
cc620d66093d176e6081e49efc33249c
echo x - nglogc/files/patch-src_nglogc_Makefile.am
sed 's/^X//' >nglogc/files/patch-src_nglogc_Makefile.am << '1add2053ab63cd50d104b5a2a9cb1722'
X--- src/nglogc/Makefile.am.orig	2013-01-30 10:33:19.426104658 +0400
X+++ src/nglogc/Makefile.am	2013-01-30 10:33:43.512184313 +0400
X@@ -51,6 +51,7 @@
X 	nflf_logtrace.h \
X 	nflf_logarray.h \
X 	nflf_logerror.h \
X+	ringbuffer.h \
X 	types.h \
X 	log_priv.h
X 
1add2053ab63cd50d104b5a2a9cb1722
exit


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



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