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 BEFCE158099 for ; Thu, 30 Nov 2023 03:49:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 693B42BC01E; Thu, 30 Nov 2023 03:49:09 +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 162C12BC01E for ; Thu, 30 Nov 2023 03:49:09 +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 EC9AC335D12 for ; Thu, 30 Nov 2023 03:49:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4AFBE1432 for ; Thu, 30 Nov 2023 03:49:06 +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: <1701314576.8574977b1520a42755a76c79a14fce80b1000fa1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/lsb-release/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/lsb-release/Manifest sys-apps/lsb-release/lsb-release-3.3.ebuild X-VCS-Directories: sys-apps/lsb-release/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8574977b1520a42755a76c79a14fce80b1000fa1 X-VCS-Branch: master Date: Thu, 30 Nov 2023 03:49:06 +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: 3b306eb6-6973-4b65-a14b-3c7a19fd6d0e X-Archives-Hash: 5c9fa723c636142d0e5d8fd0eee9204a commit: 8574977b1520a42755a76c79a14fce80b1000fa1 Author: Sam James gentoo org> AuthorDate: Thu Nov 30 03:22:56 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Nov 30 03:22:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8574977b sys-apps/lsb-release: add 3.3 Signed-off-by: Sam James gentoo.org> sys-apps/lsb-release/Manifest | 1 + sys-apps/lsb-release/lsb-release-3.3.ebuild | 39 +++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-apps/lsb-release/Manifest b/sys-apps/lsb-release/Manifest index 7df02fbfbb5b..8bae0ae91bd4 100644 --- a/sys-apps/lsb-release/Manifest +++ b/sys-apps/lsb-release/Manifest @@ -1,2 +1,3 @@ DIST lsb-release-1.4.tar.gz 10769 BLAKE2B d6c71d6604481a637f63fae00742ba77421345b36234fcfcae1da98bc1c80a8450bc569c2ea2f4b1c3a852de2fe24413fe397d4a60a0ca94eb70a9626871f4bb SHA512 84f6f8794380463587005043f601b7a40190cd9e3409abff7f5ce7658cf029a14346eff87838296d90307192bdeff68cc00480c5c04814da7acdb3e220640fde DIST lsb-release-3.2.tar.gz 16246 BLAKE2B f790b52c403ff42ec1bf787100c6c9715b7bebf3feb1772a6c4caee40b09c121ba7522553d145c478c752b196109747e31b2d8c14764c67c4a7e57fbae06348d SHA512 5ccc2f38c3603b8261310d5f30d8304a95bd6c24fbbf00484609078839a68894b2ba761a7465fc3c22f55dd69d67612d3cc4cb453765e3eea6b9af96834d85fd +DIST lsb-release-3.3.tar.gz 16364 BLAKE2B 91b53df571ebebae67ea2fc5f1f31a11a42166d4a584f5a236cee2a108e965d02b676c7be175239b616e42bc454bcff86485896191522ce5d0c7744f7178a636 SHA512 123291295000d4ce827c692a9ab5ebe300a61cb1dabf9af8bfffdd5f20363159e61a98670aac37ae087aa3639b4ec7dfdb5528aa8c3520f43225e9eae50270db diff --git a/sys-apps/lsb-release/lsb-release-3.3.ebuild b/sys-apps/lsb-release/lsb-release-3.3.ebuild new file mode 100644 index 000000000000..ea1dd0ecd5a6 --- /dev/null +++ b/sys-apps/lsb-release/lsb-release-3.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit prefix + +DESCRIPTION="LSB version query program" +HOMEPAGE="https://wiki.linuxfoundation.org/lsb/" +# mirror://sourceforge/lsb/${P}.tar.gz +SRC_URI="https://github.com/thkukuk/lsb-release_os-release/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}_os-release-${PV} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Perl isn't needed at runtime, it is just used to generate the man page via +# bundled sys-apps/help2man. +BDEPEND="dev-lang/perl" + +src_prepare() { + default + + # POSIX compat + sed -i -e 's:--long:-l:g' lsb_release || die + + # TODO: unbundle help2man? + hprefixify lsb_release help2man +} + +src_install() { + emake prefix="${ED}"/usr install + + insinto /etc + newins - lsb-release <<-EOF + DISTRIB_ID="Gentoo" + EOF +}