diff options
author | sobomax <sobomax@FreeBSD.org> | 2008-06-17 13:52:53 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2008-06-17 13:52:53 +0800 |
commit | 2e339764becf0833daba8b11b1e01bb0b6d7a648 (patch) | |
tree | cfca879a3475d5ea3f72cc9935e80ed29092f507 /net | |
parent | 94ccb22bf8cb918af8144b7d4597987dca165553 (diff) | |
download | freebsd-ports-gnome-2e339764becf0833daba8b11b1e01bb0b6d7a648.tar.gz freebsd-ports-gnome-2e339764becf0833daba8b11b1e01bb0b6d7a648.tar.zst freebsd-ports-gnome-2e339764becf0833daba8b11b1e01bb0b6d7a648.zip |
Add rtpproxy - a high-performance RTP proxy server for the SIP
Express Router (SER) or OpenSER.
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/rtpproxy/Makefile | 31 | ||||
-rw-r--r-- | net/rtpproxy/distinfo | 3 | ||||
-rw-r--r-- | net/rtpproxy/files/patch-freebsd_rtpproxy.in | 14 | ||||
-rw-r--r-- | net/rtpproxy/pkg-descr | 18 | ||||
-rw-r--r-- | net/rtpproxy/pkg-plist | 3 |
6 files changed, 70 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index acd62c089995..54754098e3f1 100644 --- a/net/Makefile +++ b/net/Makefile @@ -793,6 +793,7 @@ SUBDIR += rsync SUBDIR += rtg SUBDIR += rtpbreak + SUBDIR += rtpproxy SUBDIR += ruby-dict SUBDIR += ruby-icmp SUBDIR += ruby-ldap diff --git a/net/rtpproxy/Makefile b/net/rtpproxy/Makefile new file mode 100644 index 000000000000..3d034b256d8d --- /dev/null +++ b/net/rtpproxy/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: rtpproxy +# Date created: 20 April 2005 +# Whom: sobomax@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= rtpproxy +PORTVERSION= 1.1 +CATEGORIES= net +MASTER_SITES= http://www.rtpproxy.org/chrome/site/ + +MAINTAINER= sobomax@FreeBSD.org +COMMENT= A high-performance RTP proxy server for the SIP Express Router (SER) + +LIB_DEPENDS= gsm.1:${PORTSDIR}/audio/gsm + +GNU_CONFIGURE= yes +CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ + LIBS=-L${LOCALBASE}/lib +#CONFIGURE_ARGS= --mandir=${LOCALBASE}/man +MAN8= rtpproxy.8 + +post-build: + ${SED} 's|%%PREFIX%%|${PREFIX}|g ; s|%%RC_SUBR%%|/etc/rc.subr|g' \ + ${WRKSRC}/freebsd/rtpproxy.in > ${WRKDIR}/rtpproxy + +post-install: + ${INSTALL_SCRIPT} ${WRKDIR}/rtpproxy ${PREFIX}/etc/rc.d/rtpproxy + +.include <bsd.port.mk> diff --git a/net/rtpproxy/distinfo b/net/rtpproxy/distinfo new file mode 100644 index 000000000000..de774834dbcf --- /dev/null +++ b/net/rtpproxy/distinfo @@ -0,0 +1,3 @@ +MD5 (rtpproxy-1.1.tar.gz) = 76140b62c41932681a30714adcfa94a9 +SHA256 (rtpproxy-1.1.tar.gz) = 181ec3686f272b3d105a25a63a41dc960fb3caadfb83680784730849899a4817 +SIZE (rtpproxy-1.1.tar.gz) = 189829 diff --git a/net/rtpproxy/files/patch-freebsd_rtpproxy.in b/net/rtpproxy/files/patch-freebsd_rtpproxy.in new file mode 100644 index 000000000000..c467aae66bb6 --- /dev/null +++ b/net/rtpproxy/files/patch-freebsd_rtpproxy.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- freebsd/rtpproxy.in ++++ freebsd/rtpproxy.in +@@ -24,7 +24,7 @@ + load_rc_config ${name} + + rtpproxy_enable=${rtpproxy_enable:-"NO"} +-rtpproxy_laddr=${rtpproxy_laddr:-"*"} ++rtpproxy_laddr=${rtpproxy_laddr:-"0.0.0.0"} + + command_args="-l ${rtpproxy_laddr} -p /var/run/rtpproxy.pid" + diff --git a/net/rtpproxy/pkg-descr b/net/rtpproxy/pkg-descr new file mode 100644 index 000000000000..a01b70071557 --- /dev/null +++ b/net/rtpproxy/pkg-descr @@ -0,0 +1,18 @@ +The Sippy RTPproxy is a high-performance software proxy for RTP streams that +can work together with SIP Express Router (SER), OpenSER or Sippy B2BUA or +any other SIP proxy or SIP B2BUA capable of rewriting SDP bodies in SIP +messages that it relays. + +The main purpose of RTPproxy is to make the communication between SIP user +agents behind NAT(s) (Network Address Translator) possible. Several cases +exists when direct end-to-end communication is not possible and RTP streams +have to be relayed through another host. The RTPproxy can be used to setup +such a relaying host. + +Originally created for handling NAT scenarious it can also act as a generic +media relay as well as gateway RTP sessions between IPv4 and IPv6 networks. +It can also perform number of additional functions, including call recording, +playing pre-encoded announcements, real-time stream copying and RTP payload +reframing. + +WWW: http://www.rtpproxy.org/ diff --git a/net/rtpproxy/pkg-plist b/net/rtpproxy/pkg-plist new file mode 100644 index 000000000000..032252109143 --- /dev/null +++ b/net/rtpproxy/pkg-plist @@ -0,0 +1,3 @@ +etc/rc.d/rtpproxy +bin/makeann +bin/rtpproxy |