diff --git a/.gitignore b/.gitignore index e5d39da..fe800e0 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,9 @@ /initscripts-10.07.tar.gz /initscripts-10.08.tar.gz /initscripts-10.09.tar.gz +/initscripts-10.10.tar.gz +/initscripts-10.11.tar.gz +/initscripts-10.12.tar.gz +/initscripts-10.13.tar.gz +/initscripts-10.14.tar.gz +/initscripts-10.15.tar.gz diff --git a/initscripts.spec b/initscripts.spec index 48ecc35..db3e348 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.09 -Release: 2%{?dist} +Version: 10.15 +Release: 1%{?dist} License: GPLv2 @@ -34,6 +34,8 @@ Requires: procps-ng Requires: setup Requires: systemd Requires: util-linux +Requires: chkconfig +Requires: initscripts-service Requires(pre): shadow-utils Requires(post): coreutils @@ -51,9 +53,7 @@ BuildRequires: make %{?systemd_requires} BuildRequires: systemd -Provides: /sbin/service - -Obsoletes: %{name} < 9.82-2 +Obsoletes: %{name} < 10.10-1 # === PATCHES ================================================================= @@ -89,6 +89,23 @@ other legacy tools & utilities. # === SUBPACKAGES ============================================================= +%package -n initscripts-service +Summary: Support for service command +BuildArch: noarch + +%shared_requirements + +Requires: systemd + +Provides: /sbin/service + +Obsoletes: %{name} < 10.10-1 + +%description -n initscripts-service +This package provides service command. + +# --------------- + %package -n network-scripts Summary: Legacy scripts for manipulating of network devices Requires: %{name}%{?_isa} = %{version}-%{release} @@ -97,6 +114,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Requires: bc Requires: dbus +Requires: dbus-tools Requires: gawk Requires: grep Requires: hostname @@ -115,6 +133,12 @@ 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. @@ -292,7 +316,6 @@ fi %{_bindir}/* %{_sbindir}/consoletype %{_sbindir}/genhostid -%{_sbindir}/service %{_libexecdir}/import-state %{_libexecdir}/loadmodules @@ -304,10 +327,20 @@ fi %{_udevrulesdir}/* %{_mandir}/man1/* -%{_mandir}/man8/service.* # ============================================================================= +%files -n initscripts-service + +%dir %{_libexecdir}/%{name} +%dir %{_libexecdir}/%{name}/legacy-actions + +%{_sbindir}/service + +%{_mandir}/man8/service.* + +# --------------- + %files -n network-scripts %doc doc/examples/ %dir %{_sysconfdir}/sysconfig/network-scripts @@ -351,8 +384,58 @@ fi # ============================================================================= %changelog -* Thu Jul 22 2021 Fedora Release Engineering - 10.09-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild +* Tue Feb 15 2022 Jan Macku - 10.15-1 +- spec: network-scripts needs to depend on dbus-tools for NetworkManager detection +- packit: Run copr builds on release as well +- ci: Update `.packit.yml` to run on `c8s` `c9s` and `rawhide` +- Translated using Weblate (Finnish) +- ci: Use Differential ShellCheck action +- ci(Mergify): configuration update + +* Mon Jan 24 2022 Jan Macku - 10.14-1 +- ifup-routes: Revert quotes +- ifup-routes: Use `ip replace` only on type `route` +- ci(Mergify): configuration update +- ci: remove testing branch from `shellcheck_test.yml` + +* Thu Jan 13 2022 Jan Macku - 10.13-1 +- ifup-routes: Log when using `ip $type replace` +- ifup-routes: Use `ip route repace` to avoid race +- Translated using Weblate (German) +- Add LGTM badges to README +- ci: set default merge method to rebase +- ci: disable comments under opened PR in order to fix CI +- network scripts: do not use c-style for-loop +- network scripts: replace "<<<" with pipe +- rc.d/functions: do not use "+=" to concatenate string +- ci: Use default github-token (#395) +- ci(Mergify): configuration update (#394) +- ci: Output shellcheck results using PR comments (#393) +- ci: Update path to csdiff repository (#391) +- spec: Fix issue with $NEXT_VERSION (#390) +- Translated using Weblate (Indonesian) +- Translated using Weblate (Spanish) +- Translated using Weblate (Czech) + +* Fri Sep 03 2021 Jan Macku - 10.12-1 +- spec: Update relation between initscripts and initscripts-service (#386) + +* Fri Aug 27 2021 Jan Macku - 10.11-1 +- specfile: Update obsoletes to allow upgrades (#385) + +* Thu Aug 26 2021 Jan Macku - 10.10-1 +- Translated using Weblate (Friulian) (#381) +- Translations update from Weblate (#378) +- added veth support +- ifup-eth: add a new PERSISTENT_DHCLIENT_IPV6 option for IPv6 dhclient daemon +- ifdown removes veth pair if both peers are down +- rename_device: also support dracut-style kernel cmdline configuration +- spec: Mark network-scripts as deprecated +- spec: Initscripts now requires chkconfig (#374) +- Translations update from Weblate (#371) +- spec: Move service script into subpackage +- ci: Onboard initscripts to Packit +- ci: Migrate from Travis to GH Actions * Mon Feb 15 2021 Jan Macku - 10.09-1 - doc: Document ARPING_WAIT and ARPING_UPDATE_WAIT diff --git a/sources b/sources index a229159..10101a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (initscripts-10.09.tar.gz) = c8047d02565cbb166b76ce00c893b3a08d0e755fbaf16d11bc3b3a52ce305dd6968e7719b623e81645bece43eb2ed91f54079b10a8bdf02acbe5309062e4cb19 +SHA512 (initscripts-10.15.tar.gz) = c7fc1f7b91d766be84ee7b71dcbbba604e1024e25481460f60736119c654f134506371ef758d3c1dccf6479640d56019797e7316891689a3267d96da5ee18707