/usr/share/perl5/Config/Model/models/Dpkg/Patch.pl is in libconfig-model-dpkg-perl 2.044.
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 101 102 103 104 105 106 107 108 109 110 111 | [
{
'accept' => [
'Bug-.*',
{
'accept_after' => 'Bug',
'cargo' => {
'type' => 'leaf',
'value_type' => 'uniline'
},
'type' => 'list'
}
],
'element' => [
'Synopsis',
{
'summary' => 'short description of the patch',
'type' => 'leaf',
'value_type' => 'uniline',
'warn_if_match' => {
'.{60,}' => {
'msg' => 'Synopsis is too long. '
}
},
'warn_unless' => {
'empty' => {
'code' => 'defined $_ && /\\w/ ? 1 : 0 ;',
'fix' => '$_ = ucfirst( $self->parent->index_value ) ;
s/-/ /g;
',
'msg' => 'Empty synopsis'
}
}
},
'Description',
{
'description' => 'verbose explanation of the patch and its history.',
'type' => 'leaf',
'value_type' => 'string'
},
'Subject',
{
'type' => 'leaf',
'value_type' => 'string'
},
'Bug',
{
'cargo' => {
'type' => 'leaf',
'value_type' => 'uniline'
},
'type' => 'list'
},
'Forwarded',
{
'type' => 'leaf',
'value_type' => 'uniline'
},
'Author',
{
'type' => 'leaf',
'value_type' => 'uniline'
},
'Origin',
{
'type' => 'leaf',
'value_type' => 'string'
},
'From',
{
'type' => 'leaf',
'value_type' => 'uniline'
},
'Reviewed-by',
{
'type' => 'leaf',
'value_type' => 'uniline'
},
'Acked-by',
{
'type' => 'leaf',
'value_type' => 'uniline'
},
'Last-Update',
{
'type' => 'leaf',
'value_type' => 'uniline'
},
'Applied-Upstream',
{
'type' => 'leaf',
'value_type' => 'uniline'
},
'diff',
{
'description' => 'This element contains the diff that will be used to patch the source. Do not modify.',
'summary' => 'actual patch',
'type' => 'leaf',
'value_type' => 'string'
}
],
'name' => 'Dpkg::Patch',
'read_config' => [
{
'backend' => 'Dpkg::Patch',
'config_dir' => 'debian/patches'
}
]
}
]
;
|