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 AB51B1382C5 for ; Sat, 2 Jan 2021 20:24:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E456FE085A; Sat, 2 Jan 2021 20:24:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 CC584E085A for ; Sat, 2 Jan 2021 20:24:48 +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 6EFCE340D5C for ; Sat, 2 Jan 2021 20:24:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1798488 for ; Sat, 2 Jan 2021 20:24:45 +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: <1609619080.13dea100afcf22cfc9ad063b302c0f293aa0490a.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/metadata.xml sys-apps/smartmontools/smartmontools-7.1-r1.ebuild sys-apps/smartmontools/smartmontools-7.1.ebuild X-VCS-Directories: sys-apps/smartmontools/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 13dea100afcf22cfc9ad063b302c0f293aa0490a X-VCS-Branch: master Date: Sat, 2 Jan 2021 20:24:45 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bb079001-4f58-48c7-a00b-a33b852d5c99 X-Archives-Hash: d066f6e4e5f54a5b7889d79ef0cc74fa commit: 13dea100afcf22cfc9ad063b302c0f293aa0490a Author: Lars Wendler gentoo org> AuthorDate: Sat Jan 2 20:24:23 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sat Jan 2 20:24:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13dea100 sys-apps/smartmontools: Revbump fixing QA issue Closes: https://bugs.gentoo.org/695108 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> sys-apps/smartmontools/metadata.xml | 1 - ...ntools-7.1.ebuild => smartmontools-7.1-r1.ebuild} | 20 ++++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/sys-apps/smartmontools/metadata.xml b/sys-apps/smartmontools/metadata.xml index 9ac33efa0d5..4ee89aff231 100644 --- a/sys-apps/smartmontools/metadata.xml +++ b/sys-apps/smartmontools/metadata.xml @@ -8,7 +8,6 @@ Build against sys-libs/libcap-ng to allow smartd to drop its privileges. Install the monitoring daemon (smartd) and associated scripts. - Install a script to update the drivedb file. Install a script to update the drivedb file. diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild b/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild similarity index 90% rename from sys-apps/smartmontools/smartmontools-7.1.ebuild rename to sys-apps/smartmontools/smartmontools-7.1-r1.ebuild index 0b1811bc1f8..158bfd6444f 100644 --- a/sys-apps/smartmontools/smartmontools-7.1.ebuild +++ b/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -18,7 +18,7 @@ HOMEPAGE="https://www.smartmontools.org" LICENSE="GPL-2" SLOT="0" -IUSE="caps +daemon selinux static systemd update_drivedb" +IUSE="caps +daemon selinux static systemd update-drivedb" DEPEND=" caps? ( @@ -32,7 +32,7 @@ RDEPEND="${DEPEND} daemon? ( virtual/mailx ) selinux? ( sec-policy/selinux-smartmon ) systemd? ( sys-apps/systemd ) - update_drivedb? ( + update-drivedb? ( app-crypt/gnupg || ( net-misc/curl @@ -61,8 +61,8 @@ src_configure() { $(use_with caps libcap-ng) $(use_with selinux) $(use_with systemd libsystemd) - $(use_with update_drivedb gnupg) - $(use_with update_drivedb update-smart-drivedb) + $(use_with update-drivedb gnupg) + $(use_with update-drivedb update-smart-drivedb) $(usex systemd "--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '') ) econf "${myeconfargs[@]}" @@ -84,7 +84,7 @@ src_install() { einstalldocs fi - if use update_drivedb ; then + if use update-drivedb ; then if ! use daemon; then dosbin "${S}"/update-smart-drivedb fi @@ -93,7 +93,7 @@ src_install() { doexe "${FILESDIR}/${PN}-update-drivedb" fi - if use daemon || use update_drivedb; then + if use daemon || use update-drivedb; then keepdir "${db_path}" # Install a copy of the initial drivedb.h to /usr/share/${PN} @@ -113,7 +113,7 @@ src_install() { } pkg_postinst() { - if use daemon || use update_drivedb; then + if use daemon || use update-drivedb; then local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h" local db_path="${EROOT}/var/db/${PN}" @@ -137,10 +137,10 @@ pkg_postinst() { ewarn "" ewarn " /usr/sbin/update-smart-drivedb" - if ! use update_drivedb ; then + if ! use update-drivedb ; then ewarn "" ewarn "However, 'update-smart-drivedb' requires that you re-emerge ${PN}" - ewarn "with USE='update_drivedb'." + ewarn "with USE='update-drivedb'." fi fi fi