Skip to content

Commit

Permalink
app-forensics/foremost: Uncompress man page before using doman.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Mike Auty committed May 28, 2017
1 parent ee091ae commit 014d839
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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() {
Expand All @@ -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
Expand Down

0 comments on commit 014d839

Please sign in to comment.