From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 30 01:40:19 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A6A816A4CE for ; Sat, 30 Oct 2004 01:40:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B58F43D5D for ; Sat, 30 Oct 2004 01:40:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9U1eJkY034218 for ; Sat, 30 Oct 2004 01:40:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9U1eJnN034217; Sat, 30 Oct 2004 01:40:19 GMT (envelope-from gnats) Resent-Date: Sat, 30 Oct 2004 01:40:19 GMT Resent-Message-Id: <200410300140.i9U1eJnN034217@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Radek Kozlowski" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCE7D16A4CE for ; Sat, 30 Oct 2004 01:36:33 +0000 (GMT) Received: from biggie.spekt.net (biggie.spekt.net [67.18.79.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EEE143D49 for ; Sat, 30 Oct 2004 01:36:33 +0000 (GMT) (envelope-from radek@raadradd.com) Received: from raadradd.homeunix.org (bwa48.neoplus.adsl.tpnet.pl [83.29.224.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by biggie.spekt.net (Postfix) with ESMTP id 775944019 for ; Sat, 30 Oct 2004 03:36:28 +0200 (CEST) Received: from ddardaar (ddardaar [192.168.1.11]) by raadradd.homeunix.org (Postfix) with ESMTP id 9F662A538 for ; Sat, 30 Oct 2004 03:36:25 +0200 (CEST) Message-Id: <1099100198.0@ddardaar> Date: Sat, 30 Oct 2004 03:36:38 +0200 From: "Radek Kozlowski" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.3.4 Subject: ports/73299: [PATCH] ports/Mk/bsd.port.subdir.mk: add search by category X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2004 01:40:19 -0000 >Number: 73299 >Category: ports >Synopsis: [PATCH] ports/Mk/bsd.port.subdir.mk: add search by category >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 30 01:40:18 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Radek Kozlowski >Release: FreeBSD 5.3-RELEASE i386 >Organization: >Environment: System: FreeBSD 5.3-RELEASE #8: Mon Oct 25 04:39:44 CEST 2004 root@ddardaar:/usr/obj/usr/src/sys/DDARDAAR >Description: Add the possibility to search the ports by category. >How-To-Repeat: raadradd@ddardaar:/usr/ports> make search cat=gnome display=name,cat The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" >From ports(7): search Search the INDEX file for the pattern specified by the key (searches the port name, comment, and dependencies), name (searches the port name only), path (searches the port path), info (searches the port info), maint (searches the port maintainer), cat (searches the port ^^^ category) [...] >Fix: --- bsd.port.subdir.mk.diff begins here --- --- bsd.port.subdir.mk.orig Fri Oct 29 16:18:37 2004 +++ bsd.port.subdir.mk Sat Oct 30 03:23:16 2004 @@ -332,6 +332,7 @@ -z "$$path" -a -z "$$xpath" -a \ -z "$$info" -a -z "$$xinfo" -a \ -z "$$maint" -a -z "$$xmaint" -a \ + -z "$$cat" -a -z "$$xcat" -a \ -z "$$bdeps" -a -z "$$xbdeps" -a \ -z "$$rdeps" -a -z "$$xrdeps" ]; \ then \ --- bsd.port.subdir.mk.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: