Accepting request 1236152 from Base:System

- Update to sysvinit 3.31
  * Adjusted manual page install location. Patch provided
    by Mark Hindley.
  sysvinit (3.12) released; urgency=low
  * There were instances of the ctime() function being called in multiple files without
    checking the return value (can be NULL) and without checking the length of the
    returned information. While there _should_ never be a case where ctime() fails
    assuming success and length of returned string isn't ideal (or future-proof).
    We now check the return value of ctime() in bootlogd, dowall, last, logsave, and
    shutdown. Where no valid value is returned we supply a dummy value (usually a
    space in place of the expected time stamp). We also no longer assume returned string
    is at least 11-16 characters.
  * Re-commit flexible Makefile for GoboLinux.
  * Make sure pty.h and sys/sysmacros.h are included when building bootlogd on
    systems with glibc.
  * Fixed typos and syntax in manual page for init.8.
    Edits provided by : Bjarni Ingi Gislason.
  * Allow setting of location of the /usr directory in src/Makefile.
    This is handled by the usrdir variable.
  * Make sure src/Makefile uses sysconfdir (/etc by default) when installing
    configuration files.
  * Fix typos and syntax in pidof manual page.
- Port patches
  * sysvinit-2.88dsf-suse.patch
  * sysvinit-2.90.dif

OBS-URL: https://build.opensuse.org/request/show/1236152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysvinit?expand=0&rev=186
This commit is contained in:
2025-01-12 10:10:13 +00:00
committed by Git OBS Bridge
8 changed files with 69 additions and 41 deletions

View File

@@ -17,8 +17,8 @@
Miquel van Smoorenburg
--- man/pidof.8
+++ man/pidof.8 2022-03-29 07:06:43.889930825 +0000
@@ -102,6 +102,7 @@ The \fB\-z\fP flag (see above) tells \fB
processes, at the risk of failing or hanging.
@@ -115,6 +115,7 @@ The \fB\-z\fP flag (see above) tells \fB
at the risk of failing or hanging.
.SH SEE ALSO
+.BR pidofproc (8),

View File

@@ -1,9 +1,9 @@
---
src/Makefile | 25 ++++++++-----------------
1 file changed, 8 insertions(+), 17 deletions(-)
src/Makefile | 24 +++++++-----------------
1 file changed, 7 insertions(+), 17 deletions(-)
--- src/Makefile
+++ src/Makefile 2023-05-12 13:30:54.143754871 +0200
+++ src/Makefile 2025-01-09 10:46:54.490430980 +0000
@@ -9,7 +9,7 @@
#
@@ -44,18 +44,17 @@
MANDB :=
endif
@@ -210,13 +206,8 @@ install: all
# $(INSTALL_DIR) $(ROOT)/etc/
$(INSTALL_DIR) $(ROOT)/etc/inittab.d
# $(INSTALL_EXEC) ../doc/initscript.sample $(ROOT)/etc/
- ln -sf halt $(ROOT)/sbin/reboot
- ln -sf halt $(ROOT)/sbin/poweroff
- ln -sf init $(ROOT)/sbin/telinit
+ ln -sf killall5 $(ROOT)/sbin/pidof
ln -sf ../sbin/killall5 $(ROOT)/bin/pidof
- if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
- ln -sf last $(ROOT)/usr/bin/lastb; \
@@ -213,13 +209,7 @@ install: all
# $(INSTALL_DIR) $(ROOT)/$(sysconfdir)/
$(INSTALL_DIR) $(ROOT)/$(sysconfdir)/inittab.d
# $(INSTALL_EXEC) ../doc/initscript.sample $(ROOT)/$(sysconfdir)/
- ln -sf halt $(ROOT)$(base_sbindir)/reboot
- ln -sf halt $(ROOT)$(base_sbindir)/poweroff
- ln -sf init $(ROOT)$(base_sbindir)/telinit
ln -sf $(base_sbindir)/killall5 $(ROOT)$(base_bindir)/pidof
- if [ ! -f $(ROOT)$(bindir)/lastb ]; then \
- ln -sf last $(ROOT)$(bindir)/lastb; \
- fi
$(INSTALL_DIR) $(ROOT)/usr/include/
$(INSTALL_DATA) initreq.h $(ROOT)/usr/include/
for man in $(MANPAGES) ; do \
$(INSTALL_DIR) $(ROOT)$(includedir)/
$(INSTALL_DATA) initreq.h $(ROOT)$(includedir)/
for lang in '' $(patsubst ../man/po/%.po,%,$(wildcard ../man/po/??.po)); do \

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:04f1b7d67413af1c09c41acc1e3ce946f2d0f7a1e47c9978744bc542864e13d4
size 240212

View File

