Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 1999 16:24:10 -0700 (PDT)
From:      Richard Kiss <kiss@kalamalka.gizzywump.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12194: Port of rtsp-proxy.
Message-ID:  <199906132324.QAA33754@kalamalka.gizzywump.com>

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

>Number:         12194
>Category:       ports
>Synopsis:       Port of rtsp-proxy.
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 13 16:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Richard Kiss
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:

	

>Description:

	Port of rtsp-proxy.

>How-To-Repeat:


>Fix:
	See below.

# 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:
#
#	rtsp-proxy/
#	rtsp-proxy/Makefile
#	rtsp-proxy/patches
#	rtsp-proxy/patches/patch-aa
#	rtsp-proxy/patches/patch-ab
#	rtsp-proxy/pkg
#	rtsp-proxy/pkg/COMMENT
#	rtsp-proxy/pkg/DESCR
#	rtsp-proxy/pkg/PLIST
#	rtsp-proxy/files
#	rtsp-proxy/files/md5
#
echo c - rtsp-proxy/
mkdir -p rtsp-proxy/ > /dev/null 2>&1
echo x - rtsp-proxy/Makefile
sed 's/^X//' >rtsp-proxy/Makefile << 'END-of-rtsp-proxy/Makefile'
X# New ports collection makefile for: rtsp_proxy
X# Version required: 0.9
X# Date created:	8 June 1999
X# Whom:		Richard Kiss
X#
X# Note that this version number is made up. The
X# distribution does not have any version number
X# associated with it.
X#
X# $Id$
X#
X
XDISTNAME=	rtsp_proxy
XPKGNAME=	rtsp_proxy-0.9
XCATEGORIES=	net
XMASTER_SITES=	ftp://ftp.apple.com/Quicktime/developers/
XEXTRACT_SUFX=	.src.sh
X
XMAINTAINER=	richard@homemail.com
X
XNO_CDROM=       "Apple has a complex license for this software."
XWRKSRC=		${WRKDIR}/${DISTNAME}
X
Xdo-extract:
X	@${RM} -rf ${WRKDIR}
X	@${MKDIR} ${WRKDIR}
X	@cd ${WRKDIR} && yes "I AGREE" | ${SH} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
X
Xdo-build:
X	@cd ${WRKSRC}/proxy_unix && make
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/proxy_unix/rtsp_proxy ${PREFIX}/sbin
X	@ ${INSTALL_SCRIPT} ${WRKSRC}/rtsp_proxy.sh ${PREFIX}/etc/rc.d
X	@ ${INSTALL_DATA} ${WRKSRC}/qts_proxy.conf ${PREFIX}/etc/
X
Xpost-install:
X	@echo "**************************************************************************"
X	@echo "You may need to adjust the configuration in ${PREFIX}/etc/qts_proxy.conf."
X	@echo "**************************************************************************"
X
X.include <bsd.port.mk>
END-of-rtsp-proxy/Makefile
echo c - rtsp-proxy/patches
mkdir -p rtsp-proxy/patches > /dev/null 2>&1
echo x - rtsp-proxy/patches/patch-aa
sed 's/^X//' >rtsp-proxy/patches/patch-aa << 'END-of-rtsp-proxy/patches/patch-aa'
X--- proxy_unix/Makefile	Wed Apr 21 15:45:50 1999
X+++ proxy_unix/Makefile	Tue Jun  8 01:54:44 1999
X@@ -1,6 +1,7 @@
X NAME=rtsp_proxy
X OPT=-g
X FLAGS=$(OPT) -Dunix -I..
X+BSDFLAGS=-DUSE_THREAD=1
X SGIFLAGS=-signed -Xcpluscomm -DUSE_THREAD=1
X SUNFLAGS=-xCC -DUSE_THREAD=1
X LINUXFLAGS=-DUSE_THREAD=0
X@@ -22,6 +23,10 @@
X 	$(MAINDIR)util.h	\
X 	$(MAINDIR)shared_udp.h	\
X 	$(MAINDIR)getopt.h
X+
X+freebsd:	$(NAME)
X+$(NAME):	$(SRC) $(HDR)
X+	$(CC) $(FLAGS) $(BSDFLAGS) $(SRC) -o $(NAME) -lc_r
X 
X sgi:	$(NAME).sgi
X $(NAME).sgi:	$(SRC) $(HDR)
X--- proxy_unix/proxy_unix.c	Wed Apr 21 15:45:50 1999
X+++ proxy_unix/proxy_unix.c	Tue Jun  8 01:51:24 1999
X@@ -67,7 +67,7 @@
X 
X #include "pthread.h"
X 
X-char *gConfigFilePath = "/etc/qts_proxy.conf";
X+char *gConfigFilePath = "/usr/local/etc/qts_proxy.conf";
X char *gOptionsString = "-c:-p:-d-v-h-s";
X char gOptionsChar = '-';
X 
X--- qts_proxy.conf	Wed Apr 21 15:45:50 1999
X+++ qts_proxy.conf	Tue Jun  8 01:51:04 1999
X@@ -7,7 +7,7 @@
X #                           NOTE: lack of this line allows connections from any IP address
X #                           It is best to limit incoming connections to your internal network.
X #
X-allow	 	17.0.0.0/8
X+allow	 	10.0.0.0/8
X 
X #
X # users 					specifies the maximum number of simultaneous users
END-of-rtsp-proxy/patches/patch-aa
echo x - rtsp-proxy/patches/patch-ab
sed 's/^X//' >rtsp-proxy/patches/patch-ab << 'END-of-rtsp-proxy/patches/patch-ab'
X--- rtsp_proxy.sh	Wed Dec 31 16:00:00 1969
X+++ rtsp_proxy.sh	Tue Jun  8 22:54:49 1999
X@@ -0,0 +1,2 @@
X+#!/bin/sh
X+[ -x /usr/local/sbin/rtsp_proxy ] && /usr/local/sbin/rtsp_proxy > /dev/null & && echo $! > /var/run/rtsp_proxy.pid && echo -n ' rtsp_proxy'
END-of-rtsp-proxy/patches/patch-ab
echo c - rtsp-proxy/pkg
mkdir -p rtsp-proxy/pkg > /dev/null 2>&1
echo x - rtsp-proxy/pkg/COMMENT
sed 's/^X//' >rtsp-proxy/pkg/COMMENT << 'END-of-rtsp-proxy/pkg/COMMENT'
XApple Computer's open source RTP/RTSP streaming Quicktime proxy.
END-of-rtsp-proxy/pkg/COMMENT
echo x - rtsp-proxy/pkg/DESCR
sed 's/^X//' >rtsp-proxy/pkg/DESCR << 'END-of-rtsp-proxy/pkg/DESCR'
XThis is a port of Apple Computer's open source rtsp_proxy.
X
XFrom <http://www.apple.com/quicktime/resources/qt4/us/proxy/>:
X
XQuickTime streaming uses RTP/RTSP protocols
X
XRecommendations for Firewall Administrators
XQuickTime follows the conventions of the RTP and RTSP internet standards
Xto stream media over the web. To enable QuickTime 4 to work properly
Xinside your firewall, please follow the following IETF recommendation: 
X
X- Open port 554 for RTSP/TCP data.
X- Open ports 6970 through 6999 (inclusive) for RTP/UDP data.
X
XFor more information on the RTP and RTSP internet standards:
X- RTSP: http://info.internet.isi.edu:80/in-notes/rfc/files/rfc2326.txt 
X- RTP: http://info.internet.isi.edu:80/in-notes/rfc/files/rfc1889.txt 
END-of-rtsp-proxy/pkg/DESCR
echo x - rtsp-proxy/pkg/PLIST
sed 's/^X//' >rtsp-proxy/pkg/PLIST << 'END-of-rtsp-proxy/pkg/PLIST'
Xetc/qts_proxy.conf
Xetc/rc.d/rtsp_proxy.sh
Xsbin/rtsp_proxy
END-of-rtsp-proxy/pkg/PLIST
echo c - rtsp-proxy/files
mkdir -p rtsp-proxy/files > /dev/null 2>&1
echo x - rtsp-proxy/files/md5
sed 's/^X//' >rtsp-proxy/files/md5 << 'END-of-rtsp-proxy/files/md5'
XMD5 (rtsp_proxy.src.sh) = 53e444080fe967f055b549460f0c4b51
END-of-rtsp-proxy/files/md5
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?199906132324.QAA33754>