SOURCES: metasploit3-datadir.patch - leave shebang chunks out of patch

glen glen at pld-linux.org
Fri Jul 25 00:04:08 CEST 2008


Author: glen                         Date: Thu Jul 24 22:04:08 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- leave shebang chunks out of patch

---- Files affected:
SOURCES:
   metasploit3-datadir.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/metasploit3-datadir.patch
diff -u SOURCES/metasploit3-datadir.patch:1.1 SOURCES/metasploit3-datadir.patch:1.2
--- SOURCES/metasploit3-datadir.patch:1.1	Thu Jul 24 23:06:26 2008
+++ SOURCES/metasploit3-datadir.patch	Fri Jul 25 00:04:02 2008
@@ -1,10 +1,6 @@
 --- framework-3.1/msfcli	2008-01-28 05:46:07.000000000 +0200
 +++ framework-3.1-datadir/msfcli	2008-07-24 23:42:51.739797982 +0300
-@@ -1,12 +1,11 @@
--#!/usr/bin/env ruby
-+#!/usr/bin/ruby
- #
- # This user interface allows users to interact with the framework through a
+@@ -2,9 +2,8 @@
  # command line interface (CLI) rather than having to use a prompting console
  # or web-based interface.
  #
@@ -17,11 +13,7 @@
  require 'msf/ui'
 --- framework-3.1/msfconsole	2008-01-28 05:46:07.000000000 +0200
 +++ framework-3.1-datadir/msfconsole	2008-07-24 23:42:55.576019334 +0300
-@@ -1,11 +1,10 @@
--#!/usr/bin/env ruby
-+#!/usr/bin/ruby
- #
- # This user interface provides users with a command console interface to the
+@@ -2,8 +2,7 @@
  # framework.
  #
  
@@ -33,12 +25,6 @@
  require 'msf/ui'
 --- framework-3.1/msfd	2008-01-28 05:46:07.000000000 +0200
 +++ framework-3.1-datadir/msfd	2008-07-24 23:42:58.584192908 +0300
-@@ -1,4 +1,4 @@
--#!/usr/bin/env ruby
-+#!/usr/bin/ruby
- #
- # This user interface listens on a port and provides clients that connect to
- # it with an msfconsole instance.  The nice thing about this interface is that
 @@ -6,8 +6,7 @@
  # possible for sessions to to be shared from a single vantage point.
  #
@@ -51,9 +37,7 @@
  require 'msf/ui'
 --- framework-3.1/msfencode	2008-01-28 05:46:07.000000000 +0200
 +++ framework-3.1-datadir/msfencode	2008-07-24 23:43:01.484360250 +0300
-@@ -1,7 +1,6 @@
--#!/usr/bin/env ruby
-+#!/usr/bin/ruby
+@@ -2,6 +2,5 @@
  
 -msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
 -$:.unshift(File.join(File.dirname(msfbase), 'lib'))
@@ -63,10 +47,7 @@
  require 'msf/ui'
 --- framework-3.1/msfgui	2008-01-28 05:46:07.000000000 +0200
 +++ framework-3.1-datadir/msfgui	2008-07-24 23:43:06.008621303 +0300
-@@ -1,11 +1,9 @@
--#!/usr/bin/env ruby
-+#!/usr/bin/ruby
- #
+@@ -2,9 +2,7 @@
  # This is a basic user interface using the Gtk2 GUI library
  #
  
@@ -79,10 +60,7 @@
  require 'msf/base'
 --- framework-3.1/msfopcode	2008-01-28 05:46:07.000000000 +0200
 +++ framework-3.1-datadir/msfopcode	2008-07-24 23:42:44.267366817 +0300
-@@ -1,12 +1,11 @@
--#!/usr/bin/env ruby
-+#!/usr/bin/ruby
- #
+@@ -2,10 +2,9 @@
  # This user interface provides a command line interface to the Metasploit
  # Opcode Database.  It provides users with the ability to search for opcodes
  # and to display information about modules.
@@ -96,9 +74,7 @@
  require 'rex/ui'
 --- framework-3.1/msfpayload	2008-01-28 05:46:07.000000000 +0200
 +++ framework-3.1-datadir/msfpayload	2008-07-24 23:43:13.361045543 +0300
-@@ -1,7 +1,6 @@
--#!/usr/bin/env ruby
-+#!/usr/bin/ruby
+@@ -2,6 +2,5 @@
  
 -msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
 -$:.unshift(File.join(File.dirname(msfbase), 'lib'))
@@ -108,9 +84,7 @@
  require 'msf/ui'
 --- framework-3.1/msfpescan	2008-01-28 05:46:07.000000000 +0200
 +++ framework-3.1-datadir/msfpescan	2008-07-24 23:43:16.729239890 +0300
-@@ -1,7 +1,6 @@
--#!/usr/bin/env ruby
-+#!/usr/bin/ruby
+@@ -2,6 +2,5 @@
  
 -msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
 -$:.unshift(File.join(File.dirname(msfbase), 'lib'))
@@ -120,10 +94,7 @@
  require 'rex/pescan'
 --- framework-3.1/msfweb	2008-01-28 05:46:07.000000000 +0200
 +++ framework-3.1-datadir/msfweb	2008-07-24 23:43:27.001832626 +0300
-@@ -1,12 +1,10 @@
--#!/usr/bin/env ruby
-+#!/usr/bin/ruby
- #
+@@ -2,10 +2,8 @@
  # This user interface provides users with a web-based interface to the framework
  #
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/metasploit3-datadir.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list