summaryrefslogtreecommitdiff
path: root/net/rtptools
diff options
context:
space:
mode:
Diffstat (limited to 'net/rtptools')
-rw-r--r--net/rtptools/Makefile37
-rw-r--r--net/rtptools/distinfo3
-rw-r--r--net/rtptools/files/patch-rtp.h23
-rw-r--r--net/rtptools/files/patch-rtpdump.c24
-rw-r--r--net/rtptools/files/patch-rtpsend.c24
-rw-r--r--net/rtptools/pkg-descr15
6 files changed, 0 insertions, 126 deletions
diff --git a/net/rtptools/Makefile b/net/rtptools/Makefile
deleted file mode 100644
index c22ce5371232..000000000000
--- a/net/rtptools/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# Created by: fenner
-# $FreeBSD$
-
-PORTNAME= rtptools
-DISTVERSION= 1.22
-CATEGORIES= net mbone
-MASTER_SITES= http://www.cs.columbia.edu/IRT/software/rtptools/download/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Set of tools to record, playback, and monitor RTPv2 data streams
-
-LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-USES= dos2unix
-DOS2UNIX_GLOB= *.c
-GNU_CONFIGURE= yes
-
-.for f in multidump multiplay rtpdump rtpplay rtpsend rtptrans
-PLIST_FILES+= bin/${f}
-PLIST_FILES+= man/man1/${f}.1.gz
-.endfor
-
-OPTIONS_DEFINE= DOCS
-
-PORTDOCS= README.md ChangeLog.html rtptools.html
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} html
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/net/rtptools/distinfo b/net/rtptools/distinfo
deleted file mode 100644
index 9ef99bf815db..000000000000
--- a/net/rtptools/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1521621535
-SHA256 (rtptools-1.22.tar.gz) = 7783a135d945ed1507fd50bde652f223ff2623e44b959b9ed5b7bff61cb9f089
-SIZE (rtptools-1.22.tar.gz) = 8622279
diff --git a/net/rtptools/files/patch-rtp.h b/net/rtptools/files/patch-rtp.h
deleted file mode 100644
index 469b663d5dba..000000000000
--- a/net/rtptools/files/patch-rtp.h
+++ /dev/null
@@ -1,23 +0,0 @@
---- rtp.h.orig 2018-03-20 06:17:35 UTC
-+++ rtp.h
-@@ -130,13 +130,18 @@ typedef struct {
- #define RTCP_VALID_MASK (0xc000 | 0x2000 | 0xfe)
- #define RTCP_VALID_VALUE ((RTP_VERSION << 14) | RTCP_SR)
-
-+#define RTCP_FRACTION(x) (((x) >> 24) & 0xFF)
-+#define RTCP_LOST(x) ((((x) & 0xFFFFFF) < 0x800000) ? \
-+ ((x) & 0xFFFFFF) \
-+ : (((x) & 0xFFFFFF) - 0x1000000))
-+
- /*
- * Reception report block
- */
- typedef struct {
- uint32_t ssrc; /* data source being reported */
-- unsigned int fraction:8; /* fraction lost since last SR/RR */
-- int lost:24; /* cumul. no. pkts lost (signed!) */
-+ uint32_t fraclost; /* fraction lost since last SR/RR and */
-+ /* cumul. no. pkts lost (signed!) */
- uint32_t last_seq; /* extended last seq. no. received */
- uint32_t jitter; /* interarrival jitter */
- uint32_t lsr; /* last SR packet from this source */
diff --git a/net/rtptools/files/patch-rtpdump.c b/net/rtptools/files/patch-rtpdump.c
deleted file mode 100644
index e353f478436a..000000000000
--- a/net/rtptools/files/patch-rtpdump.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- rtpdump.c.orig 2016-06-20 15:59:04 UTC
-+++ rtpdump.c
-@@ -441,8 +441,8 @@ static int parse_control(FILE *out, char
- for (i = 0; i < r->common.count; i++) {
- fprintf(out, " (ssrc=0x%lx fraction=%g lost=%lu last_seq=%lu jit=%lu lsr=%lu dlsr=%lu )\n",
- (unsigned long)ntohl(r->r.sr.rr[i].ssrc),
-- r->r.sr.rr[i].fraction / 256.,
-- (unsigned long)ntohl(r->r.sr.rr[i].lost), /* XXX I'm pretty sure this is wrong */
-+ RTCP_FRACTION(ntohl(r->r.sr.rr[i].fraclost)) / 256.,
-+ RTCP_LOST(ntohl(r->r.sr.rr[i].fraclost)),
- (unsigned long)ntohl(r->r.sr.rr[i].last_seq),
- (unsigned long)ntohl(r->r.sr.rr[i].jitter),
- (unsigned long)ntohl(r->r.sr.rr[i].lsr),
-@@ -458,8 +458,8 @@ static int parse_control(FILE *out, char
- for (i = 0; i < r->common.count; i++) {
- fprintf(out, " (ssrc=0x%lx fraction=%g lost=%lu last_seq=%lu jit=%lu lsr=%lu dlsr=%lu )\n",
- (unsigned long)ntohl(r->r.rr.rr[i].ssrc),
-- r->r.rr.rr[i].fraction / 256.,
-- (unsigned long)ntohl(r->r.rr.rr[i].lost),
-+ RTCP_FRACTION(ntohl(r->r.rr.rr[i].fraclost)) / 256.,
-+ RTCP_LOST(ntohl(r->r.rr.rr[i].fraclost)),
- (unsigned long)ntohl(r->r.rr.rr[i].last_seq),
- (unsigned long)ntohl(r->r.rr.rr[i].jitter),
- (unsigned long)ntohl(r->r.rr.rr[i].lsr),
diff --git a/net/rtptools/files/patch-rtpsend.c b/net/rtptools/files/patch-rtpsend.c
deleted file mode 100644
index 1153d0816ca1..000000000000
--- a/net/rtptools/files/patch-rtpsend.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- rtpsend.c.orig 2016-06-20 15:59:04 UTC
-+++ rtpsend.c
-@@ -354,9 +354,9 @@ static int rtcp_rr(node_t *list, char *p
- if (strcmp(n->type, "ssrc") == 0)
- rr->ssrc = htonl(n->num);
- else if (strcmp(n->type, "fraction") == 0)
-- rr->fraction = (n->num)*256;
-- else if (strcmp(n->type, "lost") == 0) /* PP: alignment OK? */
-- rr->lost = htonl(n->num);
-+ rr->fraclost = htonl((ntohl(rr->fraclost) & 0x00ffffff) | ((n->num)*256 << 24));
-+ else if (strcmp(n->type, "lost") == 0)
-+ rr->fraclost = htonl((ntohl(rr->fraclost) & 0xff000000) | n->num);
- else if (strcmp(n->type, "last_seq") == 0)
- rr->last_seq = htonl(n->num);
- else if (strcmp(n->type, "jit") == 0)
-@@ -926,6 +926,8 @@ int main(int argc, char *argv[])
- local = (struct in_addr *)host->h_addr_list[0];
- sin.sin_addr = *local;
- }
-+ } else {
-+ usage(argv[0]);
- }
-
- /* create/connect sockets */
diff --git a/net/rtptools/pkg-descr b/net/rtptools/pkg-descr
deleted file mode 100644
index be50ee27bf15..000000000000
--- a/net/rtptools/pkg-descr
+++ /dev/null
@@ -1,15 +0,0 @@
-The rtptools distribution consists of a number of small applications that
-can be used for processing RTP data.
-
-rtpplay
- play back RTP sessions recorded by rtpdump
-rtpsend
- generate RTP packets from textual description, generated by hand or
- rtpdump
-rtpdump
- parse and print RTP packets, generating output files suitable for
- rtpplay and rtpsend
-rtptrans
- RTP translator between unicast and multicast networks
-
-WWW: http://www.cs.columbia.edu/irt/software/rtptools/