From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 17119158083 for ; Sun, 22 Sep 2024 09:41:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BDCBE2C77; Sun, 22 Sep 2024 09:41:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A8A3E2C77 for ; Sun, 22 Sep 2024 09:41:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F374C3433ED for ; Sun, 22 Sep 2024 09:41:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 374F41869 for ; Sun, 22 Sep 2024 09:41:32 +0000 (UTC) From: "Denis Reva" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Denis Reva" Message-ID: <1726998065.92f9e16154e29d9a90917ebfc13ad0fd52f02ffe.RarogCmex@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-fs/dwarfs-bin/Manifest sys-fs/dwarfs-bin/dwarfs-bin-0.10.1.ebuild X-VCS-Directories: sys-fs/dwarfs-bin/ X-VCS-Committer: RarogCmex X-VCS-Committer-Name: Denis Reva X-VCS-Revision: 92f9e16154e29d9a90917ebfc13ad0fd52f02ffe X-VCS-Branch: dev Date: Sun, 22 Sep 2024 09:41:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7e10b62b-99b1-4c74-bd77-e6ca9efa7e19 X-Archives-Hash: 43ce9135b65ebde2bac1078e468a5a94 commit: 92f9e16154e29d9a90917ebfc13ad0fd52f02ffe Author: Denis Reva gmail com> AuthorDate: Sun Sep 22 09:40:55 2024 +0000 Commit: Denis Reva gmail com> CommitDate: Sun Sep 22 09:41:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=92f9e161 sys-fs/dwarfs-bin: add 0.10.1 Signed-off-by: Denis Reva gmail.com> sys-fs/dwarfs-bin/Manifest | 2 + sys-fs/dwarfs-bin/dwarfs-bin-0.10.1.ebuild | 67 ++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest index b16395d5f..871b24ab2 100644 --- a/sys-fs/dwarfs-bin/Manifest +++ b/sys-fs/dwarfs-bin/Manifest @@ -1,2 +1,4 @@ +DIST dwarfs-bin-0.10.1-amd64.tar.xz 7342460 BLAKE2B c9e4b053d8f6082a31007d394333693e4ba1c999bd797affa5f1bdcc5e28c834db664952c8ec0c29a94ed98b111df369ddd321f434beecd486d25c9580d2b497 SHA512 850bf3f1747e0bcb9fe458a691036bf3eca4ed6bd44c00033e34ae25f07a38c35905947fc407b65caa41ebe2662ec1474368cfe338df234447bafab50d54a850 +DIST dwarfs-bin-0.10.1-arm64.tar.gz 6427628 BLAKE2B 656bbf5cc9b0faa82560bc6589d4d7ea4837966abfd1fa46c5f07470e87769ed4864d0895ef8d1cf6d800cee8e6d1ac70fd704f0bca516ffaa9e29202889ec7a SHA512 15de8bd5f6ee073f4a9d540929ab210fc9faf163a5dc5271abbaac67c81b402a0b11748fc0c80c65a9804744671eb4498f03634733ba1d15c1d5133b4150e33b DIST dwarfs-bin-0.9.10-amd64.tar.xz 8076224 BLAKE2B c2ed06683c5bb1989a6c3d9381514c750274cae9ba9fed7eedb96fd6a6202f09e14df1a45362a570b5f112e15e472ddf7e9bc368ad70a848aecf3b09bc94402a SHA512 9633f59fa1afdc9ebe8260ce6d29b78fbb6b2c5905edf8884b2e6b608c1c04fdcb1b464d4842e0e75eb5e16d766bf8aaf6f890b7aa1fae8cb7127309e7f2c49a DIST dwarfs-bin-0.9.10-arm64.tar.gz 7044940 BLAKE2B a893efa702423a5cfbe87117fe0674e8cba33bdaef95535ef6779e096d58c5002cd672c6e6ae378ae9f5641a19eb4b5e601e929a1bd1b4416208910ef80507ed SHA512 e32e9693a825335b311e454c5556decf8ccd74ce872cd4d61f2243e1fb000950436bb1b7336bf4341cd26820b9ffe6d383b2d2425329ba3ceac78fb415a1edf2 diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.10.1.ebuild b/sys-fs/dwarfs-bin/dwarfs-bin-0.10.1.ebuild new file mode 100644 index 000000000..8b117c98f --- /dev/null +++ b/sys-fs/dwarfs-bin/dwarfs-bin-0.10.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Static version of a fast very high compression read-only FUSE file system" +HOMEPAGE="https://github.com/mhx/dwarfs" +SRC_URI=" + amd64? ( https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}-Linux-x86_64-clang.tar.xz -> ${P}-amd64.tar.xz ) + arm64? ( https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}-Linux-aarch64-clang.tar.xz -> ${P}-arm64.tar.gz ) +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" + +RDEPEND=" + ${PYTHON_DEPS} + sys-fs/fuse:3 +" +DEPEND=" + ${RDEPEND} +" +QA_PREBUILT=" + opt/dwarfs-bin/bin/* + opt/dwarfs-bin/sbin/* +" + +src_unpack() { + if use amd64; then + S="${WORKDIR}/dwarfs-${PV}-Linux-x86_64-clang" + elif use arm64; then + S="${WORKDIR}/dwarfs-${PV}-Linux-aarch64-clang" + fi + + default +} + +src_prepare() { + default + einfo "Removing legacy fuse2-related stuff..." + rm sbin/dwarfs2 sbin/mount.dwarfs2 || die + einfo "Done." +} + +src_install(){ + mkdir -p "${ED}/opt/${PN}" || die + mv "${S}"/* "${ED}/opt/${PN}" || die + + for file in "${ED}/opt/${PN}/bin"/*; do + dosym "../${PN}/bin/$(basename "${file}")" "/opt/bin/$(basename "${file}")" + done + for file in "${ED}/opt/${PN}/sbin"/*; do + dosym "../${PN}/sbin/$(basename "${file}")" "/opt/bin/$(basename "${file}")" + done + + newenvd - "90${P}" <<-_EOF_ + MANPATH="${EPREFIX}/opt/${PN}/share/man" + _EOF_ +} + +pkg_postinst(){ + elog "You may find more information in the" + elog "${HOMEPAGE}" + elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md" + elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md" +}