Subject: folder collections solved

From: Carine Ullom <[email-masked]>
Date: Thu, 17 Jun 1999 15:04:17 -0500 (CDT)

Hello,
I've solved my own problem but thought I'd post it for the benefit of
others. 
Original problem:
Pine 4.10 wouldn't allow me to move between folder collections after
updgrading from 3.95 (UNIX).

Solution/Explanation:
My 3.95 version of Pine had 'hand made' folder groups before they were
known as collections.  Evidently, during the upgrade, when the folder
collection list was created, all of my collections were given the same
name (Mail on server.edu).  Thus, Pine saw them as all the same collection
and therefore had nothing to advance to (^N) when attempting to save to a
collection other than the current one.  Clear as mud?
Carine

Carine Ullom	
Software Training Specialist
Academic Computing Services
University of Kansas
Computer Center
Lawrence, KS  66045
PH: 785-864-0467
FX: 785-864-0485
e-mail: [email-masked]

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Jessica Rasku <[email-masked]>
Date: Thu, 17 Jun 1999 15:46:02 -0700 (PDT)

> collection other than the current one.  Clear as mud?

	It's clear to me that you don't have the problem quite sussed out.
It WAS changing, but because they just had the ``name'' portion as the
same, you simply couldn't see it.  The same thing happenend to me, I
thought it wasn't changing, but on further examination, I could see that
it actually was changing, just I couldn't see it.

							Jessica

-- 
Jessica Rasku, Box 270, Rossland, B.C., V0G 1Y0, (250) 362-5701, 
LinuxBox: (250) 362-9668.

List manager: [email-masked] 
     send command help ---- To get help with majordomo
               or lists ---- To get a list of all lists on server.

WWW: <http://www.geocities.com/RainForest/Andes/8749>

---

From: Thomas Woerner <[email-masked]>
Date: Sun, 20 Jun 1999 21:11:41 +0200 (MEST)

Hello,

I have made a patch for pine-4.10 to work with OpenSSL-0.9.3a. It works
fine for Linux (glibc), HPUX-10 and HPUX-11 - others not tested, yet.

Features

If pine is configured to make a connection to an imap server, it will
first try to connect via SSL to port 993 (imaps) of the server. If this
SSL connection fails the 'normal' uncrypted connection will be tried.

Build

Compile and install OpenSSL-0.9.3a 
Set the OPENSSLDIR if you have not installed in /usr/local/ssl (default)
Extract the pine4.10 source
Apply the patch:
  go into the pine directory and type 'patch -p1 < ../pine4.10-ssl.diff'
Build pine:
  build lxs (for Linux)
  build hps (for HPUX)

Ciao 
 -tom-
 __
      __             T h o m a s   W o e r n e r
    _/ / ___  ____   Zentrum fuer Datenverarbeitung (ZDV)
   /  _// _ \/    \  Wilhelmstrasse 106,  72074 Tuebingen, GERMANY
   / /_/ // / / / /    EMAIL: [email-masked]
   \__/\___/_/_/_/     ROOM: 019  PHONE: +49-7071-2970281

___________________________________________________________________________
diff -crN pine4.10/build pine4.10-ssl/build
*** pine4.10/build	Wed Dec 16 00:53:29 1998
--- pine4.10-ssl/build	Sun Jun 20 17:09:55 1999
***************
*** 102,107 ****
--- 102,109 ----
    
  EOF
                   
+ OPENSSLDIR=${OPENSSLDIR:-"/usr/local/ssl"}
+ export OPENSSLDIR
  
  # If no args, build what was built last time.
  if [ $# -eq 0 ]
***************
*** 196,201 ****
--- 198,204 ----
     gs4) ccltarg=gso;       picotarg=gso;       pinetarg=$maketarg ;;
     gs5) ccltarg=gso;       picotarg=gso;       pinetarg=$maketarg ;;
     hpx) ccltarg=$maketarg; picotarg=hpp;       pinetarg=$maketarg ;;
+    hps) ccltarg=$maketarg; picotarg=hpp;       pinetarg=hpx ;;
     hxd) ccltarg=$maketarg; picotarg=hpp;       pinetarg=hpx ;;
     lnp) ccltarg=$maketarg; picotarg=lnx;       pinetarg=$picotarg ;;
     nx3) ccltarg=$maketarg; picotarg=nxt;       pinetarg=$picotarg ;;
