11e72d8d2Sderaadt /* 21e72d8d2Sderaadt * Copyright (c) 1992, Brian Berliner and Jeff Polk 31e72d8d2Sderaadt * Copyright (c) 1989-1992, Brian Berliner 41e72d8d2Sderaadt * 51e72d8d2Sderaadt * You may distribute under the terms of the GNU General Public License as 61e72d8d2Sderaadt * specified in the README file that comes with the CVS 1.4 kit. 71e72d8d2Sderaadt * 81e72d8d2Sderaadt * This file holds (most of) the configuration tweaks that can be made to 91e72d8d2Sderaadt * customize CVS for your site. CVS comes configured for a typical SunOS 4.x 101e72d8d2Sderaadt * environment. The comments for each configurable item are intended to be 111e72d8d2Sderaadt * self-explanatory. All #defines are tested first to see if an over-riding 121e72d8d2Sderaadt * option was specified on the "make" command line. 131e72d8d2Sderaadt * 141e72d8d2Sderaadt * If special libraries are needed, you will have to edit the Makefile.in file 151e72d8d2Sderaadt * or the configure script directly. Sorry. 161e72d8d2Sderaadt */ 171e72d8d2Sderaadt 181e72d8d2Sderaadt /* 191e72d8d2Sderaadt * For portability and heterogeneity reasons, CVS is shipped by default using 201e72d8d2Sderaadt * my own text-file version of the ndbm database library in the src/myndbm.c 211e72d8d2Sderaadt * file. If you want better performance and are not concerned about 221e72d8d2Sderaadt * heterogeneous hosts accessing your modules file, turn this option off. 231e72d8d2Sderaadt */ 241e72d8d2Sderaadt #ifndef MY_NDBM 251e72d8d2Sderaadt #define MY_NDBM 261e72d8d2Sderaadt #endif 271e72d8d2Sderaadt 281e72d8d2Sderaadt /* 291e72d8d2Sderaadt * The "patch" program to run when using the CVS server and accepting 301e72d8d2Sderaadt * patches across the network. Specify a full pathname if your site 311e72d8d2Sderaadt * wants to use a particular patch. 321e72d8d2Sderaadt */ 331e72d8d2Sderaadt #ifndef PATCH_PROGRAM 341e72d8d2Sderaadt #define PATCH_PROGRAM "patch" 351e72d8d2Sderaadt #endif 361e72d8d2Sderaadt 37461cc63eStholo /* Directory used for storing temporary files, if not overridden by 38461cc63eStholo environment variables or the -T global option. There should be little 39461cc63eStholo need to change this (-T is a better mechanism if you need to use a 40461cc63eStholo different directory for temporary files). */ 4150bf276cStholo #ifndef TMPDIR_DFLT 4250bf276cStholo #define TMPDIR_DFLT "c:\\temp" 4350bf276cStholo #endif 4450bf276cStholo 4550bf276cStholo /* 461e72d8d2Sderaadt * The default editor to use, if one does not specify the "-e" option to cvs, 471e72d8d2Sderaadt * or does not have an EDITOR environment variable. I set this to just "vi", 481e72d8d2Sderaadt * and use the shell to find where "vi" actually is. This allows sites with 491e72d8d2Sderaadt * /usr/bin/vi or /usr/ucb/vi to work equally well (assuming that your PATH 501e72d8d2Sderaadt * is reasonable). 511e72d8d2Sderaadt * 521e72d8d2Sderaadt * The notepad program seems to be Windows NT's bare-bones text editor. 531e72d8d2Sderaadt */ 541e72d8d2Sderaadt #ifndef EDITOR_DFLT 551e72d8d2Sderaadt #define EDITOR_DFLT "notepad" 561e72d8d2Sderaadt #endif 571e72d8d2Sderaadt 581e72d8d2Sderaadt /* 5913571821Stholo * The default umask to use when creating or otherwise setting file or 6013571821Stholo * directory permissions in the repository. Must be a value in the 6113571821Stholo * range of 0 through 0777. For example, a value of 002 allows group 6213571821Stholo * rwx access and world rx access; a value of 007 allows group rwx 6313571821Stholo * access but no world access. This value is overridden by the value 6413571821Stholo * of the CVSUMASK environment variable, which is interpreted as an 6513571821Stholo * octal number. 6613571821Stholo */ 6713571821Stholo #ifndef UMASK_DFLT 6813571821Stholo #define UMASK_DFLT 002 6913571821Stholo #endif 7013571821Stholo 7113571821Stholo /* 7213571821Stholo * The cvs admin command is restricted to the members of the group 7313571821Stholo * CVS_ADMIN_GROUP. If this group does not exist, all users are 7413571821Stholo * allowed to run cvs admin. To disable the cvs admin for all users, 7513571821Stholo * create an empty group CVS_ADMIN_GROUP. To disable access control for 7613571821Stholo * cvs admin, comment out the define below. 7713571821Stholo * 7813571821Stholo * Under Windows NT, this must not be used because it tries to include 7913571821Stholo * <grp.h> 8013571821Stholo */ 8113571821Stholo #ifdef CVS_ADMIN_GROUP 8213571821Stholo /* #define CVS_ADMIN_GROUP "cvsadmin" */ 8313571821Stholo #endif 8413571821Stholo 8513571821Stholo /* 86*892c0aadStholo * The Repository file holds the path to the directory within the 87*892c0aadStholo * source repository that contains the RCS ,v files for each CVS 88*892c0aadStholo * working directory. This path is either a full-path or a path 89*892c0aadStholo * relative to CVSROOT. 901e72d8d2Sderaadt * 91*892c0aadStholo * The big advantage that I can see to having a relative path is that 92*892c0aadStholo * one can change the physical location of the master source 93*892c0aadStholo * repository, change the contents of CVS/Root files in your 94*892c0aadStholo * checked-out code, and CVS will work without problems. 95*892c0aadStholo * 96*892c0aadStholo * Therefore, RELATIVE_REPOS is now the default. In the future, this 97*892c0aadStholo * is likely to disappear entirely as a compile-time (or other) option, 98*892c0aadStholo * so if you have other software which relies on absolute pathnames, 99*892c0aadStholo * update them. 1001e72d8d2Sderaadt */ 101*892c0aadStholo #define RELATIVE_REPOS 1 1021e72d8d2Sderaadt 1031e72d8d2Sderaadt /* 1041e72d8d2Sderaadt * When committing or importing files, you must enter a log message. 1051e72d8d2Sderaadt * Normally, you can do this either via the -m flag on the command line or an 1061e72d8d2Sderaadt * editor will be started for you. If you like to use logging templates (the 1071e72d8d2Sderaadt * rcsinfo file within the $CVSROOT/CVSROOT directory), you might want to 1081e72d8d2Sderaadt * force people to use the editor even if they specify a message with -m. 1091e72d8d2Sderaadt * Enabling FORCE_USE_EDITOR will cause the -m message to be appended to the 1101e72d8d2Sderaadt * temp file when the editor is started. 1111e72d8d2Sderaadt */ 1121e72d8d2Sderaadt #ifndef FORCE_USE_EDITOR 1131e72d8d2Sderaadt /* #define FORCE_USE_EDITOR */ 1141e72d8d2Sderaadt #endif 1151e72d8d2Sderaadt 1161e72d8d2Sderaadt /* 1171e72d8d2Sderaadt * When locking the repository, some sites like to remove locks and assume 1181e72d8d2Sderaadt * the program that created them went away if the lock has existed for a long 1191e72d8d2Sderaadt * time. This used to be the default for previous versions of CVS. CVS now 1201e72d8d2Sderaadt * attempts to be much more robust, so lock files should not be left around 1211e72d8d2Sderaadt * by mistake. The new behaviour will never remove old locks (they must now 1221e72d8d2Sderaadt * be removed by hand). Enabling CVS_FUDGELOCKS will cause CVS to remove 1231e72d8d2Sderaadt * locks that are older than CVSLCKAGE seconds. 1241e72d8d2Sderaadt * Use of this option is NOT recommended. 1251e72d8d2Sderaadt */ 1261e72d8d2Sderaadt #ifndef CVS_FUDGELOCKS 1271e72d8d2Sderaadt /* #define CVS_FUDGELOCKS */ 1281e72d8d2Sderaadt #endif 1291e72d8d2Sderaadt 1301e72d8d2Sderaadt /* 1311e72d8d2Sderaadt * When committing a permanent change, CVS and RCS make a log entry of 1321e72d8d2Sderaadt * who committed the change. If you are committing the change logged in 1331e72d8d2Sderaadt * as "root" (not under "su" or other root-priv giving program), CVS/RCS 1341e72d8d2Sderaadt * cannot determine who is actually making the change. 1351e72d8d2Sderaadt * 1361e72d8d2Sderaadt * As such, by default, CVS disallows changes to be committed by users 1371e72d8d2Sderaadt * logged in as "root". You can disable this option by commenting 1381e72d8d2Sderaadt * out the lines below. 1391e72d8d2Sderaadt * 1401e72d8d2Sderaadt * Under Windows NT, privileges are associated with groups, not users, 1411e72d8d2Sderaadt * so the case in which someone has logged in as root does not occur. 1421e72d8d2Sderaadt * Thus, there is no need for this hack. 1431e72d8d2Sderaadt */ 1441e72d8d2Sderaadt #undef CVS_BADROOT 1451e72d8d2Sderaadt 1461e72d8d2Sderaadt /* 147c26070a5Stholo * Yes, we can do the authenticated client. 14813571821Stholo */ 149c26070a5Stholo #define AUTH_CLIENT_SUPPORT 1 150c26070a5Stholo 1511e72d8d2Sderaadt /* End of CVS configuration section */ 1521e72d8d2Sderaadt 1531e72d8d2Sderaadt /* 1541e72d8d2Sderaadt * Externs that are included in libc, but are used frequently enough to 1551e72d8d2Sderaadt * warrant defining here. 1561e72d8d2Sderaadt */ 1571e72d8d2Sderaadt #ifndef STDC_HEADERS 1581e72d8d2Sderaadt extern void exit (); 1591e72d8d2Sderaadt #endif 160