diff --git a/CMakeLists.txt b/CMakeLists.txt index f0f7a7744..645cec3b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -190,7 +190,7 @@ set(ZM_PERL_SEARCH_PATH "" CACHE PATH where ZM_PERL_MM_PARMS has been modified such that ZoneMinder's Perl modules are installed outside Perl's default search path.") set(ZM_TARGET_DISTRO "" CACHE STRING - "Build ZoneMinder for a specific distribution. Currently, valid names are: fc27, fc26, el7, OS13, FreeBSD") + "Build ZoneMinder for a specific distribution. Currently, valid names are: fc, el, OS13, FreeBSD") set(ZM_DETECT_SYSTEMD "ON" CACHE BOOL "Set to OFF to disable detection of systemd. default: ON") set(ZM_SYSTEMD "OFF" CACHE BOOL diff --git a/distros/redhat/CMakeLists.txt b/distros/redhat/CMakeLists.txt index e3e05c54e..705504c17 100644 --- a/distros/redhat/CMakeLists.txt +++ b/distros/redhat/CMakeLists.txt @@ -73,9 +73,6 @@ install(FILES zoneminder.php-fpm.conf DESTINATION /etc/php-fpm.d PERMISSIONS OWN # Symlink the cake php temp folder to the ZoneMinder temp folder install(CODE "execute_process(COMMAND ln -sf ../../../../../../var/lib/zoneminder/temp \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/zoneminder/www/api/app/tmp\")") -# Link to Cambozola -install(CODE "execute_process(COMMAND ln -sf ../../java/cambozola.jar \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/zoneminder/www/cambozola.jar\")") - # Install auxiliary files install(FILES common/redalert.wav DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/zoneminder/www/sounds PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) diff --git a/distros/redhat/zoneminder.spec b/distros/redhat/zoneminder.spec index 1d4d77b5d..711d6d9d9 100644 --- a/distros/redhat/zoneminder.spec +++ b/distros/redhat/zoneminder.spec @@ -23,19 +23,6 @@ %global with_php_json 1 %endif -# el7 uses cmake3 package and macros -%if 0%{?rhel} == 7 -%global cmake %{cmake3} -%global cmake_build %{cmake3_build} -%global cmake_install %{cmake3_install} -%global cmake_pkg_name cmake3 -%else -%global cmake_pkg_name cmake -%endif - -# The default for everything but el7 these days -%global _hardened_build 1 - Name: zoneminder Version: 1.37.30 Release: 1%{?dist} @@ -62,7 +49,7 @@ BuildRequires: systemd-devel BuildRequires: mariadb-devel BuildRequires: perl-podlators BuildRequires: polkit-devel -BuildRequires: %{cmake_pkg_name} +BuildRequires: cmake BuildRequires: gnutls-devel BuildRequires: bzip2-devel BuildRequires: pcre-devel diff --git a/web/api/app/Plugin/Crud b/web/api/app/Plugin/Crud index 14292374c..0bd63fb46 160000 --- a/web/api/app/Plugin/Crud +++ b/web/api/app/Plugin/Crud @@ -1 +1 @@ -Subproject commit 14292374ccf1328f2d5db20897bd06f99ba4d938 +Subproject commit 0bd63fb464957080ead342db58ca9e01532cf1ef diff --git a/web/skins/classic/includes/functions.php b/web/skins/classic/includes/functions.php index 555789fcd..65d7dd673 100644 --- a/web/skins/classic/includes/functions.php +++ b/web/skins/classic/includes/functions.php @@ -195,17 +195,13 @@ function getNavBarHTML() { // The legacy navigation bar that collapses into a pulldown menu on small screens. // function getNormalNavBarHTML($running, $user, $bandwidth_options, $view, $skin) { - $status = runtimeStatus($running); - ?>