***************
*** 205,210 ****
--- 208,214 ----
     slx) ccltarg=$maketarg; picotarg=lnx;       pinetarg=$picotarg ;;
     sl4) ccltarg=$maketarg; picotarg=lnx;       pinetarg=$picotarg ;;
     sl5) ccltarg=$maketarg; picotarg=lnx;       pinetarg=$picotarg ;;
+    lxs) ccltarg=$maketarg; picotarg=lnx;       pinetarg=$maketarg ;;
     so4) ccltarg=sol;       picotarg=sol;       pinetarg=$maketarg ;;
     so5) ccltarg=sol;       picotarg=sol;       pinetarg=$maketarg ;;
     sos) ccltarg=$maketarg; picotarg=osf;       pinetarg=$picotarg ;;
diff -crN pine4.10/imap/Makefile pine4.10-ssl/imap/Makefile
*** pine4.10/imap/Makefile	Thu Jan 28 00:33:11 1999
--- pine4.10-ssl/imap/Makefile	Sun Jun 20 17:09:55 1999
***************
*** 240,245 ****
--- 240,246 ----
  # gul	GCC RISC Ultrix (DEC-5000)
  # hpp	HP-UX 9.x
  # hpx	HP-UX 10.x
+ # hps	HP-UX 10.x with OpenSSL
  # hxd	HP-UX 10.x with DCE security
  # isc	Interactive Systems
  # lnx	Linux with traditional passwords and crypt() in the C library
***************
*** 263,268 ****
--- 264,270 ----
  # sl4	Linux using -lshadow to get the crypt() function
  # sl5	Linux with shadow passwords, no extra libraries
  # slx	Linux using -lcrypt to get the crypt() function
+ # lxs	Linux using -lcrypt to get the crypt() function ans OpenSSL
  # snx	Siemens Nixdorf SININX or Reliant UNIX
  # sol	Solaris (won't work unless "ucbcc" works -- use gso instead)
  # sos	OSF/1 with SecureWare
***************
*** 283,289 ****
  
  # Note on SCO you may have to set LN to "ln".
  
! a32 a41 aix bs3 bsf bsi bso d-g d54 drs epx gas gh9 ghp gs5 gso gsu gul hpp hpx lnp lyn mct mnt neb nxt nx3 osf os4 ptx qnx sc5 sco sgi shp sl4 sl5 slx snx sol sos uw2: an
  	$(BUILD) OS=$@
  
  # If you use sv4, you may find that it works to move it to use the an process.
--- 285,291 ----
  
  # Note on SCO you may have to set LN to "ln".
  
! a32 a41 aix bs3 bsf bsi bso d-g d54 drs epx gas gh9 ghp gs5 gso gsu gul hpp hpx hps lnp lyn mct mnt neb nxt nx3 osf os4 ptx qnx sc5 sco sgi shp sl4 sl5 slx lxs snx sol sos uw2: an
  	$(BUILD) OS=$@
  
  # If you use sv4, you may find that it works to move it to use the an process.
diff -crN pine4.10/imap/src/osdep/unix/Makefile pine4.10-ssl/imap/src/osdep/unix/Makefile
*** pine4.10/imap/src/osdep/unix/Makefile	Wed Jan 27 00:19:19 1999
--- pine4.10-ssl/imap/src/osdep/unix/Makefile	Sun Jun 20 17:09:55 1999
***************
*** 328,333 ****
--- 328,342 ----
  	 BASELDFLAGS="-lnet -lV3" \
  	 RANLIB=true
  
+ hps:	# HP-UX 10.x width OpenSSL
+ 	$(BUILD) `cat EXTRASPECIALS` OS=hpp SIGTYPE=psx \
+ 	 SPOOLDIR=/var \
+ 	 ACTIVEFILE=/var/news/active \
+ 	 RSHPATH=/usr/bin/remsh \
+ 	 BASECFLAGS="-g -Ae -DNFSKLUDGE -DHAVE_SSL -I$(OPENSSLDIR)/include/openssl" \
+ 	 BASELDFLAGS="-lnet -lV3 -L$(OPENSSLDIR)/lib -lssl -lcrypto" \
+ 	 RANLIB=true
+ 
  isc:	# Interactive
  	$(BUILD) `cat EXTRASPECIALS` OS=$@ SIGTYPE=sv4 CHECKPW=sv4 LOGINPW=sv4 \
  	 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
***************
*** 492,498 ****
  	 SPOOLDIR=/var/spool \
  	 ACTIVEFILE=/var/lib/news/active \
  	 RSHPATH=/usr/bin/rsh \
