From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/lsb-release/
Date: Sat, 30 Jul 2022 08:19:44 +0000 (UTC) [thread overview]
Message-ID: <1659169121.7ef19adb0e10c30924d6d18509f5c840b60dd61c.sam@gentoo> (raw)
commit: 7ef19adb0e10c30924d6d18509f5c840b60dd61c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 07:38:28 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 08:18:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef19adb
sys-apps/lsb-release: add 3.2
Bug: https://bugs.gentoo.org/443116
Closes: https://bugs.gentoo.org/699538
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/lsb-release/Manifest | 1 +
sys-apps/lsb-release/lsb-release-3.2.ebuild | 41 +++++++++++++++++++++++++++++
sys-apps/lsb-release/metadata.xml | 1 +
3 files changed, 43 insertions(+)
diff --git a/sys-apps/lsb-release/Manifest b/sys-apps/lsb-release/Manifest
index 8d236b29ccce..7df02fbfbb5b 100644
--- a/sys-apps/lsb-release/Manifest
+++ b/sys-apps/lsb-release/Manifest
@@ -1 +1,2 @@
DIST lsb-release-1.4.tar.gz 10769 BLAKE2B d6c71d6604481a637f63fae00742ba77421345b36234fcfcae1da98bc1c80a8450bc569c2ea2f4b1c3a852de2fe24413fe397d4a60a0ca94eb70a9626871f4bb SHA512 84f6f8794380463587005043f601b7a40190cd9e3409abff7f5ce7658cf029a14346eff87838296d90307192bdeff68cc00480c5c04814da7acdb3e220640fde
+DIST lsb-release-3.2.tar.gz 16246 BLAKE2B f790b52c403ff42ec1bf787100c6c9715b7bebf3feb1772a6c4caee40b09c121ba7522553d145c478c752b196109747e31b2d8c14764c67c4a7e57fbae06348d SHA512 5ccc2f38c3603b8261310d5f30d8304a95bd6c24fbbf00484609078839a68894b2ba761a7465fc3c22f55dd69d67612d3cc4cb453765e3eea6b9af96834d85fd
diff --git a/sys-apps/lsb-release/lsb-release-3.2.ebuild b/sys-apps/lsb-release/lsb-release-3.2.ebuild
new file mode 100644
index 000000000000..f3e6c184e96b
--- /dev/null
+++ b/sys-apps/lsb-release/lsb-release-3.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 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.
+BDEPEND="dev-lang/perl"
+
+src_prepare() {
+ default
+
+ # Use POSIX 'printf' instead of bash 'echo -e', bug #482370
+ sed -i \
+ -e "s:echo -e:printf '%b\\\n':g" \
+ -e 's:--long:-l:g' \
+ lsb_release || die
+
+ # TODO: unbundle help2man?
+ hprefixify lsb_release help2man
+}
+
+src_install() {
+ emake prefix="${ED}"/usr install
+
+ dodir /etc
+ cat > "${ED}"/etc/lsb-release <<- EOF || die
+ DISTRIB_ID="Gentoo"
+ EOF
+}
diff --git a/sys-apps/lsb-release/metadata.xml b/sys-apps/lsb-release/metadata.xml
index 5a014d5fd66c..2e70c73a3c46 100644
--- a/sys-apps/lsb-release/metadata.xml
+++ b/sys-apps/lsb-release/metadata.xml
@@ -18,5 +18,6 @@
</longdescription>
<upstream>
<remote-id type="sourceforge">lsb</remote-id>
+ <remote-id type="github">thkukuk/lsb-release_os-release</remote-id>
</upstream>
</pkgmetadata>
next reply other threads:[~2022-07-30 8:19 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-30 8:19 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-23 5:32 [gentoo-commits] repo/gentoo:master commit in: sys-apps/lsb-release/ Sam James
2024-01-23 4:17 Sam James
2024-01-18 0:28 Sam James
2024-01-17 6:34 Sam James
2024-01-17 6:30 Arthur Zamarin
2024-01-17 5:57 Sam James
2024-01-17 5:50 Sam James
2024-01-17 5:33 Sam James
2023-11-30 3:49 Sam James
2022-09-26 4:16 Arthur Zamarin
2022-09-24 5:24 Agostino Sarubbo
2022-09-24 5:24 Agostino Sarubbo
2022-09-24 5:23 Agostino Sarubbo
2022-09-24 5:23 Agostino Sarubbo
2022-09-24 5:23 Agostino Sarubbo
2022-09-24 5:22 Agostino Sarubbo
2022-09-24 5:22 Agostino Sarubbo
2021-11-06 22:07 Georgy Yakovlev
2021-04-21 19:02 Sam James
2020-03-15 13:13 Mikle Kolyada
2019-11-07 19:14 Thomas Deutschmann
2019-11-07 17:57 Jeroen Roovers
2019-10-05 8:12 Michał Górny
2018-11-09 18:23 Mikle Kolyada
2018-10-17 16:27 Mikle Kolyada
2018-10-06 23:47 Matt Turner
2018-10-06 23:47 Matt Turner
2018-10-06 22:08 Sergei Trofimovich
2018-10-02 18:32 Sergei Trofimovich
2018-10-02 10:58 Tobias Klausmann
2018-09-30 22:46 Mart Raudsepp
2018-09-30 21:38 Sergei Trofimovich
2018-09-28 7:47 Mikle Kolyada
2018-04-13 3:47 Benda XU
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=1659169121.7ef19adb0e10c30924d6d18509f5c840b60dd61c.sam@gentoo \
--to=sam@gentoo.org \
--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