diff options
Diffstat (limited to 'testing/fancontroled')
-rw-r--r-- | testing/fancontroled/APKBUILD | 57 | ||||
-rw-r--r-- | testing/fancontroled/fancontroled.confd | 17 | ||||
-rw-r--r-- | testing/fancontroled/fancontroled.initd | 18 | ||||
-rw-r--r-- | testing/fancontroled/link.patch | 11 |
4 files changed, 0 insertions, 103 deletions
diff --git a/testing/fancontroled/APKBUILD b/testing/fancontroled/APKBUILD deleted file mode 100644 index 4d04858b43..0000000000 --- a/testing/fancontroled/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=fancontroled -pkgver=0.1 -pkgrel=2 -pkgdesc="A temperature dependent fan speed control" -url="http://fancontroled.lukaperkov.net/" -arch="all" -license="GPL3" -depends="" -makedepends="lm_sensors-dev" -install="" -subpackages="" -source="http://code.lukaperkov.net/fancontroled/fancontroled-$pkgver.tar - link.patch - fancontroled.confd - fancontroled.initd - " - -_builddir="$srcdir"/fancontroled-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/sbin - make install DESTDIR="$pkgdir" || return 1 - install -Dm644 "$srcdir"/fancontroled.confd \ - "$pkgdir"/etc/conf.d/fancontroled || return 1 - install -Dm755 "$srcdir"/fancontroled.initd \ - "$pkgdir"/etc/init.d/fancontroled || return 1 -} - -md5sums="8c3a7efa99e58216ad4633d1e6ed1358 fancontroled-0.1.tar -099a824ba948f1f01da8d374024357fd link.patch -3b9e5e1557ad4877e23f88411e8b84f0 fancontroled.confd -b7e49fce1d8182559b808b1ce3b60e7b fancontroled.initd" -sha256sums="94b4602dfb913a846e2f40dd87e7085cddb5cd622a46744198a8abde2dcf44b4 fancontroled-0.1.tar -985490bb1c79cac191b160fe79f0f4d461cdea71d8f16c06b5a21d6613b1949a link.patch -3b9cc54a16bda45e81874966fa11b866a167f5cd2538da4b275899bc57d739b4 fancontroled.confd -18e780d5454c2de16641c758e5aeb1e1442eddfe03338230a5e14ba420d468be fancontroled.initd" -sha512sums="cd59b8db8d44798be31693138dcebe261a684e4a10fc08ffb24488d8d5a9eac6f827e82cf3632509acf91c461308c279fae70f40237d7fe9f48b480ce1cb56bd fancontroled-0.1.tar -6be24b0445ad2b3e6e7331192e1caba16fa8aa649a6e945ae5fb88d90f38310b4945216ee63facb9c817d1894f90959f056eff65956d7a1bdf5971400f0f7e4a link.patch -250637ce329d6d28ad801980563eb756b20aa222ca5ad5c8e79f5df51ac154a3ab1577d157e031f1a38409caabbf03e5900992177318393d4b32bbb87599d9ec fancontroled.confd -4784ad205f719338d23b3e5fe8515c51aa8ceb2a892f7ae05e668a1f2e61f425d195186bd321b13d7ac78a502401ed563d41f226411af09d2e3451b6dbd32ace fancontroled.initd" diff --git a/testing/fancontroled/fancontroled.confd b/testing/fancontroled/fancontroled.confd deleted file mode 100644 index 803a9c38d8..0000000000 --- a/testing/fancontroled/fancontroled.confd +++ /dev/null @@ -1,17 +0,0 @@ -# possible options for FANCONTROLED_OPTS: -# -t --temp-sensor-chip Temperature sensor chip (e.g. lm75) -# -r --temp-read-field Temperature read fild (e.g. temp1_input) -# -m --min-temp Min fan speed on this temperature (°C) -# -M --max-temp Max fan speed on this temperature (°C) -# -f --fan-sensor-chip Fan sensor chip (e.g. g760a) -# -c --fan-control-field Fan control field (e.g. pwm1) -# -p --pwm-fan-min Min fan PWM -# -P --pwm-fan-max Max fan PWM -# -# example: -# FANCONTROLED_OPTS="-t lm75 -r temp1_input -m 30 -M 50 -f g760a -c pwm1 -p 1 -P 180" -# -# see http://fancontroled.lukaperkov.net/ for more info - -FANCONTROLED_OPTS="" - diff --git a/testing/fancontroled/fancontroled.initd b/testing/fancontroled/fancontroled.initd deleted file mode 100644 index 1da4422e83..0000000000 --- a/testing/fancontroled/fancontroled.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/runscript - -command=/usr/sbin/fancontroled -command_args="${FANCONTROLED_OPTS}" -pidfile=/var/run/fancontroled.pid -description="Temperature dependent fan speed control" - -depend() { - need modules -} - -start_pre() { - if [ -z "$FANCONTROLED_OPTS" ]; then - eerror "Please set FANCONTROLED_OPTS in /etc/conf.d/$RC_SVCNAME" - return 1 - fi -} - diff --git a/testing/fancontroled/link.patch b/testing/fancontroled/link.patch deleted file mode 100644 index 328e78062d..0000000000 --- a/testing/fancontroled/link.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./Makefile.orig -+++ ./Makefile -@@ -12,7 +12,7 @@ - OBJECTS = $(SOURCES:.c=.o) - - $(FANCONTROLED_TARGET): $(OBJECTS) $(HEADERS) -- $(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(LIBS) $(OBJECTS) -D $(MACROS) -o $(FANCONTROLED_TARGET) -+ $(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(OBJECTS) -D $(MACROS) -o $(FANCONTROLED_TARGET) $(LIBS) - - $(OBJECTS): $(SOURCES) - $(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(LIBS) -D $(MACROS) -c $(@:.o=.c) |