diff options
Diffstat (limited to 'sys-apps/hw-probe')
-rw-r--r-- | sys-apps/hw-probe/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/hw-probe/files/hw-probe-1.5-disable-automatic-upload.patch | 36 | ||||
-rw-r--r-- | sys-apps/hw-probe/hw-probe-1.5-r1.ebuild | 64 | ||||
-rw-r--r-- | sys-apps/hw-probe/hw-probe-1.6.5_p20230812.ebuild (renamed from sys-apps/hw-probe/hw-probe-1.6_beta2-r1.ebuild) | 16 | ||||
-rw-r--r-- | sys-apps/hw-probe/metadata.xml | 2 |
5 files changed, 8 insertions, 113 deletions
diff --git a/sys-apps/hw-probe/Manifest b/sys-apps/hw-probe/Manifest index 6bc85b53ded8..f336481c7867 100644 --- a/sys-apps/hw-probe/Manifest +++ b/sys-apps/hw-probe/Manifest @@ -1,2 +1 @@ -DIST hw-probe-1.5.tar.gz 113996 BLAKE2B 59f6fc27e2cbb99a4b7dd9428e32a93dce2ffcc1133e82539b8836a694e6c5634fe2e172732675acf0d83504907a750c63f138d6dec236039eb7c805010a8383 SHA512 80dd2484bd317ac1e86d7f434626f288648aebf110a4bf81c0c05548abcb19d990119c1690fcb5796384a6c32fd5c1e827698a31165bfc41ef6df9fc7fdd368d -DIST hw-probe-1.6_beta2.tar.gz 143569 BLAKE2B fc7b7562f86eb1b26fef32a8ed9b4a8d01c5621bedbc7e810d5a011c53d528b000ff9df312cf5e3f0ab455558e08e2b9a3ddcd543cd6856208466721f9a0e13c SHA512 2727e7b0fe449cbb6dd21fc112660df4ec666be845bbfd21037b41372a499dfb80c8c2dc37bd222032c68faadff91192a6d6f5229353cb0fc63b8e3dbd715f5d +DIST hw-probe-1.6.5_p20230812.tar.gz 166015 BLAKE2B 1c5e3ab58aa28e1d5a757d75e8b462b7eaf3da1eb4baca308c681000b95c333e8ea3141b9af2a28e8453a449ea38cca9f5239996e216c0c7dfc4414fc8781b8a SHA512 633cda1e1d6a3104587b6ebf4faad98526e0d6daec5e9a26b319a4b5b76baeac063277eca9e81e7903b28cdebbb3db095f7526d1f46511f885e37b31e1032b7d diff --git a/sys-apps/hw-probe/files/hw-probe-1.5-disable-automatic-upload.patch b/sys-apps/hw-probe/files/hw-probe-1.5-disable-automatic-upload.patch deleted file mode 100644 index 4f16c0d87fae..000000000000 --- a/sys-apps/hw-probe/files/hw-probe-1.5-disable-automatic-upload.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 6a211f965c21f1aa2e8612bcd7e2966ce8e8c607 Mon Sep 17 00:00:00 2001 -From: Conrad Kostecki <conikost@gentoo.org> -Date: Wed, 23 Sep 2020 22:26:45 +0200 -Subject: [PATCH] hw-probe.pl: disable automatic upload - -Due security concerns, running 'hw-probe.pl' without any parameters -shouldn't upload directly by default all data. Instead, the user should -add '-upload' if he really wants that. - -Signed-off-by: Conrad Kostecki <conikost@gentoo.org> ---- - hw-probe.pl | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/hw-probe.pl b/hw-probe.pl -index b71f250..1bceb0e 100644 ---- a/hw-probe.pl -+++ b/hw-probe.pl -@@ -217,15 +217,13 @@ - - if($#ARGV_COPY==-1) - { # Run from STDIN -- print "Executing hw-probe -all -upload\n\n"; -+ print "Executing hw-probe -all\n\n"; - $Opt{"All"} = 1; -- $Opt{"Upload"} = 1; - } - elsif($#ARGV_COPY==0 and grep { $ARGV_COPY[0] eq $_ } ("-snap", "-flatpak")) - { # Run by desktop file -- print "Executing hw-probe -all -upload\n\n"; -+ print "Executing hw-probe -all\n\n"; - $Opt{"All"} = 1; -- $Opt{"Upload"} = 1; - - if($SNAP_DESKTOP or $FLATPAK_DESKTOP) - { # Desktop diff --git a/sys-apps/hw-probe/hw-probe-1.5-r1.ebuild b/sys-apps/hw-probe/hw-probe-1.5-r1.ebuild deleted file mode 100644 index 5cf31892ccff..000000000000 --- a/sys-apps/hw-probe/hw-probe-1.5-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit optfeature readme.gentoo-r1 - -DESCRIPTION="A tool to probe for hardware, check it's operability and find drivers" -HOMEPAGE="https://github.com/linuxhw/hw-probe/" -SRC_URI="https://github.com/linuxhw/hw-probe/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - dev-lang/perl - dev-perl/Digest-SHA1 - net-misc/curl - sys-apps/dmidecode - sys-apps/edid-decode - sys-apps/hwinfo - sys-apps/pciutils - sys-apps/smartmontools - sys-apps/usbutils - virtual/perl-Data-Dumper -" - -PATCHES=( "${FILESDIR}/${PN}-1.5-disable-automatic-upload.patch" ) - -src_compile() { - :; -} - -src_install() { - default - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - - optfeature "showing Machine Check Exceptions." app-admin/mcelog - optfeature "showing additional I/O statistics." app-admin/sysstat - optfeature "showing smart card (reader) information." dev-libs/opensc - optfeature "showing Vulkan GPU hardware information." dev-util/vulkan-tools - optfeature "showing information of attached scanners." media-gfx/sane-backends - optfeature "showing GPU information provided by MESA." media-libs/mesa - optfeature "showing zeroconf statistics." net-dns/avahi - optfeature "showing HP printer statistics." net-print/hplip - optfeature "showing status about rfkill switches on communication devices." net-wireless/rfkill - optfeature "showing additional CPU capabilities." sys-apps/cpuid - optfeature "showing hard disk (HDD, SSD, ..) capabilities." sys-apps/hdparm - optfeature "showing available I2C sensors." sys-apps/i2c-tools - optfeature "showing additional hardware and system information detected by inxi." sys-apps/inxi - optfeature "showing information about tested memory for faults." sys-apps/memtester - optfeature "showing 'Plug & Play' devices." sys-apps/pnputils - optfeature "showing systemd boot process information." sys-apps/systemd - optfeature "showing ACPI statistics and tables." sys-power/iasl - optfeature "showing information about NUMA." sys-process/numactl - optfeature "showing additional GPU information provided by MESA progs." x11-apps/mesa-progs - optfeature "showing available Xinput devices." x11-apps/xinput -} diff --git a/sys-apps/hw-probe/hw-probe-1.6_beta2-r1.ebuild b/sys-apps/hw-probe/hw-probe-1.6.5_p20230812.ebuild index 10f2227e5771..d9507250c6bb 100644 --- a/sys-apps/hw-probe/hw-probe-1.6_beta2-r1.ebuild +++ b/sys-apps/hw-probe/hw-probe-1.6.5_p20230812.ebuild @@ -1,22 +1,20 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -MY_PV="${PV/_/-}" -MY_PV_BETA="${MY_PV/2/}" +EGIT_COMMIT="b895b77b7e03f4b1b0a5fb177118373ee0328a25" inherit optfeature readme.gentoo-r1 DESCRIPTION="A tool to probe for hardware, check it's operability and find drivers" HOMEPAGE="https://github.com/linuxhw/hw-probe/" -SRC_URI="https://github.com/linuxhw/hw-probe/archive/${MY_PV_BETA}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/${PN}-${MY_PV_BETA}" +SRC_URI="https://github.com/linuxhw/hw-probe/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~arm64 ~loong x86" RDEPEND=" dev-lang/perl @@ -31,8 +29,6 @@ RDEPEND=" virtual/perl-Data-Dumper " -PATCHES=( "${FILESDIR}/${PN}-1.5-disable-automatic-upload.patch" ) - src_compile() { :; } diff --git a/sys-apps/hw-probe/metadata.xml b/sys-apps/hw-probe/metadata.xml index 55a7ebd2ff02..53910a2f847f 100644 --- a/sys-apps/hw-probe/metadata.xml +++ b/sys-apps/hw-probe/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>conikost@gentoo.org</email> |