Merge updates from master

This commit is contained in:
Repository mirror & CI
2022-01-05 17:43:37 +00:00
5 changed files with 0 additions and 130 deletions

View File

@@ -1,2 +0,0 @@
DIST erofs-utils-1.2.1.tar.gz 61218 BLAKE2B 787d3c549020bf44d750ef1af8878c452683579ff545ed0a6b03a24fb5e5f559dad8dd1d00664598b7d42ec6f9d69800b087d0dcb0de147b51696b416903d712 SHA512 1b0fae6f1d7a5ee01f65e71e389c474d596be8800087beb063bfbda471c54d76f9d3f08da645cecb613b637044ff3f6b19d3c8647425261cec1646c87ad57802
DIST erofs-utils-1.3.tar.gz 66135 BLAKE2B 1051cf387d059d71b91e0a940c86b819593902606ae4665a7801e9597dd72987385bee997d2d63b186c493557ee22118aff23161e48e25ee8f4859f9f6e46f14 SHA512 6ddd8402dab80b0375b012ed51ff02b40cbeca9a4a1ba250b14ec6aeb97317ab575e315e9d4dc77ed1d7826c202396d9c0775917106ecbd7b4048168aca0fa6c

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="Userspace tools for EROFS images"
HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git"
SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="fuse lz4 selinux +uuid"
RDEPEND="
fuse? ( sys-fs/fuse:0 )
lz4? ( >=app-arch/lz4-1.9 )
selinux? ( sys-libs/libselinux )
uuid? ( sys-apps/util-linux )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/erofs-utils-1.2.1-no-Werror.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
$(use_enable fuse) \
$(use_enable lz4) \
$(use_with selinux) \
$(use_with uuid)
}

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="Userspace tools for EROFS images"
HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git"
SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="fuse lz4 selinux +uuid"
RDEPEND="
fuse? ( sys-fs/fuse:0 )
lz4? ( >=app-arch/lz4-1.9 )
selinux? ( sys-libs/libselinux )
uuid? ( sys-apps/util-linux )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
$(use_enable fuse) \
$(use_enable lz4) \
$(use_with selinux) \
$(use_with uuid)
}
src_install() {
default
use fuse || rm "${ED}/usr/share/man/man1/erofsfuse.1" || die
}

View File

@@ -1,13 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 28926c3..6be002b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR(config)
-AM_INIT_AUTOMAKE([foreign -Wall -Werror])
+AM_INIT_AUTOMAKE([foreign -Wall])
# Checks for programs.
AM_PROG_AR

View File

@@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<longdescription lang="en">
erofs-utils
===========
erofs-utils includes user-space tools for erofs filesystem images.
Currently only mkfs.erofs is available.
Mkfs.erofs
----------
It can create 2 primary kinds of erofs images: (un)compressed.
- For compressed images, it's able to use several compression algorithms, but lz4(hc) are only supported due to the current linux kernel implementation.
- For uncompressed images, it can decide whether the last page of a file should be inlined or not properly [1].
How to generate erofs images
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Currently lz4 and lz4hc are available for compression, e.g.
$ mkfs.erofs -zlz4hc foo.erofs.img foo/
Or leave all files uncompressed as a option:
$ mkfs.erofs foo.erofs.img foo/
Known issues
~~~~~~~~~~~~
1. LZ4HC cannot compress long zeroed buffer properly with
LZ4_compress_HC_destSize()
https://github.com/lz4/lz4/issues/784
</longdescription>
<use>
<flag name="uuid">Allow interaction with libuuid in sys-apps/util-linux. It's recommended turn on</flag>
<flag name="fuse">Enable support for Filesystem in Userspace via sys-fs/fuse</flag>
</use>
</pkgmetadata>