diff --git a/psmisc-23.0-killall.patch b/psmisc-23.0-killall.patch new file mode 100644 index 0000000..c342efc --- /dev/null +++ b/psmisc-23.0-killall.patch @@ -0,0 +1,14 @@ +--- + src/killall.c | 1 - + 1 file changed, 1 deletion(-) + +--- src/killall.c ++++ src/killall.c 2017-06-28 09:56:38.126984904 +0000 +@@ -972,7 +972,6 @@ main (int argc, char **argv) + exit (1); + } + argv = argv + myoptind; +- printf("sending signal %d to procs\n", sig_num); + #ifdef WITH_SELINUX + return kill_all(sig_num,argc - myoptind, argv, pwent, + scontext ? &scontext_reg : NULL); diff --git a/psmisc.changes b/psmisc.changes index 49753ba..0eee9f8 100644 --- a/psmisc.changes +++ b/psmisc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 28 10:00:16 UTC 2017 - werner@suse.de + +- Add patch psmisc-23.0-killall.patch to remove left over debug + output in killall utility (boo#1046237) + ------------------------------------------------------------------- Tue Jun 20 15:06:43 UTC 2017 - werner@suse.de diff --git a/psmisc.spec b/psmisc.spec index adea65f..56a4559 100644 --- a/psmisc.spec +++ b/psmisc.spec @@ -39,6 +39,8 @@ Patch2: %{name}-22.21-pstree.patch Patch4: %{name}-22.21-mntpt.patch # PATCH-ADD-SUSE use string comparision only for nfs shares Patch5: %{name}-22.21-lessnfs.patch +# PATCH-FIX_UPSTREAM boo#1046237 -- Debug output in killall from psmisc package +Patch6: %{name}-%{version}-killall.patch %define have_peekfd %ix86 x86_64 ppc ppc64 ppc64le %arm mipsel m68k @@ -58,6 +60,7 @@ ln -sf %{name}-v%{version}-%{hash} %{name}-%version %patch2 -p0 -b .pstree %patch4 -p0 -b .mntpt %patch5 -p0 -b .lessnfs +%patch6 -p0 -b .ka %patch0 -p0 -b .0 %build