| 1 |
=head1 NAME |
| 2 |
|
| 3 |
botch-add-arch - add architecture to source packages |
| 4 |
|
| 5 |
=head1 SYNOPSIS |
| 6 |
|
| 7 |
=over |
| 8 |
|
| 9 |
=item B<botch-add-arch> [-h] [-v] I<toarch> I<inSources> I<outSources> |
| 10 |
|
| 11 |
=back |
| 12 |
|
| 13 |
=head1 DESCRIPTION |
| 14 |
|
| 15 |
Add architecture I<toarch> to the C<Architecture> field of all source packages |
| 16 |
in I<inSources> which have an C<Architecture> field that does not match |
| 17 |
I<toarch> yet. The system's C<dpkg-architecture> program is used to determine |
| 18 |
whether any architecture of the source packages' C<Architecture> field matches |
| 19 |
I<toarch>. |
| 20 |
|
| 21 |
The files I<inSources> and I<outSources> are control files given in deb822 |
| 22 |
format like the ones found on archive mirrors and locally under |
| 23 |
F</var/lib/apt/lists>. |
| 24 |
|
| 25 |
I<inSources> and I<outSources> can point to the same file name for in-place |
| 26 |
operation. Compressed I<inSources> files are decompressed on the fly |
| 27 |
independent of their filename extension. The output will be compressed as |
| 28 |
determined by the filename extension of I<outSources>. |
| 29 |
|
| 30 |
If I<inSources> is equal to a single hyphen-minus (-) then its content will be |
| 31 |
read from standard input. If I<outSources> is equal to a single hyphen-minus |
| 32 |
(-) then the output will be written to standard output. |
| 33 |
|
| 34 |
=head1 OPTIONS |
| 35 |
|
| 36 |
=over 4 |
| 37 |
|
| 38 |
=item B<-v, --verbose> |
| 39 |
|
| 40 |
Be verbose. |
| 41 |
|
| 42 |
=item B<-h, --help> |
| 43 |
|
| 44 |
Print help message. |
| 45 |
|
| 46 |
=back |
| 47 |
|
| 48 |
=head1 EXAMPLE |
| 49 |
|
| 50 |
Make all source packages compilable on I<arm64>: |
| 51 |
|
| 52 |
botch-add-arch arm64 inSources outSources |
| 53 |
|
| 54 |
=head1 BUGS |
| 55 |
|
| 56 |
See L<http://bugs.debian.org/botch>. |
| 57 |
|
| 58 |
=head1 SEE ALSO |
| 59 |
|
| 60 |
Debian doc-base Manual F</usr/share/doc/botch/wiki/Home.html> |
| 61 |
|
| 62 |
=head1 AUTHOR |
| 63 |
|
| 64 |
This man page was written by Johannes Schauer. Botch is written by Johannes |
| 65 |
Schauer and Pietro Abate. |
| 66 |
|
| 67 |
=head1 COPYRIGHT |
| 68 |
|
| 69 |
Copyright 2012-2014 Johannes Schauer, Pietro Abate |
| 70 |
|
| 71 |
This program is free software: you can redistribute it and/or modify it under |
| 72 |
the terms of the GNU Lesser General Public License as published by the Free |
| 73 |
Software Foundation, either version 3 of the License, or (at your option) any |
| 74 |
later version. A special linking exception to the GNU Lesser General Public |
| 75 |
License applies to this library, see the COPYING file for more information. |
| 76 |
|