From owner-freebsd-ports@FreeBSD.ORG Sun Oct 17 12:44:00 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 993BA1065693 for ; Sun, 17 Oct 2010 12:44:00 +0000 (UTC) (envelope-from joris.dedieu@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2CC678FC0C for ; Sun, 17 Oct 2010 12:43:59 +0000 (UTC) Received: by fxm12 with SMTP id 12so1703477fxm.13 for ; Sun, 17 Oct 2010 05:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+5R7V1m+8C1UlchP0hLlT2MNP4HySY+8ywyQiyZYbmk=; b=qgePeXSQPbnICwENEczQASOxqE+tK8K7ToqDbPfe7x1oMsILuyG9ZTkbZap90ackFq dcPR7oqsBkh3QgimbZkGNSPqjqj0SgSou3RcvXe1DDAQawHLpZnF7OSZFSrQ93GpTz04 VEmxZhYKmgUxfP4R99VQQikn7ARh+xtpcXrL0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=WxGpjpMN84elzvwgI1PtRFB8ikA0pTKU5pSND5i6OSEhTngOvrDyPqmgle8btfKx1C 0yeWhkvtWfOKfTZwa0jPmijoRFYJvOHUcUGLZBpyHC6vdEoq08NTy7ccxEcSH0/otMx/ DZs6K/gSN8ost6fR3FGY+zk2V8wLvtMDeOAhs= MIME-Version: 1.0 Received: by 10.223.161.206 with SMTP id s14mr178094fax.69.1287319439048; Sun, 17 Oct 2010 05:43:59 -0700 (PDT) Received: by 10.223.86.193 with HTTP; Sun, 17 Oct 2010 05:43:59 -0700 (PDT) In-Reply-To: References: Date: Sun, 17 Oct 2010 14:43:59 +0200 Message-ID: From: joris dedieu To: freebsd-ports Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: www/red5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2010 12:44:00 -0000 2010/10/13 joris dedieu : > 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