From ad8da7feda75e5805d394f3e0f694c188f25f597 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Tue, 16 Apr 2024 10:45:05 +0200 Subject: [PATCH 01/11] 10.23 --- .gitignore | 1 + initscripts.spec | 116 +++++++++++++++++++++++++++++++++++++++++++++-- sources | 2 +- 3 files changed, 115 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6892160..713f0fd 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,4 @@ /initscripts-10.19.tar.gz /initscripts-10.20.tar.gz /initscripts-10.21.tar.gz +/initscripts-10.23.tar.gz diff --git a/initscripts.spec b/initscripts.spec index e828658..f9c479c 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -18,7 +18,7 @@ Requires: gawk \ Name: initscripts Summary: Basic support for legacy System V init scripts -Version: 10.21 +Version: 10.23 Release: 1%{?dist} License: GPL-2.0-only @@ -55,7 +55,6 @@ BuildRequires: make BuildRequires: systemd Obsoletes: %{name} < 10.16-1 -Obsoletes: network-scripts < 10.21-1 # === PATCHES ================================================================= @@ -116,6 +115,57 @@ This package provides service command. # --------------- +%package -n network-scripts +Summary: Legacy scripts for manipulating of network devices +Requires: %{name}%{?_isa} = %{version}-%{release} + +%shared_requirements + +Requires: bc +Requires: dbus +Requires: dbus-tools +Requires: gawk +Requires: grep +Requires: hostname +Requires: iproute +Requires: ipcalc +Requires: kmod +Requires: procps-ng +Requires: sed +Requires: systemd + +Requires(post): chkconfig +Requires(preun): chkconfig + +Requires(post): %{_sbindir}/update-alternatives +Requires(postun): %{_sbindir}/update-alternatives + +Obsoletes: %{name} < 9.82-2 + +# This is legacy and deprecated, so nobody should depend on this! +# If ifcfg-style configuration is still desired, NetworkManager can do this. +# Thus, mark this as deprecated to ensure people know to not depend on it. +# Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/deprecating-packages/ +Provides: deprecated() + +%description -n network-scripts +This package contains the legacy scripts for activating & deactivating of most +network interfaces. It also provides a legacy version of 'network' service. + +The 'network' service is enabled by default after installation of this package, +and if the network-scripts are installed alongside NetworkManager, then the +ifup/ifdown commands from network-scripts take precedence over the ones provided +by NetworkManager. + +If user has both network-scripts & NetworkManager installed, and wishes to +use ifup/ifdown from NetworkManager primarily, then they has to run command: + $ update-alternatives --config ifup + +Please note that running the command above will also disable the 'network' +service. + +# --------------- + %package -n netconsole-service Summary: Service for initializing of network console logging Requires: %{name} = %{version}-%{release} @@ -175,11 +225,25 @@ Please use systemd-volatile-root functionality instead, if possible. # --------------- %install -%make_install NO_NETWORK_SCRIPTS=true +%make_install # This installs the NLS language files: %find_lang %{name} +%ifnarch s390 s390x + rm -f %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/ifup-ctc +%endif + +# Additional ways to access documentation: +install -m 0755 -d %{buildroot}%{_docdir}/network-scripts + +ln -s %{_docdir}/%{name}/sysconfig.txt %{buildroot}%{_docdir}/network-scripts/ +ln -sr %{_mandir}/man8/ifup.8 %{buildroot}%{_mandir}/man8/ifdown.8 + +# We are now using alternatives approach to better co-exist with NetworkManager: +touch %{buildroot}%{_sbindir}/ifup +touch %{buildroot}%{_sbindir}/ifdown + # ============================================================================= %post @@ -193,6 +257,24 @@ Please use systemd-volatile-root functionality instead, if possible. # --------------- +%post -n network-scripts +chkconfig --add network > /dev/null 2>&1 || : + +[ -L %{_sbindir}/ifup ] || rm -f %{_sbindir}/ifup +[ -L %{_sbindir}/ifdown ] || rm -f %{_sbindir}/ifdown + +%{_sbindir}/update-alternatives --install %{_sbindir}/ifup ifup %{_sysconfdir}/sysconfig/network-scripts/ifup 90 \ + --slave %{_sbindir}/ifdown ifdown %{_sysconfdir}/sysconfig/network-scripts/ifdown \ + --initscript network + +%preun -n network-scripts +if [ $1 -eq 0 ]; then + chkconfig --del network > /dev/null 2>&1 || : + %{_sbindir}/update-alternatives --remove ifup %{_sysconfdir}/sysconfig/network-scripts/ifup +fi + +# --------------- + %post -n netconsole-service %systemd_post netconsole.service @@ -273,6 +355,26 @@ Please use systemd-volatile-root functionality instead, if possible. # --------------- +%files -n network-scripts +%doc doc/examples/ +%dir %{_sysconfdir}/sysconfig/network-scripts + +%{_sysconfdir}/rc.d/init.d/network +%{_sysconfdir}/sysconfig/network-scripts/* + +%config(noreplace) %{_sysconfdir}/sysconfig/network-scripts/ifcfg-lo + +%ghost %{_sbindir}/ifup +%ghost %{_sbindir}/ifdown +%attr(4755,root,root) %{_sbindir}/usernetctl + +%{_mandir}/man8/ifup.* +%{_mandir}/man8/ifdown.* +%{_mandir}/man8/usernetctl.* +%{_docdir}/network-scripts/* + +# --------------- + %files -n netconsole-service %config(noreplace) %{_sysconfdir}/sysconfig/netconsole @@ -296,6 +398,14 @@ Please use systemd-volatile-root functionality instead, if possible. # ============================================================================= %changelog +* Tue Apr 16 2024 Jan Macku - 10.23-1 +- fix: return support for network-scripts for Fedora 40 + +* Wed Mar 06 2024 Jan Macku - 10.22-1 +- Translated using Weblate (Georgian) +- rename_device: free path after it is used +- rename_device: remove trailing whitespaces + * Wed Feb 07 2024 Jan Macku - 10.21-1 - fedora: don't build network-scripts rpm in f40+ (2/2) - ci: trigger copr build on every push to main branch diff --git a/sources b/sources index f5a6bdb..b495329 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (initscripts-10.21.tar.gz) = be3f7e61673666f07f5ebc79f8f367cd0547c1d39653e4ad929010a5a29626bfbc8a369ab4c67b1a5f6249362192bd9198891e68f148d3dd7aca8b1da2142366 +SHA512 (initscripts-10.23.tar.gz) = 9eea75299ed163ee55c1790cfb3403e3348a181e62c2405328bb79f303560b4ac2aa661e854804e88e949d1b5792408ba51b28ad1f6b55907f15b2b09bae8f0d From 8ca47592a8f38c73b7d2f58fde1d35bd7d91de08 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Tue, 16 Apr 2024 10:46:56 +0200 Subject: [PATCH 02/11] 10.23 Resolves: #2274830 --- .gitignore | 1 + initscripts.spec | 116 +++++++++++++++++++++++++++++++++++++++++++++-- sources | 2 +- 3 files changed, 115 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6892160..713f0fd 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,4 @@ /initscripts-10.19.tar.gz /initscripts-10.20.tar.gz /initscripts-10.21.tar.gz +/initscripts-10.23.tar.gz diff --git a/initscripts.spec b/initscripts.spec index e828658..f9c479c 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -18,7 +18,7 @@ Requires: gawk \ Name: initscripts Summary: Basic support for legacy System V init scripts -Version: 10.21 +Version: 10.23 Release: 1%{?dist} License: GPL-2.0-only @@ -55,7 +55,6 @@ BuildRequires: make BuildRequires: systemd Obsoletes: %{name} < 10.16-1 -Obsoletes: network-scripts < 10.21-1 # === PATCHES ================================================================= @@ -116,6 +115,57 @@ This package provides service command. # --------------- +%package -n network-scripts +Summary: Legacy scripts for manipulating of network devices +Requires: %{name}%{?_isa} = %{version}-%{release} + +%shared_requirements + +Requires: bc +Requires: dbus +Requires: dbus-tools +Requires: gawk +Requires: grep +Requires: hostname +Requires: iproute +Requires: ipcalc +Requires: kmod +Requires: procps-ng +Requires: sed +Requires: systemd + +Requires(post): chkconfig +Requires(preun): chkconfig + +Requires(post): %{_sbindir}/update-alternatives +Requires(postun): %{_sbindir}/update-alternatives + +Obsoletes: %{name} < 9.82-2 + +# This is legacy and deprecated, so nobody should depend on this! +# If ifcfg-style configuration is still desired, NetworkManager can do this. +# Thus, mark this as deprecated to ensure people know to not depend on it. +# Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/deprecating-packages/ +Provides: deprecated() + +%description -n network-scripts +This package contains the legacy scripts for activating & deactivating of most +network interfaces. It also provides a legacy version of 'network' service. + +The 'network' service is enabled by default after installation of this package, +and if the network-scripts are installed alongside NetworkManager, then the +ifup/ifdown commands from network-scripts take precedence over the ones provided +by NetworkManager. + +If user has both network-scripts & NetworkManager installed, and wishes to +use ifup/ifdown from NetworkManager primarily, then they has to run command: + $ update-alternatives --config ifup + +Please note that running the command above will also disable the 'network' +service. + +# --------------- + %package -n netconsole-service Summary: Service for initializing of network console logging Requires: %{name} = %{version}-%{release} @@ -175,11 +225,25 @@ Please use systemd-volatile-root functionality instead, if possible. # --------------- %install -%make_install NO_NETWORK_SCRIPTS=true +%make_install # This installs the NLS language files: %find_lang %{name} +%ifnarch s390 s390x + rm -f %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/ifup-ctc +%endif + +# Additional ways to access documentation: +install -m 0755 -d %{buildroot}%{_docdir}/network-scripts + +ln -s %{_docdir}/%{name}/sysconfig.txt %{buildroot}%{_docdir}/network-scripts/ +ln -sr %{_mandir}/man8/ifup.8 %{buildroot}%{_mandir}/man8/ifdown.8 + +# We are now using alternatives approach to better co-exist with NetworkManager: +touch %{buildroot}%{_sbindir}/ifup +touch %{buildroot}%{_sbindir}/ifdown + # ============================================================================= %post @@ -193,6 +257,24 @@ Please use systemd-volatile-root functionality instead, if possible. # --------------- +%post -n network-scripts +chkconfig --add network > /dev/null 2>&1 || : + +[ -L %{_sbindir}/ifup ] || rm -f %{_sbindir}/ifup +[ -L %{_sbindir}/ifdown ] || rm -f %{_sbindir}/ifdown + +%{_sbindir}/update-alternatives --install %{_sbindir}/ifup ifup %{_sysconfdir}/sysconfig/network-scripts/ifup 90 \ + --slave %{_sbindir}/ifdown ifdown %{_sysconfdir}/sysconfig/network-scripts/ifdown \ + --initscript network + +%preun -n network-scripts +if [ $1 -eq 0 ]; then + chkconfig --del network > /dev/null 2>&1 || : + %{_sbindir}/update-alternatives --remove ifup %{_sysconfdir}/sysconfig/network-scripts/ifup +fi + +# --------------- + %post -n netconsole-service %systemd_post netconsole.service @@ -273,6 +355,26 @@ Please use systemd-volatile-root functionality instead, if possible. # --------------- +%files -n network-scripts +%doc doc/examples/ +%dir %{_sysconfdir}/sysconfig/network-scripts + +%{_sysconfdir}/rc.d/init.d/network +%{_sysconfdir}/sysconfig/network-scripts/* + +%config(noreplace) %{_sysconfdir}/sysconfig/network-scripts/ifcfg-lo + +%ghost %{_sbindir}/ifup +%ghost %{_sbindir}/ifdown +%attr(4755,root,root) %{_sbindir}/usernetctl + +%{_mandir}/man8/ifup.* +%{_mandir}/man8/ifdown.* +%{_mandir}/man8/usernetctl.* +%{_docdir}/network-scripts/* + +# --------------- + %files -n netconsole-service %config(noreplace) %{_sysconfdir}/sysconfig/netconsole @@ -296,6 +398,14 @@ Please use systemd-volatile-root functionality instead, if possible. # ============================================================================= %changelog +* Tue Apr 16 2024 Jan Macku - 10.23-1 +- fix: return support for network-scripts for Fedora 40 + +* Wed Mar 06 2024 Jan Macku - 10.22-1 +- Translated using Weblate (Georgian) +- rename_device: free path after it is used +- rename_device: remove trailing whitespaces + * Wed Feb 07 2024 Jan Macku - 10.21-1 - fedora: don't build network-scripts rpm in f40+ (2/2) - ci: trigger copr build on every push to main branch diff --git a/sources b/sources index f5a6bdb..b495329 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (initscripts-10.21.tar.gz) = be3f7e61673666f07f5ebc79f8f367cd0547c1d39653e4ad929010a5a29626bfbc8a369ab4c67b1a5f6249362192bd9198891e68f148d3dd7aca8b1da2142366 +SHA512 (initscripts-10.23.tar.gz) = 9eea75299ed163ee55c1790cfb3403e3348a181e62c2405328bb79f303560b4ac2aa661e854804e88e949d1b5792408ba51b28ad1f6b55907f15b2b09bae8f0d From c8914f994cb69142bb07b0ad49279ab4bcf04ad7 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Wed, 29 May 2024 13:47:14 +0200 Subject: [PATCH 03/11] 10.24 --- .gitignore | 1 + initscripts.spec | 12 ++++++++++-- sources | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 713f0fd..ff55599 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,4 @@ /initscripts-10.20.tar.gz /initscripts-10.21.tar.gz /initscripts-10.23.tar.gz +/initscripts-10.24.tar.gz diff --git a/initscripts.spec b/initscripts.spec index f9c479c..69b0a3e 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -18,7 +18,7 @@ Requires: gawk \ Name: initscripts Summary: Basic support for legacy System V init scripts -Version: 10.23 +Version: 10.24 Release: 1%{?dist} License: GPL-2.0-only @@ -244,6 +244,11 @@ ln -sr %{_mandir}/man8/ifup.8 %{buildroot}%{_mandir}/man8/ifdown.8 touch %{buildroot}%{_sbindir}/ifup touch %{buildroot}%{_sbindir}/ifdown +%if "%{_sbindir}" == "%{_bindir}" +# Some files get installed wrong, but if $(sbindir) is overriden, the build fails :( +mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ +%endif + # ============================================================================= %post @@ -322,7 +327,7 @@ fi # --------------- -%{_bindir}/* +%{_bindir}/usleep %{_sbindir}/consoletype %{_sbindir}/genhostid @@ -398,6 +403,9 @@ fi # ============================================================================= %changelog +* Wed May 29 2024 Jan Macku - 10.24-1 +- Fix build when %_bindir==%_sbindir + * Tue Apr 16 2024 Jan Macku - 10.23-1 - fix: return support for network-scripts for Fedora 40 diff --git a/sources b/sources index b495329..76115f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (initscripts-10.23.tar.gz) = 9eea75299ed163ee55c1790cfb3403e3348a181e62c2405328bb79f303560b4ac2aa661e854804e88e949d1b5792408ba51b28ad1f6b55907f15b2b09bae8f0d +SHA512 (initscripts-10.24.tar.gz) = 69e6079dc40d16e9a85b688c926c896d73c5e563621d848e03af8d61baf41fb8aa30ef88854b8e7ff4303c1d29214d48bf57e5457831f61ea4c53611247d908a From 8c47980cce12605f3d2d1c742f102ca6037402b7 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Tue, 25 Jun 2024 09:44:19 +0200 Subject: [PATCH 04/11] 10.25 --- .gitignore | 1 + initscripts.spec | 111 +++-------------------------------------------- sources | 2 +- 3 files changed, 8 insertions(+), 106 deletions(-) diff --git a/.gitignore b/.gitignore index ff55599..d862727 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,4 @@ /initscripts-10.21.tar.gz /initscripts-10.23.tar.gz /initscripts-10.24.tar.gz +/initscripts-10.25.tar.gz diff --git a/initscripts.spec b/initscripts.spec index 69b0a3e..b3abed6 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -18,7 +18,7 @@ Requires: gawk \ Name: initscripts Summary: Basic support for legacy System V init scripts -Version: 10.24 +Version: 10.25 Release: 1%{?dist} License: GPL-2.0-only @@ -55,6 +55,7 @@ BuildRequires: make BuildRequires: systemd Obsoletes: %{name} < 10.16-1 +Obsoletes: network-scripts < 10.25-1 # === PATCHES ================================================================= @@ -115,57 +116,6 @@ This package provides service command. # --------------- -%package -n network-scripts -Summary: Legacy scripts for manipulating of network devices -Requires: %{name}%{?_isa} = %{version}-%{release} - -%shared_requirements - -Requires: bc -Requires: dbus -Requires: dbus-tools -Requires: gawk -Requires: grep -Requires: hostname -Requires: iproute -Requires: ipcalc -Requires: kmod -Requires: procps-ng -Requires: sed -Requires: systemd - -Requires(post): chkconfig -Requires(preun): chkconfig - -Requires(post): %{_sbindir}/update-alternatives -Requires(postun): %{_sbindir}/update-alternatives - -Obsoletes: %{name} < 9.82-2 - -# This is legacy and deprecated, so nobody should depend on this! -# If ifcfg-style configuration is still desired, NetworkManager can do this. -# Thus, mark this as deprecated to ensure people know to not depend on it. -# Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/deprecating-packages/ -Provides: deprecated() - -%description -n network-scripts -This package contains the legacy scripts for activating & deactivating of most -network interfaces. It also provides a legacy version of 'network' service. - -The 'network' service is enabled by default after installation of this package, -and if the network-scripts are installed alongside NetworkManager, then the -ifup/ifdown commands from network-scripts take precedence over the ones provided -by NetworkManager. - -If user has both network-scripts & NetworkManager installed, and wishes to -use ifup/ifdown from NetworkManager primarily, then they has to run command: - $ update-alternatives --config ifup - -Please note that running the command above will also disable the 'network' -service. - -# --------------- - %package -n netconsole-service Summary: Service for initializing of network console logging Requires: %{name} = %{version}-%{release} @@ -225,25 +175,11 @@ Please use systemd-volatile-root functionality instead, if possible. # --------------- %install -%make_install +%make_install NO_NETWORK_SCRIPTS=true # This installs the NLS language files: %find_lang %{name} -%ifnarch s390 s390x - rm -f %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/ifup-ctc -%endif - -# Additional ways to access documentation: -install -m 0755 -d %{buildroot}%{_docdir}/network-scripts - -ln -s %{_docdir}/%{name}/sysconfig.txt %{buildroot}%{_docdir}/network-scripts/ -ln -sr %{_mandir}/man8/ifup.8 %{buildroot}%{_mandir}/man8/ifdown.8 - -# We are now using alternatives approach to better co-exist with NetworkManager: -touch %{buildroot}%{_sbindir}/ifup -touch %{buildroot}%{_sbindir}/ifdown - %if "%{_sbindir}" == "%{_bindir}" # Some files get installed wrong, but if $(sbindir) is overriden, the build fails :( mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ @@ -262,24 +198,6 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # --------------- -%post -n network-scripts -chkconfig --add network > /dev/null 2>&1 || : - -[ -L %{_sbindir}/ifup ] || rm -f %{_sbindir}/ifup -[ -L %{_sbindir}/ifdown ] || rm -f %{_sbindir}/ifdown - -%{_sbindir}/update-alternatives --install %{_sbindir}/ifup ifup %{_sysconfdir}/sysconfig/network-scripts/ifup 90 \ - --slave %{_sbindir}/ifdown ifdown %{_sysconfdir}/sysconfig/network-scripts/ifdown \ - --initscript network - -%preun -n network-scripts -if [ $1 -eq 0 ]; then - chkconfig --del network > /dev/null 2>&1 || : - %{_sbindir}/update-alternatives --remove ifup %{_sysconfdir}/sysconfig/network-scripts/ifup -fi - -# --------------- - %post -n netconsole-service %systemd_post netconsole.service @@ -360,26 +278,6 @@ fi # --------------- -%files -n network-scripts -%doc doc/examples/ -%dir %{_sysconfdir}/sysconfig/network-scripts - -%{_sysconfdir}/rc.d/init.d/network -%{_sysconfdir}/sysconfig/network-scripts/* - -%config(noreplace) %{_sysconfdir}/sysconfig/network-scripts/ifcfg-lo - -%ghost %{_sbindir}/ifup -%ghost %{_sbindir}/ifdown -%attr(4755,root,root) %{_sbindir}/usernetctl - -%{_mandir}/man8/ifup.* -%{_mandir}/man8/ifdown.* -%{_mandir}/man8/usernetctl.* -%{_docdir}/network-scripts/* - -# --------------- - %files -n netconsole-service %config(noreplace) %{_sysconfdir}/sysconfig/netconsole @@ -403,6 +301,9 @@ fi # ============================================================================= %changelog +* Tue Jun 25 2024 Jan Macku - 10.25-1 +- Revert "fix: return support for network-scripts for Fedora 40" + * Wed May 29 2024 Jan Macku - 10.24-1 - Fix build when %_bindir==%_sbindir diff --git a/sources b/sources index 76115f3..8e8dae4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (initscripts-10.24.tar.gz) = 69e6079dc40d16e9a85b688c926c896d73c5e563621d848e03af8d61baf41fb8aa30ef88854b8e7ff4303c1d29214d48bf57e5457831f61ea4c53611247d908a +SHA512 (initscripts-10.25.tar.gz) = 6bda528ba1ba59511d51e8b58e63631bd99e8f6dd4a8a1a93d62bc09f642682f9797ce795b4337a771179c65176a87b00f8da36a86a6d3d22aef26382f274163 From 0ad1aab9651b302411d197f3817ddb9f4332590c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 9 Jul 2024 12:46:03 +0200 Subject: [PATCH 05/11] Rebuilt for the bin-sbin merge https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin --- initscripts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/initscripts.spec b/initscripts.spec index b3abed6..7395541 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -19,7 +19,7 @@ Requires: gawk \ Name: initscripts Summary: Basic support for legacy System V init scripts Version: 10.25 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-only @@ -301,6 +301,9 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # ============================================================================= %changelog +* Tue Jul 09 2024 Zbigniew Jędrzejewski-Szmek - 10.25-2 +- Rebuilt for the bin-sbin merge + * Tue Jun 25 2024 Jan Macku - 10.25-1 - Revert "fix: return support for network-scripts for Fedora 40" From 9b36e39b275f562bfb7a508d05d39bbc0eadd0a8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 10:23:44 +0000 Subject: [PATCH 06/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- initscripts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/initscripts.spec b/initscripts.spec index 7395541..bcbb019 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -19,7 +19,7 @@ Requires: gawk \ Name: initscripts Summary: Basic support for legacy System V init scripts Version: 10.25 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-2.0-only @@ -301,6 +301,9 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # ============================================================================= %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 10.25-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Jul 09 2024 Zbigniew Jędrzejewski-Szmek - 10.25-2 - Rebuilt for the bin-sbin merge From c8559fc15036accac262a35941513e9ab632d87a Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Fri, 30 Aug 2024 14:35:02 +0200 Subject: [PATCH 07/11] 10.26 --- .gitignore | 1 + initscripts.spec | 12 ++++++++++-- sources | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d862727..cf79bf4 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,4 @@ /initscripts-10.23.tar.gz /initscripts-10.24.tar.gz /initscripts-10.25.tar.gz +/initscripts-10.26.tar.gz diff --git a/initscripts.spec b/initscripts.spec index bcbb019..3bd4bb8 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -18,8 +18,8 @@ Requires: gawk \ Name: initscripts Summary: Basic support for legacy System V init scripts -Version: 10.25 -Release: 3%{?dist} +Version: 10.26 +Release: 1%{?dist} License: GPL-2.0-only @@ -301,6 +301,14 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # ============================================================================= %changelog +* Tue Aug 27 2024 Jan Macku - 10.26-1 +- Translated using Weblate (Turkish) +- netconsole: var/lock -> run/lock +- netconsole: source sysconfig/network only if it exists +- netconsole: remove unused variables +- netconsole: remove trailing whitespaces +- Translated using Weblate (Turkish) + * Thu Jul 18 2024 Fedora Release Engineering - 10.25-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index 8e8dae4..43b7f56 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (initscripts-10.25.tar.gz) = 6bda528ba1ba59511d51e8b58e63631bd99e8f6dd4a8a1a93d62bc09f642682f9797ce795b4337a771179c65176a87b00f8da36a86a6d3d22aef26382f274163 +SHA512 (initscripts-10.26.tar.gz) = 37d5889160c18809c9b268240f1ee3cf551aa143d20300376e7d8238413f5b9de593a40bcf8c2786970e3b6876febb4df6b2f28760c39ab58709f93a3b6b5184 From 100c0bd722504039c5cb7e284f3ef6c937253fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 12 Jan 2025 14:31:02 +0100 Subject: [PATCH 08/11] Rebuilt for the bin-sbin merge (2nd attempt) https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin --- initscripts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/initscripts.spec b/initscripts.spec index 3bd4bb8..9ecf30e 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -19,7 +19,7 @@ Requires: gawk \ Name: initscripts Summary: Basic support for legacy System V init scripts Version: 10.26 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-only @@ -301,6 +301,9 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # ============================================================================= %changelog +* Sun Jan 12 2025 Zbigniew Jędrzejewski-Szmek - 10.26-2 +- Rebuilt for the bin-sbin merge (2nd attempt) + * Tue Aug 27 2024 Jan Macku - 10.26-1 - Translated using Weblate (Turkish) - netconsole: var/lock -> run/lock From 90e6e9e2eab617c1eb6bbbda30d80c34c5f043e0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 07:11:18 +0000 Subject: [PATCH 09/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- initscripts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/initscripts.spec b/initscripts.spec index 9ecf30e..4dcf676 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -19,7 +19,7 @@ Requires: gawk \ Name: initscripts Summary: Basic support for legacy System V init scripts Version: 10.26 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-2.0-only @@ -301,6 +301,9 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # ============================================================================= %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 10.26-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sun Jan 12 2025 Zbigniew Jędrzejewski-Szmek - 10.26-2 - Rebuilt for the bin-sbin merge (2nd attempt) From 59989cdcf13b6daaf8ea1d5c9a620a9195f24cfd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 17:40:40 +0000 Subject: [PATCH 10/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- initscripts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/initscripts.spec b/initscripts.spec index 4dcf676..42aacab 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -19,7 +19,7 @@ Requires: gawk \ Name: initscripts Summary: Basic support for legacy System V init scripts Version: 10.26 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-2.0-only @@ -301,6 +301,9 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # ============================================================================= %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 10.26-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jan 17 2025 Fedora Release Engineering - 10.26-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From c81f8b35402b88eda022d0ea36693bd09b8e3d6e Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Thu, 11 Dec 2025 10:27:28 +0100 Subject: [PATCH 11/11] 10.27 --- .gitignore | 1 + initscripts.spec | 54 ++++++++++++++++++++++++++++++++++-------------- sources | 2 +- 3 files changed, 40 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index cf79bf4..7f32732 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,4 @@ /initscripts-10.24.tar.gz /initscripts-10.25.tar.gz /initscripts-10.26.tar.gz +/initscripts-10.27.tar.gz diff --git a/initscripts.spec b/initscripts.spec index 42aacab..6dcbe5c 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -18,8 +18,8 @@ Requires: gawk \ Name: initscripts Summary: Basic support for legacy System V init scripts -Version: 10.26 -Release: 4%{?dist} +Version: 10.27 +Release: 1%{?dist} License: GPL-2.0-only @@ -260,6 +260,7 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # ============================================================================= %files -n initscripts-rename-device +%license COPYING %{_prefix}/lib/udev/rename_device @@ -268,6 +269,7 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # --------------- %files -n initscripts-service +%license COPYING %dir %{_libexecdir}/%{name} %dir %{_libexecdir}/%{name}/legacy-actions @@ -279,6 +281,7 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # --------------- %files -n netconsole-service +%license COPYING %config(noreplace) %{_sysconfdir}/sysconfig/netconsole %{_libexecdir}/netconsole @@ -287,6 +290,8 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # --------------- %files -n readonly-root +%license COPYING + %dir %{_sharedstatedir}/stateless %dir %{_sharedstatedir}/stateless/state %dir %{_sharedstatedir}/stateless/writable @@ -301,14 +306,37 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ # ============================================================================= %changelog -* Thu Jul 24 2025 Fedora Release Engineering - 10.26-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Fri Jan 17 2025 Fedora Release Engineering - 10.26-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sun Jan 12 2025 Zbigniew Jędrzejewski-Szmek - 10.26-2 -- Rebuilt for the bin-sbin merge (2nd attempt) +* Thu Dec 11 2025 Jan Macku - 10.27-1 +- spec: add missing license files +- build(deps): bump actions/checkout from 5 to 6 +- build(deps): bump actions/upload-artifact from 4 to 5 +- build(deps): bump github/codeql-action from 3 to 4 +- ci: fix issues with missing base commit +- Translated using Weblate (Georgian) +- Translated using Weblate (Indonesian) +- Translated using Weblate (English (United Kingdom)) +- Translated using Weblate (Korean) +- Translated using Weblate (Turkish) +- man: add ifdown.8 +- build(deps): bump actions/checkout from 4 to 5 +- Translated using Weblate (Spanish) +- Translated using Weblate (Georgian) +- Translated using Weblate (Korean) +- Translated using Weblate (Portuguese (Brazil)) +- Translated using Weblate (Polish) +- Translated using Weblate (Greek) +- Translated using Weblate (Greek) +- Translated using Weblate (Spanish) +- Translated using Weblate (Georgian) +- Translated using Weblate (Greek) +- Translated using Weblate (Italian) +- Translated using Weblate (Chinese (Traditional) (zh_TW)) +- Translated using Weblate (Spanish) +- Translated using Weblate (Finnish) +- retry arping one more time in ifup-eth when sendto failed +- Translated using Weblate (French) +- ci: add dependency glib-2.0 +- network-functions: Fix a bug in is_nm_handling() * Tue Aug 27 2024 Jan Macku - 10.26-1 - Translated using Weblate (Turkish) @@ -318,12 +346,6 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ - netconsole: remove trailing whitespaces - Translated using Weblate (Turkish) -* Thu Jul 18 2024 Fedora Release Engineering - 10.25-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Tue Jul 09 2024 Zbigniew Jędrzejewski-Szmek - 10.25-2 -- Rebuilt for the bin-sbin merge - * Tue Jun 25 2024 Jan Macku - 10.25-1 - Revert "fix: return support for network-scripts for Fedora 40" diff --git a/sources b/sources index 43b7f56..e24e8e9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (initscripts-10.26.tar.gz) = 37d5889160c18809c9b268240f1ee3cf551aa143d20300376e7d8238413f5b9de593a40bcf8c2786970e3b6876febb4df6b2f28760c39ab58709f93a3b6b5184 +SHA512 (initscripts-10.27.tar.gz) = 951f88158eaf7409f7d65c9875c9ba2611e6a805c17112ddbb34167a1638d87d2433c3962d20e66564669f3424dd7be1265cbe03a1a7d6b1c5413ed43d80148d