Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042383
en ru br
ALT Linux repos
S:22-alt1
5.0: 19-alt1
4.1: 14-alt1
4.0: 14-alt1

Group :: System/Kernel and hardware
RPM: vblade

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: vblade
Version: 22
Release: alt1

Summary: Virtual EtherDrive (R) blade daemon
Group: System/Kernel and hardware
License: GPLv2

Url: http://sourceforge.net/projects/aoetools/
Packager: Alexander Volkov <vaa at altlinux.org>
Source: http://dl.sf.net/aoetools/%name-%version.tgz
Source1: %name.init
Source2: %name.conf
Patch0: %name-makefile.patch
Patch1: %name-vars.patch

%description
The vblade is the virtual EtherDrive (R) blade, a program that makes a
seekable file available over an ethernet local area network (LAN) via
the ATA over Ethernet (AoE) protocol.

The seekable file is typically a block device like /dev/md0 but even
regular files will work.  When vblade exports the block storage over
AoE it becomes a storage target.  Another host on the same LAN can
access the storage if it has a compatible aoe kernel driver.

%prep
%setup -q
%patch0 -p1
%patch1 -p2

%build
%make

%install
%makeinstall_std
#mkdir -p %buildroot%_sysconfdir/%name
mkdir -p %buildroot/var/run/%name
mkdir -p %buildroot%_initdir
install -D -m755 %SOURCE1 %buildroot%_initdir/%name
install -D -m644 %SOURCE2 %buildroot%_sysconfdir/%name.conf

%preun
%preun_service %name
%post
%post_service %name

%files
%doc COPYING HACKING NEWS README
%config(noreplace) %_sysconfdir/%name.conf
%dir /var/run/%name
%_initdir/%name
%_sbindir/vblade
%_sbindir/vbladed
%_man8dir/vblade.8*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin