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 F29F2138335 for ; Mon, 31 Dec 2018 10:39:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0929E0BCF; Mon, 31 Dec 2018 10:39:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 78FDFE0BC3 for ; Mon, 31 Dec 2018 10:39:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9C28F335CCF for ; Mon, 31 Dec 2018 10:39:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9DCBA459 for ; Mon, 31 Dec 2018 10:39:13 +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: <1546252745.6c33d4cc1e9ca5b61d1ee2d831b004219ffcb5ff.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-9999.ebuild X-VCS-Directories: sys-apps/smartmontools/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 6c33d4cc1e9ca5b61d1ee2d831b004219ffcb5ff X-VCS-Branch: master Date: Mon, 31 Dec 2018 10:39:13 +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: 688e7752-b767-4fba-84be-3a74deedf279 X-Archives-Hash: 2840d97f33b56b1cebb9504fabdc4188 commit: 6c33d4cc1e9ca5b61d1ee2d831b004219ffcb5ff Author: Lars Wendler gentoo org> AuthorDate: Mon Dec 31 10:37:21 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Dec 31 10:39:05 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c33d4cc sys-apps/smartmontools: Synced live ebuild. Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> sys-apps/smartmontools/smartmontools-9999.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sys-apps/smartmontools/smartmontools-9999.ebuild b/sys-apps/smartmontools/smartmontools-9999.ebuild index a2e1ad35a30..46b1cf2cff3 100644 --- a/sys-apps/smartmontools/smartmontools-9999.ebuild +++ b/sys-apps/smartmontools/smartmontools-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI="6" inherit autotools flag-o-matic systemd if [[ ${PV} == "9999" ]] ; then @@ -18,7 +18,7 @@ HOMEPAGE="https://www.smartmontools.org" LICENSE="GPL-2" SLOT="0" -IUSE="caps +daemon selinux static update_drivedb" +IUSE="caps +daemon selinux static systemd update_drivedb" DEPEND=" caps? ( @@ -34,6 +34,7 @@ DEPEND=" RDEPEND="${DEPEND} daemon? ( virtual/mailx ) selinux? ( sec-policy/selinux-smartmon ) + systemd? ( sys-apps/systemd ) update_drivedb? ( app-crypt/gnupg || ( @@ -49,7 +50,6 @@ REQUIRED_USE="( caps? ( daemon ) )" src_prepare() { default - eautoreconf } @@ -58,14 +58,15 @@ src_configure() { # 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" + #--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}" $(use_with caps libcap-ng) $(use_with selinux) - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + $(use_with systemd libsystemd) $(use_with update_drivedb gnupg) $(use_with update_drivedb update-smart-drivedb) + $(usex systemd "--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '') ) econf "${myeconfargs[@]}" }