1 |
commit: 867401aadf911df386e434fd5792f144f9f993fd |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 10 19:24:10 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 10 19:24:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867401aa |
7 |
|
8 |
sys-apps/hw-probe: new package |
9 |
|
10 |
Hardware Probe Tool is a tool to probe for hardware, |
11 |
check it's operability and find drivers. |
12 |
The probes are uploaded to the Linux hardware database. |
13 |
See https://linux-hardware.org for more information. |
14 |
|
15 |
Closes: https://bugs.gentoo.org/669722 |
16 |
Closes: https://github.com/gentoo/gentoo/pull/10246 |
17 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
18 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
19 |
|
20 |
sys-apps/hw-probe/Manifest | 1 + |
21 |
sys-apps/hw-probe/files/README.gentoo | 7 ++++ |
22 |
sys-apps/hw-probe/hw-probe-1.5.ebuild | 62 +++++++++++++++++++++++++++++++++++ |
23 |
sys-apps/hw-probe/metadata.xml | 18 ++++++++++ |
24 |
4 files changed, 88 insertions(+) |
25 |
|
26 |
diff --git a/sys-apps/hw-probe/Manifest b/sys-apps/hw-probe/Manifest |
27 |
new file mode 100644 |
28 |
index 00000000000..dcd90fe3890 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/hw-probe/Manifest |
31 |
@@ -0,0 +1 @@ |
32 |
+DIST hw-probe-1.5.tar.gz 113996 BLAKE2B 59f6fc27e2cbb99a4b7dd9428e32a93dce2ffcc1133e82539b8836a694e6c5634fe2e172732675acf0d83504907a750c63f138d6dec236039eb7c805010a8383 SHA512 80dd2484bd317ac1e86d7f434626f288648aebf110a4bf81c0c05548abcb19d990119c1690fcb5796384a6c32fd5c1e827698a31165bfc41ef6df9fc7fdd368d |
33 |
|
34 |
diff --git a/sys-apps/hw-probe/files/README.gentoo b/sys-apps/hw-probe/files/README.gentoo |
35 |
new file mode 100644 |
36 |
index 00000000000..521f7f4aaaa |
37 |
--- /dev/null |
38 |
+++ b/sys-apps/hw-probe/files/README.gentoo |
39 |
@@ -0,0 +1,7 @@ |
40 |
+Please keep in mind, that all results are being uploaded |
41 |
+by default directly to the Linux Hardware Database |
42 |
+and can be read by everyone in public. |
43 |
+ |
44 |
+In order to identify unique computers and hard drives, |
45 |
+a 32-byte prefix of a salted SHA512 hash from |
46 |
+MAC addresses and serial numbers is being uploaded. |
47 |
|
48 |
diff --git a/sys-apps/hw-probe/hw-probe-1.5.ebuild b/sys-apps/hw-probe/hw-probe-1.5.ebuild |
49 |
new file mode 100644 |
50 |
index 00000000000..cd01ab71c9c |
51 |
--- /dev/null |
52 |
+++ b/sys-apps/hw-probe/hw-probe-1.5.ebuild |
53 |
@@ -0,0 +1,62 @@ |
54 |
+# Copyright 1999-2020 Gentoo Authors |
55 |
+# Distributed under the terms of the GNU General Public License v2 |
56 |
+ |
57 |
+EAPI=7 |
58 |
+ |
59 |
+inherit eutils readme.gentoo-r1 |
60 |
+ |
61 |
+DESCRIPTION="A tool to probe for hardware, check it's operability and find drivers" |
62 |
+HOMEPAGE="https://github.com/linuxhw/hw-probe/" |
63 |
+SRC_URI="https://github.com/linuxhw/hw-probe/archive/${PV}.tar.gz -> ${P}.tar.gz" |
64 |
+ |
65 |
+LICENSE="LGPL-2.1+" |
66 |
+SLOT="0" |
67 |
+KEYWORDS="~amd64 ~x86" |
68 |
+ |
69 |
+RDEPEND=" |
70 |
+ dev-lang/perl |
71 |
+ dev-perl/Digest-SHA1 |
72 |
+ net-misc/curl |
73 |
+ sys-apps/dmidecode |
74 |
+ sys-apps/edid-decode |
75 |
+ sys-apps/hwinfo |
76 |
+ sys-apps/pciutils |
77 |
+ sys-apps/smartmontools |
78 |
+ sys-apps/usbutils |
79 |
+ virtual/perl-Data-Dumper |
80 |
+" |
81 |
+ |
82 |
+src_compile() { |
83 |
+ :; |
84 |
+} |
85 |
+ |
86 |
+src_install() { |
87 |
+ default |
88 |
+ |
89 |
+ readme.gentoo_create_doc |
90 |
+} |
91 |
+ |
92 |
+pkg_postinst() { |
93 |
+ readme.gentoo_print_elog |
94 |
+ |
95 |
+ optfeature "showing Machine Check Exceptions." app-admin/mcelog |
96 |
+ optfeature "showing additional I/O statistics." app-admin/sysstat |
97 |
+ optfeature "showing smart card (reader) information." dev-libs/opensc |
98 |
+ optfeature "showing Vulkan GPU hardware information." dev-util/vulkan-tools |
99 |
+ optfeature "showing information of attached scanners." media-gfx/sane-backends |
100 |
+ optfeature "showing GPU information provided by MESA." media-libs/mesa |
101 |
+ optfeature "showing zeroconf statistics." net-dns/avahi |
102 |
+ optfeature "showing HP printer statistics." net-print/hplip |
103 |
+ optfeature "showing status about rfkill switches on communication devices." net-wireless/rfkill |
104 |
+ optfeature "showing additional CPU capabilities." sys-apps/cpuid |
105 |
+ optfeature "showing hard disk (HDD, SSD, ..) capabilities." sys-apps/hdparm |
106 |
+ optfeature "showing available I2C sensors." sys-apps/i2c-tools |
107 |
+ optfeature "showing additional hardware and system information detected by inxi." sys-apps/inxi |
108 |
+ optfeature "showing information about tested memory for faults." sys-apps/memtester |
109 |
+ optfeature "showing 'Plug & Play' devices." sys-apps/pnputils |
110 |
+ optfeature "showing systemd boot process information." sys-apps/systemd |
111 |
+ optfeature "showing ACPI statistics and tables." sys-power/iasl |
112 |
+ optfeature "showing information about NUMA." sys-process/numactl |
113 |
+ optfeature "showing additional GPU information provided by MESA progs." x11-apps/mesa-progs |
114 |
+ optfeature "showing available Xinput devices." x11-apps/xinput |
115 |
+} |
116 |
|
117 |
diff --git a/sys-apps/hw-probe/metadata.xml b/sys-apps/hw-probe/metadata.xml |
118 |
new file mode 100644 |
119 |
index 00000000000..55a7ebd2ff0 |
120 |
--- /dev/null |
121 |
+++ b/sys-apps/hw-probe/metadata.xml |
122 |
@@ -0,0 +1,18 @@ |
123 |
+<?xml version="1.0" encoding="UTF-8"?> |
124 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
125 |
+<pkgmetadata> |
126 |
+ <maintainer type="person"> |
127 |
+ <email>conikost@g.o</email> |
128 |
+ <name>Conrad Kostecki</name> |
129 |
+ </maintainer> |
130 |
+ <longdescription> |
131 |
+ Hardware Probe Tool is a tool to probe for hardware, |
132 |
+ check it's operability and find drivers. |
133 |
+ The probes are uploaded to the Linux hardware database. |
134 |
+ See https://linux-hardware.org for more information. |
135 |
+ </longdescription> |
136 |
+ <upstream> |
137 |
+ <bugs-to>https://github.com/linuxhw/hw-probe/issues</bugs-to> |
138 |
+ <remote-id type="github">linuxhw/hw-probe</remote-id> |
139 |
+ </upstream> |
140 |
+</pkgmetadata> |