summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-03-10 19:29:06 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-03-10 19:29:06 +0000
commit6c8ec31c96e332cfaa7bb2f7c396c7efb539a04d (patch)
tree4b8ad0a4a5a5309a9d6d4fe6d056061c2c33fc18 /sys-apps/smartmontools
parentStable on ppc64; bug #212362 (diff)
downloadhistorical-6c8ec31c96e332cfaa7bb2f7c396c7efb539a04d.tar.gz
historical-6c8ec31c96e332cfaa7bb2f7c396c7efb539a04d.tar.bz2
historical-6c8ec31c96e332cfaa7bb2f7c396c7efb539a04d.zip
Add USE=minimal support for setups without the smartd.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-apps/smartmontools')
-rw-r--r--sys-apps/smartmontools/ChangeLog8
-rw-r--r--sys-apps/smartmontools/Manifest3
-rw-r--r--sys-apps/smartmontools/smartmontools-5.37-r1.ebuild50
3 files changed, 59 insertions, 2 deletions
diff --git a/sys-apps/smartmontools/ChangeLog b/sys-apps/smartmontools/ChangeLog
index 52f6b73e148f..a2c3ee977949 100644
--- a/sys-apps/smartmontools/ChangeLog
+++ b/sys-apps/smartmontools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/smartmontools
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.73 2008/02/07 12:44:29 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.74 2008/03/10 19:29:06 robbat2 Exp $
+
+*smartmontools-5.37-r1 (10 Mar 2008)
+
+ 10 Mar 2008; Robin H. Johnson <robbat2@gentoo.org>
+ +smartmontools-5.37-r1.ebuild:
+ Add USE=minimal support for setups without the smartd.
07 Feb 2008; Raúl Porcel <armin76@gentoo.org> smartmontools-5.37.ebuild:
alpha/ia64 stable
diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index 4def16e944ac..832e5672baa2 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -4,6 +4,7 @@ AUX smartmontools-5.36-utf8.patch 1276 RMD160 4a44e931474c484420dd6cd61861006d37
DIST smartmontools-5.36.tar.gz 540786 RMD160 38efdc3b8dd78ded3f09890683c84973ccc036e7 SHA1 aafc42287c694e4206d80b7886401acdb0eff230 SHA256 f2032adf22f8d17aad7f3dbed0a9361c25e273d3ca6abb996c84159afd624bf4
DIST smartmontools-5.37.tar.gz 590605 RMD160 e9d18c71340766dc43bf462a4c12cb0d152f2812 SHA1 d6e88f576e26836b929c570290644b0580645602 SHA256 2984645b207c52ea9b8ef3951af8bd0c5aab469607fabf63ade05f8fe87309c1
EBUILD smartmontools-5.36-r1.ebuild 1316 RMD160 98d9829992e6e6c1029827bd52bd2fc6a16b3710 SHA1 510ce4c3ad4c83adad29568d16150a96068c3023 SHA256 ab3815809765a3f00f4cfe4ea27800a86e75fc1ee37d8f7112cefa531eaa3157
+EBUILD smartmontools-5.37-r1.ebuild 1382 RMD160 3868d4c110abbe31e474971c0802d4a363c3a016 SHA1 c07a928c5c01d3df3f6144490afa0324ed1919fc SHA256 aa86b1d62d397d977eb89137977b25b0dc799f2560b71f625d8a2a3d8e3c83d8
EBUILD smartmontools-5.37.ebuild 1231 RMD160 d62ec6874bf2ab126e38c0f66be6a81f8536481b SHA1 8bff77684c53e75fcf8e5823426914b7e8b72963 SHA256 fbdb5d3d9ec16e00050b4f5260f30f0ad1f04ba05d036d3e6a8666ddaf7e12b2
-MISC ChangeLog 9127 RMD160 208405bced35d8ad1280ac04c0d2dfc612bdb5f8 SHA1 643d57b26837a98a0ea68a2c5587e770d1f37619 SHA256 b6f2404dee30cfdafdde30fb7ab44c2a168356f28a5470efe0f75fdba56bf9e0
+MISC ChangeLog 9309 RMD160 80bdd88c4d7bb59a7fd1840248e7bdeaea992c6a SHA1 388a8bcedbf6aeff63aa19843865f2c26da0c9bc SHA256 dfa55026bed1904b2593bd9eb3c4c3d47913af5026a4687cc08ed2fb920f7a6a
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
diff --git a/sys-apps/smartmontools/smartmontools-5.37-r1.ebuild b/sys-apps/smartmontools/smartmontools-5.37-r1.ebuild
new file mode 100644
index 000000000000..94a0f4a42b0b
--- /dev/null
+++ b/sys-apps/smartmontools/smartmontools-5.37-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-5.37-r1.ebuild,v 1.1 2008/03/10 19:29:06 robbat2 Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.)"
+HOMEPAGE="http://smartmontools.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="static minimal"
+
+RDEPEND=""
+DEPEND=""
+
+src_compile() {
+ use static && append-ldflags -static
+ econf || die
+ emake || die
+}
+
+src_install() {
+ dosbin smartctl || die "dosbin smartctl"
+ dodoc AUTHORS CHANGELOG NEWS README TODO WARNINGS
+ doman smartctl.8
+ if ! use minimal; then
+ dosbin smartd || die "dosbin smartd"
+ doman smartd*.[58]
+ newdoc smartd.conf smartd.conf.example
+ docinto examplescripts
+ dodoc examplescripts/*
+ rm -f "${D}"/usr/share/doc/${PF}/examplescripts/Makefile*
+
+ insinto /etc
+ doins smartd.conf
+
+ newinitd "${FILESDIR}"/smartd.rc smartd
+ newconfd "${FILESDIR}"/smartd.confd smartd
+ fi
+}
+
+pkg_postinst() {
+ if ! use minimal; then
+ elog "You need the 'mail' command if you configured smartd to send reports"
+ elog "via email, 'emerge virtual/mailx' to get a mailer"
+ fi
+}