[24866] branches/dp2mp-move/base/src/macports1.0/macports.tcl

source_changes at macosforge.org source_changes at macosforge.org
Sun May 6 19:34:42 PDT 2007


Revision: 24866
          http://trac.macosforge.org/projects/macports/changeset/24866
Author:   jmpp at macports.org
Date:     2007-05-06 19:34:41 -0700 (Sun, 06 May 2007)

Log Message:
-----------
Manually merging jberry's r24652: Add mpwa configuration variables mp_remote_url and mp_remote_submit_url

Modified Paths:
--------------
    branches/dp2mp-move/base/src/macports1.0/macports.tcl

Modified: branches/dp2mp-move/base/src/macports1.0/macports.tcl
===================================================================
--- branches/dp2mp-move/base/src/macports1.0/macports.tcl	2007-05-06 22:44:57 UTC (rev 24865)
+++ branches/dp2mp-move/base/src/macports1.0/macports.tcl	2007-05-07 02:34:41 UTC (rev 24866)
@@ -41,13 +41,15 @@
     	portdbpath libpath binpath auto_path extra_env sources_conf prefix portdbformat \
     	portinstalltype portarchivemode portarchivepath portarchivetype portautoclean \
     	porttrace portverbose destroot_umask variants_conf rsync_server rsync_options \
-    	rsync_dir startupitem_type xcodeversion xcodebuildcmd"
+    	rsync_dir startupitem_type xcodeversion xcodebuildcmd \
+        mp_remote_url mp_remote_submit_url"
     variable user_options "submitter_name submitter_email submitter_key"
     variable portinterp_options "\
     	portdbpath portpath portbuildpath auto_path prefix portsharepath \
     	registry.path registry.format registry.installtype portarchivemode portarchivepath \
     	portarchivetype portautoclean porttrace portverbose destroot_umask rsync_server \
     	rsync_options rsync_dir startupitem_type \
+        mp_remote_url mp_remote_submit_url \
     	$user_options"
     
     # deferred options are only computed when needed.
@@ -494,6 +496,16 @@
     	set macports::startupitem_type "default"
     	global macports::startupitem_type
     }
+
+    # Default mp remote options
+    if {![info exists mp_remote_url]} {
+	set macports::mp_remote_url "http://db.macports.org"
+	global macports::mp_remote_url
+    }
+    if {![info exists mp_remote_submit_url]} {
+	set macports::mp_remote_submit_url "${macports::mp_remote_url}/submit"
+	global macports::mp_remote_submit_url
+    }
     
     # ENV cleanup.
 	set keepenvkeys { DISPLAY DYLD_FALLBACK_FRAMEWORK_PATH

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


More information about the macports-changes mailing list