| 1 | # Copyright 1999-2000 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2000 Gentoo Technologies, Inc. |
| 2 | # Distributed under the terms of the GNU General Public License, v2 or later |
2 | # Distributed under the terms of the GNU General Public License, v2 or later |
| 3 | # Author Dan Armak <danarmak@gentoo.org> |
3 | # Author Dan Armak <danarmak@gentoo.org> |
| 4 | # $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.11 2002/08/10 12:53:02 danarmak Exp $ |
4 | # $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.12 2002/08/18 23:54:59 danarmak Exp $ |
| 5 | # This eclass provides the generic cvs fetching functions. |
5 | # This eclass provides the generic cvs fetching functions. |
| 6 | |
6 | |
| 7 | ECLASS=cvs |
7 | ECLASS=cvs |
| 8 | INHERITED="$INHERITED $ECLASS" |
8 | INHERITED="$INHERITED $ECLASS" |
| 9 | |
9 | |
| … | |
… | |
| 41 | |
41 | |
| 42 | # Password to use (NOT (YET) SUPPORTED, because cvs doesn't store passwords in plaintext in .cvspass) |
42 | # Password to use (NOT (YET) SUPPORTED, because cvs doesn't store passwords in plaintext in .cvspass) |
| 43 | [ -z "$ECVS_PASS" ] && ECVS_PASS="" |
43 | [ -z "$ECVS_PASS" ] && ECVS_PASS="" |
| 44 | |
44 | |
| 45 | # Module to be fetched, must be set explicitly - |
45 | # Module to be fetched, must be set explicitly - |
| 46 | # I don't like the former ="$NP" default setting |
46 | # I don't like the former ="$PN" default setting |
| 47 | [ -z "$ECVS_MODULE" ] && die "$ECLASS: error: ECVS_MODULE not set, cannot continue" |
47 | [ -z "$ECVS_MODULE" ] && debug-print "$ECLASS: error: ECVS_MODULE not set, cannot continue" |
| 48 | |
48 | |
| 49 | # Subdirectory in module to be fetched, default is not defined = whole module |
49 | # Subdirectory in module to be fetched, default is not defined = whole module |
| 50 | # DO NOT set default to "", if it's defined at all code will break! |
50 | # DO NOT set default to "", if it's defined at all code will break! |
| 51 | # don't uncomment following line! |
51 | # don't uncomment following line! |
| 52 | #[ -z "$ECVS_MODULE_SUBDIR" ] && ECVS_MODULE_SUBDIR="" |
52 | #[ -z "$ECVS_MODULE_SUBDIR" ] && ECVS_MODULE_SUBDIR="" |