Hello community,
here is the log from the commit of package vhba-kmp for openSUSE:Factory checked in at 2014-07-17 06:58:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 2013-06-11 09:38:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.vhba-kmp.new/vhba-kmp.changes 2014-07-17 06:58:32.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Jul 13 08:48:46 UTC 2014 - sor.alexei@meowr.ru
+
+- Update to new upstream release 20140629 (cdemu-3.0.0)
+* CD image write support
+
+-------------------------------------------------------------------
Old:
----
vhba-module-20130607.tar.bz2
New:
----
vhba-module-20140629.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vhba-kmp.spec ++++++
--- /var/tmp/diff_new_pack.MISjrG/_old 2014-07-17 06:58:33.000000000 +0200
+++ /var/tmp/diff_new_pack.MISjrG/_new 2014-07-17 06:58:33.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package vhba-kmp
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,17 +17,17 @@
Name: vhba-kmp
-Version: 20130607
+Version: 20140629
Release: 0
Summary: Virtual SCSI Host Bus Adapter
License: GPL-2.0+
Group: System/Kernel
-Url: http://cdemu.sf.net/
+Url: http://cdemu.sf.net/about/vhba/
-#Freecode-URL: https://freecode.com/projects/cdemu-for-linux
+#Git-Clone: git://git.code.sf.net/p/cdemu/code
Source: http://downloads.sf.net/cdemu/vhba-module-%version.tar.bz2
Source2: %name-preamble
-Patch3: vhba-no-werror.diff
+Patch1: vhba-no-werror.diff
BuildRequires: kernel-syms >= 2.6.20
BuildRequires: modutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -53,26 +53,27 @@
Linux.
%prep
+echo %flavors_to_build
%setup -qn vhba-module-%version
-%patch -P 3 -p1
+%patch -P 1 -p1
%build
for flavor in %flavors_to_build; do
- cp -a . "../obj-$flavor";
- pushd "../obj-$flavor/";
+ cp -a . "../obj-$flavor/"
+ pushd "../obj-$flavor/"
make KDIR="/usr/src/linux-obj/%_target_cpu/$flavor" \
- %{?_smp_mflags};
- popd;
-done;
+ %{?_smp_mflags}
+ popd
+done
%install
-export INSTALL_MOD_PATH="%buildroot";
+export INSTALL_MOD_PATH="%buildroot"
for flavor in %flavors_to_build; do
- pushd "../obj-$flavor/";
+ pushd "../obj-$flavor/"
make KDIR="/usr/src/linux-obj/%_target_cpu/$flavor" \
- modules_install;
- popd;
-done;
+ modules_install
+ popd
+done
%changelog
++++++ vhba-module-20130607.tar.bz2 -> vhba-module-20140629.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vhba-module-20130607/INSTALL new/vhba-module-20140629/INSTALL
--- old/vhba-module-20130607/INSTALL 2013-06-07 21:34:22.000000000 +0200
+++ new/vhba-module-20140629/INSTALL 2014-06-29 15:25:04.000000000 +0200
@@ -1,7 +1,7 @@
Installation Instructions
*************************
-Copyright (C) 2008 The CDEMU Project.
+Copyright (C) 2008-2014 The CDEMU Project.
This file is free documentation; the CDEmu project gives
unlimited permission to copy, distribute and modify it.
@@ -15,11 +15,14 @@
2. Type `make' to compile the package.
- 4. Type `make install' to install the kernel module and other files.
+ 4. Type `make install' to install the kernel module and other files.
(Needs root permission)
5. You can remove the program binaries and object files from the
- source code directory by typing `make clean'.
+ source code directory by typing `make clean'.
+
+To properly set permissions on VHBA control device and/or set up module
+auto-load, see the corresponding sections below.
Compilers and Options
=====================
@@ -28,13 +31,28 @@
by setting the environment variable KERNELRELEASE. The default if it is not
specified is 'uname -r' in other words your running kernel.
-It is also possible to set extra compiler flags through the EXTRA_CFLAGS
+It is also possible to set extra compiler flags through the EXTRA_CFLAGS
environment variable.
-Compiling For Multiple Architectures
-====================================
+Setting Permissions on VHBA Control Device
+==========================================
+
+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:
+
+KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdrom"
+
+The rule should be stored in a .rule file (for example, 40-vhba.rules) in either
+/lib/udev/rules.d or /etc/udev/rules.d directory.
+
+In the above example, the user needs to be part of 'cdrom' group.
+
+Automatic Module Loading
+========================
+
+At the moment, automatic module loading can be enabled in a distribution-specific way.
-This device driver was initially developed for use on 32 bit intel compatible
-processor architectures but may with differing levels of success be compiled
-for other kinds of processor architectures.
+On debian- and ubuntu-based systems, 'vhba' should be added to the /etc/modules file.
+On fedora-based systems, a file called vhba.conf and containing a line 'vhba'
+should be created in /etc/modules-load.d directory.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vhba-module-20130607/Makefile new/vhba-module-20140629/Makefile
--- old/vhba-module-20130607/Makefile 2013-06-07 21:34:22.000000000 +0200
+++ new/vhba-module-20140629/Makefile 2014-06-29 15:25:04.000000000 +0200
@@ -1,4 +1,4 @@
-VHBA_VERSION := 20130607
+VHBA_VERSION := 20140609
PACKAGE := vhba-module-$(VHBA_VERSION)
DOCS := AUTHORS ChangeLog COPYING INSTALL NEWS README
DIST := vhba.c Makefile
@@ -37,7 +37,7 @@
rm -rf $(PACKAGE)
dist-bzip2: dist-dir
- tar -c $(PACKAGE) | bzip2 > $(PACKAGE).tar.bz2
+ tar -c $(PACKAGE) | bzip2 > $(PACKAGE).tar.bz2
rm -rf $(PACKAGE)
dist-xz: dist-dir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vhba-module-20130607/debian/changelog new/vhba-module-20140629/debian/changelog
--- old/vhba-module-20130607/debian/changelog 2013-06-07 21:34:22.000000000 +0200
+++ new/vhba-module-20140629/debian/changelog 2014-06-29 15:25:04.000000000 +0200
@@ -1,6 +1,3 @@
-vhba-module (20120422-1ubuntu0~raring1~ppa1) raring; urgency=low
-
- * Initial Release. Closes: (LP: #105452, LP: #184637)
-
- -- Henrik Stokseth