diff options
author | James FitzGibbon <jfitz@FreeBSD.org> | 1996-12-27 06:25:02 +0000 |
---|---|---|
committer | James FitzGibbon <jfitz@FreeBSD.org> | 1996-12-27 06:25:02 +0000 |
commit | 84c42763796c7c7b41447671e09b1af5d6ecb388 (patch) | |
tree | d2fd9fa7e0883dee33f41928d8719ae0d3ba32c9 /mail/majordomo/files | |
parent | 116bb06e77a1b0fd6d7cafeb7df0d696b95cdf0b (diff) | |
download | ports-84c42763796c7c7b41447671e09b1af5d6ecb388.tar.gz ports-84c42763796c7c7b41447671e09b1af5d6ecb388.zip |
Notes
Diffstat (limited to 'mail/majordomo/files')
-rw-r--r-- | mail/majordomo/files/patch-aa | 81 | ||||
-rw-r--r-- | mail/majordomo/files/patch-ab | 39 | ||||
-rw-r--r-- | mail/majordomo/files/patch-ac | 12 |
3 files changed, 64 insertions, 68 deletions
diff --git a/mail/majordomo/files/patch-aa b/mail/majordomo/files/patch-aa index 120331739208..fd32471c6b3c 100644 --- a/mail/majordomo/files/patch-aa +++ b/mail/majordomo/files/patch-aa @@ -1,54 +1,39 @@ ---- Makefile.orig Sun Oct 20 09:23:18 1996 -+++ Makefile Wed Oct 23 15:56:10 1996 -@@ -12,7 +12,7 @@ +--- Makefile.orig Mon Dec 9 10:41:18 1996 ++++ Makefile Fri Dec 27 00:25:07 1996 +@@ -12,22 +12,22 @@ # - # Where is Perl located? + + # Put the location of your Perl binary here: +-PERL = /bin/perl ++PERL = ${PREFIX}/bin/perl --PERL = /bin/perl5 -+PERL = ${PREFIX}/bin/perl + # What do you call your C compiler? + CC = cc + + # Where do you want Majordomo to be installed? This CANNOT be the + # current directory (where you unpacked the distribution) +-W_HOME = /usr/test/majordomo-$(VERSION) ++W_HOME = ${PREFIX}/majordomo + + # Where do you want man pages to be installed? +-MAN = $(W_HOME)/man ++MAN = ${PREFIX}/man + + # You need to have or create a user and group which majordomo will run as. + # Enter the numeric UID and GID (not their names!) here: +-W_USER = 123 +-W_GROUP = 45 ++W_USER = %%MJUID%% ++W_GROUP = %%MJGID%% - # - # If your default 'chown' doesn't support the USER.GROUP syntax, -@@ -23,15 +23,15 @@ - # - # The location of Majordomo. Wrapper looks here for programs to run. - --W_HOME = /usr/test/majordomo-$(VERSION) -+W_HOME = ${PREFIX}/majordomo - - # - # Where do you want the manual pages installed? By default, this is - # $(W_HOME)/man/man[18] - # --W_MAN = $(W_HOME)/man --MAN1 = $(W_HOME)/man/man1 --MAN8 = $(W_HOME)/man/man8 -+W_MAN = ${PREFIX}/man -+MAN1 = ${PREFIX}/man/man1 -+MAN8 = $(PREFIX)/man/man8 - - # What permissions does wrapper need? - # (6755 = -rwsr-s-r-x, 4755 = -rwsr-xr-x) -@@ -43,7 +43,7 @@ + # These set the permissions for all installed files and executables (except + # the wrapper), respectively. Some sites may wish to make these more +@@ -61,7 +61,7 @@ # parent process, and without the leading "W_" in the variable names) gets # passed to processes run by "wrapper" + W_SHELL = /bin/sh +-W_PATH = /bin:/usr/bin:/usr/ucb ++W_PATH = /bin:/usr/bin + W_MAJORDOMO_CF = $(W_HOME)/majordomo.cf --W_PATH = /bin:/usr/bin:/usr/ucb -+W_PATH = /bin:/usr/bin - W_BIN = $(W_HOME) - W_SHELL = /bin/csh - W_MAJORDOMO_CF = $(W_BIN)/majordomo.cf -@@ -53,11 +53,11 @@ - - # majordomo on my system - # --W_USER = 443 -+W_USER = %%MJUID%% - # - # daemon on my system - # --W_GROUP = 1 -+W_GROUP = %%MJGID%% - # - # You might need to change : to . - # + # A directory for temp files.. diff --git a/mail/majordomo/files/patch-ab b/mail/majordomo/files/patch-ab index 80f44cc40c37..bebb70c0d150 100644 --- a/mail/majordomo/files/patch-ab +++ b/mail/majordomo/files/patch-ab @@ -1,9 +1,10 @@ ---- sample.cf.orig Tue Oct 8 15:02:14 1996 -+++ sample.cf Sat Oct 26 13:19:04 1996 -@@ -1,23 +1,19 @@ +--- sample.cf.orig Mon Dec 23 10:05:15 1996 ++++ sample.cf Fri Dec 27 00:31:03 1996 +@@ -6,11 +6,11 @@ + # $whereami -- What machine am I running on? # --$whereami = "foo.NOWHERE.COM"; +-$whereami = "example.com"; +$whereami = "%%HOSTNAME%%"; # $whoami -- Who do users send requests to me as? @@ -13,9 +14,7 @@ # $whoami_owner -- Who is the owner of the above, in case of problems? # --$whoami_owner = "Majordomo-Owner\@$whereami"; -+$whoami_owner = "majordomo-owner\@$whereami"; - +@@ -19,11 +19,7 @@ # $homedir -- Where can I find my extra .pl files, like majordomo.pl? # the environment variable HOME is set by the wrapper # @@ -28,16 +27,16 @@ # $listdir -- Where are the mailing lists? # -@@ -29,7 +25,7 @@ +@@ -35,7 +31,7 @@ # /usr/local/mail/digest/bblisa # as its directory. # --$digest_work_dir = '/usr/local/mail/digest'; +-$digest_work_dir = "/usr/local/mail/digest"; +$digest_work_dir = "%%PREFIX%%/majordomo/digests"; # $log -- Where do I write my log? # -@@ -39,8 +35,8 @@ +@@ -45,8 +41,8 @@ # usually /usr/lib/sendmail, but some newer BSD systems # seem to prefer /usr/sbin/sendmail # @@ -48,12 +47,24 @@ # $mailer -- What program and args do I use to send mail to the list? # $bounce_mailer -- What is used to send mail anywhere else? -@@ -152,7 +148,7 @@ +@@ -82,9 +78,9 @@ + # returns a string like: + # 5:23pm up 5:51, 9 users, load average: 0.19, 0.25, 0.33 + # +-#$max_loadavg = 10; # Choose the maximum allowed load ++$max_loadavg = 10; # Choose the maximum allowed load + # +-#$uptime = `/usr/bin/uptime` if -x </usr/bin/uptime>; # Get system uptime ++$uptime = `/usr/bin/uptime` if -x </usr/bin/uptime>; # Get system uptime + #$uptime = `/usr/bsd/uptime` if -x </usr/bsd/uptime>; # or uptime is over here. + # + #($avg_1_minute, $avg_5_minutes, $avg_15_minutes) = +@@ -181,7 +177,7 @@ # majordomo has r/w permission to. # Uses the environment variable TMPDIR, since that's pretty common # --$TMPDIR = $ENV{'TMPDIR'} || '/usr/tmp'; +-$TMPDIR = $ENV{'TMPDIR'} || "/usr/tmp"; +$TMPDIR = '%%PREFIX%%/majordomo/tmp'; - # Tune the number of retries that shlock does before aborting. - # This defaults to 600, with a random sleep from 1-10 seconds between + # Tune how long set_lock tries to obtain a lock before giving up. Each + # attempt waits 1 to 10 seconds before trying again and waittime is diff --git a/mail/majordomo/files/patch-ac b/mail/majordomo/files/patch-ac index efe35459933f..5acf2de7b243 100644 --- a/mail/majordomo/files/patch-ac +++ b/mail/majordomo/files/patch-ac @@ -1,11 +1,11 @@ ---- contrib/digest.orig Sat Oct 26 13:53:02 1996 -+++ contrib/digest Sat Oct 26 13:53:23 1996 -@@ -318,7 +318,7 @@ +--- digest.orig Mon Dec 23 10:41:51 1996 ++++ digest Fri Dec 27 00:34:39 1996 +@@ -317,7 +317,7 @@ } else { # Read and execute the .cf file $cf = $ENV{"MAJORDOMO_CF"} || - "/etc/majordomo.cf"; + "%%PREFIX%%/majordomo/majordomo.cf"; - if (! -r $cf) { - &abort("$cf not readable; stopped"); - } + require "$cf"; + + chdir($homedir); |