sys-apps/inxi: add 3.3.37.1

Signed-off-by: Jonas Stein <jstein@gentoo.org>
This commit is contained in:
Jonas Stein
2025-01-09 18:55:45 +01:00
parent fd0527988a
commit b3aaa2da32
2 changed files with 77 additions and 0 deletions

View File

@@ -4,3 +4,4 @@ DIST inxi-3.3.33.1.tar.gz 679978 BLAKE2B 7445989e64cbb4beb39d6b415230ed70f5b7be9
DIST inxi-3.3.34.1.tar.gz 683279 BLAKE2B 5693d8add89185fe626f8f6a9e606f7582175402158cd01e30b91779eb289e00d5e8bc71c0d72028b0d5bf1913c040c206c7db83e5fd4639a622dc847d6f1ba9 SHA512 75b21d4ac99383b44d9a2f0f206b3bc612bd2f10fdae44e4b15373090825eea6c7c70250c8f535438d44fc4e938e4ebdb813016cc4a6ab2dbd6d91b6b50adc27
DIST inxi-3.3.35.1.tar.gz 689546 BLAKE2B 5b383998a110291f02807e2d61f5454a49437bb1dea682ec677ea9e76b5d9fcfb1b1d644700670d71f999ca6fdd100e852d6ab7936309998e6992507b2083c02 SHA512 f71d18c63d7d4dbe4d9d1d6c1dace2527c5ef1c29f58ea08d0d3f09f86c0a7514ec448b3f1f83392d19bd7c64e3718d1ed5f420589a67893ad9b32cc8d0c810c
DIST inxi-3.3.36.1.tar.gz 695643 BLAKE2B 7d766ac3fa3751a6dcbf0d02681361690b3b60ad31e8ce16b26a9c4292f7ab9691b95a72a537fbd23635ea866b32c38bb1ffdba0e1e54a3ff130adc8b86d5819 SHA512 e66ee59bc14f06b08e384196a9f4c032c99f2bd402601f9318bb0d9c4092cc4638f992e183b034188cb59ad5cca0f93ae56c4c2deea274b5b428f58bf56e95e8
DIST inxi-3.3.37.1.tar.gz 706475 BLAKE2B fcbd99541290a9fa0d5aadf8fbce780534482739dac24e443abdb381dabc87518ad169115ebacbb06e3c2556bb218c6b498bc3d20b329977d2220ad8f6faa241 SHA512 f2347106cde96910efe6b0c4f7afa5cdb3694010fc9c6901122d3c0d93900c53ef49a0ff8350ea0e1fcda65eebe03cc5807ac96871546435f8e112df6cf51bbd

View File

@@ -0,0 +1,76 @@
# Copyright 1999-2025 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 ~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" llvm-core/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
}