head 1.1; access; symbols pkgsrc-2024Q1:1.1.0.44 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.42 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.40 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.38 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.36 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.34 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.32 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.30 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.28 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.26 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.24 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.22 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.20 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.18 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.16 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.14 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.10 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.12 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.8 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.6 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.4 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.2 pkgsrc-2018Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2018.11.14.15.25.28; author hauke; state Exp; branches; next ; commitid kTkky8UTfehAnVZA; desc @@ 1.1 log @Siproxd is a proxy daemon for the SIP protocol. It handles registrations of SIP clients on a private IP network, and rewrites the SIP message bodies to make SIP connections work via a NAT firewall. Imported from wip/siproxd. @ text @$NetBSD$ Substitute path and user information. --- doc/siproxd.conf.example.orig 2016-03-25 18:44:51.000000000 +0000 +++ doc/siproxd.conf.example @@@@ -1,5 +1,5 @@@@ # -# /etc/siproxd.conf - siproxd configuration file +# @@PKG_SYSCONFDIR@@/siproxd.conf - siproxd configuration file # # !! This is a sample file, adapt it to your needs before using it !! # @@@@ -78,8 +78,8 @@@@ silence_log = 1 # Secure Enviroment settings: # user: uid/gid to switch to after startup # chrootjail: path to chroot to (chroot jail) -user = nobody -#chrootjail = /var/lib/siproxd/ +user = @@SIPROXD_USER@@ +#chrootjail = @@SIPROXD_HOME@@/ ###################################################################### # Memory settings @@@@ -100,7 +100,7 @@@@ user = nobody # the specified directory path does exist! # Note: If running in chroot jail, this path starts relative # to the jail. -registration_file = /var/lib/siproxd/siproxd_registrations +registration_file = @@VARBASE@@/run/siproxd/siproxd_registrations ###################################################################### # Automatically save current registrations every 'n' seconds @@@@ -113,7 +113,7 @@@@ autosave_registrations = 300 # This file holds the PID of the main thread of siproxd. # Note: If running in chroot jail, this path starts relative # to the jail. -pid_file = /var/run/siproxd/siproxd.pid +pid_file = @@VARBASE@@/run/siproxd/siproxd.pid ###################################################################### # global switch to control the RTP proxy behaviour @@@@ -213,7 +213,7 @@@@ tcp_keepalive = 20 # # OR use individual per user passwords stored in a file # -#proxy_auth_pwfile = /etc/siproxd_passwd.cfg +#proxy_auth_pwfile = @@PKG_SYSCONFDIR@@/siproxd_passwd.cfg # # 'proxy_auth_pwfile' has precedence over 'proxy_auth_passwd' @@@@ -323,7 +323,7 @@@@ debug_port = 0 # the processing order is given by the load order. # # plugin_dir: MUST be terminated with '/' -plugindir=/usr/lib/siproxd/ +plugindir=@@PREFIX@@/lib/siproxd/ # # List of plugins to load. MUST use the .la file extension! #load_plugin=plugin_demo.la @