Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package psmisc for openSUSE:Factory checked in at 2022-12-14 14:10:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/psmisc (Old) and /work/SRC/openSUSE:Factory/.psmisc.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "psmisc" Wed Dec 14 14:10:40 2022 rev:84 rq:1042561 version:23.6 Changes: -------- --- /work/SRC/openSUSE:Factory/psmisc/psmisc.changes 2022-11-26 18:45:08.675103017 +0100 +++ /work/SRC/openSUSE:Factory/.psmisc.new.1835/psmisc.changes 2022-12-14 14:10:44.707415124 +0100 @@ -1,0 +2,23 @@ +Tue Dec 13 08:01:33 UTC 2022 - Dr. Werner Fink <wer...@suse.de> + +- Update to 23.6: + * buildsys: Fix DEJAGNU work-around Debian #1015089 + * killall: Use kill if pidfd_send_signal fails Debian #1015228 + * fuser: Do not mention nonexistent - reset option #42 + * fuser: Use modern statn where possible + * pstree: Better AppArmor support !30 + * killall: Check truncated names !28 + * killall: Use openat and pidfd_send_signal #37 + * killall: Don't check paths of sockets #35 + * pstree: Check for process with show_parents #38 + * pstree: Don't disable compaction with show pgids #34 + * pstree: Fix storage leak !29 +- Enable new apparmor support +- Remove patch now upstream + 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch +- Port patch psmisc-22.21-pstree.patch +- Port patch psmisc-v23.4.dif which now becomes psmisc-v23.6.dif +- Merge patch socket-fix.patch with ported patch + 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch + +------------------------------------------------------------------- Old: ---- 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch psmisc-v23.4.dif psmisc-v23.4.tar.bz2 socket-fix.patch New: ---- psmisc-v23.6.dif psmisc-v23.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ psmisc.spec ++++++ --- /var/tmp/diff_new_pack.ZNfEld/_old 2022-12-14 14:10:45.379418581 +0100 +++ /var/tmp/diff_new_pack.ZNfEld/_new 2022-12-14 14:10:45.387418622 +0100 @@ -27,8 +27,9 @@ BuildRequires: linux-glibc-devel >= 4.12 BuildRequires: ncurses-devel BuildRequires: netcat-openbsd +BuildRequires: pkgconfig(libapparmor) URL: https://gitlab.com/psmisc/psmisc/ -Version: 23.4 +Version: 23.6 Release: 0 Provides: ps:/usr/bin/killall Summary: Utilities for managing processes on your system @@ -40,8 +41,6 @@ # PATCH-ADD-SUSE boo#908068, boo#1046237, boo#1046237 # 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: socket-fix.patch %define have_peekfd %ix86 x86_64 ppc ppc64 ppc64le %arm mipsel m68k aarch64 @@ -59,8 +58,6 @@ %setup -q -n %{name}-v%{version} %patch2 -p0 -b .pstree %patch3 -p0 -b .mntinf -%patch4 -p0 -b .statx -%patch5 -p0 -b .sk %patch0 -p0 -b .p0 %build ++++++ 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch ++++++ ++++ 2184 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.1835/0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch ++++++ psmisc-22.21-pstree.patch ++++++ --- /var/tmp/diff_new_pack.ZNfEld/_old 2022-12-14 14:10:45.435418869 +0100 +++ /var/tmp/diff_new_pack.ZNfEld/_new 2022-12-14 14:10:45.439418890 +0100 @@ -1,10 +1,10 @@ --- - src/pstree.c | 37 ++++++++++++++++++++++++++++++------- - 1 file changed, 30 insertions(+), 7 deletions(-) + src/pstree.c | 38 +++++++++++++++++++++++++++++++------- + 1 file changed, 31 insertions(+), 7 deletions(-) --- src/pstree.c -+++ src/pstree.c 2022-01-20 13:27:44.175949055 +0000 -@@ -72,6 +72,7 @@ extern const char *__progname; ++++ src/pstree.c 2022-12-13 07:46:58.243076344 +0000 +@@ -79,6 +79,7 @@ extern const char *__progname; #define UTF_HD "\342\224\254" /* U+252C, Horizontal and down */ #define VT_BEG "\033(0\017" /* use graphic chars */ @@ -12,8 +12,8 @@ #define VT_END "\033(B" /* back to normal char set */ #define VT_V "x" /* see UTF definitions above */ #define VT_VR "t" -@@ -522,6 +523,27 @@ static void out_scontext(const PROC *cur - } +@@ -578,6 +579,28 @@ static void out_scontext(const PROC *cur + out_string("'"); } +/* @@ -23,24 +23,25 @@ +static void +out_sym (const char *str) +{ -+ int seq = 0; -+ if (sym == &sym_vt100 && *str == '\033') { -+ seq = 1; -+ if (cur_x <= output_width || !trunc) -+ cur_x -= VT_LEN; -+ } -+ out_string(str); -+ if (seq) { -+ str = VT_END; -+ while (*str) -+ putchar (*str++); -+ } ++ int seq = 0; ++ if (sym == &sym_vt100 && *str == '\033') { ++ seq = 1; ++ if (cur_x <= output_width || !trunc) ++ cur_x -= VT_LEN; ++ } ++ out_string(str); ++ if (seq) { ++ str = VT_END; ++ while (*str) ++ putchar (*str++); ++ } +} + ++ static void out_newline(void) { if (last_char && cur_x == output_width) -@@ -761,11 +783,12 @@ dump_tree(PROC * current, int level, int +@@ -817,11 +840,12 @@ dump_tree(PROC * current, int level, int for (lvl = 0; lvl < level; lvl++) { for (i = width[lvl] + 1; i; i--) out_char(' '); @@ -58,7 +59,7 @@ } if (rep < 2) -@@ -875,7 +898,7 @@ dump_tree(PROC * current, int level, int +@@ -931,7 +955,7 @@ dump_tree(PROC * current, int level, int } width[level] = comm_len + cur_x - offset + add; if (cur_x >= output_width && trunc) { @@ -67,7 +68,7 @@ out_string("+"); out_newline(); return; -@@ -899,7 +922,7 @@ dump_tree(PROC * current, int level, int +@@ -955,7 +979,7 @@ dump_tree(PROC * current, int level, int } } if (first) { ++++++ psmisc-v23.4.dif -> psmisc-v23.6.dif ++++++ --- /work/SRC/openSUSE:Factory/psmisc/psmisc-v23.4.dif 2022-01-22 08:18:20.770838249 +0100 +++ /work/SRC/openSUSE:Factory/.psmisc.new.1835/psmisc-v23.6.dif 2022-12-14 14:10:44.595414548 +0100 @@ -4,8 +4,8 @@ 2 files changed, 5 insertions(+), 2 deletions(-) --- configure.ac -+++ configure.ac 2021-01-14 11:31:31.640709812 +0000 -@@ -145,7 +145,7 @@ AC_CHECK_MEMBERS([struct user_regs_struc ++++ configure.ac 2022-12-13 07:57:11.751636898 +0000 +@@ -162,7 +162,7 @@ AC_CHECK_MEMBERS([struct user_regs_struc struct user_regs_struct.rdi, struct user_regs_struct.rsi, struct user_regs_struct.rdx], [],[], @@ -15,37 +15,37 @@ AC_CHECK_MEMBERS([struct pt_regs.orig_gpr3, struct pt_regs.gpr], [],[], [#include <linux/ptrace.h>]) --- src/fuser.c -+++ src/fuser.c 2021-01-14 11:31:31.640709812 +0000 -@@ -1153,6 +1153,7 @@ int main(int argc, char *argv[]) - struct option *optr; - char *nsptr; - int skip_argv; -+ int seen_file; ++++ src/fuser.c 2022-12-13 07:59:50.896670010 +0000 +@@ -1223,6 +1223,7 @@ int main(int argc, char *argv[]) + struct option *optr; + char *nsptr; + int skip_argv; ++ int seen_file; - struct option options[] = { - {"all", 0, NULL, 'a'}, -@@ -1196,6 +1197,7 @@ int main(int argc, char *argv[]) + struct option options[] = { + {"all", 0, NULL, 'a'}, +@@ -1266,6 +1267,7 @@ int main(int argc, char *argv[]) #endif - atexit(atexit_free_lists); + atexit(atexit_free_lists); -+ seen_file = 0; - for (argc_cnt = 1; argc_cnt < argc; argc_cnt++) { - current_argv = argv[argc_cnt]; - if (current_argv[0] == '-') { /* its an option */ -@@ -1340,6 +1342,7 @@ int main(int argc, char *argv[]) - } - } - this_name->matched_procs = NULL; -+ seen_file = 1; - if (opts & (OPT_MOUNTS | OPT_ISMOUNTPOINT) - && this_name->name_space != NAMESPACE_FILE) { - free(this_name); -@@ -1393,7 +1396,7 @@ int main(int argc, char *argv[]) - names_tail->next = this_name; - names_tail = this_name; - } /* for across the argvs */ -- if (names_head == NULL) -+ if (names_head == NULL && !seen_file) - usage(_("No process specification given")); ++ seen_file = 0; + for (argc_cnt = 1; argc_cnt < argc; argc_cnt++) + { + current_argv = argv[argc_cnt]; +@@ -1416,6 +1418,7 @@ int main(int argc, char *argv[]) + } + } + this_name->matched_procs = NULL; ++ seen_file = 1; + if (opts & (OPT_MOUNTS | OPT_ISMOUNTPOINT) + && this_name->name_space != NAMESPACE_FILE) + { +@@ -1467,7 +1470,7 @@ int main(int argc, char *argv[]) + names_tail->next = this_name; + names_tail = this_name; + } /* for across the argvs */ +- if (names_head == NULL) ++ if (names_head == NULL && !seen_file) + usage(_("No process specification given")); - /* Check if -M flag was used and if so check mounts */ + /* Check if -M flag was used and if so check mounts */ ++++++ psmisc-v23.4.tar.bz2 -> psmisc-v23.6.tar.bz2 ++++++ ++++ 41305 lines of diff (skipped)