diff options
author | Peter Oliver <git@mavit.org.uk> | 2018-05-02 17:49:04 +0100 |
---|---|---|
committer | Peter Oliver <git@mavit.org.uk> | 2018-05-03 10:01:42 +0100 |
commit | 0142d7789d7109dc8cad6e0c703f6f810410a940 (patch) | |
tree | c19a216afa002324f093af4abad1f0aca171fcfc /cmake | |
parent | 26e043b14a57d4adcc248d5ae9ed0f2f4c6ed2e7 (diff) |
Provide firewalld service definitions
On some Linux distributions, including these files will cause the associated network ports to appear in the distribution’s `firewall-config` GUI for opening or closing.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/scripts/linux/Install.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/scripts/linux/Install.cmake b/cmake/scripts/linux/Install.cmake index d6767bf246..f264f816cb 100644 --- a/cmake/scripts/linux/Install.cmake +++ b/cmake/scripts/linux/Install.cmake @@ -127,6 +127,13 @@ install(FILES ${CMAKE_SOURCE_DIR}/tools/Linux/packaging/media/icon256x256.png DESTINATION ${datarootdir}/icons/hicolor/256x256/apps COMPONENT kodi) +# Install firewalld service definitions +install(FILES ${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-eventserver.xml + ${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-http.xml + ${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-jsonrpc.xml + DESTINATION ${prefix}/lib/firewalld/services + COMPONENT kodi) + # Install docs install(FILES ${CMAKE_SOURCE_DIR}/copying.txt ${CMAKE_SOURCE_DIR}/LICENSE.GPL |