summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-11-12 08:53:33 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-11-12 08:53:33 +0000
commitb7081db94661ccb7b8d6ab87989ca8d965f5699e (patch)
tree2ea13ad635b589a7c5950c35a51ff7a95a3dae27
parent9c0ae8458f88d5a2587ca4c5891e854d499f3b82 (diff)
downloadfreebsd-ports-b7081db94661ccb7b8d6ab87989ca8d965f5699e.zip
Update to 4.12.41
-rw-r--r--security/metasploit/Makefile9
-rw-r--r--security/metasploit/distinfo6
2 files changed, 6 insertions, 9 deletions
diff --git a/security/metasploit/Makefile b/security/metasploit/Makefile
index ee3b64aebd8a..f601304c387c 100644
--- a/security/metasploit/Makefile
+++ b/security/metasploit/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= metasploit
-PORTVERSION= 4.12.39
+PORTVERSION= 4.12.41
CATEGORIES= security
MAINTAINER= tanawts@gmail.com
@@ -94,14 +94,11 @@ do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${PAX} -rw . ${STAGEDIR}${DATADIR}
.for f in ${SCRIPTS}
- ${PRINTF} '#!/bin/sh\ncd ${DATADIR} && ./${f} "$$@"\n' > ${STAGEDIR}${PREFIX}/bin/${f}
+ ${LN} -s ../${DATADIR_REL}/${f} ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
post-install:
-.for f in ${SCRIPTS}
- @${ECHO} "@(,,555) bin/${f}" >> ${TMPPLIST}
-.endfor
- @${FIND} ${STAGEDIR}${DATADIR} ! -type d | \
+ @${FIND} ${STAGEDIR} ! -type d | \
${SED} 's,${STAGEDIR}${PREFIX}/,, ; /Gemfile.lock/s|^|@(,,0666) |' >> ${TMPPLIST}
@${FIND} -ds ${STAGEDIR}${DATADIR} -type d -empty | \
${SED} 's,${STAGEDIR}${PREFIX}/,, ; s,^,@dir ,' >> ${TMPPLIST}
diff --git a/security/metasploit/distinfo b/security/metasploit/distinfo
index 967989f23ce9..5b82227c99ba 100644
--- a/security/metasploit/distinfo
+++ b/security/metasploit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1477722668
-SHA256 (rapid7-metasploit-framework-4.12.39_GH0.tar.gz) = 9371c56c20247221f2855ac9dc991643290dab142139f227c87ec9bfe17d55b0
-SIZE (rapid7-metasploit-framework-4.12.39_GH0.tar.gz) = 23273433
+TIMESTAMP = 1478932647
+SHA256 (rapid7-metasploit-framework-4.12.41_GH0.tar.gz) = 103cd6bc8aec2a8485be42dce1af882240d139993007abfc140ee6fa8cf6ea3c
+SIZE (rapid7-metasploit-framework-4.12.41_GH0.tar.gz) = 23320984