Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/wipe/
Date: Wed, 27 Dec 2017 22:11:03
Message-Id: 1514412625.aaaf921ea67d3347a4fe39ac620f5fd7d9d03941.soap@gentoo
1 commit: aaaf921ea67d3347a4fe39ac620f5fd7d9d03941
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 27 21:44:24 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 27 22:10:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaaf921e
7
8 app-misc/wipe: Port to EAPI 6
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 app-misc/wipe/wipe-2.3.1.ebuild | 20 ++++++++++++--------
13 1 file changed, 12 insertions(+), 8 deletions(-)
14
15 diff --git a/app-misc/wipe/wipe-2.3.1.ebuild b/app-misc/wipe/wipe-2.3.1.ebuild
16 index c53200bc827..8775ae458c9 100644
17 --- a/app-misc/wipe/wipe-2.3.1.ebuild
18 +++ b/app-misc/wipe/wipe-2.3.1.ebuild
19 @@ -1,9 +1,9 @@
20 -# Copyright 1999-2012 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=3
25 +EAPI=6
26
27 -inherit autotools eutils
28 +inherit autotools
29
30 DESCRIPTION="Secure file wiping utility based on Peter Gutman's patterns"
31 HOMEPAGE="http://wipe.sourceforge.net/"
32 @@ -17,19 +17,23 @@ IUSE=""
33 DEPEND=""
34 RDEPEND="${DEPEND}"
35
36 +PATCHES=( "${FILESDIR}"/${P}-LDFLAGS.patch )
37 +
38 src_prepare() {
39 - epatch "${FILESDIR}"/${P}-LDFLAGS.patch
40 + default
41 + mv configure.{in,ac} || die
42 eautoreconf
43 }
44
45 src_compile() {
46 - emake CFLAGS="${CFLAGS}" || die
47 + emake CFLAGS="${CFLAGS}"
48 }
49
50 src_install() {
51 - dobin wipe || die
52 - doman wipe.1 || die
53 - dodoc CHANGES README TODO TESTING || die
54 + dobin wipe
55 + doman wipe.1
56 + einstalldocs
57 + dodoc TESTING
58 }
59
60 pkg_postinst() {