Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/mpt-status/
Date: Sat, 20 Oct 2018 11:40:20
Message-Id: 1540035539.3b36d783cf0a803d4f4da4fdc0f98f715cb5f15a.pacho@gentoo
1 commit: 3b36d783cf0a803d4f4da4fdc0f98f715cb5f15a
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 20 11:06:00 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 20 11:38:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b36d783
7
8 sys-block/mpt-status: Upstream resources disappeared
9
10 Closes: https://bugs.gentoo.org/633632
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.11
13
14 sys-block/mpt-status/mpt-status-1.2.0-r1.ebuild | 19 +++++++++----------
15 1 file changed, 9 insertions(+), 10 deletions(-)
16
17 diff --git a/sys-block/mpt-status/mpt-status-1.2.0-r1.ebuild b/sys-block/mpt-status/mpt-status-1.2.0-r1.ebuild
18 index 38a202f8745..67bf731a9f9 100644
19 --- a/sys-block/mpt-status/mpt-status-1.2.0-r1.ebuild
20 +++ b/sys-block/mpt-status/mpt-status-1.2.0-r1.ebuild
21 @@ -1,13 +1,12 @@
22 -# Copyright 1999-2015 Gentoo Foundation
23 +# Copyright 1999-2018 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=5
27 -
28 -inherit eutils toolchain-funcs
29 +EAPI=7
30 +inherit toolchain-funcs
31
32 DESCRIPTION="Query tool to access the running configuration and status of LSI SCSI HBAs"
33 -HOMEPAGE="http://www.drugphish.ch/~ratz/mpt-status/"
34 -SRC_URI="http://www.drugphish.ch/~ratz/mpt-status/${P}.tar.bz2
35 +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
36 +SRC_URI="mirror://gentoo/${P}.tar.bz2
37 mirror://gentoo/${PN}-1.2.0-linux-sources.tar.bz2"
38
39 LICENSE="GPL-2"
40 @@ -15,12 +14,12 @@ SLOT="0"
41 KEYWORDS="amd64 ~ppc x86"
42
43 src_prepare() {
44 - epatch "${FILESDIR}/${PN}-1.2.0-gentoo.patch"
45 + default
46 +
47 + eapply "${FILESDIR}/${PN}-1.2.0-gentoo.patch"
48
49 sed -i -e 's,\(^.*linux/compiler\.h.*$\),,' mpt-status.h || die
50 sed -i -e '/KERNEL_PATH/d' Makefile || die
51 -
52 - epatch_user
53 }
54
55 src_compile() {
56 @@ -28,6 +27,6 @@ src_compile() {
57 }
58
59 src_install() {
60 - emake DESTDIR="${D}" install
61 + default
62 dodoc doc/{AUTHORS,Changelog,DeveloperNotes,FAQ,README,ReleaseNotes,THANKS,TODO}
63 }