mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Add log4cplus, a simple-to-use C++ logging API providing thread-safe, flexible,
and arbitrarily granular control over log management and configuration. It is modeled after the Java log4j API. PR: ports/74642 Submitted by: Petri Totterman <petri.totterman@hmv.fi>
This commit is contained in:
parent
09cb71b026
commit
ee4ec90809
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123567
@ -498,6 +498,7 @@
|
||||
SUBDIR += linux_kdump
|
||||
SUBDIR += linuxthreads
|
||||
SUBDIR += log4c
|
||||
SUBDIR += log4cplus
|
||||
SUBDIR += log4cpp
|
||||
SUBDIR += log4j
|
||||
SUBDIR += lwp
|
||||
|
45
devel/log4cplus/Makefile
Normal file
45
devel/log4cplus/Makefile
Normal file
@ -0,0 +1,45 @@
|
||||
# New ports collection makefile for: log4cplus
|
||||
# Date created: 16 November 2004
|
||||
# Whom: Petri Totterman <petri.totterman@hmv.fi>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= log4cplus
|
||||
PORTVERSION= 1.0.2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= log4cplus
|
||||
DISTFILES= log4cplus-${PORTVERSION}.tar.gz log4cplus-${PORTVERSION}-docs.tar.gz
|
||||
|
||||
MAINTAINER= petri.totterman@hmv.fi
|
||||
COMMENT= A logging library for C++
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LIBTOOL_VER=15
|
||||
USE_REINPLACE= yes
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/license.apl ${PREFIX}/include/log4cplus
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/*.config ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/*.html ${DOCSDIR}
|
||||
${MKDIR} ${DOCSDIR}/html
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/html/*.html ${DOCSDIR}/html
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/html/*.png ${DOCSDIR}/html
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/html/doxygen.css ${DOCSDIR}/html
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/html/graph_legend.dot ${DOCSDIR}/html
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
4
devel/log4cplus/distinfo
Normal file
4
devel/log4cplus/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (log4cplus-1.0.2.tar.gz) = 0924064f529fd9ac39bbda341ef87d43
|
||||
SIZE (log4cplus-1.0.2.tar.gz) = 539550
|
||||
MD5 (log4cplus-1.0.2-docs.tar.gz) = 8fd35fd445edaf6c4d21bd4b929fa89b
|
||||
SIZE (log4cplus-1.0.2-docs.tar.gz) = 878960
|
10
devel/log4cplus/files/patch-src-socketbuffer.cxx
Normal file
10
devel/log4cplus/files/patch-src-socketbuffer.cxx
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/socketbuffer.cxx.orig Fri Nov 21 22:23:29 2003
|
||||
+++ src/socketbuffer.cxx Thu Dec 9 15:49:28 2004
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include <log4cplus/helpers/socketbuffer.h>
|
||||
#include <log4cplus/helpers/loglog.h>
|
||||
+#include <arpa/inet.h>
|
||||
|
||||
#if !defined(_WIN32)
|
||||
# include <netdb.h>
|
10
devel/log4cplus/pkg-descr
Normal file
10
devel/log4cplus/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
This is a port of log4cplus, a simple-to-use C++ logging API providing
|
||||
thread-safe, flexible, and arbitrarily granular control over log management
|
||||
and configuration. It is modeled after the Java log4j API.
|
||||
|
||||
Authors:
|
||||
Tad E. Smith, Michael CATANZARITI, Steighton Haley
|
||||
|
||||
WWW: http://log4cplus.sourceforge.net
|
||||
|
||||
-pbt
|
45
devel/log4cplus/pkg-plist
Normal file
45
devel/log4cplus/pkg-plist
Normal file
@ -0,0 +1,45 @@
|
||||
include/log4cplus/appender.h
|
||||
include/log4cplus/config.h
|
||||
include/log4cplus/configurator.h
|
||||
include/log4cplus/consoleappender.h
|
||||
include/log4cplus/fileappender.h
|
||||
include/log4cplus/fstreams.h
|
||||
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/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/license.apl
|
||||
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/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
|
||||
lib/liblog4cplus.a
|
||||
lib/liblog4cplus.so
|
||||
lib/liblog4cplus.so.2
|
||||
@dirrm include/log4cplus/spi
|
||||
@dirrm include/log4cplus/helpers
|
||||
@dirrm include/log4cplus
|
Loading…
Reference in New Issue
Block a user