! 	 BASECFLAGS="-g -fno-omit-frame-pointer -O6 -DNFSKLUDGE"
  
  snx:	# Siemens Nixdorf SINIX and Reliant UNIX
  	$(BUILD) `cat EXTRASPECIALS` OS=sv4 SIGTYPE=psx CHECKPW=sv4 \
--- 501,516 ----
  	 SPOOLDIR=/var/spool \
  	 ACTIVEFILE=/var/lib/news/active \
  	 RSHPATH=/usr/bin/rsh \
! 	 BASECFLAGS="-g -fno-omit-frame-pointer -O6 -DNFSKLUDGE" \
! 	 BASELDFLAGS=""
! 
! lxs:	# Linux OpenSSL
! 	$(BUILD) `cat EXTRASPECIALS` OS=slx SIGTYPE=psx CHECKPW=psx \
! 	 SPOOLDIR=/var/spool \
! 	 ACTIVEFILE=/var/lib/news/active \
! 	 RSHPATH=/usr/bin/rsh \
! 	 BASECFLAGS="-g -fno-omit-frame-pointer -O6 -DNFSKLUDGE -DHAVE_SSL -I$(OPENSSLDIR)/include/openssl" \
! 	 BASELDFLAGS="-L$(OPENSSLDIR)/lib -lssl -lcrypto"
  
  snx:	# Siemens Nixdorf SINIX and Reliant UNIX
  	$(BUILD) `cat EXTRASPECIALS` OS=sv4 SIGTYPE=psx CHECKPW=sv4 \
diff -crN pine4.10/imap/src/osdep/unix/tcp_unix.c pine4.10-ssl/imap/src/osdep/unix/tcp_unix.c
*** pine4.10/imap/src/osdep/unix/tcp_unix.c	Sun Oct 25 17:28:04 1998
--- pine4.10-ssl/imap/src/osdep/unix/tcp_unix.c	Sun Jun 20 17:13:53 1999
***************
*** 124,130 ****
   * Returns: TCP/IP stream if success else NIL
   */
  
! TCPSTREAM *tcp_open (char *host,char *service,unsigned long port)
  {
    TCPSTREAM *stream = NIL;
    int i,j,sock;
--- 124,130 ----
   * Returns: TCP/IP stream if success else NIL
   */
  
! TCPSTREAM *_tcp_open (char *host,char *service,unsigned long port)
  {
    TCPSTREAM *stream = NIL;
    int i,j,sock;
***************
*** 136,141 ****
--- 136,142 ----
    char hostname[MAILTMPLEN];
    char tmp[MAILTMPLEN];
    struct servent *sv = NIL;
+ 
    if (service) {		/* service specified? */
      if (*service == '*') {	/* yes, special alt driver kludge? */
        ctrp = NIL;		/* yes, don't do open timeout */
***************
*** 205,214 ****
      if (stream->ictr = ctr) *(stream->iptr = stream->ibuf) = tmp[0];
  				/* copy official host name */
      stream->host = cpystr (hostname);
!   }
    return stream;		/* return success */
  }
  
  /* Open a TCP socket
   * Accepts: Internet socket address block
   *	    scratch buffer
--- 206,280 ----
      if (stream->ictr = ctr) *(stream->iptr = stream->ibuf) = tmp[0];
  				/* copy official host name */
      stream->host = cpystr (hostname);
!   }  
! 
    return stream;		/* return success */
  }
  
