Hello community,

here is the log from the commit of package kbdsniffd for openSUSE:Factory 
checked in at 2013-11-26 19:17:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kbdsniffd (Old)
 and      /work/SRC/openSUSE:Factory/.kbdsniffd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kbdsniffd"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kbdsniffd/kbdsniffd.changes      2011-10-04 
18:12:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kbdsniffd.new/kbdsniffd.changes 2013-11-26 
19:17:32.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Nov 25 15:36:25 UTC 2013 - [email protected]
+
+- fixed file permissions away from 744 to 755 or 644. bnc#851620
+
+-------------------------------------------------------------------

New:
----
  kbdsniffd-fixes.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kbdsniffd.spec ++++++
--- /var/tmp/diff_new_pack.zwGjbB/_old  2013-11-26 19:17:32.000000000 +0100
+++ /var/tmp/diff_new_pack.zwGjbB/_new  2013-11-26 19:17:32.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kbdsniffd
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -15,17 +15,17 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           kbdsniffd
-BuildRequires:  gcc-c++ glibc-devel
+BuildRequires:  gcc-c++
+BuildRequires:  glibc-devel
 Version:        0.6
-Release:        2
-License:        GPL-2.0+
-Group:          Hardware/Other
+Release:        0
 Source:         kbdsniffd-%{version}.tbz2
+Patch0:         %name-fixes.patch
 Summary:        Keyboard Grabber Daemon
+License:        GPL-2.0+
+Group:          Hardware/Other
 PreReq:         %insserv_prereq
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -38,7 +38,8 @@
 grabbed keys can be used to trigger special screenreader functions
 
 %prep
-%setup 
+%setup -q
+%patch0 -p1
 
 %build
 make CFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" 
LIB_CFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -fPIC" 
CC="%{__cc}" LD="%{__cc}"
@@ -47,17 +48,11 @@
 mkdir -p $RPM_BUILD_ROOT/usr/sbin
 mkdir -p $RPM_BUILD_ROOT/etc/init.d
 make LIBINSTPATH=%{_libdir} DESTDIR=$RPM_BUILD_ROOT install
-chmod a-x $RPM_BUILD_ROOT%_mandir/man8/*
-
-%clean
-rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
-%{insserv_force_if_yast etc/init.d/kbdsniffd }
+%{insserv_force_if_yast kbdsniffd}
 
 %postun
-/sbin/ldconfig
 %{insserv_cleanup}
 
 %files


++++++ kbdsniffd-fixes.patch ++++++
Index: kbdsniffd-0.6/Makefile
===================================================================
--- kbdsniffd-0.6.orig/Makefile
+++ kbdsniffd-0.6/Makefile
@@ -27,9 +27,9 @@ clean:
        rm -f $(TRG) *.o *~ jj.jj
 
 install: $(TRG)
-       install -s -m 744 $(TRG) $(DESTDIR)$(INSTPATH)
-       install -m 744 suse/$(TRG) $(DESTDIR)/etc/init.d 
-       install -m 744  $(TRG).conf $(DESTDIR)/etc
+       install -s -m 755 $(TRG) $(DESTDIR)$(INSTPATH)
+       install -m 755 suse/$(TRG) $(DESTDIR)/etc/init.d 
+       install -m 644  $(TRG).conf $(DESTDIR)/etc
        install --directory $(DESTDIR)$(MANDIR)/man8
-       install -m 744  $(TRG).8 $(DESTDIR)$(MANDIR)/man8
+       install -m 644  $(TRG).8 $(DESTDIR)$(MANDIR)/man8
        ln -sf /etc/init.d/kbdsniffd $(DESTDIR)$(INSTPATH)/rc$(TRG)
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to