Compare commits

...

No commits in common. "c8" and "c9" have entirely different histories.
c8 ... c9

3 changed files with 162 additions and 55 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/initscripts-10.00.18.tar.gz
SOURCES/initscripts-10.11.7.tar.gz

View File

@ -1 +1 @@
07869d0e85730c355471ff37c311663369864d56 SOURCES/initscripts-10.00.18.tar.gz
b37728ae9b4a76e180b625a040cfcc8863c23128 SOURCES/initscripts-10.11.7.tar.gz

View File

@ -18,7 +18,7 @@ Requires: gawk \
Name: initscripts
Summary: Basic support for legacy System V init scripts
Version: 10.00.18
Version: 10.11.7
Release: 1%{?dist}
License: GPLv2
@ -34,6 +34,9 @@ Requires: procps-ng
Requires: setup
Requires: systemd
Requires: util-linux
Requires: chkconfig
Requires: initscripts-service
Requires: initscripts-rename-device
Requires(pre): shadow-utils
Requires(post): coreutils
@ -46,14 +49,12 @@ BuildRequires: glib2-devel
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: setup
BuildRequires: python3-devel
BuildRequires: make
%{?systemd_requires}
BuildRequires: systemd
Provides: /sbin/service
Obsoletes: %{name} < 9.82-2
Obsoletes: %{name} < 10.11.3-1
# === PATCHES =================================================================
@ -89,6 +90,31 @@ other legacy tools & utilities.
# === SUBPACKAGES =============================================================
%package -n initscripts-rename-device
Summary: Udev helper utility that provides network interface naming
%shared_requirements
%description -n initscripts-rename-device
Udev helper utility that provides network interface naming
# ---------------
%package -n initscripts-service
Summary: Support for service command
BuildArch: noarch
%shared_requirements
Requires: systemd
Provides: /sbin/service
%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}
@ -115,6 +141,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.
@ -176,6 +208,9 @@ Obsoletes: %{name} < 9.82-2
This package provides script & configuration file for setting up read-only root
support. Additional configuration is required after installation.
Please note that readonly-root package is considered deprecated with limited support.
Please use systemd-volatile-root functionality instead, if possible.
# === BUILD INSTRUCTIONS ======================================================
%prep
@ -282,26 +317,42 @@ fi
# RC symlinks:
%{_sysconfdir}/rc[0-6].d
%{_sysconfdir}/init.d
# ---------------
%{_bindir}/*
%{_sbindir}/consoletype
%{_sbindir}/genhostid
%{_sbindir}/service
%{_libexecdir}/import-state
%{_libexecdir}/loadmodules
%{_prefix}/lib/systemd/system/import-state.service
%{_prefix}/lib/systemd/system/loadmodules.service
%{_mandir}/man1/*
# =============================================================================
%files -n initscripts-rename-device
%{_prefix}/lib/udev/rename_device
%{_udevrulesdir}/*
%{_mandir}/man1/*
# ---------------
%files -n initscripts-service
%dir %{_libexecdir}/%{name}
%dir %{_libexecdir}/%{name}/legacy-actions
%{_sbindir}/service
%{_mandir}/man8/service.*
# =============================================================================
# ---------------
%files -n network-scripts
%doc doc/examples/
@ -346,84 +397,140 @@ fi
# =============================================================================
%changelog
* Wed Aug 10 2022 Jan Macku <jamacku@redhat.com> - 10.00.18-1
- ci: Update `.packit.yml` to run on `c8s`
* Wed Mar 06 2024 Jan Macku <jamacku@redhat.com> - 10.11.7-1
- rename_device: free path after it is used
- rename_device: remove trailing whitespaces
* Thu Feb 08 2024 Jan Macku <jamacku@redhat.com> - 10.11.6-1
- Add -r to while read as per shellcheck
- Fix splitting spaces in paths from statetab files
* Wed Aug 24 2022 Jan Macku <jamacku@redhat.com> - 10.11.5-1
- service: Exit when `/etc/init.d` is missing
* Thu Feb 24 2022 Jan Macku <jamacku@redhat.com> - 10.11.4-1
- spec: Update initscripts Obsoletes
* Thu Feb 24 2022 Jan Macku <jamacku@redhat.com> - 10.11.3-1
- Drop unnecessary obsoletes
- spec: Move rename_device to subpackage `initscripts-rename-device`
- ci: Update `.packit.yml` to run on `c9s`
- ci: Use Differential ShellCheck action
* Mon Jan 24 2022 Jan Macku <jamacku@redhat.com> - 10.00.17-1
* Wed Jan 26 2022 Jan Macku <jamacku@redhat.com> - 10.11.2-1
- ifup-routes: Revert quotes
- ifup-routes: Use `ip replace` only on type `route`
- ci: introduce GA ci from master to rhel8-branch
- ci: Setup packit for RHEL8 branch
- ci: Get rid of old ci files (travis and zanata)
* Fri Jan 14 2022 Jan Macku <jamacku@redhat.com> - 10.00.16-1
- rename_device: also support dracut-style kernel cmdline configuration
- ifup-routes: Log when using `ip $type replace`
- ifup-routes: Use `ip route repace` to avoid race
- ci: Update path to csdiff repository (#391)
* Mon Feb 15 2021 Jan Macku <jamacku@redhat.com> - 10.00.15-1
* Wed Sep 01 2021 Jan Macku <jamacku@redhat.com> - 10.11.1-1
- spec: Update relation between initscripts and initscripts-service
- spec: Replace not working awk command with sed
- use downstream version style
* Fri Aug 27 2021 Jan Macku <jamacku@redhat.com> - 10.11-1
- specfile: Update obsoletes to allow upgrades (#385)
* Thu Aug 26 2021 Jan Macku <jamacku@redhat.com> - 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 Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 10.09-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 10.09-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Feb 15 2021 Jan Macku <jamacku@redhat.com> - 10.09-1
- doc: Document ARPING_WAIT and ARPING_UPDATE_WAIT
- network scripts: Avoid infinite loop of arping
* Thu Feb 4 2021 Jan Macku <jamacku@redhat.com> - 10.00.14-1
* Thu Feb 4 2021 Jan Macku <jamacku@redhat.com> - 10.08-1
- network: fix condition in set_link_up()
- spec: sync with Fedora
* Fri Jan 22 2021 Jan Macku <jamacku@redhat.com> - 10.00.13-1
* Fri Jan 22 2021 Jan Macku <jamacku@redhat.com> - 10.07-1
- doc: Fix "Duplicated string found in the file."
- doc: Documents RES_OPTIONS option
- doc: Documents ifcfg option LINKSTATUS
* Thu Dec 17 2020 Jan Macku <jamacku@redhat.com> - 10.00.12-1
- ci: use up to date keywords and fix some warnings
- network: fix set_link_up()
* Tue Dec 15 2020 Jan Macku <jamacku@redhat.com> - 10.00.11-1
- network: add option to keep the link down
- Rework of shell ci
- Translations update from Weblate
* Fri Nov 13 2020 Jan Macku <jamacku@redhat.com> - 10.06-1
- service: catch unsupported action keywords
- makefile: Use rpmdev-bumpspec's legacy date option
* Fri Nov 06 2020 Jan Macku <jamacku@redhat.com> - 10.00.10-1
- Allow updating rfkill switch status while in readonly root mode
* Fri Nov 06 2020 Jan Macku <jamacku@redhat.com> - 10.05-1
- service: Prevent variables from globbing
- init.d/functions: Make usage msgs more clear
- network-scripts: Use net_log() instead of logger
- Allow updating rfkill switch status while in readonly root mode
- Add info into specfile about readonly-root deprecation
- Allow updating mlocate.db while in readonly root mode
* Fri Jul 24 2020 Jan Macku <jamacku@redhat.com> - 10.00.9-1
- rc.d/functions: replace grep's --quiet with -q
- Add warning to warn user when ETHTOOL_OPTS is set and ethtool binary is missing - Olav Vitters
- Fix spacing in Makefile
- Add optional 'dev' keyword
* Tue Jun 16 2020 Jan Macku <jamacku@redhat.com> - 10.00.8-1
* Tue Jul 14 2020 Jan Macku <jamacku@redhat.com> - 10.04-1
- Maintain permisision to set umask
- rwtab: Add support for chrony
- ifup-eth: Switch to bc utility, which supports floating point computations.
- Replace grep -EL with subshell since -L changed behaviour
- Correct spelling, IP,
- Fix spelling, for more info
- Fix spelling of SELinux
- Translations update from Weblate
* Wed Apr 15 2020 Jan Macku <jamacku@redhat.com> - 10.00.7-1
* Tue Mar 24 2020 Jan Macku <jamacku@redhat.com> - 10.03-1
- Replace grep -EL with subshell since -L changed behaviour
- Wait for scope link addresses as well as for scope global addresses
- Remove deprecated option -m of pidof
* Tue Dec 10 2019 Jan Macku <jamacku@redhat.com> - 10.00.6-1
- Use function is_true for testing true conditions
- Adding new travis job for testing shell-scripts
- Remove zanata conf
- pull latest translations
- Update of translations and remove files with no translations
- Fix service network stop cmd
- Fix missing python3 during build phase
* Wed Oct 30 2019 Jan Macku <jamacku@redhat.com> - 10.00.5-1
- Change spacing of service file to folow spacing of project
- network-function: bridges are created by ifup-eth
- network: don't fail with IFDOWN_ON_SHUTDOWN
- Add ip6gre tunnel option
- ifup-eth: Check that device name is set
- Initscripts no longer care about rc.local
* Fri Aug 23 2019 Lukas Nykryn <lnykryn@redhat.com> - 10.00.4-1
- Repalace hardcoded tests for yes and no with testing functions
- ifup-eth: Fix bridge setting stp option
* Wed Aug 07 2019 Jan Macku <jamacku@redhat.com> - 10.00.3-1
- Fix bug in service(8)
- ifup-eth: Check that device name is set
- Fix missing python3 during build phase
- rc.d/functions: fix escape sequence being output under systemd service units
- Replace not working awk command with sed
- Add ip6gre tunnel option
- ifup/ifdown: print DEPRECATION_WARNING_ISSUED waring info after source_config
* Thu Jun 06 2019 Jan Macku <jamacku@redhat.com> - 10.00.2-1
* Fri Jun 28 2019 Jan Macku <jamacku@redhat.com> - 10.02-1
- network: don't fail with IFDOWN_ON_SHUTDOWN
- rc.d/functions: remove support cgroups
- Create symlink (/etc/init.d) to /etc/rc.d/init.d
- Add option to wait until target is reachable
- ifup-eth: apply PERSISTENT_DHCLIENT to IPv6 dhclient daemon
- ifup-post: fix incorrect condition for RESOLV_MODS
- make tag: updated message
- make release-commit: do not create tag automatically
* Fri Aug 03 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 10.00.1-1
- consoletype/genhostid/usleep: allow disabling of deprecation warnings
- network/ifup/ifdown: allow disabling of deprecation warnings
* Mon Aug 06 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 10.01-1
- network/ifup/ifdown: deprecations warnings redirected to stderr
- ifup-eth: use 'bc' instead of 'expr' when computing $forward_delay
- network/ifup/ifdown: deprecation warnings for 'network-scripts' added
* Thu Jun 21 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 10.00.0-1
- fork for next major RHEL release
- network: parsing of /proc/mounts returned
* Thu Jun 21 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 10.00-1
- Move the /etc/rwtab.d & /etc/statetab.d folders to 'filesystem'
@ -731,7 +838,7 @@ ng
* Tue Jan 14 2014 Lukáš Nykrýn <lnykryn@redhat.com> 9.51-1
- readonly-root: bind-mount only necessary subset of entries in rwtab
- readonly-root: Add /var/log/audit/audit.log to rwtab
- readonly-root: restore selinux context after bind mount
- readonly-root: restore SELinux context after bind mount
- rename_device: remove comments and trailing whitespaces
- service: suggest using systemctl if unknown action is used
- ifup-eth: fix typo in error message