[nycbug-talk] what happened to darwinports?

David Rio Deiros driodeiros at gmail.com
Sun May 20 01:49:06 EDT 2007


On Thu, May 17, 2007 at 08:14:59PM -0400, David Rio Deiros wrote:
> On Wed, May 16, 2007 at 03:57:48PM -0400, Amitai Schlair wrote:
> > On May 15, 2007, at 1:24 PM, David Rio Deiros wrote:
> > 
> > > How do you skip this?:
> > >
> > > drio at simba:/Volumes/NetBSD/pkgsrc/bootstrap $ sudo ./bootstrap \
> > >> --prefix /usr/pkg \
> > >> --pkgdbdir /usr/pkg/.pkgdb
> > > ...
> > > ...
> > > ===> running: /bin/sh /Volumes/NetBSD/pkgsrc/bootstrap/work/install-sh
> > > -d -o root -g wheel /usr/pkg/pkgsrc-REQUIRES-case-SENSITIVE-filesystem
> > > "/usr/pkg" needs to be on a case-sensitive filesystem (see  
> > > README.Darwin)
> > 
> > Pass "--ignore-case-check" to the bootstrap script.
> 
> Sweet!
> 
> I have one more question though: I have been reading the pkgsrc guide
> but I cannot find a proper way to upgrade your packages once you  
> update the pkgsrc tree. How do you keep your installation packages
> up2date? Is there some tool like portupgrade?    

This seems a very good approach:

	lintpkgsrc -i >/tmp/out_of_date
	pkgdepgraph -D /tmp/out_of_date >/tmp/delete
	pkgdepgraph -R /tmp/out_of_date >/tmp/rebuild
	pkg_delete `cat /tmp/delete`
	sh /tmp/rebuild




More information about the talk mailing list