cabot cabotrc

Joost van Baal joostvb-savannah@mdcc.cx
Thu, 24 Jul 2003 10:27:12 -0400


CVSROOT:	/cvsroot/cabot
Module name:	cabot
Branch: 	
Changes by:	Joost van Baal <joostvb-savannah@mdcc.cx>	03/07/24 10:27:12

Modified files:
	.              : cabotrc 

Log message:
	made distinction between exported and internal variables clear.
	created new 'cabothome' variable. made distinction between variables
	likely to need tweaking, and sane defaults clear.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/cabot/cabot/cabotrc.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: cabot/cabotrc
diff -u cabot/cabotrc:1.1 cabot/cabotrc:1.2
--- cabot/cabotrc:1.1	Wed Jul 23 17:56:08 2003
+++ cabot/cabotrc	Thu Jul 24 10:27:12 2003
@@ -16,19 +16,31 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 #
-#
-$CONFIG{'sendoutdir'}  = '/home/cabot/ca/sendout';
-$CONFIG{'sentdir'}     = '/home/cabot/ca/sent';
-$CONFIG{'tosign'}      = '/home/cabot/ca/tosign';
-$CONFIG{'done'}        = '/home/cabot/ca/done';
-$CONFIG{'fullname'}    = 'Peter Palfrader';
-$CONFIG{'botname'}     = 'Peter Palfrader (CA BOT)';
-$CONFIG{'realaddress'} = 'peter@palfrader.org';
-$CONFIG{'botaddress'}  = 'cabot@marvin.palfrader.org';
+
+##################
+# local variables
+##################
+my $CONFIG_realaddress = 'peter@palfrader.org';
+my $CONFIG_fullname    = 'Peter Palfrader';
+my $CONFIG_keyid       = '94c09c7f';
+
+################
+# exported stuff
+################
+
 $CONFIG{'BCCmail'}     = 'cabot+out@marvin.palfrader.org';
-$CONFIG{'bot'}         = $CONFIG{'botname'} .' <'. $CONFIG{'botaddress'}.'>';
-$CONFIG{'name'}        = $CONFIG{'fullname'} .' <'. $CONFIG{'realaddress'}.'>';
-$CONFIG{'signoff'}     = 'CA software running on behalf of ' . $CONFIG{'fullname'} .' <'. $CONFIG{'realaddress'}.'>';
+$CONFIG{'bot'}         = 'Peter Palfrader (CA BOT) <cabot@marvin.palfrader.org>';
+$CONFIG{'cabothome'}   = '/home/cabot/ca';
+
+# you very likely wont have to change anything below here #########################
+
+$CONFIG{'sendoutdir'}  = $CONFIG{'cabothome'} . '/sendout';
+$CONFIG{'sentdir'}     = $CONFIG{'cabothome'} . '/sent';
+$CONFIG{'tosign'}      = $CONFIG{'cabothome'} . '/tosign';
+$CONFIG{'done'}        = $CONFIG{'cabothome'} . '/done';
+
+$CONFIG{'name'}        = $CONFIG_fullname .' <'. $CONFIG_realaddress . '>';
+$CONFIG{'signoff'}     = 'CA software running on behalf of ' . $CONFIG_fullname .' <'. $CONFIG_realaddress .'>';
 $CONFIG{'preamble'}    = << "EOF";
 You are being sent this mail because we exchanged PGP/GPG key
 fingerprints at some point in the past.  This mail is semiautomatic
@@ -40,45 +52,22 @@
 complete the certification protocol.
 
 EOF
-$CONFIG{'keyid'}       = '94c09c7f';
+$CONFIG{'keyid'}       = $CONFIG_keyid;
 $CONFIG{'sendmail'}    = '|/usr/lib/sendmail -t';
 $CONFIG{'keyservers'}  = [
 ## 	'pgp.mit.edu',
-## 	#'194.171.167.2',
-## 	'212.55.198.213',
 ## 	'keys.pgp.dk',
 ## 	'blackhole.pca.dfn.de',
 ## 	#'pgp.zdv.Uni-Mainz.DE',
 ## 	#'pgp.dtype.org',
 ## 	'keyring.debian.org',
 ## 	'www.keyserver.net',
-
-#'128.130.2.9',
-#'129.74.32.151',
-###'130.207.3.131',
-###'130.226.106.11',
 '137.208.127.72',
-#'147.83.20.125',
-#'161.53.67.16',
 '166.88.5.10',
-###'18.7.14.139',
 '193.165.192.28',
 '193.165.192.80',
-#'193.174.13.72',
-#'193.201.200.66',
 '193.225.12.66',
 '193.70.7.140',
-#'194.159.175.250',
-#'194.171.167.2',
-#'194.97.3.9',
 '198.128.3.122',
-###'202.12.30.139',
-#'203.146.30.44',
-#'206.246.226.45',
-#'209.54.75.71',
-###'212.55.198.213',
-###'212.97.183.250',
-#'213.73.91.86',
-#'62.8.243.146',
 '64.71.163.210',
 ];