Subject: Re: anyway to update a specific pkgsrc dir?
To: John Refling <johnr@imageworks.com>
From: Simon Burge <simonb@netbsd.org>
List: tech-pkg
Date: 04/06/2000 14:52:33
John Refling wrote:
> Lets say I have detarred a copy of pkgsrc.tar.gz
> which is now obsolete. Suppose I only install a
> few packages, or that I know only a few of my
> installed packages are out of date.
>
> Is there a way from within print/tex (or something)
> to do a "make blah" which will ftp just the files
> in that subdirectory (eg, pkg, files, Makefile,
> patches, etc). I need ftp, not cvs.
I use something like:
cd /usr/pkgsrc
mkdir -p print
cd print
ftp -o "|tar xpfz -" ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/print/teTeX.tar.gz
tar xvfpz teTeX.tar.gz
except I use a mirror instead of ftp.netbsd.org. This relies on already
have all of /usr/pkgsrc/mk set up.
Simon.