From owner-freebsd-ports@FreeBSD.ORG Wed Oct 13 12:29:55 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 68411106566C for ; Wed, 13 Oct 2010 12:29:55 +0000 (UTC) (envelope-from joris.dedieu@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 234B18FC1C for ; Wed, 13 Oct 2010 12:29:54 +0000 (UTC) Received: by qyk31 with SMTP id 31so335436qyk.13 for ; Wed, 13 Oct 2010 05:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=iFJ25oG/XXzM0VJdVDkKkEjyrPdQJ1NO9XzzJq31wn8=; b=jnN7/2yTk6kE4zYYTv9Hf2HOzBI3NiYBkIBDysOzenhMOJlOnz6RNPGaHNU6L2pMSy RGU2+UsWEcgsFTr5MgCtH/YvhNLRNgCFECZbXiXc0JJofo7K1TTaYCLTFbH0liaMAIj6 8GmeruDfQ/8KvB6ZgmvY0x+Ofg4h6WrK8fxIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GfFXVOK3MWPkKWeU2q/c3ivqIaYm4q/LW2ghUDpI8bYls8o/jA+DbzJdWt39wD3Mlf xhBCdhHY3aIL2J8Z22mpt4poyP+pG3qSE73SdONSRqoPZQKMw/9YhCJBNAIDSnsb8z/m +wnOjoRbZKJrvs73UJVT9RAANN4KjNlJiLoLg= MIME-Version: 1.0 Received: by 10.224.174.19 with SMTP id r19mr6758091qaz.39.1286971181322; Wed, 13 Oct 2010 04:59:41 -0700 (PDT) Received: by 10.229.68.69 with HTTP; Wed, 13 Oct 2010 04:59:41 -0700 (PDT) Date: Wed, 13 Oct 2010 13:59:41 +0200 Message-ID: From: joris dedieu To: freebsd-ports Content-Type: text/plain; charset=ISO-8859-1 Subject: 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: Wed, 13 Oct 2010 12:29:55 -0000 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) so 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 ${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 ${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