+ /* TCP/IP open wrapper
+  * Accepts: host name
+  *	    contact service name
+  *	    contact port number
+  * Returns: TCP/IP stream if success else NIL
+  */
+ 
+ TCPSTREAM *tcp_open (char *host,char *service,unsigned long port)
+ /*
+  * wrapper for tcp_open:
+  * make a ssl call if supported and fall back to normal connection if failed
+  * (c) 1999 Thomas Woerner, ZDV Tuebingen - Germany
+  *  <[email-masked]>
+  */
+ {
+     TCPSTREAM *stream = NIL;
+ #ifdef HAVE_SSL
+     static SSL     *ssl;
+     static SSL_CTX *ssl_ctx;
+     char tmp[1024];
+ 
+     SSL_load_error_strings();
+     SSLeay_add_ssl_algorithms();
+     ssl_ctx=SSL_CTX_new(SSLv23_client_method());
+     SSL_CTX_set_options(ssl_ctx,SSL_OP_ALL);
+     
+     ssl = SSL_new(ssl_ctx);
+     SSL_set_verify(ssl, SSL_VERIFY_NONE, NULL);
+     
+     stream = _tcp_open(host, "imaps", 993);
+     if (stream != NIL) {
+ 	stream->use_ssl = 1;
+ 	SSL_set_fd(ssl, stream->tcpsi);
+ 	
+ 	// try to make SSL connection
+ 	if (SSL_connect(ssl) > 0) {
+ //	    PutLine0(1, 0, "SSL");
+ 	    
+ 	    stream->ctx = ssl_ctx;
+ 	    stream->ssl = ssl;
+ 
+ 	    return stream;
+ 	}
+ 	// connection failed ..
+ 	stream->use_ssl = 0;
+ //	sprintf(tmp, "SSL_connect error %s", ERR_error_string(ERR_get_error(),
+ //							      NULL));
+ //	mm_log(tmp, WARN);
+ 
+ 	tcp_close(stream);
+     } else {
+ 	SSL_free(ssl);
+ 	SSL_CTX_free(ssl_ctx);
+     }
+ 
+     mm_log("SSL connection failed - falling back to normal mode", WARN);
+ #endif /* HAVE_SSL */
+ 
+     stream->use_ssl = 0;
+     stream = _tcp_open(host, service, port);
+ 
+     return stream;		/* return success */
+ }
+ 
  /* Open a TCP socket
   * Accepts: Internet socket address block
   *	    scratch buffer
***************
*** 262,267 ****
--- 328,334 ----
        close (sock);		/* flush socket */
        return -1;
      }
+ 
      tmo.tv_sec = ttmo_open;	/* open timeout */
      tmo.tv_usec = 0;
      FD_ZERO (&fds);		/* initialize selection vector */
***************
*** 275,281 ****
        fcntl (sock,F_SETFL,flgs);/* restore blocking status */
        /* This used to be a zero-byte read(), but that crashes Solaris */
  				/* get socket status */
!       while (((i = *ctr = read (sock,tmp,1)) < 0) && (errno == EINTR));
      }	
      if (i <= 0) {		/* timeout or error? */
        i = i ? errno : ETIMEDOUT;/* determine error code */
--- 342,350 ----
        fcntl (sock,F_SETFL,flgs);/* restore blocking status */
        /* This used to be a zero-byte read(), but that crashes Solaris */
  				/* get socket status */
!       i = 1;
! // this line causes a SSL problems :-(
! //      while (((i = *ctr = read (sock,tmp,1)) < 0) && (errno == EINTR));
      }	
      if (i <= 0) {		/* timeout or error? */
        i = i ? errno : ETIMEDOUT;/* determine error code */
***************
*** 286,291 ****
--- 355,361 ----
        return -1;
      }
    }
+ 
    return sock;			/* return the socket */
  }
    
***************
*** 329,334 ****
--- 399,405 ----
    if (!rshpath) rshpath = cpystr (RSHPATH);
    if (!rshcommand) rshcommand = cpystr ("%s %s -l %s exec /etc/r%sd");
  				/* build rsh command */
+ 
    sprintf (tmp,rshcommand,rshpath,host,mb->user[0] ? mb->user : myusername (),
  	   service);
    for (i = 1,path = argv[0] = strtok (tmp," ");
***************
*** 488,495 ****
        else return tcp_abort (stream);
      }
      else if (i < 0) return tcp_abort (stream);
!     while (((i = read (stream->tcpsi,stream->ibuf,BUFLEN)) < 0) &&
! 	   (errno == EINTR));
      if (i < 1) return tcp_abort (stream);
      stream->iptr = stream->ibuf;/* point at TCP buffer */
      stream->ictr = i;		/* set new byte count */
--- 559,574 ----
        else return tcp_abort (stream);
      }
      else if (i < 0) return tcp_abort (stream);
! 
!     if (stream->use_ssl) {
! #ifdef HAVE_SSL
! 	while (((i = SSL_read (stream->ssl,stream->ibuf,BUFLEN)) < 0) &&
! 	       (errno == EINTR)) mm_log(stream->ibuf, ERROR);
! #endif /* HAVE_SSL */
!     } else
! 	while (((i = read (stream->tcpsi,stream->ibuf,BUFLEN)) < 0) &&
! 	       (errno == EINTR));
! 
      if (i < 1) return tcp_abort (stream);
      stream->iptr = stream->ibuf;/* point at TCP buffer */
      stream->ictr = i;		/* set new byte count */
***************
*** 538,544 ****
        else return tcp_abort (stream);
      }
      else if (i < 0) return tcp_abort (stream);
!     while (((i = write (stream->tcpso,string,size)) < 0) && (errno == EINTR));
      if (i < 0) return tcp_abort (stream);
      size -= i;			/* how much we sent */
      string += i;
