[24975] branches/dp2mp-move/base/src/port1.0/portdepends.tcl

source_changes at macosforge.org source_changes at macosforge.org
Wed May 9 10:48:37 PDT 2007


Revision: 24975
          http://trac.macosforge.org/projects/macports/changeset/24975
Author:   jmpp at macports.org
Date:     2007-05-09 10:48:37 -0700 (Wed, 09 May 2007)

Log Message:
-----------
Merging r24929, r24934, r24940: Improvements to portname validation for depspec (overall allowing - and / but not + characters).

Modified Paths:
--------------
    branches/dp2mp-move/base/src/port1.0/portdepends.tcl

Modified: branches/dp2mp-move/base/src/port1.0/portdepends.tcl
===================================================================
--- branches/dp2mp-move/base/src/port1.0/portdepends.tcl	2007-05-09 17:43:55 UTC (rev 24974)
+++ branches/dp2mp-move/base/src/port1.0/portdepends.tcl	2007-05-09 17:48:37 UTC (rev 24975)
@@ -48,8 +48,8 @@
 		set {
 			foreach depspec $value {
 				switch -regex $depspec {
-					^(lib|bin|path):([-A-Za-z0-9_/.${}^?+()|\\\\]+):([-A-Za-z./0-9_]+)$ {}
-					^(port):([-A-Za-z./0-9_]+)$ {}
+					^(lib|bin|path):([-A-Za-z0-9_/.${}^?+()|\\\\]+):([-._A-Za-z0-9]+)$ {}
+					^(port):([-._A-Za-z0-9]+)$ {}
 					default { return -code error [format [msgcat::mc "invalid depspec: %s"] $depspec] }
 				}
 			}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070509/c7596eab/attachment.html


More information about the macports-changes mailing list