summaryrefslogtreecommitdiff
path: root/sys-apps/lsb-release
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
commit908778078736bd36f7a60a2d576d415cb8e000fa (patch)
treec6a4796c48b608c14dc7e9674cdbd38f905e3c15 /sys-apps/lsb-release
parent185fa19bbf68a4d4dca534d2b46729207a177f16 (diff)
gentoo resync : 22.05.2021
Diffstat (limited to 'sys-apps/lsb-release')
-rw-r--r--sys-apps/lsb-release/Manifest2
-rw-r--r--sys-apps/lsb-release/lsb-release-1.4-r3.ebuild15
2 files changed, 11 insertions, 6 deletions
diff --git a/sys-apps/lsb-release/Manifest b/sys-apps/lsb-release/Manifest
index 311782191a86..5eab0f8a5f52 100644
--- a/sys-apps/lsb-release/Manifest
+++ b/sys-apps/lsb-release/Manifest
@@ -1,4 +1,4 @@
AUX lsb-release-1.4-os-release.patch 614 BLAKE2B b15e0e136ccbee1907cafc9523ad0ca31b87fd910b770b212f1d06aef668f184343f7d961aa38a1ba35e2bc1628750bd1680a70b7405271fab59c5f732fde66c SHA512 289795f45144071f5f166a3dfd387267fd3327767bae9d8e9c48818de0c60b961ac35952eb8b42b3ebfd415b337c096fa2db8009fdfbc218814a3ace633a8483
DIST lsb-release-1.4.tar.gz 10769 BLAKE2B d6c71d6604481a637f63fae00742ba77421345b36234fcfcae1da98bc1c80a8450bc569c2ea2f4b1c3a852de2fe24413fe397d4a60a0ca94eb70a9626871f4bb SHA512 84f6f8794380463587005043f601b7a40190cd9e3409abff7f5ce7658cf029a14346eff87838296d90307192bdeff68cc00480c5c04814da7acdb3e220640fde
-EBUILD lsb-release-1.4-r3.ebuild 905 BLAKE2B 906bf53a6780d2e5b928df28417644ebf7ae2dbdb0ef8080fa690915b3bee4c205ce59ecc58e5007f87982c45b0338e9861e5fc28fe4eb76439edb076f90fb84 SHA512 b6ba1930983fe26b6af0ec01471d753dc945fa2a1dd51afab0bccc59f90e5a2b977287065298155b4a2fc96ce2a515dd08f6ea4e085e84eb8c6e910483f243c5
+EBUILD lsb-release-1.4-r3.ebuild 922 BLAKE2B 54aae431200c08d4428bcb4bf0a00346e90cb298d29ba313231dcc15028529e760c4e57441bd6206adc7c3e8c593ffb30abb5c98e764a07eefd0093cce8e87fb SHA512 6d06f0972b3cb421067f9f9cbacf9fe1d3468174439b4e856ff7f3bd3b8229df3a1766c4d7b04895aef2af3a7d72080e417cc994140d5e924c082e2df7943060
MISC metadata.xml 808 BLAKE2B cb931504b70813859d35bfda6408cb28f2bd56cb4f0cdca944c051b9731c2c1e7c38d87bfab70cffabf82d4f537ea68eaa88bf05e2c90e27899238315fe29ad5 SHA512 cc252166fb933fc78a5b5479c9cc2a49a0d9224371cd14635cb92e7e3c4c801bdc6f837b6680704d20f63dc0b8872b67c72b952361e9328dc12305f9351f7a87
diff --git a/sys-apps/lsb-release/lsb-release-1.4-r3.ebuild b/sys-apps/lsb-release/lsb-release-1.4-r3.ebuild
index cac335bca5cb..a03a05fdec6a 100644
--- a/sys-apps/lsb-release/lsb-release-1.4-r3.ebuild
+++ b/sys-apps/lsb-release/lsb-release-1.4-r3.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit epatch prefix
+EAPI=7
+
+inherit prefix
DESCRIPTION="LSB version query program"
HOMEPAGE="https://wiki.linuxfoundation.org/lsb/"
@@ -13,10 +14,14 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
# Perl isn't needed at runtime, it is just used to generate the man page.
-DEPEND="dev-lang/perl"
+BDEPEND="dev-lang/perl"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-os-release.patch # bug 443116
+)
src_prepare() {
- epatch "${FILESDIR}"/${P}-os-release.patch # bug 443116
+ default
# use POSIX 'printf' instead of bash 'echo -e', bug #482370
sed -i \
@@ -34,7 +39,7 @@ src_install() {
install
dodir /etc
- cat > "${ED}/etc/lsb-release" <<- EOF
+ cat > "${ED}/etc/lsb-release" <<- EOF || die
DISTRIB_ID="Gentoo"
EOF
}