[arch-commits] Commit in hddtemp/repos (18 files)

Gaetan Bisson bisson at archlinux.org
Sun Jun 3 10:40:04 UTC 2012


    Date: Sunday, June 3, 2012 @ 06:40:04
  Author: bisson
Revision: 160663

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  hddtemp/repos/extra-i686/PKGBUILD
    (from rev 160662, hddtemp/trunk/PKGBUILD)
  hddtemp/repos/extra-i686/hddtemp
    (from rev 160662, hddtemp/trunk/hddtemp)
  hddtemp/repos/extra-i686/hddtemp-0.3-beta15-reg-eip.patch
    (from rev 160662, hddtemp/trunk/hddtemp-0.3-beta15-reg-eip.patch)
  hddtemp/repos/extra-i686/hddtemp.confd
    (from rev 160662, hddtemp/trunk/hddtemp.confd)
  hddtemp/repos/extra-i686/hddtemp.service
    (from rev 160662, hddtemp/trunk/hddtemp.service)
  hddtemp/repos/extra-x86_64/PKGBUILD
    (from rev 160662, hddtemp/trunk/PKGBUILD)
  hddtemp/repos/extra-x86_64/hddtemp
    (from rev 160662, hddtemp/trunk/hddtemp)
  hddtemp/repos/extra-x86_64/hddtemp-0.3-beta15-reg-eip.patch
    (from rev 160662, hddtemp/trunk/hddtemp-0.3-beta15-reg-eip.patch)
  hddtemp/repos/extra-x86_64/hddtemp.confd
    (from rev 160662, hddtemp/trunk/hddtemp.confd)
  hddtemp/repos/extra-x86_64/hddtemp.service
    (from rev 160662, hddtemp/trunk/hddtemp.service)
Deleted:
  hddtemp/repos/extra-i686/PKGBUILD
  hddtemp/repos/extra-i686/hddtemp
  hddtemp/repos/extra-i686/hddtemp-0.3-beta15-reg-eip.patch
  hddtemp/repos/extra-i686/hddtemp.confd
  hddtemp/repos/extra-x86_64/PKGBUILD
  hddtemp/repos/extra-x86_64/hddtemp
  hddtemp/repos/extra-x86_64/hddtemp-0.3-beta15-reg-eip.patch
  hddtemp/repos/extra-x86_64/hddtemp.confd

-----------------------------------------------+
 extra-i686/PKGBUILD                           |   94 ++++++++++++------------
 extra-i686/hddtemp                            |   78 +++++++++----------
 extra-i686/hddtemp-0.3-beta15-reg-eip.patch   |   44 +++++------
 extra-i686/hddtemp.confd                      |    4 -
 extra-i686/hddtemp.service                    |    9 ++
 extra-x86_64/PKGBUILD                         |   94 ++++++++++++------------
 extra-x86_64/hddtemp                          |   78 +++++++++----------
 extra-x86_64/hddtemp-0.3-beta15-reg-eip.patch |   44 +++++------
 extra-x86_64/hddtemp.confd                    |    4 -
 extra-x86_64/hddtemp.service                  |    9 ++
 10 files changed, 240 insertions(+), 218 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-06-03 10:39:06 UTC (rev 160662)
