[arch-commits] CVS update of extra/system/hddtemp (3 files)
Aaron Griffin
aaron at archlinux.org
Sun May 13 04:53:24 UTC 2007
Date: Sunday, May 13, 2007 @ 00:53:24
Author: aaron
Path: /home/cvs-extra/extra/system/hddtemp
Removed: PKGBUILD (1.9) hddtemp--0.3--patch-7.patches.tar.gz (1.1)
kernel_2620.diff (1.1)
Package cleanup: packages moved to unsupported (AUR)
--------------------------------------+
PKGBUILD | 32 --------------------------------
hddtemp--0.3--patch-7.patches.tar.gz | <<Binary file>>
kernel_2620.diff | 25 -------------------------
3 files changed, 1 insertion(+), 57 deletions(-)
Index: extra/system/hddtemp/PKGBUILD
diff -u extra/system/hddtemp/PKGBUILD:1.9 extra/system/hddtemp/PKGBUILD:removed
--- extra/system/hddtemp/PKGBUILD:1.9 Mon Mar 12 18:49:38 2007
+++ extra/system/hddtemp/PKGBUILD Sun May 13 00:53:24 2007
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD,v 1.9 2007/03/12 22:49:38 damir Exp $
-# Maintainer: damir <damir at archlinux.org>
-
-force=y
-
-pkgname=hddtemp
-pkgver=0.3.beta15.patch7
-__origver=0.3-beta15
-__patchedver=7
-pkgrel=1
-pkgdesc="hddtemp gives you the temperature of your hard drive by reading S.M.A.R.T. informations "
-arch=("i686" "x86_64")
-url="http://www.guzu.net/linux/hddtemp.php"
-depends=('glibc')
-source=("http://www.guzu.net/files/hddtemp-${__origver}.tar.bz2" \
- "http://www.guzu.net/linux/hddtemp.db" \
- "http://arch.sv.nongnu.org/archives/hddtemp/sources/hddtemp--0.3/patch-7/hddtemp--0.3--patch-${__patchedver}.patches.tar.gz")
-
-build() {
- cd $startdir/src/$pkgname-${__origver}
- # FS#6531
- for datei in $(ls $startdir/src/hddtemp--0.3--patch-${__patchedver}.patches/patches/src/*) ; do
- patch -Np1 -i $datei || return 1
- done
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
- mkdir -p $startdir/pkg/usr/share/misc/
- cp $startdir/src/hddtemp.db $startdir/pkg/usr/share/misc/hddtemp.db
-}
-
-
Index: extra/system/hddtemp/hddtemp--0.3--patch-7.patches.tar.gz
<<Binary file>>
Index: extra/system/hddtemp/kernel_2620.diff
diff -u extra/system/hddtemp/kernel_2620.diff:1.1 extra/system/hddtemp/kernel_2620.diff:removed
--- extra/system/hddtemp/kernel_2620.diff:1.1 Fri Mar 9 18:59:24 2007
+++ extra/system/hddtemp/kernel_2620.diff Sun May 13 00:53:24 2007
@@ -1,25 +0,0 @@
---- hddtemp-0.3-beta15/src/satacmds.c~ 2006-12-19 12:01:10.000000000 +0100
-+++ hddtemp-0.3-beta15/src/satacmds.c 2006-12-19 12:01:27.000000000 +0100
-@@ -54,7 +54,6 @@
- unsigned char cdb[16];
- unsigned char sense[32];
- int dxfer_direction;
-- int ret;
-
- memset(cdb, 0, sizeof(cdb));
- cdb[0] = ATA_16;
-@@ -78,13 +77,7 @@
- cdb[6] = cmd[1];
- cdb[14] = cmd[0];
-
-- ret = scsi_SG_IO(device, cdb, sizeof(cdb), buffer, cmd[3] * 512, sense, sizeof(sense), dxfer_direction);
--
-- /* Verify SATA magics */
-- if (sense[0] != 0x72 || sense[7] != 0x0e || sense[9] != 0x0e || sense[10] != 0x00)
-- return 1;
-- else
-- return ret;
-+ return scsi_SG_IO(device, cdb, sizeof(cdb), buffer, cmd[3] * 512, sense, sizeof(sense), dxfer_direction);
- }
-
- void sata_fixstring(unsigned char *s, int bytecount)
More information about the arch-commits
mailing list