diff options
author | tnn <tnn@pkgsrc.org> | 2022-04-24 12:02:13 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2022-04-24 12:02:13 +0000 |
commit | c7a950a019a553b973558be31a55e9a75ba6e3a4 (patch) | |
tree | e2f0c8598a45d3691bcefe6fa38817ea36908482 /mbone | |
parent | 294ebab4f550d4337a2c1126ba315bc989bb8ada (diff) | |
download | pkgsrc-c7a950a019a553b973558be31a55e9a75ba6e3a4.tar.gz |
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.
Diffstat (limited to 'mbone')
-rw-r--r-- | mbone/rtptools/Makefile | 16 | ||||
-rw-r--r-- | mbone/rtptools/PLIST | 10 | ||||
-rw-r--r-- | mbone/rtptools/distinfo | 10 | ||||
-rw-r--r-- | mbone/rtptools/patches/patch-aa | 23 | ||||
-rw-r--r-- | mbone/rtptools/patches/patch-configure.ac | 48 |
5 files changed, 72 insertions, 35 deletions
diff --git a/mbone/rtptools/Makefile b/mbone/rtptools/Makefile index 760a298cd0e..be6154d0e30 100644 --- a/mbone/rtptools/Makefile +++ b/mbone/rtptools/Makefile @@ -1,22 +1,26 @@ -# $NetBSD: Makefile,v 1.13 2022/04/24 11:48:43 tnn Exp $ +# $NetBSD: Makefile,v 1.14 2022/04/24 12:02:13 tnn Exp $ # -DISTNAME= rtptools-1.21 -PKGREVISION= 1 +DISTNAME= rtptools-1.22 CATEGORIES= mbone -#MASTER_SITES= http://www.cs.columbia.edu/IRT/software/rtptools/download/ +MASTER_SITES= ${MASTER_SITE_GITHUB:=irtlab/} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= https://web.archive.org/web/20200220182022/http://www.cs.columbia.edu/irt/software/rtptools/ +HOMEPAGE= https://github.com/irtlab/rtptools COMMENT= Tools for processing RTP data -# LICENSE= # See COPYRIGHT file, avoid direct commercial advantate +LICENSE= modified-bsd GNU_CONFIGURE= yes +USE_TOOLS+= autoconf automake mandoc CPPFLAGS+= -Dunix +BUILD_TARGET= all html HTMLDIR= ${PREFIX}/share/doc/rtptools EGDIR= ${PREFIX}/share/examples/rtptools +pre-configure: + cd ${WRKSRC} && autoreconf -i + post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR} ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} diff --git a/mbone/rtptools/PLIST b/mbone/rtptools/PLIST index 44d19055987..911c61f6f37 100644 --- a/mbone/rtptools/PLIST +++ b/mbone/rtptools/PLIST @@ -1,8 +1,16 @@ -@comment $NetBSD: PLIST,v 1.3 2019/10/12 20:14:08 rillig Exp $ +@comment $NetBSD: PLIST,v 1.4 2022/04/24 12:02:13 tnn Exp $ +bin/multidump +bin/multiplay bin/rtpdump bin/rtpplay bin/rtpsend bin/rtptrans +man/man1/multidump.1 +man/man1/multiplay.1 +man/man1/rtpdump.1 +man/man1/rtpplay.1 +man/man1/rtpsend.1 +man/man1/rtptrans.1 share/doc/rtptools/ChangeLog.html share/doc/rtptools/rtptools.html share/examples/rtptools/multidump diff --git a/mbone/rtptools/distinfo b/mbone/rtptools/distinfo index 6242f98f0be..f832c53d39f 100644 --- a/mbone/rtptools/distinfo +++ b/mbone/rtptools/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.7 2021/10/26 10:57:00 nia Exp $ +$NetBSD: distinfo,v 1.8 2022/04/24 12:02:13 tnn Exp $ -BLAKE2s (rtptools-1.21.tar.gz) = 4c9cce09da97120cd4482b848139b0799e2c4af47cee6d6ffcacdcf11b262414 -SHA512 (rtptools-1.21.tar.gz) = 12ddef4ca8f668eadac772e49030584054def0a7ec16336c28b1e5b8d46da66ea93f83d9ee7aa8a92206e38561af08f5bb1eac03082eb66f39781264578183d6 -Size (rtptools-1.21.tar.gz) = 171901 bytes -SHA1 (patch-aa) = 5f661e425b39b26eb1794297ebfcf40df8d281d6 +BLAKE2s (rtptools-1.22.tar.gz) = 8befc315638a58fe4a98c88bc08322decea403595259b4e0990678993532f601 +SHA512 (rtptools-1.22.tar.gz) = 17cfda22fab8323f491d9ded3df09b2441a4bcecdcba297e8aeb2c57136e5a670de7ce8302b9aa7ef71683e7ad285e7fc60f8ef400f7f6a792306b0c44cc2b14 +Size (rtptools-1.22.tar.gz) = 67439 bytes +SHA1 (patch-configure.ac) = 80f8dde0305ea7a24f51871b85941e6d5447afbe diff --git a/mbone/rtptools/patches/patch-aa b/mbone/rtptools/patches/patch-aa deleted file mode 100644 index bf54117ba63..00000000000 --- a/mbone/rtptools/patches/patch-aa +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2017/05/06 08:22:23 mef Exp $ - -Support (generic) BSD - ---- rtptrans.c.orig 2015-01-20 12:28:00.000000000 +0900 -+++ rtptrans.c 2017-05-06 17:11:55.000000000 +0900 -@@ -44,6 +44,7 @@ - * - */ - -+#include <sys/param.h> - #include <sys/types.h> - #include <sys/uio.h> - #include <sys/socket.h> -@@ -326,7 +327,7 @@ static Notify_value socket_handler(Notif - if (side[i][proto].sock != sock) { - msg.msg_name = (caddr_t ) &side[i][proto].sin; - msg.msg_namelen = sizeof(side[i][proto].sin); --#if defined(__unix__) || defined(__FreeBSD__) || defined(__linux__) || defined(__darwin__) /* Or presumably other BSD 4.4 systems */ -+#if defined(__unix__) || defined(__FreeBSD__) || defined(__linux__) || defined(__darwin__) || (defined(BSD) && BSD >= 199306)/* Or presumably other BSD 4.4 systems */ - msg.msg_control = 0; - msg.msg_controllen = 0; - #else diff --git a/mbone/rtptools/patches/patch-configure.ac b/mbone/rtptools/patches/patch-configure.ac new file mode 100644 index 00000000000..6a14315271c --- /dev/null +++ b/mbone/rtptools/patches/patch-configure.ac @@ -0,0 +1,48 @@ +$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 |