Mailinglist Archive: opensuse-commit (849 mails)

< Previous Next >
commit pciutils-ids for openSUSE:11.4

Hello community,

here is the log from the commit of package pciutils-ids for openSUSE:11.4
checked in at Tue Mar 1 12:53:16 CET 2011.



--------
New Changes file:

--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/11.4/pciutils-ids/pciutils-ids.changes
2011-02-06 03:40:09.000000000 +0100
@@ -0,0 +1,415 @@
+-------------------------------------------------------------------
+Sun Feb 6 03:40:08 CET 2011 - autobuild@xxxxxxx
+
+- automated update on 2011-02-06
+
+-------------------------------------------------------------------
+Fri Mar 12 08:41:15 UTC 2010 - mvyskocil@xxxxxxx
+
+- update pci.ids (FATE#307134, bnc#560003)
+
+-------------------------------------------------------------------
+Tue Dec 15 01:46:15 CET 2009 - jengelh@xxxxxxxxxx
+
+- add empty %build section as suggested by rpmlint/post-build-checks
+
+-------------------------------------------------------------------
+Thu Nov 13 16:09:14 CET 2008 - anicka@xxxxxxx
+
+- update pci.ids (bnc#443863)
+
+-------------------------------------------------------------------
+Fri Oct 10 08:27:55 CEST 2008 - anicka@xxxxxxx
+
+- update pci.ids (bnc#427939)
+
+-------------------------------------------------------------------
+Wed Apr 9 15:34:30 CEST 2008 - anicka@xxxxxxx
+
+- update pci.ids
+
+-------------------------------------------------------------------
+Mon Feb 11 12:02:17 CET 2008 - rguenther@xxxxxxx
+
+- pre-require /usr/bin/perl, not perl, to make perl-base sufficient
+
+-------------------------------------------------------------------
+Tue Jan 15 13:33:55 CET 2008 - coolo@xxxxxxx
+
+- correctly prereq coreutils for the merge script
+
+-------------------------------------------------------------------
+Tue Jul 3 08:32:54 CEST 2007 - anicka@xxxxxxx
+
+- update pci.ids
+
+-------------------------------------------------------------------
+Fri May 4 20:59:03 CEST 2007 - anicka@xxxxxxx
+
+- update to fresh pci.ids
+- remove testsuite (we have testsuite 346856 now)
+
+-------------------------------------------------------------------
+Tue Feb 13 13:26:23 CET 2007 - anicka@xxxxxxx
+
+- remove tmp files created by merge-script [#244922]
+
+-------------------------------------------------------------------
+Mon Jan 29 13:37:34 CET 2007 - anicka@xxxxxxx
+
+- switch to upstream supplied merge tool [bug 221276]
+- rewrite testsuite (format of old testcases was wrong)
+
+-------------------------------------------------------------------
+Sat Jan 20 02:15:23 CET 2007 - garloff@xxxxxxx
+
+- Move pci.ids to pci.ids.d/pci.ids.dist and include merge tool
+ [FATE 301145, bug 221276].
+- Include test case, but leave disabled for now to avoid build dep
+ on python.
+- Update pci.ids.
+
+-------------------------------------------------------------------
+Mon Oct 23 16:52:57 CEST 2006 - mjancar@xxxxxxx
+
+- change to noarch
+
+-------------------------------------------------------------------
+Mon Oct 16 00:06:06 CEST 2006 - schwab@xxxxxxx
+
+- Remove unused devel subpackage.
+
+-------------------------------------------------------------------
+Thu Oct 12 19:17:21 CEST 2006 - mjancar@xxxxxxx
+
+- branch from pciutils
+
+-------------------------------------------------------------------
+Mon May 22 21:44:38 CEST 2006 - schwab@xxxxxxx
+
+- Don't strip binaries.
+
+-------------------------------------------------------------------
+Wed Mar 22 18:53:40 CET 2006 - kukuk@xxxxxxx
+
+- Remove pciids-suse patch (has to be fixed upstream)
+
+-------------------------------------------------------------------
+Wed Mar 22 15:55:54 CET 2006 - kukuk@xxxxxxx
+
+- Auto-Update pci.ids
+
+-------------------------------------------------------------------
+Wed Jan 25 21:39:18 CET 2006 - mls@xxxxxxx
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Fri Jan 20 17:31:27 CET 2006 - mjancar@xxxxxxx
+
+- update pci.ids (#144200)
+
+-------------------------------------------------------------------
+Fri Jan 13 18:55:11 CET 2006 - mjancar@xxxxxxx
+
+- reintroduce "Class" printed in numeric output (#143042)
+
+-------------------------------------------------------------------
+Mon Dec 19 16:07:09 CET 2005 - mjancar@xxxxxxx
+
+- update to 2.2.1
+
+-------------------------------------------------------------------
+Fri Aug 26 14:45:58 CEST 2005 - mjancar@xxxxxxx
+
+- add types.h to pciutils-devel (#113294)
+
+-------------------------------------------------------------------
+Wed Aug 24 17:06:55 CEST 2005 - mjancar@xxxxxxx
+
+- update to 2.1.99-test9 (#98896)
+- update pci.ids (#104381)
+
+-------------------------------------------------------------------
+Mon Mar 14 19:30:46 CET 2005 - mjancar@xxxxxxx
+
+- fix non-ascii characters in pci.ids (#72345)
+
+-------------------------------------------------------------------
+Sat Mar 5 15:59:31 CET 2005 - schwab@xxxxxxx
+
+- Fix syntax error in pci.ids.
+
+-------------------------------------------------------------------
+Tue Feb 22 16:49:29 CET 2005 - mjancar@xxxxxxx
+
+- fix sysfs parsing (#63326)
+- update pci.ids
+
+-------------------------------------------------------------------
+Fri Sep 17 13:58:38 CEST 2004 - tcrhak@xxxxxxx
+
+- updated pci.ids to the latest snapshot (fixes bug #45370)
+
+-------------------------------------------------------------------
+Thu May 27 17:29:03 CEST 2004 - tcrhak@xxxxxxx
+
+- changed "SGI IO9/IO10 Gigabit Ethernet (Copper)"
+ to "SGI IO9/IO10 Gigabit Ethernet (Copper)" (bug #40175)
+
+-------------------------------------------------------------------
+Wed Apr 28 18:39:22 CEST 2004 - tcrhak@xxxxxxx
+
+- updated pci.ids
+
+-------------------------------------------------------------------
+Thu Mar 04 16:42:41 CET 2004 - tcrhak@xxxxxxx
+
+- some pci.ids fixes:
+ * changed SubDevice of Dell Inspiron 2100 internal modem (bug #32842)
+ * added 1291 - Auxiliary Diva Serial Port (bug #31984)
+ * added PCI IDs for InfiniBand HCAs (bug #34928)
+
+-------------------------------------------------------------------
+Tue Feb 24 15:21:39 CET 2004 - tcrhak@xxxxxxx
+
+- added support for domains to device filter (lspci -s, setpci -s)
+ (fixes bug #33382, patch sysfs-filter)
+- updated pci.ids
+
+-------------------------------------------------------------------
+Sat Nov 29 22:04:02 CET 2003 - olh@xxxxxxx
+
+- use default owner for pciutils-devel files
+
+-------------------------------------------------------------------
+Wed Nov 5 23:42:49 CET 2003 - olh@xxxxxxx
+
+- remove pcimodules again, it doesnt do anything right
+
+-------------------------------------------------------------------
+Tue Oct 28 15:38:02 CET 2003 - olh@xxxxxxx
+
+- add patch for 2.6 /proc/bus/pci layout
+ http://ftp.linux.org.uk/pub/linux/willy/patches/pciutils-sysfs.diff
+
+-------------------------------------------------------------------
+Wed Oct 08 17:17:01 CEST 2003 - tcrhak@xxxxxxx
++++ 218 more lines (skipped)
++++ between /dev/null
++++ and /mounts/work_src_done/11.4/pciutils-ids/pciutils-ids.changes

calling whatdependson for 11.4-i586


New:
----
get_version_number.sh
merge-pciids
merge-pciids.pl
pci.ids.bz2
pciutils-ids.changes
pciutils-ids.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pciutils-ids.spec ++++++
#
# spec file for package pciutils-ids
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name: pciutils-ids
Version: 2011.2.6
Release: 3.<RELEASE2>
AutoReqProv: on
Group: Hardware/Other
License: GPLv2+
Summary: PCI-utilities pci.ids database
Url: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
Source: http://pciids.sourceforge.net/pci.ids.bz2
Source2: merge-pciids
Source4: merge-pciids.pl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
PreReq: /usr/bin/perl coreutils

%description
The database of PCI IDS for pciutils.

merge-pciids: This program merges several pci.ids files.



Authors:
--------
Martin Mares <mj@xxxxxx>

%prep
bzcat %{S:0} >pci.ids.dist

%build

%install
install -d -m755 $RPM_BUILD_ROOT%{_datadir}/pci.ids.d
install -m644 pci.ids.dist $RPM_BUILD_ROOT%{_datadir}/pci.ids.d/
install -d -m755 $RPM_BUILD_ROOT/usr/bin
install -m755 %{SOURCE4} $RPM_BUILD_ROOT/usr/bin/
install -m755 %{SOURCE2} $RPM_BUILD_ROOT/usr/bin/
install -m644 /dev/null $RPM_BUILD_ROOT%{_datadir}/pci.ids

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%dir %{_datadir}/pci.ids.d
%{_datadir}/pci.ids.d/pci.ids.dist
/usr/bin/merge-pciids
/usr/bin/merge-pciids.pl
%ghost %{_datadir}/pci.ids

%post
if [ -x /usr/bin/merge-pciids -a -x /usr/bin/perl ]; then
/usr/bin/merge-pciids
else
# This should only happen in autobuild
echo "WARNING: merge-pciids or perl not found"
cp -p %{_datadir}/pci.ids.d/pci.ids.dist %{_datadir}/pci.ids
fi

%changelog
++++++ get_version_number.sh ++++++
get_date_version_string `find_newest_file *.bz2 *.spec`
++++++ merge-pciids ++++++
#!/bin/bash

# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Anna Bernathova <anicka@xxxxxxxxxx> 2007

# Wrapper for calling merge-pciids.pl

IDSD_PATH="/usr/share/pci.ids.d"
MASTER_IDS="/usr/share/pci.ids.d/pci.ids.dist"
UPSTREAM_MERGE_SCRIPT="/usr/bin/merge-pciids.pl"
PCI_IDS="/usr/share/pci.ids"

if [ ! -f $MASTER_IDS ]; then
echo "ERROR: $MASTER_IDS not found, giving up" >&2
exit 1
fi
tmpfile=`mktemp /tmp/pci.ids.XXXXXXXX` || exit 1

$UPSTREAM_MERGE_SCRIPT $IDSD_PATH/* > $tmpfile

if [ $? -eq 0 ]; then
cp $tmpfile $PCI_IDS
else
cp $MASTER_IDS $PCI_IDS
echo "WARNING: Merge not successfull, using master pci.ids file" >&2
fi
rm $tmpfile
chmod 644 $PCI_IDS

exit 0
++++++ merge-pciids.pl ++++++
#!/usr/bin/perl -w
# Merge several PCI ID lists to a single one. This script tries to be as
agnostic
# of the details of the ID list as possible, so it should not break with future
# changes of the ID list format as long as they follow the same block structure.
# Greetings to Kurt Garloff who needed 300+ lines of code to give a wrong
# solution of the same problem.
#
# (c) 2007 Martin Mares <mj@xxxxxx>, GPLv2

use strict;

my %ids = ();
my %comments = ();
foreach our $file (@ARGV) {
my $fn = ($file =~ /\.gz$/) ? "zcat $file |" : ($file =~ /\.bz2$/) ?
"bzcat $file |" : $file;
open F, $fn or die "Unable to open $file: $!";
my @id = ();
my $comm = "";
sub err($) {
print STDERR "Error in $file, line $.: @_\n";
exit 1;
}
while (<F>) {
if (/^(#.*)/) {
$comm .= $_;
next;
}
chomp;
if (my ($indent, $id, $ignored, $name) = /^(\t*)(([0-9a-fA-Z]+
?)*)(( |\t|$)\s*(.*))$/) {
my $depth = length $indent;
$depth <= @id or err "Mismatched indentation";
@id = (@id[0..$depth-1], $id);
my $i = join(":", @id);
my $j = ($i =~ /[A-Z] /) ? "~$i" : $i; # We
want to sort special entries last
if (exists $ids{$j} && $ids{$j} ne $name) {
print STDERR "Warning: ID $i has two different
definitions, using the one from $file\n";
}
$ids{$j} = $name;
$comments{$j} = $comm if $comm;
} elsif (!/^$/) {
err "Parse error";
}
$comm = "";
}
close F;
}

print "# This file has been merged automatically from the following
files:\n#\t", join("\n#\t", @ARGV), "\n\n";
foreach my $id (sort keys %ids) {
my ($i, $j) = ($id, $id);
$i =~ s/[^:]//g;
$i =~ tr/:/\t/;
$j =~ s/.*://g;
$j =~ s/^~//;
print $comments{$id} if $comments{$id};
print "$i$j$ids{$id}\n";
}

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages