Hello community,

here is the log from the commit of package vhba-kmp for openSUSE:Factory 
checked in at 2017-02-09 11:16:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vhba-kmp (Old)
 and      /work/SRC/openSUSE:Factory/.vhba-kmp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vhba-kmp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/vhba-kmp/vhba-kmp.changes        2015-12-24 
12:16:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.vhba-kmp.new/vhba-kmp.changes   2017-02-09 
11:16:59.719367890 +0100
@@ -1,0 +2,6 @@
+Mon Feb  6 17:35:38 UTC 2017 - jeng...@inai.de
+
+- Update to new upstream release 20161009
+  * Documentation updates
+
+-------------------------------------------------------------------

Old:
----
  vhba-module-20140928.tar.bz2

New:
----
  vhba-module-20161009.tar.bz2

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

Other differences:
------------------
++++++ vhba-kmp.spec ++++++
--- /var/tmp/diff_new_pack.eTeMbk/_old  2017-02-09 11:17:00.099314118 +0100
+++ /var/tmp/diff_new_pack.eTeMbk/_new  2017-02-09 11:17:00.099314118 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vhba-kmp
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,7 +17,7 @@
 
 
 Name:           vhba-kmp
-Version:        20140928
+Version:        20161009
 Release:        0
 Summary:        Virtual SCSI Host Bus Adapter
 License:        GPL-2.0+

++++++ vhba-module-20140928.tar.bz2 -> vhba-module-20161009.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vhba-module-20140928/INSTALL 
new/vhba-module-20161009/INSTALL
--- old/vhba-module-20140928/INSTALL    2014-09-28 21:19:13.000000000 +0200
+++ new/vhba-module-20161009/INSTALL    2016-10-09 21:03:17.000000000 +0200
@@ -1,7 +1,7 @@
 Installation Instructions
 *************************
 
-Copyright (C) 2008-2014 The CDEMU Project.
+Copyright (C) 2008-2016 The CDEMU Project.
 
 This file is free documentation; the CDEmu project gives
 unlimited permission to copy, distribute and modify it.
@@ -38,7 +38,20 @@
 ==========================================
 
 In order to use VHBA control device, a user must have read-write permissions
-on /dev/vhba_ctl. Typically, this is achieved by a udev rule:
+on /dev/vhba_ctl. Typically, this is achieved by using udev's "uaccess" tag,
+by creating the following rule:
+
+KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="uaccess"
+
+The rule should be stored in a .rule file in either /lib/udev/rules.d or
+/etc/udev/rules.d directory. For the "uaccess" tag to be applied properly,
+the rule must be executed before the uaccess rule. Therefore, if the uaccess
+rule is contained by /lib/udev/rules.d/70-uaccess.rules, the rule above
+must be stored in a file with number smaller than 70.
+
+
+The alternative and now obsolete approach is to create a udev rule that
+explicitly sets the read/write permissions on the control device:
 
 KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdrom"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vhba-module-20140928/Makefile 
new/vhba-module-20161009/Makefile
--- old/vhba-module-20140928/Makefile   2014-09-28 21:19:13.000000000 +0200
+++ new/vhba-module-20161009/Makefile   2016-10-09 21:03:17.000000000 +0200
@@ -1,4 +1,4 @@
-VHBA_VERSION := 20140928
+VHBA_VERSION := 20161009
 
 KERNELRELEASE ?= $(shell uname -r)
 KDIR ?= /lib/modules/$(KERNELRELEASE)/build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vhba-module-20140928/debian/changelog 
new/vhba-module-20161009/debian/changelog
--- old/vhba-module-20140928/debian/changelog   2014-09-28 21:19:13.000000000 
+0200
+++ new/vhba-module-20161009/debian/changelog   2016-10-09 21:03:17.000000000 
+0200
@@ -1,3 +1,3 @@
-vhba-module (20140928-1) debian; urgency=low
+vhba-module (20161009-1) debian; urgency=low
   * Initial Release. Closes: #705409
- -- Henrik Stokseth <hen...@hshq.net>  Sat, 05 Apr 2014 12:00:00 +0100
+ -- Henrik Stokseth <hstok...@users.sourceforge.net>  Sat, 05 Apr 2014 
12:00:00 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vhba-module-20140928/debian/control 
new/vhba-module-20161009/debian/control
--- old/vhba-module-20140928/debian/control     2014-09-28 21:19:13.000000000 
+0200
+++ new/vhba-module-20161009/debian/control     2016-10-09 21:03:17.000000000 
+0200
@@ -2,9 +2,9 @@
 Section: misc
 Priority: optional
 Homepage: http://cdemu.sourceforge.net/
