From eb0987c5b908f779831606b47d444f80a9c675d9 Mon Sep 17 00:00:00 2001 From: landry Date: Sat, 10 Jul 2021 17:08:16 +0000 Subject: [PATCH] net/ortp: remove, as it's unused and outdated. superseded by/upgraded to telephony/linphone/ortp 5.0.0 --- net/Makefile | 3 +-- net/ortp/Makefile | 27 --------------------------- net/ortp/distinfo | 2 -- net/ortp/patches/patch-src_rtcp_c | 26 -------------------------- net/ortp/pkg/DESCR | 17 ----------------- net/ortp/pkg/PLIST | 20 -------------------- 6 files changed, 1 insertion(+), 94 deletions(-) delete mode 100644 net/ortp/Makefile delete mode 100644 net/ortp/distinfo delete mode 100644 net/ortp/patches/patch-src_rtcp_c delete mode 100644 net/ortp/pkg/DESCR delete mode 100644 net/ortp/pkg/PLIST diff --git a/net/Makefile b/net/Makefile index 76666f17a0e..bdf210c2036 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1260 2021/07/06 20:15:09 tb Exp $ +# $OpenBSD: Makefile,v 1.1261 2021/07/10 17:08:16 landry Exp $ SUBDIR = SUBDIR += adns @@ -335,7 +335,6 @@ SUBDIR += openvpn,mbedtls SUBDIR += openvpn-auth-ldap SUBDIR += openvpn_bsdauth - SUBDIR += ortp SUBDIR += osrtspproxy SUBDIR += owamp SUBDIR += owncloudclient diff --git a/net/ortp/Makefile b/net/ortp/Makefile deleted file mode 100644 index 607340a0f73..00000000000 --- a/net/ortp/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# $OpenBSD: Makefile,v 1.16 2021/01/21 15:43:58 kirby Exp $ - -COMMENT = RTP (RFC3550) library -DISTNAME = ortp-0.25.0 -REVISION = 0 - -SHARED_LIBS += ortp 2.1 # 10.0 - -CATEGORIES = net multimedia -HOMEPAGE = https://www.linphone.org/technical-corner/ortp -# LGPLv2.1 -PERMIT_PACKAGE = Yes - -WANTLIB = crypto m pthread ssl - -MASTER_SITES = https://download.savannah.nongnu.org/releases/linphone/ortp/sources/ - -SEPARATE_BUILD = Yes - -CONFIGURE_STYLE = gnu -CONFIGURE_ARGS = --enable-ssl-hmac \ - --enable-doxygen=no - -# OpenBSD does not support AI_V4MAPPED/AI_ALL -CONFIGURE_ENV = CFLAGS="${CFLAGS} -DAI_V4MAPPED=0 -DAI_ALL" - -.include diff --git a/net/ortp/distinfo b/net/ortp/distinfo deleted file mode 100644 index 9b4fb7fd75c..00000000000 --- a/net/ortp/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (ortp-0.25.0.tar.gz) = DeuCa3mx/TKfdjiCHVQ53DQ7xVuxItqmyQ0ZEWz+jZo= -SIZE (ortp-0.25.0.tar.gz) = 565836 diff --git a/net/ortp/patches/patch-src_rtcp_c b/net/ortp/patches/patch-src_rtcp_c deleted file mode 100644 index 05f0bd9cf65..00000000000 --- a/net/ortp/patches/patch-src_rtcp_c +++ /dev/null @@ -1,26 +0,0 @@ -$OpenBSD: patch-src_rtcp_c,v 1.1 2020/07/31 12:28:18 sthen Exp $ - -clang 10 - -/usr/obj/ports/ortp-0.24.2/ortp-0.24.2/src/rtcp.c:475:25: error: implicit conversion from 'int' to 'float' changes val -ue from 2147483647 to 2147483648 [-Werror,-Wimplicit-int-float-conversion] - return t * ((rand() / (RAND_MAX * 1.0f)) + 0.5f); - ^~~~~~~~ ~ -/usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' -#define RAND_MAX 0x7fffffff - ^~~~~~~~~~ -1 error generated. - - -Index: src/rtcp.c ---- src/rtcp.c.orig -+++ src/rtcp.c -@@ -472,7 +472,7 @@ static void rtp_session_create_and_send_rtcp_packet(Rt - } - - static float rtcp_rand(float t) { -- return t * ((rand() / (RAND_MAX * 1.0f)) + 0.5f); -+ return t * (((float)rand() / ((float)RAND_MAX * 1.0f)) + 0.5f); - } - - /** diff --git a/net/ortp/pkg/DESCR b/net/ortp/pkg/DESCR deleted file mode 100644 index 3a79b9a991c..00000000000 --- a/net/ortp/pkg/DESCR +++ /dev/null @@ -1,17 +0,0 @@ -oRTP - a Real-time Transport Protocol (RFC3550) stack under LGPL. -It implements the RFC3550 (RTP) with a easy to use API with high and -low level access and features: - * Support for multiples profiles, AV profile (RFC3551) being - the one by default. - * A packet scheduler for sending and recieving "on time", according - to their timestamp. Scheduling is optionnal, RTP sessions can remain - not scheduled. - * Mutiplexing I/O, so that hundreds of RTP sessions can be scheduled - by a single thread. - * Adaptive jitter algorithm for a receiver to adapt to the clockrate - of the sender. - * Supports part of RFC2833 for telephone events over RTP. - * The API is well documented using doxygen. - * RTCP messages sent periodically since 0.7.0 (compound packet - including sender report or receiver report + SDES). - * An API to parse incoming RTCP packets. diff --git a/net/ortp/pkg/PLIST b/net/ortp/pkg/PLIST deleted file mode 100644 index 473c1003903..00000000000 --- a/net/ortp/pkg/PLIST +++ /dev/null @@ -1,20 +0,0 @@ -@comment $OpenBSD: PLIST,v 1.8 2020/07/31 12:28:18 sthen Exp $ -include/ortp/ -include/ortp/b64.h -include/ortp/event.h -include/ortp/logging.h -include/ortp/ortp.h -include/ortp/payloadtype.h -include/ortp/port.h -include/ortp/rtcp.h -include/ortp/rtp.h -include/ortp/rtpprofile.h -include/ortp/rtpsession.h -include/ortp/rtpsignaltable.h -include/ortp/sessionset.h -include/ortp/str_utils.h -include/ortp/telephonyevents.h -@static-lib lib/libortp.a -lib/libortp.la -@lib lib/libortp.so.${LIBortp_VERSION} -lib/pkgconfig/ortp.pc