--- 617,632 ----
        else return tcp_abort (stream);
      }
      else if (i < 0) return tcp_abort (stream);
! 
!     if (stream->use_ssl) {
! #ifdef HAVE_SSL
! 	while (((i = SSL_write (stream->ssl,string,size)) < 0) &&
! 	       (errno == EINTR));
! #endif /* HAVE_SSL */
!     } else
! 	while (((i = write (stream->tcpso,string,size)) < 0) &&
! 	       (errno == EINTR));
! 
      if (i < 0) return tcp_abort (stream);
      size -= i;			/* how much we sent */
      string += i;
diff -crN pine4.10/imap/src/osdep/unix/tcp_unix.h pine4.10-ssl/imap/src/osdep/unix/tcp_unix.h
*** pine4.10/imap/src/osdep/unix/tcp_unix.h	Thu Sep 17 03:04:02 1998
--- pine4.10-ssl/imap/src/osdep/unix/tcp_unix.h	Sun Jun 20 17:09:55 1999
***************
*** 33,44 ****
   *
   */

  /* TCP input buffer */
  
  #define BUFLEN 8192
  
- 
  /* TCP I/O stream */
  
  #define TCPSTREAM struct tcp_stream
--- 33,48 ----
   *
   */
  
+ #ifdef HAVE_SSL
+ #include <stdio.h>
+ #include "err.h"
+ #include "ssl.h"
+ #endif /* HAVE_SSL */
  
  /* TCP input buffer */
  
  #define BUFLEN 8192
  
  /* TCP I/O stream */
  
  #define TCPSTREAM struct tcp_stream
***************
*** 52,55 ****
--- 56,65 ----
    int ictr;			/* input counter */
    char *iptr;			/* input pointer */
    char ibuf[BUFLEN];		/* input buffer */
+ 
+   int use_ssl;
+ #ifdef HAVE_SSL
+   SSL     *ssl;
+   SSL_CTX *ctx;
+ #endif /* HAVE_SSL */
  };
diff -crN pine4.10/pico/makefile.lnx pine4.10-ssl/pico/makefile.lnx
*** pine4.10/pico/makefile.lnx	Tue Jun 30 01:17:37 1998
--- pine4.10-ssl/pico/makefile.lnx	Sun Jun 20 17:09:55 1999
***************
*** 48,54 ****
  LIBARGS=	ru
  RANLIB=		ranlib
  
! LIBS=		$(EXTRALIBES) -ltermcap
  
  OFILES=		attach.o basic.o bind.o browse.o buffer.o \
  		composer.o display.o file.o fileio.o line.o pico_os.o \
--- 48,54 ----
  LIBARGS=	ru
  RANLIB=		ranlib
  
! LIBS=		$(EXTRALIBES) -lncurses
  
  OFILES=		attach.o basic.o bind.o browse.o buffer.o \
  		composer.o display.o file.o fileio.o line.o pico_os.o \
