return category for a port?

Jonathan Glaschke no-html at jonathan-glaschke.de
Sun Jul 24 22:06:39 GMT 2005


Hello,

On Sun, Jul 24, 2005 at 11:45:31PM +0200, maarfree wrote:
> On Sun, 2005-07-24 at 23:27 +0000, Jonathan Glaschke wrote:
> > Hello,
> > 
> > On Sun, Jul 24, 2005 at 11:01:06PM +0200, maarfree wrote:
> > > Hi,
> > > 
> > > I have just build /usr/ports/packages/All packages for all ports
> > > installed on my system with some awk and bash. Does anyone know a way to
> > > return the category for an installed port? I can't find any option in
> > > pkg_info. I would like to create the symlinks in /usr/ports/packages as
> > > well.
> > > 
> > > Maarten
> > > 
> > > _______________________________________________
> > > 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"
> > 
> > Ever tried pkg_info -v?
> > 
> > jogla# pkg_info -v gimp-print-4.2.7_1 | grep Package\ origin
> >         Package origin: print/gimp-print
> > 
> > Why do you want to create these symlinks? FreeBSD does it for you if you tell it
> > to build a package. Like "portupgrade -p packagename" or "make install package
> > clean".
> > 
> > Jonathan
> Jonathan,
> 
> I never tried pkg_info -v, but I see it works. The reason I want the
> symlinks is because not all packages were installed using portupgrade -N
> and I use my system to update my mom's and sister's ancient PC's.
> 
> Maarten
> 
> 
> 

You have to do "portupgrade -Np" ;)

Greetings, Jonathan

-- 
 | /"\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  X    HTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \     And News     | http://jonathan-glaschke.de/


More information about the freebsd-questions mailing list