[gentoo-commits] gentoo-x86 commit in net-analyzer/metasploit/files: bug-8792.patch

2014-04-28 Thread Richard Farina (zerochaos)
zerochaos14/04/28 18:40:24

  Removed:  bug-8792.patch
  Log:
  bug 8792 fixed upstream
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
DD11F94A)



[gentoo-commits] gentoo-x86 commit in net-analyzer/metasploit/files: bug-8792.patch

2014-04-25 Thread Richard Farina (zerochaos)
zerochaos14/04/25 16:48:54

  Added:bug-8792.patch
  Log:
  updates for , partial fixes for tests, fix for bug 508490
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
DD11F94A)

Revision  ChangesPath
1.1  net-analyzer/metasploit/files/bug-8792.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/files/bug-8792.patch?rev=1.1view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/files/bug-8792.patch?rev=1.1content-type=text/plain

Index: bug-8792.patch
===
diff --git a/spec/support/shared/contexts/msf/util/exe.rb 
b/spec/support/shared/contexts/msf/util/exe.rb
index e1372a6..c1b6ea5 100644
--- a/spec/support/shared/contexts/msf/util/exe.rb
+++ b/spec/support/shared/contexts/msf/util/exe.rb
@@ -36,8 +36,8 @@ shared_context 'Msf::Util::Exe' do
   { :format = psh,  :arch = x86_64, :file_fp = /ASCII/  },
   { :format = psh-net,  :arch = x86, :file_fp = /ASCII/  },
   { :format = psh-net,  :arch = x86_64, :file_fp = /ASCII/  },
-  { :format = war,  :arch = x86, :file_fp = /zip/i  },
-  { :format = war,  :arch = x86_64, :file_fp = /zip/i  },
+  { :format = war,  :arch = x86, :file_fp = /zip|jar/i  },
+  { :format = war,  :arch = x86_64, :file_fp = /zip|jar/i  },
   { :format = msi,  :arch = x86, :file_fp = /(Composite 
Document)|(CDF V2 Document)/  },
   { :format = msi,  :arch = x64, :file_fp = /(Composite 
Document)|(CDF V2 Document)/  },
   { :format = msi,  :arch = x86_64, :file_fp = /(Composite 
Document)|(CDF V2 Document)/  },
@@ -51,29 +51,29 @@ shared_context 'Msf::Util::Exe' do
   { :format = elf, :arch = armle,  :file_fp = /ELF 32.*ARM/ },
   { :format = elf, :arch = mipsbe, :file_fp = /ELF 32-bit MSB 
executable, MIPS/ },
   { :format = elf, :arch = mipsle, :file_fp = /ELF 32-bit LSB 
executable, MIPS/ },
-  { :format = war,  :arch = x86, :file_fp = /zip/i  },
-  { :format = war,  :arch = x64, :file_fp = /zip/i  },
-  { :format = war,  :arch = armle, :file_fp = /zip/i  },
-  { :format = war,  :arch = mipsbe, :file_fp = /zip/i  },
-  { :format = war,  :arch = mipsle, :file_fp = /zip/i  },
+  { :format = war,  :arch = x86, :file_fp = /zip|jar/i  },
+  { :format = war,  :arch = x64, :file_fp = /zip|jar/i  },
+  { :format = war,  :arch = armle, :file_fp = /zip|jar/i  },
+  { :format = war,  :arch = mipsbe, :file_fp = /zip|jar/i  },
+  { :format = war,  :arch = mipsle, :file_fp = /zip|jar/i  },
 ],
 bsd = [
   { :format = elf, :arch = x86, :file_fp = /ELF 32.*BSD/ },
-  { :format = war,  :arch = x86, :file_fp = /zip/i  },
+  { :format = war,  :arch = x86, :file_fp = /zip|jar/i  },
 ],
 solaris = [
   { :format = elf, :arch = x86, :file_fp = /ELF 32/ },
-  { :format = war,  :arch = x86, :file_fp = /zip/i  },
+  { :format = war,  :arch = x86, :file_fp = /zip|jar/i  },
 ],
 osx = [
   { :format = macho, :arch = x86,   :file_fp = /Mach-O.*i386/  },
   { :format = macho, :arch = x64,   :file_fp = /Mach-O 64/ },
   { :format = macho, :arch = armle, :file_fp = 
/Mach-O.*(acorn|arm)/ },
   { :format = macho, :arch = ppc,   :file_fp = /Mach-O.*ppc/   },
-  { :format = war,  :arch = x86, :file_fp = /zip/i  },
-  { :format = war,  :arch = x64, :file_fp = /zip/i  },
-  { :format = war,  :arch = armle, :file_fp = /zip/i  },
-  { :format = war,  :arch = ppc, :file_fp = /zip/i  },
+  { :format = war,  :arch = x86, :file_fp = /zip|jar/i  },
+  { :format = war,  :arch = x64, :file_fp = /zip|jar/i  },
+  { :format = war,  :arch = armle, :file_fp = /zip|jar/i  },
+  { :format = war,  :arch = ppc, :file_fp = /zip|jar/i  },
 ],
   }