From ddfe5bf28b37137e8bb0ac93b9bc25326110878b Mon Sep 17 00:00:00 2001 From: root Date: Mon, 17 Oct 2016 16:23:20 +0300 Subject: [PATCH] Sync with portage [Mon Oct 17 16:23:20 MSK 2016]. --- app-laptop/mbpfan/Manifest | 1 + app-laptop/mbpfan/mbpfan-1.9.1.ebuild | 34 ++++++++++++++++++++++ app-laptop/mbpfan/mbpfan-9999.ebuild | 33 +++++++++++++++++++++ app-laptop/mbpfan/metadata.xml | 18 ++++++++++++ metadata/dtd/timestamp.chk | 2 +- metadata/glsa/timestamp.chk | 2 +- metadata/md5-cache/app-laptop/mbpfan-1.9.1 | 12 ++++++++ metadata/md5-cache/app-laptop/mbpfan-9999 | 10 +++++++ metadata/news/timestamp.chk | 2 +- metadata/timestamp | 2 +- metadata/timestamp.chk | 2 +- metadata/timestamp.x | 2 +- metadata/xml-schema/timestamp.chk | 2 +- 13 files changed, 115 insertions(+), 7 deletions(-) create mode 100644 app-laptop/mbpfan/Manifest create mode 100644 app-laptop/mbpfan/mbpfan-1.9.1.ebuild create mode 100644 app-laptop/mbpfan/mbpfan-9999.ebuild create mode 100644 app-laptop/mbpfan/metadata.xml create mode 100644 metadata/md5-cache/app-laptop/mbpfan-1.9.1 create mode 100644 metadata/md5-cache/app-laptop/mbpfan-9999 diff --git a/app-laptop/mbpfan/Manifest b/app-laptop/mbpfan/Manifest new file mode 100644 index 000000000000..ab157497f559 --- /dev/null +++ b/app-laptop/mbpfan/Manifest @@ -0,0 +1 @@ +DIST mbpfan-1.9.1.tar.gz 24393 SHA256 a7cf850a393ebfce21427b992436b84cc4b20e1cb8d673d45d2c8b991c69e68c SHA512 04f1f70697ccd182c329588623c6664979e1cc25db8a39a2ea9f6d1ec49f3914172c3ada392fabc9ac51a811f36087dc600426c34c201d02a5d7b791b04f0f3b WHIRLPOOL a97cc5eb8ebb25353e5fe7b86854daf52bfa99b6ad3a490ef3006fdd9162b8c96840692d1939071e4404438535e4f44f0a5b41cc5cb43b115046fe4b3fd89a8a diff --git a/app-laptop/mbpfan/mbpfan-1.9.1.ebuild b/app-laptop/mbpfan/mbpfan-1.9.1.ebuild new file mode 100644 index 000000000000..53c7ae432df8 --- /dev/null +++ b/app-laptop/mbpfan/mbpfan-1.9.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit linux-info systemd toolchain-funcs + +DESCRIPTION="A simple daemon to control fan speed on all Macbook/Macbook Pros" +HOMEPAGE="https://github.com/dgraziotin/mbpfan" +SRC_URI="https://github.com/dgraziotin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="test" # will fail if the hardware is unavailable, not useful + +CONFIG_CHECK="~SENSORS_APPLESMC ~SENSORS_CORETEMP" + +src_prepare() { + sed -i -e "s:g++:$(tc-getCXX):g" Makefile || die + default +} + +src_install() { + dosbin bin/mbpfan + + insinto /etc + doins ${PN}.conf + + newinitd ${PN}.init.gentoo ${PN} + systemd_dounit ${PN}.service + + einstalldocs +} diff --git a/app-laptop/mbpfan/mbpfan-9999.ebuild b/app-laptop/mbpfan/mbpfan-9999.ebuild new file mode 100644 index 000000000000..81491b68c274 --- /dev/null +++ b/app-laptop/mbpfan/mbpfan-9999.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit git-r3 linux-info systemd toolchain-funcs + +DESCRIPTION="A simple daemon to control fan speed on all Macbook/Macbook Pros" +HOMEPAGE="https://github.com/dgraziotin/mbpfan" +EGIT_REPO_URI="git://github.com/dgraziotin/${PN}.git" +LICENSE="GPL-3+" +SLOT="0" +RESTRICT="test" # will fail if the hardware is unavailable, not useful + +CONFIG_CHECK="~SENSORS_APPLESMC ~SENSORS_CORETEMP" + +src_prepare() { + sed -i -e "s:g++:$(tc-getCXX):g" Makefile || die + default +} + +src_install() { + emake DESTDIR="${D%/}" install + + rm -r "${D}"usr/share/doc/${PN} || die + rm -r "${D}"lib/systemd/system || die + + newinitd ${PN}.init.gentoo ${PN} + systemd_dounit ${PN}.service + + einstalldocs +} diff --git a/app-laptop/mbpfan/metadata.xml b/app-laptop/mbpfan/metadata.xml new file mode 100644 index 000000000000..95aa53e5c65e --- /dev/null +++ b/app-laptop/mbpfan/metadata.xml @@ -0,0 +1,18 @@ + + + + + gokturk@gentoo.org + Göktürk Yüksek + + + mbpfan is a daemon that uses input from coretemp module and sets + the fan speed using the applesmc module. This is an enhanced + version of Allan McRae mbpfan. This enhanced version assumes any + number of processors and fans. + + + https://github.com/dgraziotin/mbpfan/issues + dgraziotin/mbpfan + + diff --git a/metadata/dtd/timestamp.chk b/metadata/dtd/timestamp.chk index e5589a4d3a7b..e26863f60842 100644 --- a/metadata/dtd/timestamp.chk +++ b/metadata/dtd/timestamp.chk @@ -1 +1 @@ -Mon, 17 Oct 2016 11:10:37 +0000 +Mon, 17 Oct 2016 12:40:39 +0000 diff --git a/metadata/glsa/timestamp.chk b/metadata/glsa/timestamp.chk index e5589a4d3a7b..e26863f60842 100644 --- a/metadata/glsa/timestamp.chk +++ b/metadata/glsa/timestamp.chk @@ -1 +1 @@ -Mon, 17 Oct 2016 11:10:37 +0000 +Mon, 17 Oct 2016 12:40:39 +0000 diff --git a/metadata/md5-cache/app-laptop/mbpfan-1.9.1 b/metadata/md5-cache/app-laptop/mbpfan-1.9.1 new file mode 100644 index 000000000000..027017af6797 --- /dev/null +++ b/metadata/md5-cache/app-laptop/mbpfan-1.9.1 @@ -0,0 +1,12 @@ +DEFINED_PHASES=install prepare setup +DEPEND=virtual/pkgconfig +DESCRIPTION=A simple daemon to control fan speed on all Macbook/Macbook Pros +EAPI=6 +HOMEPAGE=https://github.com/dgraziotin/mbpfan +KEYWORDS=~amd64 +LICENSE=GPL-3+ +RESTRICT=test +SLOT=0 +SRC_URI=https://github.com/dgraziotin/mbpfan/archive/v1.9.1.tar.gz -> mbpfan-1.9.1.tar.gz +_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 linux-info fd1e29abbb02cbc49f1a14299846e9c4 multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c +_md5_=f7309749bce9bfaebcdb081a2beec3a7 diff --git a/metadata/md5-cache/app-laptop/mbpfan-9999 b/metadata/md5-cache/app-laptop/mbpfan-9999 new file mode 100644 index 000000000000..d6d5c163b09c --- /dev/null +++ b/metadata/md5-cache/app-laptop/mbpfan-9999 @@ -0,0 +1,10 @@ +DEFINED_PHASES=install prepare setup unpack +DEPEND=>=dev-vcs/git-1.8.2.1 virtual/pkgconfig +DESCRIPTION=A simple daemon to control fan speed on all Macbook/Macbook Pros +EAPI=6 +HOMEPAGE=https://github.com/dgraziotin/mbpfan +LICENSE=GPL-3+ +RESTRICT=test +SLOT=0 +_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 git-r3 00f60a84fc7b499c99edfe99caea9f95 linux-info fd1e29abbb02cbc49f1a14299846e9c4 multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c +_md5_=a6e6148106a759ac97f9290eaf5b4727 diff --git a/metadata/news/timestamp.chk b/metadata/news/timestamp.chk index e5589a4d3a7b..e26863f60842 100644 --- a/metadata/news/timestamp.chk +++ b/metadata/news/timestamp.chk @@ -1 +1 @@ -Mon, 17 Oct 2016 11:10:37 +0000 +Mon, 17 Oct 2016 12:40:39 +0000 diff --git a/metadata/timestamp b/metadata/timestamp index 990f8ad4ee59..b686eb9bed36 100644 --- a/metadata/timestamp +++ b/metadata/timestamp @@ -1 +1 @@ -Mon Oct 17 11:09:42 UTC 2016 +Mon Oct 17 12:39:44 UTC 2016 diff --git a/metadata/timestamp.chk b/metadata/timestamp.chk index 7aecad7db56e..ed9b449656c0 100644 --- a/metadata/timestamp.chk +++ b/metadata/timestamp.chk @@ -1 +1 @@ -Mon, 17 Oct 2016 11:30:01 +0000 +Mon, 17 Oct 2016 13:00:01 +0000 diff --git a/metadata/timestamp.x b/metadata/timestamp.x index b6c711afa36d..ddff560aa6e0 100644 --- a/metadata/timestamp.x +++ b/metadata/timestamp.x @@ -1 +1 @@ -1476702601 Mon 17 Oct 2016 11:10:01 AM UTC +1476708001 Mon 17 Oct 2016 12:40:01 PM UTC diff --git a/metadata/xml-schema/timestamp.chk b/metadata/xml-schema/timestamp.chk index e5589a4d3a7b..e26863f60842 100644 --- a/metadata/xml-schema/timestamp.chk +++ b/metadata/xml-schema/timestamp.chk @@ -1 +1 @@ -Mon, 17 Oct 2016 11:10:37 +0000 +Mon, 17 Oct 2016 12:40:39 +0000