import log4cplus, reworked from a submission from Jeremy C. Reed, ok giovanni@
Log4cplus is a package for providing a logging framework for C++ based on log4j ideas. It provides various filters, run-time re-configurations, Wide Character (UNICODE) support, log levels, hierarchal loggers, NDC (Nested Diagnostic Context), and log rotation support. It can log to the console, files, syslog, Windows events, or via sockets.
This commit is contained in:
parent
9b0b671915
commit
dea882734f
33
devel/log4cplus/Makefile
Normal file
33
devel/log4cplus/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/03/26 09:06:34 sthen Exp $
|
||||
|
||||
COMMENT= logging API for C++
|
||||
|
||||
DISTNAME= log4cplus-1.0.4
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
SHARED_LIBS += log4cplus 0.0 # 0.0
|
||||
|
||||
CATEGORIES= devel
|
||||
HOMEPAGE= http://log4cplus.sourceforge.net/
|
||||
|
||||
# Apache License 2.0 + BSD style
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=log4cplus/}
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
||||
CXXFLAGS+= -fPIC
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
|
||||
pre-configure:
|
||||
echo "# This file automatically generated" >> ${WRKSRC}/libversions
|
||||
.for l v in ${SHARED_LIBS}
|
||||
echo "LIB$l_LTVERSION = -version-info ${v:S/./:/}" >> ${WRKSRC}/libversions
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
5
devel/log4cplus/distinfo
Normal file
5
devel/log4cplus/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (log4cplus-1.0.4.tar.bz2) = l30KOQs74aStjPqy5N068w==
|
||||
RMD160 (log4cplus-1.0.4.tar.bz2) = zpNRehr6nTgYDSPoCsYC4qc4vBk=
|
||||
SHA1 (log4cplus-1.0.4.tar.bz2) = uMobAbI3iKwE8lp72qrKfjZscxI=
|
||||
SHA256 (log4cplus-1.0.4.tar.bz2) = wrsBtfS/9fp2hwDpjq1Ked/VVglsnz8EAYSdp6uA++8=
|
||||
SIZE (log4cplus-1.0.4.tar.bz2) = 420708
|
13
devel/log4cplus/patches/patch-src_Makefile_in
Normal file
13
devel/log4cplus/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2012/03/26 09:06:35 sthen Exp $
|
||||
--- src/Makefile.in.orig Sun Jan 16 10:27:34 2011
|
||||
+++ src/Makefile.in Thu Mar 15 00:58:22 2012
|
||||
@@ -412,7 +412,8 @@ LIB_SRC = $(SINGLE_THREADED_SRC) \
|
||||
liblog4cplus_la_SOURCES = $(LIB_SRC)
|
||||
|
||||
#liblog4cplus_a_LIBADD = @LIBOBJS@ @ALLOCA@
|
||||
-liblog4cplus_la_LDFLAGS = -no-undefined -version-info @LT_VERSION@ -release 1.0
|
||||
+include ../libversions
|
||||
+liblog4cplus_la_LDFLAGS = -no-undefined ${LIBlog4cplus_LTVERSION}
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
7
devel/log4cplus/pkg/DESCR
Normal file
7
devel/log4cplus/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
Log4cplus is a package for providing a logging framework for C++ based
|
||||
on log4j ideas.
|
||||
|
||||
It provides various filters, run-time re-configurations, Wide
|
||||
Character (UNICODE) support, log levels, hierarchal loggers, NDC
|
||||
(Nested Diagnostic Context), and log rotation support. It can log
|
||||
to the console, files, syslog, Windows events, or via sockets.
|
2
devel/log4cplus/pkg/PFRAG.shared
Normal file
2
devel/log4cplus/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2012/03/26 09:06:34 sthen Exp $
|
||||
@lib lib/liblog4cplus.so.${LIBlog4cplus_VERSION}
|
52
devel/log4cplus/pkg/PLIST
Normal file
52
devel/log4cplus/pkg/PLIST
Normal file
@ -0,0 +1,52 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/03/26 09:06:34 sthen Exp $
|
||||
%%SHARED%%
|
||||
include/log4cplus/
|
||||
include/log4cplus/appender.h
|
||||
include/log4cplus/config/
|
||||
include/log4cplus/config.hxx
|
||||
include/log4cplus/config/defines.hxx
|
||||
include/log4cplus/config/macosx.h
|
||||
include/log4cplus/config/win32.h
|
||||
include/log4cplus/configurator.h
|
||||
include/log4cplus/consoleappender.h
|
||||
include/log4cplus/fileappender.h
|
||||
include/log4cplus/fstreams.h
|
||||
include/log4cplus/helpers/
|
||||
include/log4cplus/helpers/appenderattachableimpl.h
|
||||
include/log4cplus/helpers/loglog.h
|
||||
include/log4cplus/helpers/logloguser.h
|
||||
include/log4cplus/helpers/pointer.h
|
||||
include/log4cplus/helpers/property.h
|
||||
include/log4cplus/helpers/sleep.h
|
||||
include/log4cplus/helpers/socket.h
|
||||
include/log4cplus/helpers/socketbuffer.h
|
||||
include/log4cplus/helpers/stringhelper.h
|
||||
include/log4cplus/helpers/syncprims-pthreads.h
|
||||
include/log4cplus/helpers/syncprims.h
|
||||
include/log4cplus/helpers/thread-config.h
|
||||
include/log4cplus/helpers/threads.h
|
||||
include/log4cplus/helpers/timehelper.h
|
||||
include/log4cplus/hierarchy.h
|
||||
include/log4cplus/hierarchylocker.h
|
||||
include/log4cplus/layout.h
|
||||
include/log4cplus/logger.h
|
||||
include/log4cplus/loggingmacros.h
|
||||
include/log4cplus/loglevel.h
|
||||
include/log4cplus/ndc.h
|
||||
include/log4cplus/nullappender.h
|
||||
include/log4cplus/socketappender.h
|
||||
include/log4cplus/spi/
|
||||
include/log4cplus/spi/appenderattachable.h
|
||||
include/log4cplus/spi/factory.h
|
||||
include/log4cplus/spi/filter.h
|
||||
include/log4cplus/spi/loggerfactory.h
|
||||
include/log4cplus/spi/loggerimpl.h
|
||||
include/log4cplus/spi/loggingevent.h
|
||||
include/log4cplus/spi/objectregistry.h
|
||||
include/log4cplus/spi/rootlogger.h
|
||||
include/log4cplus/streams.h
|
||||
include/log4cplus/syslogappender.h
|
||||
include/log4cplus/tstring.h
|
||||
include/log4cplus/version.h
|
||||
lib/liblog4cplus.a
|
||||
lib/liblog4cplus.la
|
Loading…
Reference in New Issue
Block a user