Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2010 14:43:59 +0200
From:      joris dedieu <joris.dedieu@gmail.com>
To:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: www/red5
Message-ID:  <AANLkTin5vTgzN--mTrA3Y5EKQwScAGR%2BCkUu6Ld6qnu2@mail.gmail.com>
In-Reply-To: <AANLkTinVsDsOc9dNeB5tNO-SRg9ubcCO41tuBRS=6K98@mail.gmail.com>
References:  <AANLkTinVsDsOc9dNeB5tNO-SRg9ubcCO41tuBRS=6K98@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/10/13 joris dedieu <joris.dedieu@gmail.com>:
> Hi,
> www/red5 is outdated
>
> I try to rebuild it.
> Currently the port download red5 binary distribution from red5.org and
> install a war file
> into tomcat's webapps dir.
>
> Red5 binary distribution does not provides a war file anymore but only
> the standalone server.
>
> So I have different options :
>
> 1 - fetch
>
> - fetching the binary distribution so that the port has no build and
> only provide the standalone server.
> - hosting (I can do it in almost 2 or 3 machines) a source
> distribution from svn (see http://red5.rmdi.fr)
> =A0so that the port can build the standalone server or / and the war
> file and / or (I have to see that) the cluster suite
>
> 2 - installing the standalone server
>
> The standalone server is a one directory application (ie it has his
> own log , conf, webapps directories).
> I tried to split it with var, share and etc support but some
> applications won't work this way (eg logging in ./log directory)
> without a specific reconfiguration.
>
> Do you think it should be installed in =A0 ${JAVASHAREDIR}/${PORTNAME}
> (see http://www.freebsd.org/doc/en/books/porters-handbook/using-java.html=
#JAVA-BEST-PRACTICES)
> or in ${PREFIX}/${PORTNAME} like tomcat ?
>
> 3 - installing the war file
>
> The war file can be installed in several location. Depending on which
> application server you are using (tomcat, jboss...). So I think to
> install it in =A0${JAVASHAREDIR}/${PORTNAME} and maybe provide a
> variable to change this.
>
>
> 4 - category and user
>
> Red5 is not a http server. It use http for management, but it provide
> network protocols has rtmp. So I think the right categories are java
> net and not http. Red5 standalone also need a unprivileged user.
> Should I create a new one or use www ?
>
>
> This are my reflexions for this port.
> Thanks for your feedback
>
> Joris
>

Finaly I choose to make it as simple as possible.
If someone want to try it before I send a PR (2 prs in fact. 1 for
update and 1 for repocopy),
you can download it at http://red5.rmdir.fr/red5.shar

Joris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin5vTgzN--mTrA3Y5EKQwScAGR%2BCkUu6Ld6qnu2>