diff --git a/1.20.tar.gz b/1.20.tar.gz deleted file mode 100644 index 965e8be..0000000 Binary files a/1.20.tar.gz and /dev/null differ diff --git a/chkconfig-1.21.tar.gz b/chkconfig-1.21.tar.gz new file mode 100644 index 0000000..30ab32e Binary files /dev/null and b/chkconfig-1.21.tar.gz differ diff --git a/chkconfig.spec b/chkconfig.spec index 3709eac..e94b5ac 100644 --- a/chkconfig.spec +++ b/chkconfig.spec @@ -1,10 +1,10 @@ Summary: A system tool for maintaining the /etc/rc*.d hierarchy Name: chkconfig -Version: 1.20 -Release: 2 +Version: 1.21 +Release: 1 License: GPLv2 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 Conflicts: initscripts <= 5.30-1 Provides: ntsysv = %{version}-%{release} @@ -57,6 +57,9 @@ mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d %{_mandir}/man8/* %changelog +* Wed Oct 12 2022 fushanqing - 1.21-1 +- Update to 1.21 + * Sat Aug 27 2022 yixiangzhike - 1.20-2 - fix coredump while parseServiceInfo return non-zero diff --git a/fix-coredump-while-parseServiceInfo-return-1.patch b/fix-coredump-while-parseServiceInfo-return-1.patch index 5addbf2..6a7a249 100644 --- a/fix-coredump-while-parseServiceInfo-return-1.patch +++ b/fix-coredump-while-parseServiceInfo-return-1.patch @@ -11,7 +11,7 @@ diff --git a/leveldb.c b/leveldb.c index 7b8c1bd..8a7a81d 100644 --- a/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); if ((fd = open(filename, O_RDONLY)) >= 0) { parseret = parseServiceInfo(fd, name, &serv_overrides, honorHide, 1);