summaryrefslogtreecommitdiff
path: root/sys-apps
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-17 05:09:20 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-17 05:09:20 +0000
commit6b5b302ba9ccdf5f2b4ee5d76852e15f06a258f4 (patch)
treedd2e8b648c870cdffba98085a76e3db267d01156 /sys-apps
parent5f00e936b0325ef6df7fc2c45e0fe4baebb2e0c1 (diff)
sys-apps/lsb-release : version bump
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/lsb-release/Manifest2
-rw-r--r--sys-apps/lsb-release/lsb-release-3.3-r5.ebuild (renamed from sys-apps/lsb-release/lsb-release-3.2-r3.ebuild)18
2 files changed, 9 insertions, 11 deletions
diff --git a/sys-apps/lsb-release/Manifest b/sys-apps/lsb-release/Manifest
index 2f2f1ed7..beb8591d 100644
--- a/sys-apps/lsb-release/Manifest
+++ b/sys-apps/lsb-release/Manifest
@@ -1 +1 @@
-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.2-r3.ebuild b/sys-apps/lsb-release/lsb-release-3.3-r5.ebuild
index ca6c1f82..0068ce36 100644
--- a/sys-apps/lsb-release/lsb-release-3.2-r3.ebuild
+++ b/sys-apps/lsb-release/lsb-release-3.3-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,19 +13,17 @@ 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"
+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.
+# 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
- # 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
+ # POSIX compat
+ sed -i -e 's:--long:-l:g' lsb_release || die
# TODO: unbundle help2man?
hprefixify lsb_release help2man
@@ -34,8 +32,8 @@ src_prepare() {
src_install() {
emake prefix="${ED}"/usr install
- dodir /etc
- cat > "${D}/etc/lsb-release" <<- EOF
+ insinto /etc
+ newins - lsb-release <<-EOF
DISTRIB_ID="Redcore"
DISTRIB_RELEASE="Rolling.Boulder.Uphill"
DISTRIB_DESCRIPTION="Redcore Linux Hardened - Rolling.Boulder.Uphill"