summaryrefslogtreecommitdiff
path: root/www/red5
diff options
context:
space:
mode:
Diffstat (limited to 'www/red5')
-rw-r--r--www/red5/Makefile53
-rw-r--r--www/red5/distinfo2
-rw-r--r--www/red5/files/red5.in196
-rw-r--r--www/red5/pkg-descr9
-rw-r--r--www/red5/pkg-plist175
5 files changed, 0 insertions, 435 deletions
diff --git a/www/red5/Makefile b/www/red5/Makefile
deleted file mode 100644
index 4345ea0ff5e0..000000000000
--- a/www/red5/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= red5
-PORTVERSION= 1.0.1
-CATEGORIES= www java
-MASTER_SITES= http://www.red5.org/downloads/red5/1_0_1/ \
- http://red5.rmdir.fr/
-
-MAINTAINER= joris.dedieu@gmail.com
-COMMENT= Red5 is an Open Source Flash Server
-
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2020-05-05
-
-USE_JAVA= yes
-NO_BUILD= yes
-NO_ARCH= yes
-USE_RC_SUBR= red5
-WRKSRC= ${WRKDIR}/red5-server-1.0
-
-RED5_USER?= ${WWWOWN}
-RED5_GRP?= ${WWWGRP}
-RED5_HOME?= ${PREFIX}/${PORTNAME}
-
-SUB_LIST+= RED5_USER=${RED5_USER} RED5_HOME=${RED5_HOME}
-PLIST_SUB= RED5_USER=${RED5_USER} RED5_GRP=${RED5_GRP}
-
-post-patch:
- @${REINPLACE_CMD} -e 's/host=0.0.0.0/host=127.0.0.1/' ${WRKSRC}/conf/red5.properties
- @${RM} ${WRKSRC}/conf/red5.properties.bak
- (cd ${WRKSRC}/conf \
- && for conf in `find . -type f` ; \
- do ${MV} $$conf $$conf.sample ; \
- done)
-.for webappssubdir in installer root live vod
- (cd ${WRKSRC}/webapps/${webappssubdir}/WEB-INF \
- && for conf in * ; \
- do ${MV} $$conf $$conf.sample ; \
- done)
-.endfor
- ${MV} ${WRKSRC}/webapps/red5-default.xml ${WRKSRC}/webapps/red5-default.xml.sample
-
-do-install:
- ${MKDIR} ${STAGEDIR}${RED5_HOME}/conf ${STAGEDIR}${RED5_HOME}/lib ${STAGEDIR}${RED5_HOME}/webapps ${STAGEDIR}${RED5_HOME}/log ${STAGEDIR}${RED5_HOME}/plugins
- ${INSTALL} ${WRKSRC}/red5-server-1.0-bootstrap.jar ${STAGEDIR}${RED5_HOME}
- ${INSTALL} ${WRKSRC}/red5-server-1.0.jar ${STAGEDIR}${RED5_HOME}
- (cd ${WRKSRC}/conf && ${COPYTREE_SHARE} \* ${STAGEDIR}${RED5_HOME}/conf)
- (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} \* ${STAGEDIR}${RED5_HOME}/lib)
- (cd ${WRKSRC}/webapps && ${COPYTREE_SHARE} \* ${STAGEDIR}${RED5_HOME}/webapps)
- (cd ${WRKSRC}/plugins && ${COPYTREE_SHARE} \* ${STAGEDIR}${RED5_HOME}/plugins)
-
-.include <bsd.port.mk>
diff --git a/www/red5/distinfo b/www/red5/distinfo
deleted file mode 100644
index 266cc8eb4d68..000000000000
--- a/www/red5/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (red5-1.0.1.tar.gz) = d4c48cbb1bb5867a6b98be900034dc13008c9d0169bf3750a0697be4c86aa9d9
-SIZE (red5-1.0.1.tar.gz) = 51285531
diff --git a/www/red5/files/red5.in b/www/red5/files/red5.in
deleted file mode 100644
index fac3bd9084f3..000000000000
--- a/www/red5/files/red5.in
+++ /dev/null
@@ -1,196 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: red5
-# REQUIRE: NETWORKING SERVERS
-# BEFORE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Configuration settings for red5 in /etc/rc.conf:
-#
-# red5_enable (bool):
-# Set to "NO" by default.
-# Set it to "YES" to enable red5
-#
-# red5_home (str)
-# Set to "%%RED5_HOME%%" by default.
-# Set the directory red5 will be executed
-#
-# red5_stdout_log (str)
-# Set to %%RED5_HOME%%/log/red5.log" by default.
-# Set the location for the Tomcat process log (standard output)
-#
-# red5_stderr_log (str)
-# Set to "%%RED5_HOME%%/log/red5.err" by default.
-# Set the location for the Tomcat process log (error output)
-#
-# red5_java_opts (str):
-# Set to "" by default.
-# Java VM args to use.
-# Eg: red5_java_opts="-Xmx768m -Xms256 -Xmn512m -Xss256k -XX:+AggressiveOpts \
-# -XX:+DisableExpl icitGC -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC \
-# -XX:+UseParNewGC -XX:SurvivorRa tio=16 -XX:TargetSurvivorRatio=90 \
-# -XX:MaxTenuringThreshold=31 -Djava.net.preferIPv4Sta ck=true
-#
-#
-# red5_user (str)
-# Set to %%RED5_USER%% by default.
-# Set the user that will execute the server.
-#
-# red5_connection_token (str)
-# Set to "" by default.
-# Set the "port username pass" which will be used to shutdown the server
-# Eg: "9999 red5user s3cr3t"
-#
-
-. /etc/rc.subr
-
-name="red5"
-rcvar=red5_enable
-pidfile="/var/run/red5.pid"
-java_command="%%LOCALBASE%%/bin/java"
-
-#constant options
-red5_logging_opts="-Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector \
- -Dcatalina.useNaming=true"
-red5_security_opts="-Djava.security.debug=failure"
-red5_mainclass="org.red5.server.Bootstrap"
-red5_stop_mainclass="org.red5.server.Shutdown"
-red5_jython_opt="-Dpython.home=lib"
-red5_debug_opts="-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
-
-load_rc_config "${name}"
-
-#configurable options
-red5_enable="${red5_enable:-"NO"}"
-red5_user="${red5_user:-"%%RED5_USER%%"}"
-red5_home="${red5_home:-"%%RED5_HOME%%"}"
-red5_stdout_log="${red5_stdout_log:-"%%RED5_HOME%%/log/red5.log"}"
-red5_stderr_log="${red5_stderr_log:-"%%RED5_HOME%%/log/red5.err"}"
-red5_stop_timeout="${red5_stop_timeout:-"10"}"
-
-
-red5_opts="${red5_logging_opts} ${red5_security_opts} ${red5_java_opts}"
-red5_stop_opts="-Djavax.net.ssl.keyStore=${red5_home}/conf/keystore.jmx \
- -Djavax.net.ssl.keyStorePassword=password"
-red5_classpath="${red5_home}/red5-server-1.0-bootstrap.jar:${red5_home}/conf:${CLASSPATH}"
-
-red5_start_cmd="${java_command} ${red5_jython_opt} -Dred5.root=${red5_home} \
- ${red5_opts} -cp ${red5_classpath} ${red5_mainclass}"
-
-red5_stop_cmd="${java_command} ${red5_jython_opt} -Dred5.root=${red5_home} \
- ${red5_logging_opts} ${red5_security_opts} ${red5_stop_opts} \
- -cp ${red5_classpath} ${red5_stop_mainclass}"
-
-red5_debug_cmd="${java_command} ${red5_jython_opt} -Dred5.root=${red5_home} \
- ${red5_opts} ${red5_debug_opts} -cp ${red5_classpath} ${red5_mainclass}"
-
-log_args=">> ${red5_stdout_log} \
- 2>> ${red5_stderr_log} "
-
-
-command="/usr/sbin/daemon"
-flags="-p ${pidfile} ${red5_start_cmd} ${log_args}"
-
-start_precmd="red5_pre_start"
-stop_cmd="red5_stop"
-status_cmd="red5_status"
-poll_cmd="red5_poll"
-extra_commands="debug"
-debug_cmd="red5_debug"
-
-red5_pre_start() {
- export RED5_HOME=${red5_home}
- touch $pidfile
- chown $red5_user $pidfile
- cd ${red5_home} || exit 1
-}
-
-red5_debug() {
- ${red5_debug_cmd}
-}
-
-red5_stop() {
- rc_pid=$(red5_check_pidfile $pidfile)
-
- if [ -z "$rc_pid" ]; then
- [ -n "$rc_fast" ] && return 0
- echo "${name} not running? (check $pidfile)."
- return 1
- fi
-
- echo "Stopping ${name}."
- if [ ${red5_connection_token} ]; then
- ${red5_stop_cmd}
- fi
- red5_wait_max_for_pid ${red5_stop_timeout} ${rc_pid}
- kill -KILL ${rc_pid} 2> /dev/null && echo "Killed."
- rm -f ${pidfile}
-}
-
-red5_status() {
- rc_pid=$(red5_check_pidfile $pidfile)
-
- if [ -z "$rc_pid" ]; then
- [ -n "$rc_fast" ] && return 0
- echo "${name} not running? (check $pidfile)."
- return 1
- fi
- echo "${name} is running has pid $rc_pid."
-}
-
-red5_poll() {
- echo -n "Waiting for pid: $(cat $pidfile)"
- while (true) ; do
- rc_pid=$(red5_check_pidfile $pidfile)
- [ -z "$rc_pid" ] && break
- sleep 2
- done
- echo -e "\tdone\n"
-}
-
-
-red5_check_pidfile() {
- _pidfile=$1
- if [ -z "$_pidfile" ]; then
- err 3 'USAGE: red5_check_pidfile pidfile'
- fi
- if [ ! -f $_pidfile ]; then
- debug "pid file ($_pidfile): not readable."
- return
- fi
- read _pid _junk < $_pidfile
- if [ -z "$_pid" ]; then
- debug "pid file ($_pidfile): no pid in file."
- return
- fi
- if [ -n "`%%LOCALBASE%%/bin/jps -l | grep -e "^$_pid $red5_mainclass\$"`" ]; then
- echo -n $_pid
- fi
-}
-
-red5_wait_max_for_pid() {
- _timeout=$1
- shift
- _pid=$1
- _prefix=
- while [ $_timeout -gt 0 ] ; do
- echo -n ${_prefix:-"Waiting (max $_timeout secs) for PIDS: "}$_pid
- _prefix=", "
- sleep 2
- kill -0 $_pid 2> /dev/null || break
- _timeout=$(($_timeout-2))
- done
- if [ -n "$_prefix" ]; then
- echo "."
- fi
-}
-
-run_rc_command "$1"
-
-
-
-
diff --git a/www/red5/pkg-descr b/www/red5/pkg-descr
deleted file mode 100644
index 314d47d9253a..000000000000
--- a/www/red5/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-Red5 is an Open Source Flash Server written in Java that supports:
-- Streaming Audio/Video: FLV, MP3, F4V, MP4, AAC, M4A
-- Recording Client Streams (FLV only)
-- Shared Objects
-- Live Stream Publishing: Sorenson, VP6, h.264, Nelly Moser,
- MP3, Speex, AAC, NSV
-- Remoting
-
-WWW: http://www.red5.org/
diff --git a/www/red5/pkg-plist b/www/red5/pkg-plist
deleted file mode 100644
index cfd578f02d9f..000000000000
--- a/www/red5/pkg-plist
+++ /dev/null
@@ -1,175 +0,0 @@
-@stopdaemon red5
-@owner %%RED5_USER%%
-@group %%RED5_GRP%%
-@sample red5/conf/access.properties.sample
-@sample red5/conf/build_standalone.properties.sample
-@sample red5/conf/catalina.policy.sample
-@sample red5/conf/context.xml.sample
-@sample red5/conf/ehcache.xml.sample
-@sample red5/conf/jee-container.xml.sample
-@sample red5/conf/keystore.jmx.sample
-@sample red5/conf/logback.xml.sample
-@sample red5/conf/no-jee-container.xml.sample
-@sample red5/conf/password.properties.sample
-@sample red5/conf/quartz.properties.sample
-@sample red5/conf/realm.properties.sample
-@sample red5/conf/red5-common.xml.sample
-@sample red5/conf/red5-core.xml.sample
-@sample red5/conf/red5.globals.sample
-@sample red5/conf/red5.policy.sample
-@sample red5/conf/red5.properties.sample
-@sample red5/conf/red5.xml.sample
-@sample red5/conf/tomcat-users.xml.sample
-@sample red5/conf/truststore.jmx.sample
-@sample red5/conf/web.xml.sample
-red5/lib/bcprov-jdk15on-1.47.jar
-red5/lib/com.springsource.javax.xml.stream-1.0.1.jar
-red5/lib/com.springsource.net.sf.cglib-2.2.0.jar
-red5/lib/com.springsource.org.antlr-3.1.3.jar
-red5/lib/com.springsource.org.aopalliance-1.0.0.jar
-red5/lib/com.springsource.org.apache.xerces-2.9.1.jar
-red5/lib/com.springsource.org.codehaus.groovy-1.7.0.jar
-red5/lib/com.springsource.org.mozilla.javascript-1.7.0.R2.jar
-red5/lib/com.springsource.org.objectweb.asm-3.2.0.jar
-red5/lib/com.springsource.org.objectweb.asm.commons-3.2.0.jar
-red5/lib/commons-beanutils-1.8.3.jar
-red5/lib/commons-codec-1.6.jar
-red5/lib/commons-collections-3.2.1.jar
-red5/lib/commons-lang3-3.1.jar
-red5/lib/commons-modeler-2.0.1.jar
-red5/lib/commons-pool-1.5.6.jar
-red5/lib/ehcache-core-2.5.0.jar
-red5/lib/httpclient-4.2.jar
-red5/lib/httpcore-4.2.1.jar
-red5/lib/jaudiotagger-2.0.4-SNAPSHOT.jar
-red5/lib/javaee-api-5.1.2.jar
-red5/lib/jcl-over-slf4j-1.6.6.jar
-red5/lib/jruby-1.6.7.2.jar
-red5/lib/jul-to-slf4j-1.6.6.jar
-red5/lib/jython-standalone-2.5.2.jar
-red5/lib/log4j-over-slf4j-1.6.6.jar
-red5/lib/logback-classic-1.0.3.jar
-red5/lib/logback-core-1.0.3.jar
-red5/lib/mina-core-2.0.7-javadoc.jar
-red5/lib/mina-core-2.0.7-sources.jar
-red5/lib/mina-core-2.0.7.jar
-red5/lib/mina-integration-beans-2.0.7-javadoc.jar
-red5/lib/mina-integration-beans-2.0.7-sources.jar
-red5/lib/mina-integration-beans-2.0.7.jar
-red5/lib/mina-integration-jmx-2.0.7-javadoc.jar
-red5/lib/mina-integration-jmx-2.0.7-sources.jar
-red5/lib/mina-integration-jmx-2.0.7.jar
-red5/lib/quartz-1.8.5.jar
-red5/lib/red5-client-1.0.jar
-red5/lib/slf4j-api-1.6.6.jar
-red5/lib/spring-aop-3.1.1.RELEASE.jar
-red5/lib/spring-asm-3.1.1.RELEASE.jar
-red5/lib/spring-beans-3.1.1.RELEASE.jar
-red5/lib/spring-context-3.1.1.RELEASE.jar
-red5/lib/spring-context-support-3.1.1.RELEASE.jar
-red5/lib/spring-core-3.1.1.RELEASE.jar
-red5/lib/spring-expression-3.1.1.RELEASE.jar
-red5/lib/spring-web-3.1.1.RELEASE.jar
-red5/lib/sysout-over-slf4j-1.0.2.jar
-red5/lib/xmlrpc-2.0.1.jar
-red5/plugins/catalina-6.0.36.jar
-red5/plugins/ecj-3.7.2.jar
-red5/plugins/jasper-6.0.36.jar
-red5/plugins/jasper-el-6.0.36.jar
-red5/plugins/tomcat-coyote-6.0.36.jar
-red5/plugins/tomcat-juli-slf4j-1.5.0.jar
-red5/plugins/tomcatplugin-1.3.jar
-red5/red5-server-1.0-bootstrap.jar
-red5/red5-server-1.0.jar
-red5/webapps/installer/AC_OETags.js
-@sample red5/webapps/installer/WEB-INF/red5-web.properties.sample
-@sample red5/webapps/installer/WEB-INF/red5-web.xml.sample
-@sample red5/webapps/installer/WEB-INF/web.xml.sample
-red5/webapps/installer/history/history.css
-red5/webapps/installer/history/history.js
-red5/webapps/installer/history/historyFrame.html
-red5/webapps/installer/index.html
-red5/webapps/installer/installer.swf
-red5/webapps/installer/playerProductInstall.swf
-@sample red5/webapps/live/WEB-INF/red5-web.properties.sample
-@sample red5/webapps/live/WEB-INF/red5-web.xml.sample
-@sample red5/webapps/live/WEB-INF/web.xml.sample
-@sample red5/webapps/red5-default.xml.sample
-@sample red5/webapps/root/WEB-INF/red5-web.properties.sample
-@sample red5/webapps/root/WEB-INF/red5-web.xml.sample
-@sample red5/webapps/root/WEB-INF/web.xml.sample
-red5/webapps/root/biglogo.png
-red5/webapps/root/crossdomain.xml
-red5/webapps/root/demos/BallControl.html
-red5/webapps/root/demos/BallControl.swf
-red5/webapps/root/demos/DevNotes_NetConnection.swf
-red5/webapps/root/demos/FITCPresentation.swf
-red5/webapps/root/demos/FITCSpeakerBroadcaster.swf
-red5/webapps/root/demos/MessageRecorder.swf
-red5/webapps/root/demos/RemotingTest.swf
-red5/webapps/root/demos/SimpleChat.html
-red5/webapps/root/demos/SimpleChat.swf
-red5/webapps/root/demos/adminPanel.air
-red5/webapps/root/demos/adminPanel.html
-red5/webapps/root/demos/adminPanel.swf
-red5/webapps/root/demos/assets/expressInstall.swf
-red5/webapps/root/demos/assets/swfobject.js
-red5/webapps/root/demos/bwcheck.html
-red5/webapps/root/demos/bwcheck.swf
-red5/webapps/root/demos/echo_test.html
-red5/webapps/root/demos/echo_test.swf
-red5/webapps/root/demos/index.html
-red5/webapps/root/demos/ofla_demo.html
-red5/webapps/root/demos/ofla_demo.swf
-red5/webapps/root/demos/othello.swf
-red5/webapps/root/demos/publisher.html
-red5/webapps/root/demos/publisher.swf
-red5/webapps/root/demos/simpleBroadcaster.html
-red5/webapps/root/demos/simpleBroadcaster.swf
-red5/webapps/root/demos/simpleRecorder.html
-red5/webapps/root/demos/simpleRecorder.swf
-red5/webapps/root/demos/simpleSubscriber.html
-red5/webapps/root/demos/simpleSubscriber.swf
-red5/webapps/root/demos/videoConference.html
-red5/webapps/root/demos/videoConference.swf
-red5/webapps/root/demos/videoConference_Flash7.swf
-red5/webapps/root/demos/xray.swf
-red5/webapps/root/demos/xrayConnector_1.6.1.swf
-red5/webapps/root/demos/xrayconnector.swf
-red5/webapps/root/favicon.ico
-red5/webapps/root/favicon.png
-red5/webapps/root/flvdemo.html
-red5/webapps/root/gc.jsp
-red5/webapps/root/index.html
-red5/webapps/root/logo.png
-@sample red5/webapps/vod/WEB-INF/red5-web.properties.sample
-@sample red5/webapps/vod/WEB-INF/red5-web.xml.sample
-@sample red5/webapps/vod/WEB-INF/web.xml.sample
-red5/webapps/vod/framework_4.5.1.21328.swf
-red5/webapps/vod/index.html
-red5/webapps/vod/miniplayer.swf
-red5/webapps/vod/osmf_1.0.0.16316.swf
-red5/webapps/vod/spark_4.5.1.21328.swf
-red5/webapps/vod/streams/red5.flv
-red5/webapps/vod/swfobject.js
-red5/webapps/vod/textLayout_2.0.0.232.swf
-@dir red5/webapps/vod/streams
-@dir red5/webapps/vod/WEB-INF
-@dir red5/webapps/vod
-@dir red5/webapps/root/demos/assets
-@dir red5/webapps/root/demos
-@dir red5/webapps/root/WEB-INF
-@dir red5/webapps/root
-@dir red5/webapps/live/WEB-INF
-@dir red5/webapps/live
-@dir red5/webapps/installer/history
-@dir red5/webapps/installer/WEB-INF
-@dir red5/webapps/installer
-@dir red5/webapps
-@dir red5/plugins
-@dir red5/log
-@dir red5/lib
-@dir red5/conf
-@dir red5
-@owner
-@group