aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT/cfg.pm
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-10-30 18:45:56 +0800
committerjoe <joe@FreeBSD.org>2001-10-30 18:45:56 +0800
commitefb53e289a8a0807521c83e03fa616c754936a06 (patch)
tree630fcda87a64bf4eb7f6cb32c71fd06632cb3a12 /CVSROOT/cfg.pm
parent53033dbcb9ebd421900e43f2ff7543e93961c9fb (diff)
downloadfreebsd-ports-gnome-efb53e289a8a0807521c83e03fa616c754936a06.tar.gz
freebsd-ports-gnome-efb53e289a8a0807521c83e03fa616c754936a06.tar.zst
freebsd-ports-gnome-efb53e289a8a0807521c83e03fa616c754936a06.zip
Add the hosts that we're allowed to commit on to the configuration
file instead of hard coding them.
Diffstat (limited to 'CVSROOT/cfg.pm')
-rwxr-xr-xCVSROOT/cfg.pm12
1 files changed, 11 insertions, 1 deletions
diff --git a/CVSROOT/cfg.pm b/CVSROOT/cfg.pm
index 728c1d360bdc..f837a7c84b2b 100755
--- a/CVSROOT/cfg.pm
+++ b/CVSROOT/cfg.pm
@@ -15,7 +15,7 @@ package cfg;
use strict;
use vars qw($DEBUG $FILE_PREFIX $MAILADDRS $MAILBANNER $MAILCMD
$MAIL_BRANCH_HDR $MAIL_ON_DIR_CREATION $MAIL_TRANSFORM
- $ADD_TO_LINE $TMPDIR %TEMPLATE_HEADERS
+ $ADD_TO_LINE $TMPDIR %TEMPLATE_HEADERS @COMMIT_HOSTS
$CHECK_HEADERS $LAST_FILE $PID $IDHEADER $UNEXPAND_RCSID);
@@ -41,6 +41,16 @@ $FILE_PREFIX = "#cvs.files.$PID";
# when processing a multi-directory commit.
$LAST_FILE = "$TMPDIR/$FILE_PREFIX.lastdir";
+###################
+### commitcheck ###
+###################
+
+# A list of hosts the it's ok to commit on. Useful if your committers
+# take local copies of the repository to work off-line.
+# (Empty if you don't want checks.)
+@COMMIT_HOSTS = ();
+
+
################
### logcheck ###
################