summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Kemper2018-02-17 09:08:50 +0000
committerSebastian Kemper2018-02-17 09:11:35 +0000
commita4462a7432c93a8ee48575b5d977382e0b7badad (patch)
tree7f03946a0a60a0d8a4601b9d9bbd1f4855afb5a4
parent5eff04c674b0bd13bfcbf2f1e3cd4e5372a5efb3 (diff)
downloadtelephony-a4462a7432c93a8ee48575b5d977382e0b7badad.tar.gz
net/rtpproxy: bump to 2.1.0
- Version bump - Refresh debug-disable patch - Add patch to add missing includes to fix: rtpp_record.c: In function 'rtpp_record_open': rtpp_record.c:228:62: error: 'DEFFILEMODE' undeclared (first use in this function) rrc->fd = open(rrc->spath, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE); ^ Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
-rw-r--r--net/rtpproxy/Makefile14
-rw-r--r--net/rtpproxy/patches/102-don-t-build-rtpproxy_debug.patch29
-rw-r--r--net/rtpproxy/patches/103-add-missing-includes.patch36
3 files changed, 54 insertions, 25 deletions
diff --git a/net/rtpproxy/Makefile b/net/rtpproxy/Makefile
index 0c4cc81..084b8ca 100644
--- a/net/rtpproxy/Makefile
+++ b/net/rtpproxy/Makefile
@@ -1,6 +1,6 @@
#
-# Copyright (C) 2014 OpenWrt.org
-# Copyright (C) 2017 Jiri Slachta <jiri@slachta.eu>
+# Copyright (C) 2014 - 2018 OpenWrt.org
+# Copyright (C) 2017 - 2018 Jiri Slachta <jiri@slachta.eu>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -9,15 +9,15 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=rtpproxy
-PKG_VERSION:=2.0.0
-PKG_RELEASE:=2
+PKG_VERSION:=2.1.0-20170914
+PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/sippy/rtpproxy.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=d5926892630139bcbe55d1f3fa36764c881648bc
-PKG_MIRROR_HASH:=7da4a9b83f01b4169cf3f087c76e73fd9b4f5afb8d543c4663e874d8d9b1b26a
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
+PKG_SOURCE_VERSION:=589cc78cb8698b49aa408c6411c8720a2a0efe3c
+PKG_MIRROR_HASH:=087b363a7e5f112fe0c601e147ac087f528a500a25340cbccc12d90935876137
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_CHECK_FORMAT_SECURITY:=0
diff --git a/net/rtpproxy/patches/102-don-t-build-rtpproxy_debug.patch b/net/rtpproxy/patches/102-don-t-build-rtpproxy_debug.patch
index 5d96054..2c8d784 100644
--- a/net/rtpproxy/patches/102-don-t-build-rtpproxy_debug.patch
+++ b/net/rtpproxy/patches/102-don-t-build-rtpproxy_debug.patch
@@ -1,23 +1,16 @@
-Index: rtpproxy-2.0.0/src/Makefile.am
-===================================================================
---- rtpproxy-2.0.0.orig/src/Makefile.am
-+++ rtpproxy-2.0.0/src/Makefile.am
+--- a/src/Makefile.am
++++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-bin_PROGRAMS=rtpproxy rtpproxy_debug
+bin_PROGRAMS=rtpproxy
- rtpproxy_SOURCES=main.c rtp.h rtp_server.c rtp_server.h \
+ BASE_SOURCES=main.c rtp.h rtpp_server.c rtpp_server.h \
rtpp_defines.h rtpp_log.h rtpp_record.c rtpp_record.h rtpp_session.h \
rtpp_util.c rtpp_util.h rtp.c rtp_resizer.c rtp_resizer.h rtpp_session.c \
-Index: rtpproxy-2.0.0/src/Makefile.in
-===================================================================
---- rtpproxy-2.0.0.orig/src/Makefile.in
-+++ rtpproxy-2.0.0/src/Makefile.in
-@@ -78,7 +78,7 @@ PRE_UNINSTALL = :
- POST_UNINSTALL = :
- build_triplet = @build@
- host_triplet = @host@
--bin_PROGRAMS = rtpproxy$(EXEEXT) rtpproxy_debug$(EXEEXT)
-+bin_PROGRAMS = rtpproxy$(EXEEXT)
- subdir = src
- DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
- $(srcdir)/config.h.in $(top_srcdir)/depcomp
+--- a/modules/acct_csv/Makefile.am
++++ b/modules/acct_csv/Makefile.am
+@@ -1,4 +1,4 @@
+-pkglib_LTLIBRARIES = rtpp_acct_csv.la rtpp_acct_csv_debug.la
++pkglib_LTLIBRARIES = rtpp_acct_csv.la
+
+ rtpp_acct_csv_la_SOURCES = rtpp_acct_csv.c
+ rtpp_acct_csv_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
diff --git a/net/rtpproxy/patches/103-add-missing-includes.patch b/net/rtpproxy/patches/103-add-missing-includes.patch
new file mode 100644
index 0000000..57bb163
--- /dev/null
+++ b/net/rtpproxy/patches/103-add-missing-includes.patch
@@ -0,0 +1,36 @@
+--- a/src/rtpp_record.c
++++ b/src/rtpp_record.c
+@@ -48,6 +48,7 @@
+ #include <string.h>
+ #include <unistd.h>
+
++#include "config.h"
+ #include "rtp.h"
+ #include "rtp_packet.h"
+ #include "rtpp_log.h"
+@@ -67,6 +68,7 @@
+ #include "rtpp_session.h"
+ #include "rtpp_stream.h"
+ #include "rtpp_time.h"
++#include "rtpp_util.h"
+ #include "rtpp_pipe.h"
+ #include "rtpp_netaddr.h"
+
+--- a/modules/acct_csv/rtpp_acct_csv.c
++++ b/modules/acct_csv/rtpp_acct_csv.c
+@@ -38,6 +38,7 @@
+ #include <string.h>
+ #include <unistd.h>
+
++#include "config.h"
+ #include "rtpp_ssrc.h"
+ #include "rtpa_stats.h"
+ #include "rtpp_monotime.h"
+@@ -50,6 +51,7 @@
+ #include "rtpp_module.h"
+ #include "rtpp_netaddr.h"
+ #include "rtpp_network.h"
++#include "rtpp_util.h"
+ #include "rtpp_cfg_stable.h"
+
+ #define SSRC_STRLEN 11