Skip to content

Commit

Permalink
mhvtl.spec: Update for 1.2-3_release
Browse files Browse the repository at this point in the history
- Fix segfault in AIT4 when attempting to access Security Protocol IN/OUT
- No need to fail in virtual media parent directory exists
- Add more descriptive debug messages for log/mode page lookups

Signed-off-by: Mark Harvey <markh794@gmail.com>
  • Loading branch information
markh794 committed Apr 4, 2012
1 parent 2a40b80 commit 9afeec5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
8 changes: 4 additions & 4 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SLES 9 & 10:


2) Extract the mhvtl source code.
# tar xvfz mhvtl-2012-03-16.tgz
# tar xvfz mhvtl-2012-04-04.tgz

3) Change directory into the kernel driver source.
# cd mhvtl-1.2/kernel/
Expand All @@ -36,7 +36,7 @@ SLES 9 & 10:
User space daemons:
===================
Pre-req for a running mhvtl
- sg3_utils (http://www.torque.net/sg/)
- sg3_utils (http://sg.danny.cz/sg/sg3_utils.html)

Pre-req to build/compile userspace:
- zlib-devel
Expand All @@ -47,7 +47,7 @@ Pre-req to build/compile userspace:
cd /usr/src/packages/SOURCE
rpmbuild -tb mhvtl-YYYY-MM-DD.tar.gz
<wait for rpm build to complete>
rpm -Uvh /usr/src/packages/RPMS/<cpu type>/mhvtl-0.16-z.<cpu type>.rpm
rpm -Uvh /usr/src/packages/RPMS/<cpu type>/mhvtl-1.2-z.<cpu type>.rpm
(The rpm install will create system group & accounts vtl)
- Note: For RedHat, replace 'packages' with 'redhat'

Expand All @@ -63,7 +63,7 @@ a group and user called 'vtl'

Now build user space daemons:
From the parent directory where you extracted the source.
# cd mhvtl-0.18
# cd mhvtl-1.2

Build the binaries
# make
Expand Down
2 changes: 1 addition & 1 deletion kernel/mhvtl-kmod.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Summary: Virtual Tape Library device driver for Linux
Name: mhvtl-kmod
Version: 1.2
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL2
Group: System Environment/Kernel
URL: http://sites.google.com/site/linuxvtl2/
Expand Down
2 changes: 1 addition & 1 deletion mhvtl-1.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ EAPI="2"

inherit linux-mod eutils

MY_P="${PN}-2012-03-22"
MY_P="${PN}-2012-04-04"
DESCRIPTION="mhvtl module provides Virtual (SCSI) Tape Library"
HOMEPAGE="http://sites.google.com/site/linuxvtl2"
SRC_URI="http://sites.google.com/site/linuxvtl2/${MY_P}.tgz"
Expand Down
10 changes: 8 additions & 2 deletions mhvtl.spec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Summary: Virtual tape library. kernel pseudo HBA driver + userspace daemons
Name: mhvtl
Version: 1.2
Release: 2
Source: mhvtl-2012-03-22.tgz
Release: 3
Source: mhvtl-2012-04-04.tgz
License: GPL
Group: System/Kernel
BuildRoot: /var/tmp/%{name}-buildroot
Expand Down Expand Up @@ -161,6 +161,12 @@ fi
%doc %{_mandir}/man5/*

%changelog
* Wed Apr 04 2012 Mark Harvey <markh794@gmail.com> <mark_harvey@symantec.com>
- Bumped version to 1.2-3
- Fix segfault in AIT4 when attempting to access Security Protocol IN/OUT
- No need to fail in virtual media parent directory exists
- Add more descriptive debug messages for log/mode page lookups

* Thu Mar 22 2012 Mark Harvey <markh794@gmail.com> <mark_harvey@symantec.com>
- Bumped version to 1.2-2
- Changed defaults so fifo is not enabled. If fifo not used, it will
Expand Down

0 comments on commit 9afeec5

Please sign in to comment.