diff options
author | bad <bad@pkgsrc.org> | 1999-06-08 17:51:25 +0000 |
---|---|---|
committer | bad <bad@pkgsrc.org> | 1999-06-08 17:51:25 +0000 |
commit | bcb41376e59edf10c0e2c4094dba815d9f11b8cd (patch) | |
tree | 6c8d59ca84d33e923ceeb652c27c14d41e543cde /mail/majordomo/patches/patch-aj | |
parent | 2d8c556c1b89e0d2ad857e9300887f5cd1ba6737 (diff) | |
download | pkgsrc-bcb41376e59edf10c0e2c4094dba815d9f11b8cd.tar.gz |
Initial import of pkg for majordomo-1.94.4, the popular mailing list manager.
Packaged by Brook Milligan brook@trillium.NMSU.Edu.
Diffstat (limited to 'mail/majordomo/patches/patch-aj')
-rw-r--r-- | mail/majordomo/patches/patch-aj | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/mail/majordomo/patches/patch-aj b/mail/majordomo/patches/patch-aj new file mode 100644 index 00000000000..ff46f7e9c87 --- /dev/null +++ b/mail/majordomo/patches/patch-aj @@ -0,0 +1,86 @@ +$NetBSD: patch-aj,v 1.1.1.1 1999/06/08 17:51:26 bad Exp $ + +--- ./sample.cf.orig Wed Aug 27 09:00:31 1997 ++++ ./sample.cf Tue Jun 8 10:55:13 1999 +@@ -7,5 +7,5 @@ + # $whereami -- What machine am I running on? + # +-$whereami = "example.com"; ++$whereami = "@HOSTNAME@"; + + # $whoami -- Who do users send requests to me as? +@@ -17,5 +17,5 @@ + $whoami_owner = "Majordomo-Owner\@$whereami"; + +-# $homedir -- Where can I find my extra .pl files, like majordomo.pl? ++# $homedir -- Where can I find my lists? + # the environment variable HOME is set by the wrapper + # +@@ -23,5 +23,14 @@ + $homedir = $ENV{"HOME"}; + } else { +- $homedir = "/usr/test/majordomo"; ++ $homedir = "@HOME@/@MAJORDOMO_USER@"; ++} ++ ++# $bindir -- Where can I find my extra .pl files, like majordomo.pl? ++# the environment variable BIN is set by the wrapper ++# ++if ( defined $ENV{"BIN"}) { ++ $bindir = $ENV{"BIN"}; ++} else { ++ $bindir = "@PREFIX@/libexec/majordomo"; + } + +@@ -33,8 +42,8 @@ + # Each list must have a subdirectory under this directory in order for + # digest to work. E.G. The bblisa list would use: +-# /usr/local/mail/digest/bblisa ++# @HOME@/@MAJORDOMO_USER@/digests/bblisa + # as its directory. + # +-$digest_work_dir = "/usr/local/mail/digest"; ++$digest_work_dir = "$homedir/digests"; + + # $log -- Where do I write my log? +@@ -46,6 +55,6 @@ + # seem to prefer /usr/sbin/sendmail + # +-$sendmail_command = "/usr/lib/sendmail"; +-# $sendmail_command = "/usr/sbin/sendmail"; ++# $sendmail_command = "/usr/lib/sendmail"; ++$sendmail_command = "/usr/sbin/sendmail"; + + # $mailer -- What program and args do I use to send mail to the list? +@@ -69,5 +78,5 @@ + # To use TLB and use no outgoing alias: + # if ($main'program_name eq 'mj_resend' && $opt_l eq 'test-list') { +-# $mailer = "/usr/local/majordomo/tlb /usr/local/lists/${opt_l}.tlb"; ++# $mailer = "@HOME@/@MAJORDOMO_USER@/tlb @HOME@/@MAJORDOMO_USER@/lists/${opt_l}.tlb"; + # } + # +@@ -128,6 +137,6 @@ + # directory "$filedir/$list$filedir_suffix", so set $filedir and + # $filedir_suffix appropriately. For instance, to look in +-# /usr/local/mail/files/$list, use: +-# $filedir = "/usr/local/mail/files"; ++# @HOME@/@MAJORDOMO_USER@/mail/files/$list, use: ++# $filedir = "@HOME@/@MAJORDOMO_USER@/mail/files"; + # $filedir_suffix = ""; # empty string + # or to look in $listdir/$list.archive, use: +@@ -135,6 +144,6 @@ + # $filedir_suffix = ".archive"; + +-$filedir = "$listdir"; +-$filedir_suffix = ".archive"; ++$filedir = "@HOME@/@MAJORDOMO_USER@/archives"; ++$filedir_suffix = ""; + + # What command should I use to process an "index" request? +@@ -191,5 +200,5 @@ + # Uses the environment variable TMPDIR, since that's pretty common + # +-$TMPDIR = $ENV{'TMPDIR'} || "/usr/tmp"; ++$TMPDIR = $ENV{'TMPDIR'} || "@TMPDIR@"; + + # Tune how long set_lock tries to obtain a lock before giving up. Each |