Sun Apr 24 12:02:14 2022 UTC ()
rtptools: located new home on Github. Update to 1.22.

1.22 (July 2018)
Add man pages.
Change license to 3-clause BSD.
Replace typedef unsigned char u_int8 etc with stdint.h types.
Update to new autotools.
Generate html versions from man pages.
Reflect the manpages in the homepage.
Fix recvmsg() on Solaris.
Detect clang for compiling.
Fix generating a rpm package.
Fix building on Windows.


(tnn)
diff -r1.13 -r1.14 pkgsrc/mbone/rtptools/Makefile
diff -r1.3 -r1.4 pkgsrc/mbone/rtptools/PLIST
diff -r1.7 -r1.8 pkgsrc/mbone/rtptools/distinfo
diff -r1.2 -r0 pkgsrc/mbone/rtptools/patches/patch-aa
diff -r0 -r1.1 pkgsrc/mbone/rtptools/patches/patch-configure.ac

cvs diff -r1.13 -r1.14 pkgsrc/mbone/rtptools/Makefile (expand / switch to unified diff)

--- pkgsrc/mbone/rtptools/Makefile 2022/04/24 11:48:43 1.13
+++ pkgsrc/mbone/rtptools/Makefile 2022/04/24 12:02:13 1.14
@@ -1,28 +1,32 @@ @@ -1,28 +1,32 @@
1# $NetBSD: Makefile,v 1.13 2022/04/24 11:48:43 tnn Exp $ 1# $NetBSD: Makefile,v 1.14 2022/04/24 12:02:13 tnn Exp $
2# 2#
3 3
4DISTNAME= rtptools-1.21 4DISTNAME= rtptools-1.22
5PKGREVISION= 1 
6CATEGORIES= mbone 5CATEGORIES= mbone
7#MASTER_SITES= http://www.cs.columbia.edu/IRT/software/rtptools/download/ 6MASTER_SITES= ${MASTER_SITE_GITHUB:=irtlab/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://web.archive.org/web/20200220182022/http://www.cs.columbia.edu/irt/software/rtptools/ 9HOMEPAGE= https://github.com/irtlab/rtptools
11COMMENT= Tools for processing RTP data 10COMMENT= Tools for processing RTP data
12# LICENSE= # See COPYRIGHT file, avoid direct commercial advantate 11LICENSE= modified-bsd
13 12
14GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
 14USE_TOOLS+= autoconf automake mandoc
15CPPFLAGS+= -Dunix 15CPPFLAGS+= -Dunix
 16BUILD_TARGET= all html
16 17
17HTMLDIR= ${PREFIX}/share/doc/rtptools 18HTMLDIR= ${PREFIX}/share/doc/rtptools
18EGDIR= ${PREFIX}/share/examples/rtptools 19EGDIR= ${PREFIX}/share/examples/rtptools
19 20
 21pre-configure:
 22 cd ${WRKSRC} && autoreconf -i
 23
20post-install: 24post-install:
21 ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR} 25 ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
22 ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} 26 ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
23 ${INSTALL_DATA} ${WRKSRC}/rtptools.html ${DESTDIR}${HTMLDIR} 27 ${INSTALL_DATA} ${WRKSRC}/rtptools.html ${DESTDIR}${HTMLDIR}
24 ${INSTALL_DATA} ${WRKSRC}/ChangeLog.html ${DESTDIR}${HTMLDIR} 28 ${INSTALL_DATA} ${WRKSRC}/ChangeLog.html ${DESTDIR}${HTMLDIR}
25 ${INSTALL_SCRIPT} ${WRKSRC}/multidump ${DESTDIR}${EGDIR} 29 ${INSTALL_SCRIPT} ${WRKSRC}/multidump ${DESTDIR}${EGDIR}
26 ${INSTALL_SCRIPT} ${WRKSRC}/multiplay ${DESTDIR}${EGDIR} 30 ${INSTALL_SCRIPT} ${WRKSRC}/multiplay ${DESTDIR}${EGDIR}
27 31
28.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/mbone/rtptools/PLIST (expand / switch to unified diff)

--- pkgsrc/mbone/rtptools/PLIST 2019/10/12 20:14:08 1.3
+++ pkgsrc/mbone/rtptools/PLIST 2022/04/24 12:02:13 1.4
@@ -1,9 +1,17 @@ @@ -1,9 +1,17 @@
1@comment $NetBSD: PLIST,v 1.3 2019/10/12 20:14:08 rillig Exp $ 1@comment $NetBSD: PLIST,v 1.4 2022/04/24 12:02:13 tnn Exp $
 2bin/multidump
 3bin/multiplay
2bin/rtpdump 4bin/rtpdump
3bin/rtpplay 5bin/rtpplay
4bin/rtpsend 6bin/rtpsend
5bin/rtptrans 7bin/rtptrans
 8man/man1/multidump.1
 9man/man1/multiplay.1
 10man/man1/rtpdump.1
 11man/man1/rtpplay.1
 12man/man1/rtpsend.1
 13man/man1/rtptrans.1
