148 lines
4.5 KiB
HTML
148 lines
4.5 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of dpkg-scansources</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>dpkg-scansources</H1>
|
|
Section: dpkg suite (1)<BR>Updated: 2020-03-23<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
dpkg-scansources - create Sources index files
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>dpkg-scansources</B>
|
|
|
|
[<I>option</I>...] <I>binary-dir</I>
|
|
|
|
[<I>override-file</I>
|
|
|
|
[<I>path-prefix</I>]]
|
|
|
|
<B>></B>
|
|
|
|
<I>Sources</I>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>dpkg-scansources</B> scans the given <I>binary-dir</I> for <I>.dsc</I> files.
|
|
These are used to create a Debian source index, which is output to
|
|
stdout.
|
|
<P>
|
|
|
|
The <I>override-file</I>, if given, is used to set priorities in the resulting
|
|
index records and to override the maintainer field given in the <I>.dsc</I>
|
|
files.
|
|
The file can be compressed (since dpkg 1.15.5).
|
|
See
|
|
<B><A HREF="/cgi-bin/man/man2html?5+deb-override">deb-override</A></B>(5)
|
|
|
|
for the format of this file. Note: Since
|
|
the override file is indexed by binary, not source packages, there's a bit
|
|
of a problem here. The current implementation uses the highest priority of
|
|
all the binary packages produced by a <I>.dsc</I> file for the priority of the
|
|
source package, and the override entry for the first binary package listed
|
|
in the <I>.dsc</I> file to modify maintainer information. This might change.
|
|
<P>
|
|
|
|
The <I>path-prefix</I>, if given, is prepended to the directory field in the
|
|
generated source index. You generally use this to make the directory
|
|
fields contain the path from the top of the Debian archive hierarchy.
|
|
<P>
|
|
|
|
<B>Note:</B>
|
|
|
|
If you want to access the generated Sources file with
|
|
<B><A HREF="/cgi-bin/man/man2html?8+apt">apt</A></B>(8)
|
|
|
|
you will probably need to compress the file with
|
|
<B><A HREF="/cgi-bin/man/man2html?1+gzip">gzip</A></B>(1)
|
|
|
|
(generating a Sources.gz file). apt ignores uncompressed Sources files
|
|
except on local access (i.e.
|
|
<B>file://</B>
|
|
|
|
sources).
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-n</B>, <B>--no-sort</B><DD>
|
|
Don't sort the index records. Normally they are sorted by source package
|
|
name.
|
|
<DT id="2"><DT><B>-e</B>, <B>--extra-override</B> <I>file</I><DD>
|
|
<DD>
|
|
Scan <I>file</I> to find supplementary overrides (since dpkg 1.15.4;
|
|
the file can be compressed since dpkg 1.15.5).
|
|
See
|
|
<B><A HREF="/cgi-bin/man/man2html?5+deb-extra-override">deb-extra-override</A></B>(5)
|
|
|
|
for more information on its format.
|
|
<DT id="3"><B>-s</B>, <B>--source-override</B> <I>file</I><DD>
|
|
Use <I>file</I> as the source override file (the file can be compressed
|
|
since dpkg 1.15.5).
|
|
The default is the name of the override file you specified with <I>.src</I>
|
|
appended.
|
|
<P>
|
|
The source override file is in a different format from the binary override
|
|
file. It contains only two whitespace separated fields, the first is the
|
|
source package name and the second is the section. Blank lines and comment
|
|
lines are ignored in the normal manner. If a package appears in both files
|
|
the source override takes precedence for setting the section.
|
|
<DT id="4"><B>--debug</B><DD>
|
|
Turn debugging on.
|
|
<DT id="5"><B>--help</B><DD>
|
|
Show the usage message and exit.
|
|
<DT id="6"><B>--version</B><DD>
|
|
Show the version and exit.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>ENVIRONMENT</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="7"><B>DPKG_COLORS</B>
|
|
|
|
<DD>
|
|
Sets the color mode (since dpkg 1.18.5).
|
|
The currently accepted values are: <B>auto</B> (default), <B>always</B> and
|
|
<B>never</B>.
|
|
<DT id="8"><B>DPKG_NLS</B>
|
|
|
|
<DD>
|
|
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</B> and <B>1</B> (default).
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+deb-override">deb-override</A></B>(5),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+deb-extra-override">deb-extra-override</A></B>(5),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+dpkg-scanpackages">dpkg-scanpackages</A></B>(1).
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="12"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="13"><A HREF="#lbAF">ENVIRONMENT</A><DD>
|
|
<DT id="14"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:11 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|