-
Notifications
You must be signed in to change notification settings - Fork 18
/
INSTALL
90 lines (76 loc) · 2.01 KB
/
INSTALL
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
gnupg-pkcs11-scd -- PKCS#11 enabled gnupg scd.
Copyright (c) 2006-2007 Zeljko Vrba <zvrba@globalnet.hr>
Copyright (c) 2006-2017 Alon Bar-Lev <alon.barlev@gmail.com>
POSIX
Dependencies:
dl
pthread (nptl)
pkcs11-helper
http://www.opensc-project.org
|| (
OpenSSL>=0.9.7
http://www.openssl.org
GNUTLS>=1.4.4
http://www.gnutls.org
)
libgpg-error>=1.3
http://www.gnupg.org
libassuan>=0.9.2
http://www.gnupg.org
libgcrypt>=1.2.2
http://www.gnupg.org
Build:
$ ./configure
$ make
$ make install
Cross-MinGW32
Notes:
Supported single threaded server mode.
Implementing multi-threaded server forces copy of win32 socket handling
from gnupg, and it is GPLed. When libassuan will handle sockets we will
be able to implement it.
Dependencies:
man2html
pkcs11-helper
http://www.opensc-project.org
OpenSSL>=0.9.9
http://www.openssl.org
libgpg-error>=1.3
http://www.gnupg.org
libassuan>=0.9.2
http://www.gnupg.org
libgcrypt>=1.2.2
http://www.gnupg.org
Build:
w32root=/tmp/gpg-win32
OpenSSL
./Configure --prefix=// --cross-compiler-prefix=mingw32- shared mingw
make install INSTALL_PREFIX="${w32root}"
libgpg-error
./autogen.sh --build-w32
make install
libassuan
./autogen.sh --build-w32
make install
libgcrypt
./autogen.sh --build-w32
make install
gnupg-pkcs11-scd
./configure --prefix=/ --host=mingw32 \
--with-libgpg-error-prefix=${w32root} \
--with-libassuan-prefix=${w32root} \
--with-libgcrypt-prefix=${w32root} \
PKG_CONFIG=true \
OPENSSL_CFLAGS="-I${w32root}/include" \
OPENSSL_LIBS="-L${w32root}/lib -lcrypto" \
PKCS11_HELPER_CFLAGS="-I${w32root}/include" \
PKCS11_HELPER_LIBS="-L${w32root}/lib -lpkcs11-helper" \
PKCS11_HELPER_FEATURES="threading token certificate engine_crypto"
make install DESTDIR="${w32root}"
Native-Cygwin
Notes:
Same as Cross-MinGW32
Dependencies:
Same as Cross-MinGW32
Build:
Same as Cross-MinGW32, replace --host=mingw32 with --with-cygwin-native.