+++ extra-i686/PKGBUILD	2012-06-03 10:40:04 UTC (rev 160663)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Roman Kyrylych <roman at archlinux.org>
-# Contributor: Damir Perisa <damir at archlinux.org>
-
-pkgname=hddtemp
-pkgver=0.3.beta15.46
-_origver=0.3-beta15
-_patchver=46
-pkgrel=2
-pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information"
-arch=('i686' 'x86_64')
-url="http://www.guzu.net/linux/hddtemp.php"
-license=('GPL')
-depends=('glibc')
-backup=('etc/conf.d/hddtemp')
-source=(http://www.guzu.net/files/hddtemp-${_origver}.tar.bz2
-        http://ftp.debian.org/debian/pool/main/h/hddtemp/hddtemp_${_origver}-${_patchver}.diff.gz
-        'hddtemp' 'hddtemp.confd' 'hddtemp-0.3-beta15-reg-eip.patch')
-md5sums=('8b829339e1ae9df701684ec239021bb8'
-         '040437845e28771c560b4bb40e41f933'
-         'b7ebb86dfeef3bc4577ed1040307e36b'
-         'fdca5c43900406f0be76534ef2a5a697'
-         '526ef28549dd0da7e38d32cfc8523592')
-options=('!libtool')
-
-build() {
-  cd "$srcdir/$pkgname-${_origver}"
-
-  patch -Np1 -i "$srcdir/${pkgname}_${_origver}-${_patchver}.diff"
-  patch -Np1 -i "$srcdir/hddtemp-0.3-beta15-reg-eip.patch"
-
-  ./configure --prefix=/usr --mandir=/usr/share/man --with-db-path=/usr/share/$pkgname/hddtemp.db
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-${_origver}"
-  make DESTDIR=$pkgdir install
-
-  install -D -m644 "$srcdir/$pkgname-${_origver}/debian/hddtemp.db" \
-    "$pkgdir/usr/share/${pkgname}/hddtemp.db"
-  install -D -m644 "$srcdir/hddtemp.confd" "$pkgdir/etc/conf.d/hddtemp"
-  install -D -m755 "$srcdir/hddtemp" "$pkgdir/etc/rc.d/hddtemp"
-}

Copied: hddtemp/repos/extra-i686/PKGBUILD (from rev 160662, hddtemp/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-06-03 10:40:04 UTC (rev 160663)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Damir Perisa <damir at archlinux.org>
+
+pkgname=hddtemp
+pkgver=0.3.beta15.46
+_origver=0.3-beta15
+_patchver=46
+pkgrel=3
+pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information"
+arch=('i686' 'x86_64')
+url="http://www.guzu.net/linux/hddtemp.php"
+license=('GPL')
+depends=('glibc')
+backup=('etc/conf.d/hddtemp')
+source=(http://www.guzu.net/files/hddtemp-${_origver}.tar.bz2
+        http://ftp.debian.org/debian/pool/main/h/hddtemp/hddtemp_${_origver}-${_patchver}.diff.gz
+        'hddtemp' 'hddtemp.service' 'hddtemp.confd' 'hddtemp-0.3-beta15-reg-eip.patch')
+md5sums=('8b829339e1ae9df701684ec239021bb8'
+         '040437845e28771c560b4bb40e41f933'
+         'b7ebb86dfeef3bc4577ed1040307e36b'
+         'b6767bdbb03b6cdbc1995418cafdb1e1'
+         'fdca5c43900406f0be76534ef2a5a697'
+         '526ef28549dd0da7e38d32cfc8523592')
+options=('!libtool')
+
+build() {
+  cd "$srcdir/$pkgname-${_origver}"
+
+  patch -Np1 -i "$srcdir/${pkgname}_${_origver}-${_patchver}.diff"
+  patch -Np1 -i "$srcdir/hddtemp-0.3-beta15-reg-eip.patch"
+
+  ./configure --prefix=/usr --mandir=/usr/share/man --with-db-path=/usr/share/$pkgname/hddtemp.db
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-${_origver}"
+  make DESTDIR=$pkgdir install
+
+  install -D -m644 "$srcdir/$pkgname-${_origver}/debian/hddtemp.db" \
+    "$pkgdir/usr/share/${pkgname}/hddtemp.db"
+  install -D -m644 "$srcdir/hddtemp.confd" "$pkgdir/etc/conf.d/hddtemp"
+  install -D -m644 "$srcdir/hddtemp.service" "$pkgdir/usr/lib/systemd/system/hddtemp.service"
+  install -D -m755 "$srcdir/hddtemp" "$pkgdir/etc/rc.d/hddtemp"
+}

Deleted: extra-i686/hddtemp
===================================================================
--- extra-i686/hddtemp	2012-06-03 10:39:06 UTC (rev 160662)
+++ extra-i686/hddtemp	2012-06-03 10:40:04 UTC (rev 160663)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PARAMS=
-DRIVES=
-[ -f /etc/conf.d/hddtemp ] && . /etc/conf.d/hddtemp
-PID=$(pidof -o %PPID /usr/sbin/hddtemp)
-case "$1" in
-  start)
-    stat_busy "Starting HDDTemp"
-    [ -z "$PID" ] && /usr/sbin/hddtemp -d $PARAMS $DRIVES
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon hddtemp
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping HDDTemp"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon hddtemp
-      stat_done
-    fi 
-    ;;
-  restart)
-    $0 stop
-    sleep 2
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"
-esac
-exit 0

