diff --git a/killproc-2.23.dif b/killproc-2.23.dif new file mode 100644 index 0000000..536f472 --- /dev/null +++ b/killproc-2.23.dif @@ -0,0 +1,15 @@ +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- Makefile ++++ Makefile 2024-08-13 07:19:11.990329152 +0000 +@@ -15,7 +15,7 @@ DESTDIR = + VERSION = 2.23 + DATE = $(shell date +'%d%b%y' | tr '[:lower:]' '[:upper:]') + STATX = $(shell (test -d /lib64 && nm -D /lib64/libc.so.* || /lib/libc.so.*)|grep -c statx) +-SYSSTATX = $(shell echo -e '\#include \nint main () {return SYS_statx;}'|gcc -x c -o /dev/null -P - 2>/dev/null && echo 1 || echo 0) ++SYSSTATX = $(shell echo -e '#include \nint main () {return SYS_statx;}'|gcc -x c -o /dev/null -P - 2>/dev/null && echo 1 || echo 0) + OSTATX = + + LIBS += -lblogger -lpthread diff --git a/sysvinit-3.08.tar.xz b/sysvinit-3.08.tar.xz deleted file mode 100644 index 110e682..0000000 --- a/sysvinit-3.08.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:60ae974f146ff2b0cb072d3ffb6cdd81ba00a2fca55e989c76505bb9bca9fc6c -size 268296 diff --git a/sysvinit-3.08.tar.xz.sig b/sysvinit-3.08.tar.xz.sig deleted file mode 100644 index c01b94a..0000000 --- a/sysvinit-3.08.tar.xz.sig +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEEwaRDLYiJZynkMAsEr9G5i/MnOBIFAmTemYQACgkQr9G5i/Mn -OBK8ew/9HOJ4t863Kse4PraX0Chi2VdP96SNFXIMuJDx0OujIZwZGxlzmTIEqKhV -Vu+cxt9dK1TO3aqeANosSTYagmmYOaZEo4yZOplxNn0p9KBF2T0DCqbYDnwQxS8E -omD3B+0WzzoM7Bop1KaPBLhCk0p1lzaJVuxbQVKbJB7i21OyUsj4OPoOSDIwFdg2 -fQFutnjdSt3W6LjsxF4EyKnsxxS7RyfZuqsaDoqBz0pgfsDd2S0iP5VT1MoQOOgV -P8ppinHR1bB/He9TEWmv9TrZGvCY2Jc3I0ArD1PNhzouKoqdpZAuCN4b3WZ85Yl6 -IjW64euqj+gy9skM4/WdpkcY93T2qt2o1SpJPgpb+w/O5azkFaKHywub0Hkysano -KD9c3ghVVh0PaLJJ7y1Mif9omAwq6iKfUdF818egDlKZuI3FN0PUyD1orR13yYcg -Z8KkbA1CAQzxclC82B+zJnt3R6GPXjWXda7H5mI1yUIgv/T0DN+myCIRDYSQU11A -Zy3lD327bUMSG8KYx0eDIhJQO+rIA9uINMKKxt29UxyNexhEIvAGr4QG59Ts2grW -56IYb7zRCNIi8Xej6qBwIfROWxsNzndQgUidxhdCAD1cbAk7wBJq9PbXBJuh0bdl -USGmDRE4bYx+d9tEK1ai+I2hxgUtcjjOPsfe1/00cQiYgFpg0cw= -=nrsg ------END PGP SIGNATURE----- diff --git a/sysvinit-3.10.tar.xz b/sysvinit-3.10.tar.xz new file mode 100644 index 0000000..a2b4c88 --- /dev/null +++ b/sysvinit-3.10.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c52d22f63e187a1247ad491b6a3a049561b887400a166d6b04fc9d67705c4da6 +size 240060 diff --git a/sysvinit-3.10.tar.xz.sig b/sysvinit-3.10.tar.xz.sig new file mode 100644 index 0000000..412de63 --- /dev/null +++ b/sysvinit-3.10.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEWi3Ghs3F1gh9iMGYNR91+kXVNlYFAmanm4AACgkQNR91+kXV +NlZV7RAAnltlprjmI3wJu+B62M7EsOgpxSHVgosIKiwtEfo81Bu2GU6dBcy812FE +4s62A9ftbqVMPwrSYBJNeownJKSbXVH3oJ/UU/Lsoq62IGYw3+Fn+f2zQJcXHT7r +eZ++LOUVugGh7r72KnUi7c3COrr3aDKqpfV5JWoa7Kl/TMpaLyJWBsTVfC8dp8Yu +344YtYZIItJ03DhV/cLTAvme7jPSYqOx6teFarVpxK861mVMZfs/tvZlX0hPzIAT +FMdHFngYBsYy30yg4GdwEWCOH/6EjHHu84i4I/lcxEmTlEVceio3BthzzFVEpYkq +24fs4d/xqBFhwJ7KhaDKxyGceGXwgz1BSuuL6HZC3P98rK8iSEyeo7gsMtzhfUMt +8KWU96w2nSJgHs1LKSiZypiIZZeMa103tFtz6nGuszxr1AWIs5RgIxS16olgpXi0 +6sHnpe1kTriLMMwQmcOQzIRkBECrzmn0OQNsJsGTS9pwGlaQl5X/2qvXvQEEcGi9 +TivN3kQLbjUchiT4/jzcqe6zBv2VjcIUqvbMNRLA/nsChJMNmYoCdALBN0ICrQC5 +9uA604yVNmIqKm7cP5zOCUOL+MfQa3O02aY3mhtrmn/L/aIgUOvSzuuw3Xq0n3KF +OKEm5hkcqgRTCOUyLjfQ25nmLvQgE657tkn3J9gJqWZ1l2dVFHc= +=LFP3 +-----END PGP SIGNATURE----- diff --git a/sysvinit.changes b/sysvinit.changes index f8e5a1d..512a3b7 100644 --- a/sysvinit.changes +++ b/sysvinit.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Tue Aug 13 07:21:04 UTC 2024 - Dr. Werner Fink + +- Add patch killproc-2.23.dif + * Fix shell command in Makefile to get detection statx declaration correct + +------------------------------------------------------------------- +Tue Aug 13 06:52:02 UTC 2024 - Dr. Werner Fink + +- Update to sysvinit 3.10 + * When the user executes "machinectl stop", systemd sends SIGRTMIN+4 to PID 1 + in the container, and expects that to initiate a graceful shutdown (power-off). + SysV init now catches this signal and initiates a shutdown (shutdown -hP now). + - floppym provided patch to accomplish this. + * Fix issue in bootlogd which could cause the service to enter an endless loop + (and use too much CPU) when it is able to open a device for writing, but not actually + able to write to it. This resulted in bootlogd closing and re-opening the device over + and over. Now bootlogd should simply fail gracefully when it cannot write to an open + file/device. + * Fix formatting in shutdown.8 manual page. Cleaned up whitespace and special characters. + * Patch for man/Makefile to fix the clean recipe. + Provided by Lucas Nussabaum and Mark Hindley + * On Linux systems, allow reboot command to pass a message + to the system firmware during the restart. This is + accomplished with the -m flag. + * Patch from kraj which allows hddown to compile + when musl is the C library. + ------------------------------------------------------------------- Mon Feb 26 13:28:43 UTC 2024 - Dominique Leuenberger diff --git a/sysvinit.spec b/sysvinit.spec index 8a8dc0c..bdac9d6 100644 --- a/sysvinit.spec +++ b/sysvinit.spec @@ -1,7 +1,7 @@ # # spec file for package sysvinit # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ Name: sysvinit %define KPVER 2.23 -%define SIVER 3.08 +%define SIVER 3.10 %define START 0.65 Version: %{SIVER} Release: 0 @@ -34,6 +34,7 @@ Summary: SysV-Style init License: GPL-2.0-or-later Group: System/Base BuildRequires: blog-devel +BuildRequires: po4a BuildRoot: %{_tmppath}/%{name}-%{version}-build #!BuildIgnore: sysvinit-tools URL: https://savannah.nongnu.org/projects/sysvinit/ @@ -46,6 +47,7 @@ Source5: %{name}.keyring Patch0: %{name}-2.90.dif Patch2: %{name}-2.88dsf-suse.patch Patch9: %{name}-2.90-no-kill.patch +Patch20: killproc-2.23.dif Patch50: startpar-0.58.dif %description @@ -92,6 +94,7 @@ pushd doc mkdir killproc popd pushd ../killproc-%{KPVER} +%patch -P 20 ln -t../%{name}-%{SIVER}/doc/killproc README.md popd pushd ../startpar-%{START}