[arch-commits] CVS update of extra/daemons/powernowd (3 files)

Eric Belanger eric at archlinux.org
Wed Dec 12 01:50:41 EST 2007


    Date: Wednesday, December 12, 2007 @ 01:50:41
  Author: eric
    Path: /home/cvs-extra/extra/daemons/powernowd

 Removed: PKGBUILD (1.4) powernowd.conf.d (1.1) powernowd.rc.d (1.2)

extra repo cleanup


------------------+
 PKGBUILD         |   24 ------------------------
 powernowd.conf.d |    6 ------
 powernowd.rc.d   |   49 -------------------------------------------------
 3 files changed, 79 deletions(-)


Index: extra/daemons/powernowd/PKGBUILD
diff -u extra/daemons/powernowd/PKGBUILD:1.4 extra/daemons/powernowd/PKGBUILD:removed
--- extra/daemons/powernowd/PKGBUILD:1.4	Fri Jun  2 04:40:27 2006
+++ extra/daemons/powernowd/PKGBUILD	Wed Dec 12 01:50:41 2007
@@ -1,24 +0,0 @@
-# $Id: PKGBUILD,v 1.4 2006/06/02 08:40:27 alexander Exp $
-# Maintainer: Alexander Baldeck <alexander at archlinux.org>
-# Contributor: CyberTron  <packages at linuxportalen.com>
-# Modified: Adam Griffiths <adam_griffiths at dart.net.au>
-pkgname=powernowd
-pkgver=0.97
-pkgrel=2
-pkgdesc="Program for powering down CPUs dynamicly"
-arch=(i686 x86_64)
-url="http://www.deater.net/john/powernowd.html"
-license="GPL"
-depends=('glibc')
-source=(http://www.deater.net/john/$pkgname-$pkgver.tar.gz \
-        powernowd.rc.d powernowd.conf.d)
-
-build() {
-  cd $startdir/src/$pkgname-$pkgver
-  make || return 1
-  install -D -m755 powernowd $startdir/pkg/usr/sbin/powernowd
-  install -D -m755 $startdir/src/powernowd.rc.d $startdir/pkg/etc/rc.d/powernowd
-  install -D -m644 $startdir/src/powernowd.conf.d $startdir/pkg/etc/conf.d/powernowd
-}
-md5sums=('cc6f567e30c3797c17593fdc707f8a67' 'e9ce60d70107accfcf0665900c4ec3aa'\
-         'f5a7c17320d9f8995b9916ddb60dbb71')
Index: extra/daemons/powernowd/powernowd.conf.d
diff -u extra/daemons/powernowd/powernowd.conf.d:1.1 extra/daemons/powernowd/powernowd.conf.d:removed
--- extra/daemons/powernowd/powernowd.conf.d:1.1	Wed Dec 28 02:40:59 2005
+++ extra/daemons/powernowd/powernowd.conf.d	Wed Dec 12 01:50:41 2007
@@ -1,6 +0,0 @@
-# Configuration file for powernowd
-
-# If no options given, powernowd should be able to autodetect
-# a sane setup. So most users will not have to put anything
-# here.
-OPTIONS=""
Index: extra/daemons/powernowd/powernowd.rc.d
diff -u extra/daemons/powernowd/powernowd.rc.d:1.2 extra/daemons/powernowd/powernowd.rc.d:removed
--- extra/daemons/powernowd/powernowd.rc.d:1.2	Fri Jun  2 04:40:27 2006
+++ extra/daemons/powernowd/powernowd.rc.d	Wed Dec 12 01:50:41 2007
@@ -1,49 +0,0 @@
-#!/bin/bash
-
-# AUR Credits:
-# simple init script the ARCH-way for Powernowd
-# Made by, CyberTron, packages at linuxportalen.com
-
-# Modifications by Alexander Baldeck <alexander at archlinux.org>
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/powernowd`
-
-[ -f /etc/conf.d/powernowd ] && source /etc/conf.d/powernowd
-
-case "$1" in
-    start)
-        stat_busy "Starting Powernowd"
-        [ -z "$PID" ] && /usr/sbin/powernowd $OPTIONS 2>/dev/null
-        if [ $? -gt 0 ]; then
-            stat_fail
-        else
-        echo $PID > /var/run/powernowd.pid
-            add_daemon powernowd
-            stat_done
-        fi
-        ;;
-    stop)
-        stat_busy "Stopping Powernowd"
-        [ ! -z "$PID" ]  && kill $PID &> /dev/null
-        if [ $? -gt 0 ]; then
-            stat_fail
-        else
-            rm /var/run/powernowd.pid
-            rm_daemon powernowd
-            stat_done
-        fi
-        ;;
-    restart)
-        $0 stop
-	sleep 1
-        $0 start
-        ;;
-    *)
-        echo "usage: $0 {start|stop|restart}"
-	;;
-esac
-exit 0




More information about the arch-commits mailing list