2019-12-25 17:13:31 +08:00
|
|
|
Name: procps-ng
|
2023-11-01 10:15:03 +08:00
|
|
|
Version: 4.0.4
|
2024-04-02 11:50:23 +08:00
|
|
|
Release: 2
|
2019-12-25 17:13:31 +08:00
|
|
|
Summary: Utilities that provide system information.
|
|
|
|
|
License: GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+
|
|
|
|
|
URL: https://sourceforge.net/projects/procps-ng/
|
|
|
|
|
|
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
|
Source1: README.md
|
|
|
|
|
Source2: README.top
|
|
|
|
|
|
2023-02-01 15:46:27 +08:00
|
|
|
Patch1: openeuler-add-M-and-N-options-for-top.patch
|
|
|
|
|
Patch2: openeuler-top-exit-with-error-when-pid-overflow.patch
|
2024-04-02 11:50:23 +08:00
|
|
|
Patch3: backport-library-address-remaining-cpu-distortions-stat-api.patch
|
2019-12-25 17:13:31 +08:00
|
|
|
|
|
|
|
|
BuildRequires: ncurses-devel libtool autoconf automake gcc gettext-devel systemd-devel
|
|
|
|
|
|
|
|
|
|
Provides: procps = %{version}-%{release}
|
|
|
|
|
Provides: %{name}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The procps package contains a set of system utilities that provide
|
|
|
|
|
system information. Procps includes ps, free, skill, pkill, pgrep,
|
|
|
|
|
snice, tload, top, uptime, vmstat, pidof, pmap, slabtop, w, watch
|
|
|
|
|
and pwdx.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: The devel for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Provides: procps-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
System and process monitoring utilities
|
|
|
|
|
|
|
|
|
|
%package i18n
|
|
|
|
|
Summary: Internationalization pack for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description i18n
|
|
|
|
|
The package is used for the Internationalization of %{name}
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-11-04 17:09:16 +08:00
|
|
|
%autosetup -n procps-ng-%{version} -p1
|
2019-12-25 17:13:31 +08:00
|
|
|
|
|
|
|
|
cp -p %{SOURCE1} .
|
2023-02-01 15:46:27 +08:00
|
|
|
cp -p %{SOURCE2} src/top/
|
2019-12-25 17:13:31 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -ivf
|
|
|
|
|
|
|
|
|
|
%configure --exec-prefix=/ --docdir=/unwanted --disable-w-from --disable-kill --enable-watch8bit \
|
|
|
|
|
--enable-skill --enable-sigwinch --enable-libselinux --with-systemd --disable-modern-top
|
|
|
|
|
|
|
|
|
|
make CFLAGS="%{optflags}"
|
|
|
|
|
|
2022-11-29 21:07:57 +08:00
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
2019-12-25 17:13:31 +08:00
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%find_lang %{name} --all-name --with-man
|
|
|
|
|
|
|
|
|
|
ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc COPYING COPYING.LIB
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license COPYING COPYING.LIB
|
2023-02-01 15:46:27 +08:00
|
|
|
%{_libdir}/libproc2.so.*
|
2019-12-25 17:13:31 +08:00
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_sbindir}/*
|
2023-02-01 15:46:27 +08:00
|
|
|
%exclude %{_libdir}/libproc2.la
|
2019-12-25 17:13:31 +08:00
|
|
|
%exclude /unwanted/*
|
|
|
|
|
%exclude %{_libdir}/*.a
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc COPYING COPYING.LIB
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license COPYING COPYING.LIB
|
2023-02-01 15:46:27 +08:00
|
|
|
%{_libdir}/libproc2.so
|
|
|
|
|
%{_libdir}/pkgconfig/libproc2.pc
|
|
|
|
|
%{_includedir}/libproc2
|
2019-12-25 17:13:31 +08:00
|
|
|
|
|
|
|
|
%files i18n -f %{name}.lang
|
|
|
|
|
|
|
|
|
|
%files help
|
2023-02-01 15:46:27 +08:00
|
|
|
%doc AUTHORS NEWS README.md
|
2019-12-25 17:13:31 +08:00
|
|
|
%{_mandir}/man*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-04-02 11:50:23 +08:00
|
|
|
* Tue Apr 02 2024 Liu Chao <liuchao173@huawei.com> - 4.0.4-2
|
|
|
|
|
- library: address remaining cpu distortions, <stat> api
|
|
|
|
|
|
2023-11-01 10:15:03 +08:00
|
|
|
* Wed Nov 01 2023 liweigang <weigangli99@gmail.com> - 4.0.4-1
|
|
|
|
|
- update to version v4.0.4
|
|
|
|
|
|
2023-08-15 19:41:47 +08:00
|
|
|
* Tue Aug 15 2023 Liu Chao <liuchao173@huawei.com> - 4.0.3-1
|
|
|
|
|
- Update to v4.0.3
|
|
|
|
|
|
2023-08-15 14:32:37 +08:00
|
|
|
* Tue Aug 15 2023 Liu Chao <liuchao173@huawei.com> - 4.0.2-10
|
|
|
|
|
- ps: Fix possible buffer overflow in -C option
|
|
|
|
|
|
2023-07-13 11:35:31 +08:00
|
|
|
* Thu Jul 13 2023 zhoujie <zhoujie133@huawei.com> - 4.0.2-9
|
|
|
|
|
- vmstat: print guest time
|
|
|
|
|
|
2023-07-12 17:24:32 +08:00
|
|
|
* Wed Jul 12 2023 zhoujie <zhoujie133@huawei.com> - 4.0.2-8
|
|
|
|
|
- vmstat: Update memory statistics
|
|
|
|
|
|
2023-07-11 12:13:14 +08:00
|
|
|
* Tue Jul 11 2023 Xi Fnegfei <xi.fengfei@h3c.com> - 4.0.2-7
|
|
|
|
|
- library: restore the proper main thread tics valuation
|
|
|
|
|
|
2023-06-28 11:20:00 +08:00
|
|
|
* Wed Jun 28 2023 zhoujie <zhoujie133@huawei.com> - 4.0.2-6
|
2023-07-13 11:35:31 +08:00
|
|
|
- top: added guest tics when multiple cpus were merged
|
2023-06-28 11:20:00 +08:00
|
|
|
|
2023-06-26 19:44:07 +08:00
|
|
|
* Mon Jun 26 2023 zhoujie <zhoujie133@huawei.com> - 4.0.2-5
|
2023-07-13 11:35:31 +08:00
|
|
|
- pmap: increase memory allocation failure judgment
|
2023-06-26 19:44:07 +08:00
|
|
|
|
2023-06-13 17:34:07 +08:00
|
|
|
* Tue Jun 13 2023 zhoujie <zhoujie133@huawei.com> - 4.0.2-4
|
|
|
|
|
- top: first time display delay
|
|
|
|
|
|
2023-05-30 20:05:59 +08:00
|
|
|
* Tue May 30 2023 zhoujie <zhoujie133@huawei.com> - 4.0.2-3
|
|
|
|
|
- ps: fix ps -lm dump problem
|
|
|
|
|
|
2023-03-25 11:13:48 +08:00
|
|
|
* Sat Mar 25 2023 zhoujie <zhoujie133@huawei.com> - 4.0.2-2
|
|
|
|
|
- top: top address the missing guest tics for summary area
|
|
|
|
|
|
2023-02-01 15:46:27 +08:00
|
|
|
* Wed Feb 1 2023 Qiang Wei <qiang.wei@suse.com> - 4.0.2-1
|
|
|
|
|
- Update to 4.0.2.
|
|
|
|
|
|
2022-12-12 16:23:17 +08:00
|
|
|
* Mon Dec 12 2022 Liu Chao <liuchao173@huawei.com> - 4.0.0-4
|
|
|
|
|
- skill: Restore the -p flag functionality
|
|
|
|
|
|
2022-11-29 21:07:57 +08:00
|
|
|
* Tue Nov 29 2022 zhoujie <zhoujie133@huawei.com> - 4.0.0-3
|
|
|
|
|
- enable make check
|
|
|
|
|
|
|
|
|
|
* Mon Nov 7 2022 zhoujie <zhoujie133@huawei.com> - 4.0.0-2
|
2022-11-07 10:57:34 +08:00
|
|
|
- top eliminate a potential abend when exiting A mode
|
|
|
|
|
|
2022-11-29 21:07:57 +08:00
|
|
|
* Fri Nov 4 2022 zhoujie <zhoujie133@huawei.com> - 4.0.0-1
|
2022-11-04 17:09:16 +08:00
|
|
|
- update the release to 4.0.0-1
|
|
|
|
|
|
2022-01-29 15:01:28 +08:00
|
|
|
* Sat Jan 29 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 3.3.17-2
|
|
|
|
|
- fix file type chamges caused by top -b redirection
|
|
|
|
|
|
2021-12-02 18:23:57 +08:00
|
|
|
* Thu Dec 2 2021 zhouwenpei <zhouwenpei1@huawei.com> - 3.3.17-1
|
|
|
|
|
- update to 3.3.17
|
|
|
|
|
|
2021-06-30 17:37:00 +08:00
|
|
|
* Wed Jun 30 2021 hewenliang <hewenliang4@huawei.com> - 3.3.16-16
|
|
|
|
|
- sync patches
|
|
|
|
|
|
2021-02-27 15:35:38 +08:00
|
|
|
* Sat Feb 27 2021 hewenliang <hewenliang4@huawei.com> - 3.3.16-15
|
|
|
|
|
- sync patches
|
|
|
|
|
|
2021-02-27 15:16:29 +08:00
|
|
|
* Sat Feb 27 2021 hewenliang <hewenliang4@huawei.com> - 3.3.16-14
|
|
|
|
|
- sync patches
|
|
|
|
|
|
2022-06-15 06:29:44 +00:00
|
|
|
* Tue Nov 03 2020 xinghe <xinghe1@huawei.com> - 3.3.16-13
|
2020-11-03 14:28:28 +08:00
|
|
|
- sync patchs
|
|
|
|
|
|
2020-09-23 10:18:55 +08:00
|
|
|
* Wed Sep 23 2020 MarsChan <chenmingmin@huawei.com> - 3.3.16-12
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:A kernel change means we cannot trust what sysconf(SC_ARG_MAX)
|
|
|
|
|
returns. We clamp it so its more than 4096 and less than 128*1024
|
|
|
|
|
which is what findutils does.
|
|
|
|
|
|
2020-01-08 09:41:04 +08:00
|
|
|
* Tue Jan 7 2020 MarsChan <chenmingmin@huawei.com> - 3.3.16-11
|
|
|
|
|
- Type:upgrade
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: upgrade to version 3.3.16 and delete the patch between
|
|
|
|
|
3.3.15 and 3.3.16.
|
|
|
|
|
|
2019-12-25 17:13:31 +08:00
|
|
|
* Mon Dec 23 2019 wangshuo <wangshuo47@huawei.com> - 3.3.15-10
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: add liscense to main and devel package.
|
|
|
|
|
|
|
|
|
|
* Thu Dec 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.3.15-9
|
|
|
|
|
- Fix typo
|
|
|
|
|
|
|
|
|
|
* Fri Mar 15 2019 xuwei<xuwei58@huawei.com> - 3.3.15-8
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DEC:top: don't mess with groff line length in man document
|
|
|
|
|
top: add another field sanity check in 'config_file()'
|
|
|
|
|
top: prevent buffer overruns in 'inspection_utility()'
|
|
|
|
|
docs: Tidying of ps,kill and skill manpages
|
|
|
|
|
library: avoid problems involving 'supgid' mishandling
|
|
|
|
|
w: Prevent out-of-bounds reads in
|
|
|
|
|
w: Clamp maxcmd to the MIN/MAX_CMD_WIDTH range.
|
|
|
|
|
vmstat: getopt*() returns -1 when done, not EOF.
|
|
|
|
|
vmstat: Replace memcmp() with strncmp().
|
|
|
|
|
vmstat: Check return values of localtime() and
|
|
|
|
|
vmstat: Prevent out-of-bounds writes in new_header()
|
|
|
|
|
top: the '#define PRETEND2_5_X' was found to be broken
|
|
|
|
|
procio: use the user-supplied delimiter to split large
|
|
|
|
|
procio: fix potential out-of-bounds access when write
|
|
|
|
|
sysctl: do not report set key in case `close_stream`
|
|
|
|
|
|
|
|
|
|
* Tue Jan 29 2019 huangchangyu<huangchangyu@huawei.com> - 3.3.15-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DEC:sync patches
|
|
|
|
|
|
|
|
|
|
* Wed Jan 23 2019 xuchunmei<xuchunmei@huawei.com> - 3.3.15-6
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DEC:top exit with error when pid overflow
|
|
|
|
|
|
|
|
|
|
* Fri Jan 11 2019 xuchunmei<xuchunmei@huawei.com> - 3.3.15-5
|
|
|
|
|
- Type:feature
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DEC:add options -M and -N for top
|
|
|
|
|
|
|
|
|
|
* Sat Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 3.3.15-4
|
|
|
|
|
- Package init
|