From owner-freebsd-stable@FreeBSD.ORG Fri Sep 2 11:47:42 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C65F16A41F for ; Fri, 2 Sep 2005 11:47:42 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: from smtp202.mail.sc5.yahoo.com (smtp202.mail.sc5.yahoo.com [216.136.129.92]) by mx1.FreeBSD.org (Postfix) with SMTP id 1DD6043D46 for ; Fri, 2 Sep 2005 11:47:42 +0000 (GMT) (envelope-from ricardo_bsd@yahoo.com.br) Received: (qmail 34240 invoked from network); 2 Sep 2005 11:47:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Received:Subject:From:To:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=LJQ8TMLHvhdhSVq5yXe073BHMvZ2G1ci+10e2vUF7NW2CHuUIkAVOFJVzvaQjBm0gQvgYNS3SpIXBJFk7XjJvV3a73aMMXyJjue9P2cTQGIWNOXT4mmwmdtZhzVqdq9CpoNxZEJ3Z4Uh5TZFRR2QGrrC03s3LqREQnhwGI5etB0= ; Received: from unknown (HELO ricardo.epm.br) (ricardo?bsd@200.17.25.161 with plain) by smtp202.mail.sc5.yahoo.com with SMTP; 2 Sep 2005 11:47:37 -0000 From: Ricardo Alves dos Reis To: stable@freebsd.org Content-Type: text/plain Date: Fri, 02 Sep 2005 11:47:11 +0000 Message-Id: <1125661631.3233.9.camel@ricardo.epm.br> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3nb1 Content-Transfer-Encoding: 7bit Cc: Subject: PORTS: Escape Plus Signal in make search X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2005 11:47:42 -0000 Hi all, I discover one bug in make search target, variable name not escape + /usr/ports# make search name="apache+mod_ssl-1.3.33+2.8.22_1" /usr/ports# This small path add gsub + per /+, --------------------------------------- *** bsd.port.subdir.mk Mon Feb 28 18:09:04 2005 --- bsd.port.subdir.mk.diff Fri Sep 2 08:37:36 2005 *************** *** 365,370 **** --- 365,371 ---- -v xkeylim="$${xkeylim:-${PORTSEARCH_XKEYLIM}}" \ -v display="$${display:-${PORTSEARCH_DISPLAY_FIELDS}}" \ 'BEGIN { \ + gsub(/\+/,"\\+",name);\ if (substr(there, 1, length(top)) == top) \ there = "${PORTSDIR}" substr(there, 1 + length(top)); \ therelen = length(there); \ ----------------------------------------- With the patch /usr/ports# make search name="apache+mod_ssl-1.3.33+2.8.22_1" Port: apache+mod_ssl-1.3.33+2.8.22_1 Path: /usr/ports/www/apache13-modssl Info: The Apache 1.3 webserver with SSL/TLS functionality Maint: dinoex@FreeBSD.org B-deps: expat-1.95.8_3 mm-1.3.1 perl-5.8.7 R-deps: expat-1.95.8_3 mm-1.3.1 WWW: http://www.apache.org/ Ricardo A. Reis UNIFESP - SENAI _______________________________________________________ Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR UMA VIAGEM NA CONVERSA. Participe! www.yahoo.com.br/messenger/promocao