From owner-freebsd-ports Fri Jun 28 17: 4:23 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D2C137B400 for ; Fri, 28 Jun 2002 17:04:18 -0700 (PDT) Received: from smtp1.clear.net.nz (smtp1.clear.net.nz [203.97.33.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6031D43E06 for ; Fri, 28 Jun 2002 17:04:12 -0700 (PDT) (envelope-from calvin@varney.org) Received: from ubana.varney.org (203-167-132-132.dialup.clear.net.nz [203.167.132.132]) by smtp1.clear.net.nz (CLEAR Net Mail) with ESMTP id <0GYF00LP2WRENN@smtp1.clear.net.nz> for freebsd-ports@FreeBSD.org; Sat, 29 Jun 2002 11:47:40 +1200 (NZST) Date: Sat, 29 Jun 2002 11:50:59 +1200 From: Calvin Varney Subject: Re: Instalation directories In-reply-to: <200206282204.CAA26627@aaz.links.ru> To: freebsd-ports@FreeBSD.org Message-id: <864rfn7yjg.fsf@ubana.varney.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386--freebsd) Lines: 45 References: <200206282204.CAA26627@aaz.links.ru> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "."@babolo.ru writes: > Calvin Varney writes: >> Ernst de Haan writes: >> >> >> I'm new to the porting process and currently trying to port a java >> >> application server. >> > >> > Which one? Orion, Tomcat 3, Tomcat 4, JBoss 2 and JBoss 3 are already in the >> > ports. I suggest you take the Orion port (www/orion) as a starting point and >> > work from there. >> >> JOnAS >> WWW: http://www.objectweb.org/jonas/index.html >> >> > >> >> I note some ports write to /var/log and others to >> >> ${PREFIX}/portname/log. >> > >> > I have no definite answer. I just let my ports log to the port installation >> > directory, like ${PREFIX}/orion1.5.4 for Orion. >> > >> > PS: Have you tried the java@FreeBSD.org mailing list? >> >> Do follow this list but hoping to find a general guideline for all >> ports along the lines "the log files generated by ports should be >> placed in /x/y/z" as we do in the porters handbook and hier(7) for >> configuration files, documentation, examples etc. >> >> Thanks for the comment, if I don't receive any other feedback I'll >> probably go with the port installation directory as you have with >> Orion. > ${PREFIX}/ is not right plase for logs. > When /usr/ can work read only, it can be easily shared > between a bunch of computers (I usually do > workstations with /usr ro mounted from server. > If logs goes to ${PREFIX}/ no easy way to build > and support a bunch of computers. > Thanks, in the light of shared filesystems /var/log becomes the obvious choice. -- Calvin Varney To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message