0
0
mirror of https://github.com/openwrt/packages.git synced 2025-08-04 13:20:36 +00:00
Files
packages/net/kea/patches/004-use-shell-expansion-instead.patch
Liu Yu 7f3fd08a3a kea: update to 2.6.3
Update Kea to the stable release 2.6.3.
This version brings various build and security improvements.
In particular, support for Boost 1.87 has been officially merged
upstream, so the previously required patch 020-boost-187.patch
has been removed.

Signed-off-by: Liu Yu <f78fk@live.com>
2025-07-24 18:15:22 +03:00

19 lines
650 B
Diff

commit 79f969979f2ac7ed73dbc2682a53c95ff84adb1a
Author: Philip Prindeville <philipp@redfish-solutions.com>
Date: Sat Aug 3 10:19:05 2024 -0600
[3533] do filename munging with variable expansions
--- a/src/bin/keactrl/keactrl.in
+++ b/src/bin/keactrl/keactrl.in
@@ -116,7 +116,8 @@ get_pid_from_file() {
# Extract the name portion (from last slash to last dot) of the config file name.
local conf_name
- conf_name=$(basename -- "${kea_config_file}" | rev | cut -f2- -d'.' | rev)
+ conf_name=${kea_config_file##*/}
+ conf_name=${conf_name%.*}
# Default the directory to --localstatedir / run
local pid_file_dir