Subject: Port of Pine 3.89 to BSDI BSD/386 ver 1.1

From: Alex A Sergejew <[email-masked]>
Date: Sat, 2 Apr 1994 22:46:29 +1000

I have successfully ported pine-3.89 to run under BSDI BSD/386 version 1.1
and append the patches in the form of context diffs with respect to the
distribution tree from ftp.cac.washington.edu:/mail/pine3.89.tar.Z

These patches are based on the distributed "bsi" port to BSD/386 Gamma 4.1
as submitted to washington by Michael F. Santangelo <[email-masked]>,
and the patches to pine3.87 posted to comp.os.386bsd.apps on Oct 31 1993
by Alex Tang <[email-masked]>

Get and untar the distribution tar file, run these patches out of the pine3.89
directory, then do "build bsi"  (then copy the binaries to somewhere like
/usr/local/bin).

It would be nice if these patches replaced those based on the obsolete
BSD/386 Gamma release in the canonical Pine distribution...

Alex.
-- 
Dr Alex A Sergejew,   Center for Applied Neurosciences,   Swinburne    _--_|\
University of Technology, PO Box 218, Hawthorn, Vic 3122, Australia.  /      \
Internet: [email-masked] or [email-masked]              \_.--.x/
Phone:    (voice) +61-3-819 8891      (fax) +61-3-819 0856                  v
------------------------------------------------------------------------------
*** ./imap/ANSI/c-client/makefile.bsi.orig	Wed Nov 10 11:24:37 1993
--- ./imap/ANSI/c-client/makefile.bsi	Sat Apr  2 21:05:56 1994
***************
*** 31,37 ****
  RSH = rsh
  RSHPATH = /usr/bin/rsh
  OSDEFS = -DRSH=\"$(RSH)\" -DRSHPATH=\"$(RSHPATH)\"
! CFLAGS = -g -O -pipe
  LDFLAGS =
  
  mtest: mtest.o c-client.a
--- 31,37 ----
  RSH = rsh
  RSHPATH = /usr/bin/rsh
  OSDEFS = -DRSH=\"$(RSH)\" -DRSHPATH=\"$(RSHPATH)\"
! CFLAGS = -O -pipe
  LDFLAGS =
  
  mtest: mtest.o c-client.a
*** ./pico/os_unix.h.orig	Tue Nov  9 06:14:02 1993
--- ./pico/os_unix.h	Sat Apr  2 20:46:14 1994
***************
*** 102,108 ****
  #define QcompType const void
  #else
  #define	QSType	  int
! #define QcompType void
  #endif
  
  /*
--- 102,108 ----
  #define QcompType const void
  #else
  #define	QSType	  int
! #define QcompType const void
  #endif
  
  /*
*** ./pico/makefile.bsi.orig	Tue Aug 17 08:33:30 1993
--- ./pico/makefile.bsi	Sat Apr  2 20:46:24 1994
***************
*** 40,49 ****
  #
  
  #includes symbol info for debugging 
! DASHO=		-g
  #for normal build
! #DASHO=		-O
  
  CFLAGS=		-DBSDI -DJOB_CONTROL -DANSI
  
  # switches for library building
--- 40,50 ----
  #
  
  #includes symbol info for debugging 
! #DASHO=		-g
  #for normal build
! DASHO=		-O
  
+ #CFLAGS=		-DBSDI -DJOB_CONTROL -DANSI -traditional
  CFLAGS=		-DBSDI -DJOB_CONTROL -DANSI
  
  # switches for library building
*** ./pine/osdep/os-bsi.h.orig	Tue Nov 16 11:33:13 1993
--- ./pine/osdep/os-bsi.h	Sat Apr  2 21:03:18 1994
***************
*** 171,176 ****
--- 171,181 ----

+ /*----------------- Where does incoming mail go? -----------------------*/
+ 
+ #define MAILSPOOLPCTS		"/var/mail/%s"
+ 
+ 
  /*----------------- Are we ANSI? ---------------------------------------*/
  #define ANSI          /* this is an ANSI compiler */
  
***************
*** 206,214 ****

  /*----------------- time.h ---------------------------------------------*/
! #include <time.h>
  /* plain time.h isn't enough on some systems */
! /* #include <sys/time.h>  /* For struct timeval usually in time.h */ 

--- 211,219 ----

  /*----------------- time.h ---------------------------------------------*/
! /*#include <time.h>*/
  /* plain time.h isn't enough on some systems */
! #include <sys/time.h>  /* For struct timeval usually in time.h */ 

***************
*** 264,270 ****

  /*----- The usual sendmail configuration for sending mail on Unix ------*/
! #define SENDMAIL	"/usr/lib/sendmail"
  #define SENDMAILFLAGS	"-oi -oem -t"	/* ignore dots in incoming mail,
  					   mail back errors, and
  					   get recipients from To, cc,
--- 269,275 ----

  /*----- The usual sendmail configuration for sending mail on Unix ------*/
! #define SENDMAIL	"/usr/sbin/sendmail"
  #define SENDMAILFLAGS	"-oi -oem -t"	/* ignore dots in incoming mail,
  					   mail back errors, and
  					   get recipients from To, cc,
*** ./pine/makefile.bsi.orig	Tue Aug 17 08:54:15 1993
--- ./pine/makefile.bsi	Sat Apr  2 20:45:51 1994
***************
*** 57,65 ****
  RM=          rm -f
  LN=          ln -s
  MAKE=        make
  OPTIMIZE=    -O
  PROFILE=     # -pg
! DEBUG=       -g -DDEBUG
  
  LIBES=       -ltermlib
  LOCLIBES=    ../pico/libpico.a ../c-client/c-client.a
--- 57,67 ----
  RM=          rm -f
  LN=          ln -s
  MAKE=        make
+ #OPTIMIZE=    -O -traditional
  OPTIMIZE=    -O
  PROFILE=     # -pg
! #DEBUG=       -g -DDEBUG
! DEBUG=       -DDEBUG
  
  LIBES=       -ltermlib
  LOCLIBES=    ../pico/libpico.a ../c-client/c-client.a
***************
*** 135,141 ****
  	$(RM) os.c
  	$(LN) osdep/os-bsi.c os.c
  
! osdep/os-nxt.c:	osdep/bld_path osdep/canacces osdep/canonicl \
  		osdep/chnge_pw osdep/coredump osdep/creatdir \
  		osdep/diskquot.non osdep/domnames osdep/err_desc \
  		osdep/expnfldr osdep/fgetpos osdep/filesize osdep/fltrname \
--- 137,143 ----
  	$(RM) os.c
  	$(LN) osdep/os-bsi.c os.c
  
! osdep/os-bsi.c:	osdep/bld_path osdep/canacces osdep/canonicl \
  		osdep/chnge_pw osdep/coredump osdep/creatdir \
  		osdep/diskquot.non osdep/domnames osdep/err_desc \
  		osdep/expnfldr osdep/fgetpos osdep/filesize osdep/fltrname \
------------------------------------------------------------------------------

---

From: David L Miller <[email-masked]>
Date: Sat, 2 Apr 1994 09:33:44 -0800 (PST)

Alex,

Thanks for the contribution!

--DLM

|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing, JE-20
4545 15th Ave NE, Seattle WA 98105, USA