diff options
-rw-r--r-- | net/rtptools/Makefile | 19 | ||||
-rw-r--r-- | net/rtptools/distinfo | 6 | ||||
-rw-r--r-- | net/rtptools/files/patch-rtp.h | 16 |
3 files changed, 22 insertions, 19 deletions
diff --git a/net/rtptools/Makefile b/net/rtptools/Makefile index 77a812d3ee7d..c42bf7ee163b 100644 --- a/net/rtptools/Makefile +++ b/net/rtptools/Makefile @@ -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> diff --git a/net/rtptools/distinfo b/net/rtptools/distinfo index 5c405d339ded..9ef99bf815db 100644 --- a/net/rtptools/distinfo +++ b/net/rtptools/distinfo @@ -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 diff --git a/net/rtptools/files/patch-rtp.h b/net/rtptools/files/patch-rtp.h index 456bb3dce34c..469b663d5dba 100644 --- a/net/rtptools/files/patch-rtp.h +++ b/net/rtptools/files/patch-rtp.h @@ -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 */ |