Date: Fri, 2 Sep 2005 19:48:00 GMT From: Ricardo Alves dos Reis <ricardo_bsd@yahoo.com.br> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/85669: Ports not escape plus signal in make search Message-ID: <200509021948.j82Jm0Z9094961@www.freebsd.org> Resent-Message-ID: <200509021950.j82JoIqN070112@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 85669 >Category: ports >Synopsis: Ports not escape plus signal in make search >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: Fri Sep 02 19:50:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ricardo Alves dos Reis >Release: FreeBSD 5.4-STABLE >Organization: UNIFESP >Environment: FreeBSD xxxxxxxx.xx.xx 5.4-STABLE FreeBSD 5.4-STABLE #6: Tue May 10 09:09:19 BRT 2005 root@pintassilgo:/usr/obj/usr/src/sys/SMP i386 >Description: Ports not escape plus signal in make search. >How-To-Repeat: cd /usr/ports ; make search name="apache+mod_ssl-1.3.33+2.8.22_1" >Fix: cd /usr/ports ; make search name="apache\\+mod_ssl-1.3.33\\+2.8.22_1" or 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); \ ----------------------------------------- /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/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509021948.j82Jm0Z9094961>