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
-# 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
# 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() {
src_install() {
dobin foremost
- doman foremost.8.gz
+ gunzip foremost.8.gz
+ doman foremost.8
insinto /etc
doins foremost.conf
dodoc README CHANGES