aboutsummaryrefslogtreecommitdiff
path: root/net/kea
diff options
context:
space:
mode:
Diffstat (limited to 'net/kea')
-rw-r--r--net/kea/Makefile5
-rw-r--r--net/kea/files/patch-meson.build13
-rw-r--r--net/kea/files/patch-src_lib_asiodns_io__fetch.h10
-rw-r--r--net/kea/files/patch-src_lib_asiolink_interval__timer.h10
4 files changed, 34 insertions, 4 deletions
diff --git a/net/kea/Makefile b/net/kea/Makefile
index a937964fc4ab..ca7c2ed49f66 100644
--- a/net/kea/Makefile
+++ b/net/kea/Makefile
@@ -1,5 +1,6 @@
PORTNAME= kea
DISTVERSION= 3.0.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ISC/kea/${DISTVERSION}
@@ -10,10 +11,10 @@ WWW= https://kea.isc.org/
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libboost_system.so:devel/boost-libs \
+LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \
liblog4cplus.so:devel/log4cplus
-USES= compiler:c++11-lang cpe iconv libtool pathfix ssl python tar:xz meson pkgconfig cmake:indirect shebangfix
+USES= compiler:c++11-lang cpe iconv pathfix ssl python tar:xz meson pkgconfig cmake:indirect shebangfix
MESON_ARGS= --auto-features=disabled \
-Dcrypto=openssl \
-Dnetconf=disabled
diff --git a/net/kea/files/patch-meson.build b/net/kea/files/patch-meson.build
index f444e3bcdafe..d630616d50fb 100644
--- a/net/kea/files/patch-meson.build
+++ b/net/kea/files/patch-meson.build
@@ -1,4 +1,4 @@
---- meson.build.orig 2025-06-20 16:28:47 UTC
+--- meson.build.orig 2025-08-20 08:14:44 UTC
+++ meson.build
@@ -59,7 +59,7 @@ if PREFIX == '/usr/local'
# Meson is annoying with its opinionated alteration of certain paths based on whether prefix is default or not.
@@ -44,7 +44,16 @@
endif
#### Build Options
-@@ -1108,9 +1108,9 @@ if PREFIX == '/usr/local'
+@@ -189,7 +189,7 @@ message(f'Detected system "@SYSTEM@".')
+
+ #### Dependencies
+
+-boost_dep = dependency('boost', version: '>=1.66', modules: ['system'])
++boost_dep = dependency('boost', version: '>=1.69')
+ dl_dep = dependency('dl')
+ threads_dep = dependency('threads')
+ add_project_dependencies(boost_dep, dl_dep, threads_dep, language: ['cpp'])
+@@ -1127,9 +1127,9 @@ if PREFIX == '/usr/local'
# In case prefix is default, install to hardcoded path.
if PREFIX == '/usr/local'
install_emptydir('/usr/local/lib/kea')
diff --git a/net/kea/files/patch-src_lib_asiodns_io__fetch.h b/net/kea/files/patch-src_lib_asiodns_io__fetch.h
new file mode 100644
index 000000000000..fb9d73b8c564
--- /dev/null
+++ b/net/kea/files/patch-src_lib_asiodns_io__fetch.h
@@ -0,0 +1,10 @@
+--- src/lib/asiodns/io_fetch.h.orig 2025-08-20 08:14:44 UTC
++++ src/lib/asiodns/io_fetch.h
+@@ -16,6 +16,7 @@
+ #include <util/buffer.h>
+
+ #include <boost/asio/coroutine.hpp>
++#include <boost/asio/deadline_timer.hpp>
+ #include <boost/shared_array.hpp>
+ #include <boost/shared_ptr.hpp>
+ #include <boost/date_time/posix_time/posix_time_types.hpp>
diff --git a/net/kea/files/patch-src_lib_asiolink_interval__timer.h b/net/kea/files/patch-src_lib_asiolink_interval__timer.h
new file mode 100644
index 000000000000..433c6df0e7f0
--- /dev/null
+++ b/net/kea/files/patch-src_lib_asiolink_interval__timer.h
@@ -0,0 +1,10 @@
+--- src/lib/asiolink/interval_timer.h.orig 2025-08-20 08:14:44 UTC
++++ src/lib/asiolink/interval_timer.h
+@@ -7,6 +7,7 @@
+ #ifndef ASIOLINK_INTERVAL_TIMER_H
+ #define ASIOLINK_INTERVAL_TIMER_H 1
+
++#include <boost/asio/deadline_timer.hpp>
+ #include <boost/shared_ptr.hpp>
+ #include <functional>
+