Install this version:
emerge -a =app-admin/whatfiles-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-admin/whatfiles-9999
Or alternatively:
emerge --autounmask-write -a =app-admin/whatfiles-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EGIT_REPO_URI="https://github.com/spieglt/${PN}.git"
inherit git-r3 toolchain-funcs
DESCRIPTION="Log what files are accessed by any Linux process"
HOMEPAGE="https://github.com/spieglt/whatfiles"
LICENSE="GPL-3"
SLOT="0"
src_prepare() {
default
sed -i -e '/CFLAGS/s|=|+=|' \
-e '/$(CC) $(CFLAGS)/s|$(CC) $(CFLAGS)|$(CC) $(CFLAGS) $(LDFLAGS)|' \
Makefile || die "sed failed for Makefile"
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
einstalldocs
dobin bin/whatfiles
}