Add special case handling for export controlled OSS repositories (currently sf/os/security)
authorWilliam Roberts <williamr@symbian.org>
Mon, 10 Aug 2009 14:56:07 +0100
changeset 30 cf4bd27a8280
parent 29 09f253c20209
child 31 d1d21a2aeabc
Add special case handling for export controlled OSS repositories (currently sf/os/security)
clone_all_packages.pl
--- a/clone_all_packages.pl	Mon Aug 10 14:28:55 2009 +0100
+++ b/clone_all_packages.pl	Mon Aug 10 14:56:07 2009 +0100
@@ -310,6 +310,11 @@
 "oss/FCL/interim/QEMU",
 );
 
+my %export_control_special_case = (
+  "oss/MCL/sf/os/security" => 1,
+  "oss/FCL/sf/os/security" => 1,
+  );
+
 sub do_system(@)
   {
   my (@cmd) = @_;
@@ -353,7 +358,7 @@
 
   my $repo_url = "https://$username:$password\@$hostname/$package/";
   my $repo_push_url =$repo_url;
-  if ($license ne "sfl")
+  if ($license ne "sfl" && !$export_control_special_case{$package})
     {
     # user registration is not required for reading public package repositories
     $repo_url = "http://developer.symbian.org/$package/";