diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-10 01:19:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-10 01:19:01 +0000 |
commit | ef58299a3e980e8c45d9e4aa60b0386cc0413606 (patch) | |
tree | 2abaf97f04be92a05776905c73cba22e29bbe69f /sys-apps/smartmontools | |
parent | old (diff) | |
download | historical-ef58299a3e980e8c45d9e4aa60b0386cc0413606.tar.gz historical-ef58299a3e980e8c45d9e4aa60b0386cc0413606.tar.bz2 historical-ef58299a3e980e8c45d9e4aa60b0386cc0413606.zip |
ver bump #62717
Diffstat (limited to 'sys-apps/smartmontools')
-rw-r--r-- | sys-apps/smartmontools/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/smartmontools/Manifest | 13 | ||||
-rw-r--r-- | sys-apps/smartmontools/files/digest-smartmontools-5.33 | 1 | ||||
-rw-r--r-- | sys-apps/smartmontools/files/smartd.confd | 6 | ||||
-rw-r--r-- | sys-apps/smartmontools/files/smartd.rc | 26 | ||||
-rw-r--r-- | sys-apps/smartmontools/smartmontools-5.33.ebuild | 24 |
6 files changed, 67 insertions, 11 deletions
diff --git a/sys-apps/smartmontools/ChangeLog b/sys-apps/smartmontools/ChangeLog index e894bb4b557e..a52846282232 100644 --- a/sys-apps/smartmontools/ChangeLog +++ b/sys-apps/smartmontools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/smartmontools # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.34 2004/06/24 22:26:58 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.35 2004/10/10 01:19:01 vapier Exp $ + +*smartmontools-5.33 (09 Oct 2004) + + 09 Oct 2004; Mike Frysinger <vapier@gentoo.org> +files/smartd.confd, + files/smartd.rc, +smartmontools-5.33.ebuild: + Version bump #62717 by Ziga Boehm. 24 May 2004; Bryan Østergaard <kloeri@gentoo.org> smartmontools-5.30.ebuild: Keyworded ~alpha, requested in bug #51550. diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest index 2067e0831128..9d904ff35bf0 100644 --- a/sys-apps/smartmontools/Manifest +++ b/sys-apps/smartmontools/Manifest @@ -1,15 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 378681b89575f6f90802ff7e5b42c9e7 ChangeLog 4262 +MD5 a2abef32a8fc162fa512514375c1c619 ChangeLog 4451 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 8960d44510392af0e266b190df649360 smartmontools-5.33.ebuild 811 MD5 0c19ccaedfb318acdd98c872ab3906b0 smartmontools-5.30.ebuild 907 +MD5 79699d2f3e2d148b1d5498b00792cd33 files/smartd.confd 273 MD5 e7139ba9820a427c563c21362752bed3 files/digest-smartmontools-5.30 70 -MD5 74b30707345231077aa4890d3916f2b7 files/smartd.rc 511 +MD5 3a3bbcc1d33c8f4e7b8831ee0027dae8 files/digest-smartmontools-5.33 70 +MD5 cf38ad63a3b35726d92cb248bfd5cccf files/smartd.rc 856 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (GNU/Linux) -iD8DBQFBaI26HTu7gpaalycRAvEcAJsF2d8B8eOvU31EvS29ZPzx/lWxagCg1U7u -bQOn46O2TldFyFEWLTAR4ew= -=sDPT +iD8DBQFBaI4YHTu7gpaalycRAhNmAKDxxM3hhFW07rPO0bNUcy4p9pRbKQCgmwci +AeNONo5lsqP72X5FxB6PlyI= +=ElAU -----END PGP SIGNATURE----- diff --git a/sys-apps/smartmontools/files/digest-smartmontools-5.33 b/sys-apps/smartmontools/files/digest-smartmontools-5.33 new file mode 100644 index 000000000000..986515d17c4c --- /dev/null +++ b/sys-apps/smartmontools/files/digest-smartmontools-5.33 @@ -0,0 +1 @@ +MD5 53f6861a916169a88a9edb1848e27dd0 smartmontools-5.33.tar.gz 509826 diff --git a/sys-apps/smartmontools/files/smartd.confd b/sys-apps/smartmontools/files/smartd.confd new file mode 100644 index 000000000000..762e3847c790 --- /dev/null +++ b/sys-apps/smartmontools/files/smartd.confd @@ -0,0 +1,6 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.confd,v 1.1 2004/10/10 01:19:01 vapier Exp $ + +# Insert any other options needed +SMARTD_OPTS="" diff --git a/sys-apps/smartmontools/files/smartd.rc b/sys-apps/smartmontools/files/smartd.rc index 3a1034918054..c4a5c3c79381 100644 --- a/sys-apps/smartmontools/files/smartd.rc +++ b/sys-apps/smartmontools/files/smartd.rc @@ -1,20 +1,36 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.3 2004/07/15 00:51:46 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.4 2004/10/10 01:19:01 vapier Exp $ -depend() { - need localmount +opts="${opts} reload" + +checkconfig() { + if [ ! -f "/etc/smartd.conf" ] ; then + eerror "You should setup your /etc/smartd.conf file!" + eerror "See sample conf: /etc/smartd.conf.example" + return 1 + fi + return 0 } start() { + checkconfig || return 1 + ebegin "Starting S.M.A.R.T. monitoring daemon" - start-stop-daemon --start --exec /usr/sbin/smartd + start-stop-daemon --start --exec /usr/sbin/smartd \ + -- -p /var/run/smartd.pid ${SMARTD_OPTS} eend $? } stop() { ebegin "Stopping S.M.A.R.T. monitoring daemon" - start-stop-daemon --stop --exec /usr/sbin/smartd + start-stop-daemon --stop --pid /var/run/smartd.pid + eend $? +} + +reload() { + ebegin "Reloading configuration" + killall -HUP smartd &>/dev/null eend $? } diff --git a/sys-apps/smartmontools/smartmontools-5.33.ebuild b/sys-apps/smartmontools/smartmontools-5.33.ebuild new file mode 100644 index 000000000000..55a777f575bb --- /dev/null +++ b/sys-apps/smartmontools/smartmontools-5.33.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-5.33.ebuild,v 1.1 2004/10/10 01:19:01 vapier Exp $ + +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 ~ppc ~sparc ~x86" +IUSE="" + +src_install() { + dosbin smart{ctl,d} || die "dosbin" + doman *.[58] + dodoc AUTHORS CHANGELOG NEWS README TODO WARNINGS + + insinto /etc + doins smartd.conf + + exeinto /etc/init.d; newexe ${FILESDIR}/smartd.rc smartd + insinto /etc/conf.d; newins ${FILESDIR}/smartd.confd smartd +} |