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
commitedb5ff57ddd4ceb18cb2ba42f42e328026718a25 (patch)
treed723cf57035411cefffb5358da99dbb7a8377651 /app-admin/consolehm
parentAdded g-wrap-1.9.7.ebuild (diff)
downloadhistorical-edb5ff57ddd4ceb18cb2ba42f42e328026718a25.tar.gz
historical-edb5ff57ddd4ceb18cb2ba42f42e328026718a25.tar.bz2
historical-edb5ff57ddd4ceb18cb2ba42f42e328026718a25.zip
New ebuild, Gentoo/FreeBSD only.
Package-Manager: portage-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..398d548fa4f6
--- /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 1129 RMD160 198c9a7fc283f5dd4d325081361bb81482835331 SHA1 e9439baf623f3212519da0c50320041be52d518b SHA256 82a5aa71dce0b558abb560a8963f83b465cd8d03da4f6ba4b9f2e9d61e0ffef7
+MD5 162a73674e702d2f37aafdd0c3de28a1 consolehm-1.31.ebuild 1129
+RMD160 198c9a7fc283f5dd4d325081361bb81482835331 consolehm-1.31.ebuild 1129
+SHA256 82a5aa71dce0b558abb560a8963f83b465cd8d03da4f6ba4b9f2e9d61e0ffef7 consolehm-1.31.ebuild 1129
+MISC ChangeLog 413 RMD160 d24b313e06b4e41b1969c4c78f105d77e346d18d SHA1 49b65df2c491579981ff79e700293eb8bbc2d949 SHA256 f1f00feb4cc171853e1701d2a77a5eb5acf3a5499ba165ced87319440ba3f82f
+MD5 f83e7d94c0eb56b4ddd413270cd790d1 ChangeLog 413
+RMD160 d24b313e06b4e41b1969c4c78f105d77e346d18d ChangeLog 413
+SHA256 f1f00feb4cc171853e1701d2a77a5eb5acf3a5499ba165ced87319440ba3f82f ChangeLog 413
+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>