From owner-freebsd-current@FreeBSD.ORG Mon Dec 3 13:49:57 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6518B16A417 for ; Mon, 3 Dec 2007 13:49:57 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id B656913C44B for ; Mon, 3 Dec 2007 13:49:56 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2808736rvb for ; Mon, 03 Dec 2007 05:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:references:from:organization:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=qsZbCOBj3DK77bCyQQVuw9JJ/Mm7Id2h9Ua+q9x5SOU=; b=C5qYHnpg1K6oD97r7RKTfan53lGu2MMLrGkbrZj+9gdiYNDW/2688G95ka9XHK+GzQez1BFwn5gZS8sLKDMA5fXNlkmP81QFulvPylvMakvHrAWtGG9g06r0gHQ9n5kpktAOETS5AfQUboTHEC3EVzDxZ7LnYDMQp1yrvl0LFgc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:to:cc:subject:references:from:organization:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=qs56dIxjKCjwPg31BR2fDRblVETFoZaqq4x3JvbfxOcFo9bpJ+PvESm/W+NTJMQgt3KYq8Eq1vn+BfPclPwfZWUJKOd0FdBZzZ5F/iZSrTtGaEGVONN5MFtqO/n+1PTo+/C3B5hm6Dq58cW+SCaykt1zW2qHCTQ/3bc1jSaav+0= Received: by 10.141.99.4 with SMTP id b4mr5604757rvm.1196688114827; Mon, 03 Dec 2007 05:21:54 -0800 (PST) Received: from pluton.xbsd.name ( [125.34.70.61]) by mx.google.com with ESMTPS id 3sm1574rvi.2007.12.03.05.21.48 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Dec 2007 05:21:54 -0800 (PST) To: Matthias Schmidt References: <81C6A2BD-78DA-4806-8145-88E4F9B8D5B1@mathematik.uni-marburg.de> From: darcsis@gmail.com (Denise H. G.) Organization: Terra Firma Date: Mon, 03 Dec 2007 21:21:32 +0800 In-Reply-To: <81C6A2BD-78DA-4806-8145-88E4F9B8D5B1@mathematik.uni-marburg.de> (Matthias Schmidt's message of "Mon\, 3 Dec 2007 11\:29\:56 +0100") Message-ID: <86tzmzvrqb.fsf@pluton.xbsd.name> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@freebsd.org Subject: Re: Announcing pkg_search X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2007 13:49:57 -0000 Matthias Schmidt writes: > Hi guys, > > I am not really sure if this is the appropriate list ... if its not, > please redirect me to the right one. > > I wrote a small script called pkg_search to help me searching my local > ports tree for a port/package without using "make search name=" or > something like freshports.org. Its not a big deal, but it eases my > daily pkg_add life a bit :) Hi I am also interested in `pkg_install' tools. A couple of weeks ago I planned to rewrite the `pkg_install' tools from scratch. And first of all I wrote a simple `pkg_info', which does what your `pkg_search' does, but it uses berkeley db to store package information. My idea is that `pkg_install' tools should be implemented in a combination of shell scripts and C codes. That way both the shell script parts and C parts would be somewhat straightforward compared with the current implementation of `pkg_install'. > > Example: > > % pkg_search fvwm2 > fvwm2-i18n-imlib-2.4.20_1 Popular virtual window manager for X > % pkg_search -i fvwm2 > Name : fvwm2-i18n-imlib-2.4.20_1-50 > Dir : /usr/ports/x11-wm/fvwm2-i18n > Desc : Popular virtual window manager for X > URL : http://www.fvwm.org/ > Deps : compositeproto-0.4 > [...] > > You can find it and a man page here: > > http://www.mathematik.uni-marburg.de/~schmidtm/pkg_search/ > > BTW: It works under DragonFly as well. {Net,Open}BSD might work as > well (with possible adoption), but I don't have machines here to test. > > Regards, > > Matthias > > > -- > Dipl.-Inf. Matthias Schmidt > Dept. of Mathematics and Computer Science, Distributed Systems Group > Philipps-University of Marburg, Hans-Meerwein-Strasse, 35032 Marburg > Tel: +49-6421-2821591, Fax: +49-6421-2821573, Office C4347 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --