summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/cciss_vol_status/Manifest2
-rw-r--r--sys-apps/cciss_vol_status/cciss_vol_status-1.12a.ebuild (renamed from sys-apps/cciss_vol_status/cciss_vol_status-1.12.ebuild)6
-rw-r--r--sys-apps/cciss_vol_status/files/cciss_vol_status-r2.cron (renamed from sys-apps/cciss_vol_status/files/cciss_vol_status.cron2)0
-rw-r--r--sys-apps/cciss_vol_status/files/cciss_vol_status.cron21
4 files changed, 4 insertions, 25 deletions
diff --git a/sys-apps/cciss_vol_status/Manifest b/sys-apps/cciss_vol_status/Manifest
index 93623f27e2b..a511002e096 100644
--- a/sys-apps/cciss_vol_status/Manifest
+++ b/sys-apps/cciss_vol_status/Manifest
@@ -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
diff --git a/sys-apps/cciss_vol_status/cciss_vol_status-1.12.ebuild b/sys-apps/cciss_vol_status/cciss_vol_status-1.12a.ebuild
index 8c5f27b9537..94fedd2679d 100644
--- a/sys-apps/cciss_vol_status/cciss_vol_status-1.12.ebuild
+++ b/sys-apps/cciss_vol_status/cciss_vol_status-1.12a.ebuild
@@ -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
}
diff --git a/sys-apps/cciss_vol_status/files/cciss_vol_status.cron2 b/sys-apps/cciss_vol_status/files/cciss_vol_status-r2.cron
index 43731b48e0c..43731b48e0c 100644
--- a/sys-apps/cciss_vol_status/files/cciss_vol_status.cron2
+++ b/sys-apps/cciss_vol_status/files/cciss_vol_status-r2.cron
diff --git a/sys-apps/cciss_vol_status/files/cciss_vol_status.cron b/sys-apps/cciss_vol_status/files/cciss_vol_status.cron
deleted file mode 100644
index 8d1175b4567..00000000000
--- a/sys-apps/cciss_vol_status/files/cciss_vol_status.cron
+++ /dev/null
@@ -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