summaryrefslogtreecommitdiff
path: root/sysutils/hddtemp
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2006-10-19 21:00:18 +0000
committerchristos <christos@pkgsrc.org>2006-10-19 21:00:18 +0000
commitc3455f996693ecabf8bc2855ea7acf10d49ef6fb (patch)
treebf4568fbfe702ee271a1fc0d129d20f67d9a3828 /sysutils/hddtemp
parentbc778b6197254f11ffbfd924956e720beb65d223 (diff)
downloadpkgsrc-c3455f996693ecabf8bc2855ea7acf10d49ef6fb.tar.gz
new package
Diffstat (limited to 'sysutils/hddtemp')
-rw-r--r--sysutils/hddtemp/DESCR3
-rw-r--r--sysutils/hddtemp/Makefile32
-rw-r--r--sysutils/hddtemp/PLIST8
-rw-r--r--sysutils/hddtemp/distinfo9
-rw-r--r--sysutils/hddtemp/patches/patch-aa15
5 files changed, 67 insertions, 0 deletions
diff --git a/sysutils/hddtemp/DESCR b/sysutils/hddtemp/DESCR
new file mode 100644
index 00000000000..db4f3cfca10
--- /dev/null
+++ b/sysutils/hddtemp/DESCR
@@ -0,0 +1,3 @@
+hddtemp is a small utility that gives you the temperature of your hard
+drive by reading S.M.A.R.T. information (for drives that support this
+feature). Note: only recent hard drives have a temperature sensor.
diff --git a/sysutils/hddtemp/Makefile b/sysutils/hddtemp/Makefile
new file mode 100644
index 00000000000..103c805dbb6
--- /dev/null
+++ b/sysutils/hddtemp/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2006/10/19 21:00:18 christos Exp $
+
+DISTNAME= hddtemp-0.3-beta15
+PKGNAME= hddtemp-0.3b15
+CATEGORIES= sysutils
+EXTRACT_SUFX= tar.bz2
+MASTER_SITES= http://www.guzu.net/files/
+
+SITES.hddtemp.db= http://www.guzu.net/linux/
+DISTFILES+= hddtemp.db
+
+
+MAINTAINER= christos@NetBSD.org
+HOMEPAGE= http://www.guzu.net/linux/hddtemp.php
+COMMENT= Gather temperature stats for disk drives
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+ONLY_FOR_PLATFORM= Linux-*-*
+
+USE_LANGUAGES= c
+USE_PKGLOCALEDIR= YES
+
+HAS_CONFIGURE= YES
+CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/misc
+ ${INSTALL_DATA} ${DISTDIR}/hddtemp.db ${PREFIX}/share/misc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/hddtemp/PLIST b/sysutils/hddtemp/PLIST
new file mode 100644
index 00000000000..3c256e3b4cb
--- /dev/null
+++ b/sysutils/hddtemp/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2006/10/19 21:00:18 christos Exp $
+sbin/hddtemp
+man/man8/hddtemp.8
+share/misc/hddtemp.db
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/hddtemp.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/hddtemp.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/hddtemp.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/hddtemp.mo
diff --git a/sysutils/hddtemp/distinfo b/sysutils/hddtemp/distinfo
new file mode 100644
index 00000000000..d2175fec76e
--- /dev/null
+++ b/sysutils/hddtemp/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2006/10/19 21:00:18 christos Exp $
+
+SHA1 (hddtemp-0.3-beta15.tar.bz2) = 65393b0a4d9862c030c81702d95c1acd00da275b
+RMD160 (hddtemp-0.3-beta15.tar.bz2) = 82b6affbbb14d23b5a8f3fecf3fff7acc0bd9def
+Size (hddtemp-0.3-beta15.tar.bz2) = 256372 bytes
+SHA1 (hddtemp.db) = f4ed19e51edfe5b5e8edffab7c650a0e6ce3ccb4
+RMD160 (hddtemp.db) = ce148a09adfe2dde91c922f7a40cc71cdaf011f4
+Size (hddtemp.db) = 20559 bytes
+SHA1 (patch-aa) = de89c8d8904435f084443735030daa9b9882caaa
diff --git a/sysutils/hddtemp/patches/patch-aa b/sysutils/hddtemp/patches/patch-aa
new file mode 100644
index 00000000000..32e5a755106
--- /dev/null
+++ b/sysutils/hddtemp/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2006/10/19 21:00:18 christos Exp $
+
+--- configure.orig 2006-10-19 15:08:52.793828848 -0400
++++ configure 2006-10-19 15:09:24.447895927 -0400
+@@ -10613,8 +10613,8 @@
+ echo "$as_me:$LINENO: checking Location of hddtemp.db" >&5
+ echo $ECHO_N "checking Location of hddtemp.db... $ECHO_C" >&6
+ DEFAULT_DATABASE_PATH=
+-#db_path=\"`eval echo ${datadir}`/misc/hddtemp.db\"
+-db_path=\"/usr/share/misc/hddtemp.db\"
++db_path=\"`eval echo ${datadir}`/misc/hddtemp.db\"
++#db_path=\"/usr/share/misc/hddtemp.db\"
+
+ # Check whether --with-db_path or --without-db_path was given.
+ if test "${with_db_path+set}" = set; then