mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
642ae82e0e
It handles registrations of SIP clients on a private IP network and performs rewriting of the SIP message bodies to make SIP connections possible via a masquerading firewall. It allows SIP clients (like kphone, linphone) to work behind an IP masquerading firewall or router. PR: ports/72691 Submitted by: Frank W. Josellis <frank@dynamical-systems.org>
13 lines
270 B
Bash
13 lines
270 B
Bash
#!/bin/sh
|
|
|
|
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
|
|
SIPROXD_HOME=${PKG_PREFIX}/siproxd
|
|
SIPROXD_PID=${SIPROXD_HOME}/siproxd.pid
|
|
|
|
case $2 in
|
|
DEINSTALL)
|
|
[ -r ${SIPROXD_PID} ] && kill `cat ${SIPROXD_PID}`
|
|
rm -f ${SIPROXD_HOME}/* && rmdir ${SIPROXD_HOME}
|
|
;;
|
|
esac
|