summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:23:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:23:58 +0000
commit6dce38a7d3f755cfa88207007c0cb199c4c8a2e3 (patch)
treea9bba51153f8bdaad3be20eefae2cfe0072ca4f7
parentAdding upstream version 0.0~2023.04.11. (diff)
downloadpci.ids-debian.tar.xz
pci.ids-debian.zip
Adding debian version 0.0~2023.04.11-1.debian/0.0_2023.04.11-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog317
-rw-r--r--debian/control26
-rw-r--r--debian/copyright57
-rw-r--r--debian/pci.ids.install1
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides4
-rw-r--r--debian/tests/control1
-rwxr-xr-xdebian/tests/test-db-format83
-rw-r--r--debian/upstream/metadata4
-rw-r--r--debian/watch3
11 files changed, 504 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3f1d815
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,317 @@
+pci.ids (0.0~2023.04.11-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Remove patch, fixed upstream.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 07 May 2023 02:10:00 +0200
+
+pci.ids (0.0~2023.03.17-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+
+ -- Guillem Jover <guillem@debian.org> Wed, 22 Mar 2023 23:56:31 +0100
+
+pci.ids (0.0~2023.02.23-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 26 Feb 2023 23:31:06 +0100
+
+pci.ids (0.0~2023.02.11-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+
+ -- Guillem Jover <guillem@debian.org> Tue, 14 Feb 2023 03:08:36 +0100
+
+pci.ids (0.0~2023.01.26-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 29 Jan 2023 19:23:13 +0100
+
+pci.ids (0.0~2023.01.18-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+ * Change debian/patches Forwarded field value to the email address used.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 22 Jan 2023 22:52:46 +0100
+
+pci.ids (0.0~2023.01.14-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+ * Update copyright years.
+ * Add debian/patches metadata.
+
+ -- Guillem Jover <guillem@debian.org> Mon, 16 Jan 2023 23:02:09 +0100
+
+pci.ids (0.0~2023.01.06-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+
+ -- Guillem Jover <guillem@debian.org> Sat, 07 Jan 2023 22:49:03 +0100
+
+pci.ids (0.0~2022.12.19-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+ * Switch to Standards-Version 4.6.2 (no changes needed).
+
+ -- Guillem Jover <guillem@debian.org> Sat, 24 Dec 2022 17:19:08 +0100
+
+pci.ids (0.0~2022.12.04-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 11 Dec 2022 23:09:21 +0100
+
+pci.ids (0.0~2022.11.30-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+
+ -- Guillem Jover <guillem@debian.org> Sat, 03 Dec 2022 11:42:34 +0100
+
+pci.ids (0.0~2022.11.25-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+
+ -- Guillem Jover <guillem@debian.org> Tue, 29 Nov 2022 00:08:27 +0100
+
+pci.ids (0.0~2022.11.19-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+
+ -- Guillem Jover <guillem@debian.org> Thu, 24 Nov 2022 03:01:59 +0100
+
+pci.ids (0.0~2022.10.28-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+
+ -- Guillem Jover <guillem@debian.org> Sat, 05 Nov 2022 00:35:57 +0100
+
+pci.ids (0.0~2022.10.22-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patch.
+
+ -- Guillem Jover <guillem@debian.org> Wed, 26 Oct 2022 01:07:06 +0200
+
+pci.ids (0.0~2022.09.09-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Fix encoding issues in pci.ids. The database had characters encoded as
+ iso8859-15 as if they were utf-8.
+ * Restore copyright years in debian/copyright file.
+ * Add upstream metadata file.
+ * Add lintian overrides for false-positives.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 09 Oct 2022 19:32:17 +0200
+
+pci.ids (0.0~2022.08.07-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Thu, 18 Aug 2022 01:04:54 +0200
+
+pci.ids (0.0~2022.07.17-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 17 Jul 2022 13:33:45 +0200
+
+pci.ids (0.0~2022.07.05-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Fri, 08 Jul 2022 22:15:28 +0200
+
+pci.ids (0.0~2022.05.18-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Switch to Standards-Version 4.6.1 (no changes needed).
+
+ -- Guillem Jover <guillem@debian.org> Fri, 01 Jul 2022 11:51:47 +0200
+
+pci.ids (0.0~2022.04.15-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Switch to Standards-Version 4.6.0 (no changes needed).
+
+ -- Guillem Jover <guillem@debian.org> Tue, 19 Apr 2022 00:01:01 +0200
+
+pci.ids (0.0~2022.01.22-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Sat, 22 Jan 2022 22:14:51 +0100
+
+pci.ids (0.0~2021.08.22-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Sat, 28 Aug 2021 00:27:52 +0200
+
+pci.ids (0.0~2021.04.08-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Fri, 09 Apr 2021 03:28:59 +0200
+
+pci.ids (0.0~2021.02.08-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Tue, 09 Feb 2021 07:52:03 +0100
+
+pci.ids (0.0~2021.01.11-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Sat, 23 Jan 2021 23:51:45 +0100
+
+pci.ids (0.0~2020.12.23-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Switch to Standards-Version 4.5.1 (no changes needed).
+
+ -- Guillem Jover <guillem@debian.org> Thu, 24 Dec 2020 18:24:20 +0100
+
+pci.ids (0.0~2020.10.25-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Update descriptions for PCI IDs 1002:3e50 and 1002:3e70 to list also
+ ATI Radeon model X550. Closes: #537963
+
+ -- Guillem Jover <guillem@debian.org> Wed, 28 Oct 2020 10:04:53 +0100
+
+pci.ids (0.0~2020.09.21-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Clearly print FAIL or PASS in test-db-format output.
+
+ -- Guillem Jover <guillem@debian.org> Mon, 21 Sep 2020 22:25:23 +0200
+
+pci.ids (0.0~2020.08.19-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Wed, 09 Sep 2020 03:58:03 +0200
+
+pci.ids (0.0~2020.07.21-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Sat, 08 Aug 2020 21:45:35 +0200
+
+pci.ids (0.0~2020.05.29-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Switch to debhelper compatibility level 13.
+ * Remove explicit nocheck conditional now handled by debhelper.
+
+ -- Guillem Jover <guillem@debian.org> Sat, 06 Jun 2020 06:02:10 +0200
+
+pci.ids (0.0~2020.04.08-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Guillem Jover <guillem@debian.org> Sat, 11 Apr 2020 20:40:22 +0200
+
+pci.ids (0.0~2020.03.20-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Guillem Jover <guillem@debian.org> Sun, 22 Mar 2020 02:44:05 +0100
+
+pci.ids (0.0~2020.02.22-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 01 Mar 2020 01:25:31 +0100
+
+pci.ids (0.0~2020.01.25-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Switch to Standards-Version 4.5.0 (no changes needed).
+
+ -- Guillem Jover <guillem@debian.org> Sun, 26 Jan 2020 01:42:42 +0100
+
+pci.ids (0.0~2020.01.12-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 12 Jan 2020 19:57:02 +0100
+
+pci.ids (0.0~2019.12.01-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Add a new autopkgtest that parses and validates the pci.ids database.
+
+ -- Guillem Jover <guillem@debian.org> Tue, 03 Dec 2019 01:15:26 +0100
+
+pci.ids (0.0~2019.11.26-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Fri, 29 Nov 2019 16:27:46 +0100
+
+pci.ids (0.0~2019.11.10-2) unstable; urgency=medium
+
+ * Revert compression of installed pci.ids, based on a botched misreading
+ of the pciutils code.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 10 Nov 2019 23:24:41 +0100
+
+pci.ids (0.0~2019.11.10-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 10 Nov 2019 15:56:43 +0100
+
+pci.ids (0.0~2019.11.06-2) unstable; urgency=medium
+
+ * Add Replaces and Breaks against pciutils 1:3.6.2-4~.
+ * Compress installed pci.ids.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 10 Nov 2019 11:33:11 +0100
+
+pci.ids (0.0~2019.11.06-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Update copyright information after clarification from upstream in README
+ file.
+ * Switch to Standards-Version 4.4.1 (no changes needed).
+ * Make updating the pciutils package easier until this gets ACCEPTED in
+ the Debian archive:
+ - Comment out Breaks until this package has been ACCEPTED.
+ - Switch Replaces version to 1:3.6.3~.
+
+ -- Guillem Jover <guillem@debian.org> Sat, 09 Nov 2019 13:46:12 +0100
+
+pci.ids (0.0~2019.09.14-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Clarify copyright information in debian/copyright, after having contacted
+ upstream to get this included explicitly, and getting confirmation of the
+ information being correct.
+ * Add trailing dot to a Comment sentence in debian/copyright.
+
+ -- Guillem Jover <guillem@debian.org> Sat, 14 Sep 2019 21:47:48 +0200
+
+pci.ids (0.0~2019.06.30-1) unstable; urgency=medium
+
+ * New package split from pciutils, to make updating the database not
+ require uploading the former.
+
+ -- Guillem Jover <guillem@debian.org> Sun, 07 Jul 2019 22:35:10 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..5d95b99
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: pci.ids
+Section: admin
+Priority: optional
+Maintainer: Guillem Jover <guillem@debian.org>
+Homepage: https://pci-ids.ucw.cz/
+Standards-Version: 4.6.2
+Rules-Requires-Root: no
+Build-Depends:
+ debhelper-compat (= 13),
+Vcs-Browser: https://git.hadrons.org/cgit/debian/pkgs/pci.ids.git
+Vcs-Git: https://git.hadrons.org/git/debian/pkgs/pci.ids.git
+
+Package: pci.ids
+Architecture: all
+Multi-Arch: foreign
+Depends:
+ ${misc:Depends},
+Breaks:
+ pciutils (<< 1:3.6.2-4~),
+Replaces:
+ pciutils (<< 1:3.6.2-4~),
+Description: PCI ID Repository
+ This package contains the pci.ids file, a public repository of all known
+ ID's used in PCI devices: ID's of vendors, devices, subsystems and device
+ classes. It is used in various programs to display full human-readable
+ names instead of cryptic numeric codes.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c687ab0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,57 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: pci-admins@ucw.cz
+
+Files:
+ *
+Copyright:
+ Copyright © 1997-2023 Martin Mareš
+ Copyright © 2015-2023 Albert Pool
+License: GPL-2+ or BSD-3-clause
+Comment:
+ This is a compilation of factual data, and as such the copyright only covers
+ the aggregation and formatting. The upstream project does not currently list
+ the copyright years, and those have been synthesized from yearly archive.org
+ snapshots of the website, which lists the maintainers.
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+Comment:
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in ‘/usr/share/common-licenses/GPL-2’.
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/pci.ids.install b/debian/pci.ids.install
new file mode 100644
index 0000000..3e006ee
--- /dev/null
+++ b/debian/pci.ids.install
@@ -0,0 +1 @@
+pci.ids usr/share/misc/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b7d020f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_test:
+ debian/tests/test-db-format pci.ids
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..613e9fa
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,4 @@
+# Upstream does not sign releases.
+pci.ids: debian-watch-does-not-check-openpgp-signature [debian/watch]
+# debhelper handles this automatically, false positive.
+pci.ids: override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS [debian/rules:*]
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..2ee676f
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Tests: test-db-format
diff --git a/debian/tests/test-db-format b/debian/tests/test-db-format
new file mode 100755
index 0000000..70b89e0
--- /dev/null
+++ b/debian/tests/test-db-format
@@ -0,0 +1,83 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+my ($SELF) = $0 =~ m{(?:.*/)?([^/]*)};
+my $DEBUG = defined $ENV{PCI_IDS_DEBUG};
+my $PCIIDS = $ARGV[0] // '/usr/share/misc/pci.ids';
+
+sub error
+{
+ my (@args) = @_;
+
+ die "$SELF: @args: FAIL\n";
+}
+
+sub debug
+{
+ my (@args) = @_;
+
+ print "@args\n" if $DEBUG;
+}
+
+sub check
+{
+ my $fh = shift;
+
+ my ($vendor, $device);
+ my ($class, $subclass);
+
+ while (<$fh>) {
+ next if m/^#/;
+ next if m/^\s*$/;
+
+ s/#.*$//;
+
+ if (m/^([0-9a-fA-F]{4}) (.*)$/) {
+ debug("Vendor ($1) ($2)");
+ $vendor = $1;
+ $device = undef;
+ $class = undef;
+ $subclass = undef;
+ } elsif (m/^\t([0-9a-fA-F]{4}) (.*)$/) {
+ if (not defined $vendor) {
+ error("Device defined not within a Vendor at line $.");
+ }
+ debug("Device ($1) ($2)");
+ $device = $1;
+ } elsif (m/^\t\t([0-9a-fA-F]{4}) ([0-9a-fA-F]{4}) (.*)$/) {
+ if (not defined $device) {
+ error("SubDevice defined not within a Device at line $.");
+ }
+ debug("SubVendor SubDevice ($1 $2) ($2)");
+ } elsif (m/^C ([0-9a-fA-F]{2}) (.*)$/) {
+ debug("Class ($1) ($2)");
+ $vendor = undef;
+ $device = undef;
+ $class = $1;
+ $subclass = undef;
+ } elsif (m/^\t([0-9a-fA-F]{2}) (.*)$/) {
+ if (not defined $class) {
+ error("SubClass defined not within a Class at line $.");
+ }
+ debug("SubClass ($1) ($2)");
+ $subclass = $1;
+ } elsif (m/^\t\t([0-9a-fA-F]{2}) (.*)$/) {
+ if (not defined $subclass) {
+ error("Programming Interface defined not within a SubClass at line $.");
+ }
+ debug("ProgIface ($1) ($2)");
+ } else {
+ error("Unknown entry in file at line $.");
+ }
+ }
+}
+
+open my $fh, '<', $PCIIDS or error("cannot open $PCIIDS database: $!");
+check($fh);
+close $fh;
+
+print "$SELF: format of $PCIIDS is ok: PASS\n";
+
+exit 0;
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..f1cf455
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Repository: https://github.com/pciutils/pciids.git
+Repository-Browse: https://github.com/pciutils/pciids
+Bug-Database: https://pci-ids.ucw.cz/
+Bug-Submit: https://pci-ids.ucw.cz/
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..808b457
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts="mode=git, pgpmode=none, date=%Y.%m.%d, pretty=0.0~%cd" \
+https://github.com/pciutils/pciids HEAD debian uupdate