Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2018 09:01:31 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465161 - in head/net/rtptools: . files
Message-ID:  <201803210901.w2L91V72018254@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed Mar 21 09:01:31 2018
New Revision: 465161
URL: https://svnweb.freebsd.org/changeset/ports/465161

Log:
  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

Modified:
  head/net/rtptools/Makefile
  head/net/rtptools/distinfo
  head/net/rtptools/files/patch-rtp.h

Modified: head/net/rtptools/Makefile
==============================================================================
--- head/net/rtptools/Makefile	Wed Mar 21 08:41:27 2018	(r465160)
+++ head/net/rtptools/Makefile	Wed Mar 21 09:01:31 2018	(r465161)
@@ -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>

Modified: head/net/rtptools/distinfo
==============================================================================
--- head/net/rtptools/distinfo	Wed Mar 21 08:41:27 2018	(r465160)
+++ head/net/rtptools/distinfo	Wed Mar 21 09:01:31 2018	(r465161)
@@ -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

Modified: head/net/rtptools/files/patch-rtp.h
==============================================================================
--- head/net/rtptools/files/patch-rtp.h	Wed Mar 21 08:41:27 2018	(r465160)
+++ head/net/rtptools/files/patch-rtp.h	Wed Mar 21 09:01:31 2018	(r465161)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803210901.w2L91V72018254>