1 |
commit: 22c432c0273f91f4e7f093fec3a2edc4f71071d0 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 3 20:02:20 2019 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 3 20:03:55 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c432c0 |
7 |
|
8 |
net-analyzer/nagios-plugin-check_lm_sensors: bump to 4.1.1_p20191028 |
9 |
|
10 |
This version uses sensors's JSON output and works properly with |
11 |
sys-apps/lm-sensors-3.6.0. |
12 |
|
13 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
14 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
15 |
|
16 |
.../nagios-plugin-check_lm_sensors/Manifest | 1 + |
17 |
...-plugin-check_lm_sensors-4.1.1_p20191028.ebuild | 37 ++++++++++++++++++++++ |
18 |
2 files changed, 38 insertions(+) |
19 |
|
20 |
diff --git a/net-analyzer/nagios-plugin-check_lm_sensors/Manifest b/net-analyzer/nagios-plugin-check_lm_sensors/Manifest |
21 |
index 1dcf0ec3498..563a41bf8ee 100644 |
22 |
--- a/net-analyzer/nagios-plugin-check_lm_sensors/Manifest |
23 |
+++ b/net-analyzer/nagios-plugin-check_lm_sensors/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST nagios-plugin-check_lm_sensors-4.1.1_p20170912.tar.gz 21681 BLAKE2B 7144c9b9fc4a2b2ccd964ce356809e8ea393b05f86015e5efe5b0ef70fccb585d520fdbba486fd1637c0ef9d2853d270cfb069f6bed22a105b5d80977a8481d7 SHA512 7870e29f58179bd71c917c2bcfe7ff0ee9f28be8b41b19b8f4f3e623fc3ca12395d6dbd55eef3f4084b3fedf2b1c4dc745357d045d19e1f00a3fe2e24a236e77 |
26 |
+DIST nagios-plugin-check_lm_sensors-4.1.1_p20191028.tar.gz 21775 BLAKE2B d1b9946f45ea30e66baa87825c29aa64f18927ec5c07641d05789f189bc3aacb9764b3790eaa699d83c11860027bc36af9b85ba95b2845afa7533d03fd9d153d SHA512 4473719e5631edbebb8d8ee79578243a97c46cf70a14a2c780560df811f9d4d63081788b2059a9636f26d19a68ac0a44d6b68a4b386b1145d3f3fad8d60439fe |
27 |
|
28 |
diff --git a/net-analyzer/nagios-plugin-check_lm_sensors/nagios-plugin-check_lm_sensors-4.1.1_p20191028.ebuild b/net-analyzer/nagios-plugin-check_lm_sensors/nagios-plugin-check_lm_sensors-4.1.1_p20191028.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..cd457b7e25d |
31 |
--- /dev/null |
32 |
+++ b/net-analyzer/nagios-plugin-check_lm_sensors/nagios-plugin-check_lm_sensors-4.1.1_p20191028.ebuild |
33 |
@@ -0,0 +1,37 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit perl-module vcs-snapshot |
40 |
+ |
41 |
+MY_PN="${PN/nagios-plugin-/}" |
42 |
+MY_COMMIT="80db8aa58be8f5d7800564d62305281be1ec8e6b" |
43 |
+ |
44 |
+DESCRIPTION="Nagios plugin to monitor the values of onboard sensors and disk temperatures" |
45 |
+HOMEPAGE="https://github.com/matteocorti/check_lm_sensors" |
46 |
+SRC_URI="https://github.com/matteocorti/${MY_PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-3+" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64" |
51 |
+ |
52 |
+DEPEND="dev-perl/Module-Install" |
53 |
+RDEPEND=" |
54 |
+ dev-perl/JSON-MaybeXS |
55 |
+ dev-perl/Monitoring-Plugin |
56 |
+ virtual/perl-Getopt-Long |
57 |
+" |
58 |
+ |
59 |
+src_compile() { |
60 |
+ default |
61 |
+ pod2man ${MY_PN}.pod > ${MY_PN}.1 || die |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ perl-module_src_install |
66 |
+ doman ${MY_PN}.1 |
67 |
+ local plugindir="/usr/$(get_libdir)/nagios/plugins" |
68 |
+ dodir "${plugindir}" |
69 |
+ mv "${ED}/usr/bin/${MY_PN}" "${ED}/${plugindir}" || die |
70 |
+} |