diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2002-10-17 08:04:42 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2002-10-17 08:04:42 +0000 |
commit | ab3e04ca03885218a412d90a2a0a1d38be6cb5c0 (patch) | |
tree | 2840afe133a29ad9bb37f84e5d658735a433e557 /net | |
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')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/osrtspproxy/Makefile | 22 | ||||
-rw-r--r-- | net/osrtspproxy/distinfo | 1 | ||||
-rw-r--r-- | net/osrtspproxy/files/rtspproxy.sh | 20 | ||||
-rw-r--r-- | net/osrtspproxy/pkg-comment | 1 | ||||
-rw-r--r-- | net/osrtspproxy/pkg-descr | 6 | ||||
-rw-r--r-- | net/osrtspproxy/pkg-plist | 2 |
7 files changed, 53 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 0f2dee623941..0a8648bbc56a 100644 --- a/net/Makefile +++ b/net/Makefile @@ -336,6 +336,7 @@ SUBDIR += openslp SUBDIR += openverse SUBDIR += oproute + SUBDIR += osrtspproxy SUBDIR += p0f SUBDIR += p5-Archie SUBDIR += p5-BIND-Conf_Parser 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 |