aports/main/kea/fix-install-umask.patch
Jakub Jirutka f918523551 main/kea: upgrade to 3.0.2
> Remove the builddir path from the scripts.

The admin scripts still contain builddir, but it no longer causes any
problems.

> kea-hook-mysql-cb -> kea-hook-mysql
> kea-hook-pgsql-cb -> kea-hook-pgsql

libdhcp_mysql_cb.so and libdhcp_pgsql_cb.so has been renamed, they don't
have _cb suffix anymore. In Kea 2, they only implemented database storage
for the configuration backend, but since Kea 3, they also implement lease
and host backends which were originally in the "core".
However, to use them for the configuration backend, they must be loaded
together with libdhcp_cb_cmds.so which is available only for ISC
customers. This is not new, it was also the case in Kea 2, i.e.
kea-hook-{mysql,pgsql}-cb were useless in Kea 2.
2025-11-17 12:33:59 +01:00

21 lines
643 B
Diff

From: Jakub Jirutka <jakub@jirutka.cz>
Date: Sun, 16 Nov 2025 23:41:21 +0100
Subject: [PATCH] Change install umask to 0022
We run Kea as unprivileged user, so installing executables and
libraries with mode 750 is not desirable.
diff --git a/meson.build b/meson.build
index 4f99748..c7eba2b 100644
--- a/meson.build
+++ b/meson.build
@@ -26,7 +26,7 @@ project(
'b_lundef=false', # required for clang++ when used with sanitizers and for BSD ld when linking with extern char **environ.
'b_pch=false',
'b_pie=true',
- 'install_umask=0027',
+ 'install_umask=0022',
'warning_level=2',
],
)