[packages/metasploit/merge3: 3/9] - rel 0.6, fixed runtime lookup for rex.rb

glen glen at pld-linux.org
Fri Mar 15 23:19:38 CET 2013


commit 952edba3874746be125973470fd586d570dd6ba9
Author: mguevara <mguevara at pld-linux.org>
Date:   Thu Apr 5 22:26:59 2007 +0000

    - rel 0.6, fixed runtime lookup for rex.rb
    
    Changed files:
        metasploit3.spec -> 1.3

 metasploit.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/metasploit.spec b/metasploit.spec
index cbf04eb..4f1796c 100644
--- a/metasploit.spec
+++ b/metasploit.spec
@@ -1,16 +1,15 @@
 #
 # TODO:	
 #	- add R: rails and RubyGems
-#	- resolve runtime problem with loading ruby modules (rex)
-#	  (move stuff to %{ruby_rubylibdir} ?)
 #	- fix double marking files 
 #	- some docs redundant
+#	- fix req /usr/local/bin/ruby 
 #
 Summary:	The Metasploit Framework - a powerful tool for penetration testing
 Summary(pl.UTF-8):	Metasploit Framework - narzędzie wspomagające testy penetracyjne
 Name:		metasploit3
 Version:	3.0
-Release:	0.5
+Release:	0.6
 License:	MFL v1.2+
 Group:		Applications
 Source0:	http://framework-mirrors.metasploit.com/msf/downloader/framework-%{version}.tar.gz
@@ -66,7 +65,11 @@ cp -a$l documentation/LICENSE LICENSE
 cp -a$l documentation/ChangeLog ChangeLog
 
 cd $RPM_BUILD_ROOT%{_bindir}
-ln -s ../lib/metasploit3/msf* ./
+
+for msf in msfcli msfconsole msfd msfencode msfgui msfopcode msfpayload msfpescan msfweb
+do
+	ln -sf %{_libdir}/metasploit3/${msf} ${msf}
+done
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/metasploit.git/commitdiff/5af0fd996c95d9330f123fadf8bceb31bbe6f108



More information about the pld-cvs-commit mailing list