Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2002 11:22:32 +0200 (CEST)
From:      Volker Stolz <vs@foldr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        obraun@FreeBSD.org
Subject:   ports/44001: New port: net/osrtspproxy, a RTSP streaming proxy
Message-ID:  <200210130922.g9D9MWtJ007575@monster.ikea.net>

next in thread | raw e-mail | index | archive | help

>Number:         44001
>Category:       ports
>Synopsis:       New port: net/osrtspproxy, a RTSP streaming proxy
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 13 02:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD monster.ikea.net 4.6-STABLE FreeBSD 4.6-STABLE #19: Sun Aug 11 16:08:23 CEST 2002 root@monster.ikea.net:/usr/obj/usr/src/sys/MONSTER i386


	
>Description:
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/

This might be good replacement for net/rtsp_proxy which was
dropped recently because the distfiles became unavailable.

>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/net/osrtspproxy
#	/usr/ports/net/osrtspproxy/files
#	/usr/ports/net/osrtspproxy/files/rtspproxy.sh
#	/usr/ports/net/osrtspproxy/pkg-comment
#	/usr/ports/net/osrtspproxy/pkg-descr
#	/usr/ports/net/osrtspproxy/Makefile
#	/usr/ports/net/osrtspproxy/distinfo
#	/usr/ports/net/osrtspproxy/pkg-plist
#
echo c - /usr/ports/net/osrtspproxy
mkdir -p /usr/ports/net/osrtspproxy > /dev/null 2>&1
echo c - /usr/ports/net/osrtspproxy/files
mkdir -p /usr/ports/net/osrtspproxy/files > /dev/null 2>&1
echo x - /usr/ports/net/osrtspproxy/files/rtspproxy.sh
sed 's/^X//' >/usr/ports/net/osrtspproxy/files/rtspproxy.sh << 'END-of-/usr/ports/net/osrtspproxy/files/rtspproxy.sh'
X#!/bin/sh
X
Xif ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
X    echo "$0: Cannot determine the PREFIX" >&2
X    exit 1
Xfi
X
Xcase "$1" in
Xstart)
X	[ -x ${PREFIX}/sbin/rtspproxy ] && ${PREFIX}/sbin/rtspproxy > /dev/null 2>&1 & echo -n ' rtspproxy'
X	;;
Xstop)
X	killall rtspproxy && echo -n ' rtspproxy'
X	;;
X*)
X	echo "Usage: `basename $0` {start|stop}" >&2
X	;;
Xesac
X
Xexit 0
END-of-/usr/ports/net/osrtspproxy/files/rtspproxy.sh
echo x - /usr/ports/net/osrtspproxy/pkg-comment
sed 's/^X//' >/usr/ports/net/osrtspproxy/pkg-comment << 'END-of-/usr/ports/net/osrtspproxy/pkg-comment'
XThe RTSP Proxy Kit is a reference implementation of an RTSP proxy
END-of-/usr/ports/net/osrtspproxy/pkg-comment
echo x - /usr/ports/net/osrtspproxy/pkg-descr
sed 's/^X//' >/usr/ports/net/osrtspproxy/pkg-descr << 'END-of-/usr/ports/net/osrtspproxy/pkg-descr'
XThe RTSP Proxy Kit is a reference implementation of an RTSP proxy.
X
XRTSP (RFC 2326) is a client-server multimedia presentation control
Xprotocol, used e.g. by RealNetworks RealPlayer.
X
XWWW: http://www.rtsp.org/2001/proxy/
END-of-/usr/ports/net/osrtspproxy/pkg-descr
echo x - /usr/ports/net/osrtspproxy/Makefile
sed 's/^X//' >/usr/ports/net/osrtspproxy/Makefile << 'END-of-/usr/ports/net/osrtspproxy/Makefile'
X# New ports collection makefile for:	osrtspproxy
X# Date created:			2002-10-13
X# Whom:				Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	osrtspproxy
XPORTVERSION=	2.0
XCATEGORIES=	net
XMASTER_SITES=	http://docs.real.com/docs/proxykit/
XDISTNAME=	${PORTNAME}_2_0
X
XMAINTAINER=	stolz@i2.informatik.rwth-aachen.de
X
XHAS_CONFIGURE=	YES
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/rtspproxy/rtspproxy ${PREFIX}/sbin
X	${INSTALL_SCRIPT} ${FILESDIR}/rtspproxy.sh ${PREFIX}/etc/rc.d/rtspproxy.sh.sample
X
X.include <bsd.port.mk>
END-of-/usr/ports/net/osrtspproxy/Makefile
echo x - /usr/ports/net/osrtspproxy/distinfo
sed 's/^X//' >/usr/ports/net/osrtspproxy/distinfo << 'END-of-/usr/ports/net/osrtspproxy/distinfo'
XMD5 (osrtspproxy_2_0.tar.gz) = fcce6704fe995f90cdb4b9ae440d2c20
END-of-/usr/ports/net/osrtspproxy/distinfo
echo x - /usr/ports/net/osrtspproxy/pkg-plist
sed 's/^X//' >/usr/ports/net/osrtspproxy/pkg-plist << 'END-of-/usr/ports/net/osrtspproxy/pkg-plist'
Xsbin/rtspproxy
Xetc/rc.d/rtspproxy.sh.sample
END-of-/usr/ports/net/osrtspproxy/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210130922.g9D9MWtJ007575>