|Neu auf ftp.fu-berlin.de: die offizielle Version von Smail 3.1.23.
Und hier gleich der Patch von 3.1.23 auf 3.1.24
(er ist ja so schnuckelig kurz):
8<--8<--8<--8<--8<--8<--hier-abschnippeln--8<--8<--8<--8<--8<--8<--
#!/bin/sh
# This is a shell archive (produced by shar 3.49)
# To extract the files from this archive, save it to a file, remove
# everything above the "!/bin/sh" line above, and type "sh file_name".
#
# made 11/20/1991 14:32 UTC by fkk@stasys
# Source directory /sd2/pub
#
# existing files will NOT be overwritten unless -c is specified
#
# This shar contains:
# length mode name
# ------ ---------- ------------------------------------------
# 9015 -rw-r--r-- smail.diff-3.1.23-3.1.24
#
# ============= smail.diff-3.1.23-3.1.24 ==============
if test -f 'smail.diff-3.1.23-3.1.24' -a X"$1" != X"-c"; then
echo 'x - skipping smail.diff-3.1.23-3.1.24 (File already exists)'
else
echo 'x - extracting smail.diff-3.1.23-3.1.24 (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'smail.diff-3.1.23-3.1.24' &&
To: smail3...@cs.athabascau.ca, smail3-...@cs.athabascau.ca,
X smail...@veritas.com
Subject: EMERGENCY PATCH (Official patch #24)
X
Well, patch #23 was pretty short-lived. Please apply this patch
to make your smail well again.
--
X tron |-<=>-| ARPAnet: veritas!tr...@apple.com
X tr...@veritas.com UUCPnet: {apple,pyramid}!veritas!tron
---------------------------------------------------------------------------
CHANGES IN THE 3.1.24 RELEASE
X
Release 3.1.24 is an emergency patch release to smail3.1.23. This
release fixes two major bugs:
X
1. While reformatting the bind and tcpsmtp drivers, as written by
X Simon Leinen to match smail's coding style, I introduced a brace
X one line off, causing an infinite loop when writing some deferral
X messages to the log.
X
2. The "delete" operation in pathalias didn't work on the local host.
X This turns out to have been a bug in the general pathalias release,
X but smail's paths file generation facilities encourage use of this
X feature, causing this problem to be serious (for example, our site
X here started sending lots of mail through uunet, despite the fact
X that we only call uunet a few times per day, and only at night).
X
This release also contains a conf/os file for AIX on the PS/2, which
is, according to one person, substantially different from AIX3.1 on
the RS/6000.
---------------------------------------------------------------------------
The following changes should be applied to the version 3.1.23.6
sources for smail, to produce smail3.1.24.1. The version number
that you are running can be found in the `level' file at the top of
the source tree. It can also be found by running the command:
X
X smail -V -v
X
For information on smail releases and how you can obtain a complete
smail release or a patch release, send mail to the address:
X
X smail...@veritas.com
X
or to the !-style address:
X
X ...{amdahl,apple,pyramid,uunet}!veritas!smail-patch
X
include as the first line of the message one of the following lines:
X
X send help <addr>
X send index <addr>
X send patch <num> <addr>
X
where <num> is a single patch number (e.g., 17) or a single patch range
(e.g., 4-7) and where <addr> is your address relative to veritas. The
<addr> is optional and if omitted your return path is used.
X
The following patch should be applied to the smail3.1.23.6 release. To
apply this patch, obtain a copy of the program patch, release 2.0 or
higher. The patch utility has been posted to the USENET group
comp.sources.unix, and is available from most sites that archive
public domain programs. Apply this patch using the command:
X
X patch -p [-d /SMAIL_SOURCE_PATH] < this_patch_file
X
where "-d /SMAIL_SOURCE_PATH" specifies a root based path to the top of
the smail source tree, and where "patchfile" is the name of the file in
which this patch is stored. The "-d /SMAIL_SOURCE_PATH" is not needed
if the current directory is already the top of the smail source tree.
X
NOTE: Don't forget the -p !!!!!
X
Prereq: PATCH_NUMBER=23
Index: patchnum
***************
*** 1,3 ****
! # @(#)patchnum 1.11 11 Nov 1991 05:45:23
! PATCH_NUMBER=23
! PATCH_DATE=11-nov-91
--- 1,3 ----
! # @(#)patchnum 1.12 20 Nov 1991 01:02:34
! PATCH_NUMBER=24
! PATCH_DATE=20-nov-91
X
Prereq: 3.1.23.6
Index: level
***************
*** 1,2 ****
! # @(#)level 1.12 11 Nov 1991 05:45:21
! 3.1.23.6 Mon Nov 11 05:44:59 PST 1991
--- 1,2 ----
! # @(#)level 1.13 20 Nov 1991 01:02:30
! 3.1.24.1 Wed Nov 20 01:01:52 PST 1991
X
Index: conf/os/aix-ps2
***************
*** 0 ****
--- 1,18 ----
+ # @(#)conf/os/aix-ps2 1.1 20 Nov 1991 01:00:37
+ # aix-ps2 - define the characteristics of IBM AIX For PS/2
+ #
+ # Initial hack by Tim Daneliuk (tun...@tundraix.chi.il.us)
+ # VERY similar to BSD 4.3, but with minor variations because of the
+ # fascinating way IBM organizes directories (!) and the interesting (?)
+ # manner in which the glue SYS V and BSD together...sigh
+
+ . $ROOT/conf/os/bsd4.3
+
+ # OSNAMES - Names defining this operating system
+ OSNAMES=$OSNAMES:AIX_PS2
+
+ # HAVE - what features should be used with this operating system
+ HAVE=$HAVE:USE_TZNAME
+
+ # UUCP_SYSTEM_FILE - path to UUCP file containing remote systems
+ UUCP_SYSTEM_FILE=/usr/adm/uucp/Systems
X
Index: README
***************
*** 56,61 ****
--- 56,83 ----
X delivery_mode=queued
X
X
+ CHANGES IN THE 3.1.24 RELEASE
+
+ Release 3.1.24 is an emergency patch release to smail3.1.23. This
+ release fixes two major bugs:
+
+ 1. While reformatting the bind and tcpsmtp drivers, as written by
+ Simon Leinen to match smail's coding style, I introduced a brace
+ one line off, causing an infinite loop when writing some deferral
+ messages to the log.
+
+ 2. The "delete" operation in pathalias didn't work on the local host.
+ This turns out to have been a bug in the general pathalias release,
+ but smail's paths file generation facilities encourage use of this
+ feature, causing this problem to be serious (for example, our site
+ here started sending lots of mail through uunet, despite the fact
+ that we only call uunet a few times per day, and only at night).
+
+ This release also contains a conf/os file for AIX on the PS/2, which
+ is, according to one person, substantially different from AIX3.1 on
+ the RS/6000.
+
+
X CHANGES IN THE 3.1.23 RELEASE
X
X Release 3.1.23 is a patch release to smail3.1.22. This release is
X
Index: pd/pathalias/parse.y
***************
*** 1,5 ****
X %{
! /* Smail SCCS ID: @(#)pd/pathalias/parse.y 1.4 %G 05:29:59 */
X /* pathalias -- by steve bellovin, as told to peter honeyman */
X #ifndef lint
X static char *sccsid = "@(#)parse.y 9.10 88/09/07";
--- 1,5 ----
X %{
! /* Smail SCCS ID: @(#)pd/pathalias/parse.y 1.5 %G 19:37:27 */
X /* pathalias -- by steve bellovin, as told to peter honeyman */
X #ifndef lint
X static char *sccsid = "@(#)parse.y 9.10 88/09/07";
***************
*** 28,33 ****
--- 28,36 ----
X extern int optind;
X extern char *Cfile, *Netchars, **Argv;
X extern int Lineno, Argc;
+ #ifdef SMAIL_3
+ extern node *Home; /* node for local host */
+ #endif
X
X /* privates */
X STATIC void fixnet(), adjust();
***************
*** 197,203 ****
--- 200,212 ----
X
X n = addnode($1);
X deletelink(n, (node *) 0);
+ #ifndef SMAIL_3
X n->n_flag |= ISPRIVATE;
+ #else
+ if (n != Home) {
+ n->n_flag |= ISPRIVATE;
+ }
+ #endif
X }
X | usite NET usite {deletelink($1, $3);}
X ;
X
Index: src/sysdep.c
***************
*** 1,4 ****
! /* @(#)src/sysdep.c 1.14 03 Nov 1991 04:56:52 */
X
X /*
X * Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
--- 1,4 ----
! /* @(#)src/sysdep.c 1.15 20 Nov 1991 00:57:50 */
X
X /*
X * Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
***************
*** 95,101 ****
X extern char *getenv();
X extern char *getlogin();
X extern char *ctime();
! #if !defined(UNIX_SYS5) && !defined(POSIX_OS)
X extern char *timezone();
X #endif /* UNIX_SYS5 */
X #ifndef ANSI_C
--- 95,101 ----
X extern char *getenv();
X extern char *getlogin();
X extern char *ctime();
! #if !defined(UNIX_SYS5) && !defined(POSIX_OS) && !defined(USE_TZNAME)
X extern char *timezone();
X #endif /* UNIX_SYS5 */
X #ifndef ANSI_C
***************
*** 208,214 ****
X get_time_zone(ltm)
X struct tm *ltm;
X {
! #if defined(UNIX_BSD) && !defined(POSIX_OS) || defined(USE_GETTIMEOFDAY)
X struct timeval tv;
X struct timezone tz;
X (void) gettimeofday(&tv, &tz);
--- 208,214 ----
X get_time_zone(ltm)
X struct tm *ltm;
X {
! #if (defined(UNIX_BSD) && !defined(POSIX_OS) || defined(USE_GETTIMEOFDAY)) && !defined(USE_TZNAME)
X struct timeval tv;
X struct timezone tz;
X (void) gettimeofday(&tv, &tz);
***************
*** 217,223 ****
X if (tznodst) ltm->tm_isdst = 0;
X #endif /* GLOTZNET */
X return timezone(tz.tz_minuteswest, ltm->tm_isdst);
! #else /* (not UNIX_BSD || POSIX_OS) && not USE_GETTIMEOFDAY */
X # if defined(UNIX_SYS5) || defined(POSIX_OS) || defined(USE_TZNAME)
X extern char *tzname[2];
X
--- 217,223 ----
X if (tznodst) ltm->tm_isdst = 0;
X #endif /* GLOTZNET */
X return timezone(tz.tz_minuteswest, ltm->tm_isdst);
! #else /* (not UNIX_BSD || POSIX_OS) && !USE_GETTIMEOFDAY && !USE_TZNAME */
X # if defined(UNIX_SYS5) || defined(POSIX_OS) || defined(USE_TZNAME)
X extern char *tzname[2];
X
X
Index: src/transports/tcpsmtp.c
***************
*** 1,4 ****
! /* @(#)src/transports/tcpsmtp.c 1.8 10 Nov 1991 05:57:34 */
X
X /*
X * Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
--- 1,4 ----
! /* @(#)src/transports/tcpsmtp.c 1.9 20 Nov 1991 00:47:09 */
X
X /*
X * Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
***************
*** 109,116 ****
X }
X }
X #undef mx_hint
- insert_addr_list(addr, defer, error);
X }
X } else {
X struct in_addr ipaddr;
X short family;
--- 109,116 ----
X }
X }
X #undef mx_hint
X }
+ insert_addr_list(addr, defer, error);
X } else {
X struct in_addr ipaddr;
X short family;
SHAR_EOF
chmod 0644 smail.diff-3.1.23-3.1.24 ||
echo 'restore of smail.diff-3.1.23-3.1.24 failed'
Wc_c="`wc -c < 'smail.diff-3.1.23-3.1.24'`"
test 9015 -eq "$Wc_c" ||
echo 'smail.diff-3.1.23-3.1.24: original size 9015, current size' "$Wc_c"
fi
exit 0
--
| Frank Kaefer | f...@stasys.sta.sub.org | Starnberg, Germany |
| Compuserve: 72427,2101 | Internet: f...@Germany.Sun.COM |
| unido!sunde!fkaefer | postm...@Germany.Sun.COM |