@@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEWi3Ghs3F1gh9iMGYNR91+kXVNlYFAmcWnf8ACgkQNR91+kXV
Nlaj5g/9GT3aqTB3s75uDkVu2P9jkDzbGCNvNz1atwd/qJVrM/H8SKD31RUWg/Ks
CQ8REuKxBoR8YtxISkFwr2WZT4NQ7pY6EZPkA5Z3QsqmVyM0opezJZ0V80Ak56y4
yaNAntnwhrXgpz0ifb264CInk4BVEhITu7oBFvTmi/BBHg9WFkrG0G4x/zD1lqge
8LtC3ZELtdfaCd2IJdbkjA602s1gDrlR3zG0bIKxg9iSkfxPlEpcMCkydMZx5SDc
laWn4HjcJYBUVIpggHxUoBWg45LLW/q5jdGs9eOBTD0jkdvNdDTuirGA7aMazNPl
vK1loSKXadv6k097Se5cjDtWIHE9eDIeTh/BAY5W8fJVpgweUAAQchGnxGOSZwhc
XLz8mz/DSXbbTLYYw3zss2+Eg5bqDrke1DY+eHmhGh70UEXlmhBjUKBhXHE5vWMz
dE05YWKhn9ucDrz5VsnnBOAE5E41Ob65UTs96kjS+jthzVqnykEUlSz6Z/9jHfJt
eWC606uVblpAwpE99yJM4kfgdmmKmyTabDYAEmPKQPjAriA2R5sXbaMaZViujsxL
nVX3BgpBy2Nb/vmdq0LVNdS16ZHgvl6BlClXCgmG8+eXwhsspM5bDbECa6Ancw2H
6zSoXE58npgOlGUz7/Q+7Lu5a+cu3ZXQwohw+NSgQf49bRQQOFI=
=RqJo
-----END PGP SIGNATURE-----

3
sysvinit-3.13.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cbaeabddc35a6511b87c87452ee5e87c678a26329c7d7d17fb69a2b42a314d86
size 240964

16
sysvinit-3.13.tar.xz.sig Normal file
View File

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEWi3Ghs3F1gh9iMGYNR91+kXVNlYFAmd4UhsACgkQNR91+kXV
NlYU5hAAnC0wTct1MfhM8zpsYgBvgFNYNzAHfci/L/kio/Ze5Bu6APQDl63MKEKJ
CTI3o0d3WymwdpenVRFplh3WrK32hrm3aju8LnhczFmDxYLuVxJZ31ldN7suc9iq
yoLEj1MtqM1Hx56pKDDXuMBmB9fimv8AHGmh5ofMFlIn+LhyquEASdebf4WMLbii
0g9dBJ+8oAOjt+7FpFuN5dd+cr+gHZpHfkscL4POoE6npwDTZnHs52eZJLgD0EGb
NqBsxD0fDt4rgBrTVZs4ugUR7sP9624rbHOKlAzy6ES6lNJWp1HxB4tDZ+OQz85/
goQ7V/951QCy4ijpSRvaxcJHcNDWydNtQuEwDcX1d7yn1ZJR/mraGRR+lCjV+++/
0EznBTqzgFGNvRrKTn/o05OWxAHAV1WxIUVL1mDt6ia/tsKuYe6YcjtzZ64LsR+h
bvKpO3ZDUXftbydtBA/rIUeYYELYfHy7X5MsrT0rZUAn8HtA8hPAoc+3CWBsBylS
3STFkFZX02tS+Gdqx+gqbLPkHZSngie8StGVghWlrWploeU1YgOey6kcIkcSlpeS
H067pS47BVNq2VslSV0SaIxw0p17TBFSNyMWz+CzSaCfmiasutHTRGtikw7lTr2i
qFvSE5ZPJ/NkxuKYk8rRKLb+fwT4Wg4GcvXbbzE6YKst4aGzirc=
=Kx5X
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
Thu Jan 9 10:50:10 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Update to sysvinit 3.31
* Adjusted manual page install location. Patch provided
by Mark Hindley.
sysvinit (3.12) released; urgency=low
* There were instances of the ctime() function being called in multiple files without
checking the return value (can be NULL) and without checking the length of the
returned information. While there _should_ never be a case where ctime() fails
assuming success and length of returned string isn't ideal (or future-proof).
We now check the return value of ctime() in bootlogd, dowall, last, logsave, and
shutdown. Where no valid value is returned we supply a dummy value (usually a
space in place of the expected time stamp). We also no longer assume returned string
is at least 11-16 characters.
* Re-commit flexible Makefile for GoboLinux.
* Make sure pty.h and sys/sysmacros.h are included when building bootlogd on
systems with glibc.
* Fixed typos and syntax in manual page for init.8.
Edits provided by : Bjarni Ingi Gislason.
* Allow setting of location of the /usr directory in src/Makefile.
This is handled by the usrdir variable.
* Make sure src/Makefile uses sysconfdir (/etc by default) when installing
configuration files.
* Fix typos and syntax in pidof manual page.
- Port patches
* sysvinit-2.88dsf-suse.patch
* sysvinit-2.90.dif
-------------------------------------------------------------------
Tue Oct 22 12:08:16 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package sysvinit
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 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.11
%define SIVER 3.13
%define START 0.65
Version: %{SIVER}
Release: 0
@@ -89,7 +89,7 @@ ln -sf startpar startpar-%{START}
%setup -n %{name}-%{SIVER} -q -b 1 -b 2
%patch -P 2 -p0 -b .suse
%patch -P 9 -p0 -b .no-kill
%patch -P 0
%patch -P 0 -b .p0
pushd doc
mkdir killproc
popd