commit iftop for openSUSE:Factory

2011-04-26 Thread h_root

Hello community,

here is the log from the commit of package iftop for openSUSE:Factory
checked in at Tue Apr 26 09:01:50 CEST 2011.




--- iftop/iftop.changes 2009-11-29 13:56:55.0 +0100
+++ /mounts/work_src_done/STABLE/iftop/iftop.changes2011-04-11 
21:43:26.0 +0200
@@ -1,0 +2,15 @@
+Mon Apr 11 19:25:30 UTC 2011 - l...@linux-schulserver.de
+
+- update to 1.0pre1:
+  + Support for IPv6
+  + Various typos fixed
+  + documentation fixed
+  + Fixed behaviour of -b option
+  + Support for PFLOG Interfaces
+  + Fix for performance issue with address hashing
+  + Fix for failing link address detection for GNU/kfreebsd
+  + Improved behaviour of sort in sent/recv only mode
+  + Fixed segfault / hang when supplying multiple -i options
+- removed upstreamed patches
+
+---

calling whatdependson for head-i586


Old:

  iftop-0.17.tar.bz2
  iftop-bar-bytes.patch
  iftop-bar-display.patch

New:

  counter_hash.h
  iftop-1.0-includes_fix.patch
  iftop-1.0pre1.tar.bz2



Other differences:
--
++ iftop.spec ++
--- /var/tmp/diff_new_pack.VAdsP9/_old  2011-04-26 09:00:04.0 +0200
+++ /var/tmp/diff_new_pack.VAdsP9/_new  2011-04-26 09:00:04.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package iftop (Version 0.17)
+# spec file for package iftop
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,16 +20,18 @@
 
 Name:   iftop
 Summary:Real-Time Interface Bandwidth Usage
-Version:0.17
-Release:128
+Version:0.99.1
+Release:1
+%define real_version 1.0pre1
 License:GPLv2+
 Group:  Productivity/Networking/Diagnostic
 Url:http://www.ex-parrot.com/~pdw/iftop/
-BuildRequires:  libpcap-devel ncurses-devel
-Source0:%name-%version.tar.bz2
-Patch0: %name-manpage.patch
-Patch1: %name-bar-bytes.patch
-Patch2: %name-bar-display.patch
+BuildRequires:  libpcap-devel
+BuildRequires:  ncurses-devel
+Source0:%name-%real_version.tar.bz2
+Source1:counter_hash.h
+Patch0: iftop-1.0-includes_fix.patch
+Patch1: %name-manpage.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -46,15 +48,16 @@
 Chris Lightfoot ch...@ex-parrot.com
 
 %prep
-%setup -q
-%patch0
-%patch1 -p1
-%patch2 -p1
+%setup -q -n %name-%real_version
+%patch0 -p0
+%patch1 -p0
+install -m644 %{SOURCE1} .
 
 %build
-export CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing \
+export CFLAGS=%{optflags} -fno-strict-aliasing \
+export CPPFLAGS=-I%{_includedir}/pcap \
 %configure
-make %{?jobs:-j%jobs}
+make %{?jobs:-j%jobs} iftop
 
 %install
 %makeinstall
@@ -65,7 +68,8 @@
 %files
 %defattr(-,root,root)
 %doc README ChangeLog COPYING TODO INSTALL
-%attr(755,root,root) %{_sbindir}/iftop
+%{_sbindir}/iftop
+%{_sbindir}/iftop-dump
 %{_mandir}/man8/*
 
 %changelog

++ counter_hash.h ++
/*
 * addr_hash.h:
 *
 */

#ifndef __ADDR_HASH_H_ /* include guard */
#define __ADDR_HASH_H_

#include sys/types.h
#include sys/socket.h
#include netinet/in.h
#include hash.h

typedef struct {
  unsigned long long sent;
  unsigned long long recv;
} counter_type;

typedef counter_type key_type;  /* index into hash table */

