From 2e1e99bbb080501280fe6420e6373448aba8007b Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 13 Nov 2023 07:06:36 +0100 Subject: [PATCH] package/finit: bump to v4.6 Mostly a Bug fix release. Only major change is support for service `notify:pid` and `readiness none` global option to change how Finit expects readiness notification. Fixes: - Dbus and runparts regression in Finit v4.5. The configure script must expand `FINIT_RUNPATH_` before defining it in `config.h` - Service environment variables drop everything but the first argument, e.g., `VAR="foo bar qux"` drops everything but `foo` - Internal conditions, e.g., `` turn into flux when leaving bootstrap, causing depending services to stop - Global environment variables declared with `set VAR=NAME` do not drop leading `set `, causing `'set VAR'='NAME'` in env. - Sanity check environment variables, for services and globally. Ensure the variable name (key) does not contain spaces, or a leading `set ` https://github.com/troglobit/finit/releases/tag/4.6 Signed-off-by: Joachim Wiberg --- package/finit/0001-configure-runpath.patch | 19 ------------------- package/finit/finit.hash | 2 +- package/finit/finit.mk | 2 +- 3 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 package/finit/0001-configure-runpath.patch diff --git a/package/finit/0001-configure-runpath.patch b/package/finit/0001-configure-runpath.patch deleted file mode 100644 index 62002232..00000000 --- a/package/finit/0001-configure-runpath.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/configure 2023-11-05 23:39:51.907334321 +0100 -+++ b/configure 2023-11-05 23:39:58.339299795 +0100 -@@ -15352,7 +15352,15 @@ - printf "%s\n" "#define FINIT_EXECPATH_ \"$pkglibexecdir\"" >>confdefs.h - - --printf "%s\n" "#define FINIT_RUNPATH_ \"$runstatedir/finit/system\"" >>confdefs.h -+ finit_runpath="$runstatedir/finit/system" -+ finit_runpath=`( -+ test "x$prefix" = xNONE && prefix="$ac_default_prefix" -+ test "x$exec_prefix" = xNONE && exec_prefix="${prefix}" -+ eval echo \""$finit_runpath"\" -+ )` -+ -+ -+printf "%s\n" "#define FINIT_RUNPATH_ \"$finit_runpath\"" >>confdefs.h - - - diff --git a/package/finit/finit.hash b/package/finit/finit.hash index 4319eb5d..769e4310 100644 --- a/package/finit/finit.hash +++ b/package/finit/finit.hash @@ -1,5 +1,5 @@ # From https://github.com/troglobit/finit/releases/ -sha256 ef73d9ba01aefef1a2171483f26339c7aefdf92dd25d7b322f15efa48e78d655 finit-4.5.tar.gz +sha256 84ce1623ee935dc5d2d615ca14ed087f4bb3c47207fda97f26b1346e4983a6b2 finit-4.6.tar.gz # Locally calculated sha256 3a2b964c1772d03ab17b73a389ecce9151e0b190a9247817a2c009b16d356422 LICENSE diff --git a/package/finit/finit.mk b/package/finit/finit.mk index 99c43886..73be312c 100644 --- a/package/finit/finit.mk +++ b/package/finit/finit.mk @@ -4,7 +4,7 @@ # ################################################################################ -FINIT_VERSION = 4.5 +FINIT_VERSION = 4.6 FINIT_SITE = https://github.com/troglobit/finit/releases/download/$(FINIT_VERSION) FINIT_LICENSE = MIT FINIT_LICENSE_FILES = LICENSE