Drop patches that no longer apply: - net/kea/patches/001-fix-cross-compile.patch - net/kea/patches/002-fix-host-compile.patch Drop upstreamed patches: - net/kea/patches/020-shared_ptr.patch - net/kea/patches/030-gcc11.patch - net/kea/patches/040-map.patch Fixup patch net/kea/patches/003-no-test-compile.patch. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
11 lines
640 B
Diff
11 lines
640 B
Diff
--- a/src/bin/keactrl/keactrl.in
|
|
+++ b/src/bin/keactrl/keactrl.in
|
|
@@ -117,7 +117,7 @@ get_pid_from_file() {
|
|
# Extract the name portion (from last slash to last dot) of the config file name
|
|
# File name and extension are documented in src/lib/util/filename.h
|
|
local conf_name
|
|
- conf_name=$(basename -- "${kea_config_file}" | rev | cut -f2- -d'.' | rev)
|
|
+ conf_name=$(basename -- "${kea_config_file}" | awk '{for(i=length($0); i>0;i--) printf (substr($0,i,1));}' | cut -f2- -d'.' | awk '{for(i=length($0); i>0;i--) printf (substr($0,i,1));}')
|
|
|
|
# Default the directory to --localstatedir / run
|
|
local pid_file_dir
|