git: 3a0cc586e5a2 - main - sysutils/bareos20-*: Update to 20.0.9

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Fri, 05 Jan 2024 20:48:33 UTC
The branch main has been updated by acm:

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

commit 3a0cc586e5a2b79880cc10e7666843f5c8d9ef76
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-01-05 20:38:22 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-01-05 20:48:23 +0000

    sysutils/bareos20-*: Update to 20.0.9
---
 sysutils/bareos20-server/Makefile                  |  4 ++--
 sysutils/bareos20-server/distinfo                  |  6 ++---
 .../files/patch-core-CMakeLists.txt                | 26 +++++++++++++++++-----
 www/bareos20-webui/Makefile                        |  2 +-
 www/bareos20-webui/distinfo                        |  6 ++---
 5 files changed, 29 insertions(+), 15 deletions(-)

diff --git a/sysutils/bareos20-server/Makefile b/sysutils/bareos20-server/Makefile
index e20d5dca767c..1685570aab9e 100644
--- a/sysutils/bareos20-server/Makefile
+++ b/sysutils/bareos20-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bareos
 DISTVERSIONPREFIX=	Release/
-DISTVERSION=	20.0.8
+DISTVERSION=	20.0.9
 PORTREVISION?=	0
 CATEGORIES?=	sysutils
 PKGNAMEPREFIX?=	#
@@ -18,7 +18,7 @@ CONFLICTS?=	bareos19-server bareos18-server bareos-server
 LIB_DEPENDS+=	liblzo2.so:archivers/lzo2 \
 		libjansson.so:devel/jansson
 
-USES+=		cmake compiler:c++11-lang cpe localbase:ldflags perl5 pkgconfig readline \
+USES+=		cmake compiler:c++14-lang cpe localbase:ldflags perl5 pkgconfig readline \
 		shebangfix
 USE_GITHUB=	yes
 USE_PERL5=	run
diff --git a/sysutils/bareos20-server/distinfo b/sysutils/bareos20-server/distinfo
index 360b78388f29..93c6905cf2e5 100644
--- a/sysutils/bareos20-server/distinfo
+++ b/sysutils/bareos20-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668638535
-SHA256 (bareos-bareos-Release-20.0.8_GH0.tar.gz) = b8408d6a1a966fa97d02d727b1f92bb7ed40c7a34d5b66f118f1a09b1a8edaa3
-SIZE (bareos-bareos-Release-20.0.8_GH0.tar.gz) = 13429247
+TIMESTAMP = 1704430636
+SHA256 (bareos-bareos-Release-20.0.9_GH0.tar.gz) = ff2923a40f4a34d21699bd694ed66ca0ebecfbc0fa3b83e9c39fe1b767671993
+SIZE (bareos-bareos-Release-20.0.9_GH0.tar.gz) = 13432902
diff --git a/sysutils/bareos20-server/files/patch-core-CMakeLists.txt b/sysutils/bareos20-server/files/patch-core-CMakeLists.txt
index aaa58e70bf3c..9abddd91a174 100644
--- a/sysutils/bareos20-server/files/patch-core-CMakeLists.txt
+++ b/sysutils/bareos20-server/files/patch-core-CMakeLists.txt
@@ -1,6 +1,20 @@
---- core/CMakeLists.txt	2022-11-09 05:57:28.000000000 -0500
-+++ core/CMakeLists.txt	2022-11-18 00:05:47.668001000 -0500
-@@ -256,7 +256,9 @@
+--- core/CMakeLists.txt	2023-10-23 04:42:47.000000000 -0500
++++ core/CMakeLists.txt	2024-01-05 00:28:46.889990000 -0500
+@@ -44,10 +44,11 @@
+   set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
+ endif(CCACHE_FOUND)
+ 
+-# switch on CXX 11 Support
++# switch on CXX 14 Support
+ #
+-set(CMAKE_CXX_STANDARD 11)
++set(CMAKE_CXX_STANDARD 14)
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
++set(CMAKE_CXX_EXTENSIONS OFF)
+ 
+ include(CheckCCompilerFlag)
+ include(CheckCXXCompilerFlag)
+@@ -256,7 +257,9 @@
    set(PSCMD "ps -ax -o pid,command")
    include_directories(/usr/local/include)
    link_directories(/usr/local/lib)
@@ -11,7 +25,7 @@
    check_cxx_compiler_flag(
      -Wunused-but-set-variable compiler_will_warn_of_unused_but_set_variable
    )
-@@ -326,7 +328,9 @@
+@@ -326,7 +329,9 @@
    add_definitions("-D_FILE_OFFSET_BITS=64")
  endif()
  
@@ -22,7 +36,7 @@
  
  if(developer)
    add_definitions("-DDEVELOPER=1")
-@@ -350,7 +354,7 @@
+@@ -350,7 +355,7 @@
  if(NOT client-only)
    # droplet does not build on solaris because of sys/cdefs.h: No such file or
    # directory
@@ -31,7 +45,7 @@
      if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/src/droplet/CMakeLists.txt)
        message(
          FATAL_ERROR
-@@ -774,7 +778,6 @@
+@@ -774,7 +779,6 @@
  
  add_subdirectory(scripts)
  add_subdirectory(manpages)
diff --git a/www/bareos20-webui/Makefile b/www/bareos20-webui/Makefile
index e68552130616..64ddcf86b1c3 100644
--- a/www/bareos20-webui/Makefile
+++ b/www/bareos20-webui/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bareos
 DISTVERSIONPREFIX=	Release/
-DISTVERSION=	20.0.8
+DISTVERSION=	20.0.9
 CATEGORIES?=	www sysutils
 PKGNAMESUFFIX=	20-webui
 
diff --git a/www/bareos20-webui/distinfo b/www/bareos20-webui/distinfo
index 7c9ec4b65356..7ddbd674c060 100644
--- a/www/bareos20-webui/distinfo
+++ b/www/bareos20-webui/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668748829
-SHA256 (bareos-bareos-Release-20.0.8_GH0.tar.gz) = b8408d6a1a966fa97d02d727b1f92bb7ed40c7a34d5b66f118f1a09b1a8edaa3
-SIZE (bareos-bareos-Release-20.0.8_GH0.tar.gz) = 13429247
+TIMESTAMP = 1704486488
+SHA256 (bareos-bareos-Release-20.0.9_GH0.tar.gz) = ff2923a40f4a34d21699bd694ed66ca0ebecfbc0fa3b83e9c39fe1b767671993
+SIZE (bareos-bareos-Release-20.0.9_GH0.tar.gz) = 13432902