commit kbdsniffd for openSUSE:Factory

2019-01-10 Thread root
Hello community,

here is the log from the commit of package kbdsniffd for openSUSE:Factory 
checked in at 2019-01-10 15:21:03

Comparing /work/SRC/openSUSE:Factory/kbdsniffd (Old)
 and  /work/SRC/openSUSE:Factory/.kbdsniffd.new.28833 (New)


Package is "kbdsniffd"

Thu Jan 10 15:21:03 2019 rev:19 rq:663654 version:0.6

Changes:

--- /work/SRC/openSUSE:Factory/kbdsniffd/kbdsniffd.changes  2018-12-07 
14:35:51.383037249 +0100
+++ /work/SRC/openSUSE:Factory/.kbdsniffd.new.28833/kbdsniffd.changes   
2019-01-10 15:21:21.466453705 +0100
@@ -1,0 +2,5 @@
+Thu Dec  6 21:12:22 UTC 2018 - Jan Engelhardt 
+
+- Follow through with more $RPM_* shell var replacement.
+
+---



Other differences:
--
++ kbdsniffd.spec ++
--- /var/tmp/diff_new_pack.NGNM2E/_old  2019-01-10 15:21:21.810453349 +0100
+++ /var/tmp/diff_new_pack.NGNM2E/_new  2019-01-10 15:21:21.814453344 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,7 +26,7 @@
 Url:http://www.openblinux.de/de/index.php?page=download
 Patch0: %name-fixes.patch
 Summary:Keyboard Grabber Daemon
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Hardware/Other
 BuildRequires:  systemd-rpm-macros
 %systemd_requires
@@ -45,12 +45,12 @@
 %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}"
+make CFLAGS="%{optflags} -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" 
LIB_CFLAGS="%{optflags} -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -fPIC" CC="%{__cc}" 
LD="%{__cc}"
 
 %install 
 mkdir -p %{buildroot}/usr/sbin
 mkdir -p %{buildroot}/etc/init.d
-make LIBINSTPATH=%{_libdir} DESTDIR=$RPM_BUILD_ROOT install
+%make_install LIBINSTPATH=%{_libdir}
 rm -rf %{buildroot}/etc/init.d
 ln -sf service %{buildroot}/usr/sbin/rckbdsniffd
 mkdir -p %{buildroot}/%{_unitdir}




commit kbdsniffd for openSUSE:Factory

2018-12-07 Thread root
Hello community,

here is the log from the commit of package kbdsniffd for openSUSE:Factory 
checked in at 2018-12-07 14:35:46

Comparing /work/SRC/openSUSE:Factory/kbdsniffd (Old)
 and  /work/SRC/openSUSE:Factory/.kbdsniffd.new.19453 (New)


Package is "kbdsniffd"

Fri Dec  7 14:35:46 2018 rev:18 rq:655688 version:0.6

Changes:

--- /work/SRC/openSUSE:Factory/kbdsniffd/kbdsniffd.changes  2013-11-26 
19:17:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.kbdsniffd.new.19453/kbdsniffd.changes   
2018-12-07 14:35:51.383037249 +0100
@@ -1,0 +2,6 @@
+Thu Nov 29 12:40:56 UTC 2018 - meiss...@suse.com
+
+- replace tarball with upstream supplied one
+- replace sysv init script by kbdsniffd.service systemd service (bsc#1116019)
+
+---

Old:

  kbdsniffd-0.6.tbz2

New:

  kbdsniffd-0.6.tgz
  kbdsniffd.service



Other differences:
--
++ kbdsniffd.spec ++
--- /var/tmp/diff_new_pack.XStD2n/_old  2018-12-07 14:35:52.619035718 +0100
+++ /var/tmp/diff_new_pack.XStD2n/_new  2018-12-07 14:35:52.623035712 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kbdsniffd
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,12 +21,15 @@
 BuildRequires:  glibc-devel
 Version:0.6
 Release:0
-Source: kbdsniffd-%{version}.tbz2
+Source: http://www.openblinux.de/download/kbdsniffd-%{version}.tgz
+Source1:kbdsniffd.service
+Url:http://www.openblinux.de/de/index.php?page=download
 Patch0: %name-fixes.patch
 Summary:Keyboard Grabber Daemon
 License:GPL-2.0+
 Group:  Hardware/Other
-PreReq: %insserv_prereq
+BuildRequires:  systemd-rpm-macros
+%systemd_requires
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -45,23 +48,33 @@
 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}"
 
 %install 
