Software Package:       
	pine

Release/Version:
	3.91

Retrieved from:
	ftp.cac.washington.edu:pine/pine3.91.tar.Z

Bug reports:
	This software package is maintained by the software contributor,
	not BSDI.  Please send any bug reports to both support@BSDI.COM
	and pine-bugs@cac.washington.edu.

Comments:
	The ipop2d and ipop3d binaries have been deleted from the BSD/OS
	2.1 distribution.  They're no longer part of the pine distribution,
	so we're no longer including them.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Modifications to this version made by BSDI:

diff -r -c pine3.91.orig/makefile pine3.91/makefile
*** pine3.91.orig/makefile	Fri Feb 25 11:38:38 1994
--- pine3.91/makefile	Thu Oct 26 11:12:07 1995
***************
*** 48,52 ****
  
  
  all:	
! 	@ echo 'Use the "build" command (shell script) to make Pine.'
! 	@ echo 'You can say "build help" for details on how it works.'
--- 48,59 ----
  
  
  all:	
! 	./build bsi
! clean cleandir:
! 	./build clean
! install:
! 	install -c -s -o bin -g bin -m 555 pine /usr/contrib/bin
! 	install -c -s -o bin -g bin -m 555 mtest /usr/contrib/bin
! 	install -c -s -o bin -g bin -m 555 imapd /usr/contrib/bin
! 	install -c -s -o bin -g bin -m 555 pico /usr/contrib/bin
! 	install -c -o bin -g bin -m 444 pine.0 /usr/contrib/man/cat1
diff -r -c pine3.91.orig/pico/os_unix.c pine3.91/pico/os_unix.c
*** pine3.91.orig/pico/os_unix.c	Mon Oct 10 17:28:57 1994
--- pine3.91/pico/os_unix.c	Thu Oct 26 10:39:19 1995
***************
*** 951,960 ****
  errstr(err)
  int err;
  {
- #ifndef	neb
-     extern char *sys_errlist[];
- #endif
-     extern int  sys_nerr;
  
      return((err >= 0 && err < sys_nerr) ? sys_errlist[err] : NULL);
  }
--- 951,956 ----
diff -r -c pine3.91.orig/pico/os_unix.h pine3.91/pico/os_unix.h
*** pine3.91.orig/pico/os_unix.h	Mon Oct 10 17:29:05 1994
--- pine3.91/pico/os_unix.h	Thu Oct 26 11:10:24 1995
***************
*** 103,109 ****
  /*
   * type qsort() expects
   */
! #if	defined(nxt) || defined(neb)
  #define	QSType	  void
  #define QcompType const void
  #else
--- 103,109 ----
  /*
   * type qsort() expects
   */
! #if	defined(BSDI) || defined(nxt) || defined(neb)
  #define	QSType	  void
  #define QcompType const void
  #else
***************
*** 123,129 ****
  #if	defined(sv3) || defined(ct) || defined(isc) || defined(AUX) || defined(sgi)
  #define	MAILDIR		"/usr/mail"
  #else
! #define	MAILDIR		"/usr/spool/mail"
  #endif
  
  
--- 123,129 ----
  #if	defined(sv3) || defined(ct) || defined(isc) || defined(AUX) || defined(sgi)
  #define	MAILDIR		"/usr/mail"
  #else
! #define	MAILDIR		"/var/mail"
  #endif
  
  
diff -r -c pine3.91.orig/pine/osdep/err_desc pine3.91/pine/osdep/err_desc
*** pine3.91.orig/pine/osdep/err_desc	Thu Jul 15 17:07:01 1993
--- pine3.91/pine/osdep/err_desc	Thu Oct 26 12:18:26 1995
***************
*** 1,5 ****
- extern char *sys_errlist[];
- 
  /*----------------------------------------------------------------------
         Return string describing the error
  
--- 1,3 ----
diff -r -c pine3.91.orig/pine/osdep/os-bsi.h pine3.91/pine/osdep/os-bsi.h
*** pine3.91.orig/pine/osdep/os-bsi.h	Mon Oct 10 16:29:46 1994
--- pine3.91/pine/osdep/os-bsi.h	Thu Oct 26 11:01:15 1995
***************
*** 133,140 ****
  
  
  /*----- System-wide config file ----------------------------------------*/
! #define SYSTEM_PINERC             "/usr/local/lib/pine.conf"
! #define SYSTEM_PINERC_FIXED       "/usr/local/lib/pine.conf.fixed"
  
  
  
--- 133,140 ----
  
  
  /*----- System-wide config file ----------------------------------------*/
! #define SYSTEM_PINERC             "/usr/contrib/lib/pine.conf"
! #define SYSTEM_PINERC_FIXED       "/usr/contrib/lib/pine.conf.fixed"
  
  
  
***************
*** 278,284 ****
  
  
  /*----- 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,
--- 278,284 ----
  
  
  /*----- 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,
***************
*** 286,292 ****
  
  
  /*--------- Program employed by users to change their password ---------*/
! #define	PASSWD_PROG	"/bin/passwd"
  
  
  /*-------------- A couple constants used to size arrays ----------------*/
--- 286,292 ----
  
  
  /*--------- Program employed by users to change their password ---------*/
! #define	PASSWD_PROG	"/usr/bin/passwd"
  
  
  /*-------------- A couple constants used to size arrays ----------------*/

*** os_unix.c.orig	Thu Oct 26 10:39:19 1995
--- os_unix.c	Thu Oct 26 12:50:42 1995
***************
*** 235,242 ****
   */
  ttclose()
  {
      if(Pmaster){
! 	signal(SIGHUP, SIG_DFL);
  #ifdef	SIGCONT
  	signal(SIGCONT, SIG_DFL);
  #endif
--- 235,250 ----
   */
  ttclose()
  {
+     /*
+      * Fix a problem with Pine sending itself a HUP on EOF, then receiving
+      * the real SIGHUP from the shell later -- we didn't ignore the second
+      * HUP and died.
+      *
+      * From: Donn Seeley <donn@bsdi.com>
+      */
      if(Pmaster){
! 	if (signal(SIGHUP, SIG_IGN) != SIG_IGN)
! 	    signal(SIGHUP, SIG_DFL);
  #ifdef	SIGCONT
  	signal(SIGCONT, SIG_DFL);
  #endif
