summaryrefslogtreecommitdiff
path: root/net/osrtspproxy
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2002-10-17 08:04:42 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2002-10-17 08:04:42 +0000
commitab3e04ca03885218a412d90a2a0a1d38be6cb5c0 (patch)
tree2840afe133a29ad9bb37f84e5d658735a433e557 /net/osrtspproxy
parent- Update to version 3.08 (diff)
Add osrtspproxy, The RTSP Proxy Kit is a reference implementation
of an RTSP proxy. PR: ports/44001 Submitted by: Volker Stolz <vs@foldr.org>
Notes
Notes: svn path=/head/; revision=68194
Diffstat (limited to 'net/osrtspproxy')
-rw-r--r--net/osrtspproxy/Makefile22
-rw-r--r--net/osrtspproxy/distinfo1
-rw-r--r--net/osrtspproxy/files/rtspproxy.sh20
-rw-r--r--net/osrtspproxy/pkg-comment1
-rw-r--r--net/osrtspproxy/pkg-descr6
-rw-r--r--net/osrtspproxy/pkg-plist2
6 files changed, 52 insertions, 0 deletions
diff --git a/net/osrtspproxy/Makefile b/net/osrtspproxy/Makefile
new file mode 100644
index 000000000000..77f632214ea7
--- /dev/null
+++ b/net/osrtspproxy/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: osrtspproxy
+# Date created: 2002-10-13
+# Whom: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= osrtspproxy
+PORTVERSION= 2.0
+CATEGORIES= net
+MASTER_SITES= http://docs.real.com/docs/proxykit/
+DISTNAME= ${PORTNAME}_2_0
+
+MAINTAINER= stolz@i2.informatik.rwth-aachen.de
+
+HAS_CONFIGURE= YES
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/rtspproxy/rtspproxy ${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${FILESDIR}/rtspproxy.sh ${PREFIX}/etc/rc.d/rtspproxy.sh.sample
+
+.include <bsd.port.mk>
diff --git a/net/osrtspproxy/distinfo b/net/osrtspproxy/distinfo
new file mode 100644
index 000000000000..7278e8f4a3a0
--- /dev/null
+++ b/net/osrtspproxy/distinfo
@@ -0,0 +1 @@
+MD5 (osrtspproxy_2_0.tar.gz) = fcce6704fe995f90cdb4b9ae440d2c20
diff --git a/net/osrtspproxy/files/rtspproxy.sh b/net/osrtspproxy/files/rtspproxy.sh
new file mode 100644
index 000000000000..cc7836e0e4af
--- /dev/null
+++ b/net/osrtspproxy/files/rtspproxy.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
+ echo "$0: Cannot determine the PREFIX" >&2
+ exit 1
+fi
+
+case "$1" in
+start)
+ [ -x ${PREFIX}/sbin/rtspproxy ] && ${PREFIX}/sbin/rtspproxy > /dev/null 2>&1 & echo -n ' rtspproxy'
+ ;;
+stop)
+ killall rtspproxy && echo -n ' rtspproxy'
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0
diff --git a/net/osrtspproxy/pkg-comment b/net/osrtspproxy/pkg-comment
new file mode 100644
index 000000000000..1f48ea4cb15e
--- /dev/null
+++ b/net/osrtspproxy/pkg-comment
@@ -0,0 +1 @@
+The RTSP Proxy Kit is a reference implementation of an RTSP proxy
diff --git a/net/osrtspproxy/pkg-descr b/net/osrtspproxy/pkg-descr
new file mode 100644
index 000000000000..32099ac83733
--- /dev/null
+++ b/net/osrtspproxy/pkg-descr
@@ -0,0 +1,6 @@
+The RTSP Proxy Kit is a reference implementation of an RTSP proxy.
+
+RTSP (RFC 2326) is a client-server multimedia presentation control
+protocol, used e.g. by RealNetworks RealPlayer.
+
+WWW: http://www.rtsp.org/2001/proxy/
diff --git a/net/osrtspproxy/pkg-plist b/net/osrtspproxy/pkg-plist
new file mode 100644
index 000000000000..f12abdb7d56a
--- /dev/null
+++ b/net/osrtspproxy/pkg-plist
@@ -0,0 +1,2 @@
+sbin/rtspproxy
+etc/rc.d/rtspproxy.sh.sample