From owner-freebsd-questions@FreeBSD.ORG Sun Jul 24 22:06:39 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BDEB16A41F for ; Sun, 24 Jul 2005 22:06:39 +0000 (GMT) (envelope-from no-html@jonathan-glaschke.de) Received: from mail.liberty-hosting.de (mail.liberty-hosting.de [195.225.132.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id A37BD43D46 for ; Sun, 24 Jul 2005 22:06:38 +0000 (GMT) (envelope-from no-html@jonathan-glaschke.de) Received: from mail.liberty-hosting.de ([195.225.132.203]) by localhost (liberty-mail [195.225.132.203]) (amavisd-new, port 10024) with ESMTP id 00865-04 for ; Mon, 25 Jul 2005 00:06:32 +0200 (CEST) Received: from jogla.fbsd (p50895F22.dip.t-dialin.net [80.137.95.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.liberty-hosting.de (Postfix) with ESMTP id 8EB4A158976 for ; Mon, 25 Jul 2005 00:06:32 +0200 (CEST) Received: from jogla.fbsd (localhost [127.0.0.1]) by jogla.fbsd (8.13.3/8.13.3) with ESMTP id j6P06IZu024237 for ; Mon, 25 Jul 2005 00:06:18 GMT (envelope-from jonathan@jogla.fbsd) Received: (from jonathan@localhost) by jogla.fbsd (8.13.3/8.13.3/Submit) id j6P06IOP024236 for freebsd-questions@freebsd.org; Mon, 25 Jul 2005 00:06:18 GMT (envelope-from jonathan) Date: Mon, 25 Jul 2005 00:06:18 +0000 From: Jonathan Glaschke To: freebsd-questions@freebsd.org Message-ID: <20050725000618.GA24229@jogla.fbsd> References: <1122238866.86406.3.camel@maarten> <20050724232711.GA23936@jogla.fbsd> <1122241531.86406.7.camel@maarten> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1122241531.86406.7.camel@maarten> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at mail.liberty-hosting.de Subject: Re: return category for a port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2005 22:06:39 -0000 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/