From owner-freebsd-gecko@FreeBSD.ORG Wed Sep 15 08:20:07 2010 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FE1810656A3 for ; Wed, 15 Sep 2010 08:20:07 +0000 (UTC) (envelope-from pa36ouHu4er@yandex.ru) Received: from forward3.mail.yandex.net (forward3.mail.yandex.net [77.88.46.8]) by mx1.freebsd.org (Postfix) with ESMTP id 335B78FC17 for ; Wed, 15 Sep 2010 08:20:06 +0000 (UTC) Received: from web53.yandex.ru (web53.yandex.ru [77.88.47.159]) by forward3.mail.yandex.net (Yandex) with ESMTP id 7E64456D8433; Wed, 15 Sep 2010 12:02:52 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1284537772; bh=GIhZVTMAiTW+0kquz56eQm4kFq6vf9VV9pUKfjgPDfg=; h=From:To:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=oTVhGYDtwfE2k6hBrSloXJumJr5qnOqL6mRfAcxxfHxQuuinKCAUsMfJ1EnOgjGpD hM0rNtpCoUpHYZw6M5osnWAyaUDCr96i6iVYYfactH2sNHOW//xkUKlSg+YCR+Achq j9hh5ANyiyYH/uaLnzCRKf3FTqTPHlLDUdffyWQo= Received: from localhost (localhost.localdomain [127.0.0.1]) by web53.yandex.ru (Yandex) with ESMTP id 7754E359BB7; Wed, 15 Sep 2010 12:02:52 +0400 (MSD) X-Yandex-Spam: 0 X-Yandex-Front: web53.yandex.ru X-Yandex-TimeMark: 1284537772 Received: from [188.128.115.228] ([188.128.115.228]) by mail.yandex.ru with HTTP; Wed, 15 Sep 2010 12:02:50 +0400 From: Ilya A. Arhipov To: Sam Fourman Jr. ,gecko@freebsd.org In-Reply-To: References: MIME-Version: 1.0 Message-Id: <162661284537771@web53.yandex.ru> Date: Wed, 15 Sep 2010 12:02:50 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Cc: Subject: Re: pxe NFSroot and firefox 3.6 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 08:20:07 -0000 exampe ? --- Makefile.orig 2010-09-15 11:29:24.000000000 +0400 +++ Makefile 2010-09-15 11:59:39.000000000 +0400 @@ -53,6 +53,7 @@ OPTIONS= DBUS "Enable D-BUS support" on \ SMB "Enable smb:// URI support using gnomevfs" off \ + NFSroot "Create /var/lib/nfs" off .include @@ -81,6 +82,10 @@ notify.1:${PORTSDIR}/devel/libnotify .endif +.if defined(WITH_NFSroot) +NFSroot= /var/lib/nfs +.endif + post-extract:: @${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON}|' -e 's|@MOZILLA@|${MOZILLA}|' \ -e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|' \ @@ -116,5 +121,6 @@ ${MKDIR} ${PREFIX}/lib/${MOZILLA}/chrome/icons/default ${LN} -sf ${FIREFOX_ICON_SRC} ${PREFIX}/share/pixmaps/${FIREFOX_ICON} @${CAT} ${PKGMESSAGE} + ( mkdir -p ${NFSroot} ) .include 15.09.10, 09:47, "Sam Fourman Jr." : > Hello all > > I am running several FreeBSD 8/9 systems on a nfsroot, and it seems > firefox 3.6.9 (sqllite rather) > has issues accessing bookmarks, history and other things unless the > /var/lib/nfs path exists. > > firefox 3.6.9 on NFSroot you must: > mkdir -p /var/lib/nfs > > I found details here > https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/237970 > > Since this simple fix works, and firefox is a popular port > I was wondering how would we go about making this path exist by default? > > I dont know much about this, but if several ports need this path then maybe we > could have the installworld script add mkdir -p /var/lib/nfs ? > > or perhaps just have the firefox port add the path? > maybe there is yet another way to achieve this... > > the end goal here is to make this work by default the way it now does > on ubuntu / debian > > comments welcome > >