From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D4B4915808A for ; Sun, 18 May 2025 19:06:21 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C355B34330E for ; Sun, 18 May 2025 19:06:21 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C06401103DD; Sun, 18 May 2025 19:06:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 bobolink.gentoo.org (Postfix) with ESMTPS id B2CE51103DD for ; Sun, 18 May 2025 19:06:20 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 61D78343319 for ; Sun, 18 May 2025 19:06:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04D4413A6 for ; Sun, 18 May 2025 19:06:19 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1747595089.7d42679aed02d0dcde92dc5f43b83cb70e0b73ef.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/lzip/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/lzip/Manifest app-arch/lzip/lzip-1.25.ebuild X-VCS-Directories: app-arch/lzip/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7d42679aed02d0dcde92dc5f43b83cb70e0b73ef X-VCS-Branch: master Date: Sun, 18 May 2025 19:06:19 +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: 13a01b5e-a2b8-4bc3-8f0b-35a4d54928cb X-Archives-Hash: 592bcc0619ea6ea3e6e1393d43f77bb5 commit: 7d42679aed02d0dcde92dc5f43b83cb70e0b73ef Author: NRK disroot org> AuthorDate: Wed Apr 30 23:36:37 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 18 19:04:49 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d42679a app-arch/lzip: add 1.25 installed as lzip-reference so that app-alternatives/lzip can manage the symlink. Signed-off-by: NRK disroot.org> Part-of: https://github.com/gentoo/gentoo/pull/41869 Signed-off-by: Michał Górny gentoo.org> app-arch/lzip/Manifest | 2 ++ app-arch/lzip/lzip-1.25.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-arch/lzip/Manifest b/app-arch/lzip/Manifest index 0a3c51fd9323..124e764afc88 100644 --- a/app-arch/lzip/Manifest +++ b/app-arch/lzip/Manifest @@ -1,2 +1,4 @@ DIST lzip-1.24.1.tar.gz 123899 BLAKE2B b387577087af5596ea49af16c44e1dfc11f78cbcc1031fc480a4e7ef1a01f4d8fb35c03d8cbeb7f6feb51e427708b1ed0f9a160e80ff938555ea3cf34f28be7c SHA512 b67b3b8ab594306dd863b6f51525ab80e90cbff3af1faf190fd7a35eac895ef869e6a1f8f503d623c16ad5c1496816c8f851abf0be5983d53052bea80afc34bd DIST lzip-1.24.1.tar.gz.sig 72 BLAKE2B 6b957524cbca62aed7eb1dc35284da24550d8d90c8bf95d0c84063afe5e0cc1fc6f70bd513dece615f286e0d49c1a7dfcf6940a443f293975380c8e3ada2cb2d SHA512 40cfa84a7c7e6b907d76560eae27b22cb11aea79a94a2231e041952fe0f452a4e291355f60965bd6ca712e03f4ebf5381b759409e66a4a12653a005a6a1d8395 +DIST lzip-1.25.tar.gz 115640 BLAKE2B c9215246cf792c0448d8b71c80ea822e34ecb43b580d3707570dffe31af327f42758fa07ce78d94a3b12ea0a1bb80b7868822cfffdafd467abab397723c5d6e2 SHA512 6dec5625d5668d2f6f93816b0f2d7050ef357b5ce9a9af100bde45dddc21171341c2bcb623acdde8146b7eaed2248f8e0f5f32e64f57ecc6fe6cb9a0e187b796 +DIST lzip-1.25.tar.gz.sig 72 BLAKE2B 5ff942d70f6efddb13bcc312c3cc6d30467f32a7eed797ac399ef4bca54843167ebb3ba225ee94a944d0066480c27868fd78196989bb033665ca73681def2445 SHA512 50441d67ee9d4056bad4a64772104c7cfcc80fce2221f7ad0ae3568206c9a4b8df167c55e7baef4255b3d4f740e31211f7151b2c4368dcbbcd5396e619f16934 diff --git a/app-arch/lzip/lzip-1.25.ebuild b/app-arch/lzip/lzip-1.25.ebuild new file mode 100644 index 000000000000..f80df9bb8e6e --- /dev/null +++ b/app-arch/lzip/lzip-1.25.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/antoniodiazdiaz.asc +inherit toolchain-funcs verify-sig + +DESCRIPTION="Lossless data compressor based on the LZMA algorithm" +HOMEPAGE="https://www.nongnu.org/lzip/lzip.html" +SRC_URI=" + https://download.savannah.gnu.org/releases/${PN}/${P/_/-}.tar.gz +" +SRC_URI+=" + verify-sig? ( + https://download.savannah.gnu.org/releases/${PN}/${P/_/-}.tar.gz.sig + ) +" +S=${WORKDIR}/${P/_/-} + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + verify-sig? ( + sec-keys/openpgp-keys-antoniodiazdiaz + ) +" + +src_configure() { + # not autotools-based + ./configure \ + --prefix="${EPREFIX}"/usr \ + CXX="$(tc-getCXX)" \ + CPPFLAGS="${CPPFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" || die +} + +src_install() { + default + + mv "${ED}"/usr/bin/lzip{,-reference} || die + mv "${ED}"/usr/share/man/man1/lzip{,-reference}.1 || die +} + +pkg_postinst() { + if [[ ! -L ${EROOT}/usr/bin/lzip ]]; then + ln -s "lzip-reference" "${EROOT}/usr/bin/lzip" || die + fi +}