summaryrefslogtreecommitdiff
path: root/mbone
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2003-05-07 20:52:44 +0000
committerseb <seb@pkgsrc.org>2003-05-07 20:52:44 +0000
commit33a3f1123c64c64647892259ca44660e9175e961 (patch)
tree98c8606fb40e06ffe16944f208435ba30e9bbe60 /mbone
parent4aae56f30390c7fd12a66db708dd6a93ee79fddd (diff)
downloadpkgsrc-33a3f1123c64c64647892259ca44660e9175e961.tar.gz
Initial import of rtptools version 1.18 into the NetBSD Packages Collection.
The rtptools distribution consists of a number of small applications that can be used for processing RTP data.
Diffstat (limited to 'mbone')
-rw-r--r--mbone/rtptools/DESCR12
-rw-r--r--mbone/rtptools/Makefile27
-rw-r--r--mbone/rtptools/PLIST11
-rw-r--r--mbone/rtptools/distinfo5
-rw-r--r--mbone/rtptools/patches/patch-aa21
5 files changed, 76 insertions, 0 deletions
diff --git a/mbone/rtptools/DESCR b/mbone/rtptools/DESCR
new file mode 100644
index 00000000000..32e4e3f1065
--- /dev/null
+++ b/mbone/rtptools/DESCR
@@ -0,0 +1,12 @@
+The rtptools distribution consists of a number of small applications that
+can be used for processing RTP data:
+
+rtpdump: parse and print RTP packets, generating output files suitable
+ for rtpplay and rtpsend.
+
+rtpplay: play back RTP sessions recorded by rtpdump.
+
+rtpsend: generate RTP packets from textual description, generated by
+ hand or rtpdump.
+
+rtptrans: RTP translator between unicast and multicast networks.
diff --git a/mbone/rtptools/Makefile b/mbone/rtptools/Makefile
new file mode 100644
index 00000000000..d2b0eb5e3c1
--- /dev/null
+++ b/mbone/rtptools/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/07 20:52:44 seb Exp $
+#
+
+DISTNAME= rtptools-1.18
+CATEGORIES= mbone
+MASTER_SITES= http://www.cs.columbia.edu/IRT/software/rtptools/download/
+
+MAINTAINER= seb@netbsd.org
+HOMEPAGE= http://www.cs.columbia.edu/IRT/software/rtptools/
+COMMENT= tools for processing RTP data
+
+USE_BUILDLINK2= yes
+GNU_CONFIGURE= yes
+CPPFLAGS+= -Dunix
+
+HTMLDIR= ${PREFIX}/share/doc/html/rtptools
+EGDIR= ${PREFIX}/share/examples/rtptools
+
+post-install:
+ ${INSTALL_DATA_DIR} ${HTMLDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/rtptools.html ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog.html ${HTMLDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/multidump ${EGDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/multiplay ${EGDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mbone/rtptools/PLIST b/mbone/rtptools/PLIST
new file mode 100644
index 00000000000..c2abc945308
--- /dev/null
+++ b/mbone/rtptools/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/07 20:52:44 seb Exp $
+bin/rtpdump
+bin/rtpplay
+bin/rtpsend
+bin/rtptrans
+share/doc/html/rtptools/ChangeLog.html
+share/doc/html/rtptools/rtptools.html
+share/examples/rtptools/multidump
+share/examples/rtptools/multiplay
+@dirrm share/examples/rtptools
+@dirrm share/doc/html/rtptools
diff --git a/mbone/rtptools/distinfo b/mbone/rtptools/distinfo
new file mode 100644
index 00000000000..52a1907cc15
--- /dev/null
+++ b/mbone/rtptools/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/05/07 20:52:44 seb Exp $
+
+SHA1 (rtptools-1.18.tar.gz) = 04613f8dc74855792db317333ca27a2efd132c28
+Size (rtptools-1.18.tar.gz) = 119272 bytes
+SHA1 (patch-aa) = 152d118a104ba328789338db13fea3982efd441a
diff --git a/mbone/rtptools/patches/patch-aa b/mbone/rtptools/patches/patch-aa
new file mode 100644
index 00000000000..5f7d08dc75d
--- /dev/null
+++ b/mbone/rtptools/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/05/07 20:52:44 seb Exp $
+
+--- rtptrans.c.orig 2002-10-08 10:18:21.000000000 +0000
++++ rtptrans.c
+@@ -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(__FreeBSD__) || defined(__linux__) || defined(__darwin__) /* Or presumably other BSD 4.4 systems */
++#if 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