[openrtm-commit:03259] r3251 - branches/RELENG_1_2/OpenRTM-aist/win32/OpenRTM-aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 3月 21日 (水) 21:00:56 JST
Author: kawauchi
Date: 2018-03-21 21:00:56 +0900 (Wed, 21 Mar 2018)
New Revision: 3251
Modified:
branches/RELENG_1_2/OpenRTM-aist/win32/OpenRTM-aist/prepare_openrtm.sh
Log:
[compat,->trunk] prepare_openrtm.sh has been updated. refs #4486
Modified: branches/RELENG_1_2/OpenRTM-aist/win32/OpenRTM-aist/prepare_openrtm.sh
===================================================================
--- branches/RELENG_1_2/OpenRTM-aist/win32/OpenRTM-aist/prepare_openrtm.sh 2018-03-21 11:41:39 UTC (rev 3250)
+++ branches/RELENG_1_2/OpenRTM-aist/win32/OpenRTM-aist/prepare_openrtm.sh 2018-03-21 12:00:56 UTC (rev 3251)
@@ -24,7 +24,11 @@
if test "x$ARCH" = "x" ; then
export ARCH=x86
fi
+if test "x$SSL_VERSION" = "x" ; then
+ export SSL_VERSION=1.1.0
+fi
+
export PATH=/cygdrive/c/cygwin64/bin:$PATH
echo `pwd`
@@ -61,10 +65,14 @@
else
PY_VERSION=`echo ${PYTHON_DIR} | sed 's/.*ython\([0-9][0-9]\).*/\1/'`
fi
- base_url="http://openrtm.org/pub/omniORB/win32/omniORB-${OMNI_VERSION}/"
+ base_url="https://openrtm.org/pub/omniORB/win32/omniORB-${OMNI_VERSION}/"
OMNIORB_ZIP=omniORB-${OMNI_VERSION}-${WIN_ARCH}-vc${VC_VERSION}-py${PY_VERSION}.zip
OMNIORB_URL=${base_url}/${OMNIORB_ZIP}
+
+ base_ssl_url="https://openrtm.org/pub/OpenSSL/${SSL_VERSION}"
+ OPENSSL_ZIP=openssl-${SSL_VERSION}e-${WIN_ARCH}-vc${VC_VERSION}.zip
+ OPENSSL_URL=${base_ssl_url}/${OPENSSL_ZIP}
}
unpack_omnibin()
@@ -85,9 +93,25 @@
omnidir=`find ./ -maxdepth 1 -name 'omniORB*' -type d`
mv ${omnidir} omniORB
}
+
+unpack_openssl()
+{
+ if test ! -f $OPENSSL_ZIP ; then
+ wget $OPENSSL_URL
+ fi
+ unzip $OPENSSL_ZIP
+}
+rename_ssldir()
+{
+ mv _OpenSSL OpenSSL
+}
+
+
check_env
unpack_omnibin
rename_omnidir
+unpack_openssl
+rename_ssldir
# end of ecript
#==============================
openrtm-commit メーリングリストの案内