[arch-commits] Commit in i8kmon/repos/extra-any (6 files)
Giovanni Scafora
giovanni at archlinux.org
Sat Feb 25 11:20:39 UTC 2012
Date: Saturday, February 25, 2012 @ 06:20:38
Author: giovanni
Revision: 151278
archrelease: copy trunk to extra-any
Added:
i8kmon/repos/extra-any/PKGBUILD
(from rev 151277, i8kmon/trunk/PKGBUILD)
i8kmon/repos/extra-any/i8kmon.conf.d
(from rev 151277, i8kmon/trunk/i8kmon.conf.d)
i8kmon/repos/extra-any/i8kmon.daemon
(from rev 151277, i8kmon/trunk/i8kmon.daemon)
Deleted:
i8kmon/repos/extra-any/PKGBUILD
i8kmon/repos/extra-any/i8kmon.conf.d
i8kmon/repos/extra-any/i8kmon.daemon
---------------+
PKGBUILD | 78 ++++++++++++++++++++++++++++----------------------------
i8kmon.conf.d | 10 +++----
i8kmon.daemon | 78 ++++++++++++++++++++++++++++----------------------------
3 files changed, 83 insertions(+), 83 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-25 11:20:22 UTC (rev 151277)
+++ PKGBUILD 2012-02-25 11:20:38 UTC (rev 151278)
@@ -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=2
-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 151277, i8kmon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-02-25 11:20:38 UTC (rev 151278)
@@ -0,0 +1,39 @@
+# $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"
+}
Deleted: i8kmon.conf.d
===================================================================
--- i8kmon.conf.d 2012-02-25 11:20:22 UTC (rev 151277)
+++ i8kmon.conf.d 2012-02-25 11:20:38 UTC (rev 151278)
@@ -1,5 +0,0 @@
-#
-# Arguments to be passed to the i8kmon daemon
-#
-
-I8KMON_ARGS=""
Copied: i8kmon/repos/extra-any/i8kmon.conf.d (from rev 151277, i8kmon/trunk/i8kmon.conf.d)
===================================================================
--- i8kmon.conf.d (rev 0)
+++ i8kmon.conf.d 2012-02-25 11:20:38 UTC (rev 151278)
@@ -0,0 +1,5 @@
+#
+# Arguments to be passed to the i8kmon daemon
+#
+
+I8KMON_ARGS=""
Deleted: i8kmon.daemon
===================================================================
--- i8kmon.daemon 2012-02-25 11:20:22 UTC (rev 151277)
+++ i8kmon.daemon 2012-02-25 11:20:38 UTC (rev 151278)
@@ -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 151277, i8kmon/trunk/i8kmon.daemon)
===================================================================
--- i8kmon.daemon (rev 0)
+++ i8kmon.daemon 2012-02-25 11:20:38 UTC (rev 151278)
@@ -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
More information about the arch-commits
mailing list