Update to 1.21
This commit is contained in:
parent
f6bcaf96fa
commit
5578c23cbf
BIN
1.20.tar.gz
BIN
1.20.tar.gz
Binary file not shown.
BIN
chkconfig-1.21.tar.gz
Normal file
BIN
chkconfig-1.21.tar.gz
Normal file
Binary file not shown.
@ -1,10 +1,10 @@
|
|||||||
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.20
|
Version: 1.21
|
||||||
Release: 2
|
Release: 1
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/fedora-sysv/chkconfig
|
URL: https://github.com/fedora-sysv/chkconfig
|
||||||
Source: https://github.com/fedora-sysv/chkconfig/archive/refs/tags/%{version}.tar.gz
|
Source: https://github.com/fedora-sysv/chkconfig/archive/refs/tags/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: newt-devel gettext popt-devel libselinux-devel beakerlib gcc systemd-devel make
|
BuildRequires: newt-devel gettext popt-devel libselinux-devel beakerlib gcc systemd-devel make
|
||||||
Conflicts: initscripts <= 5.30-1
|
Conflicts: initscripts <= 5.30-1
|
||||||
Provides: ntsysv = %{version}-%{release}
|
Provides: ntsysv = %{version}-%{release}
|
||||||
@ -57,6 +57,9 @@ mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 12 2022 fushanqing <fushanqing@kylinos.cn> - 1.21-1
|
||||||
|
- Update to 1.21
|
||||||
|
|
||||||
* Sat Aug 27 2022 yixiangzhike <yixiangzhike007@163.com> - 1.20-2
|
* Sat Aug 27 2022 yixiangzhike <yixiangzhike007@163.com> - 1.20-2
|
||||||
- fix coredump while parseServiceInfo return non-zero
|
- fix coredump while parseServiceInfo return non-zero
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,7 @@ diff --git a/leveldb.c b/leveldb.c
|
|||||||
index 7b8c1bd..8a7a81d 100644
|
index 7b8c1bd..8a7a81d 100644
|
||||||
--- a/leveldb.c
|
--- a/leveldb.c
|
||||||
+++ b/leveldb.c
|
+++ b/leveldb.c
|
||||||
@@ -377,7 +377,7 @@ int readServiceInfo(char *name, int type, struct service *service,
|
@@ -380,7 +380,7 @@ int readServiceInfo(char *name, int type, struct service *service,
|
||||||
asprintf(&filename, RUNLEVELS "/chkconfig.d/%s", name);
|
asprintf(&filename, RUNLEVELS "/chkconfig.d/%s", name);
|
||||||
if ((fd = open(filename, O_RDONLY)) >= 0) {
|
if ((fd = open(filename, O_RDONLY)) >= 0) {
|
||||||
parseret = parseServiceInfo(fd, name, &serv_overrides, honorHide, 1);
|
parseret = parseServiceInfo(fd, name, &serv_overrides, honorHide, 1);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user