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 02E9215808B for ; Fri, 11 Mar 2022 11:01:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E309E087A; Fri, 11 Mar 2022 11:01:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FF91E087A for ; Fri, 11 Mar 2022 11:01:26 +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 BB01F342EC3 for ; Fri, 11 Mar 2022 11:01:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1199831A for ; Fri, 11 Mar 2022 11:01:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1646996455.9923950a8fb3c067c6102f7175b94ecc1cbbdfaf.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/lrzip/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/lrzip/Manifest app-arch/lrzip/lrzip-0.651.ebuild X-VCS-Directories: app-arch/lrzip/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9923950a8fb3c067c6102f7175b94ecc1cbbdfaf X-VCS-Branch: master Date: Fri, 11 Mar 2022 11:01:17 +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: 0f059e7e-cd90-45f3-8163-5af5c3f4403c X-Archives-Hash: 0bcba4582e40e796b930f5d3b529a518 commit: 9923950a8fb3c067c6102f7175b94ecc1cbbdfaf Author: Sam James gentoo org> AuthorDate: Fri Mar 11 09:19:46 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 11 11:00:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9923950a app-arch/lrzip: add 0.651 Not thought to fix any further vulnerabilities but it's a better stable candidate. Bug: https://bugs.gentoo.org/834456 Signed-off-by: Sam James gentoo.org> app-arch/lrzip/Manifest | 1 + app-arch/lrzip/lrzip-0.651.ebuild | 51 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/app-arch/lrzip/Manifest b/app-arch/lrzip/Manifest index fda21f1f62bf..b156593d8470 100644 --- a/app-arch/lrzip/Manifest +++ b/app-arch/lrzip/Manifest @@ -1,2 +1,3 @@ DIST lrzip-0.641.tar.gz 262761 BLAKE2B 5a81d9ca8b40c141c90488e9ffcd1dfd5bef3fe7cf9b02c00b9382cd902ef8cd891401f21c9cdd5d5750daf639c05a1e6f1f010fcbf42a9cdaa4f11921fac783 SHA512 cb14dda15485faa24cb840dd94ecd4741bd47464770ae8b27f97b5c263d8a32e40ceb17b288f0f70426598ef2acf84b091593fc8cf7a0f2db0abde88d09a301f DIST lrzip-0.650.tar.gz 238952 BLAKE2B 5013de6f8948aebf1bb7545c392b623a1628f74298cab3316555ec6a1acbbc64f81abcf1f5c8a7a67a547d8748f7bb05d0d88cb58b6fa3ab765baad596acb756 SHA512 30a3217703748f6894fbac438976e3179a46e3f6af59e5849f7f8460d1a094275a4b41790617f4bd1ae7c7476548d2daadcfab9ab60c167ce5c24cd593e70964 +DIST lrzip-0.651.tar.gz 238854 BLAKE2B 2680867ccbee6ff669581017c9bb22db4d7eba0fda80b935bd088191809cb8baa833a03e7732cd1fe5a0487edfe577b34f34dcdcda121c114145bff9fc17ba79 SHA512 97671c4705bc06dfd037e38f4384a5ffaf2e3508da217406ac43642b88eae16576818a378bce519812204fecefbd6552a75fc3e74af729ab7b11724b7a6d1998 diff --git a/app-arch/lrzip/lrzip-0.651.ebuild b/app-arch/lrzip/lrzip-0.651.ebuild new file mode 100644 index 000000000000..9cb8ed8b2d4e --- /dev/null +++ b/app-arch/lrzip/lrzip-0.651.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Long Range ZIP or Lzma RZIP optimized for compressing large files" +HOMEPAGE="https://github.com/ckolivas/lrzip" +SRC_URI="https://github.com/ckolivas/lrzip/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND="app-arch/bzip2 + app-arch/lz4 + dev-libs/lzo + sys-libs/zlib" +DEPEND="${RDEPEND}" +BDEPEND="dev-perl/Pod-Parser + amd64? ( dev-lang/nasm ) + x86? ( dev-lang/nasm )" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # ASM optimizations are only available on amd64 and x86, bug #829003 + local asm=no + if use amd64 || use x86; then + asm=yes + fi + + econf \ + $(use_enable static-libs static) \ + --enable-asm=${asm} +} + +src_install() { + default + # Don't collide with net-dialup/lrzsz and /usr/bin/lrz, bug #588206 + rm -f "${ED}"/usr/bin/lrz || die + rm -f "${ED}"/usr/share/man/man1/lrz.* || die + + find "${ED}" -name '*.la' -delete || die +}