[arch-commits] Commit in i8kmon/repos (8 files)

Dave Reisner dreisner at archlinux.org
Fri Jun 22 12:58:39 UTC 2012


    Date: Friday, June 22, 2012 @ 08:58:39
  Author: dreisner
Revision: 162160

db-move: moved i8kmon from [testing] to [extra] ( any)

Added:
  i8kmon/repos/extra-any/PKGBUILD
    (from rev 162156, i8kmon/repos/testing-any/PKGBUILD)
  i8kmon/repos/extra-any/i8kmon.conf.d
    (from rev 162156, i8kmon/repos/testing-any/i8kmon.conf.d)
  i8kmon/repos/extra-any/i8kmon.daemon
    (from rev 162156, i8kmon/repos/testing-any/i8kmon.daemon)
  i8kmon/repos/extra-any/i8kmon.service
    (from rev 162156, i8kmon/repos/testing-any/i8kmon.service)
Deleted:
  i8kmon/repos/extra-any/PKGBUILD
  i8kmon/repos/extra-any/i8kmon.conf.d
  i8kmon/repos/extra-any/i8kmon.daemon
  i8kmon/repos/testing-any/

----------------+
 PKGBUILD       |   81 ++++++++++++++++++++++++++++---------------------------
 i8kmon.conf.d  |   10 +++---
 i8kmon.daemon  |   78 ++++++++++++++++++++++++++--------------------------
 i8kmon.service |    9 ++++++
 4 files changed, 95 insertions(+), 83 deletions(-)

Deleted: extra-any/PKGBUILD
===================================================================
--- extra-any/PKGBUILD	2012-06-22 12:58:34 UTC (rev 162159)
+++ extra-any/PKGBUILD	2012-06-22 12:58:39 UTC (rev 162160)
@@ -1,39 +0,0 @@
-# $Id$
-# Contributor: Eric Johnson <eric at coding-zone.com>
-# Maintainer: Thayer Williams <thayer at archlinux.org>
-
-pkgname=i8kmon
-pkgver=1.33
-pkgrel=3
-pkgdesc="Tk-based daemon for i8kutils and Dell Inspiron/Latitude notebooks"
-arch=('any')
-url="http://people.debian.org/~dz/i8k/"
-license=('GPL2')
-depends=('i8kutils' 'tk')
-backup=('etc/i8kutils/i8kmon.conf' 'etc/conf.d/i8kmon')
-source=(ftp://ftp.archlinux.org/other/i8kutils/i8kutils_$pkgver.tar.gz i8kmon.daemon i8kmon.conf.d)
-md5sums=('1ab077b301dbb0f4be8ef52eb3b97628' '411de45dda5e1ce7ad0db47aa236a79a'\
-         'c35f173664d9180f40e062c905da10e1')
-sha1sums=('2701697dfe9c0e351cb412badd14fbf8191838c3' 'a7ead36e31d27d85a257242847e316ea85a2426f'\
-         'a3a38c19f1af4bfc59ac8c88cadfa2e6ee185a4c')
-
-build() {
-  cd "$srcdir/i8kutils-$pkgver"
-
-  # conform to Arch Linux guidelines
-  sed -i 's|/etc/i8kmon|/etc/i8kutils/i8kmon.conf|g' i8kmon.1
-  sed -i 's|/etc/i8kmon.conf|/etc/i8kutils/i8kmon.conf|g' i8kmon
-}
-
-package() {
-  cd "$srcdir/i8kutils-$pkgver"
-
-  # no configure script, and Makefile has /usr hardcoded
-  install -D -m755 i8kmon "$pkgdir/usr/bin/i8kmon"
-  install -D -m644 i8kmon.conf "$pkgdir/etc/i8kutils/i8kmon.conf"
-  install -D -m644 i8kmon.1 "$pkgdir/usr/share/man/man1/i8kmon.1"
-
-  # install daemon script.
-  install -D -m755 ../i8kmon.daemon "$pkgdir/etc/rc.d/i8kmon"
-  install -D -m644 ../i8kmon.conf.d "$pkgdir/etc/conf.d/i8kmon"
-}

Copied: i8kmon/repos/extra-any/PKGBUILD (from rev 162156, i8kmon/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2012-06-22 12:58:39 UTC (rev 162160)
@@ -0,0 +1,42 @@
+# $Id$
+# Contributor: Eric Johnson <eric at coding-zone.com>
+# Maintainer: Thayer Williams <thayer at archlinux.org>
+
+pkgname=i8kmon
+pkgver=1.33
+pkgrel=4
+pkgdesc="Tk-based daemon for i8kutils and Dell Inspiron/Latitude notebooks"
+arch=('any')
+url="http://people.debian.org/~dz/i8k/"
+license=('GPL2')
+depends=('i8kutils' 'tk')
+backup=('etc/i8kutils/i8kmon.conf' 'etc/conf.d/i8kmon')
+source=(ftp://ftp.archlinux.org/other/i8kutils/i8kutils_$pkgver.tar.gz \
+        i8kmon.daemon i8kmon.conf.d i8kmon.service)
+sha1sums=('2701697dfe9c0e351cb412badd14fbf8191838c3'
+          'a7ead36e31d27d85a257242847e316ea85a2426f'
+          'a3a38c19f1af4bfc59ac8c88cadfa2e6ee185a4c'
+          '9bac507e1ea80a240b01f07dded8a9a9fa406789')
+
+build() {
+  cd "$srcdir/i8kutils-$pkgver"
+
+  # conform to Arch Linux guidelines
+  sed -i 's|/etc/i8kmon|/etc/i8kutils/i8kmon.conf|g' i8kmon.1
+  sed -i 's|/etc/i8kmon.conf|/etc/i8kutils/i8kmon.conf|g' i8kmon
+}
+
+package() {
+  cd "$srcdir/i8kutils-$pkgver"
+
+  # no configure script, and Makefile has /usr hardcoded
+  install -D -m755 i8kmon "$pkgdir/usr/bin/i8kmon"
+  install -D -m644 i8kmon.conf "$pkgdir/etc/i8kutils/i8kmon.conf"
+  install -D -m644 i8kmon.1 "$pkgdir/usr/share/man/man1/i8kmon.1"
+
+  # install daemon script.
+  install -D -m755 ../i8kmon.daemon "$pkgdir/etc/rc.d/i8kmon"
+  install -D -m644 ../i8kmon.conf.d "$pkgdir/etc/conf.d/i8kmon"
+
+  install -D -m644 ../i8kmon.service "$pkgdir/usr/lib/systemd/system/i8kmon.service"
+}

Deleted: extra-any/i8kmon.conf.d
===================================================================
--- extra-any/i8kmon.conf.d	2012-06-22 12:58:34 UTC (rev 162159)
+++ extra-any/i8kmon.conf.d	2012-06-22 12:58:39 UTC (rev 162160)
@@ -1,5 +0,0 @@
-#
-# Arguments to be passed to the i8kmon daemon
-#
-
-I8KMON_ARGS=""

Copied: i8kmon/repos/extra-any/i8kmon.conf.d (from rev 162156, i8kmon/repos/testing-any/i8kmon.conf.d)
===================================================================
--- extra-any/i8kmon.conf.d	                        (rev 0)
+++ extra-any/i8kmon.conf.d	2012-06-22 12:58:39 UTC (rev 162160)
@@ -0,0 +1,5 @@
+#
+# Arguments to be passed to the i8kmon daemon
+#
+
+I8KMON_ARGS=""

Deleted: extra-any/i8kmon.daemon
===================================================================
--- extra-any/i8kmon.daemon	2012-06-22 12:58:34 UTC (rev 162159)
+++ extra-any/i8kmon.daemon	2012-06-22 12:58:39 UTC (rev 162160)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-[ -f /etc/conf.d/i8kmon ] && . /etc/conf.d/i8kmon
-
-PID=$(fuser /proc/i8k 2>/dev/null)
-case "$1" in
-  start)
-    stat_busy "Starting i8kmon Daemon"
-    if [ -z "$PID" ]; then 
-      /usr/bin/i8kmon -d $I8KMON_ARGS &
-    fi
-    if [ ! -z "$PID" -o $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon i8kmon
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping i8kmon Daemon"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon i8kmon
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"  
-esac

Copied: i8kmon/repos/extra-any/i8kmon.daemon (from rev 162156, i8kmon/repos/testing-any/i8kmon.daemon)
===================================================================
--- extra-any/i8kmon.daemon	                        (rev 0)
+++ extra-any/i8kmon.daemon	2012-06-22 12:58:39 UTC (rev 162160)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+[ -f /etc/conf.d/i8kmon ] && . /etc/conf.d/i8kmon
+
+PID=$(fuser /proc/i8k 2>/dev/null)
+case "$1" in
+  start)
+    stat_busy "Starting i8kmon Daemon"
+    if [ -z "$PID" ]; then 
+      /usr/bin/i8kmon -d $I8KMON_ARGS &
+    fi
+    if [ ! -z "$PID" -o $? -gt 0 ]; then
+      stat_fail
+    else
+      add_daemon i8kmon
+      stat_done
+    fi
+    ;;
+  stop)
+    stat_busy "Stopping i8kmon Daemon"
+    [ ! -z "$PID" ]  && kill $PID &> /dev/null
+    if [ $? -gt 0 ]; then
+      stat_fail
+    else
+      rm_daemon i8kmon
+      stat_done
+    fi
+    ;;
+  restart)
+    $0 stop
+    sleep 1
+    $0 start
+    ;;
+  *)
+    echo "usage: $0 {start|stop|restart}"  
+esac

Copied: i8kmon/repos/extra-any/i8kmon.service (from rev 162156, i8kmon/repos/testing-any/i8kmon.service)
===================================================================
--- extra-any/i8kmon.service	                        (rev 0)
+++ extra-any/i8kmon.service	2012-06-22 12:58:39 UTC (rev 162160)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Dell laptop thermal monitoring
+ConditionPathExists=/proc/i8k
+
+[Service]
+ExecStart=/usr/bin/i8kmon -nd
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list