chore(package): add Debian and RedHat package files (#173)

---------

Signed-off-by: Randy Li <ayaka@soulik.info>
This commit is contained in:
Randy Li
2025-08-23 00:03:21 +08:00
committed by GitHub
parent f5aac38969
commit 2a37a2fc92
14 changed files with 344 additions and 0 deletions

5
selinux/phantun.fc Normal file
View File

@@ -0,0 +1,5 @@
/usr/libexec/phantun/phantun-client -- gen_context(system_u:object_r:phantun_client_exec_t,s0)
/usr/libexec/phantun/phantun-server -- gen_context(system_u:object_r:phantun_server_exec_t,s0)
/usr/bin/phantun-client -- gen_context(system_u:object_r:wireguard_exec_t,s0)
/usr/bin/phantun-server -- gen_context(system_u:object_r:wireguard_exec_t,s0)
/var/run/phantun(/.*)? gen_context(system_u:object_r:phantun_var_run_t,s0)