pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mbone/rtptools rtptools: located new home on Github. U...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eefad106de61
branches: trunk
changeset: 377660:eefad106de61
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Apr 24 12:02:13 2022 +0000
description:
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:
mbone/rtptools/Makefile | 16 ++++++---
mbone/rtptools/PLIST | 10 +++++-
mbone/rtptools/distinfo | 10 +++---
mbone/rtptools/patches/patch-aa | 23 --------------
mbone/rtptools/patches/patch-configure.ac | 48 +++++++++++++++++++++++++++++++
5 files changed, 72 insertions(+), 35 deletions(-)
diffs (151 lines):
diff -r 5484063df0cf -r eefad106de61 mbone/rtptools/Makefile
--- a/mbone/rtptools/Makefile Sun Apr 24 11:48:43 2022 +0000
+++ b/mbone/rtptools/Makefile Sun Apr 24 12:02:13 2022 +0000
@@ -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@localhost
-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 -r 5484063df0cf -r eefad106de61 mbone/rtptools/PLIST
--- a/mbone/rtptools/PLIST Sun Apr 24 11:48:43 2022 +0000
+++ b/mbone/rtptools/PLIST Sun Apr 24 12:02:13 2022 +0000
@@ -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 -r 5484063df0cf -r eefad106de61 mbone/rtptools/distinfo
--- a/mbone/rtptools/distinfo Sun Apr 24 11:48:43 2022 +0000
+++ b/mbone/rtptools/distinfo Sun Apr 24 12:02:13 2022 +0000
@@ -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 -r 5484063df0cf -r eefad106de61 mbone/rtptools/patches/patch-aa
--- a/mbone/rtptools/patches/patch-aa Sun Apr 24 11:48:43 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 5484063df0cf -r eefad106de61 mbone/rtptools/patches/patch-configure.ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbone/rtptools/patches/patch-configure.ac Sun Apr 24 12:02:13 2022 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index