Portsnap

Jonathan Horne freebsd at dfwlp.com
Tue Jun 19 17:19:00 UTC 2007


On Tuesday 19 June 2007 11:00:15 [LoN]Kamikaze wrote:
> tradigan at newrevolutions.net wrote:
> > Hi all,
> >
> > I have just started using portsnap and I must say that I like it.. With
> > that said, I am noticing something here that maybe a configuration issue
> > on my end, but here is the deal:
> >
> > I have a newly installed 6.2 box, and I ran portsnap fetch followed by
> > portsnap extract.. This updated the ports tree just fine..
> >
> > Now, I know that /usr/ports/sysutils/portupgrade was moved to
> > /usr/ports/ports-mgmt/portupgrade.  This is visible when you use CVSup to
> > update the ports tree (ie: /usr/ports/sysutils/portupgrade does not
> > exist).  However with portsnap, the /usr/ports/sysutils/portupgrade
> > directory still exists.  Is there a way to get portsnap to remove ports
> > that were removed and/or moved?
>
> Actually it does that, but only if the files have been created by it. I
> think the manual states that you should 'rm -rf /usr/ports' before using
> portsnap for the first time.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

just in case you might be open to the notion of csup, you can do it like this 
quick and dirty, no file configurations:

csup -g -L 2 -h cvsup5.us.freebsd.org /usr/share/examples/cvsup/ports-supfile

if you know your preferred cvsup server, you can name that one instead.  and 
of course, copying your config somewhere and making your own custom edits is 
still the best way, but my example above would get you an immediate result, 
with the latest up-to-date tree, sans-editing.

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd at dfwlp.com


More information about the freebsd-questions mailing list