1 |
commit: 65f06226327db809b0bec2706ed9be0b86374576 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 21 13:44:46 2019 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 23 17:28:11 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f06226 |
7 |
|
8 |
net-analyzer/nagios-plugin-check_lm_sensors: new pkg, v4.1.1_p20170912 |
9 |
|
10 |
Package-Manager: Portage-2.3.56, Repoman-2.3.12 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
|
13 |
.../nagios-plugin-check_lm_sensors/Manifest | 1 + |
14 |
.../nagios-plugin-check_lm_sensors/metadata.xml | 12 ++++++++ |
15 |
...-plugin-check_lm_sensors-4.1.1_p20170912.ebuild | 36 ++++++++++++++++++++++ |
16 |
3 files changed, 49 insertions(+) |
17 |
|
18 |
diff --git a/net-analyzer/nagios-plugin-check_lm_sensors/Manifest b/net-analyzer/nagios-plugin-check_lm_sensors/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..1dcf0ec3498 |
21 |
--- /dev/null |
22 |
+++ b/net-analyzer/nagios-plugin-check_lm_sensors/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST nagios-plugin-check_lm_sensors-4.1.1_p20170912.tar.gz 21681 BLAKE2B 7144c9b9fc4a2b2ccd964ce356809e8ea393b05f86015e5efe5b0ef70fccb585d520fdbba486fd1637c0ef9d2853d270cfb069f6bed22a105b5d80977a8481d7 SHA512 7870e29f58179bd71c917c2bcfe7ff0ee9f28be8b41b19b8f4f3e623fc3ca12395d6dbd55eef3f4084b3fedf2b1c4dc745357d045d19e1f00a3fe2e24a236e77 |
25 |
|
26 |
diff --git a/net-analyzer/nagios-plugin-check_lm_sensors/metadata.xml b/net-analyzer/nagios-plugin-check_lm_sensors/metadata.xml |
27 |
new file mode 100644 |
28 |
index 00000000000..3ded77e652f |
29 |
--- /dev/null |
30 |
+++ b/net-analyzer/nagios-plugin-check_lm_sensors/metadata.xml |
31 |
@@ -0,0 +1,12 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+ <maintainer type="person"> |
36 |
+ <email>sbraz@g.o</email> |
37 |
+ <name>Louis Sautier</name> |
38 |
+ </maintainer> |
39 |
+ <upstream> |
40 |
+ <remote-id type="github">matteocorti/check_lm_sensors</remote-id> |
41 |
+ <bugs-to>https://github.com/matteocorti/check_lm_sensors/issues</bugs-to> |
42 |
+ </upstream> |
43 |
+</pkgmetadata> |
44 |
|
45 |
diff --git a/net-analyzer/nagios-plugin-check_lm_sensors/nagios-plugin-check_lm_sensors-4.1.1_p20170912.ebuild b/net-analyzer/nagios-plugin-check_lm_sensors/nagios-plugin-check_lm_sensors-4.1.1_p20170912.ebuild |
46 |
new file mode 100644 |
47 |
index 00000000000..4587bb043e4 |
48 |
--- /dev/null |
49 |
+++ b/net-analyzer/nagios-plugin-check_lm_sensors/nagios-plugin-check_lm_sensors-4.1.1_p20170912.ebuild |
50 |
@@ -0,0 +1,36 @@ |
51 |
+# Copyright 1999-2019 Gentoo Authors |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=6 |
55 |
+ |
56 |
+inherit perl-module vcs-snapshot |
57 |
+ |
58 |
+MY_PN="${PN/nagios-plugin-/}" |
59 |
+MY_COMMIT="36e453f791f0c8e32c2ead204f68511fd2ad4529" |
60 |
+ |
61 |
+DESCRIPTION="Nagios plugin to monitor the values of onboard sensors and disk temperatures" |
62 |
+HOMEPAGE="https://github.com/matteocorti/check_lm_sensors" |
63 |
+SRC_URI="https://github.com/matteocorti/${MY_PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" |
64 |
+ |
65 |
+LICENSE="GPL-3+" |
66 |
+SLOT="0" |
67 |
+KEYWORDS="~amd64" |
68 |
+ |
69 |
+DEPEND="dev-perl/Module-Install" |
70 |
+RDEPEND=" |
71 |
+ dev-perl/Monitoring-Plugin |
72 |
+ virtual/perl-Getopt-Long |
73 |
+" |
74 |
+ |
75 |
+src_compile() { |
76 |
+ default |
77 |
+ pod2man ${MY_PN}.pod > ${MY_PN}.1 || die |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ perl-module_src_install |
82 |
+ doman ${MY_PN}.1 |
83 |
+ local plugindir="/usr/$(get_libdir)/nagios/plugins" |
84 |
+ dodir "${plugindir}" |
85 |
+ mv "${ED}/usr/bin/${MY_PN}" "${ED}/${plugindir}" || die |
86 |
+} |