From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 30 07:10:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 84F48FD2 for ; Wed, 30 Jan 2013 07:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5711EF for ; Wed, 30 Jan 2013 07:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0U7A0KG034366 for ; Wed, 30 Jan 2013 07:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0U7A0P0034365; Wed, 30 Jan 2013 07:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 30 Jan 2013 07:10:00 GMT Resent-Message-Id: <201301300710.r0U7A0P0034365@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Veniamin Gvozdikov Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6BC59DB1 for ; Wed, 30 Jan 2013 07:00:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 44374198 for ; Wed, 30 Jan 2013 07:00:39 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0U70det048172 for ; Wed, 30 Jan 2013 07:00:39 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0U70dTY048171; Wed, 30 Jan 2013 07:00:39 GMT (envelope-from nobody) Message-Id: <201301300700.r0U70dTY048171@red.freebsd.org> Date: Wed, 30 Jan 2013 07:00:39 GMT From: Veniamin Gvozdikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175691: [new port]: devel/nglogc Flexible C logging API X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 07:10:00 -0000 >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 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 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: