[arch-commits] Commit in metasploit/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Jan 6 00:48:52 UTC 2018


    Date: Saturday, January 6, 2018 @ 00:48:49
  Author: anthraxx
Revision: 279361

upgpkg: metasploit 4.16.30-1 (fixing ruby2.4 runtime call)

Modified:
  metasploit/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-05 23:24:22 UTC (rev 279360)
+++ PKGBUILD	2018-01-06 00:48:49 UTC (rev 279361)
@@ -3,8 +3,8 @@
 # Contributor: Tobias Veit - nIcE <m.on.key.tobi[at]gmail[dot]com>
 
 pkgname=metasploit
-pkgver=4.16.24
-pkgrel=2
+pkgver=4.16.30
+pkgrel=1
 pkgdesc='Advanced open-source platform for developing, testing, and using exploit code'
 url='https://www.metasploit.com/'
 arch=('x86_64')
@@ -14,9 +14,9 @@
 options=('!strip' '!emptydirs')
 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz
         metasploit-dont-restrict-aggregator.patch)
-sha256sums=('86af2838a70238515153687fef66d70c6001c441c3b35d6c74f8be7488312ce8'
+sha256sums=('bc44e8f65d7b4c7d7372c92e0ff22a1e53b9bee8b06b2b1b253b0da9eef3ab16'
             'f1a6d0369f24eb622d23dd0fed428cf6404f74cfb0a8001af5d1e18df026d9f6')
-sha512sums=('400bc290d751058db18fdac044ba4925d0e995a9d7d7c0c72f4820c7af18afb0fc8944542bfe048d46444c7afec6974e639c34a84d8e75457f7bf890649c6a11'
+sha512sums=('1ba6d7bbb711fca0dad49b5b1ce36b807c2fd0eb423ea3015af6703ed4755e33d3c2bdf726699a158702fec217a608e62b5b71862e0dc68c7d45db01c4a46ef0'
             '71611dd350a3f74b6ba61d1508b57d357de221bb676d25d96d5bbcd898e5cabb978ffb9c6c3b37559055fb886c11fe4fed64d8b701d1d94dfff057a32ed53b00')
 
 prepare() {
@@ -40,7 +40,7 @@
 
   for f in "${pkgdir}"/opt/${pkgname}/msf*; do
     local _msffile="${pkgdir}/usr/bin/`basename "${f}"`"
-    echo -e "#!/bin/sh\nBUNDLE_GEMFILE=/opt/${pkgname}/Gemfile bundle-2.4 exec ruby /opt/${pkgname}/`basename "${f}"` \"\$@\"" > "${_msffile}"
+    echo -e "#!/bin/sh\nBUNDLE_GEMFILE=/opt/${pkgname}/Gemfile bundle-2.4 exec ruby-2.4 /opt/${pkgname}/`basename "${f}"` \"\$@\"" > "${_msffile}"
     chmod 755 "${_msffile}"
   done
 
@@ -47,7 +47,7 @@
   (cd "${pkgdir}/opt/${pkgname}"
     for f in tools/*/*.rb; do
       install -Dm 755 "${f}" ".${f}"
-      echo -e "#!/bin/sh\nBUNDLE_GEMFILE=/opt/${pkgname}/Gemfile bundle exec ruby-2.4 /opt/${pkgname}/."${f}" \"\$@\"" > "${f}"
+      echo -e "#!/bin/sh\nBUNDLE_GEMFILE=/opt/${pkgname}/Gemfile bundle-2.4 exec ruby-2.4 /opt/${pkgname}/."${f}" \"\$@\"" > "${f}"
       chmod 755 "${f}"
     done
   )



More information about the arch-commits mailing list