[24652] trunk/base/src/darwinports1.0/darwinports.tcl
source_changes at macosforge.org
source_changes at macosforge.org
Sun Apr 29 10:37:09 PDT 2007
Revision: 24652
http://trac.macosforge.org/projects/macports/changeset/24652
Author: jberry at macports.org
Date: 2007-04-29 10:37:09 -0700 (Sun, 29 Apr 2007)
Log Message:
-----------
Add mpwa configuration variables mp_remote_url and mp_remote_submit_url
Modified Paths:
--------------
trunk/base/src/darwinports1.0/darwinports.tcl
Modified: trunk/base/src/darwinports1.0/darwinports.tcl
===================================================================
--- trunk/base/src/darwinports1.0/darwinports.tcl 2007-04-29 17:36:03 UTC (rev 24651)
+++ trunk/base/src/darwinports1.0/darwinports.tcl 2007-04-29 17:37:09 UTC (rev 24652)
@@ -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.
@@ -498,6 +500,16 @@
global darwinports::startupitem_type
}
+ # Default mp remote options
+ if {![info exists mp_remote_url]} {
+ set darwinports::mp_remote_url "http://db.macports.org"
+ global darwinports::mp_remote_url
+ }
+ if {![info exists mp_remote_submit_url]} {
+ set darwinports::mp_remote_submit_url "${darwinports::mp_remote_url}/submit"
+ global darwinports::mp_remote_submit_url
+ }
+
# ENV cleanup.
set keepenvkeys { DISPLAY DYLD_FALLBACK_FRAMEWORK_PATH
DYLD_FALLBACK_LIBRARY_PATH DYLD_FRAMEWORK_PATH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070429/4b9473f8/attachment.html
More information about the macports-changes
mailing list