summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Villavicencio <the_paya@gentoo.org>2007-01-12 15:23:09 +0000
committerJavier Villavicencio <the_paya@gentoo.org>2007-01-12 15:23:09 +0000
commitb2cc67cab2c6a65c1c0f7cb0c60b1a8f2357e4ab (patch)
treebdf947f19791fcfb7ef7a04e3b73984197bb5626 /app-admin/consolehm
parentAdded g-wrap-1.9.7.ebuild (diff)
downloadgentoo-2-b2cc67cab2c6a65c1c0f7cb0c60b1a8f2357e4ab.tar.gz
gentoo-2-b2cc67cab2c6a65c1c0f7cb0c60b1a8f2357e4ab.tar.bz2
gentoo-2-b2cc67cab2c6a65c1c0f7cb0c60b1a8f2357e4ab.zip
New ebuild, Gentoo/FreeBSD only.
(Portage version: 2.1.2_rc4-r7)
Diffstat (limited to 'app-admin/consolehm')
-rw-r--r--app-admin/consolehm/ChangeLog10
-rw-r--r--app-admin/consolehm/Manifest20
-rw-r--r--app-admin/consolehm/consolehm-1.31.ebuild46
-rw-r--r--app-admin/consolehm/files/consolehm-gcc4.patch10
-rw-r--r--app-admin/consolehm/files/digest-consolehm-1.313
-rw-r--r--app-admin/consolehm/metadata.xml5
6 files changed, 94 insertions, 0 deletions
diff --git a/app-admin/consolehm/ChangeLog b/app-admin/consolehm/ChangeLog
new file mode 100644
index 000000000000..6da8ffc93a88
--- /dev/null
+++ b/app-admin/consolehm/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-admin/consolehm
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/consolehm/ChangeLog,v 1.1 2007/01/12 15:23:09 the_paya Exp $
+
+*consolehm-1.31 (12 Jan 2007)
+
+ 12 Jan 2007; Javier Villavicencio <the_paya@gentoo.org>
+ +files/consolehm-gcc4.patch, +consolehm-1.31.ebuild:
+ New ebuild. Hardware sensors monitoring for FreeBSD.
+
diff --git a/app-admin/consolehm/Manifest b/app-admin/consolehm/Manifest
new file mode 100644
index 000000000000..97bbda8d7936
--- /dev/null
+++ b/app-admin/consolehm/Manifest
@@ -0,0 +1,20 @@
+AUX consolehm-gcc4.patch 250 RMD160 2bd7cb58e0232247e2793ff7fecabfc198b74465 SHA1 fd1ab3ebd851ac505afaf1968bbc374574995742 SHA256 59cab73407d1311686629585eb893a3e704feb5aa9c963ad38acad859b8c1723
+MD5 a7b12929c24c877709ec8b616ff03377 files/consolehm-gcc4.patch 250
+RMD160 2bd7cb58e0232247e2793ff7fecabfc198b74465 files/consolehm-gcc4.patch 250
+SHA256 59cab73407d1311686629585eb893a3e704feb5aa9c963ad38acad859b8c1723 files/consolehm-gcc4.patch 250
+DIST consolehm-1.31.tar.gz 21615 RMD160 6a7e9df513066b52bc545365ffc8176fddfdace0 SHA1 3e8cc555190baf7c0c18b34a072dff85b2c2d4a0 SHA256 121bdc1f50f06e7a751bf1aee9d3d7d36415b234a524af6b6f626dcf5b9d5ef6
+EBUILD consolehm-1.31.ebuild 1024 RMD160 8b7ed85a2ce253a5202a76e529ba177d104f1426 SHA1 8c1b721f596ba10f53ae1d4fb32605d42bf3abc1 SHA256 67b83b757ce3140f9b301b75e31bc078755bae2f4d0f5516c6e95569e8b1b94b
+MD5 86b7ac0ceb596ed49c6d3f585065491f consolehm-1.31.ebuild 1024
+RMD160 8b7ed85a2ce253a5202a76e529ba177d104f1426 consolehm-1.31.ebuild 1024
+SHA256 67b83b757ce3140f9b301b75e31bc078755bae2f4d0f5516c6e95569e8b1b94b consolehm-1.31.ebuild 1024
+MISC ChangeLog 320 RMD160 21f880a839e17198ae3fcd1cce03aa721f04d22f SHA1 d211c80ca83416d2b42ab2ff838ad28192ccf771 SHA256 9632ab5912050d95c4e1102187c96a340e0ebc3ad0866d109fbb6e41b0920949
+MD5 3d71aa010a37704475c1320346da6685 ChangeLog 320
+RMD160 21f880a839e17198ae3fcd1cce03aa721f04d22f ChangeLog 320
+SHA256 9632ab5912050d95c4e1102187c96a340e0ebc3ad0866d109fbb6e41b0920949 ChangeLog 320
+MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7
+MD5 2bd48a5ae413433cbb36110b219ce97c metadata.xml 156
+RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 metadata.xml 156
+SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 metadata.xml 156
+MD5 39e4b289a6512af75fc886412337f0a1 files/digest-consolehm-1.31 241
+RMD160 534a5abbae31a0f3963dbafbe59f3f42d373848a files/digest-consolehm-1.31 241
+SHA256 84f155344fc91aa62549fed308cfe47b600767ff4e412867822ceeb7555a34fd files/digest-consolehm-1.31 241
diff --git a/app-admin/consolehm/consolehm-1.31.ebuild b/app-admin/consolehm/consolehm-1.31.ebuild
new file mode 100644
index 000000000000..35b2ed309f5c
--- /dev/null
+++ b/app-admin/consolehm/consolehm-1.31.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/consolehm/consolehm-1.31.ebuild,v 1.1 2007/01/12 15:23:09 the_paya Exp $
+
+inherit eutils
+
+DESCRIPTION="Console based hardware monitor for FreeBSD"
+HOMEPAGE="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/fenner/"
+SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/fenner/${P}.tar.gz"
+LICENSE="BSD-2"
+SLOT="0"
+
+KEYWORDS="~x86-fbsd"
+
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PN}-gcc4.patch || die "patch failed"
+ export CHMS="${S}/consolehm"
+ # The only 'SMBus' smb.h i've found is in a different place:
+ cd "${S}/consolehm"
+ sed -i.orig -e 's:machine/smb.h:dev/smbus/smb.h:g' \
+ configure.in \
+ configure \
+ chm.h || die "sed failed."
+}
+
+src_compile() {
+ cd "${S}/consolehm"
+ econf || die "econf failed"
+ MAKE=make emake || die "emake failed"
+}
+
+src_install() {
+ dobin "${S}/consolehm/chm"
+ doman "${S}/consolehm/chm.8"
+ dodoc ${S}/CHANGELOG
+ dodoc ${S}/README
+ dodoc ${S}/TODO
+}
diff --git a/app-admin/consolehm/files/consolehm-gcc4.patch b/app-admin/consolehm/files/consolehm-gcc4.patch
new file mode 100644
index 000000000000..85f677a29cbf
--- /dev/null
+++ b/app-admin/consolehm/files/consolehm-gcc4.patch
@@ -0,0 +1,10 @@
+--- consolehm/consolehm/chm.c.orig 2000-12-23 03:51:45 -0300
++++ consolehm/consolehm/chm.c 2007-01-12 11:18:27 -0300
+@@ -165,6 +165,7 @@
+ printf("Delay: %d microseconds. \n\n",delay);
+ break;
+ default:
++ ;;
+ }
+
+ file_handle = OpenIO();
diff --git a/app-admin/consolehm/files/digest-consolehm-1.31 b/app-admin/consolehm/files/digest-consolehm-1.31
new file mode 100644
index 000000000000..2ba99ae3ce89
--- /dev/null
+++ b/app-admin/consolehm/files/digest-consolehm-1.31
@@ -0,0 +1,3 @@
+MD5 d8f7418b28b5f605c6ac4a09563490d4 consolehm-1.31.tar.gz 21615
+RMD160 6a7e9df513066b52bc545365ffc8176fddfdace0 consolehm-1.31.tar.gz 21615
+SHA256 121bdc1f50f06e7a751bf1aee9d3d7d36415b234a524af6b6f626dcf5b9d5ef6 consolehm-1.31.tar.gz 21615
diff --git a/app-admin/consolehm/metadata.xml b/app-admin/consolehm/metadata.xml
new file mode 100644
index 000000000000..ecedda4aa2cc
--- /dev/null
+++ b/app-admin/consolehm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>bsd</herd>
+</pkgmetadata>