commit:     62f3dcef3531241fda1ec6e7cd646656a53917cb
Author:     Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 19 21:57:25 2024 +0000
Commit:     Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Tue Mar 19 22:06:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62f3dcef

sys-apps/inxi: bump to 3.3.33.1 add optfeatures

Version bump to 3.3.33.1
Add optional dependencies with optfeature
Upstream moved from github to codeberg

Signed-off-by: Jonas Stein <jstein <AT> gentoo.org>

 sys-apps/inxi/Manifest             |  1 +
 sys-apps/inxi/inxi-3.3.27.1.ebuild |  2 +-
 sys-apps/inxi/inxi-3.3.29.1.ebuild |  4 +-
 sys-apps/inxi/inxi-3.3.30.1.ebuild |  4 +-
 sys-apps/inxi/inxi-3.3.31.2.ebuild |  4 +-
 sys-apps/inxi/inxi-3.3.33.1.ebuild | 76 ++++++++++++++++++++++++++++++++++++++
 sys-apps/inxi/metadata.xml         |  1 +
 7 files changed, 85 insertions(+), 7 deletions(-)

diff --git a/sys-apps/inxi/Manifest b/sys-apps/inxi/Manifest
index 3c5d17648696..0d2777a69699 100644
--- a/sys-apps/inxi/Manifest
+++ b/sys-apps/inxi/Manifest
@@ -2,3 +2,4 @@ DIST inxi-3.3.27.1.tar.gz 614167 BLAKE2B 
1a312255340bfe361eb10dd725cc9fb1421d8df
 DIST inxi-3.3.29.1.tar.gz 630296 BLAKE2B 
176b20b113b3339f27d2ec16681d652e8ccaefed80c220078fa4e625ad7191cd6ebc9ada049197a858475e5c656b5f74f599ca202e1e47d6682e4cd9049eb763
 SHA512 
09b5a7553ccfd42a3c2e58d4718c487f84bf22df76710a6c42a2a4dd08343279f1d2523652a476ed475c5e019ad5aa02c0886bc40d57de407c9489054f812b5c
 DIST inxi-3.3.30.1.tar.gz 643283 BLAKE2B 
cfcafc643e7e18261fac622df3614e7ad296ec2233ebf6750243d9490e0ca5e8ba3742286a0630ae948d16ac4d09705ffc1b20df666f48ed2c5331a8320919d7
 SHA512 
dba5c23d991bd6fb34eec9c2b6107da4e0ddab202f97e8aa53efb25d446fbe77f5250a9d14f543014f21d2cc614cd4e2d486a9f1fae78dde37ecee418cb763f5
 DIST inxi-3.3.31.2.tar.gz 646036 BLAKE2B 
271a15f0ac88543b1950e1eeca99deb2991138cb73bfcd9db77a63e49ae71e6aa4fc1f7ad4c837485d42b1bc5e5a122a3ba50e61faaf7238590c135b5db496d4
 SHA512 
d45bcfcddcf4229a292ea95e8517308852a5ffec8f00a059a2191acbb5a7e0b4e298c8b0597b3281e600913d82ce3e7d284735e608032bd843ddb79ae030e3ae
+DIST inxi-3.3.33.1.tar.gz 679978 BLAKE2B 
7445989e64cbb4beb39d6b415230ed70f5b7be90a9b4155104abdb4d57d490ea5ae09cd48871ed3745ba7b719fe4eb49e9706ad168f59245c66f8f576cf022f3
 SHA512 
7537da7175fe1578a09567e169a309c5258cbb1fd1ae7e58d98df800110cd03333775f8a73f672a5a6a8f0a950123f4f5908a15023648da9150f43464d25be10

diff --git a/sys-apps/inxi/inxi-3.3.27.1.ebuild 
b/sys-apps/inxi/inxi-3.3.27.1.ebuild
index 151dbb74bbbb..1ed63b070e2a 100644
--- a/sys-apps/inxi/inxi-3.3.27.1.ebuild
+++ b/sys-apps/inxi/inxi-3.3.27.1.ebuild
@@ -8,7 +8,7 @@ MY_PV=$(ver_rs 3 '-')
 # It was also the last Bash based release. Later versions are Perl based
 
 DESCRIPTION="The CLI inxi collects and prints hardware and system information"
