diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-11-28 00:30:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-11-28 00:30:45 +0000 |
commit | d08759857d3ab3ae72e9e83450e84440848b0ac1 (patch) | |
tree | d257b56cd1b8a0d20715846d3dbeb58d8bde8b43 | |
parent | new ebuild #10965 (diff) | |
download | historical-d08759857d3ab3ae72e9e83450e84440848b0ac1.tar.gz historical-d08759857d3ab3ae72e9e83450e84440848b0ac1.tar.bz2 historical-d08759857d3ab3ae72e9e83450e84440848b0ac1.zip |
initial ebuild #11109
-rw-r--r-- | sys-apps/smartmontools/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/smartmontools/files/digest-smartmontools-5.0.45 | 1 | ||||
-rw-r--r-- | sys-apps/smartmontools/files/smartd.rc | 20 | ||||
-rw-r--r-- | sys-apps/smartmontools/smartmontools-5.0.45.ebuild | 27 |
4 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/smartmontools/ChangeLog b/sys-apps/smartmontools/ChangeLog new file mode 100644 index 000000000000..4ba9f2bd142e --- /dev/null +++ b/sys-apps/smartmontools/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-apps/smartmontools +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.1 2002/11/28 00:30:45 vapier Exp $ + +*smartmontools-5.0.45 (27 Nov 2002) + + 27 Nov 2002; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Nicolas Lidzborski <cpc@freeshell.org>. diff --git a/sys-apps/smartmontools/files/digest-smartmontools-5.0.45 b/sys-apps/smartmontools/files/digest-smartmontools-5.0.45 new file mode 100644 index 000000000000..a3135b494540 --- /dev/null +++ b/sys-apps/smartmontools/files/digest-smartmontools-5.0.45 @@ -0,0 +1 @@ +MD5 6f049ebf366618278f62f54da33d0cb2 smartmontools-5.0-45.tar.gz 80203 diff --git a/sys-apps/smartmontools/files/smartd.rc b/sys-apps/smartmontools/files/smartd.rc new file mode 100644 index 000000000000..823717825250 --- /dev/null +++ b/sys-apps/smartmontools/files/smartd.rc @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.1 2002/11/28 00:30:45 vapier Exp $ + +depend() { + need localmount +} + +start() { + ebegin "Starting S.M.A.R.T. monitoring daemon" + start-stop-daemon --start --exec /usr/sbin/smartd + eend $? +} + +stop() { + ebegin "Stopping S.M.A.R.T. monitoring daemon" + start-stop-daemon --stop --exec /usr/sbin/smartd + eend $? +} diff --git a/sys-apps/smartmontools/smartmontools-5.0.45.ebuild b/sys-apps/smartmontools/smartmontools-5.0.45.ebuild new file mode 100644 index 000000000000..ed134eb6f195 --- /dev/null +++ b/sys-apps/smartmontools/smartmontools-5.0.45.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-5.0.45.ebuild,v 1.1 2002/11/28 00:30:45 vapier Exp $ + +MY_P="${PN}-5.0-45" +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/smartmontools/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +S=${WORKDIR}/${MY_P} + +src_compile() { + emake || die +} + +src_install() { + dosbin smart{ctl,d} + doman *.8 + dodoc CHANGELOG WARNINGS README TODO VERSION + + exeinto /etc/init.d + newexe ${FILESDIR}/smartd.rc smartd +} |