summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArcady Genkin <agenkin@gentoo.org>2002-07-23 23:28:34 +0000
committerArcady Genkin <agenkin@gentoo.org>2002-07-23 23:28:34 +0000
commit8b3bf8891ced07423698a42017369455d17b0ae8 (patch)
tree872a364630b97219afa6a1c817ae34bb1f6079ad /app-admin
parentremoved the old 0.17 build, the only difference was SLOT and KEYWORD + LICENSE. (diff)
downloadgentoo-2-8b3bf8891ced07423698a42017369455d17b0ae8.tar.gz
gentoo-2-8b3bf8891ced07423698a42017369455d17b0ae8.tar.bz2
gentoo-2-8b3bf8891ced07423698a42017369455d17b0ae8.zip
Initial version. CLoses #1430.
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/smartsuite/ChangeLog9
-rw-r--r--app-admin/smartsuite/files/digest-smartsuite-2.11
-rw-r--r--app-admin/smartsuite/files/smartd.rc18
-rw-r--r--app-admin/smartsuite/smartsuite-2.1.ebuild40
4 files changed, 68 insertions, 0 deletions
diff --git a/app-admin/smartsuite/ChangeLog b/app-admin/smartsuite/ChangeLog
new file mode 100644
index 000000000000..0d94efc4b9ec
--- /dev/null
+++ b/app-admin/smartsuite/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-admin/smartsuite
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/smartsuite/ChangeLog,v 1.1 2002/07/23 23:28:34 agenkin Exp $
+
+*smartsuite-2.1 (23 Jul 2002)
+
+ 23 Jul 2002; Arcady Genkin <agenkin@thpoon.com> smartsuite-2.1.ebuild :
+
+ Initial version, submitted by Alexander Gretencord <arutha@gmx.de>.
diff --git a/app-admin/smartsuite/files/digest-smartsuite-2.1 b/app-admin/smartsuite/files/digest-smartsuite-2.1
new file mode 100644
index 000000000000..c17c097a9bd9
--- /dev/null
+++ b/app-admin/smartsuite/files/digest-smartsuite-2.1
@@ -0,0 +1 @@
+MD5 f793fa1ed6419090af1c8e45cc052805 smartsuite-2.1.tar.gz 31129
diff --git a/app-admin/smartsuite/files/smartd.rc b/app-admin/smartsuite/files/smartd.rc
new file mode 100644
index 000000000000..94ba11931e2c
--- /dev/null
+++ b/app-admin/smartsuite/files/smartd.rc
@@ -0,0 +1,18 @@
+#!/sbin/runscript
+# $Header: /var/cvsroot/gentoo-x86/app-admin/smartsuite/files/smartd.rc,v 1.1 2002/07/23 23:28:34 agenkin Exp $
+
+depend() {
+ need localmount
+}
+
+start() {
+ ebegin "Starting S.M.A.R.T: monitoring daemon ..."
+ start-stop-daemon --start --exec /sbin/smartd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping S.M.A.R.T: monitoring daemon ..."
+ start-stop-daemon --stop --exec /sbin/smartd
+ eend $?
+}
diff --git a/app-admin/smartsuite/smartsuite-2.1.ebuild b/app-admin/smartsuite/smartsuite-2.1.ebuild
new file mode 100644
index 000000000000..71e51da2b16c
--- /dev/null
+++ b/app-admin/smartsuite/smartsuite-2.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2002 Alexander Gretencord <arutha@gmx.de>
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/smartsuite/smartsuite-2.1.ebuild,v 1.1 2002/07/23 23:28:34 agenkin Exp $
+
+DESCRIPTION="Suite to control and monitor storage devices using SMART technology."
+HOMEPAGE="http://www.linux-ide.org/smart.html"
+DEPEND="virtual/glibc"
+LICENSE="GPL-2"
+
+SRC_URI="mirror://sourceforge/smartsuite/${P}.tar.gz
+ http://www.linux-ide.org/smart/${P}.tar.gz"
+S=${WORKDIR}/${P}
+
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ sed -e "/^CFLAGS/ s/-O2/$CFLAGS/" < Makefile > Makefile.hacked
+ mv Makefile.hacked Makefile
+
+}
+
+src_compile() {
+
+ emake || die
+
+}
+
+src_install() {
+
+ dosbin smartctl smartd
+ doman smartctl.8 smartd.8
+
+ insinto /etc/init.d
+ newins ${FILESDIR}/smartd.rc smartd
+
+ dodoc CHANGELOG TODO COPYING README
+
+}