Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2023 04:08:03 GMT
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ff2647be3f35 - main - devel/log4cplus: Update to 2.1.0 and take maintainership.
Message-ID:  <202307260408.36Q483dB094316@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by delphij:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ff2647be3f355e466350d0955e383cf477218201

commit ff2647be3f355e466350d0955e383cf477218201
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2023-07-09 19:09:54 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2023-07-26 04:07:20 +0000

    devel/log4cplus: Update to 2.1.0 and take maintainership.
    
    PR:             ports/272356
    Approved by:    maintainer (ports/255650)
---
 devel/log4cplus/Makefile  | 29 +++++++++++++----------------
 devel/log4cplus/distinfo  |  5 +++--
 devel/log4cplus/pkg-plist | 25 ++++++++++++++++---------
 3 files changed, 32 insertions(+), 27 deletions(-)

diff --git a/devel/log4cplus/Makefile b/devel/log4cplus/Makefile
index 3ca6d9a36178..a5c741d91797 100644
--- a/devel/log4cplus/Makefile
+++ b/devel/log4cplus/Makefile
@@ -1,34 +1,31 @@
 PORTNAME=	log4cplus
-PORTVERSION=	1.1.2
-PORTREVISION=	3
+PORTVERSION=	2.1.0
 CATEGORIES=	devel
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/REL_${PORTVERSION:S:.:_:g}/
 
-MAINTAINER=	reed@reedmedia.net
+MAINTAINER=	delphij@FreeBSD.org
 COMMENT=	Logging library for C++
-WWW=		http://log4cplus.sourceforge.net/
+WWW=		https://log4cplus.github.io/log4cplus/
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		compiler:c++11-lang libtool pathfix tar:xz
-USE_CXXSTD=	c++14
-USE_LDCONFIG=	yes
+USES=		cmake compiler:c++11-lang tar:xz
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-threads=yes
+OPTIONS_DEFINE=	DOCS
 
-MAKE_JOBS_UNSAFE=	yes
-INSTALL_TARGET=	install-strip
+USE_LDCONFIG=	yes
+CMAKE_OFF=	LOG4CPLUS_BUILD_TESTING
 
 PORTDOCS=	*
 
-OPTIONS_DEFINE=	DOCS
+DOCS_BUILD_DEPENDS=	doxygen:devel/doxygen
+
+post-build-DOCS-on:
+	cd ${WRKDIR} && doxygen ${DISTNAME}/docs/doxygen.config
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/*.config ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/doxygen.css ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/docs/html/* ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/devel/log4cplus/distinfo b/devel/log4cplus/distinfo
index d5d014a4c91c..2161965e5422 100644
--- a/devel/log4cplus/distinfo
+++ b/devel/log4cplus/distinfo
@@ -1,2 +1,3 @@
-SHA256 (log4cplus-1.1.2.tar.xz) = 999427580cded403b4edc8a85088621f27493c489f08b9f564fb5fe76c16a883
-SIZE (log4cplus-1.1.2.tar.xz) = 433728
+TIMESTAMP = 1687763458
+SHA256 (log4cplus-2.1.0.tar.xz) = d84ac8b1c46645122fbf72691f8eacef68c71b587403ee833bd9a252e06d46cc
+SIZE (log4cplus-2.1.0.tar.xz) = 940796
diff --git a/devel/log4cplus/pkg-plist b/devel/log4cplus/pkg-plist
index 14f78d6d4fec..1507ec6c570a 100644
--- a/devel/log4cplus/pkg-plist
+++ b/devel/log4cplus/pkg-plist
@@ -1,6 +1,8 @@
+bin/loggingserver
 include/log4cplus/appender.h
 include/log4cplus/asyncappender.h
 include/log4cplus/boost/deviceappender.hxx
+include/log4cplus/callbackappender.h
 include/log4cplus/clogger.h
 include/log4cplus/config.hxx
 include/log4cplus/config/defines.hxx
@@ -9,17 +11,17 @@ include/log4cplus/config/win32.h
 include/log4cplus/config/windowsh-inc.h
 include/log4cplus/configurator.h
 include/log4cplus/consoleappender.h
+include/log4cplus/exception.h
 include/log4cplus/fileappender.h
 include/log4cplus/fstreams.h
 include/log4cplus/helpers/appenderattachableimpl.h
+include/log4cplus/helpers/connectorthread.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
@@ -28,11 +30,12 @@ include/log4cplus/helpers/thread-config.h
 include/log4cplus/helpers/timehelper.h
 include/log4cplus/hierarchy.h
 include/log4cplus/hierarchylocker.h
-include/log4cplus/internal/cygwin-win32.h
+include/log4cplus/initializer.h
 include/log4cplus/internal/env.h
 include/log4cplus/internal/internal.h
 include/log4cplus/internal/socket.h
 include/log4cplus/layout.h
+include/log4cplus/log4cplus.h
 include/log4cplus/log4judpappender.h
 include/log4cplus/logger.h
 include/log4cplus/loggingmacros.h
@@ -41,7 +44,6 @@ 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
@@ -54,9 +56,9 @@ include/log4cplus/spi/rootlogger.h
 include/log4cplus/streams.h
 include/log4cplus/syslogappender.h
 include/log4cplus/tchar.h
+include/log4cplus/thread/impl/syncprims-cxx11.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/syncprims-pmsm.h
 include/log4cplus/thread/impl/threads-impl.h
 include/log4cplus/thread/impl/tls.h
 include/log4cplus/thread/syncprims-pub-impl.h
@@ -67,8 +69,13 @@ include/log4cplus/tstring.h
 include/log4cplus/version.h
 include/log4cplus/win32consoleappender.h
 include/log4cplus/win32debugappender.h
-lib/liblog4cplus-1.1.so.9
-lib/liblog4cplus-1.1.so.9.0.0
-lib/liblog4cplus.a
+lib/cmake/log4cplus/log4cplusConfig.cmake
+lib/cmake/log4cplus/log4cplusConfigVersion.cmake
+lib/cmake/log4cplus/log4cplusTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/log4cplus/log4cplusTargets.cmake
 lib/liblog4cplus.so
+lib/liblog4cplus.so.9
 libdata/pkgconfig/log4cplus.pc
+%%DATADIR%%/ChangeLog
+%%DATADIR%%/LICENSE
+%%DATADIR%%/README.md



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307260408.36Q483dB094316>