Copied: hddtemp/repos/extra-i686/hddtemp (from rev 160662, hddtemp/trunk/hddtemp)
===================================================================
--- extra-i686/hddtemp	                        (rev 0)
+++ extra-i686/hddtemp	2012-06-03 10:40:04 UTC (rev 160663)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PARAMS=
+DRIVES=
+[ -f /etc/conf.d/hddtemp ] && . /etc/conf.d/hddtemp
+PID=$(pidof -o %PPID /usr/sbin/hddtemp)
+case "$1" in
+  start)
+    stat_busy "Starting HDDTemp"
+    [ -z "$PID" ] && /usr/sbin/hddtemp -d $PARAMS $DRIVES
+    if [ $? -gt 0 ]; then
+      stat_fail
+    else
+      add_daemon hddtemp
+      stat_done
+    fi
+    ;;
+  stop)
+    stat_busy "Stopping HDDTemp"
+    [ ! -z "$PID" ]  && kill $PID &> /dev/null
+    if [ $? -gt 0 ]; then
+      stat_fail
+    else
+      rm_daemon hddtemp
+      stat_done
+    fi 
+    ;;
+  restart)
+    $0 stop
+    sleep 2
+    $0 start
+    ;;
+  *)
+    echo "usage: $0 {start|stop|restart}"
+esac
+exit 0

Deleted: extra-i686/hddtemp-0.3-beta15-reg-eip.patch
===================================================================
--- extra-i686/hddtemp-0.3-beta15-reg-eip.patch	2012-06-03 10:39:06 UTC (rev 160662)
+++ extra-i686/hddtemp-0.3-beta15-reg-eip.patch	2012-06-03 10:40:04 UTC (rev 160663)
@@ -1,22 +0,0 @@
-__USE_GNU needs to be in effect when including sys/ucontext.h,
-and signal.h pulls it in in some setups.
-
-diff -up hddtemp-0.3-beta15/src/backtrace.c~ hddtemp-0.3-beta15/src/backtrace.c
---- hddtemp-0.3-beta15/src/backtrace.c~	2006-04-19 05:38:14.000000000 +0300
-+++ hddtemp-0.3-beta15/src/backtrace.c	2010-02-14 21:59:47.000000000 +0200
-@@ -27,13 +27,12 @@
- #include <stdlib.h>
- #include <unistd.h>
- #include <linux/ptrace.h>
-+#define __USE_GNU
-+#include <ucontext.h>
- #include <signal.h>
- #include <bits/sigcontext.h>
- #include <sys/param.h>
- 
--#define __USE_GNU
--#include <ucontext.h>
--
- #define MAX_BTSIZE 64
- 
- void backtrace_handler(int n, siginfo_t *ist, void *extra) {

Copied: hddtemp/repos/extra-i686/hddtemp-0.3-beta15-reg-eip.patch (from rev 160662, hddtemp/trunk/hddtemp-0.3-beta15-reg-eip.patch)
===================================================================
--- extra-i686/hddtemp-0.3-beta15-reg-eip.patch	                        (rev 0)
+++ extra-i686/hddtemp-0.3-beta15-reg-eip.patch	2012-06-03 10:40:04 UTC (rev 160663)
@@ -0,0 +1,22 @@
+__USE_GNU needs to be in effect when including sys/ucontext.h,
+and signal.h pulls it in in some setups.
+
+diff -up hddtemp-0.3-beta15/src/backtrace.c~ hddtemp-0.3-beta15/src/backtrace.c
+--- hddtemp-0.3-beta15/src/backtrace.c~	2006-04-19 05:38:14.000000000 +0300
++++ hddtemp-0.3-beta15/src/backtrace.c	2010-02-14 21:59:47.000000000 +0200
+@@ -27,13 +27,12 @@
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <linux/ptrace.h>
++#define __USE_GNU
++#include <ucontext.h>
+ #include <signal.h>
+ #include <bits/sigcontext.h>
+ #include <sys/param.h>
+ 
+-#define __USE_GNU
+-#include <ucontext.h>
+-
+ #define MAX_BTSIZE 64
+ 
+ void backtrace_handler(int n, siginfo_t *ist, void *extra) {

Deleted: extra-i686/hddtemp.confd
===================================================================
--- extra-i686/hddtemp.confd	2012-06-03 10:39:06 UTC (rev 160662)
+++ extra-i686/hddtemp.confd	2012-06-03 10:40:04 UTC (rev 160663)
@@ -1,2 +0,0 @@
-PARAMS="-q -l 127.0.0.1"
-DRIVES="/dev/sda"

Copied: hddtemp/repos/extra-i686/hddtemp.confd (from rev 160662, hddtemp/trunk/hddtemp.confd)
===================================================================
--- extra-i686/hddtemp.confd	                        (rev 0)
+++ extra-i686/hddtemp.confd	2012-06-03 10:40:04 UTC (rev 160663)
@@ -0,0 +1,2 @@
+PARAMS="-q -l 127.0.0.1"
+DRIVES="/dev/sda"

Copied: hddtemp/repos/extra-i686/hddtemp.service (from rev 160662, hddtemp/trunk/hddtemp.service)
===================================================================
--- extra-i686/hddtemp.service	                        (rev 0)
+++ extra-i686/hddtemp.service	2012-06-03 10:40:04 UTC (rev 160663)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Hard drive temperature monitor daemon
+
+[Service]
+EnvironmentFile=/etc/conf.d/hddtemp 
+ExecStart=/usr/sbin/hddtemp -dF $PARAMS $DRIVES
+
+[Install]
+WantedBy=multi-user.target

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-06-03 10:39:06 UTC (rev 160662)
+++ extra-x86_64/PKGBUILD	2012-06-03 10:40:04 UTC (rev 160663)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Roman Kyrylych <roman at archlinux.org>
-# Contributor: Damir Perisa <damir at archlinux.org>
-
-pkgname=hddtemp
-pkgver=0.3.beta15.46
-_origver=0.3-beta15
-_patchver=46
-pkgrel=2
-pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information"
-arch=('i686' 'x86_64')
-url="http://www.guzu.net/linux/hddtemp.php"
-license=('GPL')
-depends=('glibc')
-backup=('etc/conf.d/hddtemp')
-source=(http://www.guzu.net/files/hddtemp-${_origver}.tar.bz2
-        http://ftp.debian.org/debian/pool/main/h/hddtemp/hddtemp_${_origver}-${_patchver}.diff.gz
-        'hddtemp' 'hddtemp.confd' 'hddtemp-0.3-beta15-reg-eip.patch')
-md5sums=('8b829339e1ae9df701684ec239021bb8'
-         '040437845e28771c560b4bb40e41f933'
-         'b7ebb86dfeef3bc4577ed1040307e36b'
-         'fdca5c43900406f0be76534ef2a5a697'
-         '526ef28549dd0da7e38d32cfc8523592')
-options=('!libtool')
-
-build() {
-  cd "$srcdir/$pkgname-${_origver}"
-
-  patch -Np1 -i "$srcdir/${pkgname}_${_origver}-${_patchver}.diff"
-  patch -Np1 -i "$srcdir/hddtemp-0.3-beta15-reg-eip.patch"
-
-  ./configure --prefix=/usr --mandir=/usr/share/man --with-db-path=/usr/share/$pkgname/hddtemp.db
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-${_origver}"
-  make DESTDIR=$pkgdir install
-
-  install -D -m644 "$srcdir/$pkgname-${_origver}/debian/hddtemp.db" \
-    "$pkgdir/usr/share/${pkgname}/hddtemp.db"
-  install -D -m644 "$srcdir/hddtemp.confd" "$pkgdir/etc/conf.d/hddtemp"
-  install -D -m755 "$srcdir/hddtemp" "$pkgdir/etc/rc.d/hddtemp"
-}

Copied: hddtemp/repos/extra-x86_64/PKGBUILD (from rev 160662, hddtemp/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-06-03 10:40:04 UTC (rev 160663)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Damir Perisa <damir at archlinux.org>
+
+pkgname=hddtemp
+pkgver=0.3.beta15.46
+_origver=0.3-beta15
+_patchver=46
+pkgrel=3
+pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information"
+arch=('i686' 'x86_64')
+url="http://www.guzu.net/linux/hddtemp.php"
+license=('GPL')
+depends=('glibc')
+backup=('etc/conf.d/hddtemp')
+source=(http://www.guzu.net/files/hddtemp-${_origver}.tar.bz2
+        http://ftp.debian.org/debian/pool/main/h/hddtemp/hddtemp_${_origver}-${_patchver}.diff.gz
+        'hddtemp' 'hddtemp.service' 'hddtemp.confd' 'hddtemp-0.3-beta15-reg-eip.patch')
+md5sums=('8b829339e1ae9df701684ec239021bb8'
+         '040437845e28771c560b4bb40e41f933'
+         'b7ebb86dfeef3bc4577ed1040307e36b'
+         'b6767bdbb03b6cdbc1995418cafdb1e1'
+         'fdca5c43900406f0be76534ef2a5a697'
+         '526ef28549dd0da7e38d32cfc8523592')
+options=('!libtool')
+
+build() {
+  cd "$srcdir/$pkgname-${_origver}"
+
+  patch -Np1 -i "$srcdir/${pkgname}_${_origver}-${_patchver}.diff"
+  patch -Np1 -i "$srcdir/hddtemp-0.3-beta15-reg-eip.patch"
+
+  ./configure --prefix=/usr --mandir=/usr/share/man --with-db-path=/usr/share/$pkgname/hddtemp.db
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-${_origver}"
+  make DESTDIR=$pkgdir install
+
+  install -D -m644 "$srcdir/$pkgname-${_origver}/debian/hddtemp.db" \
+    "$pkgdir/usr/share/${pkgname}/hddtemp.db"
+  install -D -m644 "$srcdir/hddtemp.confd" "$pkgdir/etc/conf.d/hddtemp"
+  install -D -m644 "$srcdir/hddtemp.service" "$pkgdir/usr/lib/systemd/system/hddtemp.service"
+  install -D -m755 "$srcdir/hddtemp" "$pkgdir/etc/rc.d/hddtemp"
+}

Deleted: extra-x86_64/hddtemp
===================================================================
--- extra-x86_64/hddtemp	2012-06-03 10:39:06 UTC (rev 160662)
+++ extra-x86_64/hddtemp	2012-06-03 10:40:04 UTC (rev 160663)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PARAMS=
-DRIVES=
-[ -f /etc/conf.d/hddtemp ] && . /etc/conf.d/hddtemp
-PID=$(pidof -o %PPID /usr/sbin/hddtemp)
-case "$1" in
-  start)
-    stat_busy "Starting HDDTemp"
-    [ -z "$PID" ] && /usr/sbin/hddtemp -d $PARAMS $DRIVES
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon hddtemp
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping HDDTemp"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon hddtemp
-      stat_done
-    fi 
-    ;;
-  restart)
-    $0 stop
-    sleep 2
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"
-esac
-exit 0

Copied: hddtemp/repos/extra-x86_64/hddtemp (from rev 160662, hddtemp/trunk/hddtemp)
===================================================================
--- extra-x86_64/hddtemp	                        (rev 0)
+++ extra-x86_64/hddtemp	2012-06-03 10:40:04 UTC (rev 160663)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PARAMS=
+DRIVES=
+[ -f /etc/conf.d/hddtemp ] && . /etc/conf.d/hddtemp
+PID=$(pidof -o %PPID /usr/sbin/hddtemp)
+case "$1" in
+  start)
+    stat_busy "Starting HDDTemp"
+    [ -z "$PID" ] && /usr/sbin/hddtemp -d $PARAMS $DRIVES
+    if [ $? -gt 0 ]; then
+      stat_fail
+    else
+      add_daemon hddtemp
+      stat_done
+    fi
+    ;;
+  stop)
+    stat_busy "Stopping HDDTemp"
+    [ ! -z "$PID" ]  && kill $PID &> /dev/null
+    if [ $? -gt 0 ]; then
+      stat_fail
+    else
+      rm_daemon hddtemp
+      stat_done
+    fi 
+    ;;
+  restart)
+    $0 stop
+    sleep 2
+    $0 start
+    ;;
+  *)
+    echo "usage: $0 {start|stop|restart}"
+esac
+exit 0

