summaryrefslogtreecommitdiffstats
path: root/man/dpkg-vendor.pod
blob: 4eecfe64713bc7b67dc7727e9772db4c9f4f7fbe (plain)
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
# dpkg manual page - dpkg-vendor(1)
#
# Copyright © 2009 Raphaël Hertzog <hertzog@debian.org>
#
# This 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 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/>.

=encoding utf8

=head1 NAME

dpkg-vendor - queries information about distribution vendors

=head1 SYNOPSIS

B<dpkg-vendor>
[I<option>...] I<command>

=head1 DESCRIPTION

B<dpkg-vendor> is a tool to query information about vendors listed in
B<%PKGCONFDIR%/origins>.
B<%PKGCONFDIR%/origins/default> contains
information about the current vendor.

This program was introduced in dpkg 1.15.1.

=head1 COMMANDS

=over

=item B<--is> I<vendor>

Exits with B<0> if the current vendor is I<vendor>.
Otherwise exits
with B<1>.

=item B<--derives-from> I<vendor>

Exits with B<0> if the current vendor distribution is a derivative of
I<vendor>, otherwise exits with B<1>.
It uses the B<Parent> field to browse all ancestors of the current vendor.

=item B<--query> I<field>

Print on standard output the value of the vendor-specific I<field> for
the current vendor.

=item B<--help>

Show the usage message and exit.

=item B<--version>

Show the version and exit.

=back

=head1 OPTIONS

=over

=item B<--vendor> I<vendor>

Assumes the current vendor is I<vendor> instead of discovering it
with the B<DEB_VENDOR> environment variable or
B<%PKGCONFDIR%/origins/default>.

=back

=head1 ENVIRONMENT

=over

=item B<DEB_VENDOR>

This setting defines the current vendor.
If not set, it will discover the
current vendor by reading B<%PKGCONFDIR%/origins/default>.

=item B<DPKG_COLORS>

Sets the color mode (since dpkg 1.18.5).
The currently accepted values are: B<auto> (default), B<always> and
B<never>.

=item B<DPKG_NLS>

If set, it will be used to decide whether to activate Native Language Support,
also known as internationalization (or i18n) support (since dpkg 1.19.0).
The accepted values are: B<0> and B<1> (default).

=back

=head1 SEE ALSO

L<deb-origin(5)>.