diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-02-08 10:21:18 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-02-08 10:21:18 +0000 |
commit | e1888c94624a401c4d5b7ed9a7b663d59567514a (patch) | |
tree | 7b96ee8a8397920efd81d594e821b855df31303c /sys-apps/smartmontools | |
parent | Version bump. (diff) | |
download | historical-e1888c94624a401c4d5b7ed9a7b663d59567514a.tar.gz historical-e1888c94624a401c4d5b7ed9a7b663d59567514a.tar.bz2 historical-e1888c94624a401c4d5b7ed9a7b663d59567514a.zip |
Bump for new init script that works across all baselayout versions.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'sys-apps/smartmontools')
-rw-r--r-- | sys-apps/smartmontools/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/smartmontools/Manifest | 28 | ||||
-rw-r--r-- | sys-apps/smartmontools/files/digest-smartmontools-5.33-r1 | 3 | ||||
-rw-r--r-- | sys-apps/smartmontools/files/smartd.rc | 11 | ||||
-rw-r--r-- | sys-apps/smartmontools/smartmontools-5.33-r1.ebuild | 38 |
5 files changed, 79 insertions, 11 deletions
diff --git a/sys-apps/smartmontools/ChangeLog b/sys-apps/smartmontools/ChangeLog index 55df9a0c5c4b..0c4c69a17d71 100644 --- a/sys-apps/smartmontools/ChangeLog +++ b/sys-apps/smartmontools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/smartmontools -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.45 2005/11/05 15:15:45 grobian Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.46 2006/02/08 10:21:18 uberlord Exp $ + +*smartmontools-5.33-r1 (08 Feb 2006) + + 08 Feb 2006; Roy Marples <uberlord@gentoo.org> files/smartd.rc, + +smartmontools-5.33-r1.ebuild: + Bump for new init script that works across all baselayout versions. 05 Nov 2005; Fabian Groffen <grobian@gentoo.org> smartmontools-5.33.ebuild: diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest index 632a9da49a0a..7e63d1edecb9 100644 --- a/sys-apps/smartmontools/Manifest +++ b/sys-apps/smartmontools/Manifest @@ -1,16 +1,34 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 8f73ec2effe7970e6f149e59d9d25c2a ChangeLog 5537 +MD5 49def69a383157c48d38fb207c0929b5 ChangeLog 5746 +RMD160 e333b43bc9b567c3f4e54c8f4ea1d904e4b3ff02 ChangeLog 5746 +SHA256 e7d811ea564305d8ef766d0b632963e5191f390e8f2f4d717ad7f3b57cb936c6 ChangeLog 5746 MD5 3a3bbcc1d33c8f4e7b8831ee0027dae8 files/digest-smartmontools-5.33 70 +RMD160 24cb16ef9f11fcc784c8bbefaf1f75b187c3bf66 files/digest-smartmontools-5.33 70 +SHA256 c416f0beeb5bb296ffa14942e20d795964cccacb1cb8f2b0f6b3080a17a8216f files/digest-smartmontools-5.33 70 +MD5 b7f9a690b96947809b29767e8e889dc8 files/digest-smartmontools-5.33-r1 256 +RMD160 7fd93eadbf4fae0726e448bd043b01e9624bff9e files/digest-smartmontools-5.33-r1 256 +SHA256 1028d133d7de58622df3e2408259e6bd2ed7e6a5f3c12086a907a33616303f98 files/digest-smartmontools-5.33-r1 256 MD5 371cdb7cc9dc924b6d12224d66b193c6 files/smartd.confd 107 -MD5 17aee6cd24fc0842f02c255e128dafaf files/smartd.rc 806 +RMD160 e43d345af53217e6c944a3ce5cd03a98895b7c32 files/smartd.confd 107 +SHA256 714cc1b253e1f59b884be89693757fec91ca878c62f37451a49ef6bb72263e85 files/smartd.confd 107 +MD5 30df6006f480460030dd002e115f7091 files/smartd.rc 911 +RMD160 9b37b36efb0a810275939693dc3543aa758e4d77 files/smartd.rc 911 +SHA256 88e14e797d765e6b082460c494d11dd6e362666448ddd2524f8ac4d4033ec635 files/smartd.rc 911 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 +SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164 +MD5 9a25ae27e011e33b98209ef140d87268 smartmontools-5.33-r1.ebuild 1041 +RMD160 c0672d94c3ff6066a6495b97219554cc7a600244 smartmontools-5.33-r1.ebuild 1041 +SHA256 b770a6eccd85e0621d7f41c631035047b13ccaadfbf04c498fd74d203a3283cf smartmontools-5.33-r1.ebuild 1041 MD5 8dd9af44eabe5f971efd45b592627817 smartmontools-5.33.ebuild 1038 +RMD160 7c2a29f684c9c37bcce64a86eca8e7b39a6df8df smartmontools-5.33.ebuild 1038 +SHA256 8e7de958cbf3b5b752a037d0bdb97034a00aa5bdda6df10d3d8fc899337aa182 smartmontools-5.33.ebuild 1038 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDzGZr2+ySkm8kpY0RAk3xAJ0Z7gR43aBpONxuET4wJXU2A7iUhwCbBEzh -wEXgrq0jPX7EYayVl2VbBf8= -=nLTy +iD8DBQFD6cY9EbVyYKaZ/NERAsH5AKCZ4p2ohTbkupaO9HJCz2u1XMWaVwCcDZJQ +HII1KnA2n8vcDFTK2Oppixo= +=b+0a -----END PGP SIGNATURE----- diff --git a/sys-apps/smartmontools/files/digest-smartmontools-5.33-r1 b/sys-apps/smartmontools/files/digest-smartmontools-5.33-r1 new file mode 100644 index 000000000000..060cf072603d --- /dev/null +++ b/sys-apps/smartmontools/files/digest-smartmontools-5.33-r1 @@ -0,0 +1,3 @@ +MD5 53f6861a916169a88a9edb1848e27dd0 smartmontools-5.33.tar.gz 509826 +RMD160 c6aa5a6dd903a55d0c583db2c8bd7d20852c9bf4 smartmontools-5.33.tar.gz 509826 +SHA256 2fdde1b4e610cd6e004db8f98ac1100fcbea03b8f11e236de536ce22bc6c620d smartmontools-5.33.tar.gz 509826 diff --git a/sys-apps/smartmontools/files/smartd.rc b/sys-apps/smartmontools/files/smartd.rc index a0cfa4a404f2..c0e434058a7b 100644 --- a/sys-apps/smartmontools/files/smartd.rc +++ b/sys-apps/smartmontools/files/smartd.rc @@ -1,7 +1,7 @@ #!/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.5 2005/01/03 14:18:58 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.6 2006/02/08 10:21:18 uberlord Exp $ opts="${opts} reload" @@ -18,18 +18,21 @@ start() { checkconfig || return 1 ebegin "Starting S.M.A.R.T. monitoring daemon" - /usr/sbin/smartd -p /var/run/smartd.pid ${SMARTD_OPTS} + start-stop-daemon --start --exec /usr/sbin/smartd \ + --pidfile /var/run/smartd.pid \ + -- -p /var/run/smartd.pid ${SMARTD_OPTS} eend $? } stop() { ebegin "Stopping S.M.A.R.T. monitoring daemon" - start-stop-daemon --stop --pid /var/run/smartd.pid + start-stop-daemon --stop --exec /usr/sbin/smartd \ + --pidfile /var/run/smartd.pid eend $? } reload() { ebegin "Reloading configuration" - killall -HUP smartd &>/dev/null + killall -HUP smartd eend $? } diff --git a/sys-apps/smartmontools/smartmontools-5.33-r1.ebuild b/sys-apps/smartmontools/smartmontools-5.33-r1.ebuild new file mode 100644 index 000000000000..fc8f853d84d6 --- /dev/null +++ b/sys-apps/smartmontools/smartmontools-5.33-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-5.33-r1.ebuild,v 1.1 2006/02/08 10:21:18 uberlord 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 ia64 ppc ~ppc-macos sparc x86" +IUSE="static" + +RDEPEND="" +DEPEND=">=sys-apps/portage-2.0.51" + +src_compile() { + use static && append-ldflags -static + econf || die + emake || die +} + +src_install() { + dosbin smart{ctl,d} || die "dosbin" + doman *.[58] + dodoc AUTHORS CHANGELOG NEWS README TODO WARNINGS + newdoc smartd.conf smartd.conf.example + docinto examplescripts + dodoc examplescripts/* + + insinto /etc + doins smartd.conf + + newinitd "${FILESDIR}"/smartd.rc smartd + newconfd "${FILESDIR}"/smartd.confd smartd +} |