Update docs #76337 by Daniel Holth.
authorMike Frysinger <vapier@gentoo.org>
Mon, 3 Jan 2005 14:18:58 +0000 (14:18 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 3 Jan 2005 14:18:58 +0000 (14:18 +0000)
sys-apps/smartmontools/ChangeLog
sys-apps/smartmontools/Manifest
sys-apps/smartmontools/files/smartd.rc
sys-apps/smartmontools/smartmontools-5.33.ebuild

index 83dbb000d80c0e55d4d219269d4d43784feaa366..df73863cd55f19b741793df7dd63edc878f469c1 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for sys-apps/smartmontools
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.36 2005/01/02 23:52:22 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.37 2005/01/03 14:18:58 vapier Exp $
+
+  03 Jan 2005; Mike Frysinger <vapier@gentoo.org> files/smartd.rc,
+  smartmontools-5.33.ebuild:
+  Update docs #76337 by Daniel Holth.
 
   02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> :
   Change encoding to UTF-8 for GLEP 31 compliance
index aee3780f3bc9067ee20858cb73581c770d06abcc..bc49cb2c2e87941912254889f84d0085dc6a7be1 100644 (file)
@@ -1,8 +1,18 @@
-MD5 e56fecb177b721127d84c6c674b9e3f4 ChangeLog 4558
-MD5 6627aa42b701c9c82cb66422e39783d1 smartmontools-5.33.ebuild 812
-MD5 439d14fe651527fa0800b51e702a0539 smartmontools-5.30.ebuild 969
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 89b3d6c5ab0f69bf46f82dd9948a9a68 ChangeLog 4692
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 ef1abb982bf644cd1c3ded75c9ceaf3b smartmontools-5.33.ebuild 891
+MD5 439d14fe651527fa0800b51e702a0539 smartmontools-5.30.ebuild 969
 MD5 79699d2f3e2d148b1d5498b00792cd33 files/smartd.confd 273
 MD5 e7139ba9820a427c563c21362752bed3 files/digest-smartmontools-5.30 70
 MD5 3a3bbcc1d33c8f4e7b8831ee0027dae8 files/digest-smartmontools-5.33 70
-MD5 cf38ad63a3b35726d92cb248bfd5cccf files/smartd.rc 856
+MD5 17aee6cd24fc0842f02c255e128dafaf files/smartd.rc 806
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFB2VRoroRuSHgZdywRAtv+AJ4g2jNyebSXza8r+lcIgOh3MhjOdQCfZGgb
+atayWujq+ECXsl1j+olyWTE=
+=8jxe
+-----END PGP SIGNATURE-----
index c4a5c3c7938137fd3b78f801e7715bfc7f3bdacf..a0cfa4a404f2ad639c6c540c59c564da29f3922c 100644 (file)
@@ -1,14 +1,14 @@
 #!/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.4 2004/10/10 01:19:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/files/smartd.rc,v 1.5 2005/01/03 14:18:58 vapier Exp $
 
 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"
+               eerror "See the smartd.conf(5) manpage."
                return 1
        fi
        return 0
@@ -18,8 +18,7 @@ start() {
        checkconfig || return 1
 
        ebegin "Starting S.M.A.R.T. monitoring daemon"
-       start-stop-daemon --start --exec /usr/sbin/smartd \
-               -- -p /var/run/smartd.pid ${SMARTD_OPTS}
+       /usr/sbin/smartd -p /var/run/smartd.pid ${SMARTD_OPTS}
        eend $?
 }
 
index 18b9d8e1345173bb934b24e517e1c8cee3ffc0d4..4e097fa6d443c4cf383bd00da5d3b8a683147f6d 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 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.2 2005/01/02 23:52:22 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-5.33.ebuild,v 1.3 2005/01/03 14:18:58 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/"
@@ -11,14 +11,19 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
 IUSE=""
 
+RDEPEND=""
+DEPEND=">=sys-apps/portage-2.0.51"
+
 src_install() {
        dosbin smart{ctl,d} || die "dosbin"
        doman *.[58]
        dodoc AUTHORS CHANGELOG NEWS README TODO WARNINGS
+       newdoc smartd.conf smartd.conf.example
 
        insinto /etc
        doins smartd.conf
 
-       exeinto /etc/init.d; newexe ${FILESDIR}/smartd.rc smartd
-       insinto /etc/conf.d; newins ${FILESDIR}/smartd.confd smartd
+       dodir /etc/init.d /etc/conf.d
+       newinitd ${FILESDIR}/smartd.rc smartd
+       newconfd ${FILESDIR}/smartd.confd smartd
 }