icinga2: for boost-1.89

This commit is contained in:
Đoàn Trần Công Danh 2025-08-30 16:16:31 +07:00
parent 321349d561
commit 5a195dedb2
2 changed files with 13 additions and 3 deletions

View file

@ -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})

View file

@ -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