Skip to content

Commit

Permalink
Updating package for Log4CPlus in devel/log4cplus from 1.0.4 to 1.1.1
Browse files Browse the repository at this point in the history
Upstream changes since 1.0:
log4cplus 1.1.1

- FileAppender - Accept also std::ios_base::ate as "append to a log
  file" specification.

log4cplus 1.1.1-RC4

- Fixed bug #156 - Messages are truncated when produced using the
  LOG4CPLUS_*_FMT() macros.
- Fixed bug #157 - Fedora package build failure.
- Improved log4cplus initialization:
  - Use APC to initialize log4cplus outside loader lock.
  - Use Microsoft C runtime library TLS callbacks to initialize
    log4cplus as static library.
  - Warn during compilation that automatic initialization is not
    possible when log4cplus is being compiled with static Microsoft C
    runtime library.
  - Provide log4cplus::initialize() function to allow users to
    initialize log4cplus in situations where automatic initialization
    is not possible.
- Several improvements to CMake build:
  - Fixed OpenBSD + CMake builds.
  - Fixed issues with Visual Studio 2005 CMake builds.
  - Added support for CMake builds on Android with NDK. (Sergey
    Nikulov)
  - The defines.hxx.cmake file is now generated out of defines.hxx.in.
  - Library version is parsed out of version.h. (Sergey Nikulov)
- MDC formatter for PatternLayout ("%X") now expands into list of key
  value pairs if no specific key is given. (Yaqian Shen)
- Avoid clock_nanosleep() on Android.
- ServerSocket::accept() can now be interrupted from another thread
  using new function ServerSocket::interruptAccept().

log4cplus 1.1.1-RC3

- Fixed another MinGW related build failure.
- Fixed mismatched #if/#endif in Windows builds.

log4cplus 1.1.1-RC2

- Allow to disable TLS usage in macros through
  LOG4CPLUS_MACRO_DISABLE_TLS preprocessor symbol.
- Fixed compilation with Clang on Cygwin.
- Fixed SIGSEGV when built with some MinGW distributions.
- Fixed build failure when using -march=i386.
- Implemented thread callback to initialize log4cplus for Visual
  Studio builds of static library.
- Fixed bug #154 - getHostname() failure because of uninitialized
  WinSock.
- Fixed detection of C++11 thread_local keyword.
- Fixed builds using DevKit-tdm-32-4.5.2-20111229-1559.

log4cplus 1.1.1-RC1

- Improved documentation for various classes.
- Cherry-picked various small improvements from trunk.
- Fixed Unicode builds on *NIX.
- Fixed static library builds from Visual Studio project.
- Suppressed warning C4127 from MSVC. (Chris Steenwyk)
- Improved MinGW32 and MinGW64 toolchains compatiblity.
- Fixed encoding handling in Properties class.
- Added include directive for properties files. (Jukka Lantto)
- Added colored output for Win32ConsoleAppender. (Konstantin Baumann)
- (Re)Introduced support for C++Builder (XE3)
- Reimplemented acceptSocket() using select() on Windows to allow
  interrupting the accept() call from different thread.

log4cplus 1.1.0

- Fixed MacOS X support - Reimplemented semaphores using named ones
  for Apple builds.
- Fixed resource leak on failure in openSocket().
- Improved configuration file modification check to include file size,
  in addition to file modification time.

log4cplus 1.1.0-RC10

- Fixed non-STLPort4 builds with Solaris Studio. Switch
  '-library=stlport4' is only added if CXXFLAGS does not already
  contain a switch matching -library=(stlport4|stdcxx4|Cstd).
- Fixed --disable-shared MinGW builds.
- Fixed non-working MinGW DLL binaries. DllMain() was not being called
  because of missing extern "C" in its definition.
- CMake build configuration checks have been improved. (Chernyshev
  Vyacheslav)
- GCC switch -O2 is only added if CXXFLAGS does not already contain
  any other -O.
- Improved logging speed using SysLogAppender and Log4jUdpAppender by
  optimizations in both the loggers and in common sockets code.
- FileAppender locale can now be specified in properties files using
  Locale property. See FileAppender Doxygen documentation for more
  details.

log4cplus 1.1.0-RC9

- Improved Log4jUdpAppender compatibility with Chainsaw.
- Fixed crash, bugs #3467112 and #3563699, related to thread-local
  storage destruction.
- Fixed build with Visual Studio 2005, bug #3565529. (xg00)
- Created Cygwin port's .cygport definition for log4cplus.
- Improved hiding of private symbols using GCC's
  __attribute__((visibility("hidden"))) and Solaris Studio's __hidden.
- Fixed build in environments where DEBUG (and other log level names)
  are macros. (Chernyshev Vyacheslav)
- Improved configuration of threads support. (Jens Rehsack)

log4cplus 1.1.0-RC8

- Turned on __thread (TLS) detection on NetBSD 5.1.0 and later that
  has been previously disabled.
- Improved compatibility with log4cplus 1.0.x: allow using log4cplus
  1.0.x log level to string callbacks in 1.1.x.
- Improved various M4 macros.
- Added detection and use C++11 thread_local.
- Fixed XML entities escaping in Log4jUdpAppender.
- Re-added synchronization between ConsoleAppender and LogLog.
- Changed C logger API to return int instead of bool.
- Added C logger API to Visual Studio 2010 projects.
- Implemented remote syslog logging using UDP in SysLogAppender.
- Enabled SysLogAppender on Windows with only remote syslog logging
  enabled.

log4cplus 1.1.0-RC7

IMPORTANT: Builds with --with-iconv configure switch now assume UTF-8
           for plain char strings.

- Bumped up SO version for UDP sockets support related changes.
- Removed Windows CE support.
- Regenerated with Automake 1.12.2.
- Fixed Fedora RPM builds spec file.
- Implemented log4cplus.disableOverride similar to log4j's
  log4j.disableOverride.
- Improved support of profiling and debugging builds with Sun CC.
- Added documentation for configure script options.
- Added detection and use of clock_nanosleep().
- Disabled __thread (TLS) detection for NetBSD. It is broken there.
- New appender: Log4jUdpAppender. It allows logging using UDP with
  log4j XML payload to Chainsaw or Log2Console. (Siva Chandran P)
- Added support for __func__ as function name source for logging
  events.

log4cplus 1.1.0-RC6

- Fixed compilation for build with wchar_t being alias to unsigned
  short (/Zc:wchar_t-) (Windows).
- Added new appender CLFSAppender (experimental), based on Microsoft
  Common Log File System API.
- Added new appender Qt4DebugAppender (experimenta), based on Qt4's
  qDebug(), qWarning() and qCritical() functions.
- Fixed bug #3530769 - compilation issues with Visual Studio 2011.
- Added log4cplus.quietMode property handling to PropertyConfigurator.
- Added #pragma once to all headers.
- Implemented Time::gettimeofday() using Win32 API's
  GetSystemTimeAsFileTime().
- Moved file based locking from FileAppender to Appender to make it
  available for all appenders.
- Changed Windows configuration to use __declspec(thread) when
  compiling for Windows Vista or later and TlsAlloc() otherwise.
- Implemented %r PatternLayout format specifier - miliseconds since
  process start.
- Fixed bug #3101459 - TTCCLayout time is not in milliseconds since
  process start by default.

log4cplus 1.1.0-RC5

- Fixed single threaded log4cplus build issues.
- Added ability to log to std::cerr (Andreas Bießmann).
- Fixed disabling of LOG4CPLUS_*_FMT() macros.

log4cplus 1.1.0-RC4

IMPORTANT: Compilation with Solaris Studio now depends on STLPort
           (-library=stlport4 switch). The default Cstd library is not
           conforming enough for use in log4cplus.
- Improved behaviour of log4cplus as a component of larger CMake based
  project (Andreas Bießmann).
- Updated various Autoconf detection scripts in m4/ directory to newer
  versions.
- Fixed some signedness and overflow warnings.
- Improved Autotools build system's behaviour for cross compilation.
- Added detection of C++11 <atomic> header and related
  functions. Implemented SharedObject reference counting using C++11
  atomics where possible.
- Fixed compilation with GCC 4.6 in C++11 mode.
- Fixed some single-threaded compilation and run time issues.
- Fixed bug #3520891 - FileAppender buffering issue.
- Updated to Autoconf 2.69, Automake 1.12 and Libtool 2.4.2.
- Documented build procedure for Solaris Studio.
- Improved support for Solaris Studio in configure.in.

log4cplus 1.1.0-RC3

- Fixed log4cplusS.vcxproj - Added missing source files to the
  project.

log4cplus 1.1.0-RC2

- CMake build system fixes.
- Fixed TTCCLayout double time stamp issue.

log4cplus 1.1.0-RC1

Important changes relative to PRODUCTION_1_0_x branch:
- Added AsyncAppender.
- Added simple C interface for interoperability with C.
- Added inter-process file locking to file appenders to allow logging
  into a single log file from multiple processes.
- Added Mapped Diagnostic Context (MDC) and associated converter (%X).
- Added alternative thread identification (%T) converter to pattern layout.
- Added function name converter (%M).
- Added wchar_t <-> char conversion implementations based on standard
  C locale functions and based on iconv().
- Added DeviceAppender to allow use of Boost.IOStream's Sink as appender.
- Added LOG4CPLUS_*_FMT() macros to allow printf-like formatted output
  where it is possible.
- Logging macros now accept both logger name as string and Logger
  instance as their first parameter.
  • Loading branch information
