Date: Fri, 25 Feb 2011 16:01:26 GMT From: Gavriloaie Eugen-Andrei <crtmpserver@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/155033: New port: net/crtmpserver High performance C++ RTMP Server Message-ID: <201102251601.p1PG1QCV086443@red.freebsd.org> Resent-Message-ID: <201102251610.p1PGA8E6028590@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 155033 >Category: ports >Synopsis: New port: net/crtmpserver High performance C++ RTMP Server >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 25 16:10:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Gavriloaie Eugen-Andrei >Release: 8.1 >Organization: EVOSTREAM >Environment: FreeBSD devfbsd81i386 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: crtmpserver is a high performance streaming server able to stream (live or recorded) in the following technologies: - To and from Flash (RTMP,RTMPE, RTMPS, RTMPT, RTMPTE) - To and from embedded devices: iPhone, Android - From surveillance cameras - IP-TV using MPEG-TS and RTSP/RTCP/RTP protocols Also, crtmpserver can be used as a high performance rendes-vous server. For example, it enables you to do: - Audio/Video conferencing - Online gaming - Online collaboration - Simple/complex chat applications WWW: http://www.rtmpd.com >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # crtmpserver # crtmpserver/files # crtmpserver/files/crtmpserver.in # crtmpserver/pkg-plist # crtmpserver/Makefile # crtmpserver/pkg-descr # crtmpserver/distinfo # echo c - crtmpserver mkdir -p crtmpserver > /dev/null 2>&1 echo c - crtmpserver/files mkdir -p crtmpserver/files > /dev/null 2>&1 echo x - crtmpserver/files/crtmpserver.in sed 's/^X//' >crtmpserver/files/crtmpserver.in << '1e89f6b7d11e05b94ef707a5b4a14081' X#!/bin/sh X X# $FreeBSD$ X# X# PROVIDE: crtmpserver X# REQUIRE: LOGIN X# KEYWORD: shutdown X# X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf X# to enable this service: X# X# crtmpserver_enable (bool): Set to NO by default. X# Set it to YES to enable doormand. X# crtmpserver_config (path): Set to %%PREFIX%%/etc/crtmpserver.lua X# by default. X# crtmpserver_username (username): Set to crtmpserver X# by default. X# X X. /etc/rc.subr X Xname="crtmpserver" Xrcvar=${name}_enable X Xcommand=%%PREFIX%%/sbin/${name} Xpidfile=/var/run/${name}.pid X Xload_rc_config $name X X: ${crtmpserver_enable="NO"} X: ${crtmpserver_config="%%PREFIX%%/etc/crtmpserver.lua"} X: ${crtmpserver_username="crtmpserver"} X Xcommand_args="--daemon --uid=`id -u $crtmpserver_username` $crtmpserver_config" X Xrun_rc_command "$1" Xps -axo pid,comm|grep crtmpserver|cut -d " " -f1 >/var/run/crtmpserver.pid X 1e89f6b7d11e05b94ef707a5b4a14081 echo x - crtmpserver/pkg-plist sed 's/^X//' >crtmpserver/pkg-plist << '23e6563549a10e1cb8bd0592fe61b4dd' X@stopdaemon crtmpserver X@unexec if cmp -s %D/etc/crtmpserver.lua.sample %D/etc/crtmpserver.lua; then rm -f %D/etc/crtmpserver.lua; fi Xetc/crtmpserver.lua.sample X@exec if [ ! -f %D/etc/crtmpserver.lua ] ; then cp -p %D/%F %B/crtmpserver.lua; fi X Xlib/crtmpserver/liblua.so Xlib/crtmpserver/libcommon.so Xlib/crtmpserver/libthelib.so Xlib/crtmpserver/applications/flvplayback/libflvplayback.so Xlib/crtmpserver/applications/appselector/libappselector.so Xlib/crtmpserver/applications/samplefactory/libsamplefactory.so Xlib/crtmpserver/applications/vptests/libvptests.so Xlib/crtmpserver/applications/admin/libadmin.so Xlib/crtmpserver/applications/proxypublish/libproxypublish.so Xlib/crtmpserver/applications/stresstest/libstresstest.so Xlib/crtmpserver/applications/applestreamingclient/libapplestreamingclient.so Xsbin/crtmpserver X@dirrmtry lib/crtmpserver/applications/flvplayback X@dirrmtry lib/crtmpserver/applications/appselector X@dirrmtry lib/crtmpserver/applications/samplefactory X@dirrmtry lib/crtmpserver/applications/vptests X@dirrmtry lib/crtmpserver/applications/admin X@dirrmtry lib/crtmpserver/applications/proxypublish X@dirrmtry lib/crtmpserver/applications/stresstest X@dirrmtry lib/crtmpserver/applications/applestreamingclient X@dirrmtry lib/crtmpserver/applications X@dirrmtry lib/crtmpserver X@dirrmtry lib X@dirrmtry sbin X@dirrmtry etc X@dirrmtry man/man1 X@dirrmtry man 23e6563549a10e1cb8bd0592fe61b4dd echo x - crtmpserver/Makefile sed 's/^X//' >crtmpserver/Makefile << '3ce67d7dd07e5b58b0ecf2a729e9fb53' X# New ports collection makefile for: crtmpserver X# Date created: 5 December 1994 X# Whom: shiretu X# X# $FreeBSD$ X# X XPORTNAME= crtmpserver XPORTVERSION= 0.355 XCATEGORIES= net XMASTER_SITES= http://freebsd.rtmpd.com/ X XMAINTAINER= support@rtmpd.com XCOMMENT= C++ RTSP/RTMP/MPEG-TS Server X XLIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo X XUSE_CMAKE= yes XCMAKE_OUTSOURCE= yes XCMAKE_SOURCE_PATH= ${WRKSRC}/builders/cmake X#CMAKE_VERBOSE= yes XCMAKE_ARGS= -DCRTMPSERVER_INSTALL_PREFIX:STRING=${CMAKE_INSTALL_PREFIX} -DTEMP_FRAMEWORK_VER=0.355 X XUSERS= crtmpserver XGROUPS= crtmpserver X XUSE_RC_SUBR= crtmpserver X XMAN1= crtmpserver.1 X Xpre-install: X @sh $(WRKSRC)/fixConfFile.sh "${WRKSRC}/builders/cmake/crtmpserver/crtmpserver.lua" "${PREFIX}" "${WRKSRC}" X Xpost-install: X @if [ ! -f ${PREFIX}/etc/crtmpserver.lua ]; then \ X ${CP} -p ${PREFIX}/etc/crtmpserver.lua.sample ${PREFIX}/etc/crtmpserver.lua ; \ X fi X X.include <bsd.port.mk> 3ce67d7dd07e5b58b0ecf2a729e9fb53 echo x - crtmpserver/pkg-descr sed 's/^X//' >crtmpserver/pkg-descr << '7920e7452bf10015536cf24ac380d40e' XHigh performance RTMP/RTSP streaming server X rtmpd is a high performance streaming server able to stream X (live or recorded) in the following technologies: X - To and from Flash (RTMP,RTMPE, RTMPS, RTMPT, RTMPTE) X - To and from embedded devices: iPhone, Android X - From surveillance cameras X - IP-TV using MPEG-TS and RTSP/RTCP/RTP protocols X Also, rtmpd can be used as a high performance rendes-vous server. X For example, it enables you to do: X - Audio/Video conferencing X - Online gaming X - Online collaboration X - Simple/complex chat applications X XWWW: http://www.rtmpd.com 7920e7452bf10015536cf24ac380d40e echo x - crtmpserver/distinfo sed 's/^X//' >crtmpserver/distinfo << 'a616fdc654afc344b1598e4825411947' XSHA256 (crtmpserver-0.355.tar.gz) = 27b36755782879f97151a70103351a0369620b735809bcde7dbe023279885883 XSIZE (crtmpserver-0.355.tar.gz) = 1422310 a616fdc654afc344b1598e4825411947 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102251601.p1PG1QCV086443>