-Maintainer: Henrik Stokseth <hen...@hshq.net>
+Maintainer: Henrik Stokseth <hstok...@users.sourceforge.net>
 Build-Depends: debhelper (>= 9), dkms
-Standards-Version: 3.9.5
+Standards-Version: 3.9.7
 
 
 Package: vhba-dkms
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vhba-module-20140928/debian/copyright 
new/vhba-module-20161009/debian/copyright
--- old/vhba-module-20140928/debian/copyright   2014-09-28 21:19:13.000000000 
+0200
+++ new/vhba-module-20161009/debian/copyright   2016-10-09 21:03:17.000000000 
+0200
@@ -1,4 +1,4 @@
-This package was debianized by Henrik Stokseth <henrik AT hw0 DOT org> on
+This package was debianized by Henrik Stokseth 
<hstok...@users.sourceforge.net> on
 Mon, 24 Des 2007 12:00:00 +0100.
 
 It was downloaded from: http://cdemu.sourceforge.net/
@@ -32,6 +32,6 @@
 On Debian systems, the complete text of the GNU General
 Public License can be found in `/usr/share/common-licenses/GPL'.
 
-The Debian packaging is (C) 2007, Henrik Stokseth <henrik AT hw0 DOT org> and
+The Debian packaging is (C) 2007, Henrik Stokseth 
<hstok...@users.sourceforge.net> and
 is licensed under the GPL, see above.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vhba-module-20140928/debian/vhba-dkms.postinst 
new/vhba-module-20161009/debian/vhba-dkms.postinst
--- old/vhba-module-20140928/debian/vhba-dkms.postinst  2014-09-28 
21:19:13.000000000 +0200
+++ new/vhba-module-20161009/debian/vhba-dkms.postinst  2016-10-09 
21:03:17.000000000 +0200
@@ -16,31 +16,22 @@
 }
 
 case "$1" in
-    configure)
-               # Add the cdrom group
-               if grep -q -e "^cdrom" "/etc/group"; then
-                       mywarning "Group 'cdrom' already exists."
-               else
-                       addgroup "cdrom" || myerror "Failed to add cdrom group."
-               fi
-
-               # Workaround: Reload udev rules.
-               udevadm control --reload-rules || mywarning "Failed to reload 
udev rules."
-
+       configure)
                # try to load the module
                if test -d "/sys/module/vhba"; then
-                       mywarning "Module is already loaded."
-               else
-                       modprobe "vhba" || myerror "Unable to load module."
+                       modprobe -r "vhba" || mywarning "Failed to unload 
running module."
                fi
 
+               modprobe "vhba" || mywarning "Unable to load module."
+
                # and make sure it's there after next reboot
-               if grep -q -e "^vhba$" "/etc/modules"; then
-                       mywarning "Module is already added to /etc/modules."
+               if test -f "/etc/modules-load.d/vhba.conf"; then
+                       mywarning "Configuration already exists."
                else
-                       echo "vhba" >> "/etc/modules" || myerror "Unable to add 
module to /etc/modules."
+                       mkdir -p "/etc/modules-load.d"
+                       echo "vhba" > "/etc/modules-load.d/vhba.conf" || 
myerror "Unable to add module configuration." 
                fi
-    ;;
+       ;;
 
        abort-upgrade|abort-remove|abort-deconfigure)
        ;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vhba-module-20140928/debian/vhba-dkms.prerm 
new/vhba-module-20161009/debian/vhba-dkms.prerm
--- old/vhba-module-20140928/debian/vhba-dkms.prerm     2014-09-28 
21:19:13.000000000 +0200
+++ new/vhba-module-20161009/debian/vhba-dkms.prerm     2016-10-09 
21:03:17.000000000 +0200
@@ -19,9 +19,7 @@
        remove|upgrade|deconfigure)
                # try to unload the module
                if test -d "/sys/module/vhba"; then
-                       modprobe -r "vhba" || mywarning "Failed to unload 
module."
-               else
-                       mywarning "Module was not running."
+                       modprobe -r "vhba" || mywarning "Failed to unload 
running module."
                fi
        ;;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vhba-module-20140928/debian/vhba-dkms.udev 
new/vhba-module-20161009/debian/vhba-dkms.udev
--- old/vhba-module-20140928/debian/vhba-dkms.udev      2014-09-28 
21:19:13.000000000 +0200
+++ new/vhba-module-20161009/debian/vhba-dkms.udev      2016-10-09 
21:03:17.000000000 +0200
@@ -1,2 +1 @@
-KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdrom"
-
+KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="uaccess"


Reply via email to