summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2006-06-08 10:59:42 +0000
committerJakub Moc <jakub@gentoo.org>2006-06-08 10:59:42 +0000
commitaff5bc0eff0eb9ef1a9ae586aad33435cbfd7707 (patch)
treebd193b9303de009a8fbcd6ec179e3cb514061542 /sys-apps
parentNew pam_skey ebuild, thanks to Ulrich Mueller and Dani Church in Bug 55279 (diff)
downloadsunrise-aff5bc0eff0eb9ef1a9ae586aad33435cbfd7707.tar.gz
sunrise-aff5bc0eff0eb9ef1a9ae586aad33435cbfd7707.tar.bz2
sunrise-aff5bc0eff0eb9ef1a9ae586aad33435cbfd7707.zip
New openguru ebuild, utility used to read Abit uGuru sensors. Bug 112702
svn path=/; revision=6
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/openguru/ChangeLog7
-rw-r--r--sys-apps/openguru/Manifest12
-rw-r--r--sys-apps/openguru/files/digest-openguru-13
-rw-r--r--sys-apps/openguru/openguru-1.ebuild37
4 files changed, 59 insertions, 0 deletions
diff --git a/sys-apps/openguru/ChangeLog b/sys-apps/openguru/ChangeLog
new file mode 100644
index 000000000..1126362bc
--- /dev/null
+++ b/sys-apps/openguru/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sys-apps/openguru
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 08 Jun 2006; Jakub Moc <jakub@gentoo.org> +openguru-1.ebuild:
+ New ebuild, created by myself. Bug 112702
+
diff --git a/sys-apps/openguru/Manifest b/sys-apps/openguru/Manifest
new file mode 100644
index 000000000..25761badf
--- /dev/null
+++ b/sys-apps/openguru/Manifest
@@ -0,0 +1,12 @@
+DIST oguru.tar.gz 9425 RMD160 e2939ba3ac1d7bac3e20b829d6874770a267f91f SHA1 9d8c43872619eb0144cd6c8912daad368be4a420 SHA256 499d8c341d43f70fdf7e5e076ed1dd356fde39dd98eaac26049dc55e0595025e
+EBUILD openguru-1.ebuild 895 RMD160 024da294a607b0336e12e989e77d7c28fa57f497 SHA1 7716b263acc3e6068b567f40b4e26837b20de51c SHA256 d9dcea5cc88c16284edae6057cecd76a1f6a30b1ab62ca831f65002f512d30a4
+MD5 ad6db9d002f1f3ab5879112c4c216757 openguru-1.ebuild 895
+RMD160 024da294a607b0336e12e989e77d7c28fa57f497 openguru-1.ebuild 895
+SHA256 d9dcea5cc88c16284edae6057cecd76a1f6a30b1ab62ca831f65002f512d30a4 openguru-1.ebuild 895
+MISC ChangeLog 227 RMD160 28f9f41143aad2fb2599eca2dae55fe17ff4c9a3 SHA1 4c452dd2c82fc59eb14f5c2a1b5b7aa8f7b975cf SHA256 85896574135d07cb13fcdf7d3f405a414545bd3b4bba2f19ba2d5f6ab84d1120
+MD5 eb5f6757d0f7a210276e5e35b570e9d3 ChangeLog 227
+RMD160 28f9f41143aad2fb2599eca2dae55fe17ff4c9a3 ChangeLog 227
+SHA256 85896574135d07cb13fcdf7d3f405a414545bd3b4bba2f19ba2d5f6ab84d1120 ChangeLog 227
+MD5 2dc418c944bcf71b966fc3b774c30077 files/digest-openguru-1 211
+RMD160 49ded19fafdece0986ace785ae797f65d40c1ae4 files/digest-openguru-1 211
+SHA256 ccd32f0aa7283b0f4394db5797a3f423e0d16fd6cd791c376058b6213f025424 files/digest-openguru-1 211
diff --git a/sys-apps/openguru/files/digest-openguru-1 b/sys-apps/openguru/files/digest-openguru-1
new file mode 100644
index 000000000..a156d486a
--- /dev/null
+++ b/sys-apps/openguru/files/digest-openguru-1
@@ -0,0 +1,3 @@
+MD5 f2deb90c34464a23259dd32d79719db8 oguru.tar.gz 9425
+RMD160 e2939ba3ac1d7bac3e20b829d6874770a267f91f oguru.tar.gz 9425
+SHA256 499d8c341d43f70fdf7e5e076ed1dd356fde39dd98eaac26049dc55e0595025e oguru.tar.gz 9425
diff --git a/sys-apps/openguru/openguru-1.ebuild b/sys-apps/openguru/openguru-1.ebuild
new file mode 100644
index 000000000..b969264ed
--- /dev/null
+++ b/sys-apps/openguru/openguru-1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="openGuru is a utility used to read Abit uGuru sensors"
+HOMEPAGE=""
+SRC_URI="http://hem.bredband.net/b330708/oguru/oguru.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+S=${WORKDIR}
+
+
+src_compile() {
+ ! has_hardened && CFLAGS="${CFLAGS} -Wl,-z,now"
+ $(tc-getCC) ${CFLAGS} -o ${PN} main.c openGuru.c || die "Compile failed"
+}
+
+src_install() {
+ into /usr
+ dobin openguru
+ # segfaults if not run with root privs
+ fowners root:wheel /usr/bin/openguru
+ fperms 4510 /usr/bin/openguru
+}
+
+pkg_postinst() {
+ einfo "Now you can run ${PN} as root to read sensors values."
+ ewarn "If you want non-root users to be able to use ${PN} as well,"
+ ewarn "you must add them to wheel group - see man usermod."
+}