Bug 183099 - [patch] update security/metasploit to 4.7.2
Summary: [patch] update security/metasploit to 4.7.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-19 11:30 UTC by Antoine Brodin
Modified: 2013-11-02 09:00 UTC (History)
0 users

See Also:


Attachments
msf.diff (2.42 KB, patch)
2013-10-19 11:30 UTC, Antoine Brodin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Brodin freebsd_committer freebsd_triage 2013-10-19 11:30:00 UTC
- Update to 4.7.2
- Convert to STAGEDIR
- Use options helper for depends
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-19 11:30:07 UTC
Maintainer of security/metasploit,

Please note that PR ports/183099 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/183099

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-19 11:30:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2013-10-19 11:31:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->antoine

Track
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-11-02 08:54:09 UTC
Author: antoine
Date: Sat Nov  2 08:54:02 2013
New Revision: 332457
URL: http://svnweb.freebsd.org/changeset/ports/332457

Log:
  - Update to 4.7.2
  - Use option helpers
  - Convert to STAGEDIR
  
  PR:		ports/183099
  Approved by:	maintainer timeout (2 weeks)

Modified:
  head/security/metasploit/Makefile
  head/security/metasploit/distinfo

Modified: head/security/metasploit/Makefile
==============================================================================
--- head/security/metasploit/Makefile	Sat Nov  2 08:32:28 2013	(r332456)
+++ head/security/metasploit/Makefile	Sat Nov  2 08:54:02 2013	(r332457)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	metasploit
-DISTVERSION=	4.7.0
-PORTREVISION=	1
+DISTVERSION=	4.7.2
 CATEGORIES=	security
 MASTER_SITES=	http://downloads.metasploit.com/data/releases/archive/
 DISTNAME=	framework-${DISTVERSION}
@@ -36,32 +35,27 @@ OPTIONS_DEFINE=	DB
 OPTIONS_DEFAULT=DB
 DB_DESC=	Database support
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDB}
-RUN_DEPENDS+=	rubygem-activerecord>=0:${PORTSDIR}/databases/rubygem-activerecord \
+DB_RUN_DEPENDS=	rubygem-activerecord>=0:${PORTSDIR}/databases/rubygem-activerecord \
 		rubygem-metasploit_data_models>=0.15.1:${PORTSDIR}/security/rubygem-metasploit_data_models \
 		rubygem-pg>=0.11:${PORTSDIR}/databases/rubygem-pg
-.endif
 
 post-patch:
 	${REINPLACE_CMD} 's|bundler/setup|rubygems|' ${WRKSRC}/lib/msfenv.rb
 
 do-install:
-	@${MKDIR} ${DATADIR}
-	${CP} -Rp ${WRKSRC}/ ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${CP} -Rp ${WRKSRC}/ ${STAGEDIR}${DATADIR}
 .for f in ${SCRIPTS}
-	${LN} -s ${DATADIR}/${f} ${PREFIX}/bin/${f}
+	${LN} -s ${DATADIR}/${f} ${STAGEDIR}${PREFIX}/bin/${f}
 .endfor
 
 post-install:
 .for f in ${SCRIPTS}
 	${ECHO} "bin/${f}" >> ${TMPPLIST}
 .endfor
-	@${FIND} ${DATADIR} -type f | ${SED} 's,${PREFIX}/,,' >> ${TMPPLIST}
-	@${FIND} ${DATADIR} -type l | ${SED} 's,${PREFIX}/,,' >> ${TMPPLIST}
-	@${FIND} ${DATADIR} -type d | ${SORT} -r | \
-		${SED} 's,${PREFIX}/,, ; s,^,@dirrm ,' >> ${TMPPLIST}
+	@${FIND} ${STAGEDIR}${DATADIR} -type f | ${SED} 's,${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
+	@${FIND} ${STAGEDIR}${DATADIR} -type l | ${SED} 's,${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
+	@${FIND} ${STAGEDIR}${DATADIR} -type d | ${SORT} -r | \
+		${SED} 's,${STAGEDIR}${PREFIX}/,, ; s,^,@dirrm ,' >> ${TMPPLIST}
 
 .include <bsd.port.mk>

Modified: head/security/metasploit/distinfo
==============================================================================
--- head/security/metasploit/distinfo	Sat Nov  2 08:32:28 2013	(r332456)
+++ head/security/metasploit/distinfo	Sat Nov  2 08:54:02 2013	(r332457)
@@ -1,2 +1,2 @@
-SHA256 (framework-4.7.0.tar.bz2) = 2727c20c895cae12944a213fa42fda3e7ead8523e7714bc195fc4d9a49c0eca2
-SIZE (framework-4.7.0.tar.bz2) = 35123599
+SHA256 (framework-4.7.2.tar.bz2) = bbbb0cc85585fa148d9e7eefeae09b4eeaf061ba457a7490dee450ca7b150f8f
+SIZE (framework-4.7.2.tar.bz2) = 35591358
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Antoine Brodin freebsd_committer freebsd_triage 2013-11-02 08:58:20 UTC
State Changed
From-To: feedback->closed

Port updated