# ChangeLog for sys-apps/smartmontools
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.105 2011/09/15 07:58:50 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.106 2011/10/21 22:30:14 robbat2 Exp $
+
+*smartmontools-5.42 (21 Oct 2011)
+
+ 21 Oct 2011; Robin H. Johnson <robbat2@gentoo.org>
+ +smartmontools-5.42.ebuild:
+ Version bump.
*smartmontools-5.41-r1 (15 Sep 2011)
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
AUX smartd.confd 107 RMD160 e43d345af53217e6c944a3ce5cd03a98895b7c32 SHA1 3d19bde080fabaf2702087c82bdbd3c43cc1c6a6 SHA256 714cc1b253e1f59b884be89693757fec91ca878c62f37451a49ef6bb72263e85
AUX smartd.rc 1026 RMD160 1b37d79b4d7cb8a2433ac852242043005f4d92f5 SHA1 cc1535f30fabd056b00e562bea2055fba7f21cd7 SHA256 d28f4d15d56e14cc78abc7cd04429753bab6c535b89502019757ba937aaee4ae
DIST smartmontools-5.38.tar.gz 617326 RMD160 6fcca6e18b14a14b579e8484c769f36b3ce238ea SHA1 90e36f46af7a35336c63868176aa71deef4c9e66 SHA256 b2097320a1fca4851f1377a14f4cc14a46e27d2a44ca017c40a6cb618b2f31e8
DIST smartmontools-5.39.1.tar.gz 659335 RMD160 2adb8c43eb0f23711efce423c22281240a6ed172 SHA1 ea0489c9234832f63ac0d4b4c0bd81133b4eb9e9 SHA256 725cfd59b33a97561346a990e1ec50b150dbac01f2b90cd9cf3fd74ff1e77720
DIST smartmontools-5.40.tar.gz 705592 RMD160 ff2ebfd130182ba721248ebfebd9d4d5cc325ff4 SHA1 08a86a939a2e2cd85d2c88c09188d494f06ce050 SHA256 2a68ed20d5d6bd198e1aa6bf0b6037f0f216e3b14da022115244f1af9d248bfd
DIST smartmontools-5.41.tar.gz 740661 RMD160 d2de512ef64dceb61a1f9c0384b0ea895fd31e36 SHA1 6cf5c660d173dbb94fae3549ac689c6427d18ea3 SHA256 173eb14e3253a30230f38c7e684085bcae7fa021efff58bdf94c2702ac76fa32
+DIST smartmontools-5.42.tar.gz 742138 RMD160 c8d111719de20319c2f30614726084ee890b3a02 SHA1 52f966abeb23458acc0ec734f2d6ab432f6b5a7d SHA256 b664d11e814e114ce3a32a4fa918c9e649c684e2897c007b2a8b92574decc374
EBUILD smartmontools-5.38.ebuild 1424 RMD160 e916b8c475503b77587369c58d64914d9d9a6b94 SHA1 18e5554fcc6175215bfe528883888f72fc9d244b SHA256 e458f8aec1be18996258c11f9ad0e8f306a74ebe91b041a4db2f58da6356a948
EBUILD smartmontools-5.39.1.ebuild 1510 RMD160 f6bf3c2c3251f712fd6dab1853dc52dc04b4d838 SHA1 1b767994fb24a47195c7a3ca422293dfde07d558 SHA256 c142d94b4cd3336e6e3a21c7c1e4d655996581484c37ed01c412be536db36937
EBUILD smartmontools-5.40.ebuild 1743 RMD160 595a60b4a776dbb622426767a73a49826019d429 SHA1 83c79a8d8120521257b3bccf77cca27633d116af SHA256 1afd5d438263f3bc23198c5e1f99d8ffbcbbe04b3d4d58f8968f806cccfb2418
EBUILD smartmontools-5.41-r1.ebuild 1697 RMD160 f5d6511d23697ae55c3c82e9a5e554e1fc77475c SHA1 acc87edd14c058577b21478ad4883290f11b7a83 SHA256 989605309d4ff98d4b54a216771fff3c19b65175020c7d15976d4c2d178e40e4
+EBUILD smartmontools-5.42.ebuild 1689 RMD160 c151b7ab4797ff30f9c20083c7092fe3a7de3280 SHA1 66310f26d2d565700e33063274fc483957a03035 SHA256 6ba1baaf76606d5528d3a10537e637e88162d39e0a653cc0fd93ee057da884e3
EBUILD smartmontools-9999.ebuild 1688 RMD160 c9b237b95da10573b80213275067cfdc8d450e63 SHA1 c827c106e2110b50e3ca4e1176a52fc9e4b03555 SHA256 64ace1eba4a5de1f015cd8a407644a5e0f29765610d746c3092b15aa5d9b95c3
-MISC ChangeLog 14023 RMD160 08e9f478f9b33ac4929fb53d20597e7b80d2e83b SHA1 af58ed0eeb318ea199737c0655ae89ead2fae28b SHA256 82ce94bbd3433e6f97744e994f1d3c93fe7e0273b18edd61dfa9f61a81e34a20
+MISC ChangeLog 14153 RMD160 fdc4db19882e4ffa4e054a760e0ef83723383d04 SHA1 c078a26d801a015e9438a8d0be9d6e5542b62cd3 SHA256 a9c3b31bc29d94771731057887a15ed4695f4703243d852e90a11fece2cb40bc
MISC metadata.xml 266 RMD160 d60cb888a5e13f1656de16d13b38e60e909fca14 SHA1 ddaa4497088bd48456301b7ab7115928713fa882 SHA256 bdf7da32dcd39df0f58aa02c64dfd1c5dda0ca1080c9b1001d8e110881a364eb
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iQIcBAEBCgAGBQJOcbBAAAoJEPiazRVxLXTF7dsP/1cM6ZhDfL6VLz/04oau7xDL
-VB1fMAxq9HZHDhe/DD+93NhuI9qdmMcxD7KgdDACsSupflmLZiQy46yjT1ZFpPaN
-fLrT1y7ujJjNRAIBEsJTpsyoerNjqvusdaOKCmpZSGFGEFWr4qmpcrENPqF+dtsu
-sIQlResFAfDrpjIIzcq7BQ8xML3oa2vlaB2bmX+CunHBZmPudIpUCUJG2IdH1MIh
-OGzqthxlRcJmdw3uEnVlbP1OwsEdrM2JuGhZxKigQ84ociU4FFVGF1Meu7ysJR2q
-zMePoE9k4nRxbIl/iWjQTvMDS6QK3WhQgM8k7MhGB8Kr0i/EgHkWUfaGG2iCFmVs
-lsHe4AWD9ztbWeOHSjbJFOcttWYp7VO4wEGyA1aJJEm/fZo2Cc8di0iC45Pi+Bee
-SN3rmh1EVccg831PtzH8BFK5m+Iz9zcxu5tNdwScKnjMNRBWUL+GzdXVdfUQQbgq
-wruVOxZy2vKCt0XxLVGBJ+27myx3L/j4td/83yN4LWN4t3njj/07PQffuU0YQNXR
-7dfrZkazBjo6XR+ifQLuVQ0TxvpTfDgAT5zPdOZpdx+w6Y2DdEykfoZWGTRRnnEi
-unGOT1s5usW4fQ3mXzfRnLUSUJZ6FK+Xin2HOjWsn+lSdH45R0gq7MbSxocUg5Mn
-nOycqwrKgGi4nA6A5fw8
-=kHMm
------END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-5.42.ebuild,v 1.1 2011/10/21 22:30:14 robbat2 Exp $
+
+EAPI="3"
+
+inherit flag-o-matic
+if [[ ${PV} == "9999" ]] ; then
+ ESVN_REPO_URI="https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools"
+ ESVN_PROJECT="smartmontools"
+ inherit subversion autotools
+ SRC_URI=""
+else
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-linux"
+fi
+
+DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) monitoring tools"
+HOMEPAGE="http://smartmontools.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="static minimal caps"
+
+DEPEND="!minimal? ( caps? ( sys-libs/libcap-ng ) )"
+RDEPEND="${DEPEND}
+ !minimal? ( virtual/mailx )"
+
+src_prepare() {
+ if [[ ${PV} == "9999" ]] ; then
+ #./autogen.sh
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ local myconf
+ use minimal && einfo "Skipping the monitoring daemon for minimal build."
+ use static && append-ldflags -static
+
+ if ! use minimal; then
+ myconf="${myconf} $(use_with caps libcap-ng)"
+ else
+ # disable it so that we stay safe
+ myconf="${myconf} --without-libcap-ng"
+ fi
+
+ econf \
+ --with-docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ --with-initscriptdir="/toss-it-away" \
+ ${myconf} \
+ || die
+}
+
+src_install() {
+ if use minimal ; then
+ dosbin smartctl || die
+ doman smartctl.8
+ else
+ emake install DESTDIR="${D}" || die
+ rm -rf "${D}"/toss-it-away
+ newinitd "${FILESDIR}"/smartd.rc smartd
+ newconfd "${FILESDIR}"/smartd.confd smartd
+ fi
+}