This file is indexed.

/usr/share/perl5/Config/Model/models/Dpkg/Patch.pod is in libconfig-model-dpkg-perl 2.076.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
# PODNAME: Config::Model::models::Dpkg::Patch
# ABSTRACT:  Configuration class Dpkg::Patch
=head1 NAME

Config::Model::models::Dpkg::Patch - Configuration class Dpkg::Patch

=head1 DESCRIPTION

Configuration classes used by L<Config::Model>

=head1 Elements

=head2 Synopsis - short description of the patch

This line is stored in the first line of DEP-3 description
field. I<< Optional. Type uniline.  >> 

=head2 Description

verbose explanation of the patch and its history.I<< Optional. Type string.  >> 

=head2 Subject

I<< Optional. Type string.  >> 

=head2 Bug - URL for related upstream bug(s)

This field contains one URL pointing to the related bug (possibly fixed by the patch). The Bug field is reserved for the bug URL in the upstream bug tracker. Those fields can be used multiple times if several bugs are concerned.

The vendor name is explicitly encoded in the field name so that vendors can share patches among them without having to update the meta-information in most cases. The upstream bug URL is special cased because it's the central point of cooperation and it must be easily distinguishable among all the bug URLs.

To get a vendor bug (like Bug-Foo) in the graphical editor, right-click on the patch name, enter "C<Bug-Foo>" (or any other value) in the "C<accept:>" entry and hit "Return". A new element will be created that
you can fill like the C<Bug> field.I<< Optional. Type list of uniline.  >> 

=head2 Bug-Debian - URL for related bug in Debian BTS

This field contains one URL pointing to the related bug (possibly fixed by the patch). The Bug-Debian field is reserved for the bug URL in Debian BTS. Those fields can be used multiple times if several bugs are concerned.I<< Optional. Type list of uniline.  >> 

=head2 Forwarded

Any value other than "no" or "not-needed" means that the patch has been forwarded upstream. Ideally the value is an URL proving that it has been forwarded and where one can find more information about its inclusion status.

If the field is missing, its implicit value is "yes" if the "Bug" field is present, otherwise it's "no". The field is really required only if the patch is vendor specific, in that case its value should be "not-needed" to indicate that the patch must not be forwarded upstream (whereas "no" simply means that it has not yet been done).

I<< Optional. Type uniline.  >> 

=head2 Author

This field can be used to record the name and email of the patch author (ex: "John Bear <foo@example.com>"). Its usage is recommended when the patch author did not add copyright notices for his work in the patch itself. It's also a good idea to add this contact information when the patch needs to be maintained over time because it has very little chance of being integrated upstream. This field can be used multiple times if several people authored the patch.I<< Optional. Type list of uniline.  >> 

=head2 Origin

This field should document the origin of the patch. In most cases, it should be a simple URL. For patches backported/taken from upstream, it should point into the upstream VCS web interface when possible, otherwise it can simply list the relevant commit identifier (it should be prefixed with "commit:" in that case). For other cases, one should simply indicate the URL where the patch was taken from (mailing list archives, distribution bugtrackers, etc.) when possible.

The field can be optionally prefixed with a single keyword followed by a comma and a space to categorize the origin. The allowed keywords are "upstream" (in the case of a patch cherry-picked from the upstream VCS), "backport" (in the case of an upstream patch that had to be modified to apply on the current version), "vendor" for a patch created by Debian or another distribution vendor, or "other" for all other kind of patches.

In general, a user-created patch grabbed in a BTS should be categorized as "other". When copying a patch from another vendor, the meta-information (and hence this field) should be kept if present, or created if necessary with a "vendor" origin.

If the Author field is present, the Origin field can be omitted and it's assumed that the patch comes from its author.I<< Optional. Type string.  >> 

=head2 From

Like Author field, this field can be used to record the name and email of the patch author (ex: "John Bear <foo@example.com>"). Its usage is recommended when the patch author did not add copyright notices for his work in the patch itself. It's also a good idea to add this contact information when the patch needs to be maintained over time because it has very little chance of being integrated upstream. This field can be used multiple times if several people authored the patch.I<< Optional. Type list of uniline.  >> 

=head2 Reviewed-by

This field can be used to document the fact that the patch has been reviewed and approved by someone. It should list her name and email in the standard format (similar to the example given for the Author field). This field can be used multiple times if several people reviewed the patch.

I<< Optional. Type list of uniline.  >> 

=head2 Acked-by

Synonym to Reviewd-by. This field can be used to document the fact that the patch has been reviewed and approved by someone. It should list her name and email in the standard format (similar to the example given for the Author field). This field can be used multiple times if several people reviewed the patch.

I<< Optional. Type list of uniline.  >> 

=head2 Last-Update

This field can be used to record the date when the meta-information was last updated. It should use the ISO date format YYYY-MM-DD.I<< Optional. Type uniline.  >> 

=head2 Applied-Upstream

This field can be used to document the fact that the patch has been applied upstream. It may contain the upstream version expected to contain this patch, or the URL or commit identifier of the upstream commit (with commit identifiers prefixed with "commit:", as in the Origin field), or both separated by a comma and a space.I<< Optional. Type uniline.  >> 

=head2 diff - actual patch

This element contains the diff that will be used to patch the source. Do not modify unless you really know
what you're doing.I<< Optional. Type string.  >> 

=head1 SEE ALSO

=over

=item *

L<cme>

=back

=cut