net/rtptools: Update to 1.22

Port changes:
* Change to DISTVERSION
* License changed to BSD3CLAUSE
* Add 2 more executables
* Update PORTDOCS
* Add 'html' target for DOCS

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2018-03-21 09:01:31 +00:00
parent c99b1e11a4
commit 4e5091b83a
3 changed files with 22 additions and 19 deletions

View file

@ -2,29 +2,32 @@
# $FreeBSD$
PORTNAME= rtptools
PORTVERSION= 1.21
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= CUL
LICENSE_NAME= Columbia University License
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= dos2unix
USES= dos2unix
DOS2UNIX_GLOB= *.c
GNU_CONFIGURE= yes
PLIST_FILES= bin/rtpdump bin/rtpplay bin/rtpsend bin/rtptrans
PORTDOCS= README ChangeLog.html rtptools.html
.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>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1467752572
SHA256 (rtptools-1.21.tar.gz) = 2ddbf6d3a4dbdef26ca85e860f6795264a359d30e24fd63f14a8c4f7ca331830
SIZE (rtptools-1.21.tar.gz) = 171901
TIMESTAMP = 1521621535
SHA256 (rtptools-1.22.tar.gz) = 7783a135d945ed1507fd50bde652f223ff2623e44b959b9ed5b7bff61cb9f089
SIZE (rtptools-1.22.tar.gz) = 8622279

View file

@ -1,6 +1,6 @@
--- rtp.h.orig 2001-12-29 12:48:24 UTC
--- rtp.h.orig 2018-03-20 06:17:35 UTC
+++ rtp.h
@@ -112,13 +112,18 @@ typedef struct {
@@ -130,13 +130,18 @@ typedef struct {
#define RTCP_VALID_MASK (0xc000 | 0x2000 | 0xfe)
#define RTCP_VALID_VALUE ((RTP_VERSION << 14) | RTCP_SR)
@ -13,11 +13,11 @@
* Reception report block
*/
typedef struct {
u_int32 ssrc; /* data source being reported */
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!) */
+ u_int32 fraclost; /* fraction lost since last SR/RR and */
+ /* cumul. no. pkts lost (signed!) */
u_int32 last_seq; /* extended last seq. no. received */
u_int32 jitter; /* interarrival jitter */
u_int32 lsr; /* last SR packet from this source */
+ 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 */