sys-apps/cciss_vol_status: bump to v1.12a

Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
Thomas Deutschmann
2020-08-20 17:11:00 +02:00
parent 422bad9e28
commit 0d9b862ee1
4 changed files with 4 additions and 25 deletions

View File

@@ -1 +1 @@
DIST cciss_vol_status-1.12.tar.gz 120346 BLAKE2B 8094f7b421c8c3f003f38cef380eb14c6778b750a62a5b8b94df955f87c0a77b1b7dfa9df16d6bb10f4955b6961b022b871fc39d143717b8024ec40fdb3b819f SHA512 f9fa8b98bd42810932f03f514b4b8c6cea690378f065a6c9788ddb78612c7ca2aa9a7fefa8a40634cfe247600fb6d3f11f0b687fba77d1423087a2b319773d69
DIST cciss_vol_status-1.12a.tar.gz 120748 BLAKE2B 855712328e53165f6b7cf5858a1f73fe71a55570a104ad401cb8359ae9bccb3f2abc01d0e92f0001b8d69c732fadfe26c54a73e52af50cc544a76d13e72c6023 SHA512 c6aeae0d1fd66aabcd4a82f69b12433770fab2dde726bca67d97a09636e39f2eb596a0695afdb7e3e1a35c3d6882a9804a8263caa9b0dad97da8256afea778be

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
IUSE=""
DESCRIPTION="Shows status of logical drives attached to HP SmartArray controllers"
@@ -17,5 +17,5 @@ src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS ChangeLog NEWS README
exeinto /etc/cron.hourly
newexe "${FILESDIR}/cciss_vol_status.cron2" cciss_vol_status
newexe "${FILESDIR}/cciss_vol_status-r2.cron" cciss_vol_status
}

View File

@@ -1,21 +0,0 @@
#!/bin/sh
test -x /usr/bin/cciss_vol_status || exit 0
STATUS=0
if [ -d /proc/driver/cciss ]; then
DEVS=`awk -F: '/^cciss\/c.*d0/{print "/dev/" $1}' /proc/driver/cciss/cciss*`
OUTPUT=`/usr/bin/cciss_vol_status $DEVS`
if [ $? -ne 0 ]; then
printf "%s\n" "$OUTPUT"
exit 1
fi
fi
# FIXME: This cronjob should also look at the scsi generic nodes
# (/dev/sg*?) to cover the hpsa driver, fibre-attached MSA1000 family
# devices, orthehpahcisr software RAID driver (see cciss_vol_status(8)
# about how to choose the correct nodes -- i don't use these other
# devices, so i cannot verify how to check them cleanly)
#
exit 0