sno committed Jul 2, 2013
1 parent 6d3b93d commit 26d1baf
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 12 deletions.
4 changes: 2 additions & 2 deletions devel/log4cplus/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.3 2012/11/16 00:44:34 joerg Exp $
# $NetBSD: Makefile,v 1.4 2013/07/02 08:59:03 sno Exp $
#

DISTNAME= log4cplus-1.0.4
DISTNAME= log4cplus-1.1.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=log4cplus/}
EXTRACT_SUFX= .tar.bz2
Expand Down
34 changes: 30 additions & 4 deletions devel/log4cplus/PLIST
Original file line number Diff line number Diff line change
@@ -1,35 +1,48 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/04/27 15:05:06 reed Exp $
@comment $NetBSD: PLIST,v 1.2 2013/07/02 08:59:03 sno Exp $
include/log4cplus/appender.h
include/log4cplus/asyncappender.h
include/log4cplus/boost/deviceappender.hxx
include/log4cplus/clogger.h
include/log4cplus/config.hxx
include/log4cplus/config/defines.hxx
include/log4cplus/config/macosx.h
include/log4cplus/config/win32.h
include/log4cplus/config/windowsh-inc.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/fileinfo.h
include/log4cplus/helpers/lockfile.h
include/log4cplus/helpers/loglog.h
include/log4cplus/helpers/logloguser.h
include/log4cplus/helpers/pointer.h
include/log4cplus/helpers/property.h
include/log4cplus/helpers/queue.h
include/log4cplus/helpers/sleep.h
include/log4cplus/helpers/snprintf.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/internal/cygwin-win32.h
include/log4cplus/internal/env.h
include/log4cplus/internal/internal.h
include/log4cplus/internal/socket.h
include/log4cplus/layout.h
include/log4cplus/log4judpappender.h
include/log4cplus/logger.h
include/log4cplus/loggingmacros.h
include/log4cplus/loglevel.h
include/log4cplus/mdc.h
include/log4cplus/ndc.h
include/log4cplus/nteventlogappender.h
include/log4cplus/nullappender.h
include/log4cplus/qt4debugappender.h
include/log4cplus/socketappender.h
include/log4cplus/spi/appenderattachable.h
include/log4cplus/spi/factory.h
Expand All @@ -41,6 +54,19 @@ include/log4cplus/spi/objectregistry.h
include/log4cplus/spi/rootlogger.h
include/log4cplus/streams.h
include/log4cplus/syslogappender.h
include/log4cplus/tchar.h
include/log4cplus/thread/impl/syncprims-impl.h
include/log4cplus/thread/impl/syncprims-pthreads.h
include/log4cplus/thread/impl/syncprims-win32.h
include/log4cplus/thread/impl/threads-impl.h
include/log4cplus/thread/impl/tls.h
include/log4cplus/thread/syncprims-pub-impl.h
include/log4cplus/thread/syncprims.h
include/log4cplus/thread/threads.h
include/log4cplus/tracelogger.h
include/log4cplus/tstring.h
include/log4cplus/version.h
include/log4cplus/win32consoleappender.h
include/log4cplus/win32debugappender.h
lib/liblog4cplus.la
lib/pkgconfig/log4cplus.pc
4 changes: 2 additions & 2 deletions devel/log4cplus/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# $NetBSD: buildlink3.mk,v 1.1 2012/01/23 11:50:38 pettai Exp $
# $NetBSD: buildlink3.mk,v 1.2 2013/07/02 08:59:03 sno Exp $

BUILDLINK_TREE+= log4cplus

.if !defined(LOG4CPLUS_BUILDLINK3_MK)
LOG4CPLUS_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.log4cplus+= log4cplus>=1.0.4
BUILDLINK_API_DEPENDS.log4cplus+= log4cplus>=1.1.0
BUILDLINK_PKGSRCDIR.log4cplus?= ../../devel/log4cplus
.endif # LOG4CPLUS_BUILDLINK3_MK

Expand Down
8 changes: 4 additions & 4 deletions devel/log4cplus/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/04/27 15:05:06 reed Exp $
$NetBSD: distinfo,v 1.2 2013/07/02 08:59:03 sno Exp $

SHA1 (log4cplus-1.0.4.tar.bz2) = b8ca1b01b23788ac04f25a7bdaaaca7e366c7312
RMD160 (log4cplus-1.0.4.tar.bz2) = ce93517a1afa9d38180d23e80ac602e2a738bc19
Size (log4cplus-1.0.4.tar.bz2) = 420708 bytes
SHA1 (log4cplus-1.1.1.tar.bz2) = 3a86b2e124091c9345ee1bac81ca1fb3773fad60
RMD160 (log4cplus-1.1.1.tar.bz2) = 44b15552265bc59387b33ea59549fdc2a7a61339
Size (log4cplus-1.1.1.tar.bz2) = 538692 bytes

0 comments on commit 26d1baf

Please sign in to comment.