Sun Nov 11 20:09:56 2018 UTC ()
Updating package for Log4CPlus in devel/log4cplus from 1.1.1 to 2.0.2

# log4cplus 2.0.2

  - Allow setting thread pool size using new function
    `setThreadPoolSize()`. Allow setting the size from `log4cplus.properties`
    using `log4cplus.threadPoolSize` property. Lower initial thread pool size
    by half to `std::thread::hardware_concurrency()` threads. GitHub issue
    #315.

  - Fix Autotools based build for MinGW. GitHub issue #317.

  - Add `configure` script option `--enable-lto` to allow easier LTO builds.

  - Optimization of `getFormattedTime()`. (Alexey Vishtak)

  - Introduction of `LOG4CPLUS_MACRO_FILE()` used in logging macros to allow
    users to redefine it and consequently hide source file names from their
    compiled executables and logging output.

# log4cplus 2.0.1

  - Update to Automake 1.16.1.

  - Adjust `spi::LoggerFactory` to allow custom `spi::LoggerImpl`. GitHub
    issue #309.

  - Fix MacOS X compilation. GitHub issue #312.

# log4cplus 2.0

  - CMake improvements: Automate export of includes if building as Cmake
    sub-module. (Rodion Malinovsky)

  - Debian spec file improvements: Use parallel build. Fix installation path
    on 64bit. (Michal Marek)

  - CMake improvements: Use `${CMAKE_INSTALL_LIBDIR}` instead of hardcoding
    lib. (Radek Dost叩l)

  - Experimental Windows 10 ARM support through CMAKE

# log4cplus 2.0-RC2

  - Avoid copying whole message just to prepend message length in
    `SocketAppender`. Instead, use OS specific "gather" socket write.

  - Fixed GitHub issue #136.

  - `FileAppender` classes now have `TextMode` property that can be set to
    `Binary` or `Text` (default) to specify underlying IO stream behavior
    with respect to end-of-line handling. (Patch by raphaelmarcucci).

  - Fixed compilation issues when building log4cplus with Visual Studio and
    Clang toolchain.

  - Fixed various shutdown and initialization related deadlocks and
    crashes. GitHub issues #251, #253.

  - Fixed GitHub issue #243. Single-threaded build with Visual Studio and
    CMake were not single-threaded.

  - Fixed GitHub issue #250. Creating WiX based installer using CPack does
    not work because of missing license file.

# log4cplus 2.0-RC1

  - **IMPORTANT**: Implementation language is now C++11. OS specific
    implementations have been replaced by C++11 facilities wherever
    possible. This lowers complexity of the library and improves
    maintainability but it also brings limitations to when the library can be
    used. Specifically, the library should not be used before `main()` is
    entered and after `main()` is left. Even more specifically, the library
    should not be used during global objects construction and destruction.

  - log4cplus uses Catch unit testing framework and has unit tests.

  - log4cplus supports IPv6.

  - Autotools based build system is now partially generated from templates by
    the Autogen tool.

  - Autotools based build system can build both `wchar_t` and plain `char`
    variants at once.


(sno)
diff -r1.6 -r1.7 pkgsrc/devel/log4cplus/Makefile
diff -r1.2 -r1.3 pkgsrc/devel/log4cplus/PLIST
diff -r1.3 -r1.4 pkgsrc/devel/log4cplus/distinfo
diff -r0 -r1.1 pkgsrc/devel/log4cplus/patches/patch-aa
diff -r0 -r1.1 pkgsrc/devel/log4cplus/patches/patch-ab

cvs diff -r1.6 -r1.7 pkgsrc/devel/log4cplus/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/log4cplus/Makefile 2013/09/23 13:55:50 1.6
+++ pkgsrc/devel/log4cplus/Makefile 2018/11/11 20:09:56 1.7
@@ -1,34 +1,43 @@ @@ -1,34 +1,43 @@
1# $NetBSD: Makefile,v 1.6 2013/09/23 13:55:50 obache Exp $ 1# $NetBSD: Makefile,v 1.7 2018/11/11 20:09:56 sno Exp $
2# 2#
3 3
4DISTNAME= log4cplus-1.1.1 4DISTNAME= log4cplus-2.0.2
5PKGREVISION= 1 
6CATEGORIES= devel 5CATEGORIES= devel
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=log4cplus/} 6GITHUB_RELEASE= REL_2_0_2
 7MASTER_SITES= ${MASTER_SITE_GITHUB:=log4cplus/}
8EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
9 9
10MAINTAINER= reed@reedmedia.net 10MAINTAINER= reed@reedmedia.net
11HOMEPAGE= http://log4cplus.sourceforge.net/ 11HOMEPAGE= http://log4cplus.sourceforge.net/
12COMMENT= Logging API for C++ 12COMMENT= Logging API for C++
13LICENSE= apache-2.0 AND 2-clause-bsd 13LICENSE= apache-2.0 AND 2-clause-bsd
14 14
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17USE_LANGUAGES= c c++ # C for configure 17USE_TOOLS+= pkg-config autoconf automake autoreconf gmake
 18USE_LANGUAGES= c99 c++11 # C for configure
 19
 20CONFIGURE_ARGS+= --with-iconv
 21CONFIGURE_ARGS+= --without-wchar_t-support
 22CONFIGURE_ARGS+= --without-qt
 23CONFIGURE_ARGS+= --without-qt5
 24CONFIGURE_ARGS+= --without-python
18 25
19.include "../../mk/compiler.mk" 26.include "../../mk/compiler.mk"
20.if !empty(PKGSRC_COMPILER:Mclang) 27.if !empty(PKGSRC_COMPILER:Mclang)
21CPPFLAGS+= -Werror=ignored-attributes 28CPPFLAGS+= -Werror=ignored-attributes
22.endif 29.endif
23 30
24CHECK_BUILTIN.pthread:= yes 31CHECK_BUILTIN.pthread:= yes
25.include "../../mk/pthread.builtin.mk" 32.include "../../mk/pthread.builtin.mk"
26CHECK_BUILTIN.pthread:= no 33CHECK_BUILTIN.pthread:= no
 34CONFIGURE_ARGS+= --enable-threads
27 35
28# TLS is not supported by NetBSD<6 36# TLS is not supported by NetBSD<6
29.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*) 37.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
30CONFIGURE_ENV+= ac_cv_thread_local=no 38CONFIGURE_ENV+= ac_cv_thread_local=no
31CONFIGURE_ENV+= ac_cv__thread_keyword=no 39CONFIGURE_ENV+= ac_cv__thread_keyword=no
32.endif 40.endif
33 41
 42.include "../../converters/libiconv/buildlink3.mk"
34.include "../../mk/bsd.pkg.mk" 43.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/devel/log4cplus/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/log4cplus/PLIST 2013/07/02 08:59:03 1.2
+++ pkgsrc/devel/log4cplus/PLIST 2018/11/11 20:09:56 1.3
@@ -1,72 +1,77 @@ @@ -1,72 +1,77 @@
1@comment $NetBSD: PLIST,v 1.2 2013/07/02 08:59:03 sno Exp $ 1@comment $NetBSD: PLIST,v 1.3 2018/11/11 20:09:56 sno Exp $
2include/log4cplus/appender.h 2include/log4cplus/appender.h
3include/log4cplus/asyncappender.h 3include/log4cplus/asyncappender.h
4include/log4cplus/boost/deviceappender.hxx 4include/log4cplus/boost/deviceappender.hxx
 5include/log4cplus/callbackappender.h
 6include/log4cplus/clfsappender.h
5include/log4cplus/clogger.h 7include/log4cplus/clogger.h
6include/log4cplus/config.hxx 8include/log4cplus/config.hxx
7include/log4cplus/config/defines.hxx 9include/log4cplus/config/defines.hxx
8include/log4cplus/config/macosx.h 10include/log4cplus/config/macosx.h
9include/log4cplus/config/win32.h 11include/log4cplus/config/win32.h
10include/log4cplus/config/windowsh-inc.h 12include/log4cplus/config/windowsh-inc.h
11include/log4cplus/configurator.h 13include/log4cplus/configurator.h
12include/log4cplus/consoleappender.h 14include/log4cplus/consoleappender.h
13include/log4cplus/fileappender.h 15include/log4cplus/fileappender.h
14include/log4cplus/fstreams.h 16include/log4cplus/fstreams.h
15include/log4cplus/helpers/appenderattachableimpl.h 17include/log4cplus/helpers/appenderattachableimpl.h
 18include/log4cplus/helpers/connectorthread.h
