From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 620F01396D9 for ; Mon, 6 Nov 2017 10:44:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2F74E0F24; Mon, 6 Nov 2017 10:44:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 82BFEE0F20 for ; Mon, 6 Nov 2017 10:44:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5EF9C3416EE for ; Mon, 6 Nov 2017 10:44:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C470E96D4 for ; Mon, 6 Nov 2017 10:44:36 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1509965073.52b53ded827d83f7ea3769d06c051d12897eb18f.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/smartmontools/smartmontools-6.5.ebuild X-VCS-Directories: sys-apps/smartmontools/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 52b53ded827d83f7ea3769d06c051d12897eb18f X-VCS-Branch: master Date: Mon, 6 Nov 2017 10:44:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6951a952-17c2-4fea-8df5-d07085a90bbf X-Archives-Hash: 1773f2c87edda310ee8659e8c4502894 commit: 52b53ded827d83f7ea3769d06c051d12897eb18f Author: Lars Wendler gentoo org> AuthorDate: Mon Nov 6 10:28:44 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Nov 6 10:44:33 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52b53ded sys-apps/smartmontools: Removed old. Package-Manager: Portage-2.3.13, Repoman-2.3.4 sys-apps/smartmontools/smartmontools-6.5.ebuild | 103 ------------------------ 1 file changed, 103 deletions(-) diff --git a/sys-apps/smartmontools/smartmontools-6.5.ebuild b/sys-apps/smartmontools/smartmontools-6.5.ebuild deleted file mode 100644 index dfe72e1dfdd..00000000000 --- a/sys-apps/smartmontools/smartmontools-6.5.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit flag-o-matic systemd -if [[ ${PV} == "9999" ]] ; then - ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools" - ESVN_PROJECT="smartmontools" - inherit subversion autotools -else - SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos" -fi - -DESCRIPTION="Tools to monitor storage systems to provide advanced warning of disk degradation" -HOMEPAGE="https://www.smartmontools.org" - -LICENSE="GPL-2" -SLOT="0" -IUSE="caps minimal selinux static update_drivedb" - -DEPEND=" - caps? ( - static? ( sys-libs/libcap-ng[static-libs] ) - !static? ( sys-libs/libcap-ng ) - ) - selinux? ( - sys-libs/libselinux - )" -RDEPEND="${DEPEND} - !minimal? ( virtual/mailx ) - selinux? ( sec-policy/selinux-smartmon ) -" - -src_prepare() { - if [[ ${PV} == "9999" ]] ; then - eautoreconf - fi -} - -src_configure() { - use minimal && einfo "Skipping the monitoring daemon for minimal build." - use static && append-ldflags -static - # The build installs /etc/init.d/smartd, but we clobber it - # in our src_install, so no need to manually delete it. - myeconfargs=( - --docdir="${EPREFIX}/usr/share/doc/${PF}" - --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292 - --with-initscriptdir="${EPREFIX}/etc/init.d" - $(use_with caps libcap-ng) - $(use_with selinux) - $(systemd_with_unitdir) - $(use_with update_drivedb update-smart-drivedb) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - local db_path="/var/db/${PN}" - - if use minimal ; then - dosbin smartctl - doman smartctl.8 - else - default - newinitd "${FILESDIR}"/smartd-r1.rc smartd - newconfd "${FILESDIR}"/smartd.confd smartd - - keepdir "${db_path}" - if use update_drivedb ; then - # Move drivedb.h file out of PM's sight (bug #575292) - mv "${ED}${db_path}/drivedb.h" "${T}" || die - - exeinto /etc/cron.monthly - doexe "${FILESDIR}/${PN}-update-drivedb" - fi - fi -} - -pkg_postinst() { - if ! use minimal ; then - local db_path="/var/db/${PN}" - - if [[ -f "${db_path}/drivedb.h" ]] ; then - ewarn "WARNING! The existing copy of the drive database has been replaced with the version that" - ewarn "was shipped with this release of ${PN}. You may want to update the" - ewarn "database by: " - - if ! use update_drivedb ; then - ewarn "re-merging ${PN} with USE='update_drivedb', then" - fi - ewarn "running the following command as root:" - ewarn "" - ewarn "/usr/sbin/update-smart-drivedb" - fi - - if use update_drivedb ; then - # Move drivedb.h to /var/db/${PN} (bug #575292) - mv "${T}"/drivedb.h "${db_path}" || die - fi - fi -}