Dr. Werner Fink 2017-06-28 10:01:14 +00:00 committed by Git OBS Bridge
parent 9bc4353a8d
commit dfd5011814
3 changed files with 23 additions and 0 deletions

14
psmisc-23.0-killall.patch Normal file
View File

@ -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);

View File

@ -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 Tue Jun 20 15:06:43 UTC 2017 - werner@suse.de

View File

@ -39,6 +39,8 @@ Patch2: %{name}-22.21-pstree.patch
Patch4: %{name}-22.21-mntpt.patch Patch4: %{name}-22.21-mntpt.patch
# PATCH-ADD-SUSE use string comparision only for nfs shares # PATCH-ADD-SUSE use string comparision only for nfs shares
Patch5: %{name}-22.21-lessnfs.patch 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 %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 %patch2 -p0 -b .pstree
%patch4 -p0 -b .mntpt %patch4 -p0 -b .mntpt
%patch5 -p0 -b .lessnfs %patch5 -p0 -b .lessnfs
%patch6 -p0 -b .ka
%patch0 -p0 -b .0 %patch0 -p0 -b .0
%build %build