SHA256
1
0
forked from pool/sysvinit

6 Commits

Author SHA256 Message Date
ae4d31669a Accepting request 1245592 from Base:System
- Update to sysvinit 3.14
  * Re-introduced DESTDIR flag in src/Makefile to assist building on Arch.
  * Fixed typo in init.8 manual page.
  * Expand process length in inittab to allow a command line 253 characters
    (up from 127). Expand child process structure to accomidate 253
    and some buffer room for newline/NULL.
  * Clear buffer when reading long lines from inittab, avoids garbage left
    over from old lines with long commands or comments.
  * Drop lines which are too long from inttab conf and log warning rather
    than truncate.

- Update to sysvinit 3.13

OBS-URL: https://build.opensuse.org/request/show/1245592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysvinit?expand=0&rev=187
2025-02-14 18:18:59 +00:00
a800dfbe5e .
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=279
2025-02-10 10:29:58 +00:00
704b747777 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
2025-01-12 10:10:13 +00:00
11b2f3afca Update to sysvinit 3.13
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=277
2025-01-09 10:51:50 +00:00
7e50f3c580 Accepting request 1219429 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysvinit?expand=0&rev=185
2024-10-31 15:09:08 +00:00
aca267cce5 Update to sysvinit-3.11
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=275
2024-10-22 12:10:04 +00:00
8 changed files with 97 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:c52d22f63e187a1247ad491b6a3a049561b887400a166d6b04fc9d67705c4da6
size 240060

View File

@@ -1,16 +0,0 @@
-----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-----

BIN
sysvinit-3.14.tar.xz LFS Normal file

Binary file not shown.

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

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEWi3Ghs3F1gh9iMGYNR91+kXVNlYFAmenfscACgkQNR91+kXV
NlYrqBAAgfo9A7s8TIlvO3CawSj5soaIBZH/DI8CopqgajMC3R757JO51baCKQyG
xcWIr+nntfVyDGFMemLZZo50QGIaLxahOOY1LdVbGtIf48bha0DqknzyULJWiGl8
iMzIwze6kFZzPnsiPclw3G1r70p1Hbj8IMZe9BOIxBJd46+HRVWBaxPHK6x1NrwL
Wwk3YByNapKIYT7m8b3VhNTnDLPAdk2BagPnLx3VOOqmzbBe+Yuh47dgykqurbm5
HrULau9aa1KpPuqNX8QjGitI52X0rvFlj3nwJBRfL1tiVD17vHMkrPb+hHFYI3kW
8mjR475S0kLd24hYbpsq7R/m7hvGmASTZzJQBR7o2LLMIZbngE7B3Fv4JUbZSbbD
WMAhKAXDuErgzbjHCWVATZHoIOwvDKyV99vSuMP9uyhRw4shUDV9wHndfj+X6n41
MWfY2BPmVtYYlpjsFO61puqXS5Yz7dQ8VuSNeR0F4mVTWcgTg3TaJCpAPpBw63HB
uw8LXxUCpbtWFIk4gBw2UuEYQ/QvMxYVTGPygiwrHSEJIzGYbuVzwCVYj02rJ05k
UaYs7sSAcxUbLniIfGf3RRIEAMYJl8u7scIH0VECI24PmHQYcAE7PqTb2Sm59zii
oBJ0rETxqBMOm2O0w9jpsBIRH3K/GyMWnNZOzfGJ1xkshaP5J70=
=w6vM
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,60 @@
-------------------------------------------------------------------
Mon Feb 10 10:11:25 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Update to sysvinit 3.14
* Re-introduced DESTDIR flag in src/Makefile to assist building on Arch.
* Fixed typo in init.8 manual page.
* Expand process length in inittab to allow a command line 253 characters
(up from 127). Expand child process structure to accomidate 253
and some buffer room for newline/NULL.
* Clear buffer when reading long lines from inittab, avoids garbage left
over from old lines with long commands or comments.
* Drop lines which are too long from inttab conf and log warning rather
than truncate.
-------------------------------------------------------------------
Thu Jan 9 10:50:10 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Update to sysvinit 3.13
* 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>
- Update to sysvinit 3.11
* Some escape characters were included in the inittab manual page,
but not displayed by the "man" command because they were not
(ironically) properly escaped. This has been fixed.
* Enabled chaining commands together in the inittab file. This
allows the admin to run commands like
"task1 && task2" or "task2 || task2" from the inittab file.
* Fix typoes in halt manual page. Fixes provided by Bjarni Ingi Gislason.
* Fix typos/markdown in fstab-decode manual page.
Patch provided by Bjarni Ingi Gislason.
-------------------------------------------------------------------
Tue Aug 13 07:21:04 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.10
%define SIVER 3.14
%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