forked from pool/ethtool
Compare commits
159 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2cfc0ddf41 | |||
| 3160efe7ee | |||
| 55064015f3 | |||
| 3b0e61e266 | |||
| 23ab215c0f | |||
| c537f39e08 | |||
| d1f72f375c | |||
| 549411622c | |||
| eafe99af0e | |||
| 74ef72f891 | |||
| 7fe0a556f5 | |||
| 017f8f203b | |||
| a5e741b98c | |||
| e54791c7e9 | |||
| d7423364b8 | |||
| 580ea79213 | |||
| 6aaf2f2faa | |||
| 4cc34e2a83 | |||
| 0768b84d25 | |||
| 7593a5365e | |||
| df1e993d5f | |||
| 76134cedf9 | |||
| 535784fdcf | |||
| dadc4a36e9 | |||
| ab7340776c | |||
| 6509a89257 | |||
| 5cc0813b70 | |||
| 56a3f4d885 | |||
| 6e9128451d | |||
| 93cdd89289 | |||
| f937ccaec7 | |||
| 73eb5c2737 | |||
| 8dd72593e1 | |||
| 3f90b9408d | |||
| 97ed4cb560 | |||
| abce135232 | |||
| 37a006f32e | |||
| 672e5d5d38 | |||
| 0c97bd3d61 | |||
| aa8f0d8ac1 | |||
| 2d6412d4a2 | |||
| f644aeefa9 | |||
| f21b752175 | |||
| 1fda5e053c | |||
| a57decd482 | |||
| 6e69742885 | |||
| 85a3ebe795 | |||
| b8dabe31e4 | |||
| 31e4724c01 | |||
| b63fcb12d6 | |||
| 1dab9fdf1c | |||
| 1bf2225f12 | |||
| 066f6c41e0 | |||
| f9d210e1ab | |||
| 318ebb77a0 | |||
| 8638bb85d4 | |||
| 7fbfad3245 | |||
| e494a5c1ca | |||
| c03953a30f | |||
| c048623ce3 | |||
| 6130e56826 | |||
| f00d1a6ec6 | |||
| 103a7f9462 | |||
| 1a9884c99c | |||
| bcf8aead18 | |||
| c05a32c8c2 | |||
| 270c9941fe | |||
| 36c1050592 | |||
| 9ba67a7fe7 | |||
| 5f0ce1f029 | |||
| bf27df0d2b | |||
| 171e95d6b0 | |||
| eab7b15d62 | |||
| ddcd42d8cc | |||
| 801482417d | |||
| 6a5e18b96a | |||
| 152195ac03 | |||
| 0ca92fa3d2 | |||
| 42d993a1a2 | |||
| 76942bc83b | |||
| 7f733e0e7e | |||
| 6977606d0a | |||
| 3fa0cc8c75 | |||
|
|
c91d696ac3 | ||
| 0a878cc742 | |||
| ce59419517 | |||
| e34a4d6214 | |||
| 746949d337 | |||
| b252e16f86 | |||
| e168fd7476 | |||
| 32ea807ca0 | |||
| 6c362400af | |||
| 75dd4917f8 | |||
| 1afc3eed59 | |||
| 778ccf3d71 | |||
| 03b5e9ad60 | |||
| 75e2b69077 | |||
| 7c2e51a6a5 | |||
|
|
4ba57e5535 | ||
| 4204b0f2e5 | |||
| 599fd0bd4f | |||
| 69a4c83480 | |||
|
|
7dced6f1bf | ||
| 2895150a30 | |||
| 21e9a94135 | |||
| 5ea2b047d7 | |||
|
|
2ef3e5e4c4 | ||
| ad20db3bef | |||
|
|
d606d04376 | ||
| 57d0c2d328 | |||
|
|
1aa3c65647 | ||
|
|
b0e8148a5c | ||
|
|
ec55176978 | ||
| fe7df59a98 | |||
|
|
fc53ec8c5f | ||
| 16918ad7ae | |||
|
|
41434aefdb | ||
| 0617376942 | |||
|
|
6ba8d5447f | ||
| 31653cb6a1 | |||
|
|
a477c607ef | ||
| d6fd6e703d | |||
|
|
fed9154a22 | ||
| 2bebab99ec | |||
|
|
1eb23ea99a | ||
| 99a1a26b1b | |||
|
|
70bbdcd336 | ||
| 79a6c79f43 | |||
|
|
d36d38fb33 | ||
|
|
954e85d73a | ||
|
|
a28a3b82d9 | ||
| f9f0416ff9 | |||
|
|
3abc3d5c68 | ||
|
|
e06bc6ea01 | ||
|
|
835c471217 | ||
|
|
0db58a93f3 | ||
|
|
d9914f7b94 | ||
|
|
524b41aae7 | ||
| 3cc3e43526 | |||
|
|
fdeb2eb514 | ||
|
|
7fdf4320d5 | ||
|
|
1d0e250e54 | ||
| 3a4bb6e45d | |||
|
|
576f826b99 | ||
| e081f7adee | |||
|
|
27c0262469 | ||
|
|
22f236d230 | ||
|
|
ee7f35f5b4 | ||
| f8ec2e0a56 | |||
| 62fc6ee457 | |||
|
|
b18e534bde | ||
|
|
e792e10779 | ||
|
|
fb18bb9a29 | ||
|
|
e7307cc626 | ||
|
|
71d38e9b10 | ||
|
|
29f7cd1cf3 | ||
|
|
6f1489d66a | ||
|
|
e9f7cc13ec | ||
|
|
773f94aeea |
12
apply-patches
Normal file
12
apply-patches
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Applying patches:"
|
||||
|
||||
while read p; do
|
||||
if patch -p1 -s --no-backup-if-mismatch --fuzz=0 <patches/"$p"; then
|
||||
echo -e "\t$p"
|
||||
else
|
||||
echo "*** Patch $p failed" >&2
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
@@ -1,11 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEyBAABCAAdFiEEWN3j3bieVmp26mKO538sG/LRdpUFAma2GCoACgkQ538sG/LR
|
||||
dpXgegf3doZtybUz7TMlIQYg3bOof1lqEvdzcN92AvVsTqCbE2evBG28BU8U1Hy9
|
||||
WbBl7c6OYoZ8Kt0+xct/lz9K/MPfZgKd2R0wkEuBF+34+QaSfcS+7UwKS9rL22NH
|
||||
qBGQXXy326d5TFvM/WjB46mMt6MwtyxrdPOKmaXriOJn2HA5tDOSHFp96ypIvpi4
|
||||
ZTnhkNyanmIIEx9ZVg94IqWCeSBFh1txcAIdZr/kGGzM+4CkL8XBLGX/rgxYlKxz
|
||||
91pYXXJLOpU+1Rm/Z2z0U3XlqMYHyjkSB1iFV1MLgXyYdBVyMOc01se/1KgWMEv/
|
||||
/ADD3PYuSJyfT9JJCw3kqIcdXFJ6
|
||||
=TTG4
|
||||
-----END PGP SIGNATURE-----
|
||||
BIN
ethtool-6.10.tar.xz
LFS
BIN
ethtool-6.10.tar.xz
LFS
Binary file not shown.
11
ethtool-6.14.tar.sign
Normal file
11
ethtool-6.14.tar.sign
Normal file
@@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCAAdFiEEWN3j3bieVmp26mKO538sG/LRdpUFAmf0NZIACgkQ538sG/LR
|
||||
dpW+6Qf8CF2OWQGtxZYCn2cTaO4bichYcqTKeBmVFXvQzjOnHguSz6s7Z9ieuq27
|
||||
yXtHM4odUw1kEbERt0t12cKLPn0UsSn4IDub1UAVCJq2X0qFnzVh8D9vqF2gFuxS
|
||||
ZCWU8H/MzcFzlIyuKutK3XV7PsnEjLdMdsY5Q+HxqCCefsQSJ4gm1D+07znssE3x
|
||||
pkQfReXCUz3BIDxzcg9Xkr18SePzvkg6UPyOMADtwsWsiHVLsEwMOkRnesFWPNdX
|
||||
uyzaJ9Koa8laTSZbWdogV5czIvAqBwf+7IMmeHBPFjLXH9fabwy/PKA6eTYUzUtJ
|
||||
0W3BylVCujdwJiTYf3bG57SWJRKQfQ==
|
||||
=dwt6
|
||||
-----END PGP SIGNATURE-----
|
||||
BIN
ethtool-6.14.tar.xz
LFS
Normal file
BIN
ethtool-6.14.tar.xz
LFS
Normal file
Binary file not shown.
@@ -1,11 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCAAdFiEEWN3j3bieVmp26mKO538sG/LRdpUFAmZPXdYACgkQ538sG/LR
|
||||
dpWdhQgAybmXZMcZGT6BwT/yqK5az+m0ZZuk1iWBenNOp2SV43JjVuSbrw0aEzOR
|
||||
28W/EcRYzuRS/X4S34goKJ69EApVYAChTyagK1aVyO8YqBnIZ5N7KY65y8hHAPV0
|
||||
Fgcuicoc0HOuInV6xtZvwI5/b7kuoaLuI0B73p3sSK7UNOHQ3EdxOmtFIUNJEWSU
|
||||
GFgOlMQAMmCU3nUMQylcEvEi4MbtRp6F6S+/9YeZWLD4FRZVCWcSbNAza4iedRto
|
||||
nbOe4d4QVvtzJNbUrz7XvT39bOdsHe0KPlj7a6/ASj5PNPIH6czzvXjUUaJccAus
|
||||
8LtApGg4dgSiqse9qdw2QuYzfu7WKw==
|
||||
=nYNK
|
||||
-----END PGP SIGNATURE-----
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a71b0354010661c5cf178bc606ed50fcb91805cf1897ad0eb2818387a5fd0cd9
|
||||
size 358640
|
||||
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 16 20:16:18 UTC 2025 - Michal Kubecek <mkubecek@suse.cz>
|
||||
|
||||
- fix AppStream metainfo XML file
|
||||
* misc-fix-AppStream-metainfo-XML.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 16 14:02:12 UTC 2025 - Michal Kubecek <mkubecek@suse.cz>
|
||||
|
||||
- update to upstream release 6.14 (jsc#PED-11353)
|
||||
Normally we want the ethtool package version to match kernel
|
||||
version but upstream skipped 6.12 and 6.13 versions so that
|
||||
version 6.14 is going to be used instead. For list of features
|
||||
and fixes between versions 6.10 and 6.14 see the NEWS file in the
|
||||
package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 16 13:22:43 UTC 2025 - Michal Kubecek <mkubecek@suse.cz>
|
||||
|
||||
- adapt package to git based patch tracking
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 9 13:27:19 UTC 2024 - Michal Kubecek <mkubecek@suse.cz>
|
||||
|
||||
|
||||
23
ethtool.spec
23
ethtool.spec
@@ -15,9 +15,14 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Contents of this package is exported from git repository; please submit
|
||||
# your changes via https://gitlab.suse.de/mkubecek/ethtool-source or
|
||||
# gitlab@gitlab.suse.de:mkubecek/ethtool-source.git rather than to IBS.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Name: ethtool
|
||||
Version: 6.10
|
||||
Version: 6.14
|
||||
Release: 0
|
||||
Summary: Utility for examining and tuning Ethernet-based network interfaces
|
||||
License: GPL-2.0-only
|
||||
@@ -28,9 +33,10 @@ URL: https://www.kernel.org/pub/software/network/ethtool/
|
||||
Source: https://www.kernel.org/pub/software/network/ethtool/%{name}-%{version}.tar.xz
|
||||
Source2: https://www.kernel.org/pub/software/network/ethtool/%{name}-%{version}.tar.sign
|
||||
Source3: %{name}.keyring
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
Source11: patches.tar.xz
|
||||
Source12: series.conf
|
||||
Source13: guards
|
||||
Source14: apply-patches
|
||||
BuildRequires: pkgconfig(libmnl)
|
||||
|
||||
%description
|
||||
@@ -53,7 +59,9 @@ BuildArch: noarch
|
||||
bash command line completion support for ethtool.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -a 11
|
||||
chmod a+rx %{SOURCE13} %{SOURCE14}
|
||||
%{SOURCE13} <%{SOURCE12} | %{SOURCE14} && rm -rf patches
|
||||
|
||||
%build
|
||||
export CFLAGS="%optflags -Wall -Wextra -Wstrict-prototypes -Wformat-security -Wpointer-arith"
|
||||
@@ -67,11 +75,8 @@ make install DESTDIR="%buildroot"
|
||||
%defattr(-,root,root)
|
||||
%{_sbindir}/ethtool
|
||||
%{_mandir}/man8/ethtool.8*
|
||||
%if (0%{?suse_version} >= 1500) || (0%{?sle_version} >= 120300)
|
||||
%{_datadir}/metainfo/org.kernel.software.network.ethtool.metainfo.xml
|
||||
%license COPYING
|
||||
%else
|
||||
%doc COPYING
|
||||
%endif
|
||||
%doc AUTHORS NEWS
|
||||
|
||||
%files bash-completion
|
||||
|
||||
313
guards
Normal file
313
guards
Normal file
@@ -0,0 +1,313 @@
|
||||
#!/usr/bin/perl -w
|
||||
#############################################################################
|
||||
# Copyright (c) 2003-2007,2009 Novell, Inc.
|
||||
# All Rights Reserved.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of version 2 of the GNU General Public License as
|
||||
# published by the Free Software Foundation.
|
||||
#
|
||||
# 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, contact Novell, Inc.
|
||||
#
|
||||
# To contact Novell about this file by physical or electronic mail,
|
||||
# you may find current contact information at www.novell.com
|
||||
#############################################################################
|
||||
#
|
||||
# Guards:
|
||||
#
|
||||
# +xxx include if xxx is defined
|
||||
# -xxx exclude if xxx is defined
|
||||
# +!xxx include if xxx is not defined
|
||||
# -!xxx exclude if xxx is not defined
|
||||
#
|
||||
|
||||
use FileHandle;
|
||||
use Getopt::Long;
|
||||
use strict;
|
||||
|
||||
# Prototypes
|
||||
sub files_in($$);
|
||||
sub parse($$);
|
||||
sub help();
|
||||
|
||||
sub slashme($) {
|
||||
my ($dir) = @_;
|
||||
$dir =~ s#([^/])$#$&/#; # append a slash if necessary
|
||||
if ($dir eq './') {
|
||||
return '';
|
||||
} else {
|
||||
return $dir;
|
||||
}
|
||||
}
|
||||
|
||||
# Generate a list of files in a directory
|
||||
#
|
||||
sub files_in($$) {
|
||||
my ($dir, $path) = @_;
|
||||
my $dh = new FileHandle;
|
||||
my (@files, $file);
|
||||
|
||||
# @<file> syntax
|
||||
if ($path =~ s/^@//) {
|
||||
my $fh;
|
||||
open($fh, '<', $path) or die "$path: $!\n";
|
||||
@files = <$fh>;
|
||||
close($fh);
|
||||
chomp(@files);
|
||||
s:^$dir:: for @files;
|
||||
return @files;
|
||||
}
|
||||
|
||||
$path = slashme($path);
|
||||
opendir $dh, length("$dir$path") ? "$dir$path" : '.'
|
||||
or die "$dir$path: $!\n";
|
||||
while ($file = readdir($dh)) {
|
||||
next if $file =~ /^(\.|\.\.|\.#.*|CVS|.*~)$/;
|
||||
if (-d "$dir$path$file") {
|
||||
@files = (@files, files_in($dir, "$path$file/"));
|
||||
} else {
|
||||
#print "[$path$file]\n";
|
||||
push @files, "$path$file";
|
||||
}
|
||||
}
|
||||
closedir $dh;
|
||||
return @files;
|
||||
}
|
||||
|
||||
# Parse a configuration file
|
||||
# Callback called with ($patch, @guards) arguments
|
||||
#
|
||||
sub parse($$) {
|
||||
my ($fh, $callback) = @_;
|
||||
|
||||
my $line = "";
|
||||
|
||||
while (<$fh>) {
|
||||
chomp;
|
||||
s/(^|\s+)#.*//;
|
||||
if (s/\\$/ /) {
|
||||
$line .= $_;
|
||||
next;
|
||||
}
|
||||
$line .= $_;
|
||||
my @guards = ();
|
||||
foreach my $token (split /[\s\t\n]+/, $line) {
|
||||
next if $token eq "";
|
||||
if ($token =~ /^[-+]/) {
|
||||
push @guards, $token;
|
||||
} else {
|
||||
#print "[" . join(",", @guards) . "] $token\n";
|
||||
&$callback($token, @guards);
|
||||
}
|
||||
}
|
||||
$line = "";
|
||||
}
|
||||
}
|
||||
|
||||
# Command line options
|
||||
#
|
||||
my ($dir, $config, $default, $check, $list, $invert_match, $with_guards) =
|
||||
( '', '-', 1, 0, 0, 0, 0);
|
||||
my @path;
|
||||
|
||||
# Help text
|
||||
#
|
||||
sub help() {
|
||||
print "$0 - select from a list of files guarded by conditions\n";
|
||||
print "SYNOPSIS: $0 [--prefix=dir] [--path=dir1:dir2:...]\n" .
|
||||
" [--default=0|1] [--check|--list] [--invert-match]\n" .
|
||||
" [--with-guards] [--config=file] symbol ...\n\n" .
|
||||
" Defaults: --default=$default\n" .
|
||||
" Use --path=\@<file> to read the list of entries from <file>\n";
|
||||
exit 0;
|
||||
}
|
||||
|
||||
# Parse command line options
|
||||
#
|
||||
Getopt::Long::Configure ("bundling");
|
||||
eval {
|
||||
unless (GetOptions (
|
||||
'd|prefix=s' => \$dir,
|
||||
'c|config=s' => \$config,
|
||||
'C|check' => \$check,
|
||||
'l|list' => \$list,
|
||||
'w|with-guards' => \$with_guards,
|
||||
'p|path=s' => \@path,
|
||||
'D|default=i' => \$default,
|
||||
'v|invert-match' => \$invert_match,
|
||||
'h|help' => sub { help(); exit 0; })) {
|
||||
help();
|
||||
exit 1;
|
||||
}
|
||||
};
|
||||
if ($@) {
|
||||
print "$@";
|
||||
help();
|
||||
exit 1;
|
||||
}
|
||||
|
||||
@path = ('.')
|
||||
unless (@path);
|
||||
@path = split(/:/, join(':', @path));
|
||||
|
||||
my $fh = ($config eq '-') ? \*STDIN : new FileHandle($config)
|
||||
or die "$config: $!\n";
|
||||
|
||||
$dir = slashme($dir);
|
||||
|
||||
if ($check) {
|
||||
# Check for duplicate files, or for files that are not referenced by
|
||||
# the specification.
|
||||
|
||||
my $problems = 0;
|
||||
my @files;
|
||||
|
||||
foreach (@path) {
|
||||
@files = (@files, files_in($dir, $_));
|
||||
}
|
||||
my %files = map { $_ => 0 } @files;
|
||||
|
||||
parse($fh, sub {
|
||||
my ($patch, @guards) = @_;
|
||||
if (exists $files{$patch}) {
|
||||
$files{$patch}++;
|
||||
} else {
|
||||
if ($config eq '-') {
|
||||
print "Not found: $dir$patch\n";
|
||||
} else {
|
||||
print "In $config but not found: $dir$patch\n";
|
||||
}
|
||||
$problems++;
|
||||
}});
|
||||
|
||||
$fh->close();
|
||||
|
||||
my ($file, $ref);
|
||||
while (($file, $ref) = each %files) {
|
||||
next if $ref == 1;
|
||||
|
||||
if ($ref == 0) {
|
||||
if ($config eq '-') {
|
||||
print "Unused: $file\n";
|
||||
} else {
|
||||
print "Not in $config: $file\n";
|
||||
}
|
||||
$problems++;
|
||||
}
|
||||
if ($ref > 1) {
|
||||
print "Warning: multiple uses";
|
||||
print " in $config" if $config ne '-';
|
||||
print ": $file\n";
|
||||
# This is not an error if the entries are mutually exclusive...
|
||||
}
|
||||
}
|
||||
exit $problems ? 1 : 0;
|
||||
|
||||
} elsif ($list) {
|
||||
parse($fh, sub {
|
||||
my ($patch, @guards) = @_;
|
||||
print join(' ', @guards), ' '
|
||||
if (@guards && $with_guards);
|
||||
print "$dir$patch\n";
|
||||
});
|
||||
} else {
|
||||
# Generate a list of patches to apply.
|
||||
|
||||
my %symbols = map { $_ => 1 } @ARGV;
|
||||
|
||||
parse($fh, sub {
|
||||
my ($patch, @guards) = @_;
|
||||
|
||||
my $selected;
|
||||
if (@guards) {
|
||||
# If the first guard is -xxx, the patch is included by default;
|
||||
# if it is +xxx, the patch is excluded by default.
|
||||
$selected = ($guards[0] =~ /^-/);
|
||||
|
||||
foreach (@guards) {
|
||||
/^([-+])(!?)(.*)?/
|
||||
or die "Bad guard '$_'\n";
|
||||
|
||||
# Check if the guard matches
|
||||
if (($2 eq '!' && !exists $symbols{$3}) ||
|
||||
($2 eq '' && ( $3 eq '' || exists $symbols{$3}))) {
|
||||
# Include or exclude
|
||||
$selected = ($1 eq '+');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
# If there are no guards, use the specified default result.
|
||||
$selected = $default;
|
||||
}
|
||||
|
||||
print "$dir$patch\n"
|
||||
if $selected ^ $invert_match;
|
||||
});
|
||||
|
||||
$fh->close();
|
||||
|
||||
exit 0;
|
||||
}
|
||||
|
||||
__END__
|
||||
|
||||
=head1 NAME
|
||||
|
||||
guards - select from a list of files guarded by conditions
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
F<guards> [--prefix=F<dir>] [--path=F<dir1:dir2:...>] [--default=<0|1>]
|
||||
[--check|--list] [--invert-match] [--with-guards] [--config=<file>]
|
||||
I<symbol> ...
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
The script reads a configuration file that may contain so-called guards, file
|
||||
names, and comments, and writes those file names that satisfy all guards to
|
||||
standard output. The script takes a list of symbols as its arguments. Each line
|
||||
in the configuration file is processed separately. Lines may start with a
|
||||
number of guards. The following guards are defined:
|
||||
|
||||
=over
|
||||
|
||||
+I<xxx> Include the file(s) on this line if the symbol I<xxx> is defined.
|
||||
|
||||
-I<xxx> Exclude the file(s) on this line if the symbol I<xxx> is defined.
|
||||
|
||||
+!I<xxx> Include the file(s) on this line if the symbol I<xxx> is not defined.
|
||||
|
||||
-!I<xxx> Exclude the file(s) on this line if the symbol I<xxx> is not defined.
|
||||
|
||||
- Exclude this file. Used to avoid spurious I<--check> messages.
|
||||
|
||||
=back
|
||||
|
||||
The guards are processed left to right. The last guard that matches determines
|
||||
if the file is included. If no guard is specified, the I<--default>
|
||||
setting determines if the file is included.
|
||||
|
||||
If no configuration file is specified, the script reads from standard input.
|
||||
|
||||
The I<--check> option is used to compare the specification file against the
|
||||
file system. If files are referenced in the specification that do not exist, or
|
||||
if files are not enlisted in the specification file warnings are printed. The
|
||||
I<--path> option can be used to specify which directory or directories to scan.
|
||||
Multiple directories are separated by a colon (C<:>) character. The
|
||||
I<--prefix> option specifies the location of the files. Alternatively, the
|
||||
I<--path=@E<lt>fileE<gt>> syntax can be used to specify a file from which the
|
||||
file names will be read.
|
||||
|
||||
Use I<--list> to list all files independent of any rules. Use I<--invert-match>
|
||||
to list only the excluded patches. Use I<--with-guards> to also include all
|
||||
inclusion and exclusion rules.
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Andreas Gruenbacher <agruen@suse.de>, SUSE Labs
|
||||
BIN
patches.tar.xz
LFS
Normal file
BIN
patches.tar.xz
LFS
Normal file
Binary file not shown.
4
series.conf
Normal file
4
series.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
# generated by scripts/import-patches
|
||||
|
||||
# out of tree patches
|
||||
misc-fix-AppStream-metainfo-XML.patch
|
||||
Reference in New Issue
Block a user