ports/181924: update for net/crtmpserver
C++ RTMP Server Support
support at rtmpd.com
Sun Sep 8 04:30:02 UTC 2013
The following reply was made to PR ports/181924; it has been noted by GNATS.
From: C++ RTMP Server Support <support at rtmpd.com>
To: bug-followup at FreeBSD.org,
support at rtmpd.com
Cc:
Subject: Re: ports/181924: update for net/crtmpserver
Date: Sun, 8 Sep 2013 07:22:49 +0300
--Apple-Mail=_A703337F-CFCE-42B2-80BE-4DD7C2430513
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
Please disregard the previosu *.shar file. This is the new one which =
fixes the clang compilation issues
Best regards,
Andrei
--Apple-Mail=_A703337F-CFCE-42B2-80BE-4DD7C2430513
Content-Disposition: attachment;
filename=crtmpserver.shar.txt
Content-Type: text/plain;
name="crtmpserver.shar.txt"
Content-Transfer-Encoding: quoted-printable
# 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/pkg-plist
# crtmpserver/pkg-descr
# crtmpserver/distinfo
# crtmpserver/Makefile
# crtmpserver/files
# crtmpserver/files/crtmpserver.in
#
echo c - crtmpserver
mkdir -p crtmpserver > /dev/null 2>&1
echo x - crtmpserver/pkg-plist
sed 's/^X//' >crtmpserver/pkg-plist << =
'23e6563549a10e1cb8bd0592fe61b4dd'
X at stopdaemon crtmpserver
X
X at 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 at exec if [ ! -f %D/etc/crtmpserver.lua ] ; then cp -p %D/%F =
%B/crtmpserver.lua; fi
X
X at unexec if cmp -s %D/etc/crtmpserver.all.lua.sample =
%D/etc/crtmpserver.all.lua; then rm -f %D/etc/crtmpserver.all.lua; fi
Xetc/crtmpserver.all.lua.sample
X at exec if [ ! -f %D/etc/crtmpserver.all.lua ] ; then cp -p %D/%F =
%B/crtmpserver.all.lua; fi
X
X
Xlib/crtmpserver/libtinyxml.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
Xsbin/crtmpserver
X at dirrmtry lib/crtmpserver/applications/flvplayback
X at dirrmtry lib/crtmpserver/applications/appselector
X at dirrmtry lib/crtmpserver/applications/samplefactory
X at dirrmtry lib/crtmpserver/applications/vptests
X at dirrmtry lib/crtmpserver/applications/admin
X at dirrmtry lib/crtmpserver/applications/proxypublish
X at dirrmtry lib/crtmpserver/applications/stresstest
X at dirrmtry lib/crtmpserver/applications
X at dirrmtry lib/crtmpserver
X at dirrmtry var/log/crtmpserver
23e6563549a10e1cb8bd0592fe61b4dd
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 - =46rom surveillance cameras
X - IP-TV using MPEG-TS and RTSP/RTCP/RTP protocols
X Also, rtmpd can be used as a high performance rendez-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.806.tar.gz) =3D =
162333b8559cfdcd1506368eaae0a7143fd4d5ce6d594bc9f44d32db619dab48
XSIZE (crtmpserver-0.806.tar.gz) =3D 1399313
a616fdc654afc344b1598e4825411947
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=3D crtmpserver
XPORTVERSION=3D 0.806
XPORTREVISION=3D 1
XCATEGORIES=3D net
XMASTER_SITES=3D http://rtmpd.com/assets/sources/
X
XMAINTAINER=3D support at rtmpd.com
XCOMMENT=3D C++ RTSP/RTMP/MPEG-TS Server
X
XLIB_DEPENDS=3D execinfo:${PORTSDIR}/devel/libexecinfo
X
XUSE_LUA=3D 5.1
XWANT_LUA_VER=3D 5.1
X
XUSE_CMAKE=3D yes
XCMAKE_OUTSOURCE=3D yes
XCMAKE_SOURCE_PATH=3D ${WRKSRC}/builders/cmake
XCMAKE_BUILD_TYPE=3D Release
XCMAKE_ARGS=3D =
-DCRTMPSERVER_INSTALL_PREFIX:STRING=3D${CMAKE_INSTALL_PREFIX} =
-DTEMP_FRAMEWORK_VER=3D0.806
XUSE_LDCONFIG=3D 1
X
XUSERS=3D crtmpserver
XGROUPS=3D crtmpserver
X
XUSE_RC_SUBR=3D crtmpserver
X
XMAN1=3D crtmpserver.1
X
Xpre-install:
X @${SH} $(WRKSRC)/fixConfFile.sh =
"${WRKSRC}/builders/cmake/crtmpserver/crtmpserver.lua" "${PREFIX}" =
"${WRKSRC}"
X @${SH} $(WRKSRC)/fixConfFile.sh =
"${WRKSRC}/builders/cmake/crtmpserver/all.debug.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 @${MKDIR} ${PREFIX}/var/log/crtmpserver
X
X.include <bsd.port.mk>
3ce67d7dd07e5b58b0ecf2a729e9fb53
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 crtmpserver.
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=3D"crtmpserver"
Xrcvar=3D${name}_enable
X
Xcommand=3D%%PREFIX%%/sbin/${name}
Xpidfile=3D/var/run/${name}.pid
X
Xstart_postcmd=3D"${name}_poststart"
X
Xcrtmpserver_poststart()
X{
X pgrep crtmpserver > /var/run/crtmpserver.pid
X}
X
Xload_rc_config $name
X
X: ${crtmpserver_enable=3D"NO"}
X: ${crtmpserver_config=3D"%%PREFIX%%/etc/crtmpserver.lua"}
X: ${crtmpserver_username=3D"crtmpserver"}
X
Xrequired_files=3D"$crtmpserver_config"
X
Xcommand_args=3D"--daemon --gid=3D`id -g ${crtmpserver_username}` =
--uid=3D`id -u ${crtmpserver_username}` ${required_files}"
X
Xrun_rc_command "$1"
1e89f6b7d11e05b94ef707a5b4a14081
exit
--Apple-Mail=_A703337F-CFCE-42B2-80BE-4DD7C2430513
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii
------
C++ RTMP Server Support
Email: support at rtmpd.com
Web: http://www.rtmpd.com
--Apple-Mail=_A703337F-CFCE-42B2-80BE-4DD7C2430513--
More information about the freebsd-ports-bugs
mailing list