*BSD News Article 85940


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!newsfeed.internetmci.com!newsfeed.direct.ca!nntp.portal.ca!news.bc.net!info.ucla.edu!nnrp.info.ucla.edu!news.ucdavis.edu!dragon.nuxi.com!obrien
From: David O'Brien <deobrien@ucdavis.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Where to put packages *not* from FreeBSD ?
Date: 31 Dec 1996 20:10:38 GMT
Organization: University of California, Davis
Lines: 27
Message-ID: <5abrvu$cjq$2@mark.ucdavis.edu>
References: <stanbE2z02s.BIK@netcom.com>
NNTP-Posting-Host: reqb-049.ucdavis.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 961203]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33381

In comp.unix.bsd.freebsd.misc Stan Brown <stanb@netcom.com> wrote:
: 	I was wondering where one should put packages that were neithere a part
: 	of the FreeBSD distribution, nor obtained through the ports mechnaism.
: 	I am concernde about what will happen to these packages when I upgrade
: 	FreeBSD.

I truely side with you.  I really, really wish FreeBSD ports/packages
were installed in /usr/pkg or /opt.  But it is way too late to change
this now.

I concider /usr/local to be a "trash" fs.  I don't back it up because I
can always get the files back (because of the excelent FBSD ports
collection).  On every RELEASE upgrade (and some SNAPS) I do, I blow
/usr (along with /usr/local) away.

So I have a partition with my home dirs on it that *NEVER* gets newfs'ed.
I created a directory there named "/home/treats/{bin,man,share,lib}".  I
then "ln -s /home/treats /usr/treats" after every upgrade.  This means
that I have to hack the Makefile (and sometimes code) when I install
something locally not part of the FreeBSD ports collection.  But with the
large size of the collection, this doesn't happen often (except for
scripts).  When do install a package in /usr/treats, I then often make a
FreeBSD port of it and submit it.  So far my scheme has worked fine for
over a year and 1/2.

-- 
-- David	(deobrien@ucdavis.edu)