Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/files/, app-laptop/thinkfan/
Date: Sun, 12 Feb 2017 15:58:36
Message-Id: 1486915110.b528701db06adfdc4385e1c5afde1c0290b163ec.xmw@gentoo
1 commit: b528701db06adfdc4385e1c5afde1c0290b163ec
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 12 15:58:10 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 12 15:58:30 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b528701d
7
8 app-laptop/thinkfan: Remove old version.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 app-laptop/thinkfan/Manifest | 1 -
13 .../thinkfan/files/thinkfan-0.9.2-openrc.patch | 11 -----
14 app-laptop/thinkfan/thinkfan-0.9.2-r1.ebuild | 49 ----------------------
15 3 files changed, 61 deletions(-)
16
17 diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
18 index 2cada92210..7afd98ae6a 100644
19 --- a/app-laptop/thinkfan/Manifest
20 +++ b/app-laptop/thinkfan/Manifest
21 @@ -1,2 +1 @@
22 -DIST thinkfan-0.9.2.tar.gz 39539 SHA256 90daa0f2db221e1d5085d7f25cb6c63608d174db2987478c340e9523e652af79 SHA512 b27fd60a02ad06d30485ae3d658af6b9e79af3c898f415d0ff613839424f5dc9731be03d1d9bf3ed1311ecd0778aef5b30fa908cab386cf419db77ae29940684 WHIRLPOOL 2ca120ad9cf4960c7536cf6252b711257cbb7c1ca6061d028aebf53fd18e41d3b852d36158bddd18f791e1128b98d35a3f68fae5bb29077820f4dff6fc9b1919
23 DIST thinkfan-0.9.3.tar.gz 39527 SHA256 b61c634996c450445d7e440bf41f7adcda86506063f832afa40d44e01061e45b SHA512 d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7 WHIRLPOOL 3bdbc0ca3731fef85e385b3259cc9ce6bf4c3b15195138caf5b192847bbba411068d00df8e5673600796e15d4d965c116b73745e787bea9f5a68dbbb5ee118db
24
25 diff --git a/app-laptop/thinkfan/files/thinkfan-0.9.2-openrc.patch b/app-laptop/thinkfan/files/thinkfan-0.9.2-openrc.patch
26 deleted file mode 100644
27 index 34e665321f..0000000000
28 --- a/app-laptop/thinkfan/files/thinkfan-0.9.2-openrc.patch
29 +++ /dev/null
30 @@ -1,11 +0,0 @@
31 ---- thinkfan-0.9.2/rcscripts/thinkfan.gentoo
32 -+++ thinkfan-0.9.2/rcscripts/thinkfan.gentoo
33 -@@ -11,7 +11,7 @@
34 -
35 - start() {
36 - ebegin "Starting thinkfan"
37 -- start-stop-daemon --start --exec /usr/sbin/thinkfan -- -q -s5 -c /etc/thinkfan.com
38 -+ start-stop-daemon --start --exec /usr/sbin/thinkfan -- -q -s5 -c /etc/thinkfan.conf
39 - eend $?
40 - }
41 -
42
43 diff --git a/app-laptop/thinkfan/thinkfan-0.9.2-r1.ebuild b/app-laptop/thinkfan/thinkfan-0.9.2-r1.ebuild
44 deleted file mode 100644
45 index b3688a5b4b..0000000000
46 --- a/app-laptop/thinkfan/thinkfan-0.9.2-r1.ebuild
47 +++ /dev/null
48 @@ -1,49 +0,0 @@
49 -# Copyright 1999-2015 Gentoo Foundation
50 -# Distributed under the terms of the GNU General Public License v2
51 -# $Id$
52 -
53 -EAPI=5
54 -
55 -inherit cmake-utils readme.gentoo systemd
56 -
57 -DESCRIPTION="simple fan control program for thinkpads"
58 -HOMEPAGE="http://thinkfan.sourceforge.net"
59 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
60 -
61 -LICENSE="GPL-3"
62 -SLOT="0"
63 -KEYWORDS="amd64 x86"
64 -IUSE="atasmart"
65 -
66 -DEPEND="atasmart? ( dev-libs/libatasmart )"
67 -RDEPEND="${DEPEND}"
68 -
69 -S="${WORKDIR}"
70 -
71 -src_prepare() {
72 - epatch "${FILESDIR}"/${P}-openrc.patch
73 -
74 - sed -e "s:share/doc/${PN}:share/doc/${P}:" \
75 - -i CMakeLists.txt
76 -}
77 -
78 -src_configure() {
79 - mycmakeargs+=(
80 - "-DCMAKE_BUILD_TYPE:STRING=Debug"
81 - "$(cmake-utils_use_use atasmart ATASMART)"
82 - )
83 -
84 - cmake-utils_src_configure
85 -}
86 -
87 -src_install() {
88 - cmake-utils_src_install
89 -
90 - newinitd rcscripts/${PN}.gentoo ${PN}
91 - systemd_dounit rcscripts/${PN}.service
92 -
93 - readme.gentoo_create_doc
94 -}
95 -
96 -DOC_CONTENTS="Please read the documentation and copy an
97 -appropriate file to /etc/thinkfan.conf."