git: 437bb99d3054 - main - net/kea-devel: Fix runtime
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 10 Jul 2025 14:36:43 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=437bb99d3054a89fa3b268e9c32634718e08035b
commit 437bb99d3054a89fa3b268e9c32634718e08035b
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-07-10 14:33:48 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-07-10 14:33:48 +0000
net/kea-devel: Fix runtime
Strip $prefix (which is $PREFIX) from the runtime /var/run path used
by keactrl. Otherwise it looks for PID files in the wrong place.
---
net/kea-devel/Makefile | 4 +++-
net/kea-devel/files/patch-meson.build | 11 +++++++++--
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/net/kea-devel/Makefile b/net/kea-devel/Makefile
index 3c98f7fe5bb7..a717243022c3 100644
--- a/net/kea-devel/Makefile
+++ b/net/kea-devel/Makefile
@@ -1,5 +1,6 @@
PORTNAME= kea
DISTVERSION= 3.0.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ISC/kea/cur/3.0
PKGNAMESUFFIX= -devel
@@ -37,7 +38,8 @@ OPTIONS_DEFINE= DOCS MYSQL PGSQL
OPTIONS_SUB= yes
MESON_ARGS= --auto-features=disabled \
- -Dnetconf=disabled
+ -Dnetconf=disabled \
+ -Drunstatedir=/var/run
MYSQL_USES= mysql
MYSQL_MESON_ENABLED= mysql
diff --git a/net/kea-devel/files/patch-meson.build b/net/kea-devel/files/patch-meson.build
index 3bd6a82abfe7..b93d0f9bc2a8 100644
--- a/net/kea-devel/files/patch-meson.build
+++ b/net/kea-devel/files/patch-meson.build
@@ -1,5 +1,5 @@
--- meson.build.orig 2025-06-20 09:28:47.000000000 -0700
-+++ meson.build 2025-07-09 22:46:20.088250000 -0700
++++ meson.build 2025-07-10 02:34:01.835816000 -0700
@@ -59,7 +59,7 @@
# Meson is annoying with its opinionated alteration of certain paths based on whether prefix is default or not.
# So we revert what it does.
@@ -9,7 +9,7 @@
endif
DATABASE_SCRIPTS_DIR = TOP_BUILD_DIR / 'src/share/database/scripts'
-@@ -69,10 +69,10 @@
+@@ -69,16 +69,16 @@
KEA_ADMIN_INSTALLED = PREFIX / SBINDIR / 'kea-admin'
KEA_LFC_BUILT = TOP_BUILD_DIR / 'src/bin/lfc/kea-lfc'
KEA_LFC_INSTALLED = PREFIX / SBINDIR / 'kea-lfc'
@@ -22,6 +22,13 @@
if RUNSTATEDIR == ''
RUNSTATEDIR = LOCALSTATEDIR / 'run/kea'
else
+ RUNSTATEDIR = RUNSTATEDIR / 'kea'
+ endif
+-RUNSTATEDIR_INSTALLED = PREFIX / RUNSTATEDIR
++RUNSTATEDIR_INSTALLED = RUNSTATEDIR
+ SHAREDSTATEDIR = LOCALSTATEDIR / 'lib/kea'
+ SHAREDSTATEDIR_INSTALLED = PREFIX / SHAREDSTATEDIR
+ SYSCONFDIR_INSTALLED = PREFIX / SYSCONFDIR
@@ -88,9 +88,9 @@
# So we revert what it does.
if PREFIX == '/usr/local'