From 5a195dedb25a1f5068020d55a01c6bfe05b2098b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Aug 2025 16:16:31 +0700 Subject: [PATCH] icinga2: for boost-1.89 --- srcpkgs/icinga2/patches/boost-1.89.patch | 11 +++++++++++ srcpkgs/icinga2/template | 5 ++--- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/icinga2/patches/boost-1.89.patch diff --git a/srcpkgs/icinga2/patches/boost-1.89.patch b/srcpkgs/icinga2/patches/boost-1.89.patch new file mode 100644 index 00000000000..d7111a461ab --- /dev/null +++ b/srcpkgs/icinga2/patches/boost-1.89.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -123,7 +123,7 @@ if(LOGROTATE_HAS_SU) + set(LOGROTATE_USE_SU "\n\tsu ${ICINGA2_USER} ${ICINGA2_GROUP}") + endif() + +-find_package(Boost ${BOOST_MIN_VERSION} COMPONENTS thread system program_options regex REQUIRED) ++find_package(Boost ${BOOST_MIN_VERSION} COMPONENTS thread program_options REQUIRED) + + link_directories(${Boost_LIBRARY_DIRS}) + include_directories(${Boost_INCLUDE_DIRS}) diff --git a/srcpkgs/icinga2/template b/srcpkgs/icinga2/template index a85c531d6de..1fc29b4b02e 100644 --- a/srcpkgs/icinga2/template +++ b/srcpkgs/icinga2/template @@ -1,7 +1,7 @@ # Template file for 'icinga2' pkgname=icinga2 version=2.9.3 -revision=11 +revision=12 build_style=cmake build_helper="qemu" configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc @@ -10,8 +10,7 @@ configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc -DICINGA2_PLUGINDIR=/usr/lib/monitoring-plugins/" hostmakedepends="flex git" makedepends="openssl-devel boost-devel-minimal libboost_program_options - libboost_system libboost_regex libboost_unit_test_framework - libboost_thread libmariadbclient-devel libedit-devel + libboost_unit_test_framework libboost_thread libmariadbclient-devel libedit-devel yajl-devel postgresql-libs-devel" depends="monitoring-plugins" conf_files="/etc/${pkgname}/*.conf