added fuse-overlayfs to support rootless podman on ZFS

master
layman 3 years ago
parent ca739a7b43
commit de7547b281
  1. 1
      sys-fs/fuse-overlayfs/Manifest
  2. 48
      sys-fs/fuse-overlayfs/fuse-overlayfs-0.6.4.ebuild

@ -0,0 +1 @@
EBUILD fuse-overlayfs-0.6.4.ebuild 941 BLAKE2B a293d0655ea0da25ba3e64701ae9c4d31ea2f1a599fb3cdfb228bd45ec2e9ff847188aff3dbbc7501f1f6b021bd51fd213c5117e55f1e61ed23ba4e5b270b9b5 SHA512 a27f71e34106c22e2342abdf9cbfa68f7dd4e358c6b3bb56c1f13503fe4d2842712245625cbebe3e7d226bd3019a59b65e5e9f714124788c1ba6bfcdd64eb7cb

@ -0,0 +1,48 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit linux-info git-r3 autotools eutils
SLOT="0"
DESCRIPTION="FUSE implementation for overlayfs"
HOMEPAGE="https://github.com/containers/fuse-overlayfs"
EGIT_REPO_URI="${HOMEPAGE}.git"
LICENSE="GPL-3"
KEYWORDS="~amd64"
DEPEND="
sys-fs/fuse:3
"
RDEPEND="${DEPEND}"
BDEPEND=""
pkg_setup() {
linux-info_pkg_setup
kernel_is ge 4 18 0 || die "Linux 4.18.0 or newer required"
}
src_unpack() {
git-r3_fetch ${EGIT_REPO_URI} refs/tags/v${PV} || die "Failed to fetch"
git-r3_checkout || die "Failed to check out"
}
src_prepare() {
cd "${EGIT_CHECKOUT_DIR}"
eautoreconf || die "Failed to run autotools"
}
src_configure() {
cd "${EGIT_CHECKOUT_DIR}"
econf || die "Failed to configure"
}
src_compile() {
cd "${EGIT_CHECKOUT_DIR}"
einfo "Commencing compilation..."
emake || die "Failed to compile"
}