summaryrefslogtreecommitdiffstats
path: root/CVSROOT/cfg_local.pm
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-10-24 00:49:59 +0000
committerjoe <joe@FreeBSD.org>2001-10-24 00:49:59 +0000
commit9d8c522e8ebdf7b147a222fbe9ec5fadf9223f06 (patch)
tree32cb541ddce564ea072970cc43803f5d2868f619 /CVSROOT/cfg_local.pm
parent478b76b45fa9a98d7ad37fc7386c31c59c13df7b (diff)
downloadFreeBSD-ports-9d8c522e8ebdf7b147a222fbe9ec5fadf9223f06.zip
FreeBSD-ports-9d8c522e8ebdf7b147a222fbe9ec5fadf9223f06.tar.gz
Migrate the FreeBSD project configuration to cfg_local.pm and
replace it with default entries in cfg.pm.
Diffstat (limited to 'CVSROOT/cfg_local.pm')
-rw-r--r--CVSROOT/cfg_local.pm36
1 files changed, 36 insertions, 0 deletions
diff --git a/CVSROOT/cfg_local.pm b/CVSROOT/cfg_local.pm
index 22fb4e8..38fb916 100644
--- a/CVSROOT/cfg_local.pm
+++ b/CVSROOT/cfg_local.pm
@@ -11,6 +11,42 @@
####################################################################
####################################################################
+$CHECK_HEADERS = 1;
+$IDHEADER = 'FreeBSD';
+$UNEXPAND_RCSID = 1;
+
+%TEMPLATE_HEADERS = (
+ "Reviewed by" => '.*',
+ "Submitted by" => '.*',
+ "Obtained from" => '.*',
+ "Approved by" => '.*',
+ "PR" => '.*',
+ "MFC after" => '\d+(\s+(days?|weeks?|months?))?'
+);
+
+$MAILCMD = "/usr/local/bin/mailsend -H";
+$MAIL_BRANCH_HDR = "X-FreeBSD-CVS-Branch";
+
+
+# Wrap this in a hostname check to prevent mail to the FreeBSD
+# list if someone borrows this file and forgets to change it.
+my $hostname = `/bin/hostname`;
+die "Can't determine hostname!\n" if $? >> 8;
+chomp $hostname;
+if ($hostname =~ /^(freefall|internat)\.freebsd\.org$/i) {
+ my $meister;
+
+ $MAILADDRS='cvs-committers@FreeBSD.org cvs-all@FreeBSD.org';
+ if ($1 =~ /freefall/i) {
+ $meister = 'peter@FreeBSD.org';
+ } else {
+ $meister = 'markm@FreeBSD.org';
+ $MAILBANNER = "FreeBSD International Crypto Repository";
+ }
+ $MAILADDRS = $meister if $DEBUG;
+}
+
+
1; # Perl requires all modules to return true. Don't delete!!!!
#end
OpenPOWER on IntegriCloud