summaryrefslogtreecommitdiff
path: root/sys-apps/lsb-release
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-30 15:10:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-30 15:10:23 +0100
commit27b0740bf48a0a181090a49d20f368ac8474e90b (patch)
treed715e035ea5c7dfe4a21b510e898913c33289cfa /sys-apps/lsb-release
parentad0412d0cafb8c04ce98024155cf99a4cc27db44 (diff)
gentoo auto-resync : 30:07:2022 - 15:10:23
Diffstat (limited to 'sys-apps/lsb-release')
-rw-r--r--sys-apps/lsb-release/Manifest4
-rw-r--r--sys-apps/lsb-release/lsb-release-3.2.ebuild41
-rw-r--r--sys-apps/lsb-release/metadata.xml1
3 files changed, 45 insertions, 1 deletions
diff --git a/sys-apps/lsb-release/Manifest b/sys-apps/lsb-release/Manifest
index a9adfe19251a..c83468ad39c8 100644
--- a/sys-apps/lsb-release/Manifest
+++ b/sys-apps/lsb-release/Manifest
@@ -1,4 +1,6 @@
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
+DIST lsb-release-3.2.tar.gz 16246 BLAKE2B f790b52c403ff42ec1bf787100c6c9715b7bebf3feb1772a6c4caee40b09c121ba7522553d145c478c752b196109747e31b2d8c14764c67c4a7e57fbae06348d SHA512 5ccc2f38c3603b8261310d5f30d8304a95bd6c24fbbf00484609078839a68894b2ba761a7465fc3c22f55dd69d67612d3cc4cb453765e3eea6b9af96834d85fd
EBUILD lsb-release-1.4-r4.ebuild 1104 BLAKE2B b399f7a4641078445f8f6910cbe1ffc0a720523b891c84ea259a60efeaec15cc7ca632ec14c617973232d6933732eb564db4c1103d7a77046b7d7d69465682d9 SHA512 3d859f8ae02d17a5bbc940f72b6255cd2cb0ada459d16550bd63991973d2a11b8d79645212df293ed90b211783443c633c5317e8dc00be30f151f6c3e45074d9
-MISC metadata.xml 809 BLAKE2B 38ad65227aa223463f44a81f24f8b8930ac8df03dd556eea24759b8a770c798ba42e3497970b6b2cca3437ebb21f38af094d4625128feef6cb1b6f228e2f8db7 SHA512 943f7df2955531edfef1305376c0cc2ee25f98d73f045cea5001d1e1956579c0d6779b16b70bc1ecdaf06737faead54b2a928202cfd252c2d9b3ab649920f0e4
+EBUILD lsb-release-3.2.ebuild 1014 BLAKE2B ac28c8d8261d54b1869b4d88f662bc28209af69f245ed386b19bf1d73f5f699bfc91d296a167a5fb133bdba94f825d6cc8985ebacc58b3d185f44dbc79eec700 SHA512 7cfc42d03d8277b84ae94aac2fac23d12d388683d0d2053dae781bb8ad52746cfc018fae2cc60df197b90488c46532e5ac5e863ed223028a42d41e7cd3a3da74
+MISC metadata.xml 879 BLAKE2B fe482a13fba61111cf6230114ae673e96f6c87826bf7336d54e53e5a0cb0d1e3df0dfc9f43fa15e2d4117011727b271a63b0b20f887c70394337c07a5b006936 SHA512 252d9ef70b225cfab3098577bb4e1510ef4a81f1e1f6e4a4c2d02e859b7acf6ff24db6c77f661417176a697daf6f76db7f5c300efc6a35e029dfdeca2aa043fa
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>