summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xCVSROOT/cfg.pm8
-rw-r--r--CVSROOT/cfg_local.pm14
-rw-r--r--CVSROOT/checkoutlist1
3 files changed, 22 insertions, 1 deletions
diff --git a/CVSROOT/cfg.pm b/CVSROOT/cfg.pm
index dafd476..5170e01 100755
--- a/CVSROOT/cfg.pm
+++ b/CVSROOT/cfg.pm
@@ -212,5 +212,11 @@ if ($hostname =~ /^(freefall|internat)\.freebsd\.org$/i) {
}
-#end
+# Load the local configuration file, that allows the entries in this
+# file to be overridden.
+eval { require "$ENV{CVSROOT}/CVSROOT/cfg_local.pm" }
+ if -e "$ENV{CVSROOT}/CVSROOT/cfg_local.pm";
+warn $@ if $@;
+
1; # Perl requires all modules to return true. Don't delete!!!!
+#end
diff --git a/CVSROOT/cfg_local.pm b/CVSROOT/cfg_local.pm
new file mode 100644
index 0000000..0db7f3b
--- /dev/null
+++ b/CVSROOT/cfg_local.pm
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+####################################################################
+####################################################################
+# This file contains local configuration for the CVSROOT perl
+# scripts. It is loaded by cfg.pm and overrides the default
+# configuration in that file.
+#
+# It is advised that you test it with 'perl -c cfg_local.pm'
+# before you commit any changes.
+####################################################################
+####################################################################
+
+#end
diff --git a/CVSROOT/checkoutlist b/CVSROOT/checkoutlist
index 48a5708..157d5a8 100644
--- a/CVSROOT/checkoutlist
+++ b/CVSROOT/checkoutlist
@@ -18,6 +18,7 @@
access
avail
cfg.pm
+cfg_local.pm
commit_prep.pl
commitcheck
cvs_acls.pl
OpenPOWER on IntegriCloud