commit:     014d83968309be28a94292a677a0d55a02e9d0fc
Author:     Mike Auty <ikelos <AT> gentoo <DOT> org>
AuthorDate: Sun May 28 09:34:45 2017 +0000
Commit:     Mike Auty <ikelos <AT> gentoo <DOT> org>
CommitDate: Sun May 28 09:35:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=014d8396

app-forensics/foremost: Uncompress man page before using doman.

Remove the version of foremost missing the security patch and
add a new unstable version to uncompress the man page before
using doman on it (bug 619928).

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../{foremost-1.5.7-r1.ebuild => foremost-1.5.7-r3.ebuild}    | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/app-forensics/foremost/foremost-1.5.7-r1.ebuild 
b/app-forensics/foremost/foremost-1.5.7-r3.ebuild
similarity index 78%
rename from app-forensics/foremost/foremost-1.5.7-r1.ebuild
rename to app-forensics/foremost/foremost-1.5.7-r3.ebuild
index a96a90521a0..69d67a469d2 100644
--- a/app-forensics/foremost/foremost-1.5.7-r1.ebuild
+++ b/app-forensics/foremost/foremost-1.5.7-r3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
 inherit eutils toolchain-funcs
 
@@ -11,13 +11,15 @@ HOMEPAGE="http://foremost.sourceforge.net/";
 # starting to hate sf.net ...
 SRC_URI="http://foremost.sourceforge.net/pkg/${P}.tar.gz";
 
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="~amd64 ~ppc ~x86"
 IUSE=""
 LICENSE="public-domain"
 SLOT="0"
 
 src_prepare() {
        epatch "${FILESDIR}/${PN}-1.4-config-location.patch"
+       epatch "${FILESDIR}/${PN}-1.5.7-format-security.patch"
+       default_src_prepare
 }
 
 src_compile() {
@@ -27,7 +29,8 @@ src_compile() {
 
 src_install() {
        dobin foremost
-       doman foremost.8.gz
+       gunzip foremost.8.gz
+       doman foremost.8
        insinto /etc
        doins foremost.conf
        dodoc README CHANGES

Reply via email to