ports/135457: Update security/metasploit to 3.2
Damian Gerow
dgerow at afflictions.org
Wed Jun 10 23:00:04 UTC 2009
>Number: 135457
>Category: ports
>Synopsis: Update security/metasploit to 3.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 10 23:00:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Damian Gerow
>Release: 8.0-CURRENT
>Organization:
>Environment:
FreeBSD plebeian.afflictions.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Jun 5 21:54:19 EDT 2009 dgerow at plebeian.afflictions.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The attached patch updates security/metasploit from 3.0 to 3.2. Some bits to note:
- as it's now under the BSDL, the port downloads it directly
- there's only one mirror included
- requirements for msfgui have been updated
- un-break the port, as everything but msfgui is working acceptably
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN metasploit.orig/Makefile metasploit/Makefile
--- metasploit.orig/Makefile 2009-03-04 13:43:01.000000000 -0500
+++ metasploit/Makefile 2009-05-17 11:40:16.364665899 -0400
@@ -6,24 +6,19 @@
#
PORTNAME= metasploit
-DISTVERSION= 3.0
-PORTREVISION= 2
+DISTVERSION= 3.2
CATEGORIES= security
-MASTER_SITES= #
+MASTER_SITES= http://spool.metasploit.com/releases/
DISTNAME= framework-${DISTVERSION}
MAINTAINER= onatan at gmail.com
COMMENT= Exploit-Framework for Penetration-Testing
-RUN_DEPENDS= ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion \
- ${LOCALBASE}/lib/ruby/gems/1.8/specifications/activerecord-1.15.6.gemspec:${PORTSDIR}/databases/rubygem-activerecord
+#RUN_DEPENDS= ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion \
+RUN_DEPENDS= ${LOCALBASE}/lib/ruby/gems/1.8/specifications/activerecord-1.15.6.gemspec:${PORTSDIR}/databases/rubygem-activerecord
-SCRIPTS= msfcli msfconsole msfd msfencode msflicense msfopcode \
- msfpayload msfpescan msfweb
-
-RESTRICTED= May not be re-sold for more than the cost of duplication, nor redistributed after patching
-
-BROKEN= unsatisfiable dependency
+SCRIPTS= msfcli msfconsole msfd msfselfscan msfencode msfmachscan \
+ msfopcode msfpayload msfpescan msfweb
NO_BUILD= yes
USE_RUBY= yes
@@ -35,20 +30,11 @@
.endif
.if defined(WITH_MSFGUI)
-RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/wxruby.so:${PORTSDIR}/x11-toolkits/ruby-wx
+RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
+RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/libglade2.so:${PORTSDIR}/devel/ruby-libglade2
SCRIPTS+= msfgui
.endif
-.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
-ECHO_MSG=/usr/bin/printf
-IGNORE=\n \
-Due to licensing restrictions you have to accept the Metasploit Framework\n \
-License before downloading ${DISTNAME}${EXTRACT_SUFX}. Please direct your\n \
-web browser to http://metasploit.com/projects/Framework/msf3/ to read and\n \
-accept the license. Once downloaded, save ${DISTNAME}${EXTRACT_SUFX} \n \
-in ${DISTDIR} and try again.\n
-.endif
-
do-install:
${MKDIR} ${DATADIR}
${CP} -Rp ${WRKSRC}/ ${DATADIR}
diff -ruN metasploit.orig/distinfo metasploit/distinfo
--- metasploit.orig/distinfo 2007-07-22 22:07:27.000000000 -0400
+++ metasploit/distinfo 2009-05-17 10:45:08.850854787 -0400
@@ -1,3 +1,3 @@
-MD5 (framework-3.0.tar.gz) = ab98f0a09b371f9638c7f49f1b83f5c4
-SHA256 (framework-3.0.tar.gz) = cb27df6dafe7b2d1c2d2174000afd07965cdc09e759e8cda5147cfc58e445251
-SIZE (framework-3.0.tar.gz) = 5519218
+MD5 (framework-3.2.tar.gz) = d543bda031b36a247912aa9c6a0f74d9
+SHA256 (framework-3.2.tar.gz) = fc9366a2ab01924e91575352889970e57a551e087c78b5d1dd4287aaf2136a04
+SIZE (framework-3.2.tar.gz) = 13099756
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list