Date: Mon, 25 Jul 2005 00:06:18 +0000 From: Jonathan Glaschke <no-html@jonathan-glaschke.de> To: freebsd-questions@freebsd.org Subject: Re: return category for a port? Message-ID: <20050725000618.GA24229@jogla.fbsd> In-Reply-To: <1122241531.86406.7.camel@maarten> References: <1122238866.86406.3.camel@maarten> <20050724232711.GA23936@jogla.fbsd> <1122241531.86406.7.camel@maarten>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050725000618.GA24229>