From 8637187bc2609314e1801db7268c01d62d24f1f7 Mon Sep 17 00:00:00 2001 From: Mihaela Stoica Date: Mon, 1 Feb 2016 15:01:45 +0000 Subject: [PATCH] CP-15405: Sign dlls brought from dotnet-packages Signed-off-by: Mihaela Stoica --- mk/build-installers.sh | 7 +++++++ mk/package-and-sign.sh | 2 +- mk/xenadmin-build.sh | 12 ++++++------ 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/mk/build-installers.sh b/mk/build-installers.sh index 74d2beae6..b9b95082d 100644 --- a/mk/build-installers.sh +++ b/mk/build-installers.sh @@ -53,6 +53,13 @@ do cd ${REPO}/VNCControl/bin/Release && ${REPO}/sign.bat ${file} done +cd ${REPO}/XenAdmin/bin/Release && ${REPO}/sign.bat CookComputing.XmlRpcV2.dll "XML-RPC.NET by Charles Cook, signed by ${BRANDING_COMPANY_NAME_SHORT}" +cd ${REPO}/XenAdmin/bin/Release && ${REPO}/sign.bat log4net.dll "Log4Net by The Apache Software Foundation, signed by ${BRANDING_COMPANY_NAME_SHORT}" +cd ${REPO}/XenAdmin/bin/Release && ${REPO}/sign.bat ICSharpCode.SharpZipLib.dll "SharpZipLib by IC#Code, signed by ${BRANDING_COMPANY_NAME_SHORT}" +cd ${REPO}/XenAdmin/bin/Release && ${REPO}/sign.bat DiscUtils.dll "DiscUtils by Kenneth Bell, signed by ${BRANDING_COMPANY_NAME_SHORT}" +cd ${REPO}/XenAdmin/bin/Release && ${REPO}/sign.bat Ionic.Zip.dll "OSS, signed by ${BRANDING_COMPANY_NAME_SHORT}" +cd ${REPO}/XenAdmin/bin/Release && ${REPO}/sign.bat putty.exe "PuTTY by Simon Tatham, signed by ${BRANDING_COMPANY_NAME_SHORT}" + #create installers compile_installer() { diff --git a/mk/package-and-sign.sh b/mk/package-and-sign.sh index 84fb4722d..760a4b06b 100644 --- a/mk/package-and-sign.sh +++ b/mk/package-and-sign.sh @@ -39,7 +39,7 @@ REPO=${XENADMIN_DIR} OUTPUT_DIR=${ROOT}/output DOTNETINST=${REPO}/dotNetInstaller - +source ${REPO}/Branding/branding.sh WIX=${REPO}/WixInstaller WIX_BIN=${WIX}/bin diff --git a/mk/xenadmin-build.sh b/mk/xenadmin-build.sh index b1b993096..396c6340a 100755 --- a/mk/xenadmin-build.sh +++ b/mk/xenadmin-build.sh @@ -70,13 +70,13 @@ MICROSOFT_DOTNET_FRAMEWORK_INSTALLER_DIR=${REPO}/dotNetFx452_web_setup PUTTY_DIR=${REPO}/putty wget ${WGET_OPT} -O "${SCRATCH_DIR}/dotnet-packages-manifest" "${WEB_DOTNET}/manifest" -mkdir_clean ${XMLRPC_DIR} && wget ${WGET_OPT} -P ${XMLRPC_DIR} ${WEB_DOTNET}/CookComputing.XmlRpcV2.dll -mkdir_clean ${LOG4NET_DIR} && wget ${WGET_OPT} -P ${LOG4NET_DIR} ${WEB_DOTNET}/log4net.dll -mkdir_clean ${SHARPZIPLIB_DIR} && wget ${WGET_OPT} -P ${SHARPZIPLIB_DIR} ${WEB_DOTNET}/ICSharpCode.SharpZipLib.dll -mkdir_clean ${DOTNETZIP_DIR} && wget ${WGET_OPT} -P ${DOTNETZIP_DIR} ${WEB_DOTNET}/Ionic.Zip.dll -mkdir_clean ${DISCUTILS_DIR} && wget ${WGET_OPT} -P ${DISCUTILS_DIR} ${WEB_DOTNET}/DiscUtils.dll +mkdir_clean ${XMLRPC_DIR} && wget ${WGET_OPT} -P ${XMLRPC_DIR} ${WEB_DOTNET}/UNSIGNED/CookComputing.XmlRpcV2.dll +mkdir_clean ${LOG4NET_DIR} && wget ${WGET_OPT} -P ${LOG4NET_DIR} ${WEB_DOTNET}/UNSIGNED/log4net.dll +mkdir_clean ${SHARPZIPLIB_DIR} && wget ${WGET_OPT} -P ${SHARPZIPLIB_DIR} ${WEB_DOTNET}/UNSIGNED/ICSharpCode.SharpZipLib.dll +mkdir_clean ${DOTNETZIP_DIR} && wget ${WGET_OPT} -P ${DOTNETZIP_DIR} ${WEB_DOTNET}/UNSIGNED/Ionic.Zip.dll +mkdir_clean ${DISCUTILS_DIR} && wget ${WGET_OPT} -P ${DISCUTILS_DIR} ${WEB_DOTNET}/UNSIGNED/DiscUtils.dll mkdir_clean ${MICROSOFT_DOTNET_FRAMEWORK_INSTALLER_DIR} && wget ${WGET_OPT} -P "${MICROSOFT_DOTNET_FRAMEWORK_INSTALLER_DIR}" "${WEB_DOTNET}/NDP452-KB2901954-Web.exe" -mkdir_clean ${PUTTY_DIR} && wget ${WGET_OPT} -P "${PUTTY_DIR}" "${WEB_DOTNET}/putty.exe" +mkdir_clean ${PUTTY_DIR} && wget ${WGET_OPT} -P "${PUTTY_DIR}" "${WEB_DOTNET}/UNSIGNED/putty.exe" wget ${WGET_OPT} -P "${REPO}" "${WEB_DOTNET}/sign.bat" && chmod a+x ${REPO}/sign.bat