From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cw9YL4RpZz331t for ; Mon, 27 Oct 2025 11:01:26 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cw9YH2392z331c for ; Mon, 27 Oct 2025 11:01:23 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cw9YH0DBxz3rd; Mon, 27 Oct 2025 11:01:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1761562883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Gc8rfuVol0I0NKkjyBLpy6j6454A6jxeBYWReuLJvlg=; b=syhucOije5EAs1TOV31k9u8sGKB8TfPHcWjooimADIqfiD5gbd5/P1yZJZdzwOTudQLu8w vu/pedJD51IyOqnLX4EiFyxHqO08Yzhkc39V4TkVQNbMirugIVg/cJ1lIseErB1uNxZh+m mvozL04QofPNlQgZzShWQHF7xG30gH0mlU60gpReA3pUmfbElzYWkXGsgyv279fL/Xe92S NJiOX3WYjWMDwgKUUvSNsJd/Llb1hpnt7rtY4T1j5Hx/Zg/kwQ1FsM4p5+dYVw/UMiCmAZ aF4qeEo518PTT+NTmE58ReEZuVCfqGUonQLa8EnRBYOsvBriU1iXNL4UX4+ILA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1761562883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Gc8rfuVol0I0NKkjyBLpy6j6454A6jxeBYWReuLJvlg=; b=VUBbS5h2OGii0WwehSNyWgg2/Xy8wX9iaVifmIyx0eexT5+PxInsemSUcYSPX/xSE6HiyV XQNIUwmq/pIqbsAw== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] sysvinit: Update to version 3.14 Date: Mon, 27 Oct 2025 12:01:15 +0100 Message-ID: <20251027110115.53695-2-adolf.belka@ipfire.org> In-Reply-To: <20251027110115.53695-1-adolf.belka@ipfire.org> References: <20251027110115.53695-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit - Update from version 3.11 to 3.14 - Update of rootfile - Changelog 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. 3.13 * Adjusted manual page install location. Patch provided by Mark Hindley. 3.12 * 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. Signed-off-by: Adolf Belka --- config/rootfiles/common/sysvinit | 67 +++++++------------------------- lfs/sysvinit | 6 +-- 2 files changed, 18 insertions(+), 55 deletions(-) diff --git a/config/rootfiles/common/sysvinit b/config/rootfiles/common/sysvinit index d7a63e76a..4c3f81a17 100644 --- a/config/rootfiles/common/sysvinit +++ b/config/rootfiles/common/sysvinit @@ -20,40 +20,26 @@ usr/bin/mesg usr/bin/utmpdump usr/bin/wall #usr/include/initreq.h -#usr/share/man/de/man1/last.1 -#usr/share/man/de/man1/mesg.1 -#usr/share/man/de/man1/mountpoint.1 -#usr/share/man/de/man1/readbootlog.1 -#usr/share/man/de/man1/utmpdump.1 -#usr/share/man/de/man1/wall.1 #usr/share/man/de/man5 -#usr/share/man/de/man5/initctl.5 -#usr/share/man/de/man5/initscript.5 -#usr/share/man/de/man5/inittab.5 #usr/share/man/de/man8 -#usr/share/man/de/man8/bootlogd.8 -#usr/share/man/de/man8/fstab-decode.8 -#usr/share/man/de/man8/halt.8 -#usr/share/man/de/man8/init.8 -#usr/share/man/de/man8/killall5.8 -#usr/share/man/de/man8/logsave.8 -#usr/share/man/de/man8/pidof.8 -#usr/share/man/de/man8/runlevel.8 -#usr/share/man/de/man8/shutdown.8 -#usr/share/man/de/man8/sulogin.8 #usr/share/man/es +#usr/share/man/es/man1 #usr/share/man/es/man5 -#usr/share/man/es/man5/initscript.5 -#usr/share/man/es/man5/inittab.5 +#usr/share/man/es/man8 +#usr/share/man/fi +#usr/share/man/fi/man1 +#usr/share/man/fi/man5 +#usr/share/man/fi/man8 #usr/share/man/fr/man5 -#usr/share/man/fr/man5/initscript.5 -#usr/share/man/fr/man5/inittab.5 #usr/share/man/fr/man8 -#usr/share/man/fr/man8/bootlogd.8 -#usr/share/man/fr/man8/fstab-decode.8 -#usr/share/man/fr/man8/init.8 -#usr/share/man/fr/man8/killall5.8 -#usr/share/man/fr/man8/pidof.8 +#usr/share/man/hu +#usr/share/man/hu/man1 +#usr/share/man/hu/man5 +#usr/share/man/hu/man8 +#usr/share/man/id +#usr/share/man/id/man1 +#usr/share/man/id/man5 +#usr/share/man/id/man8 #usr/share/man/man1/last.1 #usr/share/man/man1/lastb.1 #usr/share/man/man1/mesg.1 @@ -78,33 +64,10 @@ usr/bin/wall #usr/share/man/man8/sulogin.8 #usr/share/man/man8/telinit.8 #usr/share/man/pl +#usr/share/man/pl/man1 #usr/share/man/pl/man5 -#usr/share/man/pl/man5/initscript.5 -#usr/share/man/pl/man5/inittab.5 #usr/share/man/pl/man8 -#usr/share/man/pl/man8/init.8 -#usr/share/man/pl/man8/killall5.8 -#usr/share/man/pl/man8/pidof.8 #usr/share/man/pt #usr/share/man/pt/man1 -#usr/share/man/pt/man1/last.1 -#usr/share/man/pt/man1/mesg.1 -#usr/share/man/pt/man1/mountpoint.1 -#usr/share/man/pt/man1/readbootlog.1 -#usr/share/man/pt/man1/utmpdump.1 -#usr/share/man/pt/man1/wall.1 #usr/share/man/pt/man5 -#usr/share/man/pt/man5/initctl.5 -#usr/share/man/pt/man5/initscript.5 -#usr/share/man/pt/man5/inittab.5 #usr/share/man/pt/man8 -#usr/share/man/pt/man8/bootlogd.8 -#usr/share/man/pt/man8/fstab-decode.8 -#usr/share/man/pt/man8/halt.8 -#usr/share/man/pt/man8/init.8 -#usr/share/man/pt/man8/killall5.8 -#usr/share/man/pt/man8/logsave.8 -#usr/share/man/pt/man8/pidof.8 -#usr/share/man/pt/man8/runlevel.8 -#usr/share/man/pt/man8/shutdown.8 -#usr/share/man/pt/man8/sulogin.8 diff --git a/lfs/sysvinit b/lfs/sysvinit index d97c62554..0b91a75c7 100644 --- a/lfs/sysvinit +++ b/lfs/sysvinit @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2024 IPFire Team # +# Copyright (C) 2007-2025 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 3.11 +VER = 3.14 THISAPP = sysvinit-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = a7233509ec31ef6834e145d5912b2c1d3832bf63ffab6eb75c864cd2a9c4fe053b0e3a5abc20891c7d29596f95dd3aa518e69ad111d5586011fee37b4e23d7cb +$(DL_FILE)_BLAKE2 = 5eb8520765801c5fcc851d9185fe2468b81e33b0c1c8c10389a4f575939f8d2899355f63f8200b257947498a94002a0442350184f0629305d764a83037a2ec1b install : $(TARGET) -- 2.51.1