16include/log4cplus/helpers/fileinfo.h 19include/log4cplus/helpers/fileinfo.h
17include/log4cplus/helpers/lockfile.h 20include/log4cplus/helpers/lockfile.h
18include/log4cplus/helpers/loglog.h 21include/log4cplus/helpers/loglog.h
19include/log4cplus/helpers/logloguser.h 
20include/log4cplus/helpers/pointer.h 22include/log4cplus/helpers/pointer.h
21include/log4cplus/helpers/property.h 23include/log4cplus/helpers/property.h
22include/log4cplus/helpers/queue.h 24include/log4cplus/helpers/queue.h
23include/log4cplus/helpers/sleep.h 
24include/log4cplus/helpers/snprintf.h 25include/log4cplus/helpers/snprintf.h
25include/log4cplus/helpers/socket.h 26include/log4cplus/helpers/socket.h
26include/log4cplus/helpers/socketbuffer.h 27include/log4cplus/helpers/socketbuffer.h
27include/log4cplus/helpers/stringhelper.h 28include/log4cplus/helpers/stringhelper.h
28include/log4cplus/helpers/thread-config.h 29include/log4cplus/helpers/thread-config.h
29include/log4cplus/helpers/timehelper.h 30include/log4cplus/helpers/timehelper.h
30include/log4cplus/hierarchy.h 31include/log4cplus/hierarchy.h
31include/log4cplus/hierarchylocker.h 32include/log4cplus/hierarchylocker.h
 33include/log4cplus/initializer.h
32include/log4cplus/internal/cygwin-win32.h 34include/log4cplus/internal/cygwin-win32.h
33include/log4cplus/internal/env.h 35include/log4cplus/internal/env.h
34include/log4cplus/internal/internal.h 36include/log4cplus/internal/internal.h
35include/log4cplus/internal/socket.h 37include/log4cplus/internal/socket.h
36include/log4cplus/layout.h 38include/log4cplus/layout.h
 39include/log4cplus/log4cplus.h
37include/log4cplus/log4judpappender.h 40include/log4cplus/log4judpappender.h
38include/log4cplus/logger.h 41include/log4cplus/logger.h
39include/log4cplus/loggingmacros.h 42include/log4cplus/loggingmacros.h
40include/log4cplus/loglevel.h 43include/log4cplus/loglevel.h
41include/log4cplus/mdc.h 44include/log4cplus/mdc.h
 45include/log4cplus/msttsappender.h
42include/log4cplus/ndc.h 46include/log4cplus/ndc.h
43include/log4cplus/nteventlogappender.h 47include/log4cplus/nteventlogappender.h
44include/log4cplus/nullappender.h 48include/log4cplus/nullappender.h
45include/log4cplus/qt4debugappender.h 49include/log4cplus/qt4debugappender.h
 50include/log4cplus/qt5debugappender.h
46include/log4cplus/socketappender.h 51include/log4cplus/socketappender.h
47include/log4cplus/spi/appenderattachable.h 52include/log4cplus/spi/appenderattachable.h
48include/log4cplus/spi/factory.h 53include/log4cplus/spi/factory.h
49include/log4cplus/spi/filter.h 54include/log4cplus/spi/filter.h
50include/log4cplus/spi/loggerfactory.h 55include/log4cplus/spi/loggerfactory.h
51include/log4cplus/spi/loggerimpl.h 56include/log4cplus/spi/loggerimpl.h
52include/log4cplus/spi/loggingevent.h 57include/log4cplus/spi/loggingevent.h
53include/log4cplus/spi/objectregistry.h 58include/log4cplus/spi/objectregistry.h
54include/log4cplus/spi/rootlogger.h 59include/log4cplus/spi/rootlogger.h
55include/log4cplus/streams.h 60include/log4cplus/streams.h
56include/log4cplus/syslogappender.h 61include/log4cplus/syslogappender.h
57include/log4cplus/tchar.h 62include/log4cplus/tchar.h
 63include/log4cplus/thread/impl/syncprims-cxx11.h
