aboutsummaryrefslogtreecommitdiff
path: root/net/rtpproxy
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2008-06-17 05:52:53 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2008-06-17 05:52:53 +0000
commit02cff2632a35b9031da98c7ab097832fc07f44da (patch)
tree19ae0855f3d39415947fd64978b7bc3f8f5f7144 /net/rtpproxy
parentdea0c173edc96b42ada24373a3dcfe356beaed35 (diff)
downloadports-02cff2632a35b9031da98c7ab097832fc07f44da.tar.gz
ports-02cff2632a35b9031da98c7ab097832fc07f44da.zip
Add rtpproxy - a high-performance RTP proxy server for the SIP
Express Router (SER) or OpenSER.
Notes
Notes: svn path=/head/; revision=214993
Diffstat (limited to 'net/rtpproxy')
-rw-r--r--net/rtpproxy/Makefile31
-rw-r--r--net/rtpproxy/distinfo3
-rw-r--r--net/rtpproxy/files/patch-freebsd_rtpproxy.in14
-rw-r--r--net/rtpproxy/pkg-descr18
-rw-r--r--net/rtpproxy/pkg-plist3
5 files changed, 69 insertions, 0 deletions
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