Deleted: extra-x86_64/hddtemp-0.3-beta15-reg-eip.patch
===================================================================
--- extra-x86_64/hddtemp-0.3-beta15-reg-eip.patch	2012-06-03 10:39:06 UTC (rev 160662)
+++ extra-x86_64/hddtemp-0.3-beta15-reg-eip.patch	2012-06-03 10:40:04 UTC (rev 160663)
@@ -1,22 +0,0 @@
-__USE_GNU needs to be in effect when including sys/ucontext.h,
-and signal.h pulls it in in some setups.
-
-diff -up hddtemp-0.3-beta15/src/backtrace.c~ hddtemp-0.3-beta15/src/backtrace.c
---- hddtemp-0.3-beta15/src/backtrace.c~	2006-04-19 05:38:14.000000000 +0300
-+++ hddtemp-0.3-beta15/src/backtrace.c	2010-02-14 21:59:47.000000000 +0200
-@@ -27,13 +27,12 @@
- #include <stdlib.h>
- #include <unistd.h>
- #include <linux/ptrace.h>
-+#define __USE_GNU
-+#include <ucontext.h>
- #include <signal.h>
- #include <bits/sigcontext.h>
- #include <sys/param.h>
- 
--#define __USE_GNU
--#include <ucontext.h>
--
- #define MAX_BTSIZE 64
- 
- void backtrace_handler(int n, siginfo_t *ist, void *extra) {

Copied: hddtemp/repos/extra-x86_64/hddtemp-0.3-beta15-reg-eip.patch (from rev 160662, hddtemp/trunk/hddtemp-0.3-beta15-reg-eip.patch)
===================================================================
--- extra-x86_64/hddtemp-0.3-beta15-reg-eip.patch	                        (rev 0)
+++ extra-x86_64/hddtemp-0.3-beta15-reg-eip.patch	2012-06-03 10:40:04 UTC (rev 160663)
@@ -0,0 +1,22 @@
+__USE_GNU needs to be in effect when including sys/ucontext.h,
+and signal.h pulls it in in some setups.
+
+diff -up hddtemp-0.3-beta15/src/backtrace.c~ hddtemp-0.3-beta15/src/backtrace.c
+--- hddtemp-0.3-beta15/src/backtrace.c~	2006-04-19 05:38:14.000000000 +0300
++++ hddtemp-0.3-beta15/src/backtrace.c	2010-02-14 21:59:47.000000000 +0200
+@@ -27,13 +27,12 @@
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <linux/ptrace.h>
++#define __USE_GNU
++#include <ucontext.h>
+ #include <signal.h>
+ #include <bits/sigcontext.h>
+ #include <sys/param.h>
+ 
+-#define __USE_GNU
+-#include <ucontext.h>
+-
+ #define MAX_BTSIZE 64
+ 
+ void backtrace_handler(int n, siginfo_t *ist, void *extra) {

Deleted: extra-x86_64/hddtemp.confd
===================================================================
--- extra-x86_64/hddtemp.confd	2012-06-03 10:39:06 UTC (rev 160662)
+++ extra-x86_64/hddtemp.confd	2012-06-03 10:40:04 UTC (rev 160663)
@@ -1,2 +0,0 @@
-PARAMS="-q -l 127.0.0.1"
-DRIVES="/dev/sda"

Copied: hddtemp/repos/extra-x86_64/hddtemp.confd (from rev 160662, hddtemp/trunk/hddtemp.confd)
===================================================================
--- extra-x86_64/hddtemp.confd	                        (rev 0)
+++ extra-x86_64/hddtemp.confd	2012-06-03 10:40:04 UTC (rev 160663)
@@ -0,0 +1,2 @@
+PARAMS="-q -l 127.0.0.1"
+DRIVES="/dev/sda"

Copied: hddtemp/repos/extra-x86_64/hddtemp.service (from rev 160662, hddtemp/trunk/hddtemp.service)
===================================================================
--- extra-x86_64/hddtemp.service	                        (rev 0)
+++ extra-x86_64/hddtemp.service	2012-06-03 10:40:04 UTC (rev 160663)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Hard drive temperature monitor daemon
+
+[Service]
+EnvironmentFile=/etc/conf.d/hddtemp 
+ExecStart=/usr/sbin/hddtemp -dF $PARAMS $DRIVES
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list