Bug 175691 - [new port]: devel/nglogc Flexible C logging API
Summary: [new port]: devel/nglogc Flexible C logging API
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 07:10 UTC by Veniamin
Modified: 2013-01-31 01:00 UTC (History)
0 users

See Also:


Attachments
file.shar (4.28 KB, text/plain)
2013-01-30 07:10 UTC, Veniamin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Veniamin 2013-01-30 07:10:00 UTC
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.
Comment 1 dfilter service freebsd_committer freebsd_triage 2013-01-31 00:58:39 UTC
Author: vanilla
Date: Thu Jan 31 00:58:29 2013
New Revision: 311282
URL: http://svnweb.freebsd.org/changeset/ports/311282

Log:
  Add nglogc 1.1.0, flexible C logging API.
  
  PR:		ports/175691
  Submitted by:	Gvozdikov Veniamin <g.veniamin@googlemail.com>

Added:
  head/devel/nglogc/
  head/devel/nglogc/Makefile   (contents, props changed)
  head/devel/nglogc/distinfo   (contents, props changed)
  head/devel/nglogc/files/
  head/devel/nglogc/files/patch-src_nglogc_Makefile.am   (contents, props changed)
  head/devel/nglogc/files/patch-src_nglogc_Makefile.in   (contents, props changed)
  head/devel/nglogc/pkg-descr   (contents, props changed)
  head/devel/nglogc/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Jan 30 23:42:11 2013	(r311281)
+++ head/devel/Makefile	Thu Jan 31 00:58:29 2013	(r311282)
@@ -1250,6 +1250,7 @@
     SUBDIR += netscape-java40
     SUBDIR += newfile
     SUBDIR += newt
+    SUBDIR += nglogc
     SUBDIR += nini
     SUBDIR += ninja
     SUBDIR += ninja-ide

Added: head/devel/nglogc/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/nglogc/Makefile	Thu Jan 31 00:58:29 2013	(r311282)
@@ -0,0 +1,47 @@
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+# $FreeBSD$
+
+PORTNAME=	nglogc
+PORTVERSION=	1.1.0
+CATEGORIES=	devel
+MASTER_SITES=	GOOGLE_CODE
+
+MAINTAINER=	g.veniamin@googlemail.com
+COMMENT=	Flexible C logging API
+
+GNU_CONFIGURE=	yes
+USE_LDCONFIG=	yes
+
+MAN3=	\
+	logc_changeLogLevel.3 \
+	logc_defines.3 \
+	logc_log.3 \
+	logc_logArray.3 \
+	logc_logArrayBasic.3 \
+	logc_logArrayFine.3 \
+	logc_logArrayFinest.3 \
+	logc_logArrayInfo.3 \
+	logc_logArrayWarning.3 \
+	logc_logBasic.3 \
+	logc_logEnter.3 \
+	logc_logError.3 \
+	logc_logErrorBasic.3 \
+	logc_logErrorFine.3 \
+	logc_logErrorFinest.3 \
+	logc_logErrorInfo.3 \
+	logc_logErrorWarning.3 \
+	logc_logFine.3 \
+	logc_logFinest.3 \
+	logc_logInfo.3 \
+	logc_logLeave.3 \
+	logc_logWarning.3 \
+	logc_logger.3 \
+	logc_readRingbuffer.3 \
+	logc_registerLogger.3 \
+	logc_removeLogger.3 \
+	logc_resetRingbuffer.3 \
+	logc_setLogFile.3 \
+	logc_setLogFormat.3 \
+	logc_setRingbuffer.3
+
+.include <bsd.port.mk>

Added: head/devel/nglogc/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/nglogc/distinfo	Thu Jan 31 00:58:29 2013	(r311282)
@@ -0,0 +1,2 @@
+SHA256 (nglogc-1.1.0.tar.gz) = 5b994fabb791edf1f65ac62fe0551fbf595e7dc2a38d1ee79701adac54817b29
+SIZE (nglogc-1.1.0.tar.gz) = 466794

Added: head/devel/nglogc/files/patch-src_nglogc_Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/nglogc/files/patch-src_nglogc_Makefile.am	Thu Jan 31 00:58:29 2013	(r311282)
@@ -0,0 +1,10 @@
+--- src/nglogc/Makefile.am.orig	2013-01-30 10:33:19.426104658 +0400
++++ src/nglogc/Makefile.am	2013-01-30 10:33:43.512184313 +0400
+@@ -51,6 +51,7 @@
+ 	nflf_logtrace.h \
+ 	nflf_logarray.h \
+ 	nflf_logerror.h \
++	ringbuffer.h \
+ 	types.h \
+ 	log_priv.h
+ 

Added: head/devel/nglogc/files/patch-src_nglogc_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/nglogc/files/patch-src_nglogc_Makefile.in	Thu Jan 31 00:58:29 2013	(r311282)
@@ -0,0 +1,10 @@
+--- src/nglogc/Makefile.in.orig	2013-01-30 10:33:50.121624340 +0400
++++ src/nglogc/Makefile.in	2013-01-30 10:34:05.433457827 +0400
+@@ -269,6 +269,7 @@
+ 	nflf_logtrace.h \
+ 	nflf_logarray.h \
+ 	nflf_logerror.h \
++	ringbuffer.h \
+ 	types.h \
+ 	log_priv.h
+ 

Added: head/devel/nglogc/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/nglogc/pkg-descr	Thu Jan 31 00:58:29 2013	(r311282)
@@ -0,0 +1,13 @@
+The intention of the nglogc library is to provide an easy to use and powerful
+logging API with mechanism which allows to cram source codes with log
+statements 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 and
+define 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.
+
+WWW: http://code.google.com/p/nglogc/

Added: head/devel/nglogc/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/nglogc/pkg-plist	Thu Jan 31 00:58:29 2013	(r311282)
@@ -0,0 +1,21 @@
+include/nglogc/flf_log.h
+include/nglogc/flf_logarray.h
+include/nglogc/flf_logerror.h
+include/nglogc/flf_logtrace.h
+include/nglogc/log.h
+include/nglogc/log_priv.h
+include/nglogc/logger.h
+include/nglogc/logger_type.h
+include/nglogc/nflf_log.h
+include/nglogc/nflf_logarray.h
+include/nglogc/nflf_logerror.h
+include/nglogc/nflf_logtrace.h
+include/nglogc/ringbuffer.h
+include/nglogc/types.h
+lib/libnglogc.a
+lib/libnglogc.la
+lib/libnglogc.so
+lib/libnglogc.so.0
+%%DOCSDIR%%/nglogc_manual.pdf
+@dirrm %%DOCSDIR%%
+@dirrm include/nglogc
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Vanilla I. Shu freebsd_committer freebsd_triage 2013-01-31 00:59:22 UTC
State Changed
From-To: open->closed

Committed, thanks.