[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#838157: firmware-b43-installer: Please announce supported hardware using AppStream



Control: tags -1 + patch

Here is a patch implementing the change.  I've commited it to the git
repository of this now orphaned package, alongside some lintian fixes,
and plan to upload soon.

diff --git a/debian/copyright b/debian/copyright
index 44ba7de..8bd3abd 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -21,6 +21,10 @@ Copyright: 2006-2010 Rene Engelhard <rene@debian.org>
            © 2019-2020 Andreas Beckmann <anbe@debian.org>
 License: BSD-2-Clause
 
+Files: debian/*.metainfo.xml
+Copyright: 2024 Petter Reinholdtsen <pere@debian.org>
+License: MIT
+
 Files: debian/cs.po
 Copyright: 2013 Michal Simunek <michal.simunek@gmail.com>
 License: BSD-2-Clause
@@ -111,3 +115,22 @@ License: public-domain
  The algorithm is due to Ron Rivest. This code was
  written by Colin Plumb in 1993, no copyright is claimed.
  This code is in the public domain; do with it what you wish.
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/firmware-b43-installer.install b/debian/firmware-b43-installer.install
index e57f194..02daca8 100644
--- a/debian/firmware-b43-installer.install
+++ b/debian/firmware-b43-installer.install
@@ -1 +1,2 @@
 debian/.placeholder /usr/lib/firmware/b43/
+debian/org.kernel.drivers.firmware-b43-installer.metainfo.xml usr/share/metainfo
diff --git a/debian/firmware-b43legacy-installer.install b/debian/firmware-b43legacy-installer.install
index 21a9345..6a0337d 100644
--- a/debian/firmware-b43legacy-installer.install
+++ b/debian/firmware-b43legacy-installer.install
@@ -1 +1,2 @@
 debian/.placeholder /usr/lib/firmware/b43legacy/
+debian/org.kernel.drivers.firmware-b43legacy-installer.metainfo.xml usr/share/metainfo
diff --git a/debian/org.kernel.drivers.firmware-b43-installer.metainfo.xml b/debian/org.kernel.drivers.firmware-b43-installer.metainfo.xml
new file mode 100644
index 0000000..0c272e4
--- /dev/null
+++ b/debian/org.kernel.drivers.firmware-b43-installer.metainfo.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component>
+  <id>org.kernel.drivers.firmware-b43-installer</id>
+  <metadata_license>MIT</metadata_license>
+  <name>firmware-b43-installer</name>
+  <summary>firmware installer for the b43 driver</summary>
+  <description>
+    <p>This package downloads and installs the firmware needed by the b43
+    kernel driver for some Broadcom 43xx wireless network cards.</p>
+    <p>Supported chipsets:</p>
+    <ul>
+      <li>BCM4306/3 (chip revision 3 only);</li>
+      <li>BCM4311 (NOT PCI Id 14e4:4313);</li>
+      <li>BCM4312;</li>
+      <li>BCM43131;</li>
+      <li>BCM4318;</li>
+      <li>BCM4321 (only partial support, not all versions tested);</li>
+      <li>BCM43217;</li>
+      <li>BCM4322 (only partial support for some versions, not all versions tested);</li>
+      <li>BCM43222 (not all versions tested);</li>
+      <li>BCM43224 (not all versions tested);</li>
+      <li>BCM43225;</li>
+      <li>BCM43227;</li>
+      <li>BCM43228;</li>
+      <li>BCM4331;</li>
+      <li>BCM47xx (detection not reliable, may not support all versions).</li>
+    </ul>
+  </description>
+  <provides>
+    <modalias>pci:v000014E4d00004306sv*</modalias>
+    <modalias>pci:v000014E4d0000432[04]sv*</modalias>
+    <modalias>pci:v000014E4d00004307sv*</modalias>
+    <modalias>pci:v000014E4d0000431[59]sv*</modalias>
+    <modalias>pci:v000014E4d0000432[1289BC]sv*</modalias>
+    <modalias>pci:v000014E4d00004331sv*</modalias>
+    <modalias>pci:v000014E4d0000435[03789]sv*</modalias>
+    <modalias>pci:v000014E4d000043A[9A]sv*</modalias>
+    <modalias>pci:v000014E4d00004716sv*</modalias>
+    <modalias>pci:v000014E4d0000A8D8sv*</modalias>
+    <modalias>pci:v000014E4d0000A8DBsv*</modalias>
+    <modalias>pci:v000014E4d00005354sv*</modalias>
+    <modalias>pci:v000014E4d0000431[12]sv*</modalias>
+    <modalias>pci:v000014E4d00004318sv*</modalias>
+  </provides>
+</component>
diff --git a/debian/org.kernel.drivers.firmware-b43legacy-installer.metainfo.xml b/debian/org.kernel.drivers.firmware-b43legacy-installer.metainfo.xml
new file mode 100644
index 0000000..afe2b4c
--- /dev/null
+++ b/debian/org.kernel.drivers.firmware-b43legacy-installer.metainfo.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component>
+  <id>org.kernel.drivers.firmware-b43legacy-installer</id>
+  <metadata_license>MIT</metadata_license>
+  <name>firmware-b43legacy-installer</name>
+  <summary>firmware installer for the b43legacy driver</summary>
+  <description>
+    <p>This package downloads and installs the firmware needed by the
+    b43legacy kernel driver for some Broadcom 43xx wireless network
+    cards.</p>
+    <p>Supported chipsets:</p>
+    <ul>
+      <li>BCM4301;</li>
+      <li>BCM4306/2;</li>
+      <li>BCM4306.</li>
+    </ul>
+  </description>
+  <provides>
+    <modalias>pci:v000014E4d00004301sv*</modalias>
+    <modalias>pci:v000014E4d00004306sv*</modalias>
+    <modalias>pci:v000014E4d00004320sv*</modalias>
+    <modalias>pci:v000014E4d00004324sv*</modalias>
+    <modalias>pci:v000014E4d00004325sv*</modalias>
+  </provides>
+</component>

-- 
Happy hacking
Petter Reinholdtsen


Reply to: