summaryrefslogtreecommitdiffstats
path: root/net/osrtspproxy
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2002-10-17 08:04:42 +0000
committervanilla <vanilla@FreeBSD.org>2002-10-17 08:04:42 +0000
commit2c19c9f3651cb4e9ffda5977d80ea1b9b44bed0c (patch)
tree0748ac9e9f7863c1048cdf9373d06d3af1ee84e2 /net/osrtspproxy
parent148fa762c84a1092a41144f6c148355739552508 (diff)
downloadFreeBSD-ports-2c19c9f3651cb4e9ffda5977d80ea1b9b44bed0c.zip
FreeBSD-ports-2c19c9f3651cb4e9ffda5977d80ea1b9b44bed0c.tar.gz
Add osrtspproxy, The RTSP Proxy Kit is a reference implementation
of an RTSP proxy. PR: ports/44001 Submitted by: Volker Stolz <vs@foldr.org>
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 0000000..77f6322
--- /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 0000000..7278e8f
--- /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 0000000..cc7836e
--- /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 0000000..1f48ea4
--- /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 0000000..32099ac
--- /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 0000000..f12abdb
--- /dev/null
+++ b/net/osrtspproxy/pkg-plist
@@ -0,0 +1,2 @@
+sbin/rtspproxy
+etc/rc.d/rtspproxy.sh.sample
OpenPOWER on IntegriCloud