summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-02-13 02:27:51 +0000
committerMichael Weber <xmw@gentoo.org>2012-02-13 02:27:51 +0000
commitf5769c8da1985ec46a7adb412faac6e803057561 (patch)
treeaa2a726ed68a7fb771d6ad4fb7c4a0a4267f8a63 /app-laptop/thinkfan
parentapp-laptop/thinkfan masked for testing (diff)
downloadhistorical-f5769c8da1985ec46a7adb412faac6e803057561.tar.gz
historical-f5769c8da1985ec46a7adb412faac6e803057561.tar.bz2
historical-f5769c8da1985ec46a7adb412faac6e803057561.zip
Initial import. Thanks Maxim Konyushikhin for the initial ebuild (bug 387399)
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'app-laptop/thinkfan')
-rw-r--r--app-laptop/thinkfan/ChangeLog12
-rw-r--r--app-laptop/thinkfan/Manifest18
-rw-r--r--app-laptop/thinkfan/files/thinkfan-0.7.3-makefile.patch28
-rw-r--r--app-laptop/thinkfan/files/thinkfan-0.7.3-openrc.patch11
-rw-r--r--app-laptop/thinkfan/metadata.xml9
-rw-r--r--app-laptop/thinkfan/thinkfan-0.7.3.ebuild39
-rw-r--r--app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild40
7 files changed, 157 insertions, 0 deletions
diff --git a/app-laptop/thinkfan/ChangeLog b/app-laptop/thinkfan/ChangeLog
new file mode 100644
index 000000000000..ab5dcc54a365
--- /dev/null
+++ b/app-laptop/thinkfan/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-laptop/thinkfan
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkfan/ChangeLog,v 1.1 2012/02/13 02:27:50 xmw Exp $
+
+*thinkfan-0.8_alpha2 (13 Feb 2012)
+*thinkfan-0.7.3 (13 Feb 2012)
+
+ 13 Feb 2012; Michael Weber <xmw@gentoo.org> +thinkfan-0.7.3.ebuild,
+ +files/thinkfan-0.7.3-makefile.patch, +files/thinkfan-0.7.3-openrc.patch,
+ +thinkfan-0.8_alpha2.ebuild:
+ Initial import. Thanks Maxim Konyushikhin for the initial ebuild (bug 387399)
+
diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
new file mode 100644
index 000000000000..bf83e672ac2a
--- /dev/null
+++ b/app-laptop/thinkfan/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX thinkfan-0.7.3-makefile.patch 825 RMD160 c7736f22504ef6c1e3097515885a9471dba0f8f9 SHA1 1e26c78fc2a82026716ee460c49cdf14c1a04310 SHA256 7e63b1b32ef6efb4b449b1a469767291ed3f7488f9bab9e473dbe5f6f846895c
+AUX thinkfan-0.7.3-openrc.patch 380 RMD160 655bc2456ddc2e37c68b2f21718797bc7148e14c SHA1 aa5daf3f67dd246fa462ff93216c39addaa42bd8 SHA256 4facb9c03072daa239a4edabcf350b71fc9cac27c9ff40e09c719cc14aa5b1a7
+DIST thinkfan-0.7.3.tar.gz 22488 RMD160 aafdfdcd1eb86c59405e3381210d93989d24b899 SHA1 9438d21efe4abc3220d1390052419c1dd40bf62c SHA256 88374dd89af073f658b507942cdb569ef8cd2810e39cbf71da17455282a4b32e
+DIST thinkfan-0.8_alpha2.tar.gz 26571 RMD160 25b448b133ade35cc5af235dcfe52f8898275821 SHA1 64a10ff959e4e68e630b29c5f74a8159a507a70a SHA256 28f4ee9a833ef4d39258941c7bbcbd49ad6410479417bb4acf05e58da67f10eb
+EBUILD thinkfan-0.7.3.ebuild 865 RMD160 42c921ef9088a2e167b43a48a76c1fca564deeb0 SHA1 5037194dfc3137048115b987de90eec09088d8cb SHA256 22fd911fbad3e224438f4db65bbf8bfe4ee6900fdf4ded4c882c2f2b2860e591
+EBUILD thinkfan-0.8_alpha2.ebuild 905 RMD160 d76ebe159f5ccfa342347aab6fd208ebe6589026 SHA1 29587aa76c9e400f214923aa293b3cdbccf4b513 SHA256 06d54b10d2558ecd4293c0cb9f0f86a2356852d9f9fd78245d888705c52d0121
+MISC ChangeLog 532 RMD160 84f2b439444eb816d11d620301c45e3951ea70a1 SHA1 96ae7cad3f4e25d1df3fb56fd1e369f3d25ae171 SHA256 3c4df29fcc156c771765b0187deca23289b433543c1b635fd512e2891f07583f
+MISC metadata.xml 224 RMD160 2a7e22a99ec669c5b961c3d1738a0cda58264318 SHA1 f6fd81fac4df7d7995b1600848b265fceda692f8 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk84dS8ACgkQknrdDGLu8JBqvgD+KHQ4xd8XppKQ0NLto4W5S+WH
+zmX5HjAfY6u80gjAOXQA/RG+N7+gTrieO+GRzNWBWYt0pRxeXaOeedSyUHX1lzZn
+=W0ZA
+-----END PGP SIGNATURE-----
diff --git a/app-laptop/thinkfan/files/thinkfan-0.7.3-makefile.patch b/app-laptop/thinkfan/files/thinkfan-0.7.3-makefile.patch
new file mode 100644
index 000000000000..fac489464079
--- /dev/null
+++ b/app-laptop/thinkfan/files/thinkfan-0.7.3-makefile.patch
@@ -0,0 +1,28 @@
+--- thinkfan-0.7.3/Makefile
++++ thinkfan-0.7.3/Makefile
+@@ -1,20 +1,12 @@
+ .DEFAULT_GOAL := thinkfan
+
+-thinkfan: system.o parser.o config.o thinkfan.o message.o
+- gcc $(CFLAGS) -Wall -o thinkfan system.o config.o parser.o \
+- thinkfan.o message.o
+-
+-message.o: message.c globaldefs.h
+- gcc $(CFLAGS) -Wall -c message.c
++CC ?= gcc
+
+-system.o: system.c system.h message.h globaldefs.h parser.h
+- gcc $(CFLAGS) -Wall -c system.c
+-
+-config.o: config.c config.h message.h globaldefs.h system.h parser.h
+- gcc $(CFLAGS) -Wall -c config.c
++thinkfan: system.o parser.o config.o thinkfan.o message.o
++ $(CC) $(LDFLAGS) -Wall -o $@ $^
+
+-thinkfan.o: thinkfan.c thinkfan.h message.h globaldefs.h config.h
+- gcc $(CFLAGS) -Wall -c thinkfan.c
++%.o: %.c
++ $(CC) $(CFLAGS) -Wall -c -o $@ $<
+
+ clean:
+ rm -rf *.o thinkfan
diff --git a/app-laptop/thinkfan/files/thinkfan-0.7.3-openrc.patch b/app-laptop/thinkfan/files/thinkfan-0.7.3-openrc.patch
new file mode 100644
index 000000000000..3ef027653cf9
--- /dev/null
+++ b/app-laptop/thinkfan/files/thinkfan-0.7.3-openrc.patch
@@ -0,0 +1,11 @@
+--- thinkfan-0.7.3/rcscripts/thinkfan.gentoo
++++ thinkfan-0.7.3/rcscripts/thinkfan.gentoo
+@@ -3,7 +3,7 @@
+ # Distributed under the terms of the GNU General Public License v2
+ # $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkfan/files/thinkfan-0.7.3-openrc.patch,v 1.1 2012/02/13 02:27:51 xmw Exp $
+
+-opts="reload"
++extra_started_commands="reload"
+
+ depend() {
+ after modules
diff --git a/app-laptop/thinkfan/metadata.xml b/app-laptop/thinkfan/metadata.xml
new file mode 100644
index 000000000000..59acc2cc580e
--- /dev/null
+++ b/app-laptop/thinkfan/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/app-laptop/thinkfan/thinkfan-0.7.3.ebuild b/app-laptop/thinkfan/thinkfan-0.7.3.ebuild
new file mode 100644
index 000000000000..2cbe58e9c6fb
--- /dev/null
+++ b/app-laptop/thinkfan/thinkfan-0.7.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkfan/thinkfan-0.7.3.ebuild,v 1.1 2012/02/13 02:27:50 xmw Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="simple fan control program for thinkpads"
+HOMEPAGE="http://thinkfan.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch \
+ "${FILESDIR}"/${P}-openrc.patch
+ tc-export CC
+}
+
+src_install() {
+ dosbin ${PN}
+
+ newinitd rcscripts/thinkfan.gentoo ${PN}
+
+ doman ${PN}.1
+ dodoc ChangeLog NEWS README ${PN}.conf.{sysfs,thinkpad}
+}
+
+pkg_postinst() {
+ elog "Please read the documentation and copy an"
+ elog "appropriate file to /etc/thinkfan.conf."
+}
diff --git a/app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild b/app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild
new file mode 100644
index 000000000000..e1107ee82662
--- /dev/null
+++ b/app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild,v 1.1 2012/02/13 02:27:50 xmw Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="simple fan control program for thinkpads"
+HOMEPAGE="http://thinkfan.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.7.3-makefile.patch \
+ "${FILESDIR}"/${PN}-0.7.3-openrc.patch
+ tc-export CC
+}
+
+src_install() {
+ dosbin ${PN}
+
+ newinitd rcscripts/thinkfan.gentoo ${PN}
+
+ doman ${PN}.1
+ dodoc ChangeLog NEWS README \
+ examples/${PN}.conf.{complex,sysfs,thinkpad}
+}
+
+pkg_postinst() {
+ elog "Please read the documentation and copy an"
+ elog "appropriate file to /etc/thinkfan.conf."
+}