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.diff -r1.13 -r1.14 pkgsrc/mbone/rtptools/Makefile
(tnn)
@@ -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 | |||
4 | DISTNAME= rtptools-1.21 | 4 | DISTNAME= rtptools-1.22 | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= mbone | 5 | CATEGORIES= mbone | |
7 | #MASTER_SITES= http://www.cs.columbia.edu/IRT/software/rtptools/download/ | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=irtlab/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://web.archive.org/web/20200220182022/http://www.cs.columbia.edu/irt/software/rtptools/ | 9 | HOMEPAGE= https://github.com/irtlab/rtptools | |
11 | COMMENT= Tools for processing RTP data | 10 | COMMENT= Tools for processing RTP data | |
12 | # LICENSE= # See COPYRIGHT file, avoid direct commercial advantate | 11 | LICENSE= modified-bsd | |
13 | 12 | |||
14 | GNU_CONFIGURE= yes | 13 | GNU_CONFIGURE= yes | |
14 | USE_TOOLS+= autoconf automake mandoc | |||
15 | CPPFLAGS+= -Dunix | 15 | CPPFLAGS+= -Dunix | |
16 | BUILD_TARGET= all html | |||
16 | 17 | |||
17 | HTMLDIR= ${PREFIX}/share/doc/rtptools | 18 | HTMLDIR= ${PREFIX}/share/doc/rtptools | |
18 | EGDIR= ${PREFIX}/share/examples/rtptools | 19 | EGDIR= ${PREFIX}/share/examples/rtptools | |
19 | 20 | |||
21 | pre-configure: | |||
22 | cd ${WRKSRC} && autoreconf -i | |||
23 | ||||
20 | post-install: | 24 | post-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" |
@@ -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 $ | |
2 | bin/multidump | |||
3 | bin/multiplay | |||
2 | bin/rtpdump | 4 | bin/rtpdump | |
3 | bin/rtpplay | 5 | bin/rtpplay | |
4 | bin/rtpsend | 6 | bin/rtpsend | |
5 | bin/rtptrans | 7 | bin/rtptrans | |
8 | man/man1/multidump.1 | |||
9 | man/man1/multiplay.1 | |||
10 | man/man1/rtpdump.1 | |||
11 | man/man1/rtpplay.1 | |||
12 | man/man1/rtpsend.1 | |||
13 | man/man1/rtptrans.1 | |||
6 | share/doc/rtptools/ChangeLog.html | 14 | share/doc/rtptools/ChangeLog.html | |
7 | share/doc/rtptools/rtptools.html | 15 | share/doc/rtptools/rtptools.html | |
8 | share/examples/rtptools/multidump | 16 | share/examples/rtptools/multidump | |
9 | share/examples/rtptools/multiplay | 17 | share/examples/rtptools/multiplay |
@@ -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 | |||
3 | BLAKE2s (rtptools-1.21.tar.gz) = 4c9cce09da97120cd4482b848139b0799e2c4af47cee6d6ffcacdcf11b262414 | 3 | BLAKE2s (rtptools-1.22.tar.gz) = 8befc315638a58fe4a98c88bc08322decea403595259b4e0990678993532f601 | |
4 | SHA512 (rtptools-1.21.tar.gz) = 12ddef4ca8f668eadac772e49030584054def0a7ec16336c28b1e5b8d46da66ea93f83d9ee7aa8a92206e38561af08f5bb1eac03082eb66f39781264578183d6 | 4 | SHA512 (rtptools-1.22.tar.gz) = 17cfda22fab8323f491d9ded3df09b2441a4bcecdcba297e8aeb2c57136e5a670de7ce8302b9aa7ef71683e7ad285e7fc60f8ef400f7f6a792306b0c44cc2b14 | |
5 | Size (rtptools-1.21.tar.gz) = 171901 bytes | 5 | Size (rtptools-1.22.tar.gz) = 67439 bytes | |
6 | SHA1 (patch-aa) = 5f661e425b39b26eb1794297ebfcf40df8d281d6 | 6 | SHA1 (patch-configure.ac) = 80f8dde0305ea7a24f51871b85941e6d5447afbe |
$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