[116116] trunk/dports/security/metasploit2/Portfile

jmr at macports.org jmr at macports.org
Sat Jan 18 19:50:00 PST 2014


Revision: 116116
          https://trac.macports.org/changeset/116116
Author:   jmr at macports.org
Date:     2014-01-18 19:50:00 -0800 (Sat, 18 Jan 2014)
Log Message:
-----------
metasploit2: use perl 5.16, set license

Modified Paths:
--------------
    trunk/dports/security/metasploit2/Portfile

Modified: trunk/dports/security/metasploit2/Portfile
===================================================================
--- trunk/dports/security/metasploit2/Portfile	2014-01-19 03:34:17 UTC (rev 116115)
+++ trunk/dports/security/metasploit2/Portfile	2014-01-19 03:50:00 UTC (rev 116116)
@@ -1,11 +1,13 @@
 # $Id$
 
 PortSystem 1.0
+
 name		metasploit2
 conflicts       metasploit3
 version		2.7
-revision	1
+revision	2
 categories	security
+license		{Artistic-1 GPL-2} GPL-2+ APSL-1.1 Noncommercial Restrictive
 maintainers	nomaintainer
 description	Tools and information for security research and pentesting
 homepage	http://metasploit.com/
@@ -27,19 +29,19 @@
 checksums	md5 ea592cfb006e1b2510b533cece4ecb18 \
 		sha1 da5d41dfa13e549aacd4fbf2994877cbe80ceed9
 
-depends_lib	port:perl5.12 \
-		port:p5.12-term-readline-gnu \
-		port:p5.12-net-ssleay
+depends_lib	port:perl5.16 \
+		port:p5.16-term-readline-gnu \
+		port:p5.16-net-ssleay
 
 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/perl5.12|" $file
+				reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl5.16|" $file
 			}
 		}
-destroot        { 
+destroot        {
 			set metasploitTargetDir "libexec/metasploit2"
 			xinstall -d -m 755 ${destroot}${prefix}/${metasploitTargetDir}
 			foreach file [glob -directory ${workpath}/${worksrcdir} *]  {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140118/db2e95de/attachment.html>


More information about the macports-changes mailing list