summaryrefslogtreecommitdiff
path: root/net/ra-rtsp-proxy
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-09-01 20:25:02 +0000
committertron <tron@pkgsrc.org>1999-09-01 20:25:02 +0000
commitd4b916c30a5847bad7abe4ae2deb4eb4b843723d (patch)
tree55a4e6b068ab45602f77a1dd6812c646738d414f /net/ra-rtsp-proxy
parent4c40b7f414efaabeceb3ea559c124959638a7508 (diff)
downloadpkgsrc-d4b916c30a5847bad7abe4ae2deb4eb4b843723d.tar.gz
Import new "ra-rtsp-proxy" package:
Proxy server for the RealAudio RTSP protocol
Diffstat (limited to 'net/ra-rtsp-proxy')
-rw-r--r--net/ra-rtsp-proxy/Makefile43
-rw-r--r--net/ra-rtsp-proxy/files/md53
-rw-r--r--net/ra-rtsp-proxy/files/patch-sum3
-rw-r--r--net/ra-rtsp-proxy/files/rtspd.sh10
-rw-r--r--net/ra-rtsp-proxy/patches/patch-aa24
-rw-r--r--net/ra-rtsp-proxy/pkg/COMMENT1
-rw-r--r--net/ra-rtsp-proxy/pkg/DESCR5
-rw-r--r--net/ra-rtsp-proxy/pkg/MESSAGE1
-rw-r--r--net/ra-rtsp-proxy/pkg/PLIST7
9 files changed, 97 insertions, 0 deletions
diff --git a/net/ra-rtsp-proxy/Makefile b/net/ra-rtsp-proxy/Makefile
new file mode 100644
index 00000000000..101d357edaa
--- /dev/null
+++ b/net/ra-rtsp-proxy/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/09/01 20:25:02 tron Exp $
+
+DISTNAME= rtspd-src-1.0.0.0
+PKGNAME= ra-rtsp-proxy-1.0.0.0
+CATEGORIES= net
+MASTER_SITES= # empty
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://service.real.com/firewall/fdev.html
+
+LICENSE= no-commercial-use
+MIRROR_DISTFILE= no
+
+DOWNLOAD= http://proforma.real.com/mario/devzone/rtspproxyform.html
+
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+WRKSRC= ${WRKDIR}/rtspd-1.0.0.0a
+
+do-fetch:
+ @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
+ ${ECHO_MSG} "==============================================================="; \
+ ${ECHO_MSG} " The RTSP Proxy Kit must be fetched into \"${DISTDIR}\""; \
+ ${ECHO_MSG} " via the Web formular available under this URL:"; \
+ ${ECHO_MSG} " ${DOWNLOAD}"; \
+ ${ECHO_MSG} "==============================================================="; \
+ ${FALSE}; \
+ fi
+
+post-build:
+ ${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/rtspd.sh >${WRKDIR}/rtspd.sh
+ @${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE \
+ >${MESSAGE_FILE}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/rtspd.sh ${PREFIX}/etc/rc.d
+ ${INSTALL_MAN} ${WRKSRC}/rtspd.8 ${PREFIX}/man/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/rtspd ${PREFIX}/sbin
+ ${MKDIR} ${PREFIX}/share/doc/rtspd
+ ${INSTALL_DATA} ${WRKSRC}/license.txt ${PREFIX}/share/doc/rtspd
+ @${SED} -e 's#/usr/local#${PREFIX}#g' <${WRKSRC}/README \
+ >${PREFIX}/share/doc/rtspd/README
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ra-rtsp-proxy/files/md5 b/net/ra-rtsp-proxy/files/md5
new file mode 100644
index 00000000000..e252208cdf9
--- /dev/null
+++ b/net/ra-rtsp-proxy/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/09/01 20:25:03 tron Exp $
+
+MD5 (rtspd-src-1.0.0.0.tar.gz) = 5b9b4e4dfcc0ba33d2bd3308450a3ffe
diff --git a/net/ra-rtsp-proxy/files/patch-sum b/net/ra-rtsp-proxy/files/patch-sum
new file mode 100644
index 00000000000..9906b60a276
--- /dev/null
+++ b/net/ra-rtsp-proxy/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/09/01 20:25:03 tron Exp $
+
+MD5 (patch-aa) = 83d216b1b19cb9d8b9abfc4bc7308556
diff --git a/net/ra-rtsp-proxy/files/rtspd.sh b/net/ra-rtsp-proxy/files/rtspd.sh
new file mode 100644
index 00000000000..119714934d6
--- /dev/null
+++ b/net/ra-rtsp-proxy/files/rtspd.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# $NetBSD: rtspd.sh,v 1.1.1.1 1999/09/01 20:25:03 tron Exp $
+#
+if [ -x @PREFIX@/sbin/rtspd
+then
+ @PREFIX@/sbin/rtspd
+ echo -n ' rtspd'
+fi
+exit 0
diff --git a/net/ra-rtsp-proxy/patches/patch-aa b/net/ra-rtsp-proxy/patches/patch-aa
new file mode 100644
index 00000000000..f0ccf0a9393
--- /dev/null
+++ b/net/ra-rtsp-proxy/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/09/01 20:25:03 tron Exp $
+
+--- Makefile.orig Thu Jun 17 03:19:02 1999
++++ Makefile Wed Sep 1 21:54:51 1999
+@@ -70,7 +70,7 @@
+ # (Also, see DEBUG_TO_SYSLOG in setup.h.)
+ #
+ #CFLAGS = -O2
+-CFLAGS = -g -DDEBUG
++#CFLAGS = -g -DDEBUG
+
+ #
+ # You can create either a dynamic or a static binary (default: dynamic).
+@@ -81,8 +81,8 @@
+ # List of libraries to link our executable with. Look above for
+ # a section for your OS if you need to adjust this.
+ #
+-LIBS = $(LOCAL_LIBS) -lc
+-#LIBS = $(LOCAL_LIBS)
++#LIBS = $(LOCAL_LIBS) -lc
++LIBS = $(LOCAL_LIBS)
+
+
+ # Only used to create a preformatted manpage, if you want it
diff --git a/net/ra-rtsp-proxy/pkg/COMMENT b/net/ra-rtsp-proxy/pkg/COMMENT
new file mode 100644
index 00000000000..3a6293f1793
--- /dev/null
+++ b/net/ra-rtsp-proxy/pkg/COMMENT
@@ -0,0 +1 @@
+Proxy server for the RealAudio RTSP protocol
diff --git a/net/ra-rtsp-proxy/pkg/DESCR b/net/ra-rtsp-proxy/pkg/DESCR
new file mode 100644
index 00000000000..1dbb555195d
--- /dev/null
+++ b/net/ra-rtsp-proxy/pkg/DESCR
@@ -0,0 +1,5 @@
+Rtspd is a reference implementation of an application-
+level RTSP proxy. This is meant to serve as a reference
+for those writing firewall software. It currently sup-
+ports the following unicast transports: X-REAL-RTP/UDP, X-
+REAL-RTP/TCP, RTP/AVP/UDP and RTP/AVP/TCP.
diff --git a/net/ra-rtsp-proxy/pkg/MESSAGE b/net/ra-rtsp-proxy/pkg/MESSAGE
new file mode 100644
index 00000000000..4f5856aaec8
--- /dev/null
+++ b/net/ra-rtsp-proxy/pkg/MESSAGE
@@ -0,0 +1 @@
+Please add "@PREFIX@/etc/rc.d/rtspd.sh" to "/etc/rc.local".
diff --git a/net/ra-rtsp-proxy/pkg/PLIST b/net/ra-rtsp-proxy/pkg/PLIST
new file mode 100644
index 00000000000..0dc6f8c6278
--- /dev/null
+++ b/net/ra-rtsp-proxy/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/01 20:25:03 tron Exp $
+etc/rc.d/rtspd.sh
+man/man8/rtspd.8
+sbin/rtspd
+share/doc/rtspd/README
+share/doc/rtspd/license.txt
+@dirrm share/doc/rtspd