6share/doc/rtptools/ChangeLog.html 14share/doc/rtptools/ChangeLog.html
7share/doc/rtptools/rtptools.html 15share/doc/rtptools/rtptools.html
8share/examples/rtptools/multidump 16share/examples/rtptools/multidump
9share/examples/rtptools/multiplay 17share/examples/rtptools/multiplay

cvs diff -r1.7 -r1.8 pkgsrc/mbone/rtptools/distinfo (expand / switch to unified diff)

--- pkgsrc/mbone/rtptools/distinfo 2021/10/26 10:57:00 1.7
+++ pkgsrc/mbone/rtptools/distinfo 2022/04/24 12:02:13 1.8
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.7 2021/10/26 10:57:00 nia Exp $ 1$NetBSD: distinfo,v 1.8 2022/04/24 12:02:13 tnn Exp $
2 2
3BLAKE2s (rtptools-1.21.tar.gz) = 4c9cce09da97120cd4482b848139b0799e2c4af47cee6d6ffcacdcf11b262414 3BLAKE2s (rtptools-1.22.tar.gz) = 8befc315638a58fe4a98c88bc08322decea403595259b4e0990678993532f601
4SHA512 (rtptools-1.21.tar.gz) = 12ddef4ca8f668eadac772e49030584054def0a7ec16336c28b1e5b8d46da66ea93f83d9ee7aa8a92206e38561af08f5bb1eac03082eb66f39781264578183d6 4SHA512 (rtptools-1.22.tar.gz) = 17cfda22fab8323f491d9ded3df09b2441a4bcecdcba297e8aeb2c57136e5a670de7ce8302b9aa7ef71683e7ad285e7fc60f8ef400f7f6a792306b0c44cc2b14
5Size (rtptools-1.21.tar.gz) = 171901 bytes 5Size (rtptools-1.22.tar.gz) = 67439 bytes
6SHA1 (patch-aa) = 5f661e425b39b26eb1794297ebfcf40df8d281d6 6SHA1 (patch-configure.ac) = 80f8dde0305ea7a24f51871b85941e6d5447afbe

File Deleted: pkgsrc/mbone/rtptools/patches/Attic/patch-aa

File Added: pkgsrc/mbone/rtptools/patches/patch-configure.ac
$NetBSD: patch-configure.ac,v 1.1 2022/04/24 12:02:14 tnn Exp $

shell portability

--- configure.ac.orig	2018-03-24 13:37:56.000000000 +0000
+++ configure.ac
@@ -21,33 +21,33 @@ AC_PROG_CPP
 AC_PROG_INSTALL
 
 AC_CHECK_PROG([FOUND_CLANG], [clang], [yes])
-if test "x$FOUND_CLANG" == "xyes" ; then
+if test "x$FOUND_CLANG" = "xyes" ; then
   CC="clang"
 fi
 
-if test "x$GCC" == "xyes" -o "x$CC" == "xclang"; then
+if test "x$GCC" = "xyes" -o "x$CC" = "xclang"; then
   CFLAGS="$CFLAGS -Wall"
 fi
 
 dnl Checks for html conversion tool from man page
 AC_CHECK_PROG([FOUND_GROFF], [groff], [yes])
-if test x"$FOUND_GROFF" == x"yes" ; then
+if test x"$FOUND_GROFF" = x"yes" ; then
   if $(groff -Thtml -mdoc rtpplay.1 > /dev/null 2>&1) ; then
     WORKS_GROFF="yes"
   fi
 fi
-AM_CONDITIONAL([HAVE_GROFF], [test x"$WORKS_GROFF" == x"yes"])
+AM_CONDITIONAL([HAVE_GROFF], [test x"$WORKS_GROFF" = x"yes"])
 
 AC_CHECK_PROG([FOUND_MANDOC], [mandoc], [yes])
-if test x"$FOUND_MANDOC" == x"yes" ; then
+if test x"$FOUND_MANDOC" = x"yes" ; then
   if $(mandoc -Thtml rtpplay.1 > /dev/null 2>&1)  ; then
     WORKS_MANDOC="yes"
   fi
 fi
-AM_CONDITIONAL([HAVE_MANDOC], [test x"$WORKS_MANDOC" == x"yes"])
+AM_CONDITIONAL([HAVE_MANDOC], [test x"$WORKS_MANDOC" = x"yes"])
 
-AM_CONDITIONAL([FOUND_GEN_HTML], [test x"$WORKS_GROFF" == x"yes"] || 
-  [test x"$WORKS_MANDOC" == x"yes"])
+AM_CONDITIONAL([FOUND_GEN_HTML], [test x"$WORKS_GROFF" = x"yes"] || 
+  [test x"$WORKS_MANDOC" = x"yes"])
 
 dnl Checks for header files.
 AC_HEADER_STDC