aboutsummaryrefslogtreecommitdiff
path: root/install-win32/build-pkcs11-helper.sh
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-01-22 22:08:35 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-01-22 22:08:35 +0000
commitf02576fa8b18132df009ea1f8d6aea07e06d5059 (patch)
treec25e560fdb660f7295899fdfbc26226091d2bf28 /install-win32/build-pkcs11-helper.sh
parentChanged ASSERT(0) to a more descriptive fatal error in tun.c (diff)
downloadopenvpn-f02576fa8b18132df009ea1f8d6aea07e06d5059.tar.xz
Incremented version number to 2.1_rc4a.
Windows changes: Incremented included OpenSSL version to openssl-0.9.7m. Updated openssl.patch for openssl-0.9.7m and added some brief usage comments to the head of the patch. Added build-pkcs11-helper.sh for building the pkcs11-helper library. Integrated inclusion of pkcs11-helper into Windows build system. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2649 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/build-pkcs11-helper.sh')
-rw-r--r--install-win32/build-pkcs11-helper.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/install-win32/build-pkcs11-helper.sh b/install-win32/build-pkcs11-helper.sh
new file mode 100644
index 0000000..4ec2dff
--- /dev/null
+++ b/install-win32/build-pkcs11-helper.sh
@@ -0,0 +1,23 @@
+F=pkcs11-helper-1.05
+OPENSSL_DIR=`pwd`/openssl-0.9.7m
+
+PKCS11_HELPER_DIR=`pwd`/pkcs11-helper
+rm -rf $PKCS11_HELPER_DIR
+mkdir $PKCS11_HELPER_DIR
+tbz=$F.tar.bz2
+
+rm -rf $F
+tar xfj $tbz
+
+cd $F
+./configure \
+ MAN2HTML=true \
+ ac_cv_type_size_t=no \
+ --disable-crypto-engine-gnutls \
+ --disable-crypto-engine-nss \
+ PKG_CONFIG=true \
+ OPENSSL_CFLAGS="-I${OPENSSL_DIR}/include" \
+ OPENSSL_LIBS="-L${OPENSSL_DIR}/out -lcrypto"
+
+make
+make install DESTDIR="${PKCS11_HELPER_DIR}"