1 S/MIME capabilities in Pine
3 Patch Author: Jonathan Paisley
4 Contact Info: paisleyj@dcs.gla.ac.uk
5 WWW: http://www.dcs.gla.ac.uk/~paisleyj/
7 This patch adds S/MIME functionality to Pine. It was
8 last tested thoroughly with Pine 4.33, and it has been updated
9 to work with the latest version (4.52).
11 Check out the unix 'patch' command. An example of using
14 $ cd ../.. # Change to top level directory (containing contrib, pine, etc)
15 $ patch -p1 < contrib/smime/pine-smime-151101.diff
17 *** After patching, read pine/README.smime for more details. ***
19 The patch will create the following files:
30 It will modify the following files:
32 imap/src/c-client/mail.c
33 imap/src/c-client/mail.h
45 Note that this patch has only been tested on Solaris and Linux (thus only
46 those makefiles have been patched). The changes that have been made to
47 the makefiles are as follows:
49 Add these SSL variables (these were roughly lifted from imap/src/osdep/unix/Makefile)
51 SSLDIR= $(HOME)/local/ssl
52 SSLCERTS= $(SSLDIR)/certs
53 SSLINCLUDE= $(SSLDIR)/include
56 SSLCFLAGS= -I$(SSLINCLUDE) \
57 -DSSL_CERT_DIRECTORY=\"$(SSLCERTS)\" \
59 SSLLDFLAGS= -L$(SSLLIB) -lcrypto
61 Add $(SSLLDFLAGS) to the LIBS variable.
62 Add $(SSLCFLAGS) to the CFLAGS variable.
63 Add bss_so.o smime.o smkeys.o to the OFILES= variable.
65 Similar changes would have to be made to the makefile for other ports.