debian/0000775000000000000000000000000012310764713007174 5ustar debian/backports/0000775000000000000000000000000012300034241011145 5ustar debian/backports/etch0000775000000000000000000000027611063236270012036 0ustar #!/bin/sh # Remove the building with hardening-wrapper, as it is not available # in Etch. sed -i -e '/DEB_BUILD_HARDENING/d' debian/rules sed -i -e 's/hardening-wrapper,//' debian/control debian/copyright0000664000000000000000000000323510771467264011144 0ustar This package was debianized by Jan Janak on Tue, 31 May 2005 10:55:30 +0100. It was downloaded from . It is currently maintained by the Debian VoIP Team . Copyright (C) 2004-2006 Maxim Sobolev Copyright (C) 2006-2007 Sippy Software, Inc., http://www.sippysoft.com Copyright (C) 2008 Marcus Better (Debian packaging) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/source/0000775000000000000000000000000012300034241010455 5ustar debian/source/format0000664000000000000000000000001412300033442011665 0ustar 3.0 (quilt) debian/rtpproxy.default0000664000000000000000000000037411027512567012457 0ustar # Defaults for rtpproxy # The control socket. #CONTROL_SOCK="unix:/var/run/rtpproxy/rtpproxy.sock" # To listen on an UDP socket, uncomment this line: #CONTROL_SOCK=udp:127.0.0.1:22222 # Additional options that are passed to the daemon. EXTRA_OPTS="" debian/changelog0000664000000000000000000001142312310764713011047 0ustar rtpproxy (1.2.1-2ubuntu1) trusty; urgency=medium * Use dh_autotools-dev to update config.{sub,guess} for new ports. -- Adam Conrad Fri, 14 Mar 2014 23:47:58 -0600 rtpproxy (1.2.1-2) unstable; urgency=medium * Ack NMU - thanks ~gregoa * Add syslog_format.patch * Switch to dh, debian/compact -> 9 * source/format -> "3.0 (quilt)" * rtpproxy.init add ". /lib/lsb/init-functions" * Fix "old version of manpage" dropped debian/manpage.xml (Closes: #609204) * Fix "depending on automake1.10" dropped versioned depends (Closes: #724431) * lintian-overrides: false positive rtpproxy: maintainer-script-should-not-use-adduser-system-without-home * Update Vcs: headers * Standards-Version: 3.9.5 - no further changes -- Mark Purcell Sun, 16 Feb 2014 15:03:05 +1100 rtpproxy (1.2.1-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: rtpp_syslog_async.c:88: error: format not a string literal and no format arguments": add format argument in rtpp_syslog_async.c. Closes: #614476, LP: #832772 -- gregor herrmann Wed, 19 Oct 2011 22:23:55 +0200 rtpproxy (1.2.1-1) unstable; urgency=low * New upstream release [ Kilian Krause ] * Fix debian/watch. [ Marcus Better ] * Remove README.source since we no longer use quilt. [ Bjoern Boschman ] * Added status() function to init script -- Mark Purcell Fri, 23 Oct 2009 21:09:41 +1100 rtpproxy (1.2.0-1) unstable; urgency=low * New upstream release [ Tzafrir Cohen ] * Fixed get-orig-source target. -- Mark Purcell Mon, 30 Mar 2009 08:08:53 +1100 rtpproxy (1.2~beta.200901120-1) experimental; urgency=low * New upstream release - Upload beta to experimental [ Marcus Better ] * Build with hardening-wrapper. [ Mark Purcell ] * Drop debian/patches/set-ctrl-socket-owner - included upstream - & drop quilt * fixup wget in get-orig-source target * Update debian/watch to handle ~beta -- Mark Purcell Mon, 16 Feb 2009 23:19:02 +1100 rtpproxy (1.1-2) unstable; urgency=medium * Run as user rtpproxy instead of root. (Closes: #489136) * Do not return failure in stop command of init script if the daemon is not running. * Add README.source file explaining quilt usage. * Set umask to make control socket group-writable. -- Marcus Better Tue, 12 Aug 2008 10:10:43 +0000 rtpproxy (1.1-1) unstable; urgency=low * New upstream release - performance enhancements and several new features * Update debian/watch * Modify get-orig-source target to remove upstream debian/ * debian/control updated Description: -- Mark Purcell Sat, 21 Jun 2008 16:34:24 +1000 rtpproxy (1.0.2-1) unstable; urgency=low [ Marcus Better ] * New upstream release. * Updated LSB headers. (Closes: #469111) * Do not install emtpy change log and superfluous README.Debian. (Closes: #470768) * debian/control: Do not build-depend on dpatch, there were no patches. * debian/control: Bump Standards-Version to 3.7.3 and compat version to 5. * debian/control: Build-depend on docbook-xml, needed for man page generation. * debian/rules: Clean up. * debian/watch: Removed outdated file. * Run autotools during build. * debian/copyright: Updated copyright info. * debian/control: Removed Jan Janak from Uploaders field on own request. [ Kilian Krause ] * Don't ignore make clean error. * Add LSB section to init. [ Faidon Liambotis ] * Suggest ser | openser. -- Marcus Better Tue, 25 Mar 2008 11:52:57 +0000 rtpproxy (0.3-2) unstable; urgency=low * Updated Short Description - Fixes: Description improvement (Closes: #359626) -- Mark Purcell Sat, 9 Dec 2006 13:25:29 +0000 rtpproxy (0.3-1) unstable; urgency=low [ Jan Janak ] * Moved to pkg-voip-maintainers svn repository * Added print-version and get-orig-source targets * Support for dpatch [ Kilian Krause ] * Add dpatch to Build-Depends [ Mark Purcell ] * Initial release. (Closes: #356721: ITP: rtpproxy -- RTP proxy for SER - Debian Bug report logs) * Update debian/watch to use svn-upgrade * Upstream NEWS is empty, dont ship debian/docs -- Mark Purcell Tue, 14 Mar 2006 22:50:39 +0000 rtpproxy (0.3-0.1) unstable; urgency=low * New upstream release * Man page is stored in XML docbook, added xsltproc and docbook-xml to build dependencies * Use UDP on localhost for control socket (does not block SER) * specify the pid file explicitly * build manpage in debian/rules -- Jan Janak Mon, 20 Feb 2006 11:15:20 +0100 rtpproxy (0.2-0.1) unstable; urgency=low * Initial Release. -- Jan Janak Tue, 31 May 2005 10:55:30 +0200 debian/compat0000664000000000000000000000000212300033442010355 0ustar 9 debian/rtpproxy.postinst0000664000000000000000000000025712300033442012677 0ustar #!/bin/sh set -e case "$1" in configure) if ! id rtpproxy > /dev/null 2>&1 ; then adduser --system --no-create-home --group rtpproxy fi ;; esac #DEBHELPER# debian/rules0000775000000000000000000000012112310764603010244 0ustar #!/usr/bin/make -f export DEB_BUILD_HARDENING=1 %: dh $@ --with autotools-dev debian/rtpproxy.init0000664000000000000000000000332312300033442011754 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: rtpproxy # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: RTP Proxy # Description: Relay for VoIP media streams ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin NAME=rtpproxy DESC="RTP relay" DAEMON=/usr/sbin/$NAME USER=$NAME GROUP=$USER PIDFILE="/var/run/$NAME/$NAME.pid" PIDFILE_DIR=`dirname $PIDFILE` CONTROL_SOCK="unix:$PIDFILE_DIR/$NAME.sock" test -x $DAEMON || exit 0 umask 002 . /lib/lsb/init-functions # Include defaults if available if [ -f /etc/default/$NAME ] ; then . /etc/default/$NAME fi DAEMON_OPTS="-s $CONTROL_SOCK -u $USER:$GROUP -p $PIDFILE $EXTRA_OPTS" if [ ! -d "$PIDFILE_DIR" ];then mkdir "$PIDFILE_DIR" chown $USER:$GROUP "$PIDFILE_DIR" fi set -e case "$1" in start) echo -n "Starting $DESC: " start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON echo "$NAME." ;; status) echo -n "Status $DESC: " PID=$(cat $PIDFILE) kill -0 $PID rc=$? # Check exit code if [ "$rc" -ne 0 ] then echo "$NAME is NOT running." exit 7 else echo "$NAME is running with PID: $PID" fi ;; restart|force-reload) echo -n "Restarting $DESC: " start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON sleep 1 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|status|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/control0000664000000000000000000000317012310764715010602 0ustar Source: rtpproxy Section: net Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian VoIP Team Uploaders: Mark Purcell , Kilian Krause Build-Depends: hardening-wrapper, debhelper (>= 9), autotools-dev, autoconf, automake, xsltproc, docbook-xsl, docbook-xml Standards-Version: 3.9.5 Homepage: http://www.rtpproxy.org Vcs-Svn: svn://anonscm.debian.org/pkg-voip/rtpproxy/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-voip/rtpproxy/ Package: rtpproxy Architecture: any Depends: adduser, ${shlibs:Depends}, ${misc:Depends} Suggests: ser | openser Description: Relay for Real-time Transport Protocol (RTP) media streams A high-performance media relay for RTP streams that can work together with SIP Express Router, OpenSER or Sippy B2BUA. Its main use is to support SIP user agents behind NAT, but it can also act as a generic media relay. . 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. debian/rtpproxy.lintian-overrides0000664000000000000000000000013012300033442014440 0ustar # false positive rtpproxy: maintainer-script-should-not-use-adduser-system-without-home debian/watch0000664000000000000000000000021611270300330010205 0ustar version=3 opts=uversionmangle=s/.beta/~beta/ http://www.rtpproxy.org http://b2bua.org/chrome/site/rtpproxy-(.*)\.tar\.gz debian svn-upgrade debian/docs0000664000000000000000000000002512300033442010027 0ustar README README.remote debian/patches/0000775000000000000000000000000012300034241010604 5ustar debian/patches/syslog_format.patch0000664000000000000000000000126012300033442014516 0ustar Description: add format argument in rtpp_syslog_async.c Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614476 Index: rtpproxy-1.2.1/rtpp_syslog_async.c =================================================================== --- rtpproxy-1.2.1.orig/rtpp_syslog_async.c 2009-10-06 21:12:41.000000000 +1100 +++ rtpproxy-1.2.1/rtpp_syslog_async.c 2014-02-16 13:55:34.267703849 +1100 @@ -85,7 +85,7 @@ /* main work here */ switch (wi->item_type) { case SYSLOG_ITEM_ASYNC_WRITE: - syslog(wi->priority, wi->data); + syslog(wi->priority, "%s", wi->data); break; case SYSLOG_ITEM_ASYNC_EXIT: debian/patches/series0000664000000000000000000000002412300033442012017 0ustar syslog_format.patch