From: "Denis Reva" <denis7774@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/erofs-utils/
Date: Sat, 5 Dec 2020 14:12:24 +0000 (UTC) [thread overview]
Message-ID: <1607177434.b4ee7252ca72f035b49b55917ac6386c3a673964.RarogCmex@gentoo> (raw)
commit: b4ee7252ca72f035b49b55917ac6386c3a673964
Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Dec 5 14:10:34 2020 +0000
Commit: Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Dec 5 14:10:34 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b4ee7252
sys-fs/erofs-utils: user-space utilities for erofs
New package, taken from https://bugs.gentoo.org/701284
Added metadata.xml.
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
sys-fs/erofs-utils/Manifest | 1 +
sys-fs/erofs-utils/erofs-utils-1.1.ebuild | 33 ++++++++++++++++++++++++++++
sys-fs/erofs-utils/metadata.xml | 36 +++++++++++++++++++++++++++++++
3 files changed, 70 insertions(+)
diff --git a/sys-fs/erofs-utils/Manifest b/sys-fs/erofs-utils/Manifest
new file mode 100644
index 00000000..3bf92e0b
--- /dev/null
+++ b/sys-fs/erofs-utils/Manifest
@@ -0,0 +1 @@
+DIST erofs-utils-1.1.tar.gz 46133 BLAKE2B 24a2f16059e39bd65203f4a28721b8aad70599d6201ead02c291234de631bd3def1c403fa8b50b6dce4af3eea2768b912c4f56ad20c3c26db3853ba3174775ac SHA512 f300b536f0ba91a05a7eb3dc9a9ec402c98966ad7c0e1f2f664a650caaffce6c4433722374418c6d03e69ce2e74785e55f9bcc45e6717a8bc67e5352e450806b
diff --git a/sys-fs/erofs-utils/erofs-utils-1.1.ebuild b/sys-fs/erofs-utils/erofs-utils-1.1.ebuild
new file mode 100644
index 00000000..272f9f80
--- /dev/null
+++ b/sys-fs/erofs-utils/erofs-utils-1.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 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="${HOMEPAGE}/snapshot/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="lz4 +uuid"
+
+RDEPEND="
+ lz4? ( >=app-arch/lz4-1.9 )
+ uuid? ( sys-apps/util-linux )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable lz4) \
+ $(use_with uuid)
+}
diff --git a/sys-fs/erofs-utils/metadata.xml b/sys-fs/erofs-utils/metadata.xml
new file mode 100644
index 00000000..e4bdaaa4
--- /dev/null
+++ b/sys-fs/erofs-utils/metadata.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>denis7774@gmail.com</email>
+ <name>Denis Reva</name>
+ <description>Partial maintainer</description>
+ </maintainer>
+ <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>
+ </use>
+</pkgmetadata>
next reply other threads:[~2020-12-05 14:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-05 14:12 Denis Reva [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-10 5:56 [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/erofs-utils/ Denis Reva
2021-03-28 11:43 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-03-28 11:14 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-04-25 17:05 Denis Reva
2021-04-28 13:07 Denis Reva
2021-06-11 15:23 Alessandro Barbieri
2021-07-07 3:46 Denis Reva
2021-07-19 10:06 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-07-19 10:06 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1607177434.b4ee7252ca72f035b49b55917ac6386c3a673964.RarogCmex@gentoo \
--to=denis7774@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox