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 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
|
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.\" Copyright (c) 1997 Manoj Srivastava <srivasta@debian.org>
.\"
.\" This is free documentation; 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.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual 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 manual; if not, write to the Free
.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
.\" USA.
.\"
.\" $Id: cvsdeb.conf.5,v 1.3 1998/04/03 16:54:23 srivasta Exp $
.\"
.TH CVSDEB.CONF 5 "Feb 21 1998" "Debian" "Debian GNU/Linux manual"
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.SH NAME
cvsdeb.conf \- site wide configuration file for cvs\-buildpackage and friends
.SH SYNOPSIS
.I /etc/cvsdeb.conf
.SH "DESCRIPTION"
The file
.I /etc/cvsdeb.conf
is actually a
.BR Bourne Shell
snippet included during the package build process, and hence you may
put any shell directive in that file (just make very sure you know
what you are doing).
.PP
All the variables have reasonable default values, and some maybe
over\-ridden on a per run or a per individual basis by using
environment variables, and all configurable variables can be
over\-ridden by options to the scripts themselves
.PP
The value of a variable can be set so:
.TP 3
a)
Defaults exist in the rules file. These are the values used if no
customization is done.
.IP b)
Some variables can be set in the config file
.I /etc/cvsdebg.conf.
These values over ride the defaults.
.IP c)
Some variables can also be set by setting a corresponding environment
variable. These values over ride the config file and the defaults.
.IP d)
Using script command line
options. All configurable variables may be set by this method, and
will over\-ride the other methods above.
.SH "Configuration File options"
At the moment, the user modifiable variables supported are:
.TP 18
.B DEBUG
Debugging information: The default value is 0 (no debugging
information is printed). To enable debugging output, set the value to
1.
.TP
.B conf_rootdir
The root directory is used to set the default value of the work
directory, using the package name. The default value is
.I /usr/src/Packages.
.TP
.B conf_workdir
The work directory. This directory is where the original sources are
expected, and this is where the module shall be exported from CVS.
If you set this value, the value of the root directory would be ignored.
.TP
.B conf_dpkg_options
This is where one may stash -us -uc or whatever to pass on to
.B dpkg\-buildpackage.
.TP
.B conf_rootcommand
This is where one specifies the default command to gain root access
(usually set to
.I fakeroot, sudo
or
.I super
). This is also passed along to
.B dpkg\-buildpackage.
.TP
.B conf_forcetag.
If this is set, then
.B cvs\-buildpackage
shall call
.I cvs tag -F
to ensure that all files are re\-tagged correctly.
.TP
.B conf_cvsmodule
This option sets the
.B CVS
module for use with
.B cvs\-inject
and
.B cvs\-upgrade.
.PP
.SH "EnvironMent Variables"
At the moment, the user modifiable variables supported are:
.TP 15
.B CVSDEB_ROOTDIR
If defined, this environment variable will over ride the value of the
root directory set in the configuration file.
.TP
.B CVSDEB_WORKDIR
If defined, this environment variable will over ride the value of the
work directory set in the configuration file, and would cause
the scripts
to ignore the root directory, irrespective of where that value was
set.
.TP
.B CVSDEB_MODULE
If defined, this environment variable will over ride the value of the
.B CVS
module set in the configuration file.
.PP
.SH "SEE ALSO"
.BR cvs\-inject (1),
.BR cvs\-buildpackage (1),
.BR cvs\-upgrade (1),
.BR dpkg\-buildpackage (1),
.BR cvs (1).
.SH BUGS
There are no bugs. Any resemblance thereof is delirium. Really.
.SH AUTHOR
This manual page was written by Manoj Srivastava <srivasta@debian.org>,
for the Debian GNU/Linux system.
|