+ if (
+ ($source_url =~ m@^http://(ar)?download\.adobe\.com/.*\.(exe|msi|bin|dmg|idx|gz)$@i) ||
+ ($source_url =~ m@^http://swupdl\.adobe\.com/updates/.*\.(exe|msi|bin|dmg|idx|gz|[a-z][a-z]_[A-Z][A-Z])$@i) ||
+ ($source_url =~ m@^http://swupmf\.adobe\.com/manifest/.*\.upd$@i)
+ )
+ {
+ $xlrator_url = &check_cache($source_url,$hostaddr,$username,"Adobe",$unique);
+ }
+
+ # -----------------------------------------------------------
+ # Section: Linux Downloads
+ # -----------------------------------------------------------
+
+ if (
+ ($source_url =~ m@^[h|f]t?tp://[^?]+\.(deb|rpm)$@i) ||
+ ($source_url =~ m@^[h|f]t?tp://[^?]+/distfiles/[^?]+\.(tar\.gz|tar\.bz2|tgz|zip|patch\.bz2|gz|docx|patch|pdf|exe)$@i)
+ )
+ {
+ $xlrator_url = &check_cache($source_url,$hostaddr,$username,"Linux",$mirror);
+ }
+
+ # -----------------------------------------------------------
+ # Section: Trend Micro Downloads
+ # -----------------------------------------------------------
+
+ if (
+ ($source_url =~ m@^http://[^/]*\.trendmicro\.com/activeupdate/.*@i) &&
+ ($source_url !~ m@.*/tmnotify\.dat$@i) &&
+ ($source_url !~ m@.*/ini_xml\.zip$@i) &&
+ ($source_url !~ m@.*/server\.ini$@i)
+ )