58include/log4cplus/thread/impl/syncprims-impl.h 64include/log4cplus/thread/impl/syncprims-impl.h
59include/log4cplus/thread/impl/syncprims-pthreads.h 65include/log4cplus/thread/impl/syncprims-pmsm.h
60include/log4cplus/thread/impl/syncprims-win32.h 
61include/log4cplus/thread/impl/threads-impl.h 66include/log4cplus/thread/impl/threads-impl.h
62include/log4cplus/thread/impl/tls.h 67include/log4cplus/thread/impl/tls.h
63include/log4cplus/thread/syncprims-pub-impl.h 68include/log4cplus/thread/syncprims-pub-impl.h
64include/log4cplus/thread/syncprims.h 69include/log4cplus/thread/syncprims.h
65include/log4cplus/thread/threads.h 70include/log4cplus/thread/threads.h
66include/log4cplus/tracelogger.h 71include/log4cplus/tracelogger.h
67include/log4cplus/tstring.h 72include/log4cplus/tstring.h
68include/log4cplus/version.h 73include/log4cplus/version.h
69include/log4cplus/win32consoleappender.h 74include/log4cplus/win32consoleappender.h
70include/log4cplus/win32debugappender.h 75include/log4cplus/win32debugappender.h
71lib/liblog4cplus.la 76lib/liblog4cplus.la
72lib/pkgconfig/log4cplus.pc 77lib/pkgconfig/log4cplus.pc

cvs diff -r1.3 -r1.4 pkgsrc/devel/log4cplus/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/log4cplus/distinfo 2015/11/03 03:27:47 1.3
+++ pkgsrc/devel/log4cplus/distinfo 2018/11/11 20:09:56 1.4
@@ -1,6 +1,8 @@ @@ -1,6 +1,8 @@
1$NetBSD: distinfo,v 1.3 2015/11/03 03:27:47 agc Exp $ 1$NetBSD: distinfo,v 1.4 2018/11/11 20:09:56 sno Exp $
2 2
3SHA1 (log4cplus-1.1.1.tar.bz2) = 3a86b2e124091c9345ee1bac81ca1fb3773fad60 3SHA1 (log4cplus-2.0.2.tar.bz2) = f34573c7356a6f5b78a61ff5ee9f9ba4a5dace8f
4RMD160 (log4cplus-1.1.1.tar.bz2) = 44b15552265bc59387b33ea59549fdc2a7a61339 4RMD160 (log4cplus-2.0.2.tar.bz2) = 547fa298a76faf7bc607aa7f780047ffe177dfbf
5SHA512 (log4cplus-1.1.1.tar.bz2) = ae9ba65072bcfb4a1dee8b878722a808e3ad1d6403c7c5485d0876522359830ea9392484769674f56442bd8c95fde1ddc24a2f0d07ef5a4970724cea2f3ce9f2 5SHA512 (log4cplus-2.0.2.tar.bz2) = 0951a7255fea8f0efe9d0eb5889507fc0293c3baffa05bd7313ee3182e702c971b4a7fab47f6a1c3010310c08797fb780e0719e3b7df5df3d9a76ad57484ec9f
6Size (log4cplus-1.1.1.tar.bz2) = 538692 bytes 6Size (log4cplus-2.0.2.tar.bz2) = 958644 bytes
 7SHA1 (patch-aa) = 1386014633cc299f2edf78de58a485feb41a27de
 8SHA1 (patch-ab) = 8211edea6d3b78caf1185443aede8bd01a37adc3

File Added: pkgsrc/devel/log4cplus/patches/Attic/patch-aa
diff --git a/src/clogger.cxx b/src/clogger.cxx
index b3d29752..bf534f07 100644
--- src/clogger.cxx
+++ src/clogger.cxx
@@ -44,7 +44,6 @@ using namespace log4cplus::helpers;
 LOG4CPLUS_EXPORT void *
 log4cplus_initialize(void)
 {
-    Initializer * initializer = 0;
     try
     {
         return new Initializer();

File Added: pkgsrc/devel/log4cplus/patches/Attic/patch-ab
diff --git a/include/log4cplus/config.hxx b/include/log4cplus/config.hxx
index 57ac533d..667c47cd 100644
--- include/log4cplus/config.hxx
+++ include/log4cplus/config.hxx
@@ -31,7 +31,6 @@
 #else
 #  include <log4cplus/config/defines.hxx>
 #endif
-#include <cstddef>
 
 # if ! defined (LOG4CPLUS_WORKING_LOCALE) \
   && ! defined (LOG4CPLUS_WORKING_C_LOCALE) \
@@ -178,6 +178,8 @@
 #endif
 
 #if defined(__cplusplus)
+#include <cstddef>
+
 namespace log4cplus
 {