Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package psmisc for openSUSE:Factory checked in at 2021-01-18 11:27:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/psmisc (Old) and /work/SRC/openSUSE:Factory/.psmisc.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "psmisc" Mon Jan 18 11:27:42 2021 rev:76 rq:863141 version:23.3 Changes: -------- --- /work/SRC/openSUSE:Factory/psmisc/psmisc.changes 2020-12-09 22:12:10.863113247 +0100 +++ /work/SRC/openSUSE:Factory/.psmisc.new.28504/psmisc.changes 2021-01-18 11:30:52.916592364 +0100 @@ -1,0 +2,27 @@ +Thu Jan 14 15:48:53 UTC 2021 - Dr. Werner Fink <wer...@suse.de> + +- Now with 23.3 peekfd is build even for aarch64 + +------------------------------------------------------------------- +Thu Jan 14 11:58:43 UTC 2021 - Dr. Werner Fink <wer...@suse.de> + +- Rework 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch + and split off the patch psmisc-v23.3-selinux.patch +- Rework 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch +- New patch psmisc-v23.3-selinux.patch +- Rename patch psmisc-v23.2.dif which is now psmisc-v23.3.dif + +------------------------------------------------------------------- +Thu Dec 31 09:40:07 UTC 2020 - Paolo Stivanin <i...@paolostivanin.com> + +- Update to 23.3: + * killall: check also truncated 16 char comm names Debian + * fuser: Return early if have nulls + * peekfd: Add support for ARM64 + * pstree: Add color by age + * fuser: Use larger inode sizes +- Rebase 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch +- Rebase 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch +- Rebase psmisc-22.21-pstree.patch + +------------------------------------------------------------------- Old: ---- psmisc-v23.2.dif psmisc-v23.2.tar.bz2 New: ---- psmisc-v23.3-selinux.patch psmisc-v23.3.dif psmisc-v23.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ psmisc.spec ++++++ --- /var/tmp/diff_new_pack.zmyNxz/_old 2021-01-18 11:30:53.940598565 +0100 +++ /var/tmp/diff_new_pack.zmyNxz/_new 2021-01-18 11:30:53.944598569 +0100 @@ -1,7 +1,7 @@ # # spec file for package psmisc # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,7 @@ BuildRequires: linux-glibc-devel >= 4.12 BuildRequires: ncurses-devel URL: https://gitlab.com/psmisc/psmisc/ -Version: 23.2 +Version: 23.3 Release: 0 Provides: ps:/usr/bin/killall Summary: Utilities for managing processes on your system @@ -40,8 +40,9 @@ # https://gitlab.com/bitstreamout/psmisc/tree/mountinfo Patch3: 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch Patch4: 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch +Patch5: psmisc-v23.3-selinux.patch -%define have_peekfd %ix86 x86_64 ppc ppc64 ppc64le %arm mipsel m68k +%define have_peekfd %ix86 x86_64 ppc ppc64 ppc64le %arm mipsel m68k aarch64 %description The psmisc package contains utilities for managing processes on your @@ -58,6 +59,7 @@ %patch2 -p0 -b .pstree %patch3 -p0 -b .mntinf %patch4 -p0 -b .statx +%patch5 -p0 -b .selx %patch0 -p0 -b .p0 %build ++++++ 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch ++++++ ++++ 606 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/psmisc/0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch ++++ and /work/SRC/openSUSE:Factory/.psmisc.new.28504/0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch ++++++ 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch ++++++ ++++ 724 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/psmisc/0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch ++++ and /work/SRC/openSUSE:Factory/.psmisc.new.28504/0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch ++++++ psmisc-22.21-pstree.patch ++++++ --- /var/tmp/diff_new_pack.zmyNxz/_old 2021-01-18 11:30:54.000598624 +0100 +++ /var/tmp/diff_new_pack.zmyNxz/_new 2021-01-18 11:30:54.000598624 +0100 @@ -1,18 +1,14 @@ ---- - src/pstree.c | 37 ++++++++++++++++++++++++++++++------- - 1 file changed, 30 insertions(+), 7 deletions(-) - ---- src/pstree.c -+++ src/pstree.c 2017-06-20 14:24:15.670691071 +0000 -@@ -70,6 +70,7 @@ extern const char *__progname; +--- src/pstree.c.orig 2019-11-12 11:23:38.000000000 +0100 ++++ src/pstree.c 2020-12-31 10:43:59.650348130 +0100 +@@ -71,6 +71,7 @@ #define UTF_HD "\342\224\254" /* U+252C, Horizontal and down */ #define VT_BEG "\033(0\017" /* use graphic chars */ -+#define VT_LEN 4 ++#define VT_LEN 4 #define VT_END "\033(B" /* back to normal char set */ #define VT_V "x" /* see UTF definitions above */ #define VT_VR "t" -@@ -450,6 +451,27 @@ static void out_scontext(security_contex +@@ -470,6 +471,27 @@ out_string("'"); } @@ -40,7 +36,7 @@ static void out_newline(void) { if (last_char && cur_x == output_width) -@@ -662,11 +684,12 @@ dump_tree(PROC * current, int level, int +@@ -705,11 +727,12 @@ for (lvl = 0; lvl < level; lvl++) { for (i = width[lvl] + 1; i; i--) out_char(' '); @@ -49,16 +45,16 @@ - 1 ? last ? sym->last_2 : sym->branch_2 : more[lvl + - 1] ? - sym->vert_2 : sym->empty_2); -+ /* -+ * Replace all three symbol-drawing calls with calls to out_sym() -+ * to handle VT100 line drawing sequences if VT100 mode is active: -+ */ -+ out_sym(lvl == level - 1 ? last ? sym->last_2 : sym->branch_2 : -+ more[lvl + 1] ? sym->vert_2 : sym->empty_2); ++ /* ++ * Replace all three symbol-drawing calls with calls to out_sym() ++ * to handle VT100 line drawing sequences if VT100 mode is active: ++ */ ++ out_sym(lvl == level - 1 ? last ? sym->last_2 : sym->branch_2 : ++ more[lvl + 1] ? sym->vert_2 : sym->empty_2); } + if (rep < 2) - add = 0; -@@ -773,7 +796,7 @@ dump_tree(PROC * current, int level, int +@@ -819,7 +842,7 @@ } width[level] = comm_len + cur_x - offset + add; if (cur_x >= output_width && trunc) { @@ -67,7 +63,7 @@ out_string("+"); out_newline(); return; -@@ -797,7 +820,7 @@ dump_tree(PROC * current, int level, int +@@ -843,7 +866,7 @@ } } if (first) { ++++++ psmisc-v23.3-selinux.patch ++++++ Avoid to fail on killall without any argiments in case of libselinux --- configure.ac +++ configure.ac 2021-01-14 12:52:33.493812041 +0100 @@ -27,6 +27,8 @@ if test "$enable_selinux" = "yes"; then AC_DEFINE([WITH_SELINUX], [1], [Use Security-Enhanced Linux features]) AC_CHECK_LIB([selinux], [getfilecon], [SELINUX_LIB=-lselinux], [ AC_MSG_ERROR([Cannot find selinux static library]) ]) + AC_CHECK_LIB([selinux], [getfilecon], [echo 'set has_selinux 1' > testsuite/selinux.exp], + [echo 'set has_selinux 0' > testsuite/selinux.exp]) fi AC_SUBST([SELINUX_LIB]) --- testsuite/Makefile.am +++ testsuite/Makefile.am 2021-01-14 12:53:25.962505766 +0100 @@ -1,6 +1,8 @@ AUTOMAKE_OPTIONS = dejagnu export DEJAGNU +EXTRA_DEJAGNU_SITE_CONFIG=$(srcdir)/selinux.exp + # Programs that are expected across the board. DEJATOOL = killall DEJATOOL += pslog --- testsuite/killall.test/killall.exp +++ testsuite/killall.test/killall.exp 2021-01-14 12:54:27.087313939 +0100 @@ -7,7 +7,11 @@ set fake_proc_name "afakeprocname" set test "killall with no arguments" spawn $killall +if { $has_selinux == 0 } { expect_pass "$test" "^Usage: killall \\\[OPTION\\\]\\.\\.\\. \\\[--\\\] NAME\\.\\.\\." +} else { +expect_pass "$test" "^Usage: killall \\\[ -Z CONTEXT \\\] \\\[ -u USER \\\] \\\[ -y TIME \\\] \\\[ -o TIME \\\] \\\[ -eIgiqrvw \\\]" +} set test "killall list signals" spawn $killall -l ++++++ psmisc-v23.2.dif -> psmisc-v23.3.dif ++++++ --- /work/SRC/openSUSE:Factory/psmisc/psmisc-v23.2.dif 2018-11-06 14:02:01.103638140 +0100 +++ /work/SRC/openSUSE:Factory/.psmisc.new.28504/psmisc-v23.3.dif 2021-01-18 11:30:52.500587150 +0100 @@ -4,8 +4,8 @@ 2 files changed, 5 insertions(+), 2 deletions(-) --- configure.ac -+++ configure.ac 2018-11-02 13:34:07.811373984 +0000 -@@ -132,7 +132,7 @@ AC_CHECK_MEMBERS([struct user_regs_struc ++++ configure.ac 2021-01-14 11:31:31.640709812 +0000 +@@ -129,7 +129,7 @@ AC_CHECK_MEMBERS([struct user_regs_struc struct user_regs_struct.rdi, struct user_regs_struct.rsi, struct user_regs_struct.rdx], [],[], @@ -15,8 +15,8 @@ AC_CHECK_MEMBERS([struct pt_regs.orig_gpr3, struct pt_regs.gpr], [],[], [#include <linux/ptrace.h>]) --- src/fuser.c -+++ src/fuser.c 2018-11-02 13:34:07.811373984 +0000 -@@ -1094,6 +1094,7 @@ int main(int argc, char *argv[]) ++++ src/fuser.c 2021-01-14 11:31:31.640709812 +0000 +@@ -1146,6 +1146,7 @@ int main(int argc, char *argv[]) struct option *optr; char *nsptr; int skip_argv; @@ -24,7 +24,7 @@ struct option options[] = { {"all", 0, NULL, 'a'}, -@@ -1137,6 +1138,7 @@ int main(int argc, char *argv[]) +@@ -1189,6 +1190,7 @@ int main(int argc, char *argv[]) #endif atexit(atexit_free_lists); @@ -32,7 +32,7 @@ for (argc_cnt = 1; argc_cnt < argc; argc_cnt++) { current_argv = argv[argc_cnt]; if (current_argv[0] == '-') { /* its an option */ -@@ -1279,6 +1281,7 @@ int main(int argc, char *argv[]) +@@ -1333,6 +1335,7 @@ int main(int argc, char *argv[]) } } this_name->matched_procs = NULL; @@ -40,7 +40,7 @@ if (opts & (OPT_MOUNTS | OPT_ISMOUNTPOINT) && this_name->name_space != NAMESPACE_FILE) { free(this_name); -@@ -1332,7 +1335,7 @@ int main(int argc, char *argv[]) +@@ -1386,7 +1389,7 @@ int main(int argc, char *argv[]) names_tail->next = this_name; names_tail = this_name; } /* for across the argvs */ ++++++ psmisc-v23.2.tar.bz2 -> psmisc-v23.3.tar.bz2 ++++++ ++++ 23577 lines of diff (skipped)