diff -crN pine4.10/pine/makefile.hps pine4.10-ssl/pine/makefile.hps
*** pine4.10/pine/makefile.hps	Thu Jan  1 01:00:00 1970
--- pine4.10-ssl/pine/makefile.hps	Sun Jun 20 17:09:55 1999
***************
*** 0 ****
--- 1,134 ----
+ # $Id: makefile.hps,v 4.41 1998/08/27 16:49:32 hubert Exp $
+ #
+ #            T H E    P I N E    M A I L   S Y S T E M
+ #
+ #   Laurence Lundblade and Mike Seibel
+ #   Networks and Distributed Computing
+ #   Computing and Communications
+ #   University of Washington
+ #   Administration Building, AG-44
+ #   Seattle, Washington, 98195, USA
+ #   Internet: [email-masked]
+ #             [email-masked]
+ #
+ #   Please address all bugs and comments to "[email-masked]"
+ #
+ #
+ #   Pine and Pico are registered trademarks of the University of Washington.
+ #   No commercial use of these trademarks may be made without prior written
+ #   permission of the University of Washington.
+ #
+ #   Pine, Pico, and Pilot software and its included text are Copyright
+ #   1989-1998 by the University of Washington.
+ #
+ #   The full text of our legal notices is contained in the file called
+ #   CPYRIGHT, included with this distribution.
+ #
+ #
+ #   Pine is in part based on The Elm Mail System:
+ #    ***********************************************************************
+ #    *  The Elm Mail System  -  Revision: 2.13                             *
+ #    *                                                                     *
+ #    * 			Copyright (c) 1986, 1987 Dave Taylor               *
+ #    * 			Copyright (c) 1988, 1989 USENET Community Trust    *
+ #    ***********************************************************************
+ #
+ #
+ 
+ 
+ #
+ #     Make file for the Pine mail system for HP/UX.
+ #
+ #   Most commonly fiddled flags for compiler.
+ #   Uncomment the setttings desired here
+ #
+ RM=          rm -f
+ LN=          ln -s
+ MAKE=        make
+ OPTIMIZE=    # -O
+ PROFILE=     # -pg
+ DEBUG=       -g -DDEBUG
+ 
+ CCLIENTDIR=  ../c-client
+ PICODIR=     ../pico
+ 
+ # Only need to uncomment next two lines if you run make from this directory
+ # and you don't want to supply them as arguments to the make.
+ #LDAPLIBS=    ../ldap/libraries/libldap.a ../ldap/libraries/liblber.a
+ #LDAPCFLAGS=  -DENABLE_LDAP -I../ldap/include
+ # Object files that need to be rebuilt if ENABLE_LDAP gets defined.
+ LDAPOFILES=   addrbook.o adrbkcmd.o args.o bldaddr.o init.o \
+ 	      other.o pine.o takeaddr.o
+ 
+ STDLIBS=     -ltermcap -L$(OPENSSLDIR)/lib -lssl -lcrypto
+ LOCLIBS=     $(PICODIR)/libpico.a $(CCLIENTDIR)/c-client.a
+ LIBS=        $(EXTRALIBES) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS) \
+              `cat $(CCLIENTDIR)/LDFLAGS`
+ 
+ STDCFLAGS=   -Dconst= -Aa -D_HPUX_SOURCE -DHPP -DSYSTYPE=\"HPP\" -DMOUSE \
+ 	     -DHAVE_SSL -I$(OPENSSLDIR)/include/openssl
+ CFLAGS=      $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(LDAPCFLAGS) \
+ 	     $(STDCFLAGS)
+ 
+ OFILES=	addrbook.o adrbkcmd.o adrbklib.o args.o bldaddr.o context.o filter.o \
+ 	folder.o help.o helptext.o imap.o init.o mailcap.o mailcmd.o \
+ 	mailindx.o mailpart.o mailview.o newmail.o other.o pine.o \
+ 	reply.o screen.o send.o signals.o status.o strings.o takeaddr.o \
+ 	os.o
+ 
+ HFILES=	headers.h os.h pine.h context.h helptext.h \
+ 	$(PICODIR)/headers.h $(PICODIR)/estruct.h \
+ 	$(PICODIR)/edef.h $(PICODIR)/efunc.h \
+ 	$(PICODIR)/pico.h $(PICODIR)/os.h \
+ 	$(CCLIENTDIR)/mail.h $(CCLIENTDIR)/osdep.h \
+ 	$(CCLIENTDIR)/rfc822.h $(CCLIENTDIR)/misc.h
+ 
+ # The & means make in parallel
+ pine:  $& $(OFILES) $(LOCLIBS)
+ 	echo "char datestamp[]="\"`date`\"";" > date.c
+ 	echo "char hoststamp[]="\"`hostname`\"";" >> date.c
+ 	$(PURIFY) $(PURIFYOPTIONS) $(CC) $(LDFLAGS) $(CFLAGS) -o pine $(OFILES) date.c $(LIBS)
+ 
+ abookcpy:	abookcpy.o $(LOCLIBES)
+ 	$(CC) $(LDFLAGS) $(CFLAGS) -o abookcpy abookcpy.o $(LIBS)
+ 
+ pine-use:	pine-use.c
+ 	$(CC) -o pine-use pine-use.c
+ 
+ clean:
+ 	$(RM) *.o os.h os.c helptext.c helptext.h pine
+ 	cd osdep; make clean; cd ..
+ 
+ os.h:	osdep/os-hpp.h
+ 	$(RM) os.h
+ 	$(LN) osdep/os-hpp.h os.h
+ 
+ os.c:	osdep/os-hpp.c
+ 	$(RM) os.c
+ 	$(LN) osdep/os-hpp.c os.c
+ 
+ $(OFILES):						$(HFILES)
+ addrbook.o adrbkcmd.o adrbklib.o bldaddr.o takeaddr.o:	adrbklib.h
+ context.o:						$(CCLIENTDIR)/misc.h
+ send.o:							$(CCLIENTDIR)/smtp.h
+ $(LDAPOFILES):						$(LDAPLIBS)
+ 
+ helptext.c:	pine.hlp
+ 		./cmplhelp.sh  < pine.hlp > helptext.c
+ 
+ helptext.h:	pine.hlp
+ 		./cmplhlp2.sh  < pine.hlp > helptext.h
+ 
+ osdep/os-hpp.c:	osdep/bld_path osdep/canacces osdep/canonicl \
+ 		osdep/chnge_pw osdep/coredump osdep/creatdir \
+ 		osdep/diskquot.hpp osdep/domnames osdep/err_desc \
+ 		osdep/expnfldr osdep/fgetpos osdep/filesize osdep/fltrname \
+ 		osdep/fnexpand osdep/header osdep/hostname.una \
+ 		osdep/jobcntrl osdep/lstcmpnt osdep/mimedisp osdep/pipe \
+ 		osdep/print osdep/pw_stuff osdep/readfile osdep/debuging.tim \
+ 		osdep/rename osdep/tempfile osdep/writ_dir \
+ 		osdep/termin.unx osdep/termout.unx \
+ 		osdep/termin.gen osdep/termout.gen \
+ 		osdep/sendmail osdep/execview osdep/srandom.dum \
+ 		osdep/sunquota osdep/postreap.wtp osdep/os-hpp.ic
+ 		cd osdep; $(MAKE) includer os-hpp.c; cd ..
diff -crN pine4.10/pine/makefile.lxs pine4.10-ssl/pine/makefile.lxs
*** pine4.10/pine/makefile.lxs	Thu Jan  1 01:00:00 1970
--- pine4.10-ssl/pine/makefile.lxs	Sun Jun 20 17:09:55 1999
***************
*** 0 ****
--- 1,132 ----
+ # $Id: makefile.lns,v 1.40 1998/08/27 16:49:32 hubert Exp $
+ #
+ #            T H E    P I N E    M A I L   S Y S T E M
+ #
+ #   Laurence Lundblade and Mike Seibel
+ #   Networks and Distributed Computing
+ #   Computing and Communications
+ #   University of Washington
+ #   Administration Building, AG-44
+ #   Seattle, Washington, 98195, USA
+ #   Internet: [email-masked]
+ #             [email-masked]
+ #
+ #   Please address all bugs and comments to "[email-masked]"
+ #
+ #
+ #   Pine and Pico are registered trademarks of the University of Washington.
+ #   No commercial use of these trademarks may be made without prior written
+ #   permission of the University of Washington.
+ #
+ #   Pine, Pico, and Pilot software and its included text are Copyright
+ #   1989-1998 by the University of Washington.
+ #
+ #   The full text of our legal notices is contained in the file called
+ #   CPYRIGHT, included with this distribution.
+ #
+ #
+ #   Pine is in part based on The Elm Mail System:
+ #    ***********************************************************************
+ #    *  The Elm Mail System  -  Revision: 2.13                             *
+ #    *                                                                     *
+ #    * 			Copyright (c) 1986, 1987 Dave Taylor               *
+ #    * 			Copyright (c) 1988, 1989 USENET Community Trust    *
+ #    ***********************************************************************
+ #
+ #
+ 
+ 
+ #
+ #     Make file for the Pine mail system for Linux.
+ #
+ #   Most commonly fiddled flags for compiler.
+ #   Uncomment the setttings desired here
+ #
+ RM=          rm -f
+ LN=          ln -s
+ MAKE=        make
+ OPTIMIZE=    -O2
+ PROFILE=     # -pg
+ DEBUG=       # -g -DDEBUG
+ 
+ CCLIENTDIR=  ../c-client
+ PICODIR=     ../pico
+ 
+ # Only need to uncomment next two lines if you run make from this directory
+ # and you don't want to supply them as arguments to the make.
+ #LDAPLIBS=    ../ldap/libraries/libldap.a ../ldap/libraries/liblber.a
+ #LDAPCFLAGS=  -DENABLE_LDAP -I../ldap/include
+ # Object files that need to be rebuilt if ENABLE_LDAP gets defined.
+ LDAPOFILES=   addrbook.o adrbkcmd.o args.o bldaddr.o init.o \
+ 	      other.o pine.o takeaddr.o
+ 
+ STDLIBS=     -lncurses -L$(OPENSSLDIR)/lib -lssl -lcrypto
+ LOCLIBS=     $(PICODIR)/libpico.a $(CCLIENTDIR)/c-client.a
+ LIBS=        $(EXTRALIBES) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS) \
+              `cat $(CCLIENTDIR)/LDFLAGS`
+ 
+ STDCFLAGS=   -DLNX -DSYSTYPE=\"LNX\" -DHAVE_SSL -I$(OPENSSLDIR)/include/openssl
+ CFLAGS=      $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(LDAPCFLAGS) \
+ 	     $(STDCFLAGS)
+ 
+ OFILES=	addrbook.o adrbkcmd.o adrbklib.o args.o bldaddr.o context.o filter.o \
+ 	folder.o help.o helptext.o imap.o init.o mailcap.o mailcmd.o \
+ 	mailindx.o mailpart.o mailview.o newmail.o other.o pine.o \
+ 	reply.o screen.o send.o signals.o status.o strings.o takeaddr.o \
+ 	os.o
+ 
+ HFILES=	headers.h os.h pine.h context.h helptext.h \
+ 	$(PICODIR)/headers.h $(PICODIR)/estruct.h \
+ 	$(PICODIR)/edef.h $(PICODIR)/efunc.h \
+ 	$(PICODIR)/pico.h $(PICODIR)/os.h \
+ 	$(CCLIENTDIR)/mail.h $(CCLIENTDIR)/osdep.h \
+ 	$(CCLIENTDIR)/rfc822.h $(CCLIENTDIR)/misc.h
+ 
+ pine:  $(OFILES) $(LOCLIBS)
+ 	echo "char datestamp[]="\"`date`\"";" > date.c
+ 	echo "char hoststamp[]="\"`hostname`\"";" >> date.c
+ 	$(CC) $(LDFLAGS) $(CFLAGS) -o pine $(OFILES) date.c $(LIBS)
+ 
+ abookcpy:	abookcpy.o $(LOCLIBES)
+ 	$(CC) $(LDFLAGS) $(CFLAGS) -o abookcpy abookcpy.o $(LIBS)
+ 
+ pine-use:	pine-use.c
+ 	$(CC) -o pine-use pine-use.c
+ 
+ clean:
+ 	$(RM) *.o os.h os.c helptext.c helptext.h pine
+ 	cd osdep; make clean; cd ..
+ 
+ os.h:	osdep/os-lnx.h
+ 	$(RM) os.h
+ 	$(LN) osdep/os-lnx.h os.h
+ 
+ os.c:	osdep/os-lnx.c
+ 	$(RM) os.c
+ 	$(LN) osdep/os-lnx.c os.c
+ 
+ $(OFILES):						$(HFILES)
+ addrbook.o adrbkcmd.o adrbklib.o bldaddr.o takeaddr.o:	adrbklib.h
+ context.o:						$(CCLIENTDIR)/misc.h
+ send.o:							$(CCLIENTDIR)/smtp.h
+ $(LDAPOFILES):						$(LDAPLIBS)
+ 
+ helptext.c:	pine.hlp
+ 		./cmplhelp.sh  < pine.hlp > helptext.c
+ 
+ helptext.h:	pine.hlp
+ 		./cmplhlp2.sh  < pine.hlp > helptext.h
+ 
+ osdep/os-lnx.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.non osdep/filesize osdep/fltrname \
+ 		osdep/fnexpand osdep/header osdep/hostname \
+ 		osdep/jobcntrl osdep/lstcmpnt osdep/mimedisp osdep/pipe \
+ 		osdep/print osdep/pw_stuff osdep/readfile osdep/debuging.tim \
+ 		osdep/rename osdep/tempfile osdep/writ_dir \
+ 		osdep/termin.unx osdep/termout.unx \
+ 		osdep/termin.gen osdep/termout.gen \
+ 		osdep/sendmail osdep/execview \
+ 		osdep/postreap.wtp osdep/os-lnx.ic
+ 		cd osdep; $(MAKE) includer os-lnx.c; cd ..

---

From: Steven Whatley <[email-masked]>
Date: Sun, 20 Jun 1999 19:41:33 -0500 (CDT)

> fine for Linux (glibc), HPUX-10 and HPUX-11 - others not tested, yet.

Where do I find OpenSSL-0.9.3a?  Do I need root access to install it?  Can
I install in my own directory to use OpenSSL?

Thanks,
Steven
-- 
                 _|_  |  _|_   "I am the way and the truth and the life.
                  | --|-- |     No one comes to the Father except through
Steven Whatley    |   |   |      me.  If you really knew me, you would
Houston, Texas        |           know my Father as well.  From now on,
[email-masked]   |            you do know him and have seen him."
http://www.blkbox.com/~swhatley/        -- Jesus Christ (John 14:6-7 NIV)