freebsd-ports/net/siproxd/pkg-deinstall
Pav Lucistnik 642ae82e0e Add siproxd, a proxy/masquerading daemon for the SIP protocol.
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>
2004-10-15 15:47:27 +00:00

12 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