|
|
@ -1,14 +1,17 @@
|
|
|
|
Summary: A system tool for maintaining the /etc/rc*.d hierarchy
|
|
|
|
Summary: A system tool for maintaining the /etc/rc*.d hierarchy
|
|
|
|
Name: chkconfig
|
|
|
|
Name: chkconfig
|
|
|
|
Version: 1.24
|
|
|
|
Version: 1.30
|
|
|
|
Release: 1%{?dist}.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPL-2.0-only
|
|
|
|
License: GPL-2.0-only
|
|
|
|
URL: https://github.com/fedora-sysv/chkconfig
|
|
|
|
URL: https://github.com/fedora-sysv/chkconfig
|
|
|
|
Source: https://github.com/fedora-sysv/chkconfig/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
Source: https://github.com/fedora-sysv/chkconfig/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
Patch001: 001-ostree-move-admindir-to-etc-alternatives.admindir.patch
|
|
|
|
BuildRequires: gcc gettext libselinux-devel make newt-devel popt-devel pkgconfig(systemd)
|
|
|
|
|
|
|
|
# beakerlib might not be available on CentOS Stream any more
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
|
|
|
BuildRequires: beakerlib
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: newt-devel gettext popt-devel libselinux-devel beakerlib gcc systemd-devel make
|
|
|
|
|
|
|
|
Conflicts: initscripts <= 5.30-1
|
|
|
|
Conflicts: initscripts <= 5.30-1
|
|
|
|
|
|
|
|
|
|
|
|
Provides: /sbin/chkconfig
|
|
|
|
Provides: /sbin/chkconfig
|
|
|
@ -32,6 +35,11 @@ page), ntsysv configures the current runlevel (5 if you're using X).
|
|
|
|
|
|
|
|
|
|
|
|
%package -n alternatives
|
|
|
|
%package -n alternatives
|
|
|
|
Summary: A tool to maintain symbolic links determining default commands
|
|
|
|
Summary: A tool to maintain symbolic links determining default commands
|
|
|
|
|
|
|
|
%if "%{_sbindir}" == "%{_bindir}"
|
|
|
|
|
|
|
|
Provides: /usr/sbin/alternatives
|
|
|
|
|
|
|
|
Provides: /usr/sbin/update-alternatives
|
|
|
|
|
|
|
|
Requires: filesystem(unmerged-sbin-symlinks)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description -n alternatives
|
|
|
|
%description -n alternatives
|
|
|
|
alternatives creates, removes, maintains and displays information about the
|
|
|
|
alternatives creates, removes, maintains and displays information about the
|
|
|
@ -40,13 +48,16 @@ programs fulfilling the same or similar functions to be installed on a single
|
|
|
|
system at the same time.
|
|
|
|
system at the same time.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%make_build RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
|
|
|
%make_build RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# tests are executed using tmt and tf on CentOS Stream and RHEL
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
make check
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
@ -92,8 +103,85 @@ mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d
|
|
|
|
%{_mandir}/*/alternatives*
|
|
|
|
%{_mandir}/*/alternatives*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Sep 04 2024 Jan Macku <jamacku@redhat.com> - 1.24-1.1
|
|
|
|
* Wed Aug 07 2024 Jan Macku <jamacku@redhat.com> - 1.30-1
|
|
|
|
- ostree: move admindir to /etc/alternatives.admindir (RHEL-53997)
|
|
|
|
- ostree: move admindir to /etc/alternatives.admindir
|
|
|
|
|
|
|
|
- update po/chkconfig.pot
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 30 2024 Jan Macku <jamacku@redhat.com> - 1.29-1
|
|
|
|
|
|
|
|
- add basic mkosi config
|
|
|
|
|
|
|
|
- remove not used directory from makefile
|
|
|
|
|
|
|
|
- ntsysv: fix leaks
|
|
|
|
|
|
|
|
- leveldb: security_context_t is deprecated
|
|
|
|
|
|
|
|
- leveldb: fix leak
|
|
|
|
|
|
|
|
- leveldb: fix leak
|
|
|
|
|
|
|
|
- leveldb: fix leak
|
|
|
|
|
|
|
|
- leveldb: fix leak
|
|
|
|
|
|
|
|
- leveldb: fix leak
|
|
|
|
|
|
|
|
- chkconfig: fix leak
|
|
|
|
|
|
|
|
- chkconfig: fix leak
|
|
|
|
|
|
|
|
- chkconfig: fix memory leak when deleting a service
|
|
|
|
|
|
|
|
- leveldb: add destructors for service
|
|
|
|
|
|
|
|
- leveldb: fix memory leak
|
|
|
|
|
|
|
|
- leveldb.c: fix memory leak
|
|
|
|
|
|
|
|
- chkconfig: fix leak
|
|
|
|
|
|
|
|
- leveldb: fix memory leak
|
|
|
|
|
|
|
|
- alternatives: ensure the current alt. is freed if parsing fails
|
|
|
|
|
|
|
|
- alternatives: ensure the current group is freed
|
|
|
|
|
|
|
|
- Translated using Weblate (English (United Kingdom))
|
|
|
|
|
|
|
|
- Translated using Weblate (Turkish)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 21 2024 Jan Macku <jamacku@redhat.com> - 1.28-1
|
|
|
|
|
|
|
|
- Prepare for bin-sbin merge
|
|
|
|
|
|
|
|
- tests: fix integration with github actions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 14 2024 Jan Macku <jamacku@redhat.com> - 1.27-1
|
|
|
|
|
|
|
|
- alternatives: properly handle chars with const in normalize_path
|
|
|
|
|
|
|
|
- alternatives: use exit in main instead of return for critical failures
|
|
|
|
|
|
|
|
- alternatives: fix leak
|
|
|
|
|
|
|
|
- alternatives: fix leak
|
|
|
|
|
|
|
|
- alternatives: fix possible overrun
|
|
|
|
|
|
|
|
- alternatives: fix all the leaks of groups in readConfig
|
|
|
|
|
|
|
|
- alternatives: fix all the leaks of read line in readConfig
|
|
|
|
|
|
|
|
- alternatives: fix leak
|
|
|
|
|
|
|
|
- alternatives: fix memory leak
|
|
|
|
|
|
|
|
- alternatives: fix memory leak
|
|
|
|
|
|
|
|
- alternatives: initialize parameters in main to NULL
|
|
|
|
|
|
|
|
- alternatives: fix memory leak
|
|
|
|
|
|
|
|
- Translated using Weblate (Korean)
|
|
|
|
|
|
|
|
- Translated using Weblate (English (United Kingdom))
|
|
|
|
|
|
|
|
- Translated using Weblate (Finnish)
|
|
|
|
|
|
|
|
- Translated using Weblate (Finnish)
|
|
|
|
|
|
|
|
- Translated using Weblate (Japanese)
|
|
|
|
|
|
|
|
- Translated using Weblate (Swedish)
|
|
|
|
|
|
|
|
- Translated using Weblate (Japanese)
|
|
|
|
|
|
|
|
- Translated using Weblate (Polish)
|
|
|
|
|
|
|
|
- Translated using Weblate (Korean)
|
|
|
|
|
|
|
|
- Translated using Weblate (Georgian)
|
|
|
|
|
|
|
|
- Update translation files
|
|
|
|
|
|
|
|
- Translated using Weblate (Japanese)
|
|
|
|
|
|
|
|
- Fix systemd dependency
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 17 2024 Jan Macku <jamacku@redhat.com> - 1.26-1
|
|
|
|
|
|
|
|
- fix(test): dot't call `basename` with empty string
|
|
|
|
|
|
|
|
- spec: sort BuildRequires alphabetically
|
|
|
|
|
|
|
|
- fix(test): remove dangling `rlPhase` fn call
|
|
|
|
|
|
|
|
- ci: run tests using Packit and Testing Farm
|
|
|
|
|
|
|
|
- build: update `.pot` file
|
|
|
|
|
|
|
|
- ci: fix typo in test workflow
|
|
|
|
|
|
|
|
- test: add support for running using tmt
|
|
|
|
|
|
|
|
- Translated using Weblate (Czech)
|
|
|
|
|
|
|
|
- Translated using Weblate (Punjabi)
|
|
|
|
|
|
|
|
- build(deps): bump actions/upload-artifact from 3 to 4
|
|
|
|
|
|
|
|
- build(deps): bump github/codeql-action from 2 to 3
|
|
|
|
|
|
|
|
- leveldb: fix systemdActive()
|
|
|
|
|
|
|
|
- build(deps): bump redhat-plumbers-in-action/differential-shellcheck
|
|
|
|
|
|
|
|
- Translated using Weblate (Hungarian)
|
|
|
|
|
|
|
|
- build(deps): bump actions/checkout from 3 to 4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2023 Jan Macku <jamacku@redhat.com> - 1.25-1
|
|
|
|
|
|
|
|
- alternatives: fix possible buffer overrun
|
|
|
|
|
|
|
|
- Translated using Weblate (Korean)
|
|
|
|
|
|
|
|
- Translated using Weblate (Chinese (Simplified) (zh_CN))
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 04 2023 Jan Macku <jamacku@redhat.com> - 1.24-1
|
|
|
|
* Thu May 04 2023 Jan Macku <jamacku@redhat.com> - 1.24-1
|
|
|
|
- ci: fix `NEXT_VERSION` in Makefile
|
|
|
|
- ci: fix `NEXT_VERSION` in Makefile
|
|
|
|