Changeset 143383


Ignore:
Timestamp:
Dec 11, 2015, 9:54:52 PM (3 years ago)
Author:
mojca@…
Message:

metasploit3: perl is gone, all dependencies are runtime, link to version 4 on github (#49985)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/metasploit3/Portfile

    r143382 r143383  
    2121                    provided for legal security research and testing purposes only.
    2222
     23# New versions are probably available under
     24# https://github.com/rapid7/metasploit-framework
    2325#master_sites       http://downloads.metasploit.com/data/releases/
    2426master_sites        macports_distfiles
     
    2931                    sha256  cb27df6dafe7b2d1c2d2174000afd07965cdc09e759e8cda5147cfc58e445251
    3032
    31 depends_lib         port:ruby \
     33depends_run         port:ruby \
    3234                    port:rb-libglade2 \
    3335                    port:rb-gtk2 \
    3436                    port:rb-rails \
    3537                    port:readline
     38
    3639
    3740patchfiles          patch-data-msfweb-config-environment.rb \
     
    4851                    patch-tools-msf_irb_shell.rb
    4952
    50 
    5153use_configure       no
    5254
     
    5456    ## remove the .svn/ directories, no need to move them around
    5557    system "cd ${worksrcpath} && find . -type d -name '\.svn' | xargs /bin/rm -rf"
    56     foreach file [glob -directory ${worksrcpath} msf*] {
    57         reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl|" $file
    58     }
    5958}
    6059
    6160destroot {
    62     set metasploitTargetDir "libexec/metasploit3"
     61    set metasploitTargetDir "libexec/${name}"
    6362    xinstall -d -m 755 ${destroot}${prefix}/${metasploitTargetDir}
    6463    foreach file [glob -directory ${workpath}/${worksrcdir} *] {
Note: See TracChangeset for help on using the changeset viewer.