app-forensics/foremost: Uncompress man page before using doman.
authorMike Auty <ikelos@gentoo.org>
Sun, 28 May 2017 09:34:45 +0000 (10:34 +0100)
committerMike Auty <ikelos@gentoo.org>
Sun, 28 May 2017 09:35:35 +0000 (10:35 +0100)
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

app-forensics/foremost/foremost-1.5.7-r3.ebuild [moved from app-forensics/foremost/foremost-1.5.7-r1.ebuild with 78% similarity]

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 a96a90521a0caafcdab43deed930d89382b8792a..69d67a469d2def136cc198565c6a7d728cd675df 100644 (file)
@@ -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