[143382] trunk/dports/security/metasploit3/Portfile
mojca at macports.org
mojca at macports.org
Sat Dec 12 09:45:00 PST 2015
Revision: 143382
https://trac.macports.org/changeset/143382
Author: mojca at macports.org
Date: 2015-12-11 13:42:24 -0800 (Fri, 11 Dec 2015)
Log Message:
-----------
metasploit3: whitespace, first line, checksums only
Modified Paths:
--------------
trunk/dports/security/metasploit3/Portfile
Modified: trunk/dports/security/metasploit3/Portfile
===================================================================
--- trunk/dports/security/metasploit3/Portfile 2015-12-11 21:40:49 UTC (rev 143381)
+++ trunk/dports/security/metasploit3/Portfile 2015-12-11 21:42:24 UTC (rev 143382)
@@ -1,76 +1,74 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-name metasploit3
-conflicts metasploit2
-version 3.0
-revision 1
-categories security
-maintainers nomaintainer
-description Tools and information for security research and pentesting
-homepage http://metasploit.com/
-platforms darwin
+PortSystem 1.0
-long_description \
- The Metasploit Project goal is to provide useful information to people \
- who perform penetration testing, IDS signature development, and exploit \
- research. This framework was created to fill the gaps in the information \
- publicly available on various exploitation techniques and to create a \
- useful resource for exploit developers. The tools and information are \
- provided for legal security research and testing purposes only.
+name metasploit3
+conflicts metasploit2
+version 3.0
+revision 1
+categories security
+maintainers nomaintainer
+homepage http://metasploit.com/
+platforms darwin
-#master_sites http://downloads.metasploit.com/data/releases/
-master_sites macports_distfiles
+description Tools and information for security research and pentesting
+long_description The Metasploit Project goal is to provide useful information to people \
+ who perform penetration testing, IDS signature development, and exploit \
+ research. This framework was created to fill the gaps in the information \
+ publicly available on various exploitation techniques and to create a \
+ useful resource for exploit developers. The tools and information are \
+ provided for legal security research and testing purposes only.
-distname framework-${version}
+#master_sites http://downloads.metasploit.com/data/releases/
+master_sites macports_distfiles
-checksums md5 ab98f0a09b371f9638c7f49f1b83f5c4 \
- sha1 e6636cb5849f2403c8b6a8812205f4a249d63df3
+distname framework-${version}
-depends_lib port:ruby \
- port:rb-libglade2 \
- port:rb-gtk2 \
- port:rb-rails \
- port:readline
+checksums rmd160 849305ffcf0ccbdf16d3dac8d7ab20ac745fbcd8 \
+ sha256 cb27df6dafe7b2d1c2d2174000afd07965cdc09e759e8cda5147cfc58e445251
-patchfiles patch-data-msfweb-config-environment.rb \
- patch-msfcli \
- patch-msfconsole \
- patch-msfd \
- patch-msfencode \
- patch-msfgui \
- patch-msfopcode \
- patch-msfpayload \
- patch-msfpescan \
- patch-msfweb \
- patch-tools-module_license.rb \
- patch-tools-msf_irb_shell.rb
+depends_lib port:ruby \
+ port:rb-libglade2 \
+ port:rb-gtk2 \
+ port:rb-rails \
+ port:readline
+patchfiles patch-data-msfweb-config-environment.rb \
+ patch-msfcli \
+ patch-msfconsole \
+ patch-msfd \
+ patch-msfencode \
+ patch-msfgui \
+ patch-msfopcode \
+ patch-msfpayload \
+ patch-msfpescan \
+ patch-msfweb \
+ 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"
- xinstall -d -m 755 ${destroot}${prefix}/${metasploitTargetDir}
- foreach file [glob -directory ${workpath}/${worksrcdir} *] {
- file copy ${file} ${destroot}${prefix}/${metasploitTargetDir}
- }
- foreach file [glob -directory ${destroot}${prefix}/${metasploitTargetDir} msf*] {
- set useFile [file tail ${file}]
-## 'file link' doesn't play nice, it doesn't (seem) to want to do relative paths...
-## file link -symbolic ${useFile} ../${metasploitTargetDir}/${useFile}
-## so use 'system "ln -s ..."' instead.
- system "cd ${destroot}${prefix}/sbin && /bin/ln -s ../${metasploitTargetDir}/${useFile} ${useFile}"
- }
- }
+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
+ }
+}
-#
-##EOF
+destroot {
+ set metasploitTargetDir "libexec/metasploit3"
+ xinstall -d -m 755 ${destroot}${prefix}/${metasploitTargetDir}
+ foreach file [glob -directory ${workpath}/${worksrcdir} *] {
+ file copy ${file} ${destroot}${prefix}/${metasploitTargetDir}
+ }
+ foreach file [glob -directory ${destroot}${prefix}/${metasploitTargetDir} msf*] {
+ set useFile [file tail ${file}]
+## 'file link' doesn't play nice, it doesn't (seem) to want to do relative paths...
+## file link -symbolic ${useFile} ../${metasploitTargetDir}/${useFile}
+## so use 'system "ln -s ..."' instead.
+ system "cd ${destroot}${prefix}/sbin && /bin/ln -s ../${metasploitTargetDir}/${useFile} ${useFile}"
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/03ecea1b/attachment.html>
More information about the macports-changes
mailing list