Packages

  • Status Closed
  • Percent Complete
    100%
  • Task Type Implementation Request
  • Category Any
  • Assigned To
    Emulatorman
    tobias
  • Operating System Hyperbola GNU/Linux-libre
  • Severity Low
  • Priority Very Low
  • Reported Version Any
  • Due in Version Milky Way v0.5
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Packages
Opened by fablamar78 - 06/11/2017
Last edited by tobias - 22/01/2022

FS#135 - [thinkfan] add package

Could it be possible to add this package :

thinkfan

“A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi”

License : GPL

to the repo ?

Thanks

Closed by  tobias
22.01.2022 02:45
Reason for closing:  Won't implement
Additional comments about closing:  

Not possible to be added as using problematic dependencies (note of the last comment).

27/10/2021: A task closure has been requested. Reason for request: Cannot be implemented because of problematic dependencies.

Also need an OpenRC start/stop/status script

I compiled it myself meanwhile (really needed it), I used the openrc script provided by Gentoo.

This works fine :

#!/usr/bin/openrc-run
# Copyright 2018 Hyperbola Project
# Distributed under the terms of the GNU General Public License v2

extra_started_commands="reload"

depend() {
	after modules
}

start() {
	ebegin "Starting thinkfan"
	start-stop-daemon --start --exec /usr/bin/thinkfan -- -q -s5 -c /etc/thinkfan.conf
	eend $?
}

stop() {
	ebegin "Stopping thinkfan"
	start-stop-daemon --stop --exec /usr/bin/thinkfan
	eend $?
}

reload() {
	PID=$(<@PID_FILE@)
	ebegin "Sending SIGHUP to thinkfan($PID)"
	kill -HUP $PID
	eend $?
}

Thanks for the input, but this package cannot be added as it depends on libatasmart and this library is a complete problem of its own. Sorry, but adding won't be possible.

Date User Effort (H:M)
watch my effort tracking timers

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing