blob: fc9c7895e94a1eece51512fc5e02f8c984d71072 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
S/MIME capabilities in Pine
Patch Author: Jonathan Paisley
Contact Info: paisleyj@dcs.gla.ac.uk
WWW: http://www.dcs.gla.ac.uk/~paisleyj/
This patch adds S/MIME functionality to Pine. It was
last tested thoroughly with Pine 4.33, and it has been updated
to work with the latest version (4.52).
Check out the unix 'patch' command. An example of using
patch would be:
$ cd ../.. # Change to top level directory (containing contrib, pine, etc)
$ patch -p1 < contrib/smime/pine-smime-151101.diff
*** After patching, read pine/README.smime for more details. ***
The patch will create the following files:
pine/README.smime
pine/TODO.smime
pine/bss_so.c
pine/bss_so.h
pine/smime.c
pine/smime.h
pine/smkeys.c
pine/smkeys.h
It will modify the following files:
imap/src/c-client/mail.c
imap/src/c-client/mail.h
pine/filter.c
pine/init.c
pine/mailcmd.c
pine/mailpart.c
pine/mailview.c
pine/makefile.lnx
pine/makefile.so5
pine/pine.h
pine/pine.hlp
pine/send.c
Note that this patch has only been tested on Solaris and Linux (thus only
those makefiles have been patched). The changes that have been made to
the makefiles are as follows:
Add these SSL variables (these were roughly lifted from imap/src/osdep/unix/Makefile)
SSLDIR= $(HOME)/local/ssl
SSLCERTS= $(SSLDIR)/certs
SSLINCLUDE= $(SSLDIR)/include
SSLLIB= $(SSLDIR)/lib
SSLCFLAGS= -I$(SSLINCLUDE) \
-DSSL_CERT_DIRECTORY=\"$(SSLCERTS)\" \
-DSMIME
SSLLDFLAGS= -L$(SSLLIB) -lcrypto
Add $(SSLLDFLAGS) to the LIBS variable.
Add $(SSLCFLAGS) to the CFLAGS variable.
Add bss_so.o smime.o smkeys.o to the OFILES= variable.
Similar changes would have to be made to the makefile for other ports.
|