-mkdir -p $RPM_BUILD_ROOT/usr/sbin
-mkdir -p $RPM_BUILD_ROOT/etc/init.d
+mkdir -p %{buildroot}/usr/sbin
+mkdir -p %{buildroot}/etc/init.d
 make LIBINSTPATH=%{_libdir} DESTDIR=$RPM_BUILD_ROOT install
+rm -rf %{buildroot}/etc/init.d
+ln -sf service %{buildroot}/usr/sbin/rckbdsniffd
+mkdir -p %{buildroot}/%{_unitdir}
+install -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}
 
 %post
-%{insserv_force_if_yast kbdsniffd}
+%service_add_post %{name}.service
+
+%pre
+%service_add_pre %{name}.service
+
+%preun
+%service_del_preun %{name}.service
 
 %postun
-%{insserv_cleanup}
+%service_del_postun %{name}.service
 
 %files
 %defattr (-,root,root,755)
 %doc COPYING Changelog
 /usr/sbin/kbdsniffd
+%{_unitdir}/%{name}.service
 /usr/sbin/rckbdsniffd
 %_mandir/man8/*
-%config /etc/init.d/kbdsniffd
 %config /etc/kbdsniffd.conf
 
 %changelog

++ kbdsniffd.service ++
[Unit]
Description=kbdsniffd
After=remote-fs.target

[Service]
ExecStartPre=-/sbin/modprobe uinput
ExecStart=/usr/sbin/kbdsniffd

[Install]
WantedBy=multi-user.target




commit kbdsniffd for openSUSE:Factory

2013-11-26 Thread h_root
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.0 +0200
+++ /work/SRC/openSUSE:Factory/.kbdsniffd.new/kbdsniffd.changes 2013-11-26 
19:17:32.0 +0100
@@ -1,0 +2,5 @@
+Mon Nov 25 15:36:25 UTC 2013 - meiss...@suse.com
+
+- 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.0 +0100
+++ /var/tmp/diff_new_pack.zwGjbB/_new  2013-11-26 19:17:32.0 +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: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit kbdsniffd for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package kbdsniffd for openSUSE:Factory 
checked in at 2011-12-06 18:21:05

Comparing /work/SRC/openSUSE:Factory/kbdsniffd (Old)
 and  /work/SRC/openSUSE:Factory/.kbdsniffd.new (New)


Package is "kbdsniffd", Maintainer is "ma...@novell.com"

Changes:




Other differences:
--
++ kbdsniffd.spec ++
--- /var/tmp/diff_new_pack.OF0VIh/_old  2011-12-06 18:36:33.0 +0100
+++ /var/tmp/diff_new_pack.OF0VIh/_new  2011-12-06 18:36:33.0 +0100
@@ -22,7 +22,7 @@
 BuildRequires:  gcc-c++ glibc-devel
 Version:0.6
 Release:2
-License:GPL v2 or later
+License:GPL-2.0+
 Group:  Hardware/Other
 Source: kbdsniffd-%{version}.tbz2
 Summary:Keyboard Grabber Daemon


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit kbdsniffd for openSUSE:Factory

2011-10-04 Thread h_root

Hello community,

here is the log from the commit of package kbdsniffd for openSUSE:Factory
checked in at Tue Oct 4 18:12:36 CEST 2011.




--- openSUSE:Factory/kbdsniffd/kbdsniffd.changes2011-09-23 
02:04:37.0 +0200
+++ /mounts/work_src_done/STABLE/kbdsniffd/kbdsniffd.changes2011-09-30 
17:30:56.0 +0200
@@ -0,0 +1,5 @@
+---
+Fri Sep 30 15:30:43 UTC 2011 - u...@suse.com
+
+- cross-build fix: use %__cc macro
+

calling whatdependson for head-i586




Other differences:
--
++ kbdsniffd.spec ++
--- /var/tmp/diff_new_pack.qL1EDr/_old  2011-10-04 18:12:33.0 +0200
+++ /var/tmp/diff_new_pack.qL1EDr/_new  2011-10-04 18:12:33.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package kbdsniffd (Version 0.6)
+# spec file for package kbdsniffd
 #
-# 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
@@ -41,7 +41,7 @@
 %setup 
 
 %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"
+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}"
 
 %install 
 mkdir -p $RPM_BUILD_ROOT/usr/sbin


continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org