diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-15 22:41:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-15 22:41:20 +0100 |
commit | 7a0f8a92967dc1c6eab8d6f66ec476905009a287 (patch) | |
tree | b73eed0b6ba49f9ca7e90538a00999ac22531f9c /sys-fs/erofs-utils/erofs-utils-1.6-r1.ebuild | |
parent | 35d4e80ab08982deb97a95d1b47156c67b268492 (diff) |
gentoo auto-resync : 15:07:2023 - 22:41:20
Diffstat (limited to 'sys-fs/erofs-utils/erofs-utils-1.6-r1.ebuild')
-rw-r--r-- | sys-fs/erofs-utils/erofs-utils-1.6-r1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sys-fs/erofs-utils/erofs-utils-1.6-r1.ebuild b/sys-fs/erofs-utils/erofs-utils-1.6-r1.ebuild new file mode 100644 index 000000000000..87fe99420cfd --- /dev/null +++ b/sys-fs/erofs-utils/erofs-utils-1.6-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Userspace tools for EROFS" +HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git" +LICENSE="GPL-2+" + +SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/${PN}.git/snapshot/${P}.tar.gz" +KEYWORDS="~amd64 ~loong" + +SLOT="0" +IUSE="fuse +lz4 +lzma selinux +uuid" + +RDEPEND=" + fuse? ( sys-fs/fuse:0 ) + lz4? ( app-arch/lz4:0= ) + lzma? ( >=app-arch/xz-utils-5.4.0:0= ) + selinux? ( sys-libs/libselinux:0= ) + uuid? ( sys-apps/util-linux ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-CVE-2023-33551.patch" + "${FILESDIR}/${P}-CVE-2023-33552.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-werror + $(use_enable fuse) + $(use_enable lz4) + $(use_enable lzma) + $(use_with selinux) + $(use_with uuid) + ) + + econf "${myeconfargs[@]}" +} |