Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/cciss_vol_status/, sys-apps/cciss_vol_status/files/
Date: Thu, 20 Aug 2020 15:13:15
Message-Id: 1597936339.0d9b862ee120eea07602551e1eca6989bf33a1fe.whissi@gentoo
1 commit: 0d9b862ee120eea07602551e1eca6989bf33a1fe
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 20 15:11:00 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 20 15:12:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9b862e
7
8 sys-apps/cciss_vol_status: bump to v1.12a
9
10 Package-Manager: Portage-3.0.3, Repoman-3.0.0
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-apps/cciss_vol_status/Manifest | 2 +-
14 ...us-1.12.ebuild => cciss_vol_status-1.12a.ebuild} | 6 +++---
15 ...ss_vol_status.cron2 => cciss_vol_status-r2.cron} | 0
16 .../cciss_vol_status/files/cciss_vol_status.cron | 21 ---------------------
17 4 files changed, 4 insertions(+), 25 deletions(-)
18
19 diff --git a/sys-apps/cciss_vol_status/Manifest b/sys-apps/cciss_vol_status/Manifest
20 index 93623f27e2b..a511002e096 100644
21 --- a/sys-apps/cciss_vol_status/Manifest
22 +++ b/sys-apps/cciss_vol_status/Manifest
23 @@ -1 +1 @@
24 -DIST cciss_vol_status-1.12.tar.gz 120346 BLAKE2B 8094f7b421c8c3f003f38cef380eb14c6778b750a62a5b8b94df955f87c0a77b1b7dfa9df16d6bb10f4955b6961b022b871fc39d143717b8024ec40fdb3b819f SHA512 f9fa8b98bd42810932f03f514b4b8c6cea690378f065a6c9788ddb78612c7ca2aa9a7fefa8a40634cfe247600fb6d3f11f0b687fba77d1423087a2b319773d69
25 +DIST cciss_vol_status-1.12a.tar.gz 120748 BLAKE2B 855712328e53165f6b7cf5858a1f73fe71a55570a104ad401cb8359ae9bccb3f2abc01d0e92f0001b8d69c732fadfe26c54a73e52af50cc544a76d13e72c6023 SHA512 c6aeae0d1fd66aabcd4a82f69b12433770fab2dde726bca67d97a09636e39f2eb596a0695afdb7e3e1a35c3d6882a9804a8263caa9b0dad97da8256afea778be
26
27 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
28 similarity index 80%
29 rename from sys-apps/cciss_vol_status/cciss_vol_status-1.12.ebuild
30 rename to sys-apps/cciss_vol_status/cciss_vol_status-1.12a.ebuild
31 index 8c5f27b9537..94fedd2679d 100644
32 --- a/sys-apps/cciss_vol_status/cciss_vol_status-1.12.ebuild
33 +++ b/sys-apps/cciss_vol_status/cciss_vol_status-1.12a.ebuild
34 @@ -1,7 +1,7 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 +# Copyright 1999-2020 Gentoo Authors
37 # Distributed under the terms of the GNU General Public License v2
38
39 -EAPI=6
40 +EAPI=7
41
42 IUSE=""
43 DESCRIPTION="Shows status of logical drives attached to HP SmartArray controllers"
44 @@ -17,5 +17,5 @@ src_install() {
45 emake DESTDIR="${D}" install
46 dodoc AUTHORS ChangeLog NEWS README
47 exeinto /etc/cron.hourly
48 - newexe "${FILESDIR}/cciss_vol_status.cron2" cciss_vol_status
49 + newexe "${FILESDIR}/cciss_vol_status-r2.cron" cciss_vol_status
50 }
51
52 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
53 similarity index 100%
54 rename from sys-apps/cciss_vol_status/files/cciss_vol_status.cron2
55 rename to sys-apps/cciss_vol_status/files/cciss_vol_status-r2.cron
56
57 diff --git a/sys-apps/cciss_vol_status/files/cciss_vol_status.cron b/sys-apps/cciss_vol_status/files/cciss_vol_status.cron
58 deleted file mode 100644
59 index 8d1175b4567..00000000000
60 --- a/sys-apps/cciss_vol_status/files/cciss_vol_status.cron
61 +++ /dev/null
62 @@ -1,21 +0,0 @@
63 -#!/bin/sh
64 -
65 -test -x /usr/bin/cciss_vol_status || exit 0
66 -
67 -STATUS=0
68 -
69 -if [ -d /proc/driver/cciss ]; then
70 - DEVS=`awk -F: '/^cciss\/c.*d0/{print "/dev/" $1}' /proc/driver/cciss/cciss*`
71 - OUTPUT=`/usr/bin/cciss_vol_status $DEVS`
72 - if [ $? -ne 0 ]; then
73 - printf "%s\n" "$OUTPUT"
74 - exit 1
75 - fi
76 -fi
77 -# FIXME: This cronjob should also look at the scsi generic nodes
78 -# (/dev/sg*?) to cover the hpsa driver, fibre-attached MSA1000 family
79 -# devices, orthehpahcisr software RAID driver (see cciss_vol_status(8)
80 -# about how to choose the correct nodes -- i don't use these other
81 -# devices, so i cannot verify how to check them cleanly)
82 -#
83 -exit 0