-HOMEPAGE="https://github.com/smxi/inxi";
+HOMEPAGE="https://codeberg.org/smxi/inxi";
 SRC_URI="https://github.com/smxi/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${PN}-${MY_PV}"
 

diff --git a/sys-apps/inxi/inxi-3.3.29.1.ebuild 
b/sys-apps/inxi/inxi-3.3.29.1.ebuild
index 1b3918e6aebe..5b9fb0891c53 100644
--- a/sys-apps/inxi/inxi-3.3.29.1.ebuild
+++ b/sys-apps/inxi/inxi-3.3.29.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,7 +8,7 @@ MY_PV=$(ver_rs 3 '-')
 # It was also the last Bash based release. Later versions are Perl based
 
 DESCRIPTION="The CLI inxi collects and prints hardware and system information"
-HOMEPAGE="https://github.com/smxi/inxi";
+HOMEPAGE="https://codeberg.org/smxi/inxi";
 SRC_URI="https://github.com/smxi/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${PN}-${MY_PV}"
 

diff --git a/sys-apps/inxi/inxi-3.3.30.1.ebuild 
b/sys-apps/inxi/inxi-3.3.30.1.ebuild
index a706e26a71c6..b6c6cb35e9a5 100644
--- a/sys-apps/inxi/inxi-3.3.30.1.ebuild
+++ b/sys-apps/inxi/inxi-3.3.30.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,7 +8,7 @@ MY_PV=$(ver_rs 3 '-')
 # It was also the last Bash based release. Later versions are Perl based
 
 DESCRIPTION="The CLI inxi collects and prints hardware and system information"
-HOMEPAGE="https://github.com/smxi/inxi";
+HOMEPAGE="https://codeberg.org/smxi/inxi";
 SRC_URI="https://github.com/smxi/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${PN}-${MY_PV}"
 

diff --git a/sys-apps/inxi/inxi-3.3.31.2.ebuild 
b/sys-apps/inxi/inxi-3.3.31.2.ebuild
index 1b3918e6aebe..5b9fb0891c53 100644
--- a/sys-apps/inxi/inxi-3.3.31.2.ebuild
+++ b/sys-apps/inxi/inxi-3.3.31.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,7 +8,7 @@ MY_PV=$(ver_rs 3 '-')
 # It was also the last Bash based release. Later versions are Perl based
 
 DESCRIPTION="The CLI inxi collects and prints hardware and system information"
-HOMEPAGE="https://github.com/smxi/inxi";
+HOMEPAGE="https://codeberg.org/smxi/inxi";
 SRC_URI="https://github.com/smxi/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${PN}-${MY_PV}"
 

