From e6f27356846a36c63bfe394cb9d7c61495e0822b Mon Sep 17 00:00:00 2001 From: Mikael Urankar Date: Tue, 18 Jan 2022 15:42:42 +0100 Subject: [PATCH] www/onlyoffice-documentserver: Add new port ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time. WWW: https://www.onlyoffice.com/ Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D33923 --- GIDs | 2 +- UIDs | 2 +- www/Makefile | 1 + www/onlyoffice-documentserver/Makefile | 208 + www/onlyoffice-documentserver/distinfo | 59 + .../extra-patch-pkg-fetch_lib-es5_build.js | 24 + ...-pkg-fetch_patches_node.v16.13.0.cpp.patch | 174 + .../files/local.json.sample | 43 + .../server/Common/package-lock.json | 1028 + .../packagejsons/server/package-lock.json | 2964 ++ .../files/patch-build__tools_build.pro | 13 + .../files/patch-build__tools_configure.py | 11 + .../files/patch-build__tools_make.py | 29 + .../files/patch-build__tools_scripts_base.py | 21 + .../patch-build__tools_scripts_build__js.py | 11 + ...atch-build__tools_scripts_build__server.py | 52 + .../patch-build__tools_scripts_config.py | 38 + ...tools_scripts_core__common_make__common.py | 36 + ...__tools_scripts_core__common_modules_v8.py | 87 + ...tch-build__tools_scripts_deploy__server.py | 37 + ...ch-build__tools_scripts_develop_release.py | 11 + ...tch-build__tools_tools_freebsd_automate.py | 107 + ...e2_source_XlsFormat_Auxiliary_HelpFunc.cpp | 11 + ...sFile2_source_XlsFormat_Crypt_rtl_cipher.h | 11 + ...sFile2_source_XlsFormat_Crypt_rtl_digest.h | 11 + ..._Logic_Biff__structures_BitMarkedStructs.h | 11 + .../patch-core_Common_3dParty_boost_boost.pri | 16 + ...mmon_3dParty_cryptopp_project_cryptopp.pro | 10 + .../patch-core_Common_3dParty_html_gumbo.pri | 10 + .../patch-core_Common_3dParty_icu_icu.pri | 16 + .../files/patch-core_Common_3dParty_v8_v8.pri | 27 + .../patch-core_Common_3dParty_v8_v8_BUILD.gn | 32 + ...Common_3dParty_v8_v8_build_config_BUILD.gn | 30 + ..._3dParty_v8_v8_build_config_BUILDCONFIG.gn | 48 + ...Party_v8_v8_build_config_compiler_BUILD.gn | 92 + ...y_v8_v8_build_config_compiler_compiler.gni | 11 + ...on_3dParty_v8_v8_build_config_features.gni | 11 + ...y_v8_v8_build_config_freetype_freetype.gni | 9 + ..._3dParty_v8_v8_build_config_linux_BUILD.gn | 11 + ...rty_v8_v8_build_config_linux_pkg-config.py | 26 + ...mon_3dParty_v8_v8_build_config_sysroot.gni | 14 + ..._3dParty_v8_v8_build_detect__host__arch.py | 11 + ...mon_3dParty_v8_v8_build_gn__run__binary.py | 11 + ...ommon_3dParty_v8_v8_build_linux_chrome.map | 29 + ..._3dParty_v8_v8_build_linux_libpci_BUILD.gn | 53 + ...Party_v8_v8_build_linux_unbundle_libusb.gn | 27 + ...build_linux_unbundle_replace__gn__files.py | 10 + ...y_v8_v8_build_toolchain_gcc__toolchain.gni | 45 + ..._build_toolchain_get__concurrent__links.py | 17 + ...Party_v8_v8_build_toolchain_linux_BUILD.gn | 10 + ...re_Common_3dParty_v8_v8_build_win_BUILD.gn | 13 + ...v8_buildtools_third__party_libc++_BUILD.gn | 11 + ...re_Common_3dParty_v8_v8_include_v8config.h | 21 + ...h-core_Common_3dParty_v8_v8_src_api_api.cc | 11 + ...-core_Common_3dParty_v8_v8_src_base_cpu.cc | 18 + ...8_v8_src_base_platform_platform-freebsd.cc | 13 + ..._v8_v8_src_base_platform_platform-posix.cc | 24 + ...re_Common_3dParty_v8_v8_src_d8_d8-posix.cc | 19 + ...dParty_v8_v8_src_objects_js-list-format.cc | 74 + ...ommon_3dParty_v8_v8_testing_gmock_BUILD.gn | 18 + ...n_3dParty_v8_v8_third__party_zlib_BUILD.gn | 11 + ...ty_v8_v8_third__party_zlib_cpu__features.c | 48 + ..._Common_DocxFormat_Source_Base_Types__32.h | 11 + ...on_DocxFormat_Source_XlsxFormat_Common.cpp | 14 + .../files/patch-core_Common_base.pri | 42 + .../files/patch-core_Common_kernel.pro | 21 + ..._DesktopEditor_AllFontsGen_AllFontsGen.pro | 13 + ...or_Qt__build_graphics_project_graphics.pri | 15 + ...build_graphics_project_graphics__fonts.pri | 14 + ..._DesktopEditor_agg-2.4_include_agg__math.h | 11 + ...itor_agg-2.4_include_agg__span__gradient.h | 11 + ...esktopEditor_allthemesgen_allthemesgen.pro | 14 + ...h-core_DesktopEditor_allthemesgen_main.cpp | 20 + ...ch-core_DesktopEditor_common_Directory.cpp | 64 + .../patch-core_DesktopEditor_common_File.cpp | 42 + .../patch-core_DesktopEditor_common_Path.cpp | 29 + .../patch-core_DesktopEditor_common_Types.h | 11 + ...ore_DesktopEditor_cximage_CxImage_ximage.h | 11 + ..._DesktopEditor_cximage_CxImage_ximagif.cpp | 11 + ...DesktopEditor_cximage_CxImage_ximainfo.cpp | 11 + ...re_DesktopEditor_cximage_CxImage_ximajas.h | 11 + ..._DesktopEditor_cximage_CxImage_ximajpg.cpp | 11 + ...re_DesktopEditor_cximage_CxImage_ximajpg.h | 11 + ...re_DesktopEditor_cximage_CxImage_ximapng.h | 11 + ..._DesktopEditor_cximage_CxImage_ximaraw.cpp | 11 + ...ch-core_DesktopEditor_cximage_raw_libdcr.h | 11 + ...e_DesktopEditor_cximage_tiff_tif__config.h | 38 + ...core_DesktopEditor_cximage_tiff_tiffconf.h | 11 + ...r_doctrenderer_app__builder_docbuilder.pro | 11 + ...pEditor_doctrenderer_app__builder_main.cpp | 11 + ...DesktopEditor_doctrenderer_docbuilder__p.h | 29 + ...esktopEditor_doctrenderer_doctrenderer.pro | 13 + ...DesktopEditor_doctrenderer_nativecontrol.h | 11 + ...ktopEditor_fontengine_ApplicationFonts.cpp | 22 + ...re_DesktopEditor_fontengine_MemoryStream.h | 11 + ...tor_fontengine_fontconverter_MemoryUtils.h | 11 + ...h-core_DesktopEditor_graphics_Graphics.cpp | 29 + ...re_DesktopEditor_graphics_pro_graphics.pro | 14 + ...core_DesktopEditor_graphics_pro_raster.pri | 15 + ...topEditor_raster_Metafile_Wmf_WmfObjects.h | 11 + ...h-core_DesktopEditor_xml_libxml2_trionan.c | 29 + ...tch-core_DesktopEditor_xml_libxml2_xmlIO.c | 11 + ...ch-core_DesktopEditor_xmlsec_libxmlsec.pro | 19 + ..._OpenSSL__gui__test_OpenSSL__gui__test.pro | 13 + ...tch-core_DjVuFile_libdjvu_DjVuDocument.cpp | 11 + .../files/patch-core_HtmlFile_HtmlFile.cpp | 20 + .../files/patch-core_HtmlFile_HtmlFile.pro | 13 + ...eCryptReader_ooxml__crypt_ooxml__crypt.pro | 14 + .../patch-core_OfficeUtils_OfficeUtils.pri | 9 + ..._src_zlib-1.2.11_contrib_minizip_miniunz.c | 11 + ..._src_zlib-1.2.11_contrib_minizip_minizip.c | 11 + .../files/patch-core_PdfWriter_PdfWriter.pro | 13 + .../files/patch-core_PdfWriter_Src_Types.h | 11 + ..._Test_Applications_StandardTester_main.cpp | 20 + ...core_UnicodeConverter_UnicodeConverter.pro | 14 + ...erter_icubuilds-mac_icu_unicode_platform.h | 11 + ...ore_X2tConverter_build_Qt_X2tConverter.pri | 11 + ...ch-core_X2tConverter_src_ASCConverters.cpp | 20 + ...st_batch__convert_x2t__test_mainwindow.cpp | 20 + .../patch-document-server-package_Makefile | 197 + .../files/patch-server_package.json | 36 + .../files/patch-web-apps_build_Gruntfile.js | 20 + .../files/patch-web-apps_build_package.json | 14 + .../patch-web-apps_build_patches_optipng-bin | 18 + .../files/pkg-message.in | 66 + www/onlyoffice-documentserver/pkg-descr | 6 + www/onlyoffice-documentserver/pkg-plist | 22626 ++++++++++++++++ www/onlyoffice-documentserver/v8_fetch.sh | 59 + 128 files changed, 29848 insertions(+), 2 deletions(-) create mode 100644 www/onlyoffice-documentserver/Makefile create mode 100644 www/onlyoffice-documentserver/distinfo create mode 100644 www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js create mode 100644 www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_patches_node.v16.13.0.cpp.patch create mode 100644 www/onlyoffice-documentserver/files/local.json.sample create mode 100644 www/onlyoffice-documentserver/files/packagejsons/server/Common/package-lock.json create mode 100644 www/onlyoffice-documentserver/files/packagejsons/server/package-lock.json create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_build.pro create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_configure.py create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_make.py create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_scripts_base.py create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__js.py create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_scripts_config.py create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8.py create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_scripts_deploy__server.py create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_scripts_develop_release.py create mode 100644 www/onlyoffice-documentserver/files/patch-build__tools_tools_freebsd_automate.py create mode 100644 www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Auxiliary_HelpFunc.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Crypt_rtl_cipher.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Crypt_rtl_digest.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Logic_Biff__structures_BitMarkedStructs.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_boost_boost.pri create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_cryptopp_project_cryptopp.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_html_gumbo.pri create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_icu_icu.pri create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8.pri create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_BUILD.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_BUILD.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_BUILDCONFIG.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_compiler_BUILD.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_compiler_compiler.gni create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_features.gni create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_freetype_freetype.gni create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_linux_BUILD.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_linux_pkg-config.py create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_sysroot.gni create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_detect__host__arch.py create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_gn__run__binary.py create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_chrome.map create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_libpci_BUILD.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_unbundle_libusb.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_unbundle_replace__gn__files.py create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_gcc__toolchain.gni create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_get__concurrent__links.py create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_linux_BUILD.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_win_BUILD.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_buildtools_third__party_libc++_BUILD.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_include_v8config.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_api_api.cc create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_cpu.cc create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_platform_platform-freebsd.cc create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_platform_platform-posix.cc create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_d8_d8-posix.cc create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_objects_js-list-format.cc create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_testing_gmock_BUILD.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_third__party_zlib_BUILD.gn create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_third__party_zlib_cpu__features.c create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_Base_Types__32.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_XlsxFormat_Common.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_base.pri create mode 100644 www/onlyoffice-documentserver/files/patch-core_Common_kernel.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_AllFontsGen_AllFontsGen.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_Qt__build_graphics_project_graphics.pri create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_Qt__build_graphics_project_graphics__fonts.pri create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_agg-2.4_include_agg__math.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_agg-2.4_include_agg__span__gradient.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_allthemesgen_allthemesgen.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_allthemesgen_main.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Directory.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_File.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Path.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Types.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximage.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximagif.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximainfo.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajas.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajpg.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajpg.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximapng.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximaraw.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_raw_libdcr.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_tiff_tif__config.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_tiff_tiffconf.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_app__builder_docbuilder.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_app__builder_main.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_docbuilder__p.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_doctrenderer.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_nativecontrol.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_ApplicationFonts.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_MemoryStream.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_fontconverter_MemoryUtils.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_Graphics.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_pro_graphics.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_pro_raster.pri create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_raster_Metafile_Wmf_WmfObjects.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xml_libxml2_trionan.c create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xml_libxml2_xmlIO.c create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xmlsec_libxmlsec.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xmlsec_test_OpenSSL__gui__test_OpenSSL__gui__test.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_DjVuFile_libdjvu_DjVuDocument.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_HtmlFile_HtmlFile.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_HtmlFile_HtmlFile.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_OfficeCryptReader_ooxml__crypt_ooxml__crypt.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_OfficeUtils_OfficeUtils.pri create mode 100644 www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_contrib_minizip_miniunz.c create mode 100644 www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_contrib_minizip_minizip.c create mode 100644 www/onlyoffice-documentserver/files/patch-core_PdfWriter_PdfWriter.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_PdfWriter_Src_Types.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_Test_Applications_StandardTester_main.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_UnicodeConverter.pro create mode 100644 www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_icubuilds-mac_icu_unicode_platform.h create mode 100644 www/onlyoffice-documentserver/files/patch-core_X2tConverter_build_Qt_X2tConverter.pri create mode 100644 www/onlyoffice-documentserver/files/patch-core_X2tConverter_src_ASCConverters.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-core_X2tConverter_test_batch__convert_x2t__test_mainwindow.cpp create mode 100644 www/onlyoffice-documentserver/files/patch-document-server-package_Makefile create mode 100644 www/onlyoffice-documentserver/files/patch-server_package.json create mode 100644 www/onlyoffice-documentserver/files/patch-web-apps_build_Gruntfile.js create mode 100644 www/onlyoffice-documentserver/files/patch-web-apps_build_package.json create mode 100644 www/onlyoffice-documentserver/files/patch-web-apps_build_patches_optipng-bin create mode 100644 www/onlyoffice-documentserver/files/pkg-message.in create mode 100644 www/onlyoffice-documentserver/pkg-descr create mode 100644 www/onlyoffice-documentserver/pkg-plist create mode 100644 www/onlyoffice-documentserver/v8_fetch.sh diff --git a/GIDs b/GIDs index ee3b9573b3fcc..289724c62710c 100644 --- a/GIDs +++ b/GIDs @@ -242,7 +242,7 @@ owncast:*:299: backuppc:*:300: openvpn:*:301: netdata:*:302: -# free: 303 +onlyoffice:*:303:www # free: 304 # free: 305 # free: 306 diff --git a/UIDs b/UIDs index 22ca902e18762..6688287c8ada8 100644 --- a/UIDs +++ b/UIDs @@ -247,7 +247,7 @@ owncast:*:299:299::0:0:& daemon:/nonexistent:/usr/sbin/nologin backuppc:*:300:300::0:0:BackupPC pseudo-user:/nonexistent:/usr/sbin/nologin openvpn:*:301:301::0:0:OpenVPN pseudo-user:/nonexistent:/usr/sbin/nologin netdata:*:302:302::0:0:NetData Daemon:/var/cache/netdata:/usr/sbin/nologin -# free: 303 +onlyoffice:*:303:303::0:0:Onlyoffice pseudo-user:/usr/local/www/onlyoffice/documentserver:/usr/sbin/nologin # free: 304 # free: 305 # free: 306 diff --git a/www/Makefile b/www/Makefile index 8db0c305e7334..6a094de9237fb 100644 --- a/www/Makefile +++ b/www/Makefile @@ -476,6 +476,7 @@ SUBDIR += oneshot SUBDIR += onionbalance SUBDIR += onionshare + SUBDIR += onlyoffice-documentserver SUBDIR += openarc SUBDIR += opencart SUBDIR += orangehrm diff --git a/www/onlyoffice-documentserver/Makefile b/www/onlyoffice-documentserver/Makefile new file mode 100644 index 0000000000000..08d90cf0f0af0 --- /dev/null +++ b/www/onlyoffice-documentserver/Makefile @@ -0,0 +1,208 @@ +PORTNAME= onlyoffice-documentserver +DISTVERSIONPREFIX= v +DISTVERSION= 6.4.2 +CATEGORIES= www +MASTER_SITES+= LOCAL/mikael/v8/:source1 \ + LOCAL/mikael/onlyoffice/:source2 \ + https://nodejs.org/dist/v16.13.0/:source3 \ + SF/optipng/OptiPNG/optipng-0.7.7/:source4 +DISTFILES+= v8-8.7.220.31_all.tar.gz:source1 \ + node-v16.13.0.tar.gz:source3 \ + npm-cache-onlyoffice.tar.gz:source2 \ + optipng-0.7.7.tar.gz:source4 + +MAINTAINER= mikael@FreeBSD.org +COMMENT= Secure office and productivity apps + +LICENSE= AGPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ + binutils>=0:devel/binutils \ + boost-libs>0:devel/boost-libs \ + glib>=2.54:devel/glib20 \ + gn:devel/gn \ + java:java/openjdk11 \ + ninja:devel/ninja \ + node:www/node16 \ + npm:www/npm-node16 +LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ + libiconv.so:converters/libiconv \ + libicutu.so:devel/icu +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}supervisor>0:sysutils/py-supervisor@${PY_FLAVOR} \ + curl:ftp/curl \ + gsed:textproc/gsed \ + nginx:www/nginx \ + pg_dump:databases/postgresql${PGSQL_VER_NODOT}-server \ + rabbitmq>0:net/rabbitmq \ + webfonts>=0:x11-fonts/webfonts + +USES= autoreconf:build dos2unix fakeroot gmake gnome iconv pgsql pkgconfig \ + python:3.7+,build qt:5 +USE_QT= qmake_build +USE_GITHUB= yes +GH_ACCOUNT= ONLYOFFICE +GH_PROJECT= DocumentServer +GH_TUPLE= ONLYOFFICE:core:0c29e4d:core/core \ + ONLYOFFICE:core-fonts:3929a09:corefonts/core-fonts \ + ONLYOFFICE:dictionaries:cfa50d3:dictionaries/dictionaries \ + ONLYOFFICE:document-server-integration:v1.0.0:dsi/document-server-integration \ + ONLYOFFICE:document-templates:v6.4.2.1:dt/document-templates \ + ONLYOFFICE:sdkjs:9af7d08:sdkjs/sdkjs \ + ONLYOFFICE:server:10929a0:server/server \ + ONLYOFFICE:web-apps:1851cae:webapps/web-apps \ + ONLYOFFICE:plugin-highlightcode:7ea4ddf:sdkjs_plugins_highlightcode/sdkjs-plugins/plugin-highlightcode \ + ONLYOFFICE:plugin-macros:4027439:sdkjs_plugins_macros/sdkjs-plugins/plugin-macros \ + ONLYOFFICE:plugin-mendeley:5a36bf9:sdkjs_plugins_mendeley/sdkjs-plugins/plugin-mendeley \ + ONLYOFFICE:plugin-ocr:5b24c87:sdkjs_plugins_ocr/sdkjs-plugins/plugin-ocr \ + ONLYOFFICE:plugin-photoeditor:995b5f6:sdkjs_plugins_photoeditor/sdkjs-plugins/plugin-photoeditor \ + ONLYOFFICE:plugin-speech:fcec715:sdkjs_plugins_speech/sdkjs-plugins/plugin-speech \ + ONLYOFFICE:plugin-thesaurus:4ada280:sdkjs_plugins_thesaurus/sdkjs-plugins/plugin-thesaurus \ + ONLYOFFICE:plugin-translator:ba6caed:sdkjs_plugins_translator/sdkjs-plugins/plugin-translator \ + ONLYOFFICE:plugin-youtube:4dec911:sdkjs_plugins_youtube/sdkjs-plugins/plugin-youtube \ + ONLYOFFICE:plugin-zotero:c9f472f:sdkjs_plugins_zotero/sdkjs-plugins/plugin-zotero \ + ONLYOFFICE:build_tools:cf4cac94:buildtools/build_tools \ + ONLYOFFICE:DocumentBuilder:4169685e6:document_builder/DocumentBuilder \ + ONLYOFFICE:onlyoffice.github.io:ca730969:sdkjs_plugins_v1/onlyoffice.github.io \ + ONLYOFFICE:document-server-package:c12273c0a:dsp/document-server-package \ + hackers-painters:katana-parser:499118d3:hackers_painters_katana/core/Common/3dParty/html/katana-parser \ + google:gumbo-parser:aa91b27:google_gumbo/core/Common/3dParty/html/gumbo-parser + +BINARY_ALIAS= python=${PYTHON_CMD} +USE_LDCONFIG= yes + +WWWDIR= ${PREFIX}/www/onlyoffice +ETCDIR= ${PREFIX}/etc/onlyoffice + +DS_USERNAME= onlyoffice +DS_GROUPNAME= onlyoffice + +USERS= ${DS_USERNAME} +GROUPS= ${DS_GROUPNAME} + +PLIST_SUB= DS_GROUPNAME=${DS_GROUPNAME} \ + DS_USERNAME=${DS_USERNAME} +SUB_FILES= pkg-message +SUB_LIST= ETCDIR=${ETCDIR} \ + PREFIX=${PREFIX} \ + WWWDIR=${WWWDIR} + +MAKE_ENV= BUILD_NUMBER="1" \ + PKG_CACHE_PATH=${WRKDIR}/.pkg-cache \ + PRODUCT_VERSION="${DISTVERSION}" + +DOS2UNIX_FILES= document-server-package/common/documentserver/nginx/includes/http-common.conf.m4 + +CONFLICTS_BUILD=devel/googletest + +post-extract: + @${MV} ${WRKDIR}/v8 ${WRKSRC}/core/Common/3dParty/v8 + + @${MKDIR} ${WRKDIR}/.pkg-cache/node + @${CP} ${DISTDIR}/node-v16.13.0.tar.gz ${WRKDIR}/.pkg-cache/node +# Checksum can be verified here: https://nodejs.org/dist/v16.13.0/SHASUMS256.txt + @${ECHO} "9c00e5b6024cfcbc9105f9c58cf160762e78659a345d100c5bd80a7fb38c684f node-v16.13.0.tar.gz" > \ + ${WRKDIR}/.pkg-cache/node/node-v16.13.0.tar.gz.sha256sum + + @${MKDIR} ${WRKSRC}/sdkjs-plugins/v1 + @${CP} ${WRKSRC}/onlyoffice.github.io/sdkjs-plugins/v1/* ${WRKSRC}/sdkjs-plugins/v1 + + @${MV} ${WRKSRC}/server/Common/config/production-linux.json ${WRKSRC}/server/Common/config/production-freebsd.json + @${MV} ${WRKSRC}/server/Common/config/development-linux.json ${WRKSRC}/server/Common/config/development-freebsd.json + +post-patch: + @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' \ + ${WRKSRC}/core/Common/3dParty/v8/v8/build/toolchain/gcc_toolchain.gni \ + ${WRKSRC}/core/Common/3dParty/v8/v8/buildtools/third_party/libc++/BUILD.gn \ + ${WRKSRC}/core/DesktopEditor/fontengine/ApplicationFonts.cpp + @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|' -e 's|%%CXX%%|${CXX}|' \ + ${WRKSRC}/core/Common/3dParty/v8/v8/build/toolchain/gcc_toolchain.gni \ + ${WRKSRC}/core/Common/base.pri + @${REINPLACE_CMD} 's|%%WRKDIR%%|${WRKDIR}|' \ + ${WRKSRC}/document-server-package/Makefile + @${REINPLACE_CMD} 's|%%WRKSRC%%|${WRKSRC}|' \ + ${WRKSRC}/build_tools/scripts/build_js.py \ + ${WRKSRC}/build_tools/scripts/build_server.py \ + ${WRKSRC}/document-server-package/Makefile + @${REINPLACE_CMD} -e 's|linux|freebsd|' -e 's|/etc|${LOCALBASE}/etc|' \ + ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-docservice.conf.m4 \ + ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-converter.conf.m4 \ + ${WRKSRC}/document-server-package/common/documentserver-example/supervisor/ds-example.conf.m4 \ + ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-static-gzip.sh.m4 \ + ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-update-securelink.sh.m4 + @${REINPLACE_CMD} 's|/var/www|${LOCALBASE}/www|' \ + ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-generate-allfonts.sh.m4 \ + ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-static-gzip.sh.m4 \ + ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-converter.conf.m4 \ + ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-docservice.conf.m4 \ + ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-metrics.conf.m4 + @${REINPLACE_CMD} -e 's|/var/lib|/var/db|' -e 's|/var/www|${LOCALBASE}/www|' \ + -e 's|/usr/share|${LOCALBASE}/share|' -e 's|/etc|${LOCALBASE}/etc|' \ + ${WRKSRC}/server/Common/config/production-freebsd.json \ + ${WRKSRC}/server/Common/config/development-freebsd.json + @${REINPLACE_CMD} -e 's|bash|sh|' -e 's|sed|gsed|' \ + ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-static-gzip.sh.m4 \ + ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-update-securelink.sh.m4 + @${REINPLACE_CMD} 's|%%DISTDIR%%|${DISTDIR}|' \ + ${WRKSRC}/web-apps/build/patches/optipng-bin+5.1.0.patch + @${RM} ${WRKSRC}/web-apps/build/patches/optipng-bin+5.1.0.patch.orig + + @${FIND} ${WRKSRC}/server -type f -name npm-shrinkwrap.json -delete + +do-build: + @${CP} ${FILESDIR}/packagejsons/server/package-lock.json ${WRKSRC}/server + @${CP} ${FILESDIR}/packagejsons/server/Common/package-lock.json ${WRKSRC}/server/Common + + @cd ${WRKSRC}/web-apps/build ; ${SETENV} ${MAKE_ENV} npm install patch-package + @cd ${WRKSRC}/web-apps/build ; ${SETENV} ${MAKE_ENV} npm install optipng-bin@5.1.0 + @cd ${WRKSRC}/web-apps/build ; node_modules/.bin/patch-package + @cd ${WRKSRC}/web-apps/build/node_modules ; ${SETENV} ${MAKE_ENV} npm build optipng-bin + + @cd ${WRKSRC}/web-apps/build ; ${SETENV} ${MAKE_ENV} npm install patch-package + @cd ${WRKSRC}/server ; ${SETENV} ${MAKE_ENV} npm install grunt-cli + @cd ${WRKSRC}/server ; ${SETENV} ${MAKE_ENV} npm install grunt + @cd ${WRKSRC}/server ; ${SETENV} ${MAKE_ENV} npm install pkg + @cd ${WRKSRC}/sdkjs ; ${SETENV} ${MAKE_ENV} npm install grunt-cli + @cd ${WRKSRC}/sdkjs ; ${SETENV} ${MAKE_ENV} npm install grunt + @cd ${WRKSRC} && ${PATCH} -N -s -i ${FILESDIR}/extra-patch-pkg-fetch_lib-es5_build.js || ${TRUE} + @cd ${WRKSRC} && ${PATCH} -N -s -i ${FILESDIR}/extra-patch-pkg-fetch_patches_node.v16.13.0.cpp.patch || ${TRUE} + + cd ${WRKSRC}/build_tools/tools/freebsd ; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} automate.py + cd ${WRKSRC}/document-server-package ; ${SETENV} ${MAKE_ENV} ${GMAKE} freebsd + +do-install: +# install the project +# do not strip docservice, converter and metrics + cd ${WRKSRC}/document-server-package/common/documentserver/home && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/documentserver + ${INSTALL_SCRIPT} ${WRKSRC}/document-server-package/common/documentserver/bin/*.sh ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/server/tools/all* ${STAGEDIR}${WWWDIR}/documentserver/server/tools + ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/server/FileConverter/bin/x2t ${STAGEDIR}${WWWDIR}/documentserver/server/FileConverter/bin + ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/server/FileConverter/bin/docbuilder ${STAGEDIR}${WWWDIR}/documentserver/server/FileConverter/bin + ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/npm/json ${STAGEDIR}${WWWDIR}/documentserver/npm + ${INSTALL_LIB} ${WRKSRC}/document-server-package/common/documentserver/home/server/FileConverter/bin/*.so ${STAGEDIR}${PREFIX}/lib + ${RM} ${STAGEDIR}${PREFIX}/bin/documentserver-letsencrypt.sh + +# install conf + ${MKDIR} ${STAGEDIR}${ETCDIR}/documentserver/supervisor \ + ${STAGEDIR}${ETCDIR}/documentserver/nginx/includes \ + ${STAGEDIR}${ETCDIR}/documentserver/logrotate + ${RM} ${WRKSRC}/document-server-package/common/documentserver/config/*-mac.json ${WRKSRC}/document-server-package/common/documentserver/config/*-windows.json + cd ${WRKSRC}/document-server-package/common/documentserver/supervisor && ${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR}/documentserver/supervisor "-name *\.conf" + cd ${WRKSRC}/document-server-package/common/documentserver/logrotate && ${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR}/documentserver/logrotate "-name *\.conf" +.for f in ds.conf includes/http-common.conf includes/ds-common.conf includes/ds-docservice.conf includes/ds-letsencrypt.conf + ${INSTALL_DATA} ${WRKSRC}/document-server-package/common/documentserver/nginx/${f} ${STAGEDIR}${ETCDIR}/documentserver/nginx/${f}.sample +.endfor + cd ${WRKSRC}/document-server-package/common/documentserver/nginx/includes && ${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR}/documentserver/nginx/includes "-name *\.conf" + cd ${WRKSRC}/document-server-package/common/documentserver/config && ${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR}/documentserver + ${INSTALL_DATA} ${FILESDIR}/local.json.sample ${STAGEDIR}${ETCDIR}/documentserver + +# create missing dir + ${MKDIR} ${STAGEDIR}/var/log/onlyoffice/documentserver/docservice \ + ${STAGEDIR}/var/log/onlyoffice/documentserver/converter \ + ${STAGEDIR}/var/log/onlyoffice/documentserver/metrics \ + ${STAGEDIR}/var/db/onlyoffice/documentserver/App_Data/cache/files \ + ${STAGEDIR}/var/db/onlyoffice/documentserver/App_Data/docbuilder \ + ${STAGEDIR}${WWWDIR}/Data \ + ${STAGEDIR}${WWWDIR}/documentserver/fonts + +.include diff --git a/www/onlyoffice-documentserver/distinfo b/www/onlyoffice-documentserver/distinfo new file mode 100644 index 0000000000000..3eb4d249f1f39 --- /dev/null +++ b/www/onlyoffice-documentserver/distinfo @@ -0,0 +1,59 @@ +TIMESTAMP = 1641567875 +SHA256 (v8-8.7.220.31_all.tar.gz) = 0d2e1355cbbb80130d87f9e0acfb94c72846f820339b8a1003875230a5d0fa2f +SIZE (v8-8.7.220.31_all.tar.gz) = 305810432 +SHA256 (node-v16.13.0.tar.gz) = 9c00e5b6024cfcbc9105f9c58cf160762e78659a345d100c5bd80a7fb38c684f +SIZE (node-v16.13.0.tar.gz) = 63735070 +SHA256 (npm-cache-onlyoffice.tar.gz) = 85c72a0b06439352f2a0ead2fb1412436c38b0dc3200c620f52967415adbf225 +SIZE (npm-cache-onlyoffice.tar.gz) = 263763627 +SHA256 (optipng-0.7.7.tar.gz) = 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452 +SIZE (optipng-0.7.7.tar.gz) = 2329555 +SHA256 (ONLYOFFICE-DocumentServer-v6.4.2_GH0.tar.gz) = fac8bb07884149c042afabb2ab9ce8ba1c11dd35379eea1e2086d6d5bef45a5d +SIZE (ONLYOFFICE-DocumentServer-v6.4.2_GH0.tar.gz) = 51163 +SHA256 (ONLYOFFICE-core-0c29e4d_GH0.tar.gz) = e522f85ce12c66f46edfb252efcf8f6205d693b95c3391bf485fb7accfd41735 +SIZE (ONLYOFFICE-core-0c29e4d_GH0.tar.gz) = 83856852 +SHA256 (ONLYOFFICE-core-fonts-3929a09_GH0.tar.gz) = f264251db39c2ac844644dfebccc6fa836afb2a27cce1bfc565645a48600b49b +SIZE (ONLYOFFICE-core-fonts-3929a09_GH0.tar.gz) = 95253093 +SHA256 (ONLYOFFICE-dictionaries-cfa50d3_GH0.tar.gz) = b58d9df27bd3b8a5898a28727e247e282ecb1b770d7980205c0ef4eba5e5fa58 +SIZE (ONLYOFFICE-dictionaries-cfa50d3_GH0.tar.gz) = 39363959 +SHA256 (ONLYOFFICE-document-server-integration-v1.0.0_GH0.tar.gz) = f09c9384d3abea4d7e3ef31df333125d4e45cc4fa9ecc69a573ee6562231658a +SIZE (ONLYOFFICE-document-server-integration-v1.0.0_GH0.tar.gz) = 5227788 +SHA256 (ONLYOFFICE-document-templates-v6.4.2.1_GH0.tar.gz) = b3ad21607446074d36a1913f6b1ac896e38911c8a9c7ffd4a7ea68f5cb6cf39f +SIZE (ONLYOFFICE-document-templates-v6.4.2.1_GH0.tar.gz) = 2152308 +SHA256 (ONLYOFFICE-sdkjs-9af7d08_GH0.tar.gz) = 45198d1264b52e36a1e8c66d69130c214a713f4f0ee1a2b9428f95d75480e1e6 +SIZE (ONLYOFFICE-sdkjs-9af7d08_GH0.tar.gz) = 11523531 +SHA256 (ONLYOFFICE-server-10929a0_GH0.tar.gz) = 439822bbf9a3849823c63cff93b3af0d31560134e58b8b4562baec56d69dab14 +SIZE (ONLYOFFICE-server-10929a0_GH0.tar.gz) = 242462 +SHA256 (ONLYOFFICE-web-apps-1851cae_GH0.tar.gz) = 598f57b821013e14936a539ebfc7fe1da1ce673d85c95fdfdd607f8e4fa4b5e6 +SIZE (ONLYOFFICE-web-apps-1851cae_GH0.tar.gz) = 215031184 +SHA256 (ONLYOFFICE-plugin-highlightcode-7ea4ddf_GH0.tar.gz) = 74ec5782ee967bbddf4b524311dcc09be0e28a7e15ef07ce85b30c1fbf0dda90 +SIZE (ONLYOFFICE-plugin-highlightcode-7ea4ddf_GH0.tar.gz) = 245219 +SHA256 (ONLYOFFICE-plugin-macros-4027439_GH0.tar.gz) = faf8a2bee2c8eaa169eec6ceae272d168e0b6307a16845b5fb844f039cebd351 +SIZE (ONLYOFFICE-plugin-macros-4027439_GH0.tar.gz) = 2616745 +SHA256 (ONLYOFFICE-plugin-mendeley-5a36bf9_GH0.tar.gz) = 3da951e764ff201d8853ca70e1bc147a0b4bcf6a3b2134b067de8432c293bee0 +SIZE (ONLYOFFICE-plugin-mendeley-5a36bf9_GH0.tar.gz) = 417551 +SHA256 (ONLYOFFICE-plugin-ocr-5b24c87_GH0.tar.gz) = f39b418974868c863ce313873b876e47cd33a3469d786a9eade584c35881cbae +SIZE (ONLYOFFICE-plugin-ocr-5b24c87_GH0.tar.gz) = 169538 +SHA256 (ONLYOFFICE-plugin-photoeditor-995b5f6_GH0.tar.gz) = 413b4444a9d3f47a57637f141066ea72e4e24bbbed9c0f45794b2d9da651d43c +SIZE (ONLYOFFICE-plugin-photoeditor-995b5f6_GH0.tar.gz) = 201051 +SHA256 (ONLYOFFICE-plugin-speech-fcec715_GH0.tar.gz) = d85e322059d8b62176c0d3f6a0a999268932990e314242c6b4828ec1a28bbbd0 +SIZE (ONLYOFFICE-plugin-speech-fcec715_GH0.tar.gz) = 68212 +SHA256 (ONLYOFFICE-plugin-thesaurus-4ada280_GH0.tar.gz) = 8834dec6b1d3ac3aabe4c1c8697bbce859acee0b38137d1d8310631bf7da1286 +SIZE (ONLYOFFICE-plugin-thesaurus-4ada280_GH0.tar.gz) = 42914 +SHA256 (ONLYOFFICE-plugin-translator-ba6caed_GH0.tar.gz) = d78241b0a23e7b451c92d67a14626066e838dfe1fed098cf1032939c797cabf0 +SIZE (ONLYOFFICE-plugin-translator-ba6caed_GH0.tar.gz) = 140898 +SHA256 (ONLYOFFICE-plugin-youtube-4dec911_GH0.tar.gz) = 953526e6b8d56a21d1428be949cbb1dc1017b3a0d7f07703aaa860fdb5f9afc4 +SIZE (ONLYOFFICE-plugin-youtube-4dec911_GH0.tar.gz) = 11635 +SHA256 (ONLYOFFICE-plugin-zotero-c9f472f_GH0.tar.gz) = 8cabfed9f54e23630b7a0fec71db8e16c703b1c67eb85a439a09b5e311ac0ab9 +SIZE (ONLYOFFICE-plugin-zotero-c9f472f_GH0.tar.gz) = 33816 +SHA256 (ONLYOFFICE-build_tools-cf4cac94_GH0.tar.gz) = ef2617a425b3c4b5c893709725f2c4941cb872ecc8c6fbb966fb12ae80f50f18 +SIZE (ONLYOFFICE-build_tools-cf4cac94_GH0.tar.gz) = 4089822 +SHA256 (ONLYOFFICE-DocumentBuilder-4169685e6_GH0.tar.gz) = 697bd92c6d02973a5e9df78d3be888f7e305983eda3661e3a16ae7fbbee6bb9e +SIZE (ONLYOFFICE-DocumentBuilder-4169685e6_GH0.tar.gz) = 1271109 +SHA256 (ONLYOFFICE-onlyoffice.github.io-ca730969_GH0.tar.gz) = 1612d7ab512bfe80001d40da99cb96761c0bfcd9026c1be5ba8ffa3a050ac085 +SIZE (ONLYOFFICE-onlyoffice.github.io-ca730969_GH0.tar.gz) = 13278 +SHA256 (ONLYOFFICE-document-server-package-c12273c0a_GH0.tar.gz) = c6b226a8616d1a897a64fdf3de4cdf2a70e9418fde911bb558cef84d57633fc5 +SIZE (ONLYOFFICE-document-server-package-c12273c0a_GH0.tar.gz) = 171493 +SHA256 (hackers-painters-katana-parser-499118d3_GH0.tar.gz) = ed83020cbe07877c7323d475491803797fac12ce4086966011c81023b9852c4b +SIZE (hackers-painters-katana-parser-499118d3_GH0.tar.gz) = 97209 +SHA256 (google-gumbo-parser-aa91b27_GH0.tar.gz) = 1360f85c02fb2573a10f00abcddebc8f1ff277a16f66553439193af93afae335 +SIZE (google-gumbo-parser-aa91b27_GH0.tar.gz) = 2119417 diff --git a/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js b/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js new file mode 100644 index 0000000000000..aa81e8db03d81 --- /dev/null +++ b/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js @@ -0,0 +1,24 @@ +--- server/node_modules/pkg-fetch/lib-es5/build.js.orig 2021-12-31 17:50:57.174508000 +0100 ++++ server/node_modules/pkg-fetch/lib-es5/build.js 2021-12-31 17:50:42.893063000 +0100 +@@ -98,18 +98,14 @@ function getConfigureArgs(major, targetPlatform) { + if (targetPlatform === 'linuxstatic') { + args.push('--fully-static'); + } +- // Link Time Optimization +- if (major >= 12) { +- if (system_1.hostPlatform !== 'win') { +- args.push('--enable-lto'); +- } +- } + // DTrace + args.push('--without-dtrace'); + // bundled npm package manager + args.push('--without-npm'); + // Small ICU +- args.push('--with-intl=small-icu'); ++ args.push('--with-intl=system-icu'); ++ args.push('--shared-openssl'); ++ args.push('--openssl-use-def-ca-store'); + // Workaround for nodejs/node#39313 + // All supported macOS versions have zlib as a system library + if (targetPlatform === 'macos') { diff --git a/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_patches_node.v16.13.0.cpp.patch b/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_patches_node.v16.13.0.cpp.patch new file mode 100644 index 0000000000000..123dd5c3a4c90 --- /dev/null +++ b/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_patches_node.v16.13.0.cpp.patch @@ -0,0 +1,174 @@ +--- server/node_modules/pkg-fetch/patches/node.v16.13.0.cpp.patch.orig 2021-12-30 20:04:18.203959000 +0100 ++++ server/node_modules/pkg-fetch/patches/node.v16.13.0.cpp.patch 2021-12-30 20:09:53.210319000 +0100 +@@ -521,3 +521,171 @@ index 0000000000..fb2d47f52b + 'cflags_cc!': [ '-fno-rtti' ], + }], + [ 'OS == "mac" or OS == "ios"', { ++--- node/deps/openssl/config/archs/linux-elf/no-asm/openssl-cl.gypi.orig 2019-08-06 20:46:23 UTC +++++ node/deps/openssl/config/archs/linux-elf/no-asm/openssl-cl.gypi ++@@ -12,7 +12,7 @@ ++ '-Wall -O3 -fomit-frame-pointer', ++ ], ++ 'openssl_ex_libs_linux-elf': [ ++- '-ldl -pthread', +++ '-pthread', ++ ], ++ 'openssl_cli_srcs_linux-elf': [ ++ 'openssl/apps/asn1pars.c', ++--- node/deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi.orig 2021-03-17 20:16:25 UTC +++++ node/deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi ++@@ -698,7 +698,7 @@ ++ '-Wall -O3 -fomit-frame-pointer', ++ ], ++ 'openssl_ex_libs_linux-elf': [ ++- '-ldl -pthread', +++ '-pthread', ++ ], ++ }, ++ 'include_dirs': [ ++--- node/deps/openssl/openssl_no_asm.gypi.orig 2020-09-08 12:17:11 UTC +++++ node/deps/openssl/openssl_no_asm.gypi ++@@ -48,7 +48,7 @@ ++ 'includes': ['config/archs/linux64-mips64/no-asm/openssl.gypi'], ++ }, { ++ # Other architectures don't use assembly ++- 'includes': ['config/archs/linux-x86_64/no-asm/openssl.gypi'], +++ 'includes': ['config/archs/linux-elf/no-asm/openssl.gypi'], ++ }], ++ ], ++ } ++--- node/deps/openssl/openssl-cl_no_asm.gypi.orig 2020-09-08 12:17:10 UTC +++++ node/deps/openssl/openssl-cl_no_asm.gypi ++@@ -1,4 +1,5 @@ ++ { +++ 'defines': ['OPENSSL_NO_ASM'], ++ 'conditions': [ ++ ['target_arch=="ppc" and OS=="aix"', { ++ 'includes': ['config/archs/aix-gcc/no-asm/openssl-cl.gypi'], ++@@ -47,7 +48,7 @@ ++ 'includes': ['config/archs/linux64-mips64/no-asm/openssl-cl.gypi'], ++ }, { ++ # Other architectures don't use assembly ++- 'includes': ['config/archs/linux-x86_64/no-asm/openssl-cl.gypi'], +++ 'includes': ['config/archs/linux-elf/no-asm/openssl-cl.gypi'], ++ }], ++ ], ++ } ++--- node/deps/v8/src/base/platform/platform-freebsd.cc.orig 2020-06-30 17:49:16 UTC +++++ node/deps/v8/src/base/platform/platform-freebsd.cc ++@@ -82,8 +82,8 @@ std::vector OS::GetSharedLib ++ lib_name = std::string(path); ++ } ++ result.push_back(SharedLibraryAddress( ++- lib_name, reinterpret_cast(map->kve_start), ++- reinterpret_cast(map->kve_end))); +++ lib_name, static_cast(map->kve_start), +++ static_cast(map->kve_end))); ++ } ++ ++ start += ssize; ++@@ -94,6 +94,48 @@ std::vector OS::GetSharedLib ++ } ++ ++ void OS::SignalCodeMovingGC() {} +++ +++#ifdef __arm__ +++ +++bool OS::ArmUsingHardFloat() { +++// GCC versions 4.6 and above define __ARM_PCS or __ARM_PCS_VFP to specify +++// the Floating Point ABI used (PCS stands for Procedure Call Standard). +++// We use these as well as a couple of other defines to statically determine +++// what FP ABI used. +++// GCC versions 4.4 and below don't support hard-fp. +++// GCC versions 4.5 may support hard-fp without defining __ARM_PCS or +++// __ARM_PCS_VFP. +++ +++#define GCC_VERSION \ +++ (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) +++#if GCC_VERSION >= 40600 && !defined(__clang__) +++#if defined(__ARM_PCS_VFP) +++ return true; +++#else +++ return false; +++#endif +++ +++#elif GCC_VERSION < 40500 && !defined(__clang__) +++ return false; +++ +++#else +++#if defined(__ARM_PCS_VFP) +++ return true; +++#elif defined(__ARM_PCS) || defined(__SOFTFP__) || defined(__SOFTFP) || \ +++ !defined(__VFP_FP__) +++ return false; +++#else +++#error \ +++ "Your version of compiler does not report the FP ABI compiled for." \ +++ "Please report it on this issue" \ +++ "http://code.google.com/p/v8/issues/detail?id=2140" +++ +++#endif +++#endif +++#undef GCC_VERSION +++} +++ +++#endif // def __arm__ ++ ++ void OS::AdjustSchedulingParams() {} ++ ++--- node/deps/v8/src/codegen/ppc/constants-ppc.h.orig 2020-06-30 17:49:17 UTC +++++ node/deps/v8/src/codegen/ppc/constants-ppc.h ++@@ -36,7 +36,7 @@ ++ #endif ++ ++ #if !(V8_HOST_ARCH_PPC || V8_HOST_ARCH_PPC64) || !V8_TARGET_ARCH_PPC64 || \ ++- V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2) +++ (defined(_CALL_ELF) && _CALL_ELF == 2) ++ #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 1 ++ #else ++ #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 0 ++@@ -44,7 +44,7 @@ ++ ++ #if !(V8_HOST_ARCH_PPC || V8_HOST_ARCH_PPC64) || \ ++ (V8_TARGET_ARCH_PPC64 && \ ++- (V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2))) +++ (defined(_CALL_ELF) && _CALL_ELF == 2)) ++ #define ABI_CALL_VIA_IP 1 ++ #else ++ #define ABI_CALL_VIA_IP 0 ++--- node/deps/v8/src/libsampler/sampler.cc.orig 2021-10-08 13:38:46 UTC +++++ node/deps/v8/src/libsampler/sampler.cc ++@@ -490,6 +490,10 @@ void SignalHandler::FillRegisterState(void* context, R ++ state->pc = reinterpret_cast(mcontext.__gregs[_REG_PC]); ++ state->sp = reinterpret_cast(mcontext.__gregs[_REG_SP]); ++ state->fp = reinterpret_cast(mcontext.__gregs[_REG_FP]); +++#elif V8_TARGET_ARCH_PPC64 +++ state->pc = reinterpret_cast(mcontext.mc_srr0); +++ state->sp = reinterpret_cast(mcontext.mc_frame[1]); +++ state->fp = reinterpret_cast(mcontext.mc_frame[31]); ++ #endif // V8_HOST_ARCH_* ++ #elif V8_OS_NETBSD ++ #if V8_HOST_ARCH_IA32 ++--- node/node.gypi.orig 2021-03-03 05:40:19 UTC +++++ node/node.gypi ++@@ -319,6 +319,9 @@ ++ [ 'node_use_openssl=="true"', { ++ 'defines': [ 'HAVE_OPENSSL=1' ], ++ 'conditions': [ +++ ['openssl_no_asm==1', { +++ 'defines': [ 'OPENSSL_NO_ASM' ], +++ }], ++ [ 'node_shared_openssl=="false"', { ++ 'dependencies': [ ++ './deps/openssl/openssl.gyp:openssl', ++--- node/src/cares_wrap.h.orig 2021-08-18 22:13:12 UTC +++++ node/src/cares_wrap.h ++@@ -22,7 +22,7 @@ ++ # include ++ #endif // __POSIX__ ++ ++-# include +++# include ++ ++ namespace node { ++ namespace cares_wrap { diff --git a/www/onlyoffice-documentserver/files/local.json.sample b/www/onlyoffice-documentserver/files/local.json.sample new file mode 100644 index 0000000000000..afe6599ff5133 --- /dev/null +++ b/www/onlyoffice-documentserver/files/local.json.sample @@ -0,0 +1,43 @@ +{ + "services": { + "CoAuthoring": { + "sql": { + "type": "postgres", + "dbHost": "localhost", + "dbPort": "5432", + "dbName": "onlyoffice", + "dbUser": "onlyoffice", + "dbPass": "onlyoffice" + }, + "token": { + "enable": { + "request": { + "inbox": false, + "outbox": false + }, + "browser": false + }, + "inbox": { + "header": "Authorization" + }, + "outbox": { + "header": "Authorization" + } + }, + "secret": { + "inbox": { + "string": "secret" + }, + "outbox": { + "string": "secret" + }, + "session": { + "string": "secret" + } + } + } + }, + "rabbitmq": { + "url": "amqp://guest:guest@localhost" + } +} diff --git a/www/onlyoffice-documentserver/files/packagejsons/server/Common/package-lock.json b/www/onlyoffice-documentserver/files/packagejsons/server/Common/package-lock.json new file mode 100644 index 0000000000000..a65460f327f7c --- /dev/null +++ b/www/onlyoffice-documentserver/files/packagejsons/server/Common/package-lock.json @@ -0,0 +1,1028 @@ +{ + "name": "common", + "version": "1.0.1", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "amazon-s3-url-signer": { + "version": "https://github.com/agolybev/amazon-s3-url-signer/archive/v0.0.9.tar.gz", + "integrity": "sha512-wkmsZG000+d711di1U3690g3rE++ettaLZWDrAESgNhklr3wQcYEdEqAnQjgNirM0jjByQ9HTCeV48wFpHHguQ==" + }, + "amqplib": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/amqplib/-/amqplib-0.5.6.tgz", + "integrity": "sha512-J4TR0WAMPBHN+tgTuhNsSObfM9eTVTZm/FNw0LyaGfbiLsBxqSameDNYpChUFXW4bnTKHDXy0ab+nuLhumnRrQ==", + "requires": { + "bitsyntax": "~0.1.0", + "bluebird": "^3.5.2", + "buffer-more-ints": "~1.0.0", + "readable-stream": "1.x >=1.1.9", + "safe-buffer": "~5.1.2", + "url-parse": "~1.4.3" + } + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" + }, + "asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "aws-sdk": { + "version": "2.1049.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1049.0.tgz", + "integrity": "sha512-+wls9iNlotMeoZepwgR0yPzXsjXzr2ijoi5ERmsPWfMTFMHkm6INndBtSkm6fpu/NZnl+7EaPPES2yhaqnhoJg==", + "requires": { + "buffer": "4.9.2", + "events": "1.1.1", + "ieee754": "1.1.13", + "jmespath": "0.15.0", + "querystring": "0.2.0", + "sax": "1.2.1", + "url": "0.10.3", + "uuid": "3.3.2", + "xml2js": "0.4.19" + } + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "bitsyntax": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/bitsyntax/-/bitsyntax-0.1.0.tgz", + "integrity": "sha512-ikAdCnrloKmFOugAfxWws89/fPc+nw0OOG1IzIE72uSOg/A3cYptKCjSUhDTuj7fhsJtzkzlv7l3b8PzRHLN0Q==", + "requires": { + "buffer-more-ints": "~1.0.0", + "debug": "~2.6.9", + "safe-buffer": "~5.1.2" + } + }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "buffer": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + } + } + }, + "buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" + }, + "buffer-more-ints": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-more-ints/-/buffer-more-ints-1.0.0.tgz", + "integrity": "sha512-EMetuGFz5SLsT0QTnXzINh4Ksr+oo4i+UGTXEshiGCQWnsgSs7ZhJ8fzlwQ+OzEMs0MpDAMr1hxnblp5a4vcHg==" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "circular-json": { + "version": "0.5.9", + "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.5.9.tgz", + "integrity": "sha512-4ivwqHpIFJZBuhN3g/pEcdbnGUywkBblloGbkglyloVjjR3uT6tieI89MVOfbP2tHX5sgb01FuLgAOzebNlJNQ==" + }, + "clone": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "config": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/config/-/config-2.0.2.tgz", + "integrity": "sha512-duIbkKb0gls0bOtGwd1vaD4236MwepQlZcrMheOGrn3/9Px7oYFh8G4LB3ylGOlPr5wGoJRm8Grb2RihJZxuHQ==", + "requires": { + "json5": "^1.0.1" + } + }, + "content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "requires": { + "safe-buffer": "5.2.1" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, + "core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "date-format": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/date-format/-/date-format-1.2.0.tgz", + "integrity": "sha1-YV6CjiM90aubua4JUODOzPpuytg=" + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "dnscache": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/dnscache/-/dnscache-1.0.2.tgz", + "integrity": "sha512-2FFKzmLGOnD+Y378bRKH+gTjRMuSpH7OKgPy31KjjfCoKZx7tU8Dmqfd/3fhG2d/4bppuN8/KtWMUZBAcUCRnQ==", + "requires": { + "asap": "^2.0.6", + "lodash.clone": "^4.5.0" + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "events": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=" + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" + }, + "fs-extra": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", + "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "graceful-fs": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, + "har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "ieee754": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" + }, + "is-electron": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-electron/-/is-electron-2.2.1.tgz", + "integrity": "sha512-r8EEQQsqT+Gn0aXFx7lTFygYQhILLCB+wn0WCDL5LZRINeLH/Rvw1j2oKodELLXYNImQ3CRlVsY8wW4cGOsyuw==" + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "jmespath": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.15.0.tgz", + "integrity": "sha1-o/Iiqarp+Wb10nx5ZRDigJF2Qhc=" + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, + "json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "requires": { + "minimist": "^1.2.0" + } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "requires": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + } + }, + "jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + } + }, + "jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "requires": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "requires": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lodash.clone": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz", + "integrity": "sha1-GVhwRQ9aExkkeN9Lw9I9LeoZB7Y=" + }, + "lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" + }, + "lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" + }, + "lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" + }, + "lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" + }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" + }, + "lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" + }, + "lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" + }, + "log4js": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/log4js/-/log4js-3.0.6.tgz", + "integrity": "sha512-ezXZk6oPJCWL483zj64pNkMuY/NcRX5MPiB0zE6tjZM137aeusrOnW1ecxgF9cmwMWkBMhjteQxBPoZBh9FDxQ==", + "requires": { + "circular-json": "^0.5.5", + "date-format": "^1.2.0", + "debug": "^3.1.0", + "rfdc": "^1.1.2", + "streamroller": "0.7.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "make-dir": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", + "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", + "requires": { + "pify": "^3.0.0" + } + }, + "mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==" + }, + "mime-db": { + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" + }, + "mime-types": { + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "requires": { + "mime-db": "1.51.0" + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "requires": { + "minimist": "^1.2.5" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node-cache": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/node-cache/-/node-cache-4.2.1.tgz", + "integrity": "sha512-BOb67bWg2dTyax5kdef5WfU3X8xu4wPg+zHzkvls0Q/QpYycIFRLEEIdAx9Wma43DxG6Qzn4illdZoYseKWa4A==", + "requires": { + "clone": "2.x", + "lodash": "^4.17.15" + } + }, + "node-fetch": { + "version": "2.6.6", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz", + "integrity": "sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==", + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" + }, + "node-localstorage": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/node-localstorage/-/node-localstorage-1.3.1.tgz", + "integrity": "sha512-NMWCSWWc6JbHT5PyWlNT2i8r7PgGYXVntmKawY83k/M0UJScZ5jirb61TLnqKwd815DfBQu+lR3sRw08SPzIaQ==", + "requires": { + "write-file-atomic": "^1.1.4" + } + }, + "node-statsd": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/node-statsd/-/node-statsd-0.1.1.tgz", + "integrity": "sha1-J6WTSHY9CvegN6wqAx/vPwUQE9M=" + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + }, + "openpgp": { + "version": "4.10.10", + "resolved": "https://registry.npmjs.org/openpgp/-/openpgp-4.10.10.tgz", + "integrity": "sha512-Ub48OogGPjNsr0G/wnJ/SyAQzt/tfcXZTWVZdjKFpXCQV1Ca+upFdSPPkBlGG3lb9EQGOKZJ2tzYNH6ZyKMkDQ==", + "requires": { + "asn1.js": "^5.0.0", + "node-fetch": "^2.1.2", + "node-localstorage": "~1.3.0" + } + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + }, + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + }, + "querystringify": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", + "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + } + }, + "request-filtering-agent": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/request-filtering-agent/-/request-filtering-agent-1.0.7.tgz", + "integrity": "sha512-SxtN35ClIAh4Pgae0ju9NGyPt3vxrb53r3gw7vSP/NAfauvSyiE3VHvGyX08Q1nhoIehLc00ooX8JYOOIt6lKg==", + "requires": { + "ipaddr.js": "^2.0.0" + }, + "dependencies": { + "ipaddr.js": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", + "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==" + } + } + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" + }, + "rfdc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", + "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==" + }, + "rhea": { + "version": "0.3.11", + "resolved": "https://registry.npmjs.org/rhea/-/rhea-0.3.11.tgz", + "integrity": "sha512-SCVJwkRJFpmkpujNcTAH2NGqpNv0QEnZa3F9HH01IU8cuSxE7a/bmaHnwwoY+t5czcjQELeU4iHhJkib6KXy7A==", + "requires": { + "debug": "0.8.0 - 3.5.0" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "sax": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", + "integrity": "sha1-e45lYZCyKOgaZq6nSEgNgozS03o=" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, + "slide": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", + "integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=" + }, + "split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "requires": { + "through": "2" + } + }, + "sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "streamroller": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-0.7.0.tgz", + "integrity": "sha512-WREzfy0r0zUqp3lGO096wRuUp7ho1X6uo/7DJfTlEi0Iv/4gT7YHqXDjKC2ioVGBZtE8QzsQD9nx1nIuoZ57jQ==", + "requires": { + "date-format": "^1.2.0", + "debug": "^3.1.0", + "mkdirp": "^0.5.1", + "readable-stream": "^2.3.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "requires": { + "ms": "^2.1.1" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "dependencies": { + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + } + } + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "requires": { + "punycode": "^2.1.0" + }, + "dependencies": { + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + } + } + }, + "url": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", + "integrity": "sha1-Ah5NnHcF8hu/N9A861h2dAJ3TGQ=", + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + } + }, + "url-parse": { + "version": "1.4.7", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.7.tgz", + "integrity": "sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg==", + "requires": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + }, + "dependencies": { + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + } + } + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "win-ca": { + "version": "3.4.5", + "resolved": "https://registry.npmjs.org/win-ca/-/win-ca-3.4.5.tgz", + "integrity": "sha512-2xTLq3jah7Sg8Pt8me2rbTnDMxulrX6gSfU9lscyqjyE4gj34sd9w6LK0v8aNHzow+s0WEX1vve58EixZbXiLg==", + "requires": { + "is-electron": "^2.2.0", + "make-dir": "^1.3.0", + "node-forge": "^0.10.0", + "split": "^1.0.1" + } + }, + "write-file-atomic": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-1.3.4.tgz", + "integrity": "sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8=", + "requires": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "slide": "^1.1.5" + } + }, + "xml2js": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz", + "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", + "requires": { + "sax": ">=0.6.0", + "xmlbuilder": "~9.0.1" + } + }, + "xmlbuilder": { + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", + "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=" + } + } +} diff --git a/www/onlyoffice-documentserver/files/packagejsons/server/package-lock.json b/www/onlyoffice-documentserver/files/packagejsons/server/package-lock.json new file mode 100644 index 0000000000000..29936c509a756 --- /dev/null +++ b/www/onlyoffice-documentserver/files/packagejsons/server/package-lock.json @@ -0,0 +1,2964 @@ +{ + "name": "builder", + "version": "1.0.1", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" + }, + "@babel/parser": { + "version": "7.16.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.2.tgz", + "integrity": "sha512-RUVpT0G2h6rOZwqLDTrKk7ksNv7YpAilTnYe1/Q+eDjxEceRMKVWbCsX7t8h6C1qCFi/1Y8WZjcEPBAFG27GPw==" + }, + "@babel/types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", + "requires": { + "@babel/helper-validator-identifier": "^7.15.7", + "to-fast-properties": "^2.0.0" + } + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + }, + "agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "requires": { + "debug": "4" + }, + "dependencies": { + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + } + } + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" + }, + "are-we-there-yet": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", + "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "requires": { + "sprintf-js": "~1.0.2" + }, + "dependencies": { + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" + } + } + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=" + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==" + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=" + }, + "array-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz", + "integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8=" + }, + "array-slice": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz", + "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==" + }, + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=" + }, + "async": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.2.tgz", + "integrity": "sha512-H0E+qZaDEfx/FY4t7iLRv1W2fFI6+pyCeTw1uN20AQPiwqwM6ojPxHxdLv4z8hi2DtnW9BOckSspLucW7pIE5g==" + }, + "at-least-node": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", + "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==" + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "requires": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "bower-config": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/bower-config/-/bower-config-1.4.3.tgz", + "integrity": "sha512-MVyyUk3d1S7d2cl6YISViwJBc2VXCkxF5AUFykvN0PQj5FsUiMNSgAYTso18oRFfyZ6XEtjrgg9MAaufHbOwNw==", + "requires": { + "graceful-fs": "^4.1.3", + "minimist": "^0.2.1", + "mout": "^1.0.0", + "osenv": "^0.1.3", + "untildify": "^2.1.0", + "wordwrap": "^0.0.3" + }, + "dependencies": { + "minimist": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.2.1.tgz", + "integrity": "sha512-GY8fANSrTMfBVfInqJAY41QkOM+upUTytK1jZ0c8+3HdHrJxBJ3rF5i9moClXTE8uUSnUo8cAsCoxDXvSY4DHg==" + } + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + } + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "check-dependencies": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/check-dependencies/-/check-dependencies-1.1.0.tgz", + "integrity": "sha512-GDrbGzzJ6Gc6tQh87HBMGhrJ4UWIlR9MKJwgvlrJyj/gWvTYYb2jQetKbajt/EYK5Y8/4g7gH2LEvq8GdUWTag==", + "requires": { + "bower-config": "^1.4.0", + "chalk": "^2.1.0", + "findup-sync": "^2.0.0", + "lodash.camelcase": "^4.3.0", + "minimist": "^1.2.0", + "semver": "^5.4.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "findup-sync": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-2.0.0.tgz", + "integrity": "sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=", + "requires": { + "detect-file": "^1.0.0", + "is-glob": "^3.1.0", + "micromatch": "^3.0.4", + "resolve-dir": "^1.0.1" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "requires": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "colors": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", + "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=" + }, + "component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=" + }, + "core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "dateformat": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", + "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==" + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=" + }, + "decompress-response": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-4.2.1.tgz", + "integrity": "sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==", + "requires": { + "mimic-response": "^2.0.0" + } + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" + }, + "detect-file": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", + "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=" + }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" + }, + "dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "requires": { + "path-type": "^4.0.0" + } + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "requires": { + "once": "^1.4.0" + } + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "escodegen": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz", + "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", + "requires": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true + } + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" + }, + "eventemitter2": { + "version": "0.4.14", + "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz", + "integrity": "sha1-j2G3XN4BKy6esoTUVFWDtWQ7Yas=" + }, + "exit": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", + "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=" + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "expand-template": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", + "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==" + }, + "expand-tilde": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", + "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=", + "requires": { + "homedir-polyfill": "^1.0.1" + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "fast-glob": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", + "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "dependencies": { + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "requires": { + "fill-range": "^7.0.1" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "micromatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.2.3" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "requires": { + "is-number": "^7.0.0" + } + } + } + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" + }, + "fastq": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", + "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "requires": { + "reusify": "^1.0.4" + } + }, + "file-sync-cmp": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/file-sync-cmp/-/file-sync-cmp-0.1.1.tgz", + "integrity": "sha1-peeo/7+kk7Q7kju9TKiaU7Y7YSs=" + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "findup-sync": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz", + "integrity": "sha1-N5MKpdgWt3fANEXhlmzGeQpMCxY=", + "requires": { + "glob": "~5.0.0" + }, + "dependencies": { + "glob": { + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", + "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", + "requires": { + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "2 || 3", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } + } + }, + "fined": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fined/-/fined-1.2.0.tgz", + "integrity": "sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng==", + "requires": { + "expand-tilde": "^2.0.2", + "is-plain-object": "^2.0.3", + "object.defaults": "^1.1.0", + "object.pick": "^1.2.0", + "parse-filepath": "^1.0.1" + } + }, + "flagged-respawn": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz", + "integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==" + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=" + }, + "for-own": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", + "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", + "requires": { + "for-in": "^1.0.1" + } + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "requires": { + "map-cache": "^0.2.2" + } + }, + "from2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", + "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + } + }, + "fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" + }, + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + } + } + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=" + }, + "getobject": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/getobject/-/getobject-1.0.2.tgz", + "integrity": "sha512-2zblDBaFcb3rB4rF77XVnuINOE2h2k/OnqXAiy0IrTxUfV1iFp3la33oAQVY9pCpWU268WFYVt2t71hlMuLsOg==" + }, + "github-from-package": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", + "integrity": "sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=" + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "requires": { + "is-glob": "^4.0.1" + }, + "dependencies": { + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + } + } + }, + "global-modules": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", + "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", + "requires": { + "global-prefix": "^1.0.1", + "is-windows": "^1.0.1", + "resolve-dir": "^1.0.0" + } + }, + "global-prefix": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", + "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", + "requires": { + "expand-tilde": "^2.0.2", + "homedir-polyfill": "^1.0.1", + "ini": "^1.3.4", + "is-windows": "^1.0.1", + "which": "^1.2.14" + } + }, + "globby": { + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", + "integrity": "sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==", + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.1.1", + "ignore": "^5.1.4", + "merge2": "^1.3.0", + "slash": "^3.0.0" + } + }, + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" + }, + "grunt": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/grunt/-/grunt-1.4.1.tgz", + "integrity": "sha512-ZXIYXTsAVrA7sM+jZxjQdrBOAg7DyMUplOMhTaspMRExei+fD0BTwdWXnn0W5SXqhb/Q/nlkzXclSi3IH55PIA==", + "requires": { + "dateformat": "~3.0.3", + "eventemitter2": "~0.4.13", + "exit": "~0.1.2", + "findup-sync": "~0.3.0", + "glob": "~7.1.6", + "grunt-cli": "~1.4.2", + "grunt-known-options": "~2.0.0", + "grunt-legacy-log": "~3.0.0", + "grunt-legacy-util": "~2.0.1", + "iconv-lite": "~0.4.13", + "js-yaml": "~3.14.0", + "minimatch": "~3.0.4", + "mkdirp": "~1.0.4", + "nopt": "~3.0.6", + "rimraf": "~3.0.2" + } + }, + "grunt-banner": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/grunt-banner/-/grunt-banner-0.6.0.tgz", + "integrity": "sha1-P4eQIdEj+linuloLb7a+QStYhaw=", + "requires": { + "chalk": "^1.1.0" + } + }, + "grunt-check-dependencies": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/grunt-check-dependencies/-/grunt-check-dependencies-1.0.0.tgz", + "integrity": "sha1-UYiVh8V+gn3enN9pt1CuCy+IHFA=", + "requires": { + "check-dependencies": "^1.0.1", + "lodash.clonedeep": "^4.5.0" + } + }, + "grunt-cli": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/grunt-cli/-/grunt-cli-1.4.3.tgz", + "integrity": "sha512-9Dtx/AhVeB4LYzsViCjUQkd0Kw0McN2gYpdmGYKtE2a5Yt7v1Q+HYZVWhqXc/kGnxlMtqKDxSwotiGeFmkrCoQ==", + "requires": { + "grunt-known-options": "~2.0.0", + "interpret": "~1.1.0", + "liftup": "~3.0.1", + "nopt": "~4.0.1", + "v8flags": "~3.2.0" + }, + "dependencies": { + "nopt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", + "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + } + } + }, + "grunt-contrib-clean": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/grunt-contrib-clean/-/grunt-contrib-clean-2.0.0.tgz", + "integrity": "sha512-g5ZD3ORk6gMa5ugZosLDQl3dZO7cI3R14U75hTM+dVLVxdMNJCPVmwf9OUt4v4eWgpKKWWoVK9DZc1amJp4nQw==", + "requires": { + "async": "^2.6.1", + "rimraf": "^2.6.2" + }, + "dependencies": { + "async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "requires": { + "lodash": "^4.17.14" + } + }, + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "requires": { + "glob": "^7.1.3" + } + } + } + }, + "grunt-contrib-copy": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/grunt-contrib-copy/-/grunt-contrib-copy-1.0.0.tgz", + "integrity": "sha1-cGDGWB6QS4qw0A8HbgqPbj58NXM=", + "requires": { + "chalk": "^1.1.1", + "file-sync-cmp": "^0.1.0" + } + }, + "grunt-known-options": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/grunt-known-options/-/grunt-known-options-2.0.0.tgz", + "integrity": "sha512-GD7cTz0I4SAede1/+pAbmJRG44zFLPipVtdL9o3vqx9IEyb7b4/Y3s7r6ofI3CchR5GvYJ+8buCSioDv5dQLiA==" + }, + "grunt-legacy-log": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-3.0.0.tgz", + "integrity": "sha512-GHZQzZmhyq0u3hr7aHW4qUH0xDzwp2YXldLPZTCjlOeGscAOWWPftZG3XioW8MasGp+OBRIu39LFx14SLjXRcA==", + "requires": { + "colors": "~1.1.2", + "grunt-legacy-log-utils": "~2.1.0", + "hooker": "~0.2.3", + "lodash": "~4.17.19" + } + }, + "grunt-legacy-log-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/grunt-legacy-log-utils/-/grunt-legacy-log-utils-2.1.0.tgz", + "integrity": "sha512-lwquaPXJtKQk0rUM1IQAop5noEpwFqOXasVoedLeNzaibf/OPWjKYvvdqnEHNmU+0T0CaReAXIbGo747ZD+Aaw==", + "requires": { + "chalk": "~4.1.0", + "lodash": "~4.17.19" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "grunt-legacy-util": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-2.0.1.tgz", + "integrity": "sha512-2bQiD4fzXqX8rhNdXkAywCadeqiPiay0oQny77wA2F3WF4grPJXCvAcyoWUJV+po/b15glGkxuSiQCK299UC2w==", + "requires": { + "async": "~3.2.0", + "exit": "~0.1.2", + "getobject": "~1.0.0", + "hooker": "~0.2.3", + "lodash": "~4.17.21", + "underscore.string": "~3.3.5", + "which": "~2.0.2" + }, + "dependencies": { + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "grunt-mkdir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/grunt-mkdir/-/grunt-mkdir-1.0.0.tgz", + "integrity": "sha1-c+GiasJKCFljY/TdlUsNMkheWOk=" + }, + "grunt-stripcomments": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/grunt-stripcomments/-/grunt-stripcomments-0.7.2.tgz", + "integrity": "sha1-c4t3Z2Nnu/EmiJrpEJFRsB9a7w4=", + "requires": { + "chalk": "^1.1.3" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "requires": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "requires": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "dependencies": { + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "homedir-polyfill": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", + "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", + "requires": { + "parse-passwd": "^1.0.0" + } + }, + "hooker": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz", + "integrity": "sha1-uDT3I8xKJCqmWWNFnfbZhMXT2Vk=" + }, + "https-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "requires": { + "agent-base": "6", + "debug": "4" + }, + "dependencies": { + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + } + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, + "ignore": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", + "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==" + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" + }, + "interpret": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", + "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=" + }, + "into-stream": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-6.0.0.tgz", + "integrity": "sha512-XHbaOAvP+uFKUFsOgoNPRjLkwB+I22JFPFe5OjTkQ0nwgj6+pSjb4NmB6VMxaPshLiOf+zcpOCBQuLwC1KHhZA==", + "requires": { + "from2": "^2.3.0", + "p-is-promise": "^3.0.0" + } + }, + "is-absolute": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", + "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", + "requires": { + "is-relative": "^1.0.0", + "is-windows": "^1.0.1" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + }, + "is-core-module": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", + "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", + "requires": { + "has": "^1.0.3" + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" + } + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "requires": { + "is-extglob": "^2.1.0" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "requires": { + "isobject": "^3.0.1" + } + }, + "is-relative": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", + "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", + "requires": { + "is-unc-path": "^1.0.0" + } + }, + "is-unc-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", + "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", + "requires": { + "unc-path-regex": "^0.1.2" + } + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==" + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, + "liftup": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/liftup/-/liftup-3.0.1.tgz", + "integrity": "sha512-yRHaiQDizWSzoXk3APcA71eOI/UuhEkNN9DiW2Tt44mhYzX4joFoCZlxsSOF7RyeLlfqzFLQI1ngFq3ggMPhOw==", + "requires": { + "extend": "^3.0.2", + "findup-sync": "^4.0.0", + "fined": "^1.2.0", + "flagged-respawn": "^1.0.1", + "is-plain-object": "^2.0.4", + "object.map": "^1.0.1", + "rechoir": "^0.7.0", + "resolve": "^1.19.0" + }, + "dependencies": { + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "requires": { + "fill-range": "^7.0.1" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "findup-sync": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-4.0.0.tgz", + "integrity": "sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==", + "requires": { + "detect-file": "^1.0.0", + "is-glob": "^4.0.0", + "micromatch": "^4.0.2", + "resolve-dir": "^1.0.1" + } + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "micromatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.2.3" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "requires": { + "is-number": "^7.0.0" + } + } + } + }, + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, + "lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=" + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "requires": { + "yallist": "^4.0.0" + } + }, + "make-iterator": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz", + "integrity": "sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==", + "requires": { + "kind-of": "^6.0.2" + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=" + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "requires": { + "object-visit": "^1.0.0" + } + }, + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "mimic-response": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz", + "integrity": "sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==" + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "requires": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" + }, + "mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" + }, + "mout": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/mout/-/mout-1.2.2.tgz", + "integrity": "sha512-w0OUxFEla6z3d7sVpMZGBCpQvYh8PHS1wZ6Wu9GNKHMpAHWJ0if0LsQZh3DlOqw55HlhJEOMLpFnwtxp99Y5GA==" + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "multistream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/multistream/-/multistream-4.1.0.tgz", + "integrity": "sha512-J1XDiAmmNpRCBfIWJv+n0ymC4ABcf/Pl+5YvC5B/D2f/2+8PtHvCNxMPKiQcZyi922Hq69J2YOpb1pTywfifyw==", + "requires": { + "once": "^1.4.0", + "readable-stream": "^3.6.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + } + }, + "napi-build-utils": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", + "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==" + }, + "node-abi": { + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.30.1.tgz", + "integrity": "sha512-/2D0wOQPgaUWzVSVgRMx+trKJRC2UG4SUc4oCJoXx9Uxjtp0Vy3/kt7zcbxHF8+Z/pK3UloLWzBISg72brfy1w==", + "requires": { + "semver": "^5.4.1" + } + }, + "node-fetch": { + "version": "2.6.6", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz", + "integrity": "sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==", + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "nopt": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "requires": { + "abbrev": "1" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "requires": { + "isobject": "^3.0.0" + } + }, + "object.defaults": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/object.defaults/-/object.defaults-1.1.0.tgz", + "integrity": "sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=", + "requires": { + "array-each": "^1.0.1", + "array-slice": "^1.0.0", + "for-own": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "object.map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz", + "integrity": "sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=", + "requires": { + "for-own": "^1.0.0", + "make-iterator": "^1.0.0" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "requires": { + "isobject": "^3.0.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1" + } + }, + "optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + } + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "p-is-promise": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-3.0.0.tgz", + "integrity": "sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==" + }, + "parse-filepath": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz", + "integrity": "sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=", + "requires": { + "is-absolute": "^1.0.0", + "map-cache": "^0.2.0", + "path-root": "^0.1.1" + } + }, + "parse-passwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", + "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=" + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=" + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "path-root": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz", + "integrity": "sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=", + "requires": { + "path-root-regex": "^0.1.0" + } + }, + "path-root-regex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz", + "integrity": "sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=" + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + }, + "pkg": { + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/pkg/-/pkg-5.5.1.tgz", + "integrity": "sha512-3IiUgwYRQBfXcmdBakjqttRrhpruZ1h/UCobtra2IN4S29eJhgxr39Dd8EZxUikgSLUH3v/eUWO3ZInSmlSXpw==", + "requires": { + "@babel/parser": "7.16.2", + "@babel/types": "7.16.0", + "chalk": "^4.1.2", + "escodegen": "^2.0.0", + "fs-extra": "^9.1.0", + "globby": "^11.0.4", + "into-stream": "^6.0.0", + "minimist": "^1.2.5", + "multistream": "^4.1.0", + "pkg-fetch": "3.2.5", + "prebuild-install": "6.1.4", + "progress": "^2.0.3", + "resolve": "^1.20.0", + "stream-meter": "^1.0.4", + "tslib": "2.3.1" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "pkg-fetch": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/pkg-fetch/-/pkg-fetch-3.2.5.tgz", + "integrity": "sha512-jPtyX2VTbG+9yaeGsJEBT+3qVN8qfxxfn7n2lmcx1FDSPsr8jwXDRf6BeCNBV+M5aEQmmtpMeKs7ZILQ9YlSPA==", + "requires": { + "chalk": "^4.1.2", + "fs-extra": "^9.1.0", + "https-proxy-agent": "^5.0.0", + "node-fetch": "^2.6.6", + "progress": "^2.0.3", + "semver": "^7.3.5", + "tar-fs": "^2.1.1", + "yargs": "^16.2.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "requires": { + "lru-cache": "^6.0.0" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=" + }, + "prebuild-install": { + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-6.1.4.tgz", + "integrity": "sha512-Z4vpywnK1lBg+zdPCVCsKq0xO66eEV9rWo2zrROGGiRS4JtueBOdlB1FnY8lcy7JsUud/Q3ijUxyWN26Ika0vQ==", + "requires": { + "detect-libc": "^1.0.3", + "expand-template": "^2.0.3", + "github-from-package": "0.0.0", + "minimist": "^1.2.3", + "mkdirp-classic": "^0.5.3", + "napi-build-utils": "^1.0.1", + "node-abi": "^2.21.0", + "npmlog": "^4.0.1", + "pump": "^3.0.0", + "rc": "^1.2.7", + "simple-get": "^3.0.3", + "tar-fs": "^2.0.0", + "tunnel-agent": "^0.6.0" + } + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==" + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + } + }, + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "rechoir": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.1.tgz", + "integrity": "sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg==", + "requires": { + "resolve": "^1.9.0" + } + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "requires": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + } + }, + "repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==" + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, + "resolve": { + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.21.0.tgz", + "integrity": "sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA==", + "requires": { + "is-core-module": "^2.8.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-dir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", + "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=", + "requires": { + "expand-tilde": "^2.0.0", + "global-modules": "^1.0.0" + } + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=" + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==" + }, + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "requires": { + "glob": "^7.1.3" + } + }, + "run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "requires": { + "queue-microtask": "^1.2.2" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "requires": { + "ret": "~0.1.10" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" + }, + "set-value": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "signal-exit": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.6.tgz", + "integrity": "sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==" + }, + "simple-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", + "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==" + }, + "simple-get": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-3.1.0.tgz", + "integrity": "sha512-bCR6cP+aTdScaQCnQKbPKtJOKDp/hj9EDLJo3Nw4y1QksqaovlW/bnptB6/c1e+qmNIDHRK+oXFDdEqBT8WzUA==", + "requires": { + "decompress-response": "^4.2.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "requires": { + "kind-of": "^3.2.0" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + }, + "source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "requires": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=" + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "requires": { + "extend-shallow": "^3.0.0" + } + }, + "sprintf-js": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", + "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==" + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "requires": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "stream-meter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/stream-meter/-/stream-meter-1.0.4.tgz", + "integrity": "sha1-Uq+Vql6nYKJJFxZwTb/5D3Ov3R0=", + "requires": { + "readable-stream": "^2.1.4" + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + }, + "tar-fs": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", + "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", + "requires": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" + } + }, + "tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "requires": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "requires": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" + }, + "tslib": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "requires": { + "prelude-ls": "~1.1.2" + } + }, + "unc-path-regex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", + "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=" + }, + "underscore.string": { + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz", + "integrity": "sha512-g+dpmgn+XBneLmXXo+sGlW5xQEt4ErkS3mgeN2GFbremYeMBSJKr9Wf2KJplQVaiPY/f7FN6atosWYNm9ovrYg==", + "requires": { + "sprintf-js": "^1.0.3", + "util-deprecate": "^1.0.2" + } + }, + "union-value": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", + "requires": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "requires": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "requires": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=" + } + } + }, + "untildify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-2.1.0.tgz", + "integrity": "sha1-F+soB5h/dpUunASF/DEdBqgmouA=", + "requires": { + "os-homedir": "^1.0.0" + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=" + }, + "use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "v8flags": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz", + "integrity": "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==", + "requires": { + "homedir-polyfill": "^1.0.1" + } + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "requires": { + "isexe": "^2.0.0" + } + }, + "wide-align": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", + "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", + "requires": { + "string-width": "^1.0.2 || 2 || 3 || 4" + } + }, + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" + }, + "wordwrap": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=" + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + } + } +} diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_build.pro b/www/onlyoffice-documentserver/files/patch-build__tools_build.pro new file mode 100644 index 0000000000000..4baeb835d9213 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_build.pro @@ -0,0 +1,13 @@ +--- build_tools/build.pro.orig 2021-12-12 19:27:25 UTC ++++ build_tools/build.pro +@@ -8,6 +8,10 @@ include($$PWD/common.pri) + + CONFIG += ordered + ++core_freebsd { ++ CONFIG += no_desktop_apps ++ CONFIG += no_use_htmlfileinternal ++} + core_windows { + CONFIG += core_and_multimedia + } diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_configure.py b/www/onlyoffice-documentserver/files/patch-build__tools_configure.py new file mode 100644 index 0000000000000..8ba1ee336b651 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_configure.py @@ -0,0 +1,11 @@ +--- build_tools/configure.py.orig 2021-12-08 10:18:20 UTC ++++ build_tools/configure.py +@@ -14,7 +14,7 @@ parser.add_option("--clean", action="store", type="str + parser.add_option("--module", action="store", type="string", dest="module", default="builder", help="defines what modules to build. You can specify several of them, e.g. --module 'core desktop builder server mobile'") + parser.add_option("--develop", action="store", type="string", dest="develop", default="0", help="defines develop mode") + parser.add_option("--beta", action="store", type="string", dest="beta", default="0", help="defines beta mode") +-parser.add_option("--platform", action="store", type="string", dest="platform", default="native", help="defines the destination platform for your build ['win_64', 'win_32', 'win_64_xp', 'win_32_xp', 'linux_64', 'linux_32', 'mac_64', 'ios', 'android_arm64_v8a', 'android_armv7', 'android_x86', 'android_x86_64'; combinations: 'native': your current system (windows/linux/mac only); 'all': all available systems; 'windows': win_64 win_32 win_64_xp win_32_xp; 'linux': linux_64 linux_32; 'mac': mac_64; 'android': android_arm64_v8a android_armv7 android_x86 android_x86_64]") ++parser.add_option("--platform", action="store", type="string", dest="platform", default="native", help="defines the destination platform for your build ['win_64', 'win_32', 'win_64_xp', 'win_32_xp', 'freebsd_64', 'linux_64', 'linux_32', 'mac_64', 'ios', 'android_arm64_v8a', 'android_armv7', 'android_x86', 'android_x86_64'; combinations: 'native': your current system (windows/linux/mac only); 'all': all available systems; 'windows': win_64 win_32 win_64_xp win_32_xp; 'freebsd': freebsd_64;'linux': linux_64 linux_32; 'mac': mac_64; 'android': android_arm64_v8a android_armv7 android_x86 android_x86_64]") + parser.add_option("--config", action="store", type="string", dest="config", default="", help="provides ability to specify additional parameters for qmake") + parser.add_option("--qt-dir", action="store", type="string", dest="qt-dir", default="", help="defines qmake directory path. qmake can be found in qt-dir/compiler/bin directory") + parser.add_option("--qt-dir-xp", action="store", type="string", dest="qt-dir-xp", default="", help="defines qmake directory path for Windows XP. qmake can be found in 'qt-dir/compiler/bin directory") diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_make.py b/www/onlyoffice-documentserver/files/patch-build__tools_make.py new file mode 100644 index 0000000000000..60bb91ab9dc15 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_make.py @@ -0,0 +1,29 @@ +--- build_tools/make.py.orig 2021-11-16 07:07:24 UTC ++++ build_tools/make.py +@@ -13,6 +13,7 @@ import build_js + import build_server + import deploy + import make_common ++import os + import develop + + # parse configuration +@@ -54,7 +55,17 @@ base.check_build_version(base_dir) + # update + if ("1" == config.option("update")): + repositories = base.get_repositories() +- base.update_repositories(repositories) ++# base.update_repositories(repositories) ++ ++ # Apply patches if available ++ patchdir = base_dir + '/patches/' + base.host_platform() ++ if os.path.exists(patchdir) : ++ for root, dirs, files in os.walk(patchdir) : ++ for filename in files : ++ tmpdir = base_dir + '/../' + filename.split('.', 1)[0] ++ print('Patching directory %s' % tmpdir) ++ base.cmd("patch", ["-d", tmpdir, "-i", patchdir + "/" + filename]) ++ + + base.configure_common_apps() + diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_base.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_base.py new file mode 100644 index 0000000000000..b6584ddcd5381 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_base.py @@ -0,0 +1,21 @@ +--- build_tools/scripts/base.py.orig 2021-11-16 08:07:24 UTC ++++ build_tools/scripts/base.py +@@ -1092,9 +1092,15 @@ def copy_sdkjs_plugins_server(dst_dir, is_name_as_guid + def support_old_versions_plugins(out_dir): + if is_file(out_dir + "/pluginBase.js"): + return +- download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.js", out_dir + "/plugins.js") +- download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins-ui.js", out_dir + "/plugins-ui.js") +- download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.css", out_dir + "/plugins.css") ++# download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.js", out_dir + "/plugins.js") ++# download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins-ui.js", out_dir + "/plugins-ui.js") ++# download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.css", out_dir + "/plugins.css") ++ git_dir = get_script_dir() + "/../.." ++ plugins_dir = git_dir + "/sdkjs-plugins" ++ copy_file(plugins_dir + "/v1/plugins.js", out_dir + "/plugins.js") ++ copy_file(plugins_dir + "/v1/plugins-ui.js", out_dir + "/plugins-ui.js") ++ copy_file(plugins_dir + "/v1/plugins.css", out_dir + "/plugins.css") ++ + content_plugin_base = "" + with open(get_path(out_dir + "/plugins.js"), "r") as file: + content_plugin_base += file.read() diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__js.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__js.py new file mode 100644 index 0000000000000..aa88bd07cfa28 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__js.py @@ -0,0 +1,11 @@ +--- build_tools/scripts/build_js.py.orig 2021-12-21 17:52:55 UTC ++++ build_tools/scripts/build_js.py +@@ -97,7 +97,7 @@ def _run_npm_cli(directory): + return base.cmd_in_dir(directory, "npm", ["install", "-g", "grunt-cli"]) + + def _run_grunt(directory, params=[]): +- return base.cmd_in_dir(directory, "grunt", params) ++ return base.cmd_in_dir(directory, "%%WRKSRC%%/sdkjs/node_modules/.bin/grunt", params) + + def build_interface(directory): + _run_npm(directory) diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py new file mode 100644 index 0000000000000..35c7557965bbd --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py @@ -0,0 +1,52 @@ +--- build_tools/scripts/build_server.py.orig 2021-11-16 08:07:24 UTC ++++ build_tools/scripts/build_server.py +@@ -17,7 +17,7 @@ def make(): + branding_dir = git_dir + '/' + config.option("branding") + '/server' + + base.cmd_in_dir(server_dir, "npm", ["install"]) +- base.cmd_in_dir(server_dir, "grunt", ["--no-color", "-v"] + base.server_addons_param()) ++ base.cmd_in_dir(server_dir, "%%WRKSRC%%/server/node_modules/.bin/grunt", ["--no-color", "-v"] + base.server_addons_param()) + + #env variables + product_version = base.get_env('PRODUCT_VERSION') +@@ -41,29 +41,34 @@ def make(): + if(base.is_exist(custom_public_key)): + base.copy_file(custom_public_key, server_build_dir + '/Common/sources') + +- pkg_target = "node10" ++ pkg_target = "node16" + ++ if ("freebsd" == base.host_platform()): ++ pkg_target += "-freebsd" ++ pkgBin = "%%WRKSRC%%/server/node_modules/.bin/pkg" ++ pkg_target = "node16" ++ + if ("linux" == base.host_platform()): + pkg_target += "-linux" + + if ("windows" == base.host_platform()): + pkg_target += "-win" + +- base.cmd_in_dir(server_build_dir + "/DocService", "pkg", [".", "-t", pkg_target, "--options", "max_old_space_size=4096", "-o", "docservice"]) +- base.cmd_in_dir(server_build_dir + "/FileConverter", "pkg", [".", "-t", pkg_target, "-o", "converter"]) +- base.cmd_in_dir(server_build_dir + "/Metrics", "pkg", [".", "-t", pkg_target, "-o", "metrics"]) ++ base.cmd_in_dir(server_build_dir + "/DocService", pkgBin, [".", "-t", pkg_target, "--options", "max_old_space_size=4096", "-o", "docservice"]) ++ base.cmd_in_dir(server_build_dir + "/FileConverter", pkgBin, [".", "-t", pkg_target, "-o", "converter"]) ++ base.cmd_in_dir(server_build_dir + "/Metrics", pkgBin, [".", "-t", pkg_target, "-o", "metrics"]) + + example_dir = base.get_script_dir() + "/../../document-server-integration/web/documentserver-example/nodejs" + base.delete_dir(example_dir + "/node_modules") + base.cmd_in_dir(example_dir, "npm", ["install"]) + sync_rpc_lib_dir = example_dir + "/node_modules/sync-rpc/lib" + patch_file = base.get_script_dir() + "/../tools/linux/sync-rpc.patch" +- if ("linux" == base.host_platform()): ++ if ("linux" == base.host_platform() or "freebsd" == base.host_platform()): + base.cmd_in_dir(sync_rpc_lib_dir, "patch", ["-N", "-i", patch_file]) + if ("windows" == base.host_platform()): + patch_exe_dir = base.git_dir() + "/usr/bin" + base.cmd_in_dir(patch_exe_dir, "patch.exe", ["-N", "-d", sync_rpc_lib_dir, "-i", patch_file]) +- base.cmd_in_dir(example_dir, "pkg", [".", "-t", pkg_target, "-o", "example"]) ++ base.cmd_in_dir(example_dir, pkgBin, [".", "-t", pkg_target, "-o", "example"]) + + def build_server_develop(): + server_dir = base.get_script_dir() + "/../../server" diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_config.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_config.py new file mode 100644 index 0000000000000..66cefbb37134a --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_config.py @@ -0,0 +1,38 @@ +--- build_tools/scripts/config.py.orig 2021-12-08 10:18:20 UTC ++++ build_tools/scripts/config.py +@@ -26,6 +26,7 @@ def parse(): + global platforms + platforms = ["win_64", "win_32", "win_64_xp", "win_32_xp", + "linux_64", "linux_32", ++ "freebsd_64", + "mac_64", "mac_arm64", + "ios", + "android_arm64_v8a", "android_armv7", "android_x86", "android_x86_64"] +@@ -39,6 +40,8 @@ def parse(): + options["platform"] += " win_64 win_32" + elif ("linux" == host_platform): + options["platform"] += " linux_64 linux_32" ++ elif ("freebsd" == host_platform): ++ options["platform"] += " freebsd_64" + else: + options["platform"] += " mac_64" + +@@ -50,6 +53,8 @@ def parse(): + options["platform"] += (" win_" + bits) + elif ("linux" == host_platform): + options["platform"] += (" linux_" + bits) ++ elif ("freebsd" == host_platform): ++ options["platform"] += (" freebsd_" + bits) + else: + options["platform"] += (" mac_" + bits) + +@@ -90,6 +95,9 @@ def check_compiler(platform): + if (0 == platform.find("win")): + compiler["compiler"] = "msvc2015" + compiler["compiler_64"] = "msvc2015_64" ++ elif (0 == platform.find("freebsd")): ++ compiler["compiler"] = "clang" ++ compiler["compiler_64"] = "clang_64" + elif (0 == platform.find("linux")): + compiler["compiler"] = "gcc" + compiler["compiler_64"] = "gcc_64" diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py new file mode 100644 index 0000000000000..43674d96f959e --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py @@ -0,0 +1,36 @@ +--- build_tools/scripts/core_common/make_common.py.orig 2021-11-16 07:07:24 UTC ++++ build_tools/scripts/core_common/make_common.py +@@ -7,22 +7,23 @@ sys.path.append('..') + import config + import base + +-import boost +-import cef +-import icu +-import openssl ++#import boost ++#import cef ++#import icu ++#import openssl + import v8 + import html2 +-import hunspell ++#import hunspell + import glew + + def make(): +- boost.make() +- cef.make() +- icu.make() +- openssl.make() ++ if base.host_platform() != 'freebsd' : ++ boost.make() ++ cef.make() ++ icu.make() ++ openssl.make() + v8.make() + html2.make() +- hunspell.make(False) ++# hunspell.make(False) + glew.make() + return diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8.py new file mode 100644 index 0000000000000..2d70a449adce1 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8.py @@ -0,0 +1,87 @@ +--- build_tools/scripts/core_common/modules/v8.py.orig 2021-11-16 07:07:24 UTC ++++ build_tools/scripts/core_common/modules/v8.py +@@ -8,6 +8,7 @@ import os + import subprocess + + def clean(): ++ return + if base.is_dir("depot_tools"): + base.delete_dir_with_access_error("depot_tools"); + base.delete_dir("depot_tools") +@@ -25,6 +26,8 @@ def clean(): + def is_main_platform(): + if (config.check_option("platform", "win_64") or config.check_option("platform", "win_32")): + return True ++ if config.check_option("platform", "freebsd_64"): ++ return True + if (config.check_option("platform", "linux_64") or config.check_option("platform", "linux_32")): + return True + if config.check_option("platform", "mac_64"): +@@ -80,23 +83,23 @@ def make(): + base.set_env("DEPOT_TOOLS_WIN_TOOLCHAIN", "0") + base.set_env("GYP_MSVS_VERSION", "2015") + +- base.common_check_version("v8", "1", clean) ++# base.common_check_version("v8", "1", clean) + + if not base.is_dir("v8/out.gn"): + clean() + +- if not base.is_dir("depot_tools"): +- base.cmd("git", ["clone", "https://chromium.googlesource.com/chromium/tools/depot_tools.git"]) +- if ("windows" == base.host_platform()): +- # hack for 32 bit system!!! +- if base.is_file("depot_tools/cipd.ps1"): +- base.replaceInFile("depot_tools/cipd.ps1", "windows-386", "windows-amd64") ++# if not base.is_dir("depot_tools"): ++# base.cmd("git", ["clone", "https://chromium.googlesource.com/chromium/tools/depot_tools.git"]) ++# if ("windows" == base.host_platform()): ++# # hack for 32 bit system!!! ++# if base.is_file("depot_tools/cipd.ps1"): ++# base.replaceInFile("depot_tools/cipd.ps1", "windows-386", "windows-amd64") ++# ++# os.environ["PATH"] = base_dir + "/depot_tools" + os.pathsep + os.environ["PATH"] ++# ++# if not base.is_dir("v8/out.gn"): ++# base.cmd("gclient") + +- os.environ["PATH"] = base_dir + "/depot_tools" + os.pathsep + os.environ["PATH"] +- +- if not base.is_dir("v8/out.gn"): +- base.cmd("gclient") +- + # -------------------------------------------------------------------------- + # fetch + if not base.is_dir("v8"): +@@ -114,8 +117,8 @@ def make(): + base.delete_dir_with_access_error("v8/buildtools/win") + base.cmd("git", ["config", "--system", "core.longpaths", "true"]) + base.cmd("gclient", ["sync", "--force"], True) +- else: +- base.cmd("gclient", ["sync"], True) ++# else: ++# base.cmd("gclient", ["sync"], True) + + # normal version !!! + #base.cmd("gclient", ["sync"], True) +@@ -127,7 +130,7 @@ def make(): + if base.is_dir("v8/third_party/binutils/Linux_ia32/Release"): + base.delete_dir("v8/third_party/binutils/Linux_ia32/Release") + +- base.cmd("gclient", ["sync", "--no-history"]) ++# base.cmd("gclient", ["sync", "--no-history"]) + + if base.is_dir("v8/third_party/binutils/Linux_x64/Release/bin"): + for file in os.listdir("v8/third_party/binutils/Linux_x64/Release/bin"): +@@ -160,6 +163,11 @@ def make(): + + base_args64 = "target_cpu=\\\"x64\\\" v8_target_cpu=\\\"x64\\\" v8_static_library=true is_component_build=false v8_use_snapshot=false" + base_args32 = "target_cpu=\\\"x86\\\" v8_target_cpu=\\\"x86\\\" v8_static_library=true is_component_build=false v8_use_snapshot=false" ++ ++# v8_monolithic=true ++ if config.check_option("platform", "freebsd_64"): ++ base.cmd2("gn", ["gen", "out.gn/freebsd_64", "--args=\"v8_monolithic=true is_debug=false v8_static_library=true is_component_build=false is_clang=true use_sysroot=false treat_warnings_as_errors=false clang_use_chrome_plugins=false use_lld=true use_custom_libcxx=false v8_use_external_startup_data=false is_component_build=false\""]) ++ base.cmd("ninja", ["-C", "out.gn/freebsd_64"]) + + if config.check_option("platform", "linux_64"): + base.cmd2("gn", ["gen", "out.gn/linux_64", "--args=\"is_debug=false " + base_args64 + " is_clang=" + is_use_clang() + " use_sysroot=false treat_warnings_as_errors=false\""]) diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_deploy__server.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_deploy__server.py new file mode 100644 index 0000000000000..6286cfa0f8533 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_deploy__server.py @@ -0,0 +1,37 @@ +--- build_tools/scripts/deploy_server.py.orig 2021-11-16 07:07:24 UTC ++++ build_tools/scripts/deploy_server.py +@@ -92,7 +92,7 @@ def make(): + base.copy_file(core_dir + "/Common/3dParty/icu/" + platform + "/build/icudt58.dll", converter_dir + "/icudt58.dll") + base.copy_file(core_dir + "/Common/3dParty/icu/" + platform + "/build/icuuc58.dll", converter_dir + "/icuuc58.dll") + +- if (0 == platform.find("linux")): ++ if (0 == platform.find("linux") and 0 != platform.find('freebsd')): + base.copy_file(core_dir + "/Common/3dParty/icu/" + platform + "/build/libicudata.so.58", converter_dir + "/libicudata.so.58") + base.copy_file(core_dir + "/Common/3dParty/icu/" + platform + "/build/libicuuc.so.58", converter_dir + "/libicuuc.so.58") + +@@ -102,6 +102,8 @@ def make(): + + if (0 == platform.find("win")): + base.copy_files(core_dir + "/Common/3dParty/v8/v8/out.gn/" + platform + "/release/icudt*.dat", converter_dir + "/") ++ elif (0 == platform.find("freebsd")): ++ pass + elif (-1 == config.option("config").find("use_javascript_core")): + base.copy_file(core_dir + "/Common/3dParty/v8/v8/out.gn/" + platform + "/icudtl.dat", converter_dir + "/icudtl.dat") + +@@ -119,9 +121,13 @@ def make(): + base.copy_sdkjs_plugins(js_dir + "/sdkjs-plugins", False, True) + base.copy_sdkjs_plugins_server(js_dir + "/sdkjs-plugins", False, True) + base.create_dir(js_dir + "/sdkjs-plugins/v1") +- base.download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.js", js_dir + "/sdkjs-plugins/v1/plugins.js") +- base.download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins-ui.js", js_dir + "/sdkjs-plugins/v1/plugins-ui.js") +- base.download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.css", js_dir + "/sdkjs-plugins/v1/plugins.css") ++# base.download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.js", js_dir + "/sdkjs-plugins/v1/plugins.js") ++# base.download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins-ui.js", js_dir + "/sdkjs-plugins/v1/plugins-ui.js") ++# base.download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.css", js_dir + "/sdkjs-plugins/v1/plugins.css") ++ base.copy_file(plugins_dir + "/v1/plugins.js", js_dir + "/sdkjs-plugins/v1/plugins.js") ++ base.copy_file(plugins_dir + "/v1/plugins-ui.js", js_dir + "/sdkjs-plugins/v1/plugins-ui.js") ++ base.copy_file(plugins_dir + "/v1/plugins.css", js_dir + "/sdkjs-plugins/v1/plugins.css") ++ + base.support_old_versions_plugins(js_dir + "/sdkjs-plugins") + + # tools diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_develop_release.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_develop_release.py new file mode 100644 index 0000000000000..b83a07b5d0cf6 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_develop_release.py @@ -0,0 +1,11 @@ +--- build_tools/scripts/develop/release.py.orig 2021-12-08 10:18:20 UTC ++++ build_tools/scripts/develop/release.py +@@ -44,7 +44,7 @@ repositories.update(base.get_plugins('autocomplete, ea + # Add other repositories + repositories['core-ext'] = [True, False] + +-base.update_repositories(repositories) ++#base.update_repositories(repositories) + + repositories['onlyoffice'] = [True, False] + diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_tools_freebsd_automate.py b/www/onlyoffice-documentserver/files/patch-build__tools_tools_freebsd_automate.py new file mode 100644 index 0000000000000..ec54413543eab --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-build__tools_tools_freebsd_automate.py @@ -0,0 +1,107 @@ +--- build_tools/tools/freebsd/automate.py.orig 2021-12-18 16:54:46 UTC ++++ build_tools/tools/freebsd/automate.py +@@ -0,0 +1,104 @@ ++#!/usr/bin/env python ++ ++import sys ++sys.path.append('../../scripts') ++import base ++import os ++import subprocess ++ ++def get_branch_name(directory): ++ cur_dir = os.getcwd() ++ os.chdir(directory) ++ # detect build_tools branch ++ #command = "git branch --show-current" ++ command = "git symbolic-ref --short -q HEAD" ++ popen = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) ++ current_branch = "master" ++ try: ++ stdout, stderr = popen.communicate() ++ popen.wait() ++ current_branch = stdout.strip().decode("utf-8") ++ finally: ++ popen.stdout.close() ++ popen.stderr.close() ++ os.chdir(cur_dir) ++ return current_branch ++ ++def install_deps(): ++ if base.is_file("./packages_complete"): ++ return ++ ++ # dependencies ++ packages = ["git-lite", ++ "bash", ++ "png", ++ "jpeg-turbo", ++ "p7zip", ++ "qt5-qmake", ++ "boost-libs", ++ "openjdk8", ++ "openjdk11", ++ "subversion"] ++ ++# base.cmd("sudo", ["pkg", "install"] + packages) ++ base.set_env('QT_SELECT', 'qt5') ++ ++ # nodejs ++# if not base.is_file("./node_js_setup_10.x"): ++# base.cmd("sudo", ["touch", "./node_js_setup_10.x"]) ++# base.cmd("sudo", ["npm", "install", "-g", "npm@6"]) ++ ++ return ++ ++if not base.is_file("./node_js_setup_10.x"): ++ print("install dependencies...") ++ install_deps() ++ ++if not base.is_dir("./qt"): ++ base.cmd("mkdir", ["qt",]) ++ base.cmd("ln", ["-s", "/usr/local/lib/qt5", "qt/clang_64"]) ++ ++# Apply a patch on the node_gyp cache in case of npm-node10 use.. ++#base.cmd("bash", ["patch_nodegyp.sh",]) ++ ++branch = get_branch_name("../..") ++ ++array_args = sys.argv[1:] ++array_modules = [] ++ ++config = {} ++for arg in array_args: ++ if (0 == arg.find("--")): ++ indexEq = arg.find("=") ++ if (-1 != indexEq): ++ config[arg[2:indexEq]] = arg[indexEq + 1:] ++ else: ++ # XXX Currently only server has been checked for compilation under FreeBSD ++ if arg != 'server': ++ print("module %s not supported yet under FreeBSD" % arg) ++ array_modules.append(arg) ++ ++if ("branch" in config): ++ branch = config["branch"] ++ ++print("---------------------------------------------") ++print("build branch: " + branch) ++print("---------------------------------------------") ++ ++modules = " ".join(array_modules) ++# XXX Currently only server has been checked for compilation under FreeBSD ++if "" == modules: ++ modules = "server" ++ ++print("---------------------------------------------") ++print("build modules: " + modules) ++print("---------------------------------------------") ++ ++build_tools_params = ["--branch", branch, ++ "--module", modules, ++ "--update", "1", ++ "--platform", "freebsd_64", ++ "--qt-dir", os.getcwd() + "/qt"] ++ ++base.cmd_in_dir("../..", "./configure.py", build_tools_params) ++base.cmd_in_dir("../..", "./make.py") diff --git a/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Auxiliary_HelpFunc.cpp b/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Auxiliary_HelpFunc.cpp new file mode 100644 index 0000000000000..cef7409149529 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Auxiliary_HelpFunc.cpp @@ -0,0 +1,11 @@ +--- core/ASCOfficeXlsFile2/source/XlsFormat/Auxiliary/HelpFunc.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/ASCOfficeXlsFile2/source/XlsFormat/Auxiliary/HelpFunc.cpp +@@ -359,7 +359,7 @@ const std::wstring unescape_ST_Xstring(const std::wstr + while(true) + { + +-#if defined(__linux__) || defined(_MAC) || defined(_IOS) ++#if defined(__linux__) || defined(__FreeBSD__) || defined(_MAC) || defined(_IOS) + const auto it_range = boost::make_iterator_range(x_pos_noncopied, wstr_end); + x_pos_next = boost::algorithm::find_first(it_range, L"_x").begin(); + #else diff --git a/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Crypt_rtl_cipher.h b/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Crypt_rtl_cipher.h new file mode 100644 index 0000000000000..6ac246356ad15 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Crypt_rtl_cipher.h @@ -0,0 +1,11 @@ +--- core/ASCOfficeXlsFile2/source/XlsFormat/Crypt/rtl/cipher.h.orig 2021-09-30 12:13:32 UTC ++++ core/ASCOfficeXlsFile2/source/XlsFormat/Crypt/rtl/cipher.h +@@ -33,7 +33,7 @@ + + #include + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + #include + #endif + diff --git a/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Crypt_rtl_digest.h b/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Crypt_rtl_digest.h new file mode 100644 index 0000000000000..4e0b1601ba515 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Crypt_rtl_digest.h @@ -0,0 +1,11 @@ +--- core/ASCOfficeXlsFile2/source/XlsFormat/Crypt/rtl/digest.h.orig 2021-09-30 12:13:32 UTC ++++ core/ASCOfficeXlsFile2/source/XlsFormat/Crypt/rtl/digest.h +@@ -31,7 +31,7 @@ + */ + #pragma once + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + #include + #endif + diff --git a/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Logic_Biff__structures_BitMarkedStructs.h b/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Logic_Biff__structures_BitMarkedStructs.h new file mode 100644 index 0000000000000..9d340b44a9c40 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_ASCOfficeXlsFile2_source_XlsFormat_Logic_Biff__structures_BitMarkedStructs.h @@ -0,0 +1,11 @@ +--- core/ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/BitMarkedStructs.h.orig 2021-09-30 12:13:32 UTC ++++ core/ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/BitMarkedStructs.h +@@ -31,7 +31,7 @@ + */ + #pragma once + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + #include + #endif + diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_boost_boost.pri b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_boost_boost.pri new file mode 100644 index 0000000000000..95df0f1477e16 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_boost_boost.pri @@ -0,0 +1,16 @@ +--- core/Common/3dParty/boost/boost.pri.orig 2021-09-30 12:13:32 UTC ++++ core/Common/3dParty/boost/boost.pri +@@ -1,5 +1,11 @@ +-INCLUDEPATH += $$PWD/build/$$CORE_BUILDS_PLATFORM_PREFIX/include +-CORE_BOOST_LIBS = $$PWD/build/$$CORE_BUILDS_PLATFORM_PREFIX/lib ++!core_freebsd { ++ INCLUDEPATH += $$PWD/build/$$CORE_BUILDS_PLATFORM_PREFIX/include ++ CORE_BOOST_LIBS = $$PWD/build/$$CORE_BUILDS_PLATFORM_PREFIX/lib ++} ++core_freebsd { ++ INCLUDEPATH += /usr/local/include ++ CORE_BOOST_LIBS = /usr/local/lib ++} + + core_android { + INCLUDEPATH += $$PWD/build/android/include diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_cryptopp_project_cryptopp.pro b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_cryptopp_project_cryptopp.pro new file mode 100644 index 0000000000000..5c4b4c9a7527b --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_cryptopp_project_cryptopp.pro @@ -0,0 +1,10 @@ +--- core/Common/3dParty/cryptopp/project/cryptopp.pro.orig 2021-09-30 12:13:32 UTC ++++ core/Common/3dParty/cryptopp/project/cryptopp.pro +@@ -11,6 +11,7 @@ PWD_ROOT_DIR = $$PWD + + include(../../../../Common/base.pri) + ++core_freebsd:DEFINES -= NDEBUG + core_linux:DEFINES -= NDEBUG + core_mac:DEFINES -= MAC + core_ios:DEFINES -= MAC diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_html_gumbo.pri b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_html_gumbo.pri new file mode 100644 index 0000000000000..3a4e61a493dbf --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_html_gumbo.pri @@ -0,0 +1,10 @@ +--- core/Common/3dParty/html/gumbo.pri.orig 2021-12-18 10:21:34 UTC ++++ core/Common/3dParty/html/gumbo.pri +@@ -1,6 +1,7 @@ + INCLUDEPATH += $$PWD + DEPENDPATH += $$PWD + ++core_freebsd:QMAKE_CFLAGS += -std=c99 + core_linux:QMAKE_CFLAGS += -std=c99 + core_windows:INCLUDEPATH += $$PWD/gumbo-parser/visualc/include + diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_icu_icu.pri b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_icu_icu.pri new file mode 100644 index 0000000000000..2a4c67faef550 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_icu_icu.pri @@ -0,0 +1,16 @@ +--- core/Common/3dParty/icu/icu.pri.orig 2021-09-30 12:13:32 UTC ++++ core/Common/3dParty/icu/icu.pri +@@ -8,6 +8,13 @@ core_windows { + } + + LIBS += -L$$PWD/$$CORE_BUILDS_PLATFORM_PREFIX/build -licuuc ++} ++ ++core_freebsd { ++ INCLUDEPATH += /usr/local/include ++ ++ LIBS += /usr/local/lib/libicuuc.so ++ LIBS += /usr/local/lib/libicudata.so + } + + core_linux { diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8.pri b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8.pri new file mode 100644 index 0000000000000..83e22eb1c6b17 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8.pri @@ -0,0 +1,27 @@ +--- core/Common/3dParty/v8/v8.pri.orig 2021-09-30 12:13:32 UTC ++++ core/Common/3dParty/v8/v8.pri +@@ -31,6 +31,24 @@ core_windows { + LIBS += -lShlwapi + } + ++core_freebsd { ++ CONFIG += c++14 ++ CONFIG += use_v8_monolith ++ DEFINES += V8_VERSION_87_PLUS ++ DEFINES += V8_COMPRESS_POINTERS ++ use_v8_monolith { ++ LIBS += -L$$CORE_V8_PATH_LIBS -lv8_monolith ++ } else { ++ SNAPSHOT_LIB=v8_snapshot ++ !exists($$CORE_V8_PATH_LIBS/libv8_snapshot.a) { ++ SNAPSHOT_LIB=v8_nosnapshot ++ } ++ ++ LIBS += -L$$CORE_V8_PATH_LIBS -lv8_initializers -lv8_init -lv8_base -lv8_libplatform -lv8_libbase -l$$SNAPSHOT_LIB -lv8_libsampler ++ LIBS += -L$$CORE_V8_PATH_LIBS/third_party/icu -licui18n -licuuc ++ } ++} ++ + core_linux { + use_v8_monolith { + LIBS += -L$$CORE_V8_PATH_LIBS -lv8_monolith diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_BUILD.gn new file mode 100644 index 0000000000000..a1a457658a5bc --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_BUILD.gn @@ -0,0 +1,32 @@ +--- core/Common/3dParty/v8/v8/BUILD.gn.orig 2020-12-15 11:23:25 UTC ++++ core/Common/3dParty/v8/v8/BUILD.gn +@@ -4068,7 +4068,7 @@ v8_component("v8_libbase") { + } + } + +- if (is_linux || is_chromeos) { ++ if ((is_linux || is_chromeos) && !is_bsd) { + sources += [ + "src/base/debug/stack_trace_posix.cc", + "src/base/platform/platform-linux.cc", +@@ -4088,6 +4088,12 @@ v8_component("v8_libbase") { + "dl", + "rt", + ] ++ } else if (is_bsd) { ++ sources += [ ++ "src/base/debug/stack_trace_posix.cc", ++ "src/base/platform/platform-freebsd.cc", ++ ] ++ libs = [ "rt", "execinfo" ] + } else if (is_android) { + if (current_toolchain == host_toolchain) { + libs = [ +@@ -4431,6 +4437,7 @@ if (v8_monolithic) { + ":v8_libsampler", + "//build/win:default_exe_manifest", + ] ++ libs = ["execinfo"] + + configs = [ ":internal_config" ] + } diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_BUILD.gn new file mode 100644 index 0000000000000..95fc73e1b3cc2 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_BUILD.gn @@ -0,0 +1,30 @@ +--- core/Common/3dParty/v8/v8/build/config/BUILD.gn.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/config/BUILD.gn +@@ -133,7 +133,7 @@ config("debug") { + # builds, and we have to tell it to turn it off. + defines += [ "_HAS_ITERATOR_DEBUGGING=0" ] + } +- } else if ((is_linux || is_chromeos) && current_cpu == "x64" && enable_iterator_debugging) { ++ } else if ((is_linux || is_chromeos || is_bsd) && current_cpu == "x64" && enable_iterator_debugging) { + # Enable libstdc++ debugging facilities to help catch problems early, see + # http://crbug.com/65151 . + # TODO(phajdan.jr): Should we enable this for all of POSIX? +@@ -231,9 +231,7 @@ config("default_libs") { + ] + } else if (is_linux || is_chromeos) { + libs = [ +- "dl", + "pthread", +- "rt", + ] + } + } +@@ -316,7 +314,7 @@ config("executable_config") { + "//build/config/ios:ios_dynamic_flags", + "//build/config/ios:ios_executable_flags", + ] +- } else if (is_linux || is_chromeos || is_android || current_os == "aix") { ++ } else if (is_linux || is_bsd || is_chromeos || is_android || current_os == "aix") { + configs += [ "//build/config/gcc:executable_config" ] + if (is_chromecast) { + configs += [ "//build/config/chromecast:executable_config" ] diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_BUILDCONFIG.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_BUILDCONFIG.gn new file mode 100644 index 0000000000000..db2b025254ddf --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_BUILDCONFIG.gn @@ -0,0 +1,48 @@ +--- core/Common/3dParty/v8/v8/build/config/BUILDCONFIG.gn.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/config/BUILDCONFIG.gn +@@ -131,10 +131,10 @@ declare_args() { + is_official_build = false + + # Whether we're a traditional desktop unix. +- is_desktop_linux = current_os == "linux" ++ is_desktop_linux = current_os == "linux" || current_os == "freebsd" + + # Set to true when compiling with the Clang compiler. +- is_clang = current_os != "linux" || ++ is_clang = current_os != "linux" || current_os == "freebsd" || + (current_cpu != "s390x" && current_cpu != "s390" && + current_cpu != "ppc64" && current_cpu != "ppc" && + current_cpu != "mips" && current_cpu != "mips64") +@@ -186,8 +186,8 @@ if (host_toolchain == "") { + # TODO(dpranke): Add some sort of assert here that verifies that + # no toolchain omitted host_toolchain from its toolchain_args(). + +- if (host_os == "linux") { +- if (target_os != "linux") { ++ if (host_os == "linux" || host_os == "freebsd") { ++ if (target_os != "linux" && target_os != "freebsd") { + host_toolchain = "//build/toolchain/linux:clang_$host_cpu" + } else if (is_clang) { + host_toolchain = "//build/toolchain/linux:clang_$host_cpu" +@@ -224,7 +224,7 @@ if (target_os == "android") { + assert(host_os == "linux" || host_os == "mac", + "Android builds are only supported on Linux and Mac hosts.") + _default_toolchain = "//build/toolchain/android:android_clang_$target_cpu" +-} else if (target_os == "chromeos" || target_os == "linux") { ++} else if (target_os == "chromeos" || target_os == "linux" || target_os == "freebsd") { + # See comments in build/toolchain/cros/BUILD.gn about board compiles. + if (is_clang) { + _default_toolchain = "//build/toolchain/linux:clang_$target_cpu" +@@ -288,10 +288,11 @@ is_android = current_os == "android" + is_chromeos = current_os == "chromeos" + is_fuchsia = current_os == "fuchsia" + is_ios = current_os == "ios" +-is_linux = current_os == "linux" ++is_linux = current_os == "linux" || current_os == "freebsd" + is_mac = current_os == "mac" + is_nacl = current_os == "nacl" + is_win = current_os == "win" || current_os == "winuwp" ++is_bsd = current_os == "freebsd" + + is_apple = is_ios || is_mac + is_posix = !is_win && !is_fuchsia diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_compiler_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_compiler_BUILD.gn new file mode 100644 index 0000000000000..5c7fdbe309109 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_compiler_BUILD.gn @@ -0,0 +1,92 @@ +--- core/Common/3dParty/v8/v8/build/config/compiler/BUILD.gn.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/config/compiler/BUILD.gn +@@ -128,7 +128,7 @@ declare_args() { + # + # TODO(crbug.com/977230): Enabling this when 'use_xcode_clang' is true may + # call an old clang that doesn't support auto-init. +- init_stack_vars = !is_android && !use_xcode_clang ++ init_stack_vars = !is_android && !use_xcode_clang && !is_bsd + + # This argument is to control whether enabling text section splitting in the + # final binary. When enabled, the separated text sections with prefix +@@ -291,7 +291,7 @@ config("compiler") { + } + + # Linker warnings. +- if (fatal_linker_warnings && !is_apple && current_os != "aix") { ++ if (fatal_linker_warnings && !is_apple && !is_bsd && current_os != "aix") { + ldflags += [ "-Wl,--fatal-warnings" ] + } + if (fatal_linker_warnings && is_apple && +@@ -389,7 +389,7 @@ config("compiler") { + + # Compiler instrumentation can introduce dependencies in DSOs to symbols in + # the executable they are loaded into, so they are unresolved at link-time. +- if (!using_sanitizer) { ++ if (!using_sanitizer && !is_bsd) { + ldflags += [ + "-Wl,-z,defs", + "-Wl,--as-needed", +@@ -480,7 +480,7 @@ config("compiler") { + ldflags += [ "-Wl,-z,keep-text-section-prefix" ] + } + +- if (is_clang && !is_nacl && !use_xcode_clang) { ++ if (is_clang && !is_nacl && !use_xcode_clang && !is_bsd) { + cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ] + + cflags += [ +@@ -776,7 +776,7 @@ config("compiler_cpu_abi") { + cflags += [ "-mtune=$arm_tune" ] + } + } else if (current_cpu == "arm64") { +- if (is_clang && !is_android && !is_nacl && !is_fuchsia) { ++ if (is_clang && !is_android && !is_nacl && !is_fuchsia && !is_bsd) { + cflags += [ "--target=aarch64-linux-gnu" ] + ldflags += [ "--target=aarch64-linux-gnu" ] + } +@@ -1129,7 +1129,7 @@ config("compiler_deterministic") { + "-Xclang", + ".", + ] +- if (!is_win) { ++ if (!is_win && !is_bsd) { + # We don't use clang -cc1as on Windows (yet? https://crbug.com/762167) + asmflags = [ "-Wa,-fdebug-compilation-dir,." ] + } +@@ -1512,7 +1512,7 @@ config("default_warnings") { + cflags += [ "-Wno-nonportable-include-path" ] + } + +- if (current_toolchain == host_toolchain || !use_xcode_clang) { ++ if ((current_toolchain == host_toolchain || !use_xcode_clang) && !is_bsd) { + # Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not + # recognize. + cflags += [ +@@ -1764,7 +1764,7 @@ config("thin_archive") { + # Mac and iOS use the mac-specific "libtool" command, not ar, which doesn't + # have a "thin archive" mode (it does accept -T, but it means truncating + # archive names to 16 characters, which is not what we want). +- if ((is_posix && !is_nacl && !is_apple) || is_fuchsia) { ++ if ((is_posix && !is_nacl && !is_apple && !is_bsd) || is_fuchsia) { + arflags = [ "-T" ] + } else if (is_win && use_lld) { + arflags = [ "/llvmlibthin" ] +@@ -2297,7 +2297,7 @@ config("symbols") { + # flag, so we can use use -g1 for pnacl and nacl-clang compiles. + # gcc nacl is is_nacl && !is_clang, pnacl and nacl-clang are && is_clang. + if (!is_nacl || is_clang) { +- cflags += [ "-g2" ] ++ cflags += [ "-g0" ] + } + + # TODO(https://crbug.com/1050118): Investigate missing debug info on mac. +@@ -2339,7 +2339,7 @@ config("symbols") { + # DWARF info may be corrupt; offsets in a range list entry are in different + # sections" there. Maybe just a bug in nacl_switch_32.S. + if (!is_apple && !is_nacl && current_cpu != "x86" && +- (use_gold || use_lld)) { ++ (use_gold || use_lld) && !is_bsd) { + if (is_clang) { + # This flag enables the GNU-format pubnames and pubtypes sections, + # which lld needs in order to generate a correct GDB index. diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_compiler_compiler.gni b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_compiler_compiler.gni new file mode 100644 index 0000000000000..9b95c7d55a7e0 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_compiler_compiler.gni @@ -0,0 +1,11 @@ +--- core/Common/3dParty/v8/v8/build/config/compiler/compiler.gni.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/config/compiler/compiler.gni +@@ -192,7 +192,7 @@ declare_args() { + declare_args() { + # Whether to use the gold linker from binutils instead of lld or bfd. + use_gold = +- !use_lld && !(is_chromecast && is_linux && ++ !is_bsd && !use_lld && !(is_chromecast && is_linux && + (current_cpu == "arm" || current_cpu == "mipsel")) && + ((is_linux && (current_cpu == "x64" || current_cpu == "x86" || + current_cpu == "arm" || current_cpu == "arm64" || diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_features.gni b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_features.gni new file mode 100644 index 0000000000000..2092b5b4caa82 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_features.gni @@ -0,0 +1,11 @@ +--- core/Common/3dParty/v8/v8/build/config/features.gni.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/config/features.gni +@@ -26,7 +26,7 @@ declare_args() { + proprietary_codecs = is_chrome_branded || is_chromecast + + # libudev usage. This currently only affects the content layer. +- use_udev = (is_linux || is_chromeos) && !is_chromecast ++ use_udev = (is_linux || is_chromeos) && !is_chromecast && !is_bsd + + use_dbus = (is_linux || is_chromeos) && !is_chromecast + diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_freetype_freetype.gni b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_freetype_freetype.gni new file mode 100644 index 0000000000000..2427dffb55966 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_freetype_freetype.gni @@ -0,0 +1,9 @@ +--- core/Common/3dParty/v8/v8/build/config/freetype/freetype.gni.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/config/freetype/freetype.gni +@@ -10,5 +10,5 @@ declare_args() { + # than version 2.7.1 and have color bitmap support compiled in. WARNING: + # System FreeType configurations other than as described WILL INTRODUCE TEXT + # RENDERING AND SECURITY REGRESSIONS. +- use_system_freetype = false ++ use_system_freetype = true + } diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_linux_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_linux_BUILD.gn new file mode 100644 index 0000000000000..edd1f18118ced --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_linux_BUILD.gn @@ -0,0 +1,11 @@ +--- core/Common/3dParty/v8/v8/build/config/linux/BUILD.gn.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/config/linux/BUILD.gn +@@ -30,7 +30,7 @@ config("runtime_library") { + + if ((!(is_chromeos || chromeos_is_browser_only) || + default_toolchain != "//build/toolchain/cros:target") && +- (!use_custom_libcxx || current_cpu == "mipsel")) { ++ (!use_custom_libcxx || current_cpu == "mipsel") && !is_bsd) { + libs = [ "atomic" ] + } + } diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_linux_pkg-config.py b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_linux_pkg-config.py new file mode 100644 index 0000000000000..290a23da7a155 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_linux_pkg-config.py @@ -0,0 +1,26 @@ +--- core/Common/3dParty/v8/v8/build/config/linux/pkg-config.py.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/config/linux/pkg-config.py +@@ -59,8 +59,12 @@ def SetConfigPath(options): + print("You must specify an architecture via -a if using a sysroot.") + sys.exit(1) + +- libdir = sysroot + '/usr/' + options.system_libdir + '/pkgconfig' +- libdir += ':' + sysroot + '/usr/share/pkgconfig' ++ if "linux" in sys.platform: ++ libdir = sysroot + '/libdata/' + options.system_libdir + '/pkgconfig' ++ libdir += ':' + sysroot + '/usr/share/pkgconfig' ++ elif "bsd" in sys.platform: ++ libdir = sysroot + '/libdata/pkgconfig' ++ libdir += ':' + '/usr/libdata/pkgconfig' + os.environ['PKG_CONFIG_LIBDIR'] = libdir + return libdir + +@@ -109,7 +113,7 @@ def main(): + # If this is run on non-Linux platforms, just return nothing and indicate + # success. This allows us to "kind of emulate" a Linux build from other + # platforms. +- if "linux" not in sys.platform: ++ if "bsd" not in sys.platform: + print("[[],[],[],[],[]]") + return 0 + diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_sysroot.gni b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_sysroot.gni new file mode 100644 index 0000000000000..c1705ada3b51f --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_config_sysroot.gni @@ -0,0 +1,14 @@ +--- core/Common/3dParty/v8/v8/build/config/sysroot.gni.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/config/sysroot.gni +@@ -21,9 +21,9 @@ declare_args() { + + # Controls default is_linux sysroot. If set to true, and sysroot + # is empty, default sysroot is calculated. +- use_sysroot = current_cpu == "x86" || current_cpu == "x64" || ++ use_sysroot = !is_bsd && (current_cpu == "x86" || current_cpu == "x64" || + current_cpu == "arm" || current_cpu == "arm64" || +- current_cpu == "mipsel" || current_cpu == "mips64el" ++ current_cpu == "mipsel" || current_cpu == "mips64el") + } + + if (sysroot == "") { diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_detect__host__arch.py b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_detect__host__arch.py new file mode 100644 index 0000000000000..55faeb679e44b --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_detect__host__arch.py @@ -0,0 +1,11 @@ +--- core/Common/3dParty/v8/v8/build/detect_host_arch.py.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/detect_host_arch.py +@@ -21,6 +21,8 @@ def HostArch(): + host_arch = 'ia32' + elif host_arch in ['x86_64', 'amd64']: + host_arch = 'x64' ++ elif host_arch.startswith('arm64'): ++ host_arch = 'arm64' + elif host_arch.startswith('arm'): + host_arch = 'arm' + elif host_arch.startswith('aarch64'): diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_gn__run__binary.py b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_gn__run__binary.py new file mode 100644 index 0000000000000..7d3a1c383b1f0 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_gn__run__binary.py @@ -0,0 +1,11 @@ +--- core/Common/3dParty/v8/v8/build/gn_run_binary.py.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/gn_run_binary.py +@@ -24,7 +24,7 @@ if not os.path.isabs(path): + # The rest of the arguments are passed directly to the executable. + args = [path] + sys.argv[2:] + +-ret = subprocess.call(args) ++ret = subprocess.call(args, env={"CHROME_EXE_PATH":"${WRKSRC}/out/Release/chrome"}) + if ret != 0: + if ret <= -100: + # Windows error codes such as 0xC0000005 and 0xC0000409 are much easier to diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_chrome.map b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_chrome.map new file mode 100644 index 0000000000000..88d106f80cb05 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_chrome.map @@ -0,0 +1,29 @@ +--- core/Common/3dParty/v8/v8/build/linux/chrome.map.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/linux/chrome.map +@@ -1,4 +1,7 @@ + { ++local: ++ *; ++ + global: + __bss_start; + __data_start; +@@ -20,6 +23,10 @@ global: + # Program entry point. + _start; + ++ # FreeBSD specific variables. ++ __progname; ++ environ; ++ + # Memory allocation symbols. We want chrome and any libraries to + # share the same heap, so it is correct to export these symbols. + calloc; +@@ -81,7 +88,4 @@ global: + localtime64; + localtime64_r; + localtime_r; +- +-local: +- *; + }; diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_libpci_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_libpci_BUILD.gn new file mode 100644 index 0000000000000..f08519f803481 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_libpci_BUILD.gn @@ -0,0 +1,53 @@ +--- core/Common/3dParty/v8/v8/build/linux/libpci/BUILD.gn.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/linux/libpci/BUILD.gn +@@ -3,20 +3,36 @@ + # found in the LICENSE file. + + import("//tools/generate_library_loader/generate_library_loader.gni") ++import("//build/config/linux/pkg_config.gni") + +-# This generates a target named "libpci". +-generate_library_loader("libpci") { +- name = "LibPciLoader" +- output_h = "libpci.h" +- output_cc = "libpci_loader.cc" +- header = "" ++declare_args() { ++ use_system_libpci = is_bsd ++} + +- functions = [ +- "pci_alloc", +- "pci_init", +- "pci_cleanup", +- "pci_scan_bus", +- "pci_fill_info", +- "pci_lookup_name", +- ] ++if (use_system_libpci) { ++ pkg_config("system_libpci") { ++ packages = [ "libpci" ] ++ } ++ ++ source_set("libpci") { ++ public_configs = [ ":system_libpci" ] ++ } ++ ++} else { ++ # This generates a target named "libpci". ++ generate_library_loader("libpci") { ++ name = "LibPciLoader" ++ output_h = "libpci.h" ++ output_cc = "libpci_loader.cc" ++ header = "" ++ ++ functions = [ ++ "pci_alloc", ++ "pci_init", ++ "pci_cleanup", ++ "pci_scan_bus", ++ "pci_fill_info", ++ "pci_lookup_name", ++ ] ++ } + } diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_unbundle_libusb.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_unbundle_libusb.gn new file mode 100644 index 0000000000000..ecdd1b43768ad --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_unbundle_libusb.gn @@ -0,0 +1,27 @@ +--- core/Common/3dParty/v8/v8/build/linux/unbundle/libusb.gn.orig 2021-12-18 17:45:22 UTC ++++ core/Common/3dParty/v8/v8/build/linux/unbundle/libusb.gn +@@ -0,0 +1,24 @@ ++# Copyright 2016 The Chromium Authors. All rights reserved. ++# Use of this source code is governed by a BSD-style license that can be ++# found in the LICENSE file. ++ ++import("//build/config/linux/pkg_config.gni") ++import("//build/shim_headers.gni") ++ ++pkg_config("system_libusb") { ++ packages = [ "libusb-1.0" ] ++} ++ ++shim_headers("libusb_shim") { ++ root_path = "src/libusb" ++ headers = [ ++ "libusb.h", ++ ] ++} ++ ++source_set("libusb") { ++ deps = [ ++ ":libusb_shim", ++ ] ++ public_configs = [ ":system_libusb" ] ++} diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_unbundle_replace__gn__files.py b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_unbundle_replace__gn__files.py new file mode 100644 index 0000000000000..298f09159073e --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_linux_unbundle_replace__gn__files.py @@ -0,0 +1,10 @@ +--- core/Common/3dParty/v8/v8/build/linux/unbundle/replace_gn_files.py.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/linux/unbundle/replace_gn_files.py +@@ -27,6 +27,7 @@ REPLACEMENTS = { + 'libevent': 'base/third_party/libevent/BUILD.gn', + 'libjpeg': 'third_party/libjpeg.gni', + 'libpng': 'third_party/libpng/BUILD.gn', ++ 'libusb': 'third_party/libusb/BUILD.gn', + 'libvpx': 'third_party/libvpx/BUILD.gn', + 'libwebp': 'third_party/libwebp/BUILD.gn', + 'libxml': 'third_party/libxml/BUILD.gn', diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_gcc__toolchain.gni b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_gcc__toolchain.gni new file mode 100644 index 0000000000000..e4b2715b0237d --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_gcc__toolchain.gni @@ -0,0 +1,45 @@ +--- core/Common/3dParty/v8/v8/build/toolchain/gcc_toolchain.gni.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/toolchain/gcc_toolchain.gni +@@ -50,6 +50,11 @@ if (enable_resource_allowlist_generation) { + "enable_resource_allowlist_generation=true does not work for target_os=$target_os") + } + ++declare_args() { ++ extra_cxxflags = "" ++ extra_ldflags = "" ++} ++ + # This template defines a toolchain for something that works like gcc + # (including clang). + # +@@ -641,13 +646,23 @@ template("clang_toolchain") { + } + + gcc_toolchain(target_name) { +- prefix = rebase_path("$clang_base_path/bin", root_build_dir) +- cc = "$prefix/clang" +- cxx = "$prefix/clang++" +- ld = cxx +- readelf = "${toolprefix}readelf" +- ar = "${prefix}/llvm-ar" +- nm = "${toolprefix}nm" ++ if (is_bsd) { ++ prefix = "%%LOCALBASE%%/bin" ++ cc = "%%CC%%" ++ cxx = "%%CXX%%" ++ ld = cxx ++ readelf = "${toolprefix}readelf" ++ ar = "${prefix}/ar" ++ nm = "${prefix}/nm" ++ } else { ++ prefix = rebase_path("$clang_base_path/bin", root_build_dir) ++ cc = "$prefix/clang" ++ cxx = "$prefix/clang++" ++ ld = cxx ++ readelf = "${toolprefix}readelf" ++ ar = "${prefix}/llvm-ar" ++ nm = "${toolprefix}nm" ++ } + + forward_variables_from(invoker, + [ diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_get__concurrent__links.py b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_get__concurrent__links.py new file mode 100644 index 0000000000000..d42b84f43ee12 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_get__concurrent__links.py @@ -0,0 +1,17 @@ +--- core/Common/3dParty/v8/v8/build/toolchain/get_concurrent_links.py.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/toolchain/get_concurrent_links.py +@@ -53,6 +53,14 @@ def _GetTotalMemoryInBytes(): + return int(subprocess.check_output(['sysctl', '-n', 'hw.memsize'])) + except Exception: + return 0 ++ elif sys.platform.startswith('freebsd'): ++ try: ++ avail_bytes = int(subprocess.check_output(['sysctl', '-n', 'hw.physmem'])) ++ # With -fuse-lld it doesn't take a lot of ram, feel free to change that ++ # 1 * ... to needed amount ++ return max(1, avail_bytes / (1 * (2 ** 30))) # total / 4GB ++ except Exception: ++ return 1 + # TODO(scottmg): Implement this for other platforms. + return 0 + diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_linux_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_linux_BUILD.gn new file mode 100644 index 0000000000000..d76898f23ba67 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_toolchain_linux_BUILD.gn @@ -0,0 +1,10 @@ +--- core/Common/3dParty/v8/v8/build/toolchain/linux/BUILD.gn.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/build/toolchain/linux/BUILD.gn +@@ -22,7 +22,6 @@ clang_toolchain("clang_arm") { + } + + clang_toolchain("clang_arm64") { +- toolprefix = "aarch64-linux-gnu-" + toolchain_args = { + current_cpu = "arm64" + current_os = "linux" diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_win_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_win_BUILD.gn new file mode 100644 index 0000000000000..908f8748a4aa1 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_build_win_BUILD.gn @@ -0,0 +1,13 @@ +--- core/Common/3dParty/v8/v8/build/win/BUILD.gn.orig 2021-12-20 12:36:58 UTC ++++ core/Common/3dParty/v8/v8/build/win/BUILD.gn +@@ -10,8 +10,8 @@ import("//build/config/win/manifest.gni") + # be converted to check target platform before assigning source files to the + # sources variable. Remove this import and set_sources_assignment_filter call + # when the file has been converted. See https://crbug.com/1018739 for details. +-import("//build/config/deprecated_default_sources_assignment_filter.gni") +-set_sources_assignment_filter(deprecated_default_sources_assignment_filter) ++#import("//build/config/deprecated_default_sources_assignment_filter.gni") ++#set_sources_assignment_filter(deprecated_default_sources_assignment_filter) + + # Depending on this target will cause the manifests for Chrome's default + # Windows and common control compatibility and elevation for executables. diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_buildtools_third__party_libc++_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_buildtools_third__party_libc++_BUILD.gn new file mode 100644 index 0000000000000..a7eafec613589 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_buildtools_third__party_libc++_BUILD.gn @@ -0,0 +1,11 @@ +--- core/Common/3dParty/v8/v8/buildtools/third_party/libc++/BUILD.gn.orig 2020-11-16 13:30:51 UTC ++++ core/Common/3dParty/v8/v8/buildtools/third_party/libc++/BUILD.gn +@@ -14,7 +14,7 @@ config("config") { + # its implementation. + cflags += [ "-Wno-macro-redefined" ] + } else { +- cflags += [ "-fPIC" ] ++ cflags += [ "-fPIC", "-I%%LOCALBASE%%/include" ] + } + } + diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_include_v8config.h b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_include_v8config.h new file mode 100644 index 0000000000000..05f52f52afdb0 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_include_v8config.h @@ -0,0 +1,21 @@ +--- core/Common/3dParty/v8/v8/include/v8config.h.orig 2020-12-15 11:23:25 UTC ++++ core/Common/3dParty/v8/v8/include/v8config.h +@@ -276,7 +276,18 @@ + # define V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT \ + (__has_attribute(warn_unused_result)) + ++// Work around Clang bug present in 9.0.1, at least. ++// ++// Clang stores alignment as a 32-bit unsigned integer, but V8 only uses ++// V8_ASSUME_ALIGNED() for a 4GB (2^32) alignment ++// (kPtrComprIsolateRootAlignment). As such, the alignment overflows and ++// becomes zero, triggering an internal Clang assertion that alignment must not ++// be zero. ++#if 0 + # define V8_HAS_BUILTIN_ASSUME_ALIGNED (__has_builtin(__builtin_assume_aligned)) ++#else ++# define V8_HAS_BUILTIN_ASSUME_ALIGNED 0 ++#endif + # define V8_HAS_BUILTIN_BSWAP16 (__has_builtin(__builtin_bswap16)) + # define V8_HAS_BUILTIN_BSWAP32 (__has_builtin(__builtin_bswap32)) + # define V8_HAS_BUILTIN_BSWAP64 (__has_builtin(__builtin_bswap64)) diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_api_api.cc b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_api_api.cc new file mode 100644 index 0000000000000..03f5091fe5c79 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_api_api.cc @@ -0,0 +1,11 @@ +--- core/Common/3dParty/v8/v8/src/api/api.cc.orig 2020-12-15 11:23:25 UTC ++++ core/Common/3dParty/v8/v8/src/api/api.cc +@@ -5760,7 +5760,7 @@ bool v8::V8::Initialize(const int build_config) { + return true; + } + +-#if V8_OS_LINUX || V8_OS_MACOSX ++#if V8_OS_LINUX || V8_OS_MACOSX || V8_OS_OPENBSD || V8_OS_FREEBSD + bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info, + void* context) { + #if V8_TARGET_ARCH_X64 && !V8_OS_ANDROID diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_cpu.cc b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_cpu.cc new file mode 100644 index 0000000000000..b66c78d808466 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_cpu.cc @@ -0,0 +1,18 @@ +--- core/Common/3dParty/v8/v8/src/base/cpu.cc.orig 2020-12-15 11:23:25 UTC ++++ core/Common/3dParty/v8/v8/src/base/cpu.cc +@@ -534,6 +534,7 @@ CPU::CPU() + + #if V8_OS_LINUX + ++#if V8_OS_LINUX + CPUInfo cpu_info; + + // Extract implementor from the "CPU implementer" field. +@@ -567,6 +568,7 @@ CPU::CPU() + } + delete[] part; + } ++#endif + + // Extract architecture from the "CPU Architecture" field. + // The list is well-known, unlike the the output of diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_platform_platform-freebsd.cc b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_platform_platform-freebsd.cc new file mode 100644 index 0000000000000..9e840901541d8 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_platform_platform-freebsd.cc @@ -0,0 +1,13 @@ +--- core/Common/3dParty/v8/v8/src/base/platform/platform-freebsd.cc.orig 2020-12-15 11:23:25 UTC ++++ core/Common/3dParty/v8/v8/src/base/platform/platform-freebsd.cc +@@ -82,8 +82,8 @@ std::vector OS::GetSharedLib + lib_name = std::string(path); + } + result.push_back(SharedLibraryAddress( +- lib_name, reinterpret_cast(map->kve_start), +- reinterpret_cast(map->kve_end))); ++ lib_name, static_cast(map->kve_start), ++ static_cast(map->kve_end))); + } + + start += ssize; diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_platform_platform-posix.cc b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_platform_platform-posix.cc new file mode 100644 index 0000000000000..4e8b7c5c0aa3f --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_platform_platform-posix.cc @@ -0,0 +1,24 @@ +--- core/Common/3dParty/v8/v8/src/base/platform/platform-posix.cc.orig 2020-12-15 11:23:25 UTC ++++ core/Common/3dParty/v8/v8/src/base/platform/platform-posix.cc +@@ -466,7 +466,7 @@ bool OS::DiscardSystemPages(void* address, size_t size + + // static + bool OS::HasLazyCommits() { +-#if V8_OS_AIX || V8_OS_LINUX || V8_OS_MACOSX ++#if V8_OS_AIX || V8_OS_LINUX || V8_OS_MACOSX || V8_OS_FREEBSD + return true; + #else + // TODO(bbudge) Return true for all POSIX platforms. +@@ -597,6 +597,12 @@ int OS::GetCurrentThreadId() { + return static_cast(syscall(__NR_gettid)); + #elif V8_OS_ANDROID + return static_cast(gettid()); ++#elif V8_OS_DRAGONFLYBSD || defined(__DragonFly__) ++ return static_cast(lwp_gettid()); ++#elif V8_OS_FREEBSD ++ return static_cast(pthread_getthreadid_np()); ++#elif V8_OS_NETBSD ++ return static_cast(_lwp_self()); + #elif V8_OS_AIX + return static_cast(thread_self()); + #elif V8_OS_FUCHSIA diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_d8_d8-posix.cc b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_d8_d8-posix.cc new file mode 100644 index 0000000000000..a79c0b7e401d2 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_d8_d8-posix.cc @@ -0,0 +1,19 @@ +--- core/Common/3dParty/v8/v8/src/d8/d8-posix.cc.orig 2020-12-15 11:23:25 UTC ++++ core/Common/3dParty/v8/v8/src/d8/d8-posix.cc +@@ -4,6 +4,8 @@ + + #include + #include ++#include ++#include + #include + #include + #include +@@ -12,7 +14,6 @@ + #include + #include + #include +-#include + #include + #include + diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_objects_js-list-format.cc b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_objects_js-list-format.cc new file mode 100644 index 0000000000000..7f3039072114d --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_objects_js-list-format.cc @@ -0,0 +1,74 @@ +--- core/Common/3dParty/v8/v8/src/objects/js-list-format.cc.orig 2020-12-15 11:23:25 UTC ++++ core/Common/3dParty/v8/v8/src/objects/js-list-format.cc +@@ -29,46 +29,27 @@ namespace v8 { + namespace internal { + + namespace { +-const char* kStandard = "standard"; +-const char* kOr = "or"; +-const char* kUnit = "unit"; +-const char* kStandardShort = "standard-short"; +-const char* kOrShort = "or-short"; +-const char* kUnitShort = "unit-short"; +-const char* kStandardNarrow = "standard-narrow"; +-const char* kOrNarrow = "or-narrow"; +-const char* kUnitNarrow = "unit-narrow"; + +-const char* GetIcuStyleString(JSListFormat::Style style, +- JSListFormat::Type type) { ++UListFormatterWidth GetIcuWidth(JSListFormat::Style style) { ++ switch (style) { ++ case JSListFormat::Style::LONG: ++ return ULISTFMT_WIDTH_WIDE; ++ case JSListFormat::Style::SHORT: ++ return ULISTFMT_WIDTH_SHORT; ++ case JSListFormat::Style::NARROW: ++ return ULISTFMT_WIDTH_NARROW; ++ } ++ UNREACHABLE(); ++} ++ ++UListFormatterType GetIcuType(JSListFormat::Type type) { + switch (type) { + case JSListFormat::Type::CONJUNCTION: +- switch (style) { +- case JSListFormat::Style::LONG: +- return kStandard; +- case JSListFormat::Style::SHORT: +- return kStandardShort; +- case JSListFormat::Style::NARROW: +- return kStandardNarrow; +- } ++ return ULISTFMT_TYPE_AND; + case JSListFormat::Type::DISJUNCTION: +- switch (style) { +- case JSListFormat::Style::LONG: +- return kOr; +- case JSListFormat::Style::SHORT: +- return kOrShort; +- case JSListFormat::Style::NARROW: +- return kOrNarrow; +- } ++ return ULISTFMT_TYPE_OR; + case JSListFormat::Type::UNIT: +- switch (style) { +- case JSListFormat::Style::LONG: +- return kUnit; +- case JSListFormat::Style::SHORT: +- return kUnitShort; +- case JSListFormat::Style::NARROW: +- return kUnitNarrow; +- } ++ return ULISTFMT_TYPE_UNITS; + } + UNREACHABLE(); + } +@@ -143,7 +124,7 @@ MaybeHandle JSListFormat::New(Isolate* i + icu::Locale icu_locale = r.icu_locale; + UErrorCode status = U_ZERO_ERROR; + icu::ListFormatter* formatter = icu::ListFormatter::createInstance( +- icu_locale, GetIcuStyleString(style_enum, type_enum), status); ++ icu_locale, GetIcuType(type_enum), GetIcuWidth(style_enum), status); + if (U_FAILURE(status) || formatter == nullptr) { + delete formatter; + THROW_NEW_ERROR(isolate, NewRangeError(MessageTemplate::kIcuError), diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_testing_gmock_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_testing_gmock_BUILD.gn new file mode 100644 index 0000000000000..1bb50e601707d --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_testing_gmock_BUILD.gn @@ -0,0 +1,18 @@ +https://github.com/v8/v8/commit/eac21d572e92a82f5656379bc90f8ecf1ff884fc + +--- core/Common/3dParty/v8/v8/testing/gmock/BUILD.gn.orig 2020-12-15 12:23:25 UTC ++++ core/Common/3dParty/v8/v8/testing/gmock/BUILD.gn +@@ -15,12 +15,7 @@ source_set("gmock") { + "include/gmock/gmock-matchers.h", + "include/gmock/gmock.h", + ] +- deps = [ "//third_party/googletest:gmock" ] +- +- public_configs = [ +- "//third_party/googletest:gmock_config", +- "//third_party/googletest:gtest_config", +- ] ++ public_deps = [ "//third_party/googletest:gmock" ] + } + + # The file/directory layout of Google Test is not yet considered stable. Until diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_third__party_zlib_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_third__party_zlib_BUILD.gn new file mode 100644 index 0000000000000..fbe2eb2138f45 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_third__party_zlib_BUILD.gn @@ -0,0 +1,11 @@ +--- core/Common/3dParty/v8/v8/third_party/zlib/BUILD.gn.orig 2020-11-16 13:31:04 UTC ++++ core/Common/3dParty/v8/v8/third_party/zlib/BUILD.gn +@@ -108,6 +108,8 @@ if (use_arm_neon_optimizations) { + defines = [ "CRC32_ARMV8_CRC32" ] + if (is_android) { + defines += [ "ARMV8_OS_ANDROID" ] ++ } else if (is_bsd) { ++ defines += [ "ARMV8_OS_FREEBSD" ] + } else if (is_linux || is_chromeos) { + defines += [ "ARMV8_OS_LINUX" ] + } else if (is_mac) { diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_third__party_zlib_cpu__features.c b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_third__party_zlib_cpu__features.c new file mode 100644 index 0000000000000..70ed82e79c34f --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_third__party_zlib_cpu__features.c @@ -0,0 +1,48 @@ +--- core/Common/3dParty/v8/v8/third_party/zlib/cpu_features.c.orig 2020-11-16 13:31:04 UTC ++++ core/Common/3dParty/v8/v8/third_party/zlib/cpu_features.c +@@ -31,11 +31,20 @@ int ZLIB_INTERNAL x86_cpu_enable_simd = 0; + + #ifndef CPU_NO_SIMD + +-#if defined(ARMV8_OS_ANDROID) || defined(ARMV8_OS_LINUX) || defined(ARMV8_OS_FUCHSIA) ++#if defined(ARMV8_OS_ANDROID) || defined(ARMV8_OS_LINUX) || defined(ARMV8_OS_FUCHSIA) || defined(ARMV8_OS_FREEBSD) + #include + #endif + +-#if defined(ARMV8_OS_ANDROID) ++#if defined(ARMV8_OS_FREEBSD) ++#include ++#include ++#ifndef ID_AA64ISAR0_AES_VAL ++#define ID_AA64ISAR0_AES_VAL ID_AA64ISAR0_AES ++#endif ++#ifndef ID_AA64ISAR0_CRC32_VAL ++#define ID_AA64ISAR0_CRC32_VAL ID_AA64ISAR0_CRC32 ++#endif ++#elif defined(ARMV8_OS_ANDROID) + #include + #elif defined(ARMV8_OS_LINUX) + #include +@@ -56,7 +65,7 @@ int ZLIB_INTERNAL x86_cpu_enable_simd = 0; + static void _cpu_check_features(void); + #endif + +-#if defined(ARMV8_OS_ANDROID) || defined(ARMV8_OS_LINUX) || defined(ARMV8_OS_MACOS) || defined(ARMV8_OS_FUCHSIA) || defined(X86_NOT_WINDOWS) ++#if defined(ARMV8_OS_ANDROID) || defined(ARMV8_OS_LINUX) || defined(ARMV8_OS_MACOS) || defined(ARMV8_OS_FUCHSIA) || defined(X86_NOT_WINDOWS) || defined(ARMV8_OS_FREEBSD) + #if !defined(ARMV8_OS_MACOS) + // _cpu_check_features() doesn't need to do anything on mac/arm since all + // features are known at build time, so don't call it. +@@ -123,6 +132,13 @@ static void _cpu_check_features(void) + #elif defined(ARMV8_OS_WINDOWS) + arm_cpu_enable_crc32 = IsProcessorFeaturePresent(PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE); + arm_cpu_enable_pmull = IsProcessorFeaturePresent(PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE); ++#elif defined(ARMV8_OS_FREEBSD) ++ uint64_t id_aa64isar0; ++ id_aa64isar0 = READ_SPECIALREG(id_aa64isar0_el1); ++ if (ID_AA64ISAR0_AES_VAL(id_aa64isar0) == ID_AA64ISAR0_AES_PMULL) ++ arm_cpu_enable_pmull = 1; ++ if (ID_AA64ISAR0_CRC32_VAL(id_aa64isar0) == ID_AA64ISAR0_CRC32_BASE) ++ arm_cpu_enable_crc32 = 1; + #endif + } + #endif diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_Base_Types__32.h b/www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_Base_Types__32.h new file mode 100644 index 0000000000000..72f91a5f67171 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_Base_Types__32.h @@ -0,0 +1,11 @@ +--- core/Common/DocxFormat/Source/Base/Types_32.h.orig 2021-09-30 12:13:32 UTC ++++ core/Common/DocxFormat/Source/Base/Types_32.h +@@ -38,7 +38,7 @@ + typedef unsigned __int16 _UINT16; + typedef unsigned __int32 _UINT32; + typedef unsigned __int64 _UINT64; +-#elif __linux__ ++#elif defined(__linux__) || defined(__FreeBSD__) + typedef int16_t _INT16; + typedef int32_t _INT32; + typedef int64_t _INT64; diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_XlsxFormat_Common.cpp b/www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_XlsxFormat_Common.cpp new file mode 100644 index 0000000000000..1664a82534cc8 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_DocxFormat_Source_XlsxFormat_Common.cpp @@ -0,0 +1,14 @@ +--- core/Common/DocxFormat/Source/XlsxFormat/Common.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/Common/DocxFormat/Source/XlsxFormat/Common.cpp +@@ -48,6 +48,11 @@ char* gcvt(double x, int n, char* b) + #define _gcvt gcvt + #endif + ++#ifdef __FreeBSD__ ++#define _gcvt(x,n,b) sprintf(b, "%.17g", x) ++#endif ++ ++ + #define DBL_MAX 15 + #define DBL_MAXDIG10 17 + diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_base.pri b/www/onlyoffice-documentserver/files/patch-core_Common_base.pri new file mode 100644 index 0000000000000..5039f27ce84f8 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_base.pri @@ -0,0 +1,42 @@ +--- core/Common/base.pri.orig 2021-09-30 12:13:32 UTC ++++ core/Common/base.pri +@@ -79,6 +79,14 @@ android { + DEFINES += __ANDROID__ LINUX _LINUX _ARM_ALIGN_ + } + ++freebsd-clang { ++ message("freebsd-clang") ++ CONFIG += core_freebsd ++ CONFIG += core_freebsd_64 ++ QMAKE_CC = %%CC%% ++ QMAKE_CXX = %%CXX%% ++} ++ + win32:contains(QMAKE_TARGET.arch, x86_64): { + CONFIG += core_win_64 + } +@@ -165,6 +173,14 @@ core_windows { + } + } + ++core_freebsd { ++ equals(TEMPLATE, app) { ++ QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\'" ++ QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN/system\'" ++ QMAKE_LFLAGS += -Wl,--disable-new-dtags ++ } ++} ++ + core_linux { + equals(TEMPLATE, app) { + QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\'" +@@ -178,6 +194,9 @@ core_win_32 { + } + core_win_64 { + CORE_BUILDS_PLATFORM_PREFIX = win_64 ++} ++core_freebsd_64 { ++ CORE_BUILDS_PLATFORM_PREFIX = freebsd_64 + } + core_linux_32 { + CORE_BUILDS_PLATFORM_PREFIX = linux_32 diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_kernel.pro b/www/onlyoffice-documentserver/files/patch-core_Common_kernel.pro new file mode 100644 index 0000000000000..554f9a540515e --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_kernel.pro @@ -0,0 +1,21 @@ +--- core/Common/kernel.pro.orig 2021-09-30 12:13:32 UTC ++++ core/Common/kernel.pro +@@ -42,6 +42,18 @@ core_windows { + LIBS += -lRpcrt4 + LIBS += -lShell32 + } ++core_freebsd { ++ CONFIG += use_external_download ++ ++ use_external_download { ++ DEFINES += USE_EXTERNAL_DOWNLOAD ++ } else { ++ include(../Common/3dParty/curl/curl.pri) ++ } ++ ++ SOURCES += \ ++ ./FileDownloader/FileDownloader_curl.cpp ++} + core_linux { + CONFIG += use_external_download + diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_AllFontsGen_AllFontsGen.pro b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_AllFontsGen_AllFontsGen.pro new file mode 100644 index 0000000000000..f9ce4e00a40d9 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_AllFontsGen_AllFontsGen.pro @@ -0,0 +1,13 @@ +--- core/DesktopEditor/AllFontsGen/AllFontsGen.pro.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/AllFontsGen/AllFontsGen.pro +@@ -39,4 +39,10 @@ core_linux { + QMAKE_LFLAGS += -Wl,--rpath=./ + } + ++core_freebsd { ++ LIBS += -lz -pthread -liconv ++ ++ QMAKE_LFLAGS += -Wl,--rpath=./ ++} ++ + SOURCES += main.cpp diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_Qt__build_graphics_project_graphics.pri b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_Qt__build_graphics_project_graphics.pri new file mode 100644 index 0000000000000..eba647e3a9a54 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_Qt__build_graphics_project_graphics.pri @@ -0,0 +1,15 @@ +--- core/DesktopEditor/Qt_build/graphics/project/graphics.pri.orig 2021-12-18 10:21:34 UTC ++++ core/DesktopEditor/Qt_build/graphics/project/graphics.pri +@@ -9,6 +9,12 @@ DEFINES += \ + MNG_STORE_CHUNKS\ + MNG_ERROR_TELLTALE + ++core_freebsd { ++ DEFINES += \ ++ HAVE_UNISTD_H ++ QMAKE_CXXFLAGS += -Wno-narrowing ++} ++ + core_linux { + DEFINES += \ + HAVE_UNISTD_H diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_Qt__build_graphics_project_graphics__fonts.pri b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_Qt__build_graphics_project_graphics__fonts.pri new file mode 100644 index 0000000000000..6b761ba3693b3 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_Qt__build_graphics_project_graphics__fonts.pri @@ -0,0 +1,14 @@ +--- core/DesktopEditor/Qt_build/graphics/project/graphics_fonts.pri.orig 2021-12-18 10:21:34 UTC ++++ core/DesktopEditor/Qt_build/graphics/project/graphics_fonts.pri +@@ -3,6 +3,11 @@ DEFINES += \ + _QT \ + FT2_BUILD_LIBRARY + ++core_freebsd { ++ DEFINES += \ ++ HAVE_UNISTD_H ++} ++ + core_linux { + DEFINES += \ + HAVE_UNISTD_H diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_agg-2.4_include_agg__math.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_agg-2.4_include_agg__math.h new file mode 100644 index 0000000000000..684d5f4128baa --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_agg-2.4_include_agg__math.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/agg-2.4/include/agg_math.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/agg-2.4/include/agg_math.h +@@ -431,7 +431,7 @@ namespace agg + } + } + +-#if defined(_LINUX) || defined(__APPLE__) ++#if defined(_LINUX) || defined(__APPLE__) || defined(__FreeBSD__) + inline double _hypot(const double& x, const double& y) + { + return sqrt(x * x + y * y); diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_agg-2.4_include_agg__span__gradient.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_agg-2.4_include_agg__span__gradient.h new file mode 100644 index 0000000000000..f553a4b47e229 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_agg-2.4_include_agg__span__gradient.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/agg-2.4/include/agg_span_gradient.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/agg-2.4/include/agg_span_gradient.h +@@ -24,7 +24,7 @@ + + namespace agg + { +-#if !defined(_LINUX) && !(defined(_WIN32) || defined (_WIN64)) && !defined(__APPLE__) ++#if !defined(_LINUX) && !defined(__FreeBSD__) && !(defined(_WIN32) || defined (_WIN64)) && !defined(__APPLE__) + double _hypot(double x, double y) + { + return sqrt(x*x + y*y); diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_allthemesgen_allthemesgen.pro b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_allthemesgen_allthemesgen.pro new file mode 100644 index 0000000000000..a8842e4b6f5a8 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_allthemesgen_allthemesgen.pro @@ -0,0 +1,14 @@ +--- core/DesktopEditor/allthemesgen/allthemesgen.pro.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/allthemesgen/allthemesgen.pro +@@ -33,4 +33,11 @@ core_linux { + QMAKE_LFLAGS += -Wl,--rpath=./ + } + ++core_freebsd { ++ LIBS += -lz -pthread -liconv ++ ++ QMAKE_LFLAGS += -Wl,--rpath=./ ++} ++ ++ + SOURCES += main.cpp diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_allthemesgen_main.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_allthemesgen_main.cpp new file mode 100644 index 0000000000000..8c2b13872d3da --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_allthemesgen_main.cpp @@ -0,0 +1,20 @@ +--- core/DesktopEditor/allthemesgen/main.cpp.orig 2021-12-18 19:29:47 UTC ++++ core/DesktopEditor/allthemesgen/main.cpp +@@ -48,7 +48,7 @@ + #undef CreateDirectory + #endif + +-#ifdef LINUX ++#if defined(LINUX) || defined (__FreeBSD__) + #include + #include + #include +@@ -179,7 +179,7 @@ namespace NSX2T + + #endif + +-#ifdef LINUX ++#if defined(LINUX) || defined (__FreeBSD__) + pid_t pid = fork(); // create child process + int status; + diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Directory.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Directory.cpp new file mode 100644 index 0000000000000..6b5968db40e12 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Directory.cpp @@ -0,0 +1,64 @@ +--- core/DesktopEditor/common/Directory.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/common/Directory.cpp +@@ -35,7 +35,7 @@ + #include "windef.h" + #include + #include +-#elif __linux__ ++#elif defined(__linux__) || defined(__FreeBSD__) + #include + #include + #include +@@ -121,7 +121,7 @@ namespace NSDirectory + FindClose( hRes ); + #endif + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + BYTE* pUtf8 = NULL; + LONG lLen = 0; + NSFile::CUtf8Converter::GetUtf8StringFromUnicode(strDirectory.c_str(), strDirectory.length(), pUtf8, lLen, false); +@@ -236,7 +236,7 @@ namespace NSDirectory + } + } while( FindNextFileW( hRes, &oFD ) ); + FindClose( hRes ); +-#elif __linux__ ++#elif defined(__linux__) || defined(__FreeBSD__) + BYTE* pUtf8 = NULL; + LONG lLen = 0; + NSFile::CUtf8Converter::GetUtf8StringFromUnicode(strDirectory.c_str(), strDirectory.length(), pUtf8, lLen, false); +@@ -300,7 +300,7 @@ namespace NSDirectory + #if defined(_WIN32) || defined (_WIN64) + DWORD dwAttrib = ::GetFileAttributesW(strDirectory.c_str()); + return (dwAttrib != INVALID_FILE_ATTRIBUTES && 0 != (dwAttrib & FILE_ATTRIBUTE_DIRECTORY)); +-#elif __linux__ ++#elif defined(__linux__) || defined(__FreeBSD__) + BYTE* pUtf8 = NULL; + LONG lLen = 0; + NSFile::CUtf8Converter::GetUtf8StringFromUnicode(strDirectory.c_str(), strDirectory.length(), pUtf8, lLen, false); +@@ -399,7 +399,7 @@ namespace NSDirectory + return true; + #endif + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + BYTE* pUtf8 = NULL; + LONG lLen = 0; + NSFile::CUtf8Converter::GetUtf8StringFromUnicode(strSrc.c_str(), strSrc.length(), pUtf8, lLen, false); +@@ -496,14 +496,14 @@ namespace NSDirectory + } + #if defined(_WIN32) || defined (_WIN64) + if (deleteRoot) RemoveDirectoryW(strDirectory.c_str()); +-#elif __linux__ ++#elif defined(__linux__) || defined(__FreeBSD__) + BYTE* pUtf8 = NULL; + LONG lLen = 0; + NSFile::CUtf8Converter::GetUtf8StringFromUnicode(strDirectory.c_str(), strDirectory.length(), pUtf8, lLen, false); + rmdir((char*)pUtf8); + delete [] pUtf8; + +- if (deleteRoot = false)CreateDirectory(strDirectory); ++ if (deleteRoot == false) CreateDirectory(strDirectory); + #elif MAC + BYTE* pUtf8 = NULL; + LONG lLen = 0; diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_File.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_File.cpp new file mode 100644 index 0000000000000..ee1aa75c7350a --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_File.cpp @@ -0,0 +1,42 @@ +--- core/DesktopEditor/common/File.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/common/File.cpp +@@ -39,11 +39,15 @@ + #include + #endif + +-#ifdef _LINUX ++#if defined(_LINUX) || defined(__FreeBSD__) + #include + #include + #include ++#if defined(__FreeBSD__) ++#include ++#include + #endif ++#endif + + #ifdef _IOS + const char* fileSystemRepresentation(const std::wstring& sFileName); +@@ -1613,6 +1617,22 @@ namespace NSFile + return L""; + } + ++ std::string sUTF8(buf); ++ std::wstring sRet = CUtf8Converter::GetUnicodeStringFromUTF8((BYTE*)sUTF8.c_str(), sUTF8.length()); ++ return sRet; ++#endif ++ ++#if defined(__FreeBSD__) ++ int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1}; ++ char buf[NS_FILE_MAX_PATH]; ++ size_t size = NS_FILE_MAX_PATH; ++ ++ memset(buf, 0, NS_FILE_MAX_PATH); ++ if (sysctl(mib, 4, &buf, &size, NULL, 0) != 0) { ++ size = readlink("/proc/curproc/file", buf, size - 1); ++ if (size < 0) ++ return L""; ++ } + std::string sUTF8(buf); + std::wstring sRet = CUtf8Converter::GetUnicodeStringFromUTF8((BYTE*)sUTF8.c_str(), sUTF8.length()); + return sRet; diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Path.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Path.cpp new file mode 100644 index 0000000000000..e46fbc6dcdc5d --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Path.cpp @@ -0,0 +1,29 @@ +--- core/DesktopEditor/common/Path.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/common/Path.cpp +@@ -34,7 +34,7 @@ + + #if defined(_WIN32) || defined (_WIN64) + #include +-#elif __linux__ || MAC ++#elif __linux__ || __FreeBSD__ || MAC + #include + #endif + +@@ -53,7 +53,7 @@ namespace NSSystemPath + sRes.append(tFolder); + if(sRes.length() > 0) + sRes.erase(sRes.length()-1); +-#elif __linux__ || MAC ++#elif __linux__ || __FreeBSD__ || MAC + BYTE* pUtf8 = NULL; + LONG lLen = 0; + NSFile::CUtf8Converter::GetUtf8StringFromUnicode(strFileName.c_str(), strFileName.length(), pUtf8, lLen, false); +@@ -73,7 +73,7 @@ namespace NSSystemPath + sRes.append(tFilename); + sRes.append(tExt); + return sRes; +-#elif __linux__ || MAC ++#elif __linux__ || __FreeBSD__ || MAC + BYTE* pUtf8 = NULL; + LONG lLen = 0; + NSFile::CUtf8Converter::GetUtf8StringFromUnicode(strFileName.c_str(), strFileName.length(), pUtf8, lLen, false); diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Types.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Types.h new file mode 100644 index 0000000000000..64628b8b347e2 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Types.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/common/Types.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/common/Types.h +@@ -78,7 +78,7 @@ typedef int INT; + typedef unsigned int UINT, *PUINT; + typedef wchar_t WCHAR; + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + #include + typedef int64_t T_LONG64; + typedef uint64_t T_ULONG64; diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximage.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximage.h new file mode 100644 index 0000000000000..9524e192a3a64 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximage.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/cximage/CxImage/ximage.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/cximage/CxImage/ximage.h +@@ -52,7 +52,7 @@ + #pragma once + #endif + +-#ifdef _LINUX ++#if defined(_LINUX) || defined(__FreeBSD__) + #define _XOPEN_SOURCE + #include + #include diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximagif.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximagif.cpp new file mode 100644 index 0000000000000..66fe0dc726a2d --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximagif.cpp @@ -0,0 +1,11 @@ +--- core/DesktopEditor/cximage/CxImage/ximagif.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/cximage/CxImage/ximagif.cpp +@@ -86,7 +86,7 @@ namespace NSGeneratePalette + + if ( ( X + Width ) > SrcWidth || ( Y + Height ) > SrcHeigth || NULL == pSrc ) + { +- return NULL; ++ return false; + } + + (*pImage) = new CImage8bit (); diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximainfo.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximainfo.cpp new file mode 100644 index 0000000000000..e43e4a709e59d --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximainfo.cpp @@ -0,0 +1,11 @@ +--- core/DesktopEditor/cximage/CxImage/ximainfo.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/cximage/CxImage/ximainfo.cpp +@@ -5,7 +5,7 @@ + + #include "ximage.h" + +-#if defined(_LINUX) || defined(__APPLE__) ++#if defined(_LINUX) || defined(__APPLE__) || defined(__FreeBSD__) + #ifdef UNICODE + #define _tcsnicmp(a,b,c) wcscasecmp(a,b) + #else diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajas.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajas.h new file mode 100644 index 0000000000000..19abc5808fe92 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajas.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/cximage/CxImage/ximajas.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/cximage/CxImage/ximajas.h +@@ -16,7 +16,7 @@ + + #if CXIMAGE_SUPPORT_JASPER + +-#ifdef _LINUX ++#if defined(_LINUX) || defined(__FreeBSD__) + #include + #else + #include "../jasper/include/jasper/jasper.h" diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajpg.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajpg.cpp new file mode 100644 index 0000000000000..d0db2f2dc2aae --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajpg.cpp @@ -0,0 +1,11 @@ +--- core/DesktopEditor/cximage/CxImage/ximajpg.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/cximage/CxImage/ximajpg.cpp +@@ -9,7 +9,7 @@ + + #if CXIMAGE_SUPPORT_JPG + +-#ifdef _LINUX ++#if defined(_LINUX) || defined(__FreeBSD__) + #include + #else + #include "../jpeg/jmorecfg.h" diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajpg.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajpg.h new file mode 100644 index 0000000000000..00ebc02759f24 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximajpg.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/cximage/CxImage/ximajpg.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/cximage/CxImage/ximajpg.h +@@ -29,7 +29,7 @@ + #define CXIMAGEJPG_SUPPORT_EXIF CXIMAGE_SUPPORT_EXIF + + extern "C" { +-#ifdef _LINUX ++#if defined(_LINUX) || defined(__FreeBSD__) + #include + #include + #else diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximapng.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximapng.h new file mode 100644 index 0000000000000..4ba6d62cbbff3 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximapng.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/cximage/CxImage/ximapng.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/cximage/CxImage/ximapng.h +@@ -22,7 +22,7 @@ + #if CXIMAGE_SUPPORT_PNG + + extern "C" { +-#ifdef _LINUX ++#if defined(_LINUX) || defined(__FreeBSD__) + #undef _DLL + #include + #include diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximaraw.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximaraw.cpp new file mode 100644 index 0000000000000..7031bf6c1c901 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_CxImage_ximaraw.cpp @@ -0,0 +1,11 @@ +--- core/DesktopEditor/cximage/CxImage/ximaraw.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/cximage/CxImage/ximaraw.cpp +@@ -200,7 +200,7 @@ bool CxImageRAW::Decode(CxFile *hFile) + for (c=0; c < dcr.colors; c++) ppm2[col*dcr.colors+c] = dcr.image[soff][c]; + } + if (dcr.opt.output_bps == 16 && !dcr.opt.output_tiff && htons(0x55aa) != 0x55aa) +-#if defined(_LINUX) || defined(__APPLE__) ++#if defined(_LINUX) || defined(__APPLE__) || defined(__FreeBSD__) + swab ((char*)ppm2, (char*)ppm2, dcr.width*dcr.colors*2); + #else + _swab ((char*)ppm2, (char*)ppm2, dcr.width*dcr.colors*2); diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_raw_libdcr.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_raw_libdcr.h new file mode 100644 index 0000000000000..ca503ff79dff4 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_raw_libdcr.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/cximage/raw/libdcr.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/cximage/raw/libdcr.h +@@ -50,7 +50,7 @@ + #include + #endif + +-#if defined(_LINUX) || defined(__APPLE__) ++#if defined(_LINUX) || defined(__APPLE__) || defined(__FreeBSD__) + #include + #include + #define _getcwd getcwd diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_tiff_tif__config.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_tiff_tif__config.h new file mode 100644 index 0000000000000..1a54769585bd6 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_tiff_tif__config.h @@ -0,0 +1,38 @@ +--- core/DesktopEditor/cximage/tiff/tif_config.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/cximage/tiff/tif_config.h +@@ -19,7 +19,7 @@ + #define HAVE_SYS_TYPES_H 1 + + /* Define to 1 if you have the header file. */ +-#ifndef _LINUX ++#if !defined(_LINUX) && !defined(__FreeBSD__) + #define HAVE_IO_H 1 + #endif + +@@ -35,7 +35,7 @@ + /* The size of a `long', as computed by sizeof. */ + #define SIZEOF_LONG 4 + +-#ifndef _LINUX ++#if !defined(_LINUX) && !defined(__FreeBSD__) + /* Signed 64-bit type */ + #define TIFF_INT64_T signed __int64 + +@@ -43,7 +43,7 @@ + #define TIFF_UINT64_T unsigned __int64 + #endif + +-#ifdef _LINUX ++#if defined(_LINUX) || defined(__FreeBSD__) + #include + + /* Signed 64-bit type */ +@@ -69,7 +69,7 @@ + //# endif + //#endif + +-#ifndef _LINUX ++#if !defined(_LINUX) && !defined(__FreeBSD__) + #define lfind _lfind + #endif + /* diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_tiff_tiffconf.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_tiff_tiffconf.h new file mode 100644 index 0000000000000..5d4167cc01cf2 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_cximage_tiff_tiffconf.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/cximage/tiff/tiffconf.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/cximage/tiff/tiffconf.h +@@ -33,7 +33,7 @@ + #define TIFF_UINT64_T unsigned __int64 + #endif + +-#ifdef _LINUX ++#if defined(_LINUX) || defined(__FreeBSD__) + #include + + /* Signed 64-bit type */ diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_app__builder_docbuilder.pro b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_app__builder_docbuilder.pro new file mode 100644 index 0000000000000..8208e11fc2599 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_app__builder_docbuilder.pro @@ -0,0 +1,11 @@ +--- core/DesktopEditor/doctrenderer/app_builder/docbuilder.pro.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/doctrenderer/app_builder/docbuilder.pro +@@ -44,5 +44,8 @@ ADD_DEPENDENCY(graphics, kernel, UnicodeConverter, doc + core_linux { + LIBS += -ldl + } ++core_freebsd { ++ LIBS += -liconv ++} + + SOURCES += main.cpp diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_app__builder_main.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_app__builder_main.cpp new file mode 100644 index 0000000000000..377f1dcd3dd3d --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_app__builder_main.cpp @@ -0,0 +1,11 @@ +--- core/DesktopEditor/doctrenderer/app_builder/main.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/doctrenderer/app_builder/main.cpp +@@ -34,7 +34,7 @@ + #include "../docbuilder.h" + #include "../../common/File.h" + +-#ifdef LINUX ++#if defined(LINUX) || defined(__FreeBSD__) + #include "../../../DesktopEditor/common/File.h" + #endif + diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_docbuilder__p.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_docbuilder__p.h new file mode 100644 index 0000000000000..6d50b8b60fc86 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_docbuilder__p.h @@ -0,0 +1,29 @@ +--- core/DesktopEditor/doctrenderer/docbuilder_p.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/doctrenderer/docbuilder_p.h +@@ -50,7 +50,7 @@ + #include "embed/NativeControlEmbed.h" + #include "embed/MemoryStreamEmbed.h" + #include "embed/GraphicsEmbed.h" +-#ifdef LINUX ++#if defined(LINUX) || defined(__FreeBSD__) + #include + #include + #include +@@ -536,7 +536,7 @@ namespace NSDoctRenderer + + #endif + +- #ifdef LINUX ++ #if defined(LINUX) || defined(__FreeBSD__) + pid_t pid = fork(); // create child process + int status; + +@@ -848,7 +848,7 @@ namespace NSDoctRenderer + + #endif + +- #ifdef LINUX ++ #if defined(LINUX) || defined(__FreeBSD__) + pid_t pid = fork(); // create child process + int status; + diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_doctrenderer.pro b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_doctrenderer.pro new file mode 100644 index 0000000000000..4bfecfbe14e1e --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_doctrenderer.pro @@ -0,0 +1,13 @@ +--- core/DesktopEditor/doctrenderer/doctrenderer.pro.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/doctrenderer/doctrenderer.pro +@@ -65,6 +65,10 @@ SOURCES += \ + embed/NativeControlEmbed.cpp \ + embed/NativeBuilderEmbed.cpp + ++core_freebsd { ++ LIBS += -lexecinfo ++} ++ + core_mac { + !use_v8:CONFIG += use_javascript_core + } diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_nativecontrol.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_nativecontrol.h new file mode 100644 index 0000000000000..90958a75b7e67 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_nativecontrol.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/doctrenderer/nativecontrol.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/doctrenderer/nativecontrol.h +@@ -327,7 +327,7 @@ class CNativeControl (public) + + if (m_map_access_directories.end() == m_map_access_directories.find(NSFile::GetDirectoryName(strFile))) + { +- *pData = NULL; ++ pData = NULL; + dwLen = 0; + return; + } diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_ApplicationFonts.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_ApplicationFonts.cpp new file mode 100644 index 0000000000000..db07cc23abdcb --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_ApplicationFonts.cpp @@ -0,0 +1,22 @@ +--- core/DesktopEditor/fontengine/ApplicationFonts.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/fontengine/ApplicationFonts.cpp +@@ -1596,6 +1596,8 @@ void CApplicationFonts::Initialize(bool bIsCheckSelect + + #if defined(_LINUX) && !defined(_MAC) && !defined(__ANDROID__) + m_oList.LoadFromFolder(L"/usr/share/fonts"); ++#else if defined(__FreeBSD__) ++ m_oList.LoadFromFolder(L"%%LOCALBASE%%/share/fonts"); + #endif + + #if defined(_MAC) && !defined(_IOS) +@@ -1769,6 +1771,10 @@ std::vector CApplicationFonts::GetSetupF + NSDirectory::GetFiles2(L"/usr/X11R6/lib/X11/fonts", _array, true); + NSDirectory::GetFiles2(L"/usr/local/share/fonts", _array, true); + NSDirectory::GetFiles2(L"/run/host/fonts", _array, true); ++ return _array; ++#elif defined(__FreeBSD__) ++ std::vector _array = NSDirectory::GetFiles(L"/usr/share/fonts", true); ++ NSDirectory::GetFiles2(L"%%LOCALBASE%%/share/fonts", _array, true); + return _array; + #endif + diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_MemoryStream.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_MemoryStream.h new file mode 100644 index 0000000000000..f97a26be8c06e --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_MemoryStream.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/fontengine/MemoryStream.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/fontengine/MemoryStream.h +@@ -41,7 +41,7 @@ + //#define _LOGGING_NATIVE_ + #endif + +-#ifdef _LINUX ++#if defined(_LINUX) || defined(__FreeBSD__) + #include + #endif + diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_fontconverter_MemoryUtils.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_fontconverter_MemoryUtils.h new file mode 100644 index 0000000000000..c1945427cb802 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_fontconverter_MemoryUtils.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/fontengine/fontconverter/MemoryUtils.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/fontengine/fontconverter/MemoryUtils.h +@@ -37,7 +37,7 @@ + #include + #include + +-#ifdef __linux__ ++#ifdef __linux__ || __FreeBSD__ + #include + #endif + diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_Graphics.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_Graphics.cpp new file mode 100644 index 0000000000000..e5cebc0af7f7a --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_Graphics.cpp @@ -0,0 +1,29 @@ +--- core/DesktopEditor/graphics/Graphics.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/graphics/Graphics.cpp +@@ -60,7 +60,7 @@ namespace Aggplus + m_dGlobalAlpha = 1.0; + m_bSwapRGB = false; + +-#if defined (_LINUX) || defined (_QT) ++#if defined (_LINUX) || defined (_QT) || defined(__FreeBSD__) + m_bSwapRGB = true; + #endif + +@@ -93,7 +93,7 @@ namespace Aggplus + + m_bSwapRGB = false; + +-#if defined (_LINUX) || defined (_QT) ++#if defined (_LINUX) || defined (_QT) || defined(__FreeBSD__) + m_bSwapRGB = true; + #endif + +@@ -131,7 +131,7 @@ namespace Aggplus + + m_bSwapRGB = false; + +-#if defined (_LINUX) || defined (_QT) ++#if defined (_LINUX) || defined (_QT) || defined(_FreeBSD__) + m_bSwapRGB = true; + #endif + diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_pro_graphics.pro b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_pro_graphics.pro new file mode 100644 index 0000000000000..bf511eb5fc1a5 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_pro_graphics.pro @@ -0,0 +1,14 @@ +--- core/DesktopEditor/graphics/pro/graphics.pro.orig 2021-12-18 11:22:47 UTC ++++ core/DesktopEditor/graphics/pro/graphics.pro +@@ -35,6 +35,11 @@ DEFINES += \ + + DEFINES += FT_SUPPORT_UTF8_IN_NAMES + ++core_freebsd { ++ DEFINES += HAVE_UNISTD_H HAVE_FCNTL_H ++ QMAKE_CXXFLAGS += -Wno-narrowing ++} ++ + core_linux { + DEFINES += HAVE_UNISTD_H HAVE_FCNTL_H + QMAKE_CXXFLAGS += -Wno-narrowing diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_pro_raster.pri b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_pro_raster.pri new file mode 100644 index 0000000000000..ebfba88c341d7 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_graphics_pro_raster.pri @@ -0,0 +1,15 @@ +--- core/DesktopEditor/graphics/pro/raster.pri.orig 2021-12-18 10:21:34 UTC ++++ core/DesktopEditor/graphics/pro/raster.pri +@@ -11,6 +11,12 @@ DEFINES += \ + MNG_STORE_CHUNKS\ + MNG_ERROR_TELLTALE + ++core_freebsd { ++ DEFINES += \ ++ HAVE_UNISTD_H ++ QMAKE_CXXFLAGS += -Wno-narrowing ++} ++ + core_linux { + DEFINES += \ + HAVE_UNISTD_H diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_raster_Metafile_Wmf_WmfObjects.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_raster_Metafile_Wmf_WmfObjects.h new file mode 100644 index 0000000000000..7f27cd6ed557e --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_raster_Metafile_Wmf_WmfObjects.h @@ -0,0 +1,11 @@ +--- core/DesktopEditor/raster/Metafile/Wmf/WmfObjects.h.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/raster/Metafile/Wmf/WmfObjects.h +@@ -37,7 +37,7 @@ + + #include "WmfTypes.h" + +-#ifdef __linux__ ++#ifdef __linux__ || __FreeBSD__ + #include //memset oO + #endif + namespace MetaFile diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xml_libxml2_trionan.c b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xml_libxml2_trionan.c new file mode 100644 index 0000000000000..284767c9b4635 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xml_libxml2_trionan.c @@ -0,0 +1,29 @@ +--- core/DesktopEditor/xml/libxml2/trionan.c.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/xml/libxml2/trionan.c +@@ -51,7 +51,7 @@ + # include + #endif + #if defined(TRIO_COMPILER_DECC) +-# if defined(__linux__) ++# if defined(__linux__) || defined(__FreeBSD__) + # include + # else + # include +@@ -85,7 +85,7 @@ + # error "Must be compiled with option -ieee" + # endif + # endif +-# elif defined(TRIO_COMPILER_GCC) && (defined(__osf__) || defined(__linux__)) ++# elif defined(TRIO_COMPILER_GCC) && (defined(__osf__) || defined(__linux__)) || defined(__FreeBSD__) + # error "Must be compiled with option -mieee" + # endif + #endif /* __alpha && ! _IEEE_FP */ +@@ -443,7 +443,7 @@ trio_isinf + TRIO_ARGS1((number), + double number) + { +-#if defined(TRIO_COMPILER_DECC) && !defined(__linux__) ++#if defined(TRIO_COMPILER_DECC) && !defined(__linux__) && !defined(__FreeBSD__) + /* + * DECC has an isinf() macro, but it works differently than that + * of C99, so we use the fp_class() function instead. diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xml_libxml2_xmlIO.c b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xml_libxml2_xmlIO.c new file mode 100644 index 0000000000000..59eca688cbb79 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xml_libxml2_xmlIO.c @@ -0,0 +1,11 @@ +--- core/DesktopEditor/xml/libxml2/xmlIO.c.orig 2021-12-24 14:29:10 UTC ++++ core/DesktopEditor/xml/libxml2/xmlIO.c +@@ -43,7 +43,7 @@ + #include + #include "io.h" + #endif +-#if defined(__linux__) ++#if defined(__linux__) || defined(__FreeBSD__) + #include "unistd.h" + #endif + diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xmlsec_libxmlsec.pro b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xmlsec_libxmlsec.pro new file mode 100644 index 0000000000000..aa6f18c15cc7e --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xmlsec_libxmlsec.pro @@ -0,0 +1,19 @@ +--- core/DesktopEditor/xmlsec/libxmlsec.pro.orig 2021-12-18 11:22:47 UTC ++++ core/DesktopEditor/xmlsec/libxmlsec.pro +@@ -45,6 +45,16 @@ DEFINES += \ + IN_XMLSEC \ + XMLSEC_STATIC + ++core_freebsd { ++ #CONFIG += use_gcrypt ++ #CONFIG += use_gnutls ++ #CONFIG += use_mscrypto ++ #CONFIG += use_nss ++ CONFIG += use_openssl ++ #CONFIG += use_skeleton ++ #CONFIG += use_xslt ++} ++ + core_linux { + #CONFIG += use_gcrypt + #CONFIG += use_gnutls diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xmlsec_test_OpenSSL__gui__test_OpenSSL__gui__test.pro b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xmlsec_test_OpenSSL__gui__test_OpenSSL__gui__test.pro new file mode 100644 index 0000000000000..d427bb54e110a --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_xmlsec_test_OpenSSL__gui__test_OpenSSL__gui__test.pro @@ -0,0 +1,13 @@ +--- core/DesktopEditor/xmlsec/test/OpenSSL_gui_test/OpenSSL_gui_test.pro.orig 2021-09-30 12:13:32 UTC ++++ core/DesktopEditor/xmlsec/test/OpenSSL_gui_test/OpenSSL_gui_test.pro +@@ -19,6 +19,10 @@ CORE_ROOT_DIR = $$PWD/../../../.. + PWD_ROOT_DIR = $$PWD + include($$CORE_ROOT_DIR/Common/base.pri) + ++core_freebsd { ++ QMAKE_LFLAGS += -Wl,--rpath=./ ++} ++ + core_linux { + QMAKE_LFLAGS += -Wl,--rpath=./ + QMAKE_LFLAGS += -static-libstdc++ -static-libgcc diff --git a/www/onlyoffice-documentserver/files/patch-core_DjVuFile_libdjvu_DjVuDocument.cpp b/www/onlyoffice-documentserver/files/patch-core_DjVuFile_libdjvu_DjVuDocument.cpp new file mode 100644 index 0000000000000..54666478e8a11 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DjVuFile_libdjvu_DjVuDocument.cpp @@ -0,0 +1,11 @@ +--- core/DjVuFile/libdjvu/DjVuDocument.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/DjVuFile/libdjvu/DjVuDocument.cpp +@@ -78,7 +78,7 @@ + + #include "debug.h" + +-#if defined(__linux__) || defined(LINUX) ++#if defined(__linux__) || defined(LINUX) || defined(__FreeBSD__) + typedef unsigned int UINT; + #endif + diff --git a/www/onlyoffice-documentserver/files/patch-core_HtmlFile_HtmlFile.cpp b/www/onlyoffice-documentserver/files/patch-core_HtmlFile_HtmlFile.cpp new file mode 100644 index 0000000000000..92564f172b485 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_HtmlFile_HtmlFile.cpp @@ -0,0 +1,20 @@ +--- core/HtmlFile/HtmlFile.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/HtmlFile/HtmlFile.cpp +@@ -45,7 +45,7 @@ + #include + #include + +-#ifdef LINUX ++#if defined(LINUX) || defined(__FreeBSD__) + #include + #include + #include +@@ -475,7 +475,7 @@ int CHtmlFile::Convert(const std::vector + NSFile::CFileBinary::Remove(sTempFileForParams); + #endif + +-#ifdef LINUX ++#if defined(LINUX) || defined(__FreeBSD__) + std::wstring sTempFileForParams = NSFile::CFileBinary::CreateTempFileWithUniqueName(NSFile::CFileBinary::GetTempPath(), L"XML"); + NSFile::CFileBinary oFile; + oFile.CreateFileW(sTempFileForParams); diff --git a/www/onlyoffice-documentserver/files/patch-core_HtmlFile_HtmlFile.pro b/www/onlyoffice-documentserver/files/patch-core_HtmlFile_HtmlFile.pro new file mode 100644 index 0000000000000..ed15e47677cfc --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_HtmlFile_HtmlFile.pro @@ -0,0 +1,13 @@ +--- core/HtmlFile/HtmlFile.pro.orig 2021-09-30 12:13:32 UTC ++++ core/HtmlFile/HtmlFile.pro +@@ -18,6 +18,10 @@ include(../Common/base.pri) + + ADD_DEPENDENCY(kernel, UnicodeConverter) + ++core_freebsd { ++ DEFINES += asc_static_link_libstd ++} ++ + core_linux { + DEFINES += asc_static_link_libstd + } diff --git a/www/onlyoffice-documentserver/files/patch-core_OfficeCryptReader_ooxml__crypt_ooxml__crypt.pro b/www/onlyoffice-documentserver/files/patch-core_OfficeCryptReader_ooxml__crypt_ooxml__crypt.pro new file mode 100644 index 0000000000000..83af517e44aab --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_OfficeCryptReader_ooxml__crypt_ooxml__crypt.pro @@ -0,0 +1,14 @@ +--- core/OfficeCryptReader/ooxml_crypt/ooxml_crypt.pro.orig 2021-12-18 11:22:47 UTC ++++ core/OfficeCryptReader/ooxml_crypt/ooxml_crypt.pro +@@ -50,6 +50,11 @@ core_windows { + LIBS += -lws2_32 + } + ++core_freebsd { ++ LIBS += -lz -pthread ++ QMAKE_LFLAGS += -Wl,--rpath=./ ++} ++ + core_linux { + LIBS += -lz -pthread + QMAKE_LFLAGS += -Wl,--rpath=./ diff --git a/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_OfficeUtils.pri b/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_OfficeUtils.pri new file mode 100644 index 0000000000000..a2ce17fd04921 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_OfficeUtils.pri @@ -0,0 +1,9 @@ +--- core/OfficeUtils/OfficeUtils.pri.orig 2021-12-18 10:21:34 UTC ++++ core/OfficeUtils/OfficeUtils.pri +@@ -1,3 +1,6 @@ ++core_freebsd { ++ QMAKE_CXXFLAGS += -Wall -Wno-ignored-qualifiers ++} + core_linux { + QMAKE_CXXFLAGS += -Wall -Wno-ignored-qualifiers + } diff --git a/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_contrib_minizip_miniunz.c b/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_contrib_minizip_miniunz.c new file mode 100644 index 0000000000000..f742abbfbb143 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_contrib_minizip_miniunz.c @@ -0,0 +1,11 @@ +--- core/OfficeUtils/src/zlib-1.2.11/contrib/minizip/miniunz.c.orig 2021-09-30 12:13:32 UTC ++++ core/OfficeUtils/src/zlib-1.2.11/contrib/minizip/miniunz.c +@@ -98,7 +98,7 @@ void change_file_date(filename,dosdate,tmu_date) + SetFileTime(hFile,&ftm,&ftLastAcc,&ftm); + CloseHandle(hFile); + #else +-#if defined(unix) || defined(_LINUX) || defined(__APPLE__) ++#if defined(unix) || defined(_LINUX) || defined(__APPLE__) || defined(__FreeBSD__) + struct utimbuf ut; + struct tm newdate; + newdate.tm_sec = tmu_date.tm_sec; diff --git a/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_contrib_minizip_minizip.c b/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_contrib_minizip_minizip.c new file mode 100644 index 0000000000000..3c2e3f1d4a27f --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_contrib_minizip_minizip.c @@ -0,0 +1,11 @@ +--- core/OfficeUtils/src/zlib-1.2.11/contrib/minizip/minizip.c.orig 2021-09-30 12:13:32 UTC ++++ core/OfficeUtils/src/zlib-1.2.11/contrib/minizip/minizip.c +@@ -94,7 +94,7 @@ uLong filetime(f, tmzip, dt) + return ret; + } + #else +-#if defined(unix) || defined(_LINUX) || defined(__APPLE__) ++#if defined(unix) || defined(_LINUX) || defined(__APPLE__) || defined(__FreeBSD__) + uLong filetime(f, tmzip, dt) + char *f; /* name of file to get info on */ + tm_zip *tmzip; /* return value: access, modific. and creation times */ diff --git a/www/onlyoffice-documentserver/files/patch-core_PdfWriter_PdfWriter.pro b/www/onlyoffice-documentserver/files/patch-core_PdfWriter_PdfWriter.pro new file mode 100644 index 0000000000000..1c222da9b63fc --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_PdfWriter_PdfWriter.pro @@ -0,0 +1,13 @@ +--- core/PdfWriter/PdfWriter.pro.orig 2021-12-18 11:22:47 UTC ++++ core/PdfWriter/PdfWriter.pro +@@ -22,6 +22,10 @@ LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lCryptoPPLib + + DEFINES += NOMINMAX + ++core_freebsd{ ++ DEFINES += HAVE_UNISTD_H HAVE_FCNTL_H ++ QMAKE_CXXFLAGS += -Wno-narrowing ++} + core_linux { + DEFINES += HAVE_UNISTD_H HAVE_FCNTL_H + QMAKE_CXXFLAGS += -Wno-narrowing diff --git a/www/onlyoffice-documentserver/files/patch-core_PdfWriter_Src_Types.h b/www/onlyoffice-documentserver/files/patch-core_PdfWriter_Src_Types.h new file mode 100644 index 0000000000000..c5b7896ece933 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_PdfWriter_Src_Types.h @@ -0,0 +1,11 @@ +--- core/PdfWriter/Src/Types.h.orig 2021-09-30 12:13:32 UTC ++++ core/PdfWriter/Src/Types.h +@@ -46,7 +46,7 @@ + #include + #include + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + #include + #endif + diff --git a/www/onlyoffice-documentserver/files/patch-core_Test_Applications_StandardTester_main.cpp b/www/onlyoffice-documentserver/files/patch-core_Test_Applications_StandardTester_main.cpp new file mode 100644 index 0000000000000..4cf638315983d --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Test_Applications_StandardTester_main.cpp @@ -0,0 +1,20 @@ +--- core/Test/Applications/StandardTester/main.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/Test/Applications/StandardTester/main.cpp +@@ -13,7 +13,7 @@ + + #include "../../../OfficeUtils/src/OfficeUtils.h" + +-#ifdef LINUX ++#if defined(LINUX) || defined(__FreeBSD__) + #include + #include + #include +@@ -178,7 +178,7 @@ namespace NSX2T + + #endif + +-#ifdef LINUX ++#if defined(LINUX) || defined(__FreeBSD__) + pid_t pid = fork(); // create child process + int status; + diff --git a/www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_UnicodeConverter.pro b/www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_UnicodeConverter.pro new file mode 100644 index 0000000000000..a81ffd2115af0 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_UnicodeConverter.pro @@ -0,0 +1,14 @@ +--- core/UnicodeConverter/UnicodeConverter.pro.orig 2021-09-30 12:13:32 UTC ++++ core/UnicodeConverter/UnicodeConverter.pro +@@ -15,6 +15,11 @@ include(../Common/base.pri) + DEFINES += UNICODECONVERTER_USE_DYNAMIC_LIBRARY + ADD_DEPENDENCY(kernel) + ++core_freebsd { ++ QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\'" ++ QMAKE_LFLAGS += -Wl,--disable-new-dtags ++} ++ + core_linux { + QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\'" + QMAKE_LFLAGS += -Wl,--disable-new-dtags diff --git a/www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_icubuilds-mac_icu_unicode_platform.h b/www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_icubuilds-mac_icu_unicode_platform.h new file mode 100644 index 0000000000000..d7dcbb627a2e1 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_icubuilds-mac_icu_unicode_platform.h @@ -0,0 +1,11 @@ +--- core/UnicodeConverter/icubuilds-mac/icu/unicode/platform.h.orig 2021-09-30 12:13:32 UTC ++++ core/UnicodeConverter/icubuilds-mac/icu/unicode/platform.h +@@ -150,7 +150,7 @@ + # include + #elif defined(__native_client__) + # define U_PLATFORM U_PF_BROWSER_NATIVE_CLIENT +-#elif defined(linux) || defined(__linux__) || defined(__linux) ++#elif defined(linux) || defined(__linux__) || defined(__linux) || defined(__FreeBSD__) + # define U_PLATFORM U_PF_LINUX + #elif defined(__APPLE__) && defined(__MACH__) + # include diff --git a/www/onlyoffice-documentserver/files/patch-core_X2tConverter_build_Qt_X2tConverter.pri b/www/onlyoffice-documentserver/files/patch-core_X2tConverter_build_Qt_X2tConverter.pri new file mode 100644 index 0000000000000..dcfc768f58bbc --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_X2tConverter_build_Qt_X2tConverter.pri @@ -0,0 +1,11 @@ +--- core/X2tConverter/build/Qt/X2tConverter.pri.orig 2021-09-30 12:13:32 UTC ++++ core/X2tConverter/build/Qt/X2tConverter.pri +@@ -103,5 +103,8 @@ include($$PWD/../../../Common/3dParty/boost/boost.pri) + core_windows { + LIBS += -lAdvapi32 + } ++core_freebsd { ++ LIBS += -liconv ++} + ######################################################## + diff --git a/www/onlyoffice-documentserver/files/patch-core_X2tConverter_src_ASCConverters.cpp b/www/onlyoffice-documentserver/files/patch-core_X2tConverter_src_ASCConverters.cpp new file mode 100644 index 0000000000000..64fecc4120274 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_X2tConverter_src_ASCConverters.cpp @@ -0,0 +1,20 @@ +--- core/X2tConverter/src/ASCConverters.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/X2tConverter/src/ASCConverters.cpp +@@ -4342,7 +4342,7 @@ namespace NExtractTools + { + params.m_bMacro = true; + +- _UINT32 nRes = ConvertXls2Xlsx( sFrom, sTo, params.getPassword(), params.getFontPath(), sTemp, NULL, params.m_bMacro); ++ _UINT32 nRes = ConvertXls2Xlsx( sFrom, sTo, params.getPassword(), params.getFontPath(), sTemp, 0, params.m_bMacro); + + nRes = processEncryptionError(nRes, sFrom, params); + return nRes; +@@ -4375,7 +4375,7 @@ namespace NExtractTools + NSDirectory::CreateDirectory(sResultXlsxDir); + + params.m_bMacro = true; +- _UINT32 nRes = ConvertXls2Xlsx( sFrom, sResultXlsxDir, params.getPassword(), params.getFontPath(), sTemp, NULL, params.m_bMacro); ++ _UINT32 nRes = ConvertXls2Xlsx( sFrom, sResultXlsxDir, params.getPassword(), params.getFontPath(), sTemp, 0, params.m_bMacro); + + nRes = processEncryptionError(nRes, sFrom, params); + if (SUCCEEDED_X2T(nRes)) diff --git a/www/onlyoffice-documentserver/files/patch-core_X2tConverter_test_batch__convert_x2t__test_mainwindow.cpp b/www/onlyoffice-documentserver/files/patch-core_X2tConverter_test_batch__convert_x2t__test_mainwindow.cpp new file mode 100644 index 0000000000000..74ee622781a6c --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_X2tConverter_test_batch__convert_x2t__test_mainwindow.cpp @@ -0,0 +1,20 @@ +--- core/X2tConverter/test/batch_convert/x2t_test/mainwindow.cpp.orig 2021-09-30 12:13:32 UTC ++++ core/X2tConverter/test/batch_convert/x2t_test/mainwindow.cpp +@@ -85,7 +85,7 @@ class CDirectoryParse : public NSThreads::CBaseThread + CApplicationFonts oApplication; + std::vector strFontsW_Cur = oApplication.GetSetupFontFiles(); + +-#if defined(_LINUX) ++#if defined(_LINUX) || defined(__FreeBSD__) + std::wstring sHome = GetHomeDirectory(); + if (!sHome.empty()) + { +@@ -767,7 +767,7 @@ class CConverter : public NSThreads::CBaseThread (publ + + #endif + +-#ifdef LINUX ++#if defined(LINUX) || defined(__FreeBSD__) + pid_t pid = fork(); // create child process + int status; + diff --git a/www/onlyoffice-documentserver/files/patch-document-server-package_Makefile b/www/onlyoffice-documentserver/files/patch-document-server-package_Makefile new file mode 100644 index 0000000000000..b10c92599df0b --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-document-server-package_Makefile @@ -0,0 +1,197 @@ +--- document-server-package/Makefile.orig 2021-09-28 10:03:34 UTC ++++ document-server-package/Makefile +@@ -134,6 +134,21 @@ else + DS_EXAMLE := /var/www/$(DS_PREFIX)-example + DEV_NULL := /dev/null + endif ++ ifeq ($(UNAME_S),FreeBSD) ++ PLATFORM := freebsd ++ SHARED_EXT := .so* ++ SHELL_EXT := .sh ++ ARCH_EXT := .zip ++ AR := 7z a -y ++ PACKAGES = tar ++ DS_PREFIX := $(COMPANY_NAME_LOW)/$(PRODUCT_SHORT_NAME_LOW) ++ NGINX_CONF := /usr/local/etc/nginx/includes ++ NGINX_LOG := /var/log/$(DS_PREFIX) ++ DS_ROOT := /usr/local/www/$(DS_PREFIX) ++ DS_FILES := /var/db/$(DS_PREFIX) ++ DS_EXAMLE := /usr/local/www/$(DS_PREFIX)-example ++ DEV_NULL := /dev/null ++ endif + ifeq ($(UNAME_S),Darwin) + PLATFORM := mac + SHARED_EXT := .dylib +@@ -152,6 +167,12 @@ else + ifeq ($(UNAME_P),x86_64) + ARCHITECTURE := 64 + endif ++ ifeq ($(UNAME_P),amd64) ++ ARCHITECTURE := 64 ++ endif ++ ifeq ($(UNAME_P),aarch64) ++ ARCHITECTURE := 64 ++ endif + ifneq ($(filter %86,$(UNAME_P)),) + ARCHITECTURE := 32 + endif +@@ -293,7 +314,7 @@ clean: + + documentserver: + mkdir -p $(DOCUMENTSERVER_FILES) +- cp -rf -t $(DOCUMENTSERVER) ../build_tools/out/$(TARGET)/$(COMPANY_NAME_LOW)/$(PRODUCT_SHORT_NAME_LOW)/* ++ cp -rf ../build_tools/out/$(TARGET)/$(COMPANY_NAME_LOW)/$(PRODUCT_SHORT_NAME_LOW)/* $(DOCUMENTSERVER) + + mkdir -p $(DOCUMENTSERVER_CONFIG) + mkdir -p $(DOCUMENTSERVER_CONFIG)/log4js +@@ -302,25 +323,25 @@ documentserver: + mv -f $(DOCUMENTSERVER)/server/Common/config/log4js/*.json $(DOCUMENTSERVER_CONFIG)/log4js/ + + # rename product specific folders +- sed "s|onlyoffice\/documentserver|"$(DS_PREFIX)"|" -i $(DOCUMENTSERVER_CONFIG)/*.json ++ sed -i '' "s|onlyoffice\/documentserver|"$(DS_PREFIX)"|" $(DOCUMENTSERVER_CONFIG)/*.json + + # rename db account params +- sed 's|\("db.*": "\)onlyoffice\("\)|\1'$(ONLYOFFICE_VALUE)'\2|' -i $(DOCUMENTSERVER_CONFIG)/*.json ++ sed -i '' 's|\("db.*": "\)onlyoffice\("\)|\1'$(ONLYOFFICE_VALUE)'\2|' $(DOCUMENTSERVER_CONFIG)/*.json + + # rename db schema name +- sed 's|onlyoffice|'$(ONLYOFFICE_VALUE)'|' -i $(DOCUMENTSERVER)/server/schema/**/*.sql ++ sed -i '' 's|onlyoffice|'$(ONLYOFFICE_VALUE)'|' $(DOCUMENTSERVER)/server/schema/**/*.sql + + # ignore CREATE DATABASE commands in MySQL +- sed -r "s/^(CREATE DATABASE|USE)/-- \1/" -i $(DOCUMENTSERVER)/server/schema/mysql/*.sql ++ sed -i '' -r "s/^(CREATE DATABASE|USE)/-- \1/" $(DOCUMENTSERVER)/server/schema/mysql/*.sql + + # rename product in license +- sed 's|ONLYOFFICE|'$(COMPANY_NAME)'|' -i $(DOCUMENTSERVER)/server/3rd-Party.txt +- sed 's|DocumentServer|'$(PRODUCT_NAME)'|' -i $(DOCUMENTSERVER)/server/3rd-Party.txt ++ sed -i '' 's|ONLYOFFICE|'$(COMPANY_NAME)'|' $(DOCUMENTSERVER)/server/3rd-Party.txt ++ sed -i '' 's|DocumentServer|'$(PRODUCT_NAME)'|' $(DOCUMENTSERVER)/server/3rd-Party.txt + + # Prevent for modification original config + chmod ug=r $(DOCUMENTSERVER_CONFIG)/*.json + +- cp -fr -t $(DOCUMENTSERVER) $(3RD_PARTY_LICENSE_FILES) ++ cp -fr $(3RD_PARTY_LICENSE_FILES) $(DOCUMENTSERVER) + rm -fr $(3RD_PARTY_LICENSE_FILES) + + ifeq ($(PLATFORM),win) +@@ -329,33 +350,33 @@ ifeq ($(PLATFORM),win) + cat exe/license/3rd-Party.txt ; >> $(DOCUMENTSERVER)/3rd-Party.txt + endif + +- [ -f $(LICENSE_FILE) ] && cp -fr -t $(DOCUMENTSERVER) $(LICENSE_FILE) || true ++ [ -f $(LICENSE_FILE) ] && cp -fr $(LICENSE_FILE) $(DOCUMENTSERVER) || true + + chmod u+x $(DOCUMENTSERVER)/server/FileConverter/bin/x2t$(EXEC_EXT) + #chmod u+x $(DOCUMENTSERVER)/server/FileConverter/bin/docbuilder$(EXEC_EXT) + [ -f $(HTMLFILEINTERNAL)$(EXEC_EXT) ] && chmod u+x $(HTMLFILEINTERNAL)$(EXEC_EXT) || true + chmod u+x $(DOCUMENTSERVER)/server/tools/allfontsgen$(EXEC_EXT) + +- sed "s|\(_dc=\)0|\1"$(PACKAGE_VERSION)"|" -i $(DOCUMENTSERVER)/web-apps/apps/api/documents/api.js ++ sed -i '' "s|\(_dc=\)0|\1"$(PACKAGE_VERSION)"|" $(DOCUMENTSERVER)/web-apps/apps/api/documents/api.js + + ifeq ($(PRODUCT_NAME_LOW), documentserver) +- sed 's|\("packageType": \)[0-9]\+\(.*\)|\10\2|' -i $(DOCUMENTSERVER_CONFIG)/*.json +- sed 's|\("editorDataStorage": "\).\+\(".*\)|\1editorDataMemory\2|' -i $(DOCUMENTSERVER_CONFIG)/*.json ++ sed -i '' 's|\("packageType": \)[0-9]\+\(.*\)|\10\2|' $(DOCUMENTSERVER_CONFIG)/*.json ++ sed -i '' 's|\("editorDataStorage": "\).\+\(".*\)|\1editorDataMemory\2|' $(DOCUMENTSERVER_CONFIG)/*.json + endif + + ifeq ($(PRODUCT_NAME_LOW), $(filter $(PRODUCT_NAME_LOW),documentserver-ee documentserver-ie)) +- sed 's|\("packageType": \)[0-9]\+\(.*\)|\11\2|' -i $(DOCUMENTSERVER_CONFIG)/*.json +- sed 's|\("editorDataStorage": "\).\+\(".*\)|\1editorDataRedis\2|' -i $(DOCUMENTSERVER_CONFIG)/*.json ++ sed -i '' 's|\("packageType": \)[0-9]\+\(.*\)|\11\2|' $(DOCUMENTSERVER_CONFIG)/*.json ++ sed -i '' 's|\("editorDataStorage": "\).\+\(".*\)|\1editorDataRedis\2|' $(DOCUMENTSERVER_CONFIG)/*.json + endif + + ifeq ($(PRODUCT_NAME_LOW), documentserver-de) +- sed 's|\("packageType": \)[0-9]\+\(.*\)|\12\2|' -i $(DOCUMENTSERVER_CONFIG)/*.json +- sed 's|\("editorDataStorage": "\).\+\(".*\)|\1editorDataRedis\2|' -i $(DOCUMENTSERVER_CONFIG)/*.json ++ sed -i '' 's|\("packageType": \)[0-9]\+\(.*\)|\12\2|' $(DOCUMENTSERVER_CONFIG)/*.json ++ sed -i '' 's|\("editorDataStorage": "\).\+\(".*\)|\1editorDataRedis\2|' $(DOCUMENTSERVER_CONFIG)/*.json + endif + + cd $(DOCUMENTSERVER)/npm && \ + npm install && \ +- pkg ./node_modules/json -o json ++ env PKG_CACHE_PATH=%%WRKDIR%%/.pkg-cache "%%WRKSRC%%/server/node_modules/.bin/pkg" ./node_modules/json -o json + + ifeq ($(PLATFORM),win) + cd $(DOCUMENTSERVER)/npm && \ +@@ -369,7 +390,7 @@ endif + + documentserver-example: + mkdir -p $(DOCUMENTSERVER_EXAMPLE) +- cp -rf -t $(DOCUMENTSERVER_EXAMPLE) ../build_tools/out/$(TARGET)/$(COMPANY_NAME_LOW)/$(PRODUCT_SHORT_NAME_LOW)-example/* common/documentserver-example/welcome ++ cp -rf ../build_tools/out/$(TARGET)/$(COMPANY_NAME_LOW)/$(PRODUCT_SHORT_NAME_LOW)-example/* common/documentserver-example/welcome $(DOCUMENTSERVER_EXAMPLE) + + mkdir -p $(DOCUMENTSERVER_EXAMPLE_CONFIG) + +@@ -378,7 +399,7 @@ documentserver-example: + # Prevent for modification original config + chmod ug=r $(DOCUMENTSERVER_EXAMPLE_CONFIG)/*.json + +- sed "s|{{OFFICIAL_PRODUCT_NAME}}|"$(OFFICIAL_PRODUCT_NAME)"|" -i $(DOCUMENTSERVER_EXAMPLE)/welcome/*.html ++ sed -i '' "s|{{OFFICIAL_PRODUCT_NAME}}|"$(OFFICIAL_PRODUCT_NAME)"|" $(DOCUMENTSERVER_EXAMPLE)/welcome/*.html + + echo "Done" > $@ + +@@ -394,27 +415,27 @@ rpm/$(PACKAGE_NAME).spec : rpm/package.spec + exe/$(PACKAGE_NAME).iss : exe/package.iss + mv -f $< $@ + +-%.rpm: +- mkdir -p $(@D) ++#%.rpm: ++# mkdir -p $(@D) ++# ++# cd $(@D)/../../.. && rpmbuild \ ++# -bb \ ++# --define '_topdir $(@D)/../../../builddir' \ ++# --define '_package_name $(PACKAGE_NAME)' \ ++# --define '_product_version $(PRODUCT_VERSION)' \ ++# --define '_build_number $(BUILD_NUMBER)' \ ++# --define '_company_name $(COMPANY_NAME)' \ ++# --define '_product_name $(PRODUCT_NAME)' \ ++# --define '_publisher_name $(PUBLISHER_NAME)' \ ++# --define '_publisher_url $(PUBLISHER_URL)' \ ++# --define '_support_url $(SUPPORT_URL)' \ ++# --define '_support_mail $(SUPPORT_MAIL)' \ ++# --define '_company_name_low $(COMPANY_NAME_LOW)' \ ++# --define '_product_name_low $(PRODUCT_NAME_LOW)' \ ++# --define '_ds_prefix $(DS_PREFIX)' \ ++# --define '_binary_payload w7.xzdio' \ ++# $(PACKAGE_NAME).spec + +- cd $(@D)/../../.. && rpmbuild \ +- -bb \ +- --define '_topdir $(@D)/../../../builddir' \ +- --define '_package_name $(PACKAGE_NAME)' \ +- --define '_product_version $(PRODUCT_VERSION)' \ +- --define '_build_number $(BUILD_NUMBER)' \ +- --define '_company_name $(COMPANY_NAME)' \ +- --define '_product_name $(PRODUCT_NAME)' \ +- --define '_publisher_name $(PUBLISHER_NAME)' \ +- --define '_publisher_url $(PUBLISHER_URL)' \ +- --define '_support_url $(SUPPORT_URL)' \ +- --define '_support_mail $(SUPPORT_MAIL)' \ +- --define '_company_name_low $(COMPANY_NAME_LOW)' \ +- --define '_product_name_low $(PRODUCT_NAME_LOW)' \ +- --define '_ds_prefix $(DS_PREFIX)' \ +- --define '_binary_payload w7.xzdio' \ +- $(PACKAGE_NAME).spec +- + ifeq ($(COMPANY_NAME_LOW),onlyoffice) + M4_PARAMS += -D M4_DS_EXAMPLE_ENABLE=1 + endif +@@ -439,6 +460,8 @@ deb/debian/$(PACKAGE_NAME).links : deb/debian/package. + + %.exe: + cd $(@D) && $(ISCC) $(ISCC_PARAMS) $(PACKAGE_NAME).iss ++ ++freebsd: $(COMMON_DEPS) $(LINUX_DEPS) documentserver + + $(DEB): $(DEB_DEPS) $(COMMON_DEPS) $(LINUX_DEPS) documentserver documentserver-example + cd deb && dpkg-buildpackage -b -uc -us --changes-option=-u. diff --git a/www/onlyoffice-documentserver/files/patch-server_package.json b/www/onlyoffice-documentserver/files/patch-server_package.json new file mode 100644 index 0000000000000..411f113cdbef6 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-server_package.json @@ -0,0 +1,36 @@ +--- server/package.json.orig 2021-09-28 08:06:55 UTC ++++ server/package.json +@@ -9,7 +9,7 @@ + "expand": true, + "src": [ + "./**/sources/*.js", +- "./Common/package.json", ++ "./Common/*.json", + "./DocService/package.json", + "./DocService/public/healthcheck.docx", + "./FileConverter/package.json", +@@ -34,6 +34,7 @@ + "mkdir": { + "server": { + "options": { ++ "mode": "0755", + "create": [ + "./build/server" + ] +@@ -54,12 +55,14 @@ + "./build/server/Metrics" + ], + "dependencies": { +- "grunt": "^1.3.0", ++ "grunt": "^1.4.1", + "grunt-banner": "^0.6.0", + "grunt-check-dependencies": "^1.0.0", ++ "grunt-cli": "^1.4.3", + "grunt-contrib-clean": "^2.0.0", + "grunt-contrib-copy": "^1.0.0", ++ "grunt-mkdir": "^1.0.0", + "grunt-stripcomments": "^0.7.2", +- "grunt-mkdir": "^1.0.0" ++ "pkg": "^5.5.1" + } + } diff --git a/www/onlyoffice-documentserver/files/patch-web-apps_build_Gruntfile.js b/www/onlyoffice-documentserver/files/patch-web-apps_build_Gruntfile.js new file mode 100644 index 0000000000000..7bfb852928483 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-web-apps_build_Gruntfile.js @@ -0,0 +1,20 @@ +--- web-apps/build/Gruntfile.js.orig 2021-12-12 18:46:22 UTC ++++ web-apps/build/Gruntfile.js +@@ -192,17 +192,6 @@ module.exports = function(grunt) { + } + + grunt.initConfig({ +- mocha: { +- test: { +- options: { +- reporter: 'Spec' +- }, +- src: [ +- '../test/common/index.html' +- ] +- } +- }, +- + jshint: { + options: { + curly: true, diff --git a/www/onlyoffice-documentserver/files/patch-web-apps_build_package.json b/www/onlyoffice-documentserver/files/patch-web-apps_build_package.json new file mode 100644 index 0000000000000..dd4307fbe05c7 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-web-apps_build_package.json @@ -0,0 +1,14 @@ +--- web-apps/build/package.json.orig 2021-12-12 18:45:10 UTC ++++ web-apps/build/package.json +@@ -28,7 +28,9 @@ + }, + "devDependencies": { + "chai": "1.9.1", +- "mocha": "^6.2.2", +- "grunt-mocha": "^1.0.0" ++ "mocha": "^6.2.2" ++ }, ++ "scripts": { ++ "postinstall": "patch-package" + } + } diff --git a/www/onlyoffice-documentserver/files/patch-web-apps_build_patches_optipng-bin b/www/onlyoffice-documentserver/files/patch-web-apps_build_patches_optipng-bin new file mode 100644 index 0000000000000..bdf6acd188c9d --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-web-apps_build_patches_optipng-bin @@ -0,0 +1,18 @@ +--- web-apps/build/patches/optipng-bin+5.1.0.patch.orig 2022-01-07 14:58:52 UTC ++++ web-apps/build/patches/optipng-bin+5.1.0.patch +@@ -0,0 +1,15 @@ ++diff --git a/node_modules/optipng-bin/lib/install.js b/node_modules/optipng-bin/lib/install.js ++index 2d1db3a..643f075 100644 ++--- a/node_modules/optipng-bin/lib/install.js +++++ b/node_modules/optipng-bin/lib/install.js ++@@ -10,8 +10,8 @@ bin.run(['--version']).then(() => { ++ log.warn('optipng pre-build test failed'); ++ log.info('compiling from source'); ++ ++- binBuild.url('https://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.7/optipng-0.7.7.tar.gz', [ ++- `./configure --with-system-zlib --prefix="${bin.dest()}" --bindir="${bin.dest()}"`, +++ binBuild.file('%%DISTDIR%%/optipng-0.7.7.tar.gz', [ +++ `./configure --with-system-zlib --with-system-libpng --prefix="${bin.dest()}" --bindir="${bin.dest()}"`, ++ 'make install' ++ ]).then(() => { ++ log.success('optipng built successfully'); diff --git a/www/onlyoffice-documentserver/files/pkg-message.in b/www/onlyoffice-documentserver/files/pkg-message.in new file mode 100644 index 0000000000000..5e639fc9e1f1e --- /dev/null +++ b/www/onlyoffice-documentserver/files/pkg-message.in @@ -0,0 +1,66 @@ +[ +{ type: install + message: <> ${WRKSRC}/build/config/gclient_args.gni + +${TAR} -cf v8-${V8_VERS}_all.tar.gz v8