Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #83134

Bug#1076629: ethtool: Add Appstream metainfo announcing HW support

From Petter Reinholdtsen <pere@hungry.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1076629: ethtool: Add Appstream metainfo announcing HW support
Date 2024-07-20 11:10 +0200
Message-ID <J2egi-3rko-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: ethtool
Version: 1:6.1-1
Tags: patch
User: pere@hungry.com
Usertags: appstream-modalias

Here is a patch to add Appstream metainfo XML announcing the hardware
handled by this package.

Including this information in the package will ensure programs mapping
hardware to packages using Appstream information, like the isenkram
package, will know that this package is useful on machines where the
hardware ID is discovered.

diff --git a/debian/patches/1000-appstream-metainfo.patch b/debian/patches/1000-appstream-metainfo.patch
new file mode 100644
index 0000000..62cbaad
--- /dev/null
+++ b/debian/patches/1000-appstream-metainfo.patch
@@ -0,0 +1,45 @@
+Description: Added AppStream metainfo XML with hardware provide info.
+ This allow isenkram to propose this package when a ethernet card is
+ present.
+Author: Petter Reinholdtsen
+Forwarded: no
+Last-Update: 2024-07-20
+---
+Index: ethtool-salsa/Makefile.am
+===================================================================
+--- ethtool-salsa.orig/Makefile.am     2024-07-20 10:50:34.903244828 +0200
++++ ethtool-salsa/Makefile.am  2024-07-20 10:50:34.895244733 +0200
+@@ -3,7 +3,11 @@
+ LDADD = -lm
+ 
+ man_MANS = ethtool.8
+-EXTRA_DIST = LICENSE ethtool.8 ethtool.spec.in aclocal.m4 ChangeLog autogen.sh
++EXTRA_DIST = LICENSE ethtool.8 ethtool.spec.in aclocal.m4 ChangeLog autogen.sh \
++             org.kernel.software.network.ethtool.metainfo.xml
++
++dist_metainfo_DATA = org.kernel.software.network.ethtool.metainfo.xml
++metainfodir = $(datarootdir)/metainfo
+ 
+ sbin_PROGRAMS = ethtool
+ ethtool_SOURCES = ethtool.c uapi/linux/const.h uapi/linux/ethtool.h internal.h \
+Index: ethtool-salsa/org.kernel.software.network.ethtool.metainfo.xml
+===================================================================
+--- /dev/null  1970-01-01 00:00:00.000000000 +0000
++++ ethtool-salsa/org.kernel.software.network.ethtool.metainfo.xml     2024-07-20 10:51:29.651893714 +0200
+@@ -0,0 +1,16 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<component type="desktop">
++  <id>org.kernel.software.network.ethtool</id>
++  <metadata_license>MIT</metadata_license>
++  <name>ethtool</name>
++  <summary>display or change Ethernet device settings</summary>
++  <description>
++    <p>ethtool can be used to query and change settings such as speed,
++    auto- negotiation and checksum offload on many network devices,
++    especially Ethernet devices.</p>
++  </description>
++  <url type="homepage">https://www.kernel.org/pub/software/network/ethtool/</url>
++  <provides>
++    <modalias>pci:v*d*sv*sd*bc02sc80i*</modalias>
++  </provides>
++</component>
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..42e8b1a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1000-appstream-metainfo.patch

-- 
Happy hacking
Petter Reinholdtsen

Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1076629: ethtool: Add Appstream metainfo announcing HW support Petter Reinholdtsen <pere@hungry.com> - 2024-07-20 11:10 +0200
  Bug#1076629: ethtool: Add Appstream metainfo announcing HW support Petter Reinholdtsen <pere@hungry.com> - 2025-01-25 06:30 +0100
    Bug#1076629: ethtool: Add Appstream metainfo announcing HW support Petter Reinholdtsen <pere@hungry.com> - 2025-02-21 12:30 +0100
      Bug#1076629: ethtool: Add Appstream metainfo announcing HW support Salvatore Bonaccorso <carnil@debian.org> - 2025-02-21 13:00 +0100
        Bug#1076629: ethtool: Add Appstream metainfo announcing HW support Petter Reinholdtsen <pere@hungry.com> - 2025-03-06 09:10 +0100
  Bug#1076629: marked as done (ethtool: Add Appstream metainfo  announcing HW support) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-04-08 08:30 +0200
  Bug#1076629: fixed in ethtool 1:6.14-1 <asciiwolf@seznam.cz> - 2025-04-11 15:20 +0200

csiph-web