Ship firewalld configuration file

This commit is contained in:
Patrick Nicolas
2024-02-07 17:53:37 +01:00
parent 155281b282
commit edd2e89bb1
2 changed files with 11 additions and 0 deletions
+4
View File
@@ -136,6 +136,10 @@ configure_file(dist/wivrn.service.in wivrn.service)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/wivrn.service
DESTINATION lib/systemd/user/)
install(FILES dist/firewalld-wivrn.xml
RENAME wivrn.xml
DESTINATION lib/firewalld/services)
install(TARGETS wivrn-server)
set_target_properties(${RUNTIME_TARGET} PROPERTIES EXCLUDE_FROM_ALL FALSE)
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>OpenXR streaming service</short>
<description>WiVRn server streams virtual reality applications over the network.</description>
<port protocol="tcp" port="9757"/>
<port protocol="udp" port="9757"/>
</service>