hash_type* counter_hash_create(void);

#endif /* __ADDR_HASH_H_ */
++ iftop-1.0-includes_fix.patch ++
Index: iftop.c
===
--- iftop.c.orig
+++ iftop.c
@@ -19,7 +19,7 @@
 #include sys/ioctl.h
 #include sys/socket.h
 #include net/if.h
-#include net/bpf.h
+#include pcap/bpf.h
 
 #include pthread.h
 #include curses.h
++ iftop-manpage.patch ++
--- /var/tmp/diff_new_pack.VAdsP9/_old  2011-04-26 09:00:04.0 +0200
+++ /var/tmp/diff_new_pack.VAdsP9/_new  2011-04-26 09:00:04.0 +0200
@@ -1,38 +1,8 @@
-# Fixes a few typos. Thanks to A.Costa for the most of them.
-
 Index: iftop.8
 ===
 --- iftop.8.orig
 +++ iftop.8
-@@ -25,7 +25,7 @@ By default, \fBiftop\fP will look up the
- finds in packets. This can cause substantial traffic of itself, and may result
- in a confusing display. You may wish to suppress display of DNS traffic by
- using filter code such as \fBnot port domain\fP, or switch it off entirely,
--by using the \fB-n\fP option or by pressing \fBR\fP when the program is 
running.
-+by using the \fB-n\fP option or by pressing \fBn\fP when the program is 
running.
- 
- By default, \fBiftop\fP counts all IP packets that pass through the filter, 
and
- the direction of the packet is determined according to the 

commit dbus-1 for openSUSE:11.2

2011-04-26 Thread h_root

Hello community,

here is the log from the commit of package dbus-1 for openSUSE:11.2
checked in at Tue Apr 26 14:29:37 CEST 2011.




--- old-versions/11.2/all/dbus-1/dbus-1-x11.changes 2009-09-02 
16:49:12.0 +0200
+++ 11.2/dbus-1/dbus-1-x11.changes  2011-03-30 17:48:14.0 +0200
@@ -1,0 +2,5 @@
+Wed Mar 30 15:00:38 CEST 2011 - thoe...@suse.de
+
+- add patch dbus-stackoverflow.patch (bnc#659934)
+
+---
dbus-1.changes: same change

Package does not exist at destination yet. Using Fallback 
old-versions/11.2/all/dbus-1
Destination is old-versions/11.2/UPDATES/all/dbus-1
calling whatdependson for 11.2-i586


New:

  dbus-stackoverflow.patch



Other differences:
--
++ dbus-1-x11.spec ++
--- /var/tmp/diff_new_pack.yQT48J/_old  2011-04-26 14:29:20.0 +0200
+++ /var/tmp/diff_new_pack.yQT48J/_new  2011-04-26 14:29:20.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package dbus-1-x11 (Version 1.2.16)
+# spec file for package dbus-1-x11
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,7 +29,7 @@
 BuildRequires:  doxygen libexpat-devel libzio pkgconfig
 BuildRequires:  audit-devel
 Version:1.2.16
-Release:4
+Release:5.RELEASE3
 AutoReqProv:on
 # bug437293
 %ifarch ppc64
@@ -41,6 +41,7 @@
 Source2:dbus-1.desktop
 Source3:dbus_at_console.ck
 Patch0: dbus-log-deny.patch
+Patch1: dbus-stackoverflow.patch
 %if 0%{?suse_version}  1100
 %bcond_without selinux
 %else
@@ -62,6 +63,7 @@
 # COMMON2-BEGIN
 %setup -n dbus-%{version} -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 autoreconf -fi

++ dbus-1.spec ++
--- /var/tmp/diff_new_pack.yQT48J/_old  2011-04-26 14:29:20.0 +0200
+++ /var/tmp/diff_new_pack.yQT48J/_new  2011-04-26 14:29:20.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package dbus-1 (Version 1.2.16)
+# spec file for package dbus-1
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,14 +20,14 @@
 
 Name:   dbus-1
 Url:http://dbus.freedesktop.org/
-License:Dual GPLv2 or AFLv2.1
+License:Other uncritical OpenSource License
 Group:  System/Daemons
 Summary:D-Bus Message Bus System
 # COMMON1-BEGIN
 BuildRequires:  doxygen libexpat-devel libzio pkgconfig
 BuildRequires:  audit-devel
 Version:1.2.16
-Release:4
+Release:5.RELEASE4
 AutoReqProv:on
 # bug437293
 %ifarch ppc64
@@ -39,6 +39,7 @@
 Source2:dbus-1.desktop
 Source3:dbus_at_console.ck
 Patch0: dbus-log-deny.patch
+Patch1: dbus-stackoverflow.patch
 %if 0%{?suse_version}  1100
 %bcond_without selinux
 %else
@@ -93,6 +94,7 @@
 # COMMON2-BEGIN
 %setup -n dbus-%{version} -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 autoreconf -fi

++ dbus-stackoverflow.patch ++
Index: dbus-1.2.16/dbus/dbus-marshal-validate.c
===
--- dbus-1.2.16.orig/dbus/dbus-marshal-validate.c
+++ dbus-1.2.16/dbus/dbus-marshal-validate.c
@@ -289,16 +289,30 @@ out:
   return result;
 }
 
