debian/0000755000000000000000000000000012012106021007147 5ustar debian/compat0000644000000000000000000000000212012105772010361 0ustar 9 debian/control0000644000000000000000000000157112012105772010572 0ustar Source: thinkfan Section: misc Priority: extra Maintainer: Evgeni Golov Build-Depends: debhelper (>= 9) Standards-Version: 3.9.3 Homepage: http://sourceforge.net/projects/thinkfan/ Vcs-Git: git://git.debian.org/users/evgeni/thinkfan.git Vcs-Browser: http://git.debian.org/?p=users/evgeni/thinkfan.git Package: thinkfan Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: simple and lightweight fan control program Some hardware has a kind of broken fan-control and lets the fan run faster than really needed. Thinkfan will prevent this by controlling the fan on its own (the fan speed for each temperature interval can be adjusted in the configuration file). . Originally designed specifically for IBM/Lenovo Thinkpads, it supports any kind of system via the sysfs hwmon interface. It is designed to eat as little CPU power as possible. debian/changelog0000644000000000000000000001023112012106150011021 0ustar thinkfan (0.8.1-1) unstable; urgency=low * Imported Upstream version 0.8.1 + Does not write "level X" to sysfs anymore. Closes: #684315 -- Evgeni Golov Mon, 13 Aug 2012 07:09:37 +0200 thinkfan (0.8.0-1) unstable; urgency=low * Imported Upstream version 0.8.0 * do not override dh_auto_clean * Standards-Version: 3.9.3 * use dh 9 for hardening flags * switch to source format 3.0 (quilt) * use CPPFLAGS in the Makefile * do not use $(< ...) in the systemd file -- Evgeni Golov Wed, 06 Jun 2012 21:36:00 +0200 thinkfan (0.8~alpha2-1) experimental; urgency=low [ Mika Pflüger ] * New Upstream release. + Adds complex rule format with individual limits for every sensor. + Levels can now be given as strings like "level auto" if desired. * debian/rules: + Adapt file paths to new upstream version. * Drop systemd service file from debian/, upstream ships it. [ Evgeni Golov ] * Upload to experimental. Closes: #660293 Thanks: Mika Pflüger -- Evgeni Golov Sat, 18 Feb 2012 09:44:18 +0100 thinkfan (0.7.3-1) unstable; urgency=low * New upstream release. + Don't cut buffer to length 8 in setfan_ibm(). Closes: #610722 * Update debian/copyright: + Update years. + thinkfan is now GPLv3 licensed. + Update to latest dep5 spec. * Standards-Version: 3.9.2 * Add systemd service file. Thanks: Michael Stapelberg Closes: #635750 -- Evgeni Golov Sun, 09 Oct 2011 20:23:45 +0200 thinkfan (0.7.1-2) unstable; urgency=high * debian/control: + Add missing Vcs-* fields for Git. + Standards-Version: 3.9.1 * debian/rules: + Install upstreams init-scripts. (Closes: #592321) -- Evgeni Golov Tue, 10 Aug 2010 11:55:10 +0200 thinkfan (0.7.1-1) unstable; urgency=low * New upstream release. * debian/control: + Fix typo (temerature → temperature). Closes: #566382 + Update description according to upstream's README. + Standards-Version: 3.9.0 * debian/copyright: + Quote BSD-license, thanks lintian. -- Evgeni Golov Thu, 15 Jul 2010 18:24:27 +0200 thinkfan (0.7-1) unstable; urgency=low * New upstream release * debian/thinkfan{1,manpages}: + Use upstream's manpage instead of our own. * debian/README.source: + Remove README.source as upstream ships .tar.gz now. * debian/control: + Standards-Version: 3.8.4 * debian/copyright: + Update upstream's copyright years. + Update Gentoo init-script path. * debian/thinkfan.{default,init}: + Upstream ships our init-scripts, drop them from debian/. * debian/thinkfan.examples: + Ship upstream's example configs under /u/s/d/thinkfan/examples/. * debian/source/format: + Add debian/source/format telling it's still a 1.0 package, thanks lintian. * debian/thinkfan.docs: + Include upstream's NEWS file. -- Evgeni Golov Wed, 07 Apr 2010 19:52:26 +0200 thinkfan (0.6.6-1) unstable; urgency=low * New upstream release * debian/rules: + Install thinkfan.conf.thinkpad as /etc/thinkfan.conf. + Do not override build target, upstream's one is fine. * debian/copyright: + Update to DEP5 revision 135. + Update my copyright years. * debian/watch: + Upstream started to use gzipped tar files, fix the link. -- Evgeni Golov Sun, 03 Jan 2010 19:11:05 +0100 thinkfan (0.6~rc1-1) unstable; urgency=low * New upstream release + Includes the "pulsing-fan workaround". Closes: #546762 * debian/README.Debian, debian/thinkfan.default: + Describe necessity for fan_control=1 for thinkpad_acpi. Closes: #547701 * debian/thinkfan.default: + Let the user adjust DAEMON_ARGS, so he can pass own parameters. * debian/thinkfan.1: + Update the manpage to reflect the new -p parameter. -- Evgeni Golov Mon, 09 Nov 2009 11:53:11 +0100 thinkfan (0.5.0.1-1) unstable; urgency=low * Initial release (Closes: #537573) -- Evgeni Golov Wed, 02 Sep 2009 14:12:49 +0200 debian/thinkfan.docs0000644000000000000000000000001412012105772011632 0ustar README NEWS debian/copyright0000644000000000000000000000433612012105772011124 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: thinkfan Upstream-Contact: Victor Mataré Source: http://sourceforge.net/projects/thinkfan/files/ Files: * Copyright: 2008-2011, Victor Mataré License: GPL-3 Files: rcscripts/thinkfan.gentoo Copyright: 1999-2008, Gentoo Foundation License: GPL-2 Files: debian/* Copyright: 2009-2011, Evgeni Golov License: BSD-3-clause License: GPL-3 The complete text of the GNU General Public License version 3 can be found on Debian systems in the '/usr/share/common-licenses/GPL-3' file. License: GPL-2 The complete text of the GNU General Public License version 2 can be found on Debian systems in the '/usr/share/common-licenses/GPL-2' file. License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/patches/0000755000000000000000000000000012012105772010612 5ustar debian/patches/series0000644000000000000000000000004112012105772012022 0ustar use_cppflags.patch bashism.patch debian/patches/bashism.patch0000644000000000000000000000105712012105772013264 0ustar From: Evgeni Golov Subject: do not use $(< ...), it's a bashism. use $(cat ...) instead Last-Update: 2012-06-06 diff --git a/rcscripts/thinkfan.service b/rcscripts/thinkfan.service index d642262..c9434ca 100644 --- a/rcscripts/thinkfan.service +++ b/rcscripts/thinkfan.service @@ -6,7 +6,7 @@ After=syslog.target Type=forking ExecStart=/usr/sbin/thinkfan PIDFile=/var/run/thinkfan.pid -ExecReload=/bin/kill -HUP $( Subject: include CPPFLAGS when compiling Last-Update: 2012-06-06 diff --git a/Makefile b/Makefile index 06305e1..872c282 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ thinkfan: system.o parser.o config.o thinkfan.o message.o $(CC) $(LDFLAGS) -Wall -o $@ $^ %.o: %.c - $(CC) $(CFLAGS) -Wall -c -o $@ $< + $(CC) $(CFLAGS) $(CPPFLAGS) -Wall -c -o $@ $< clean: rm -rf *.o thinkfan debian/source/0000755000000000000000000000000012012105772010463 5ustar debian/source/format0000644000000000000000000000001412012105772011671 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000107112012105772010242 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_install: install -D -m0755 thinkfan $(CURDIR)/debian/thinkfan/usr/sbin/thinkfan install -D -m0644 examples/thinkfan.conf.thinkpad $(CURDIR)/debian/thinkfan/etc/thinkfan.conf install -D -m0755 rcscripts/thinkfan.init $(CURDIR)/debian/thinkfan/etc/init.d/thinkfan install -D -m0644 rcscripts/thinkfan.default $(CURDIR)/debian/thinkfan/etc/default/thinkfan install -D -m0644 rcscripts/thinkfan.service $(CURDIR)/debian/thinkfan/lib/systemd/system/thinkfan.service override_dh_installinit: dh_installinit --onlyscripts debian/thinkfan.manpages0000644000000000000000000000001312012105772012474 0ustar thinkfan.1 debian/README.Debian0000644000000000000000000000110712012105772011223 0ustar thinkfan for Debian ------------------- WARNING! thinkfan CAN kill your system and is thus disabled by default If you really want to enable thinkfan, adjust /etc/thinkfan.conf to your needs and set START=yes in /etc/default/thinkfan. Additionally, on ThinkPads, you need to load the thinkpad_acpi module with fan_control=1, or it will refuse to accept control from thinkfan. That's most easily done with a file /etc/modprobe.d/thinkfan.conf and the following entry in it: options thinkpad_acpi fan_control=1 -- Evgeni Golov Mon, 09 Nov 2009 11:53:11 +0100 debian/thinkfan.examples0000644000000000000000000000013412012105772012523 0ustar examples/thinkfan.conf.sysfs examples/thinkfan.conf.thinkpad examples/thinkfan.conf.complex debian/gbp.conf0000644000000000000000000000003712012105772010602 0ustar [DEFAULT] pristine-tar = True debian/watch0000644000000000000000000000013612012105772010214 0ustar version=3 opts="uversionmangle=s/_/~/" \ http://sf.net/thinkfan/thinkfan-([\d\._]+)\.tar\.gz