[arch-commits] Commit in i8kmon/repos/extra-any (8 files)
Eric Bélanger
eric at archlinux.org
Sun Oct 28 01:11:12 UTC 2012
Date: Saturday, October 27, 2012 @ 21:11:11
Author: eric
Revision: 169764
archrelease: copy trunk to extra-any
Added:
i8kmon/repos/extra-any/PKGBUILD
(from rev 169763, i8kmon/trunk/PKGBUILD)
i8kmon/repos/extra-any/i8kmon.conf.d
(from rev 169763, i8kmon/trunk/i8kmon.conf.d)
i8kmon/repos/extra-any/i8kmon.daemon
(from rev 169763, i8kmon/trunk/i8kmon.daemon)
i8kmon/repos/extra-any/i8kmon.service
(from rev 169763, i8kmon/trunk/i8kmon.service)
Deleted:
i8kmon/repos/extra-any/PKGBUILD
i8kmon/repos/extra-any/i8kmon.conf.d
i8kmon/repos/extra-any/i8kmon.daemon
i8kmon/repos/extra-any/i8kmon.service
----------------+
PKGBUILD | 84 +++++++++++++++++++++++++++----------------------------
i8kmon.conf.d | 10 +++---
i8kmon.daemon | 78 +++++++++++++++++++++++++--------------------------
i8kmon.service | 18 +++++------
4 files changed, 95 insertions(+), 95 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-28 01:10:52 UTC (rev 169763)
+++ PKGBUILD 2012-10-28 01:11:11 UTC (rev 169764)
@@ -1,42 +0,0 @@
-# $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"
-}
Copied: i8kmon/repos/extra-any/PKGBUILD (from rev 169763, i8kmon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-10-28 01:11:11 UTC (rev 169764)
@@ -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=5
+pkgdesc="Tk-based daemon for i8kutils and Dell Inspiron/Latitude notebooks"
+arch=('any')
+url="http://packages.qa.debian.org/i/i8kutils.html"
+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'
+ '5c20f5241de7e60b46117269f4e867b08734cdc8')
+
+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: i8kmon.conf.d
===================================================================
--- i8kmon.conf.d 2012-10-28 01:10:52 UTC (rev 169763)
+++ i8kmon.conf.d 2012-10-28 01:11:11 UTC (rev 169764)
@@ -1,5 +0,0 @@
-#
-# Arguments to be passed to the i8kmon daemon
-#
-
-I8KMON_ARGS=""
Copied: i8kmon/repos/extra-any/i8kmon.conf.d (from rev 169763, i8kmon/trunk/i8kmon.conf.d)
===================================================================
--- i8kmon.conf.d (rev 0)
+++ i8kmon.conf.d 2012-10-28 01:11:11 UTC (rev 169764)
@@ -0,0 +1,5 @@
+#
+# Arguments to be passed to the i8kmon daemon
+#
+
+I8KMON_ARGS=""
Deleted: i8kmon.daemon
===================================================================
--- i8kmon.daemon 2012-10-28 01:10:52 UTC (rev 169763)
+++ i8kmon.daemon 2012-10-28 01:11:11 UTC (rev 169764)
@@ -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 169763, i8kmon/trunk/i8kmon.daemon)
===================================================================
--- i8kmon.daemon (rev 0)
+++ i8kmon.daemon 2012-10-28 01:11:11 UTC (rev 169764)
@@ -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
Deleted: i8kmon.service
===================================================================
--- i8kmon.service 2012-10-28 01:10:52 UTC (rev 169763)
+++ i8kmon.service 2012-10-28 01:11:11 UTC (rev 169764)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Dell laptop thermal monitoring
-ConditionPathExists=/proc/i8k
-
-[Service]
-ExecStart=/usr/bin/i8kmon -nd
-
-[Install]
-WantedBy=multi-user.target
Copied: i8kmon/repos/extra-any/i8kmon.service (from rev 169763, i8kmon/trunk/i8kmon.service)
===================================================================
--- i8kmon.service (rev 0)
+++ i8kmon.service 2012-10-28 01:11:11 UTC (rev 169764)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Dell laptop thermal monitoring
+ConditionPathExists=/proc/i8k
+
+[Service]
+ExecStart=/usr/bin/i8kmon -d
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list