summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-02-08 10:21:18 +0000
committerRoy Marples <uberlord@gentoo.org>2006-02-08 10:21:18 +0000
commit3303b1dba69edea866056f8cdf2597c643c6d09e (patch)
tree042ca8edbecdb175189658b120a281f20dec9db0 /sys-apps
parentVersion bump. (diff)
downloadgentoo-2-3303b1dba69edea866056f8cdf2597c643c6d09e.tar.gz
gentoo-2-3303b1dba69edea866056f8cdf2597c643c6d09e.tar.bz2
gentoo-2-3303b1dba69edea866056f8cdf2597c643c6d09e.zip
Bump for new init script that works across all baselayout versions.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/smartmontools/ChangeLog10
-rw-r--r--sys-apps/smartmontools/Manifest30
-rw-r--r--sys-apps/smartmontools/files/digest-smartmontools-5.33-r13
-rw-r--r--sys-apps/smartmontools/files/smartd.rc11
-rw-r--r--sys-apps/smartmontools/smartmontools-5.33-r1.ebuild38
5 files changed, 75 insertions, 17 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..528dad29919a 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1,16 +1,24 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 8f73ec2effe7970e6f149e59d9d25c2a ChangeLog 5537
+RMD160 eec88b4ddbce1db543ec686281ce69593d10672f ChangeLog 5537
+SHA256 580b2c8e0217c784b0caf4c8a94ed72cebd390e2cdf64f2c890f4b85554e8bc5 ChangeLog 5537
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 6639b566190d0dad805f63f6502d85e7 files/smartd.rc 909
+RMD160 b2682474a36de73782d59710d96218168b9870c4 files/smartd.rc 909
+SHA256 374228c866496788705a6ae9edb80722ea934bedbc48a75c9d6b02767305cd03 files/smartd.rc 909
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
+SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164
+MD5 8dd9af44eabe5f971efd45b592627817 smartmontools-5.33-r1.ebuild 1038
+RMD160 7c2a29f684c9c37bcce64a86eca8e7b39a6df8df smartmontools-5.33-r1.ebuild 1038
+SHA256 8e7de958cbf3b5b752a037d0bdb97034a00aa5bdda6df10d3d8fc899337aa182 smartmontools-5.33-r1.ebuild 1038
MD5 8dd9af44eabe5f971efd45b592627817 smartmontools-5.33.ebuild 1038
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDzGZr2+ySkm8kpY0RAk3xAJ0Z7gR43aBpONxuET4wJXU2A7iUhwCbBEzh
-wEXgrq0jPX7EYayVl2VbBf8=
-=nLTy
------END PGP SIGNATURE-----
+RMD160 7c2a29f684c9c37bcce64a86eca8e7b39a6df8df smartmontools-5.33.ebuild 1038
+SHA256 8e7de958cbf3b5b752a037d0bdb97034a00aa5bdda6df10d3d8fc899337aa182 smartmontools-5.33.ebuild 1038
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
+}