Re: Shared /usr/ports directories

From: Richard Danter (richard.danter_at_ntlworld.com)
Date: 05/20/05

  • Next message: RW: "Re: /etc/make.conf weirdness"
    Date: Fri, 20 May 2005 15:08:04 +0100
    To: Erik Trulsson <ertr1013@student.uu.se>
    
    

    Erik Trulsson wrote:
    > On Thu, May 19, 2005 at 06:13:09PM +0100, Richard Danter wrote:
    >
    >>Erik Trulsson wrote:
    >>
    >>>On Thu, May 19, 2005 at 05:39:54PM +0100, Richard Danter wrote:
    >>>
    >>>
    >>>>Hi all,
    >>>>
    >>>>I have several machines running FBSD now. At the moment I have a
    >>>>complete ports tree on each machine. I was wondering if it was possible
    >>>>to have it all on just one machine and NFS mount it?
    >>>
    >>>
    >>>That is certainly possible.
    >>>
    >>>
    >>>
    >>>>I have already been doing this for the /usr/ports/distfiles directory,
    >>>>but had not shared everything else as I was not sure if settings from a
    >>>>build on one machine may cause problems when building on another machine.
    >>>>
    >>>>Each machine has it's own /etc/make.conf with settings such as the
    >>>>processor type, so it is important that one build can't effect another.
    >>>
    >>>
    >>>I would suggest you set WRKDIRPREFIX in /etc/make.conf so that the
    >>>files built by the ports system do not get placed under /usr/ports but
    >>>somewhere else.
    >>
    >>Is it just the object (.o) files that this effects, or all generated
    >>files? Where do the configurations get saved (for those ports with a
    >>config menu)?
    >
    >
    > Almost all generated files - all that would end up under /usr/ports anyway.
    >
    > Where configurations get saved can vary slightly. Ports using the
    > OPTIONS system get their configurations saved under /var/db/ports/.
    > Some ports have their own home-rolled config menu (mostly because the
    > port was created before OPTIONS made its debut) and they usually have
    > their configuration saved in the work directory (among all the .o
    > files.)

    Thanks Erik, and all who replied. I now have just one ports tree to keep
    up to date which is much easier for me! It also frees up a lot of space
    on my laptop!

    Rich
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: RW: "Re: /etc/make.conf weirdness"

    Relevant Pages

    • Re: RWW Is this possible with one NIC?
      ... I will double check these configurations on our Sonic Wall. ... Even though the CEICW says it will open the ports on the router, you need to check it yourself. ... Secondly, possible, but not probable, that either your isp or your router will not allow the necessary trafic for RWW. ...
      (microsoft.public.windows.server.sbs)
    • Re: win32-codecs question ...
      ... configurations like that are supposed to pop up ... If a port supports the OPTION framework, then the first time you run make ... You can view saved options using "make showconfig". ... Most ports use the OPTIONS framework, and more are being converted over to ...
      (freebsd-stable)
    • Re: Determining open ports on routers
      ... :What I want to know is basically, which TCP/UDP ports are accessibale ... How complex are the configurations, ... permitted and denied ports per destination? ... handle permit / deny combinations. ...
      (comp.dcom.sys.cisco)
    • Re: cant record cds
      ... spewed forth these words of wisdom: ... >with no problems but this windows xp...cant figured it out ... >something to do with configurations? ...
      (microsoft.public.windowsxp.music)
    • Re: Shared /usr/ports directories
      ... On Thu, 19 May 2005, Erik Trulsson wrote: ... >> complete ports tree on each machine. ... > (Changing WKRDIRPREFIX also makes it a lot easier and faster to clean ... > up after building ports. ...
      (freebsd-questions)