diff --git a/sys-apps/inxi/inxi-3.3.33.1.ebuild 
b/sys-apps/inxi/inxi-3.3.33.1.ebuild
new file mode 100644
index 000000000000..990d547acf19
--- /dev/null
+++ b/sys-apps/inxi/inxi-3.3.33.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=$(ver_rs 3 '-')
+
+inherit optfeature
+
+DESCRIPTION="The CLI inxi collects and prints hardware and system information"
+HOMEPAGE="https://codeberg.org/smxi/inxi";
+SRC_URI="https://codeberg.org/smxi/${PN}/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="dev-lang/perl
+       sys-apps/pciutils
+       "
+
+src_install() {
+       dobin ${PN}
+       doman ${PN}.1
+       dodoc README.txt
+}
+
+pkg_postinst() {
+       # All packages are in the same order as displayed by inxi --recommends
+       # including duplicates in order to keep track of changes in the future.
+       optfeature_header "Optional features as suggested by inxi --recommends:"
+
+       optfeature "blockdev: --admin -p/-P (filesystem blocksize)" 
sys-apps/util-linux
+       optfeature "bt-adapter: -E bluetooth data (if no hciconfig, btmgmt)" 
net-wireless/bluez-tools
+       optfeature "btmgmt: -E bluetooth data (if no hciconfig)" 
net-wireless/bluez
+       optfeature "dig: -i wlan IP" net-dns/bind-tools
+       optfeature "dmidecode: -M if no sys machine data; -m" sys-apps/dmidecode
+       optfeature "doas: -Dx hddtemp-user; -o file-user (alt for sudo)" 
app-admin/doas
+       optfeature "fdisk: -D partition scheme (fallback)" sys-apps/util-linux
+
+       # currently implicit dependency:
+       # optfeature "file: -o unmounted file system (if no lsblk)" 
sys-apps/file
+       # not packaged yet:
+       # fruid_print: -M machine data, Elbrus only
+
+       optfeature "hciconfig: -E bluetooth data (deprecated, good report)" 
net-wireless/bluez
+       optfeature "hddtemp: -Dx show hdd temp, if no drivetemp module" 
app-admin/hddtemp
+       optfeature "ifconfig: -i ip LAN (deprecated)" sys-apps/net-tools
+       optfeature "ip: -i ip LAN" sys-apps/iproute2
+       optfeature "ipmitool: -s IPMI sensors (servers)" sys-apps/ipmitool
+       optfeature "ipmi-sensors: -s IPMI sensors (servers)" sys-libs/freeipmi
+       optfeature "lsblk: -L LUKS/bcache; -o unmounted file system (best 
option)" sys-apps/util-linux
+       optfeature "lsusb: -A usb audio; -J (optional); -N usb networking" 
sys-apps/usbutils
+       optfeature "lvs: -L LVM data" sys-fs/lvm2
+       optfeature "mdadm: -Ra advanced mdraid data" sys-fs/mdadm
+       optfeature "modinfo: Ax; -Nx module version" sys-apps/kmod
+       optfeature "runlevel: -I fallback to Perl" sys-apps/sysvinit
+       optfeature "sensors: -s sensors output (optional, /sys supplies most)" 
sys-apps/lm-sensors
+       optfeature "smartctl: -Da advanced data" sys-apps/smartmontools
+       # TODO optfeature "strings: -I sysvinit version" 
sys-devel/llvm-toolchain-symlinks
+       optfeature "sudo: -Dx hddtemp-user; -o file-user (try doas!)" 
app-admin/sudo
+       optfeature "tree: --debugger 20,21 /sys tree" app-text/tree
+       optfeature "udevadm: -m ram data for non-root, or no dmidecode" 
sys-apps/systemd
+       optfeature "upower: -sx attached device battery info" sys-power/upower
+       optfeature "uptime: -I uptime" sys-process/procps
+       optfeature "eglinfo: -G X11/Wayland EGL info" x11-apps/mesa-progs
+       optfeature "glxinfo: -G X11 GLX info" x11-apps/mesa-progs
+       optfeature "vulkaninfo: -G Vulkan API info" dev-util/vulkan-tools
+       optfeature "wayland-info: -G Wayland data (not for X)" 
app-misc/wayland-utils
+       optfeature "wmctrl: -S active window manager (fallback)" x11-misc/wmctrl
+       optfeature "xdpyinfo: -G (X) Screen resolution, dpi; -Ga Screen size" 
x11-apps/xdpyinfo
+       optfeature "xprop: -S (X) desktop data" x11-apps/xprop
+       optfeature "xdriinfo: -G (X) DRI driver (if missing, fallback to Xorg 
log)" x11-apps/xdriinfo
+       optfeature "xrandr: -G (X) monitors(s) resolution; -Ga monitor data" 
x11-apps/xrandr
+}

diff --git a/sys-apps/inxi/metadata.xml b/sys-apps/inxi/metadata.xml
index 6e7c8477e73c..facad1bc6f11 100644
--- a/sys-apps/inxi/metadata.xml
+++ b/sys-apps/inxi/metadata.xml
@@ -6,6 +6,7 @@
                <name>Jonas Stein</name>
        </maintainer>
        <upstream>
+               <remote-id type="codeberg">smxi/inxi</remote-id>
                <remote-id type="github">smxi/inxi</remote-id>
        </upstream>
        <longdescription>inxi is a script to print information about the 
system. It was forked from infobash. The script parses files in /proc but can 
also collects information from other tools such as glxinfo or dmidecode. See a 
full list of supported tools with inxi --recommends.</longdescription>

Reply via email to