Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/
Date: Mon, 31 Dec 2018 10:39:18
Message-Id: 1546252745.6c33d4cc1e9ca5b61d1ee2d831b004219ffcb5ff.polynomial-c@gentoo
1 commit: 6c33d4cc1e9ca5b61d1ee2d831b004219ffcb5ff
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 31 10:37:21 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 31 10:39:05 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c33d4cc
7
8 sys-apps/smartmontools: Synced live ebuild.
9
10 Package-Manager: Portage-2.3.53, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-apps/smartmontools/smartmontools-9999.ebuild | 13 +++++++------
14 1 file changed, 7 insertions(+), 6 deletions(-)
15
16 diff --git a/sys-apps/smartmontools/smartmontools-9999.ebuild b/sys-apps/smartmontools/smartmontools-9999.ebuild
17 index a2e1ad35a30..46b1cf2cff3 100644
18 --- a/sys-apps/smartmontools/smartmontools-9999.ebuild
19 +++ b/sys-apps/smartmontools/smartmontools-9999.ebuild
20 @@ -1,7 +1,7 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 +# Copyright 1999-2018 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=6
26 +EAPI="6"
27
28 inherit autotools flag-o-matic systemd
29 if [[ ${PV} == "9999" ]] ; then
30 @@ -18,7 +18,7 @@ HOMEPAGE="https://www.smartmontools.org"
31
32 LICENSE="GPL-2"
33 SLOT="0"
34 -IUSE="caps +daemon selinux static update_drivedb"
35 +IUSE="caps +daemon selinux static systemd update_drivedb"
36
37 DEPEND="
38 caps? (
39 @@ -34,6 +34,7 @@ DEPEND="
40 RDEPEND="${DEPEND}
41 daemon? ( virtual/mailx )
42 selinux? ( sec-policy/selinux-smartmon )
43 + systemd? ( sys-apps/systemd )
44 update_drivedb? (
45 app-crypt/gnupg
46 || (
47 @@ -49,7 +50,6 @@ REQUIRED_USE="( caps? ( daemon ) )"
48
49 src_prepare() {
50 default
51 -
52 eautoreconf
53 }
54
55 @@ -58,14 +58,15 @@ src_configure() {
56 # The build installs /etc/init.d/smartd, but we clobber it
57 # in our src_install, so no need to manually delete it.
58 myeconfargs=(
59 - --docdir="${EPREFIX}/usr/share/doc/${PF}"
60 --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
61 --with-initscriptdir="${EPREFIX}/etc/init.d"
62 + #--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}"
63 $(use_with caps libcap-ng)
64 $(use_with selinux)
65 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
66 + $(use_with systemd libsystemd)
67 $(use_with update_drivedb gnupg)
68 $(use_with update_drivedb update-smart-drivedb)
69 + $(usex systemd "--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '')
70 )
71 econf "${myeconfargs[@]}"
72 }