+/* note: this function is also used to validate the header's values,
+ * since the header is a valid body with a particular signature.
+ */
 static DBusValidity
 validate_body_helper (DBusTypeReader   *reader,
   int   byte_order,
   dbus_bool_t   walk_reader_to_end,
+  int   total_depth,
   const unsigned char  *p,
   const unsigned char  *end,
   const unsigned char **new_p)
 {
   int current_type;
 
+  /* The spec allows arrays and structs to each nest 32, for total
+   * nesting of 2*32. We want to impose the same limit on dynamic
+   * value nesting (not visible in the signature) which is introduced
+   * by DBUS_TYPE_VARIANT.
+   */
+  if (total_depth  (DBUS_MAXIMUM_TYPE_RECURSION_DEPTH * 2))
+{
+  return DBUS_INVALID_NESTED_TOO_DEEPLY;
+}
+
   while ((current_type = _dbus_type_reader_get_current_type (reader)) != 
DBUS_TYPE_INVALID)
 {
   const unsigned char *a;
@@ -474,7 +488,9 @@ validate_body_helper (DBusTypeReader
   {
 while (p  array_end)
   {
-validity = validate_body_helper (sub, byte_order, 
FALSE, p, 

commit dbus-1 for openSUSE:11.3

2011-04-26 Thread h_root

Hello community,

here is the log from the commit of package dbus-1 for openSUSE:11.3
checked in at Tue Apr 26 14:32:57 CEST 2011.




--- old-versions/11.3/all/dbus-1/dbus-1-x11.changes 2010-03-25 
15:54:36.0 +0100
+++ 11.3/dbus-1/dbus-1-x11.changes  2011-03-30 17:48:41.0 +0200
@@ -1,0 +2,5 @@
+Wed Mar 30 15:01:59 CEST 2011 - thoe...@suse.de
+
+- add patch dbus-stackoverflow.patch (bnc#659934)
+
+---
dbus-1.changes: same change

Package does not exist at destination yet. Using Fallback 
old-versions/11.3/all/dbus-1
Destination is old-versions/11.3/UPDATES/all/dbus-1
calling whatdependson for 11.3-i586


New:

  dbus-stackoverflow.patch



Other differences:
--
++ dbus-1-x11.spec ++
--- /var/tmp/diff_new_pack.Kh0OYD/_old  2011-04-26 14:32:38.0 +0200
+++ /var/tmp/diff_new_pack.Kh0OYD/_new  2011-04-26 14:32:38.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package dbus-1-x11 (Version 1.2.24)
+# spec file for package dbus-1-x11
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,7 +29,7 @@
 BuildRequires:  doxygen libexpat-devel libzio pkgconfig
 BuildRequires:  audit-devel
 Version:1.2.24
-Release:1
+Release:2.RELEASE2
 AutoReqProv:on
 # bug437293
 %ifarch ppc64
@@ -42,6 +42,7 @@
 Source3:dbus_at_console.ck
 Source4:baselibs.conf
 Patch0: dbus-log-deny.patch
+Patch1: dbus-stackoverflow.patch
 %if 0%{?suse_version}  1100
 %bcond_without selinux
 %else
@@ -63,6 +64,7 @@
 # COMMON2-BEGIN
 %setup -n dbus-%{version} -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 autoreconf -fi

++ dbus-1.spec ++
--- /var/tmp/diff_new_pack.Kh0OYD/_old  2011-04-26 14:32:38.0 +0200
+++ /var/tmp/diff_new_pack.Kh0OYD/_new  2011-04-26 14:32:38.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package dbus-1 (Version 1.2.24)
+# spec file for package dbus-1
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,14 +20,14 @@
 
 Name:   dbus-1
 Url:http://dbus.freedesktop.org/
-License:Dual GPLv2 or AFLv2.1
+License:Other uncritical OpenSource License
 Group:  System/Daemons
 Summary:D-Bus Message Bus System
 # COMMON1-BEGIN
 BuildRequires:  doxygen libexpat-devel libzio pkgconfig
 BuildRequires:  audit-devel
 Version:1.2.24
-Release:1
+Release:2.RELEASE2
 AutoReqProv:on
 # bug437293
 %ifarch ppc64
@@ -40,6 +40,7 @@
 Source3:dbus_at_console.ck
 Source4:baselibs.conf
 Patch0: dbus-log-deny.patch
+Patch1: dbus-stackoverflow.patch
 %if 0%{?suse_version}  1100
 %bcond_without selinux
 %else
@@ -97,6 +98,7 @@
 # COMMON2-BEGIN
 %setup -n dbus-%{version} -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 autoreconf -fi

++ dbus-stackoverflow.patch ++
Index: dbus-1.2.24/dbus/dbus-marshal-validate.c
===
--- dbus-1.2.24.orig/dbus/dbus-marshal-validate.c
+++ dbus-1.2.24/dbus/dbus-marshal-validate.c
@@ -289,16 +289,30 @@ out:
   return result;
 }
 
+/* note: this function is also used to validate the header's values,
+ * since the header is a valid body with a particular signature.
+ */
 static DBusValidity
 validate_body_helper (DBusTypeReader   *reader,
   int   byte_order,
   dbus_bool_t   walk_reader_to_end,
+  int   total_depth,
   const unsigned char  *p,
   const unsigned char  *end,
   const unsigned char **new_p)
 {
   int current_type;
 
+  /* The spec allows arrays and structs to each nest 32, for total
+   * nesting of 2*32. We want to impose the same limit on dynamic
+   * value nesting (not visible in the signature) which is introduced
+   * by DBUS_TYPE_VARIANT.
+   */
+  if (total_depth  (DBUS_MAXIMUM_TYPE_RECURSION_DEPTH * 2))
+{
+  return DBUS_INVALID_NESTED_TOO_DEEPLY;
+}
+
   while ((current_type = _dbus_type_reader_get_current_type (reader)) != 
DBUS_TYPE_INVALID)
 {
   const unsigned char *a;
@@ -474,7 +488,9 @@ validate_body_helper (DBusTypeReader
   {
 while (p  array_end)
   {
-validity = validate_body_helper (sub, byte_order, 
FALSE, p, 

commit libreoffice-libs-gui for openSUSE:11.4

2011-04-26 Thread h_root

Hello community,

here is the log from the commit of package libreoffice-libs-gui for 
openSUSE:11.4
checked in at Tue Apr 26 15:42:24 CEST 2011.




--- old-versions/11.4/all/libreoffice-libs-gui/libreoffice-libs-gui.changes 
2011-02-16 16:49:16.0 +0100
+++ 11.4/libreoffice-libs-gui/libreoffice-libs-gui.changes  2011-04-12 
16:16:26.0 +0200
@@ -1,0 +2,6 @@
+Tue Apr 12 16:13:45 CEST 2011 - pmla...@suse.cz
+
+- vcl-input-methods-in-qt4.diff: non-working input methods in KDE4
+  (bnc#665112, swampid#39716)
+
+---

Package does not exist at destination yet. Using Fallback 
old-versions/11.4/all/libreoffice-libs-gui
Destination is old-versions/11.4/UPDATES/all/libreoffice-libs-gui
calling whatdependson for 11.4-i586


New:

  vcl-input-methods-in-qt4.diff



Other differences:
--
++ libreoffice-libs-gui.spec ++
--- /var/tmp/diff_new_pack.Y81gCd/_old  2011-04-26 15:42:02.0 +0200
+++ /var/tmp/diff_new_pack.Y81gCd/_new  2011-04-26 15:42:02.0 +0200
@@ -21,7 +21,7 @@
 
 Name:   libreoffice-libs-gui
 Version:3.3.1.2
-Release:1.RELEASE2
+Release:1.RELEASE4
 %define piece libs-gui
 %define ooo_build_version 3.3.1.2
 %define ooo_piece_version 3.3.1.2
@@ -89,6 +89,8 @@
 %define _use_internal_dependency_generator 0
 %define __find_requires /bin/sh %_sourcedir/lo-libs-gui-req %name
 Source101:  lo-libs-gui-req
+# non-working input methods in KDE4 (bnc#665112)
+Patch900:   vcl-input-methods-in-qt4.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  %ix86 x86_64 ppc
 
@@ -139,6 +141,9 @@
 %setup -q -b1 -n libreoffice-%piece-%ooo_piece_version
 # move l10n sources to the main build dir
 mv ../libreoffice-l10n-%ooo_piece_version/* .  rmdir 
../libreoffice-l10n-%ooo_piece_version
+# extra fixes
+mkdir -p ooo-build/hotfixes
+cp %{P:900} ooo-build/hotfixes
 
 %build
 # setup env.

++ vcl-input-methods-in-qt4.diff ++
--- vcl/unx/kde4/KDESalDisplay.cxx.old  2010-11-11 16:22:48.0 +0100
+++ vcl/unx/kde4/KDESalDisplay.cxx  2011-02-22 19:37:17.0 +0100
@@ -41,6 +41,7 @@ SalKDEDisplay::SalKDEDisplay( Display* p
 {
 assert( selfptr == NULL );
 selfptr = this;
+xim_protocol = XInternAtom( pDisp_, _XIM_PROTOCOL, False );
 }
 
 SalKDEDisplay::~SalKDEDisplay()
@@ -65,7 +66,32 @@ void SalKDEDisplay::Yield()
 
 XEvent event;
 XNextEvent( pDisp_, event );
+if( checkDirectInputEvent( event ))
+return;
 qApp-x11ProcessEvent( event );
 }
 
+// HACK: When using Qt event loop, input methods (japanese, etc.) will get 
broken because
+// of XFilterEvent() getting called twice, once by Qt, once by LO (bnc#665112).
+// This function is therefore called before any XEvent is passed to Qt event 
handling
+// and if it is a keyboard event and no Qt widget is the active window (i.e. 
we are
+// processing events for some LO window), then feed the event only to LO 
directly and skip Qt
+// completely. Skipped events are KeyPress, KeyRelease and also _XIM_PROTOCOL 
client message
+// (seems to be necessary too, hopefully there are not other internal XIM 
messages that
+// would need this handling).
+bool SalKDEDisplay::checkDirectInputEvent( XEvent* ev )
+{
+if( ev-xany.type == XLIB_KeyPress || ev-xany.type == KeyRelease
+|| ( ev-xany.type == ClientMessage  ev-xclient.message_type == 
xim_protocol ))
+{
+if( qApp-activeWindow() == NULL )
+{
+Dispatch(ev);
+return true;
+}
+}
+return false;
+}
+
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
--- vcl/unx/kde4/KDESalDisplay.hxx.old  2010-11-11 16:22:48.0 +0100
+++ vcl/unx/kde4/KDESalDisplay.hxx  2011-02-22 19:37:17.0 +0100
@@ -41,7 +41,9 @@ class SalKDEDisplay : public SalX11Displ
 inline void EventGuardRelease() { osl_releaseMutex( hEventGuard_ ); }
 //virtual long Dispatch( XEvent *event );
 virtual void Yield();
+bool checkDirectInputEvent( XEvent* ev );
 private:
+Atom xim_protocol;
 static SalKDEDisplay* selfptr;
 };
 
--- vcl/unx/kde4/KDEXLib.cxx.old2010-12-14 17:02:02.0 +0100
+++ vcl/unx/kde4/KDEXLib.cxx2011-02-22 19:37:17.0 +0100
@@ -205,8 +205,19 @@ static GPollFunc old_gpoll = NULL;
 static gint gpoll_wrapper( GPollFD*, guint, gint );
 #endif
 
+static bool ( *old_qt_event_filter )( void* );
+static bool qt_event_filter( void* m )
+{
+if( old_qt_event_filter != NULL  old_qt_event_filter( m ))
+return true;
+if( SalKDEDisplay::self()  SalKDEDisplay::self()-checkDirectInputEvent( 
static_cast XEvent* ( m )))
+return true;
+return false;
+}
+
 void KDEXLib::setupEventLoop()
 {
+old_qt_event_filter = 

commit rpmlint for openSUSE:Factory

2011-04-26 Thread h_root

Hello community,

here is the log from the commit of package rpmlint for openSUSE:Factory
checked in at Tue Apr 26 16:54:21 CEST 2011.




--- rpmlint/rpmlint.changes 2011-04-21 15:01:05.0 +0200
+++ /mounts/work_src_done/STABLE/rpmlint/rpmlint.changes2011-04-23 
11:26:24.0 +0200
@@ -1,0 +2,6 @@
+Sat Apr 23 11:11:37 CEST 2011 - dmuel...@suse.de
+
+- fix abort in BinariesCheck
+- fix sysv5-init-check.diff for real
+
+---

calling whatdependson for head-i586




Other differences:
--
++ rpmlint.spec ++
--- /var/tmp/diff_new_pack.yvc8kJ/_old  2011-04-26 16:53:39.0 +0200
+++ /var/tmp/diff_new_pack.yvc8kJ/_new  2011-04-26 16:53:39.0 +0200
@@ -23,7 +23,7 @@
 BuildRequires:  rpm-python
 Summary:Rpm correctness checker
 Version:1.1
-Release:27
+Release:29
 Source0:%{name}-%{version}.tar.bz2
 Source1:config
 Source1001: config.in

++ suse-binarieschecks.diff ++
--- /var/tmp/diff_new_pack.yvc8kJ/_old  2011-04-26 16:53:39.0 +0200
+++ /var/tmp/diff_new_pack.yvc8kJ/_new  2011-04-26 16:53:39.0 +0200
@@ -1,8 +1,6 @@
-Index: BinariesCheck.py
-===
 BinariesCheck.py.orig
+--- BinariesCheck.py
 +++ BinariesCheck.py
-@@ -10,6 +10,7 @@
+@@ -10,13 +10,15 @@
  
  import re
  import stat
@@ -10,7 +8,8 @@
  
  import rpm
  
-@@ -17,6 +18,7 @@ from Filter import addDetails, printErro
+-from Filter import addDetails, printError, printWarning
++from Filter import addDetails, printError, printWarning, printInfo
  import AbstractCheck
  import Config
  import Pkg
@@ -18,7 +17,7 @@
  
  
  DEFAULT_SYSTEM_LIB_PATHS = (
-@@ -37,6 +39,9 @@ class BinaryInfo:
+@@ -37,6 +39,9 @@
  unused_regex = re.compile('^\s+(\S+)')
  exit_call_regex = re.compile('\s+FUNC\s+.*?\s+(_?exit(?:@\S+)?)(?:\s|$)')
  fork_call_regex = re.compile('\s+FUNC\s+.*?\s+(fork(?:@\S+)?)(?:\s|$)')
@@ -28,7 +27,7 @@
  
  def __init__(self, pkg, path, file, is_ar, is_shlib):
  self.readelf_error = False
-@@ -50,7 +55,10 @@ class BinaryInfo:
+@@ -50,7 +55,10 @@
  self.stack = False
  self.exec_stack = False
  self.exit_calls = []
@@ -39,7 +38,7 @@
  self.tail = ''
  
  is_debug = path.endswith('.debug')
-@@ -93,6 +101,11 @@ class BinaryInfo:
+@@ -93,6 +101,11 @@
  self.exec_stack = True
  continue
  
@@ -51,7 +50,7 @@
  if is_shlib:
  r = BinaryInfo.exit_call_regex.search(l)
  if r:
-@@ -103,6 +116,14 @@ class BinaryInfo:
+@@ -103,6 +116,14 @@
  fork_called = True
  continue
  
@@ -66,7 +65,7 @@
  if self.non_pic:
  self.non_pic = 'TEXTREL' in res[1]
  
-@@ -263,13 +284,26 @@ class BinariesCheck(AbstractCheck.Abstra
+@@ -263,13 +284,26 @@
  continue
  
  # stripped ?
@@ -94,7 +93,7 @@
  if is_shlib:
  has_lib = True
  
-@@ -319,6 +353,10 @@ class BinariesCheck(AbstractCheck.Abstra
+@@ -319,6 +353,10 @@
  for ec in bin_info.exit_calls:
  printWarning(pkg, 'shared-lib-calls-exit', fname, ec)
  
@@ -105,7 +104,7 @@
  # rpath ?
  if bin_info.rpath:
  for p in bin_info.rpath:
-@@ -504,6 +542,14 @@ with the intended shared libraries only.
+@@ -504,6 +542,14 @@
  'ldd-failed',
  '''Executing ldd on this file failed, all checks could not be run.''',
  
@@ -120,7 +119,7 @@
  'executable-stack',
  '''The binary declares the stack as executable.  Executable stack is usually 
an
  error as it is only needed if the code contains GCC trampolines or similar
-@@ -516,6 +562,10 @@ don\'t define a proper .note.GNU-stack s
+@@ -516,6 +562,10 @@
  make the stack executable.  Usual suspects include use of a non-GNU linker or
  an old GNU linker version.''',
  
@@ -131,7 +130,7 @@
  'shared-lib-calls-exit',
  '''This library package calls exit() or _exit(), probably in a non-fork()
  context. Doing so from a library is strongly discouraged - when a library
-@@ -533,6 +583,12 @@ form, make sure that rpmbuild does not s
+@@ -533,6 +583,12 @@
  that use prelink, make sure that prelink does not strip it either, usually by
  placing a blacklist file in /etc/prelink.conf.d.  For more information, see
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=256900#49''',

++ sysv5-init-checks.diff ++
--- /var/tmp/diff_new_pack.yvc8kJ/_old  2011-04-26 16:53:39.0 +0200
+++ /var/tmp/diff_new_pack.yvc8kJ/_new  2011-04-26 16:53:39.0 +0200
@@ -1,8 +1,6 @@
-Index: InitScriptCheck.py
-===
 InitScriptCheck.py.orig