From 8e427637ea7c6d9528eaefb9410d7e1b6cf369eb Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Tue, 3 Oct 2017 17:02:59 +0200 Subject: sys-apps/lm_sensors: New snapshot release from 2017-09-01 Package-Manager: Portage-2.3.10, Repoman-2.3.3 --- .../lm_sensors/lm_sensors-3.4.0_p20170901.ebuild | 215 +++++++++++++++++++++ 1 file changed, 215 insertions(+) create mode 100644 sys-apps/lm_sensors/lm_sensors-3.4.0_p20170901.ebuild (limited to 'sys-apps/lm_sensors/lm_sensors-3.4.0_p20170901.ebuild') diff --git a/sys-apps/lm_sensors/lm_sensors-3.4.0_p20170901.ebuild b/sys-apps/lm_sensors/lm_sensors-3.4.0_p20170901.ebuild new file mode 100644 index 000000000000..e8e4a92c8a22 --- /dev/null +++ b/sys-apps/lm_sensors/lm_sensors-3.4.0_p20170901.ebuild @@ -0,0 +1,215 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit linux-info systemd toolchain-funcs multilib-minimal + +DESCRIPTION="Hardware Monitoring user-space utilities" +HOMEPAGE="https://hwmon.wiki.kernel.org/ https://github.com/groeck/lm-sensors" + +COMMIT="83cafd29f28d463573750d897014ec7143217ae5" +MY_PN="${PN/_/-}" + +#SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${P}.tar.bz2" +SRC_URI="https://github.com/groeck/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2.1" + +# SUBSLOT based on SONAME of libsensors.so +SLOT="0/4.4.0" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="contrib sensord static-libs" + +COMMON_DEPS=" + sensord? ( + net-analyzer/rrdtool + virtual/logger + )" + +RDEPEND="${COMMON_DEPS} + dev-lang/perl + !\", \"HWMON_MODULES\" or \"BUS_MODULES\"" + elog " variables from \"/etc/conf.d/lm_modules\" to" + elog " \"/etc/modules-load.d/lm_sensors.conf\" and adjust format." + elog "" + elog " For details see https://wiki.gentoo.org/wiki/Systemd#Automatic_module_loading" + elog "" + elog " Important: Don't forget to migrate your module's argument" + elog " (modules__args variable) if your are not already" + elog " using \"/etc/modprobe.d\" (which is recommended)." + + # Show this elog only once + break + fi + done + + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # New installation + + elog "" + elog "Please run \`/usr/sbin/sensors-detect' in order to setup" + elog "\"/etc/modules-load.d/lm_sensors.conf\"." + elog "" + elog "You might want to add ${PN} to your default runlevel to make" + elog "sure the sensors get initialized on the next startup." + elog "" + elog "Be warned, the probing of hardware in your system performed by" + elog "sensors-detect could freeze your system. Also make sure you read" + elog "the documentation before running ${PN} on IBM ThinkPads." + fi +} -- cgit v1.2.3-65-gdbad