Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37858848
en ru br
ALT Linux repos
5.0: 0.0.4-alt1
4.1: 0.0.4-alt1

Group :: Networking/Other
RPM: srptools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: srptools
Version: 0.0.4
Release: alt1
Summary: Tools for SRP/IB
Group: Networking/Other
License: %gpl2only
Url: http://www.openfabrics.org
Source: %name-%version.tar
Packager: Led <led at altlinux.ru>

BuildRequires(pre): rpm-build-licenses
BuildRequires: libibumad-devel libibverbs-devel

%define IB_CONF_DIR /etc/infiniband
%define ib_conf_dir %_sysconfdir/infiniband

%description
In conjunction with the kernel ib_srp driver, %name allows you to
discover and use SCSI devices via the SCSI RDMA Protocol over
InfiniBand.


%prep
%setup


%build
%configure
%make_build


%install
%make_install DESTDIR=%buildroot install


%post
if [ $1 = 1 -a -w %ib_conf_dir/openib.conf ]; then
   echo >> %ib_conf_dir/openib.conf
   echo "# Enable SRP High Availability daemon" >> %ib_conf_dir/openib.conf
   echo "SRPHA_ENABLE=no" >> %ib_conf_dir/openib.conf
   echo "SRP_DAEMON_ENABLE=no" >> %ib_conf_dir/openib.conf
fi


%files
%doc README NEWS ChangeLog COPYING
%config(noreplace) %_sysconfdir/srp_daemon.conf
%_sbindir/*
%_man1dir/*


%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