mirror of https://github.com/Icinga/icinga2.git
parent
b5faacc1d0
commit
24f17c0fc6
|
@ -164,7 +164,7 @@ add_subdirectory(itl)
|
|||
add_subdirectory(doc)
|
||||
add_subdirectory(test)
|
||||
add_subdirectory(pki)
|
||||
add_subdirectory(contrib)
|
||||
add_subdirectory(agent)
|
||||
add_subdirectory(python)
|
||||
|
||||
set(CPACK_PACKAGE_NAME "Icinga2")
|
||||
|
|
|
@ -20,6 +20,13 @@ if(UNIX OR CYGWIN)
|
|||
configure_file(icinga2-forget-agent.cmake ${CMAKE_CURRENT_BINARY_DIR}/icinga2-forget-agent @ONLY)
|
||||
configure_file(icinga2-list-agents.cmake ${CMAKE_CURRENT_BINARY_DIR}/icinga2-list-agents @ONLY)
|
||||
configure_file(icinga2-setup-agent.cmake ${CMAKE_CURRENT_BINARY_DIR}/icinga2-setup-agent @ONLY)
|
||||
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/icinga2-discover-agent ${CMAKE_CURRENT_BINARY_DIR}/icinga2-setup-agent
|
||||
${CMAKE_CURRENT_BINARY_DIR}/icinga2-forget-agent ${CMAKE_CURRENT_BINARY_DIR}/icinga2-list-agents
|
||||
DESTINATION ${CMAKE_INSTALL_SBINDIR}
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
|
||||
)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
|
@ -29,4 +36,8 @@ if(MSVC)
|
|||
TYPE FAE04EC0-301F-11D3-BF4B-00C04F79EFBC
|
||||
)
|
||||
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_SOURCE_DIR}/icinga2-setup-agent/bin/\${CMAKE_INSTALL_CONFIG_NAME}/Icinga2SetupAgent.exe
|
||||
DESTINATION ${CMAKE_INSTALL_SBINDIR}
|
||||
)
|
||||
endif()
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 766 B |
|
@ -474,6 +474,10 @@ exit 0
|
|||
%{_sbindir}/%{name}-list-objects
|
||||
%{_sbindir}/%{name}-enable-feature
|
||||
%{_sbindir}/%{name}-disable-feature
|
||||
%{_sbindir}/%{name}-setup-agent
|
||||
%{_sbindir}/%{name}-discover-agent
|
||||
%{_sbindir}/%{name}-forget-agent
|
||||
%{_sbindir}/%{name}-list-agents
|
||||
%{_sbindir}/%{name}-prepare-dirs
|
||||
%exclude %{_libdir}/%{name}/libdb_ido_mysql*
|
||||
%exclude %{_libdir}/%{name}/libdb_ido_pgsql*
|
||||
|
|
Loading…
Reference in New Issue