[143383] trunk/dports/security/metasploit3/Portfile
mojca at macports.org
mojca at macports.org
Sat Dec 12 09:45:15 PST 2015
Revision: 143383
https://trac.macports.org/changeset/143383
Author: mojca at macports.org
Date: 2015-12-11 13:54:52 -0800 (Fri, 11 Dec 2015)
Log Message:
-----------
metasploit3: perl is gone, all dependencies are runtime, link to version 4 on github (#49985)
Modified Paths:
--------------
trunk/dports/security/metasploit3/Portfile
Modified: trunk/dports/security/metasploit3/Portfile
===================================================================
--- trunk/dports/security/metasploit3/Portfile 2015-12-11 21:42:24 UTC (rev 143382)
+++ trunk/dports/security/metasploit3/Portfile 2015-12-11 21:54:52 UTC (rev 143383)
@@ -20,6 +20,8 @@
useful resource for exploit developers. The tools and information are \
provided for legal security research and testing purposes only.
+# New versions are probably available under
+# https://github.com/rapid7/metasploit-framework
#master_sites http://downloads.metasploit.com/data/releases/
master_sites macports_distfiles
@@ -28,12 +30,13 @@
checksums rmd160 849305ffcf0ccbdf16d3dac8d7ab20ac745fbcd8 \
sha256 cb27df6dafe7b2d1c2d2174000afd07965cdc09e759e8cda5147cfc58e445251
-depends_lib port:ruby \
+depends_run port:ruby \
port:rb-libglade2 \
port:rb-gtk2 \
port:rb-rails \
port:readline
+
patchfiles patch-data-msfweb-config-environment.rb \
patch-msfcli \
patch-msfconsole \
@@ -47,19 +50,15 @@
patch-tools-module_license.rb \
patch-tools-msf_irb_shell.rb
-
use_configure no
build {
## remove the .svn/ directories, no need to move them around
system "cd ${worksrcpath} && find . -type d -name '\.svn' | xargs /bin/rm -rf"
- foreach file [glob -directory ${worksrcpath} msf*] {
- reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl|" $file
- }
}
destroot {
- set metasploitTargetDir "libexec/metasploit3"
+ set metasploitTargetDir "libexec/${name}"
xinstall -d -m 755 ${destroot}${prefix}/${metasploitTargetDir}
foreach file [glob -directory ${workpath}/${worksrcdir} *] {
file copy ${file} ${destroot}${prefix}/${metasploitTargetDir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/4f5d8c94/attachment.html>
More information about the macports-changes
mailing list