summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-09-23 03:19:34 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-09-23 03:19:34 +0000
commit63541d457775ee3442307883a3d98ae063d99871 (patch)
tree53bcdc727bb6b9390e42b46026f63cdae2ac0bd1 /sys-apps
parentVersion bump (diff)
downloadhistorical-63541d457775ee3442307883a3d98ae063d99871.tar.gz
historical-63541d457775ee3442307883a3d98ae063d99871.tar.bz2
historical-63541d457775ee3442307883a3d98ae063d99871.zip
Add a live version for testing upstream changes on new hardware.
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/smartmontools/ChangeLog8
-rw-r--r--sys-apps/smartmontools/Manifest3
-rw-r--r--sys-apps/smartmontools/smartmontools-9999.ebuild71
3 files changed, 80 insertions, 2 deletions
diff --git a/sys-apps/smartmontools/ChangeLog b/sys-apps/smartmontools/ChangeLog
index ab6af6833ee6..cf7889fbe136 100644
--- a/sys-apps/smartmontools/ChangeLog
+++ b/sys-apps/smartmontools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/smartmontools
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.82 2009/08/26 23:08:15 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.83 2009/09/23 03:19:34 robbat2 Exp $
+
+*smartmontools-9999 (23 Sep 2009)
+
+ 23 Sep 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +smartmontools-9999.ebuild:
+ Add a live version for testing upstream changes on new hardware.
*smartmontools-5.38-r1 (26 Aug 2009)
diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index 644d7ce2e162..9d96409c8767 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -9,5 +9,6 @@ EBUILD smartmontools-5.37-r1.ebuild 1382 RMD160 3868d4c110abbe31e474971c0802d4a3
EBUILD smartmontools-5.37.ebuild 1231 RMD160 d62ec6874bf2ab126e38c0f66be6a81f8536481b SHA1 8bff77684c53e75fcf8e5823426914b7e8b72963 SHA256 fbdb5d3d9ec16e00050b4f5260f30f0ad1f04ba05d036d3e6a8666ddaf7e12b2
EBUILD smartmontools-5.38-r1.ebuild 1298 RMD160 27066b8b6e847d98f309c86a40558ee13543b75b SHA1 090c796673ad83eb235eeeb1e0dd6c2d3cb7bda7 SHA256 3d325b5774ebb32cef658ff3b0161be86c23c30dc29486d523038d4cad3dd70c
EBUILD smartmontools-5.38.ebuild 1446 RMD160 c4fc0d4a4a08f46af2f54208548576681a95dc44 SHA1 b69b0c8a53aef9382c6fb99d27da9ff965777e12 SHA256 2a595715a99948c09674554525cd1862cca57312e96d5ea4a2c2274d5d9eaa7b
-MISC ChangeLog 10424 RMD160 05ad0910174a6389fc68a2839ec03582dcd434e3 SHA1 6ecc88ba12b52a3c96efff50c6cc88469652e32f SHA256 cfb8c6b5dc1cd6a70ad0b17dda81dcca59b34816440a4a344f84bd52fd972404
+EBUILD smartmontools-9999.ebuild 1747 RMD160 c56bdd85d9566d6d163175bc1eb1ac83959a250d SHA1 dbd6ac025b8f36ac9b43418a2b71bbfcf682d04a SHA256 2ef821060b6766083e196836fa4a7f8c7407f1f56ef07a79860b27de954254aa
+MISC ChangeLog 10610 RMD160 0131683695fcc74021cb04bac2913f1c5cf957be SHA1 0bc7adb572937fe3cb739a3622de6a59fb4d8d29 SHA256 29ffc9f5c53a38fe24c9ac8a9fc96e6a4e8f48295d8e7e00b67048545c58cee3
MISC metadata.xml 266 RMD160 d60cb888a5e13f1656de16d13b38e60e909fca14 SHA1 ddaa4497088bd48456301b7ab7115928713fa882 SHA256 bdf7da32dcd39df0f58aa02c64dfd1c5dda0ca1080c9b1001d8e110881a364eb
diff --git a/sys-apps/smartmontools/smartmontools-9999.ebuild b/sys-apps/smartmontools/smartmontools-9999.ebuild
new file mode 100644
index 000000000000..1d8d14432b6d
--- /dev/null
+++ b/sys-apps/smartmontools/smartmontools-9999.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-9999.ebuild,v 1.1 2009/09/23 03:19:34 robbat2 Exp $
+
+EAPI="2"
+
+if [[ ${PV} == "9999" ]] ; then
+ ESVN_REPO_URI="https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools"
+ ESVN_PROJECT="smartmontools"
+ ECLASS_NEED='subversion autotools'
+ SRC_URI=""
+else
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+fi
+inherit flag-o-matic ${ECLASS_NEED}
+
+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/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="static minimal"
+
+RDEPEND="!minimal? ( virtual/mailx )"
+DEPEND=""
+
+src_unpack() {
+ if [[ ${PV} == "9999" ]] ; then
+ subversion_src_unpack
+ else
+ unpack ${A}
+ fi
+}
+
+src_prepare() {
+ if [[ ${PV} == "9999" ]]; then
+ #./autogen.sh
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ use minimal && einfo "Skipping the monitoring daemon for minimal build."
+ use static && append-ldflags -static
+ econf || die
+}
+
+src_compile() {
+ 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
+}