rubyfox-server 2.16.3.2 → 2.17.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubyfox/server/data/config/admin/admintool.xml +0 -0
- data/lib/rubyfox/server/data/config/admin/descriptors/config_room.txt +0 -0
- data/lib/rubyfox/server/data/config/admin/descriptors/config_server.txt +0 -0
- data/lib/rubyfox/server/data/config/admin/descriptors/config_zone.txt +0 -0
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_game.txt +0 -0
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_mmo.txt +0 -0
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_room.txt +0 -0
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_user.txt +0 -0
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_zone.txt +0 -0
- data/lib/rubyfox/server/data/config/admin/gmc/gmc.py +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/Analytics.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/Analytics.svg +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/BanManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/BanManager.svg +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/BlueBoxMonitor.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/BlueBoxMonitor.svg +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/Console.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/Console.svg +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/Dashboard.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/Dashboard.svg +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ExtensionManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ExtensionManager.svg +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/LicenseManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/LicenseManager.svg +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/LogViewer.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/LogViewer.svg +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ServerConfigurator.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ServerConfigurator.svg +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ServletManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ServletManager.svg +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ZoneConfigurator.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ZoneConfigurator.svg +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ZoneMonitor.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ZoneMonitor.svg +0 -0
- data/lib/rubyfox/server/data/config/logParser.properties +17 -28
- data/lib/rubyfox/server/data/lib/BlueBox.war +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/NOTICE +1 -1
- data/lib/rubyfox/server/data/lib/apache-tomcat/README.md +2 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/RELEASE-NOTES +2 -2
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/bootstrap.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/catalina.bat +2 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/catalina.sh +2 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/commons-daemon-native.tar.gz +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/commons-daemon.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tomcat-juli.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tomcat-native.tar.gz +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/catalina.policy +6 -1
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/catalina.properties +1 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/keystore.jks +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/annotations-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-ant.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-ha.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-ssi.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-storeconfig.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-tribes.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/ecj-4.20.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/el-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jasper-el.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jasper.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jaspic-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jsp-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/servlet-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-coyote.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-dbcp.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-cs.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-de.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-es.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-fr.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ja.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ko.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-pt-BR.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ru.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-zh-CN.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-jdbc.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-jni.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-util-scan.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-util.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-websocket.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/websocket-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/commons-compress-1.19.jar +0 -0
- data/lib/rubyfox/server/data/lib/sfs2x.jar +0 -0
- data/lib/rubyfox/server/data/sfs2x-service +294 -159
- data/lib/rubyfox/server/data/sfs2x.sh +1 -1
- data/lib/rubyfox/server/data/www/BlueBox.war +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/_changes-to-default-themes_.txt +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/bootstrap.min.css +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/custom-bootstrap.min.css +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/css/all.min.css +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.eot +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.svg +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.eot +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.svg +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.eot +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.svg +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fonts.css +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/jquery.scrolling-tabs.min.css +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/kendo.custom-bootstrap-v4.css +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/reset.css +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/style.css +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/data/countries.geo.json +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.otf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300italic.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300italic.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300italic.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600italic.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600italic.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600italic.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700italic.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700italic.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700italic.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800italic.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800italic.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800italic.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-italic.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-italic.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-italic.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-regular.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-regular.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-regular.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-300.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-300.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-300.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-700.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-700.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-700.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/compare.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsChart.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsCompare.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsFilter.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsMap.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsTable.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyChart.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyCompare.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyFilter.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyTable.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/apple-touch-icon-180x180.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/favicon-16x16.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/favicon-32x32.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/favicon-64x64.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/logo.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/application.bundle.js +4 -3
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-0.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-1.bundle.js +96 -4
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-10.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-11.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-12.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-12~module-13~module-9.bundle.js +15 -2
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-13.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-3.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-4.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-5.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-6.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-7.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-8.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-9.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-0.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-0~module-1~module-13~module-4~module-5~module-7~module-8.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-1.bundle.js +983 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-9.bundle.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/bootstrap.min.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/jquery-3.3.1.min.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/jquery.scrolling-tabs.min.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/js.cookie.min.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/kendo.all.min.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/popper.min.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/sfs2x-api-1.7.15.js +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/versions-readme.txt +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/index.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/manifest.json +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/analytics.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/ban-manager.html +6 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/blue-box-monitor.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/console.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/dashboard.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/extension-manager.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/license-manager.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/log-viewer.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/server-configurator.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/servlet-manager.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/template.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/zone-configurator.html +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/zone-monitor.html +0 -0
- data/lib/rubyfox/server/version.rb +1 -1
- metadata +4 -3
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/ecj-4.17.jar +0 -0
@@ -3,8 +3,8 @@
|
|
3
3
|
# description: sfs2x-service
|
4
4
|
### BEGIN INIT INFO
|
5
5
|
# Provides: sfs2x-service
|
6
|
-
# Required-Start: $
|
7
|
-
# Required-Stop: $
|
6
|
+
# Required-Start: $local_fs $network $remote_fs $syslog $time
|
7
|
+
# Required-Stop: $local_fs $network $remote_fs $syslog $time
|
8
8
|
# Default-Start: 2 3 4 5
|
9
9
|
# Default-Stop: 0 1 6
|
10
10
|
# Short-Description: sfs2x-service
|
@@ -19,20 +19,25 @@
|
|
19
19
|
INSTALL4J_JAVA_PREFIX=""
|
20
20
|
GREP_OPTIONS=""
|
21
21
|
|
22
|
+
fill_version_numbers() {
|
23
|
+
if [ "$ver_major" = "" ]; then
|
24
|
+
ver_major=0
|
25
|
+
fi
|
26
|
+
if [ "$ver_minor" = "" ]; then
|
27
|
+
ver_minor=0
|
28
|
+
fi
|
29
|
+
if [ "$ver_micro" = "" ]; then
|
30
|
+
ver_micro=0
|
31
|
+
fi
|
32
|
+
if [ "$ver_patch" = "" ]; then
|
33
|
+
ver_patch=0
|
34
|
+
fi
|
35
|
+
}
|
36
|
+
|
22
37
|
read_db_entry() {
|
23
38
|
if [ -n "$INSTALL4J_NO_DB" ]; then
|
24
39
|
return 1
|
25
40
|
fi
|
26
|
-
db_home=$HOME
|
27
|
-
db_file_suffix=
|
28
|
-
if [ ! -w "$db_home" ]; then
|
29
|
-
db_home=/tmp
|
30
|
-
db_file_suffix=_$USER
|
31
|
-
fi
|
32
|
-
db_file=$db_home/.install4j$db_file_suffix
|
33
|
-
if [ -d "$db_file" ] || ([ -f "$db_file" ] && [ ! -r "$db_file" ]) || ([ -f "$db_file" ] && [ ! -w "$db_file" ]); then
|
34
|
-
db_file=$db_home/.install4j_jre$db_file_suffix
|
35
|
-
fi
|
36
41
|
if [ ! -f "$db_file" ]; then
|
37
42
|
return 1
|
38
43
|
fi
|
@@ -48,14 +53,19 @@ read_db_entry() {
|
|
48
53
|
ver_minor=$r_ver_minor
|
49
54
|
ver_micro=$r_ver_micro
|
50
55
|
ver_patch=$r_ver_patch
|
56
|
+
fill_version_numbers
|
51
57
|
fi
|
52
58
|
elif [ "$r_type" = "JRE_INFO" ]; then
|
53
59
|
if [ "$r_dir" = "$test_dir" ]; then
|
54
60
|
is_openjdk=$r_ver_major
|
55
|
-
|
56
|
-
|
61
|
+
is_64bit=$r_ver_micro
|
62
|
+
if [ "W$r_ver_minor" = "W$modification_date" ] && [ "W$is_64bit" != "W" ]; then
|
63
|
+
found=0
|
64
|
+
break
|
65
|
+
fi
|
57
66
|
fi
|
58
67
|
fi
|
68
|
+
r_ver_micro=""
|
59
69
|
done
|
60
70
|
exec 7<&-
|
61
71
|
|
@@ -64,32 +74,36 @@ read_db_entry() {
|
|
64
74
|
|
65
75
|
create_db_entry() {
|
66
76
|
tested_jvm=true
|
67
|
-
echo testing JVM in $test_dir ...
|
68
77
|
version_output=`"$bin_dir/java" $1 -version 2>&1`
|
69
78
|
is_gcj=`expr "$version_output" : '.*gcj'`
|
70
|
-
|
79
|
+
is_64bit=`expr "$version_output" : '.*64-Bit\|.*amd64'`
|
71
80
|
if [ "$is_gcj" = "0" ]; then
|
72
81
|
java_version=`expr "$version_output" : '.*"\(.*\)".*'`
|
73
|
-
ver_major=`expr "$java_version" : '\([0-9][0-9]*\)
|
74
|
-
ver_minor=`expr "$java_version" : '[0-9][0-9]*\.\([0-9][0-9]*\)
|
82
|
+
ver_major=`expr "$java_version" : '\([0-9][0-9]*\).*'`
|
83
|
+
ver_minor=`expr "$java_version" : '[0-9][0-9]*\.\([0-9][0-9]*\).*'`
|
75
84
|
ver_micro=`expr "$java_version" : '[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\).*'`
|
76
85
|
ver_patch=`expr "$java_version" : '[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*[\._]\([0-9][0-9]*\).*'`
|
77
86
|
fi
|
78
|
-
|
79
|
-
ver_patch=0
|
80
|
-
fi
|
87
|
+
fill_version_numbers
|
81
88
|
if [ -n "$INSTALL4J_NO_DB" ]; then
|
82
89
|
return
|
83
90
|
fi
|
84
91
|
db_new_file=${db_file}_new
|
85
92
|
if [ -f "$db_file" ]; then
|
86
|
-
awk '$
|
87
|
-
rm $db_file
|
88
|
-
mv $db_new_file $db_file
|
93
|
+
awk '$2 != "'"$test_dir"'" {print $0}' $db_file > $db_new_file
|
94
|
+
rm "$db_file"
|
95
|
+
mv "$db_new_file" "$db_file"
|
89
96
|
fi
|
90
97
|
dir_escaped=`echo "$test_dir" | sed -e 's/ /\\\\ /g'`
|
91
98
|
echo "JRE_VERSION $dir_escaped $ver_major $ver_minor $ver_micro $ver_patch" >> $db_file
|
92
|
-
echo "JRE_INFO $dir_escaped $is_openjdk" >> $db_file
|
99
|
+
echo "JRE_INFO $dir_escaped $is_openjdk $modification_date $is_64bit" >> $db_file
|
100
|
+
chmod g+w $db_file
|
101
|
+
}
|
102
|
+
|
103
|
+
check_date_output() {
|
104
|
+
if [ -n "$date_output" -a $date_output -eq $date_output 2> /dev/null ]; then
|
105
|
+
modification_date=$date_output
|
106
|
+
fi
|
93
107
|
}
|
94
108
|
|
95
109
|
test_jvm() {
|
@@ -101,6 +115,33 @@ test_jvm() {
|
|
101
115
|
return
|
102
116
|
fi
|
103
117
|
|
118
|
+
modification_date=0
|
119
|
+
date_output=`date -r "$java_exc" "+%s" 2>/dev/null`
|
120
|
+
if [ $? -eq 0 ]; then
|
121
|
+
check_date_output
|
122
|
+
fi
|
123
|
+
if [ $modification_date -eq 0 ]; then
|
124
|
+
stat_path=`command -v stat 2> /dev/null`
|
125
|
+
if [ "$?" -ne "0" ] || [ "W$stat_path" = "W" ]; then
|
126
|
+
stat_path=`which stat 2> /dev/null`
|
127
|
+
if [ "$?" -ne "0" ]; then
|
128
|
+
stat_path=""
|
129
|
+
fi
|
130
|
+
fi
|
131
|
+
if [ -f "$stat_path" ]; then
|
132
|
+
date_output=`stat -f "%m" "$java_exc" 2>/dev/null`
|
133
|
+
if [ $? -eq 0 ]; then
|
134
|
+
check_date_output
|
135
|
+
fi
|
136
|
+
if [ $modification_date -eq 0 ]; then
|
137
|
+
date_output=`stat -c "%Y" "$java_exc" 2>/dev/null`
|
138
|
+
if [ $? -eq 0 ]; then
|
139
|
+
check_date_output
|
140
|
+
fi
|
141
|
+
fi
|
142
|
+
fi
|
143
|
+
fi
|
144
|
+
|
104
145
|
tested_jvm=false
|
105
146
|
read_db_entry || create_db_entry $2
|
106
147
|
|
@@ -123,42 +164,8 @@ test_jvm() {
|
|
123
164
|
|
124
165
|
add_class_path() {
|
125
166
|
if [ -n "$1" ] && [ `expr "$1" : '.*\*'` -eq "0" ]; then
|
126
|
-
local_classpath="$local_classpath${local_classpath:+:}$1"
|
127
|
-
fi
|
128
|
-
}
|
129
|
-
|
130
|
-
compiz_workaround() {
|
131
|
-
if [ "$is_openjdk" != "0" ]; then
|
132
|
-
return;
|
133
|
-
fi
|
134
|
-
if [ "$ver_major" = "" ]; then
|
135
|
-
return;
|
136
|
-
fi
|
137
|
-
if [ "$ver_major" -gt "1" ]; then
|
138
|
-
return;
|
139
|
-
elif [ "$ver_major" -eq "1" ]; then
|
140
|
-
if [ "$ver_minor" -gt "6" ]; then
|
141
|
-
return;
|
142
|
-
elif [ "$ver_minor" -eq "6" ]; then
|
143
|
-
if [ "$ver_micro" -gt "0" ]; then
|
144
|
-
return;
|
145
|
-
elif [ "$ver_micro" -eq "0" ]; then
|
146
|
-
if [ "$ver_patch" -gt "09" ]; then
|
147
|
-
return;
|
148
|
-
fi
|
149
|
-
fi
|
150
|
-
fi
|
151
|
-
fi
|
152
|
-
|
153
|
-
|
154
|
-
osname=`uname -s`
|
155
|
-
if [ "$osname" = "Linux" ]; then
|
156
|
-
compiz=`ps -ef | grep -v grep | grep compiz`
|
157
|
-
if [ -n "$compiz" ]; then
|
158
|
-
export AWT_TOOLKIT=MToolkit
|
159
|
-
fi
|
167
|
+
local_classpath="$local_classpath${local_classpath:+:}${1}${2}"
|
160
168
|
fi
|
161
|
-
|
162
169
|
}
|
163
170
|
|
164
171
|
|
@@ -176,31 +183,55 @@ read_vmoptions() {
|
|
176
183
|
vmo_classpath_a=`expr "W$cur_option" : 'W *-classpath/a \(.*\)'`
|
177
184
|
vmo_classpath_p=`expr "W$cur_option" : 'W *-classpath/p \(.*\)'`
|
178
185
|
vmo_include=`expr "W$cur_option" : 'W *-include-options \(.*\)'`
|
186
|
+
if [ ! "W$vmo_include" = "W" ]; then
|
187
|
+
if [ "W$vmo_include_1" = "W" ]; then
|
188
|
+
vmo_include_1="$vmo_include"
|
189
|
+
elif [ "W$vmo_include_2" = "W" ]; then
|
190
|
+
vmo_include_2="$vmo_include"
|
191
|
+
elif [ "W$vmo_include_3" = "W" ]; then
|
192
|
+
vmo_include_3="$vmo_include"
|
193
|
+
fi
|
194
|
+
fi
|
179
195
|
if [ ! "$vmo_classpath" = "" ]; then
|
180
196
|
local_classpath="$i4j_classpath:$vmo_classpath"
|
181
197
|
elif [ ! "$vmo_classpath_a" = "" ]; then
|
182
198
|
local_classpath="${local_classpath}:${vmo_classpath_a}"
|
183
199
|
elif [ ! "$vmo_classpath_p" = "" ]; then
|
184
200
|
local_classpath="${vmo_classpath_p}:${local_classpath}"
|
185
|
-
elif [ "$vmo_include" = "" ]; then
|
186
|
-
|
187
|
-
|
188
|
-
elif [ "W$vmov_2" = "W" ]; then
|
189
|
-
vmov_2="$cur_option"
|
190
|
-
elif [ "W$vmov_3" = "W" ]; then
|
191
|
-
vmov_3="$cur_option"
|
192
|
-
elif [ "W$vmov_4" = "W" ]; then
|
193
|
-
vmov_4="$cur_option"
|
194
|
-
elif [ "W$vmov_5" = "W" ]; then
|
195
|
-
vmov_5="$cur_option"
|
196
|
-
else
|
201
|
+
elif [ "W$vmo_include" = "W" ]; then
|
202
|
+
needs_quotes=`expr "W$cur_option" : 'W.* .*'`
|
203
|
+
if [ "$needs_quotes" = "0" ]; then
|
197
204
|
vmoptions_val="$vmoptions_val $cur_option"
|
205
|
+
else
|
206
|
+
if [ "W$vmov_1" = "W" ]; then
|
207
|
+
vmov_1="$cur_option"
|
208
|
+
elif [ "W$vmov_2" = "W" ]; then
|
209
|
+
vmov_2="$cur_option"
|
210
|
+
elif [ "W$vmov_3" = "W" ]; then
|
211
|
+
vmov_3="$cur_option"
|
212
|
+
elif [ "W$vmov_4" = "W" ]; then
|
213
|
+
vmov_4="$cur_option"
|
214
|
+
elif [ "W$vmov_5" = "W" ]; then
|
215
|
+
vmov_5="$cur_option"
|
216
|
+
fi
|
198
217
|
fi
|
199
218
|
fi
|
200
219
|
fi
|
201
220
|
done
|
202
221
|
exec 8<&-
|
203
|
-
if [ ! "$
|
222
|
+
if [ ! "W$vmo_include_1" = "W" ]; then
|
223
|
+
vmo_include="$vmo_include_1"
|
224
|
+
unset vmo_include_1
|
225
|
+
read_vmoptions "$vmo_include"
|
226
|
+
fi
|
227
|
+
if [ ! "W$vmo_include_2" = "W" ]; then
|
228
|
+
vmo_include="$vmo_include_2"
|
229
|
+
unset vmo_include_2
|
230
|
+
read_vmoptions "$vmo_include"
|
231
|
+
fi
|
232
|
+
if [ ! "W$vmo_include_3" = "W" ]; then
|
233
|
+
vmo_include="$vmo_include_3"
|
234
|
+
unset vmo_include_3
|
204
235
|
read_vmoptions "$vmo_include"
|
205
236
|
fi
|
206
237
|
fi
|
@@ -209,23 +240,24 @@ read_vmoptions() {
|
|
209
240
|
|
210
241
|
unpack_file() {
|
211
242
|
if [ -f "$1" ]; then
|
212
|
-
jar_file=`echo "$1" | awk '{ print substr($0,1,length-5) }'`
|
213
|
-
bin/unpack200 -r "$1" "$jar_file"
|
243
|
+
jar_file=`echo "$1" | awk '{ print substr($0,1,length($0)-5) }'`
|
244
|
+
bin/unpack200 -r "$1" "$jar_file" > /dev/null 2>&1
|
214
245
|
|
215
246
|
if [ $? -ne 0 ]; then
|
216
247
|
echo "Error unpacking jar files. The architecture or bitness (32/64)"
|
217
248
|
echo "of the bundled JVM might not match your machine."
|
218
249
|
echo "You might also need administrative privileges for this operation."
|
219
|
-
exit 1
|
250
|
+
exit 1
|
251
|
+
else
|
252
|
+
chmod a+r "$jar_file"
|
220
253
|
fi
|
221
254
|
fi
|
222
255
|
}
|
223
256
|
|
224
257
|
run_unpack200() {
|
225
|
-
if [ -
|
258
|
+
if [ -d "$1/lib" ]; then
|
226
259
|
old_pwd200=`pwd`
|
227
260
|
cd "$1"
|
228
|
-
echo "Preparing JRE ..."
|
229
261
|
for pack_file in lib/*.jar.pack
|
230
262
|
do
|
231
263
|
unpack_file $pack_file
|
@@ -238,45 +270,9 @@ run_unpack200() {
|
|
238
270
|
fi
|
239
271
|
}
|
240
272
|
|
241
|
-
|
242
|
-
|
243
|
-
progname=`basename "$0"`
|
244
|
-
linkdir=`dirname "$0"`
|
245
|
-
|
246
|
-
cd "$linkdir"
|
247
|
-
prg="$progname"
|
248
|
-
|
249
|
-
while [ -h "$prg" ] ; do
|
250
|
-
ls=`ls -ld "$prg"`
|
251
|
-
link=`expr "$ls" : '.*-> \(.*\)$'`
|
252
|
-
if expr "$link" : '.*/.*' > /dev/null; then
|
253
|
-
prg="$link"
|
254
|
-
else
|
255
|
-
prg="`dirname $prg`/$link"
|
256
|
-
fi
|
257
|
-
done
|
258
|
-
|
259
|
-
prg_dir=`dirname "$prg"`
|
260
|
-
progname=`basename "$prg"`
|
261
|
-
cd "$prg_dir"
|
262
|
-
prg_dir=`pwd`
|
263
|
-
app_home=../
|
264
|
-
cd "$app_home"
|
265
|
-
app_home=`pwd`
|
266
|
-
bundled_jre_home="$app_home/jre"
|
267
|
-
|
268
|
-
if [ "__i4j_lang_restart" = "$1" ]; then
|
269
|
-
cd "$old_pwd"
|
270
|
-
else
|
271
|
-
cd "$prg_dir"/.
|
272
|
-
|
273
|
-
fi
|
274
|
-
if [ ! "__i4j_lang_restart" = "$1" ]; then
|
275
|
-
run_unpack200 "$bundled_jre_home"
|
276
|
-
run_unpack200 "$bundled_jre_home/jre"
|
277
|
-
fi
|
273
|
+
search_jre() {
|
278
274
|
if [ -z "$app_java_home" ]; then
|
279
|
-
test_jvm $INSTALL4J_JAVA_HOME_OVERRIDE
|
275
|
+
test_jvm "$INSTALL4J_JAVA_HOME_OVERRIDE"
|
280
276
|
fi
|
281
277
|
|
282
278
|
if [ -z "$app_java_home" ]; then
|
@@ -284,7 +280,9 @@ if [ -f "$app_home/.install4j/pref_jre.cfg" ]; then
|
|
284
280
|
read file_jvm_home < "$app_home/.install4j/pref_jre.cfg"
|
285
281
|
test_jvm "$file_jvm_home"
|
286
282
|
if [ -z "$app_java_home" ] && [ $tested_jvm = "false" ]; then
|
287
|
-
|
283
|
+
if [ -f "$db_file" ]; then
|
284
|
+
rm "$db_file" 2> /dev/null
|
285
|
+
fi
|
288
286
|
test_jvm "$file_jvm_home"
|
289
287
|
fi
|
290
288
|
fi
|
@@ -293,40 +291,69 @@ fi
|
|
293
291
|
if [ -z "$app_java_home" ]; then
|
294
292
|
test_jvm "$app_home/jre"
|
295
293
|
if [ -z "$app_java_home" ] && [ $tested_jvm = "false" ]; then
|
296
|
-
|
294
|
+
if [ -f "$db_file" ]; then
|
295
|
+
rm "$db_file" 2> /dev/null
|
296
|
+
fi
|
297
297
|
test_jvm "$app_home/jre"
|
298
298
|
fi
|
299
299
|
fi
|
300
300
|
|
301
301
|
if [ -z "$app_java_home" ]; then
|
302
|
-
|
303
|
-
|
304
|
-
|
302
|
+
if [ "W$INSTALL4J_NO_PATH" != "Wtrue" ]; then
|
303
|
+
prg_jvm=`command -v java 2> /dev/null`
|
304
|
+
if [ "$?" -ne "0" ] || [ "W$prg_jvm" = "W" ]; then
|
305
|
+
prg_jvm=`which java 2> /dev/null`
|
306
|
+
if [ "$?" -ne "0" ]; then
|
307
|
+
prg_jvm=""
|
308
|
+
fi
|
309
|
+
fi
|
310
|
+
if [ ! -z "$prg_jvm" ] && [ -f "$prg_jvm" ]; then
|
311
|
+
old_pwd_jvm=`pwd`
|
312
|
+
path_java_bin=`dirname "$prg_jvm"`
|
313
|
+
cd "$path_java_bin"
|
314
|
+
prg_jvm=java
|
315
|
+
|
316
|
+
while [ -h "$prg_jvm" ] ; do
|
317
|
+
ls=`ls -ld "$prg_jvm"`
|
318
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
319
|
+
if expr "$link" : '.*/.*' > /dev/null; then
|
320
|
+
prg_jvm="$link"
|
321
|
+
else
|
322
|
+
prg_jvm="`dirname $prg_jvm`/$link"
|
323
|
+
fi
|
324
|
+
done
|
325
|
+
path_java_bin=`dirname "$prg_jvm"`
|
326
|
+
cd "$path_java_bin"
|
327
|
+
cd ..
|
328
|
+
path_java_home=`pwd`
|
329
|
+
cd "$old_pwd_jvm"
|
330
|
+
test_jvm "$path_java_home"
|
331
|
+
fi
|
332
|
+
fi
|
305
333
|
fi
|
306
334
|
|
307
335
|
|
308
336
|
if [ -z "$app_java_home" ]; then
|
309
|
-
common_jvm_locations="/opt/i4j_jres/* /usr/local/i4j_jres/* $HOME/.i4j_jres/* /usr/bin/java* /usr/bin/jdk* /usr/bin/jre* /usr/bin/j2*re* /usr/bin/j2sdk* /usr/java* /usr/java*/jre /usr/jdk* /usr/jre* /usr/j2*re* /usr/j2sdk* /usr/java/j2*re* /usr/java/j2sdk* /opt/java* /usr/java/jdk* /usr/java/jre* /usr/lib/java/jre /usr/local/java* /usr/local/jdk* /usr/local/jre* /usr/local/j2*re* /usr/local/j2sdk* /usr/jdk/java* /usr/jdk/jdk* /usr/jdk/jre* /usr/jdk/j2*re* /usr/jdk/j2sdk* /usr/lib/jvm/* /usr/lib/java* /usr/lib/jdk* /usr/lib/jre* /usr/lib/j2*re* /usr/lib/j2sdk* /System/Library/Frameworks/JavaVM.framework/Versions/1.?/Home
|
310
|
-
/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home /Library/Java/JavaVirtualMachines/*.jdk/Contents/Home/jre"
|
337
|
+
common_jvm_locations="/opt/i4j_jres/* /usr/local/i4j_jres/* $HOME/.i4j_jres/* /usr/bin/java* /usr/bin/jdk* /usr/bin/jre* /usr/bin/j2*re* /usr/bin/j2sdk* /usr/java* /usr/java*/jre /usr/jdk* /usr/jre* /usr/j2*re* /usr/j2sdk* /usr/java/j2*re* /usr/java/j2sdk* /opt/java* /usr/java/jdk* /usr/java/jre* /usr/lib/java/jre /usr/local/java* /usr/local/jdk* /usr/local/jre* /usr/local/j2*re* /usr/local/j2sdk* /usr/jdk/java* /usr/jdk/jdk* /usr/jdk/jre* /usr/jdk/j2*re* /usr/jdk/j2sdk* /usr/lib/jvm/* /usr/lib/java* /usr/lib/jdk* /usr/lib/jre* /usr/lib/j2*re* /usr/lib/j2sdk* /System/Library/Frameworks/JavaVM.framework/Versions/1.?/Home /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home /Library/Java/JavaVirtualMachines/*.jdk/Contents/Home/jre /Library/Java/JavaVirtualMachines/*.jre/Contents/Home /Library/Java/JavaVirtualMachines/*.jdk/Contents/Home"
|
311
338
|
for current_location in $common_jvm_locations
|
312
339
|
do
|
313
340
|
if [ -z "$app_java_home" ]; then
|
314
|
-
test_jvm $current_location
|
341
|
+
test_jvm "$current_location"
|
315
342
|
fi
|
316
343
|
|
317
344
|
done
|
318
345
|
fi
|
319
346
|
|
320
347
|
if [ -z "$app_java_home" ]; then
|
321
|
-
test_jvm $JAVA_HOME
|
348
|
+
test_jvm "$JAVA_HOME"
|
322
349
|
fi
|
323
350
|
|
324
351
|
if [ -z "$app_java_home" ]; then
|
325
|
-
test_jvm $JDK_HOME
|
352
|
+
test_jvm "$JDK_HOME"
|
326
353
|
fi
|
327
354
|
|
328
355
|
if [ -z "$app_java_home" ]; then
|
329
|
-
test_jvm $INSTALL4J_JAVA_HOME
|
356
|
+
test_jvm "$INSTALL4J_JAVA_HOME"
|
330
357
|
fi
|
331
358
|
|
332
359
|
if [ -z "$app_java_home" ]; then
|
@@ -334,110 +361,218 @@ if [ -f "$app_home/.install4j/inst_jre.cfg" ]; then
|
|
334
361
|
read file_jvm_home < "$app_home/.install4j/inst_jre.cfg"
|
335
362
|
test_jvm "$file_jvm_home"
|
336
363
|
if [ -z "$app_java_home" ] && [ $tested_jvm = "false" ]; then
|
337
|
-
|
364
|
+
if [ -f "$db_file" ]; then
|
365
|
+
rm "$db_file" 2> /dev/null
|
366
|
+
fi
|
338
367
|
test_jvm "$file_jvm_home"
|
339
368
|
fi
|
340
369
|
fi
|
341
370
|
fi
|
342
371
|
|
372
|
+
}
|
373
|
+
|
374
|
+
old_pwd=`pwd`
|
375
|
+
|
376
|
+
progname=`basename "$0"`
|
377
|
+
linkdir=`dirname "$0"`
|
378
|
+
|
379
|
+
cd "$linkdir"
|
380
|
+
prg="$progname"
|
381
|
+
|
382
|
+
while [ -h "$prg" ] ; do
|
383
|
+
ls=`ls -ld "$prg"`
|
384
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
385
|
+
if expr "$link" : '.*/.*' > /dev/null; then
|
386
|
+
prg="$link"
|
387
|
+
else
|
388
|
+
prg="`dirname $prg`/$link"
|
389
|
+
fi
|
390
|
+
done
|
391
|
+
|
392
|
+
prg_dir=`dirname "$prg"`
|
393
|
+
progname=`basename "$prg"`
|
394
|
+
cd "$prg_dir"
|
395
|
+
prg_dir=`pwd`
|
396
|
+
app_home=../
|
397
|
+
cd "$app_home"
|
398
|
+
app_home=`pwd`
|
399
|
+
bundled_jre_home="$app_home/jre"
|
400
|
+
|
401
|
+
if [ "__i4j_lang_restart" = "$1" ]; then
|
402
|
+
cd "$old_pwd"
|
403
|
+
else
|
404
|
+
cd "$prg_dir"/.
|
405
|
+
|
406
|
+
fi
|
407
|
+
if [ "__i4j_extract_and_exit" = "$1" ]; then
|
408
|
+
cd "$old_pwd"
|
409
|
+
exit 0
|
410
|
+
fi
|
411
|
+
db_home=$HOME
|
412
|
+
db_file_suffix=
|
413
|
+
if [ ! -w "$db_home" ]; then
|
414
|
+
db_home=/tmp
|
415
|
+
db_file_suffix=_$USER
|
416
|
+
fi
|
417
|
+
db_file=$db_home/.install4j$db_file_suffix
|
418
|
+
if [ -d "$db_file" ] || ([ -f "$db_file" ] && [ ! -r "$db_file" ]) || ([ -f "$db_file" ] && [ ! -w "$db_file" ]); then
|
419
|
+
db_file=$db_home/.install4j_jre$db_file_suffix
|
420
|
+
fi
|
421
|
+
if [ ! "__i4j_lang_restart" = "$1" ]; then
|
422
|
+
run_unpack200 "$bundled_jre_home"
|
423
|
+
run_unpack200 "$bundled_jre_home/jre"
|
424
|
+
fi
|
425
|
+
search_jre
|
343
426
|
if [ -z "$app_java_home" ]; then
|
344
|
-
|
427
|
+
if [ -f "$db_file" ]; then
|
428
|
+
rm "$db_file" 2> /dev/null
|
429
|
+
fi
|
430
|
+
search_jre
|
431
|
+
fi
|
432
|
+
if [ -z "$app_java_home" ]; then
|
433
|
+
echo "No suitable Java Virtual Machine could be found on your system."
|
345
434
|
echo The version of the JVM must be at least 1.8.
|
346
435
|
echo Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
|
347
|
-
|
348
|
-
exit 83
|
436
|
+
exit 83
|
349
437
|
fi
|
350
438
|
|
351
439
|
|
352
|
-
compiz_workaround
|
353
|
-
i4j_classpath="$app_home/.install4j/i4jruntime.jar"
|
354
440
|
local_classpath=""
|
441
|
+
i4j_classpath="$app_home/.install4j/i4jruntime.jar:$app_home/.install4j/launcherb85e9ba4.jar"
|
355
442
|
add_class_path "$i4j_classpath"
|
356
443
|
add_class_path "$app_home/SFS2X"
|
357
|
-
|
358
|
-
|
359
|
-
add_class_path "$app_home/SFS2X/lib
|
360
|
-
done
|
361
|
-
for i in `ls "$app_home/SFS2X/extensions/__lib__" 2> /dev/null | egrep "\.(jar|zip)$"`
|
362
|
-
do
|
363
|
-
add_class_path "$app_home/SFS2X/extensions/__lib__/$i"
|
364
|
-
done
|
365
|
-
for i in `ls "$app_home/SFS2X/lib/apache-tomcat/bin" 2> /dev/null | egrep "\.(jar|zip)$"`
|
366
|
-
do
|
367
|
-
add_class_path "$app_home/SFS2X/lib/apache-tomcat/bin/$i"
|
368
|
-
done
|
444
|
+
add_class_path "$app_home/SFS2X/lib" "/*"
|
445
|
+
add_class_path "$app_home/SFS2X/extensions/__lib__" "/*"
|
446
|
+
add_class_path "$app_home/SFS2X/lib/apache-tomcat/bin" "/*"
|
369
447
|
|
370
448
|
vmoptions_val=""
|
371
449
|
read_vmoptions "$prg_dir/$progname.vmoptions"
|
372
450
|
INSTALL4J_ADD_VM_PARAMS="$INSTALL4J_ADD_VM_PARAMS $vmoptions_val"
|
373
451
|
|
374
|
-
INSTALL4J_ADD_VM_PARAMS="$INSTALL4J_ADD_VM_PARAMS -Di4j.vpt=true"
|
375
452
|
for param in $@; do
|
376
453
|
if [ `echo "W$param" | cut -c -3` = "W-J" ]; then
|
377
454
|
INSTALL4J_ADD_VM_PARAMS="$INSTALL4J_ADD_VM_PARAMS `echo "$param" | cut -c 3-`"
|
378
455
|
fi
|
379
456
|
done
|
380
457
|
|
458
|
+
|
459
|
+
has_space_options=false
|
381
460
|
if [ "W$vmov_1" = "W" ]; then
|
382
|
-
vmov_1="-
|
461
|
+
vmov_1="-Di4jv=0"
|
462
|
+
else
|
463
|
+
has_space_options=true
|
383
464
|
fi
|
384
465
|
if [ "W$vmov_2" = "W" ]; then
|
385
|
-
vmov_2="-
|
466
|
+
vmov_2="-Di4jv=0"
|
467
|
+
else
|
468
|
+
has_space_options=true
|
386
469
|
fi
|
387
470
|
if [ "W$vmov_3" = "W" ]; then
|
388
|
-
vmov_3="-
|
471
|
+
vmov_3="-Di4jv=0"
|
472
|
+
else
|
473
|
+
has_space_options=true
|
389
474
|
fi
|
390
475
|
if [ "W$vmov_4" = "W" ]; then
|
391
|
-
vmov_4="-
|
476
|
+
vmov_4="-Di4jv=0"
|
477
|
+
else
|
478
|
+
has_space_options=true
|
392
479
|
fi
|
393
480
|
if [ "W$vmov_5" = "W" ]; then
|
394
|
-
vmov_5="-
|
481
|
+
vmov_5="-Di4jv=0"
|
482
|
+
else
|
483
|
+
has_space_options=true
|
395
484
|
fi
|
396
485
|
|
486
|
+
return_code=0
|
397
487
|
case "$1" in
|
398
488
|
start)
|
399
489
|
echo "Starting sfs2x-service"
|
400
490
|
|
401
|
-
|
491
|
+
if [ "$has_space_options" = "true" ]; then
|
492
|
+
$INSTALL4J_JAVA_PREFIX nohup "$app_java_home/bin/java" -server "-Dfile.encoding=UTF-8" "$vmov_1" "$vmov_2" "$vmov_3" "$vmov_4" "$vmov_5" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main start > /dev/null 2>&1 &
|
493
|
+
return_code=$?
|
494
|
+
else
|
495
|
+
$INSTALL4J_JAVA_PREFIX nohup "$app_java_home/bin/java" -server "-Dfile.encoding=UTF-8" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main start > /dev/null 2>&1 &
|
496
|
+
return_code=$?
|
497
|
+
fi
|
402
498
|
|
403
499
|
|
404
500
|
;;
|
405
501
|
start-launchd)
|
406
502
|
echo "Starting sfs2x-service"
|
407
503
|
|
408
|
-
|
504
|
+
if [ "$has_space_options" = "true" ]; then
|
505
|
+
$INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" -server "-Dfile.encoding=UTF-8" "$vmov_1" "$vmov_2" "$vmov_3" "$vmov_4" "$vmov_5" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main start
|
506
|
+
return_code=$?
|
507
|
+
else
|
508
|
+
$INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" -server "-Dfile.encoding=UTF-8" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main start
|
509
|
+
return_code=$?
|
510
|
+
fi
|
409
511
|
|
410
512
|
|
411
513
|
;;
|
412
514
|
stop)
|
413
515
|
echo "Shutting down sfs2x-service"
|
414
516
|
|
415
|
-
$INSTALL4J_JAVA_PREFIX "$app_java_home/bin/java" -server -
|
517
|
+
$INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" -server -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main stop
|
518
|
+
return_code=$?
|
416
519
|
|
417
520
|
|
418
521
|
;;
|
419
522
|
restart|force-reload)
|
420
523
|
echo "Shutting down sfs2x-service"
|
421
524
|
|
422
|
-
$INSTALL4J_JAVA_PREFIX "$app_java_home/bin/java" -server -
|
525
|
+
$INSTALL4J_JAVA_PREFIX "$app_java_home/bin/java" -server -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main stop
|
526
|
+
return_code=$?
|
423
527
|
|
424
528
|
|
425
529
|
echo "Restarting sfs2x-service"
|
426
530
|
|
427
|
-
|
531
|
+
if [ "$has_space_options" = "true" ]; then
|
532
|
+
$INSTALL4J_JAVA_PREFIX nohup "$app_java_home/bin/java" -server "-Dfile.encoding=UTF-8" "$vmov_1" "$vmov_2" "$vmov_3" "$vmov_4" "$vmov_5" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main start > /dev/null 2>&1 &
|
533
|
+
return_code=$?
|
534
|
+
else
|
535
|
+
$INSTALL4J_JAVA_PREFIX nohup "$app_java_home/bin/java" -server "-Dfile.encoding=UTF-8" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main start > /dev/null 2>&1 &
|
536
|
+
return_code=$?
|
537
|
+
fi
|
428
538
|
|
429
539
|
|
430
540
|
;;
|
431
541
|
status)
|
432
542
|
|
433
|
-
$INSTALL4J_JAVA_PREFIX "$app_java_home/bin/java" -server -
|
543
|
+
$INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" -server -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main status
|
544
|
+
return_code=$?
|
545
|
+
|
546
|
+
|
547
|
+
;;
|
548
|
+
run)
|
549
|
+
|
550
|
+
if [ "$has_space_options" = "true" ]; then
|
551
|
+
$INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" -server "-Dfile.encoding=UTF-8" "$vmov_1" "$vmov_2" "$vmov_3" "$vmov_4" "$vmov_5" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main run
|
552
|
+
return_code=$?
|
553
|
+
else
|
554
|
+
$INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" -server "-Dfile.encoding=UTF-8" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main run
|
555
|
+
return_code=$?
|
556
|
+
fi
|
557
|
+
|
558
|
+
|
559
|
+
;;
|
560
|
+
run-redirect)
|
561
|
+
|
562
|
+
if [ "$has_space_options" = "true" ]; then
|
563
|
+
$INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" -server "-Dfile.encoding=UTF-8" "$vmov_1" "$vmov_2" "$vmov_3" "$vmov_4" "$vmov_5" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main run-redirect
|
564
|
+
return_code=$?
|
565
|
+
else
|
566
|
+
$INSTALL4J_JAVA_PREFIX exec "$app_java_home/bin/java" -server "-Dfile.encoding=UTF-8" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" install4j.com.smartfoxserver.v2.Main run-redirect
|
567
|
+
return_code=$?
|
568
|
+
fi
|
434
569
|
|
435
570
|
|
436
571
|
;;
|
437
572
|
*)
|
438
|
-
echo "Usage: $0 {start|stop|status|restart|force-reload}"
|
573
|
+
echo "Usage: $0 {start|stop|run|run-redirect|status|restart|force-reload}"
|
439
574
|
exit 1
|
440
575
|
;;
|
441
576
|
esac
|
442
577
|
|
443
|
-
exit
|
578
|
+
exit $return_code
|