Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37399927
en ru br
Репозитории ALT
S:1.2.0-alt2.qa1
5.1: 1.2.0-alt2
4.1: 1.2.0-alt2
4.0: 1.2.0-alt2
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: mpt-status

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: mpt-status
Version: 1.2.0
Release: alt2.qa1

Summary: MPT Fusion based RAID inquiry tool for LSI Logic HBAs
License: GPL v2+
Group: Monitoring

Url: http://www.drugphish.ch/~ratz/mpt-status/
Source0: %name-%version.tar.bz2
Source1: %name.sysconfig
Source2: %name.cron
Source3: %name-check.sh
Source4: %name-install.sh
Patch0: %name-headers.patch
Patch1: %name-no_compiler.h.patch
Patch2: %name-sync_info.patch
Packager: Michael Shigorin <mike at altlinux.org>

%description
mpt-status requests information about RAID status for LSI Logic
SCSI/SAS controllers.  Currently supported and tested HBAs are:

LSI 1030 SCSI RAID storage controller
LSI SAS1064 SCSI RAID storage controller
LSI SAS1068 SCSI RAID storage controller
LSI SAS 3442-R SCSI RAID storage controller

Since the tool is using the MPI (message passing interface)
changes are high that the basic information regarding RAID status
will be available for all LSI based controllers. Just give it
a try and report back.

You might want to install %name-monitoring package either.

%package monitoring
Summary: %name setup for automated RAID monitoring
License: GPL
Group: Monitoring
Requires: %name = %version-%release

%description monitoring
Install this package if you want your LSI MPT-based RAID
status monitoring automatically configured for you

%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
make CFLAGS="%optflags -Wall -W -Iincl -Iinclude"

%install
install -pD -m755 mpt-status %buildroot%_sbindir/%name
install -pD -m644 man/mpt-status.8 %buildroot%_man8dir/%name.8
install -pD -m644 %SOURCE1 %buildroot%_sysconfdir/sysconfig/%name
install -pD -m644 %SOURCE2 %buildroot%_sysconfdir/cron.d/%name
install -pD -m755 %SOURCE3 %buildroot%_sbindir/%name-check
install -pD -m755 %SOURCE4 %buildroot%_sbindir/%name-install

%post monitoring
%_sbindir/%name-install ||:

%files
%doc doc/*
%_sbindir/%name
%_man8dir/%name.8*

%files monitoring
%config(noreplace) %_sysconfdir/sysconfig/%name
%config(noreplace) %_sysconfdir/cron.d/%name
%_sbindir/%name-check
%_sbindir/%name-install

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin