/[gentoo-x86]/eclass/cvs.eclass
Gentoo

Diff of /eclass/cvs.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.75 Revision 1.76
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.75 2010/08/24 21:00:15 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.76 2010/08/25 19:57:53 vapier Exp $
4 4
5# @ECLASS: cvs.eclass 5# @ECLASS: cvs.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# vapier@gentoo.org (and anyone who wants to help) 7# vapier@gentoo.org (and anyone who wants to help)
8# @BLURB: This eclass provides generic cvs fetching functions 8# @BLURB: This eclass provides generic cvs fetching functions
25 25
26# Users shouldn't change these settings! The ebuild/eclass inheriting 26# Users shouldn't change these settings! The ebuild/eclass inheriting
27# this eclass will take care of that. If you want to set the global 27# this eclass will take care of that. If you want to set the global
28# KDE cvs ebuilds' settings, see the comments in kde-source.eclass. 28# KDE cvs ebuilds' settings, see the comments in kde-source.eclass.
29 29
30# @ECLASS-VARIABLE: ECVS_CVS_COMPRESS
31# @DESCRIPTION:
32# Set the default compression level. Has no effect when ECVS_CVS_COMMAND
33# is defined by ebuild/user.
34: ${ECVS_CVS_COMPRESS:=-z1}
35
36# @ECLASS-VARIABLE: ECVS_CVS_OPTIONS
37# @DESCRIPTION:
38# Additional options to the cvs commands. Has no effect when ECVS_CVS_COMMAND
39# is defined by ebuild/user.
40: ${ECVS_CVS_OPTIONS:=-q -f}
41
30# @ECLASS-VARIABLE: ECVS_CVS_COMMAND 42# @ECLASS-VARIABLE: ECVS_CVS_COMMAND
31# @DESCRIPTION: 43# @DESCRIPTION:
32# CVS command to run 44# CVS command to run
33# 45#
34# You can set, for example, "cvs -t" for extensive debug information 46# You can set, for example, "cvs -t" for extensive debug information
35# on the cvs connection. The default of "cvs -q -f -z4" means to be 47# on the cvs connection. The default of "cvs -q -f -z4" means to be
36# quiet, to disregard the ~/.cvsrc config file and to use maximum 48# quiet, to disregard the ~/.cvsrc config file and to use maximum
37# compression. 49# compression.
38[[ -z ${ECVS_CVS_COMMAND} ]] && ECVS_CVS_COMMAND="cvs ${ECVS_CVS_OPTIONS} ${ECVS_CVS_COMPRESS}" 50: ${ECVS_CVS_COMMAND:=cvs ${ECVS_CVS_OPTIONS} ${ECVS_CVS_COMPRESS}}
39
40# @ECLASS-VARIABLE: ECVS_CVS_COMPRESS
41# @DESCRIPTION:
42# Set the compression level.
43[[ -z ${ECVS_CVS_COMPRESS} ]] && ECVS_CVS_COMPRESS="-z1"
44
45# @ECLASS-VARIABLE: ECVS_CVS_OPTIONS
46# @DESCRIPTION:
47# Additional options to the cvs commands.
48[[ -z ${ECVS_CVS_OPTIONS} ]] && ECVS_CVS_OPTIONS="-q -f"
49 51
50# @ECLASS-VARIABLE: ECVS_UP_OPTS 52# @ECLASS-VARIABLE: ECVS_UP_OPTS
51# @DESCRIPTION: 53# @DESCRIPTION:
52# CVS options given after the cvs update command. Don't remove "-dP" or things 54# CVS options given after the cvs update command. Don't remove "-dP" or things
53# won't work. 55# won't work.
54[ -z "$ECVS_UP_OPTS" ] && ECVS_UP_OPTS="-dP" 56: ${ECVS_UP_OPTS:=-dP}
55 57
56# @ECLASS-VARIABLE: ECVS_CO_OPTS 58# @ECLASS-VARIABLE: ECVS_CO_OPTS
59# @DEFAULT_UNSET
57# @DESCRIPTION: 60# @DESCRIPTION:
58# CVS options given after the cvs checkout command. 61# CVS options given after the cvs checkout command.
59[ -z "$ECVS_CO_OPTS" ] && ECVS_CO_OPTS=""
60 62
61# @ECLASS-VARIABLE: ECVS_OFFLINE 63# @ECLASS-VARIABLE: ECVS_OFFLINE
62# @DESCRIPTION: 64# @DESCRIPTION:
63# Set this variable to a non-empty value to disable the automatic updating of 65# Set this variable to a non-empty value to disable the automatic updating of
64# a CVS source tree. This is intended to be set outside the cvs source 66# a CVS source tree. This is intended to be set outside the cvs source

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76

  ViewVC Help
Powered by ViewVC 1.1.20