[arch-commits] Commit in metasploit/trunk (PKGBUILD)
Levente Polyak
anthraxx at gemini.archlinux.org
Tue May 31 18:53:01 UTC 2022
Date: Tuesday, May 31, 2022 @ 18:53:01
Author: anthraxx
Revision: 1218242
upgpkg: metasploit 6.2.0-1
Modified:
metasploit/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-31 16:59:46 UTC (rev 1218241)
+++ PKGBUILD 2022-05-31 18:53:01 UTC (rev 1218242)
@@ -4,7 +4,7 @@
# Contributor: Tobias Veit - nIcE <m.on.key.tobi[at]gmail[dot]com>
pkgname=metasploit
-pkgver=6.1.35
+pkgver=6.2.0
pkgrel=1
pkgdesc='Advanced open-source platform for developing, testing, and using exploit code'
url='https://www.metasploit.com/'
@@ -13,8 +13,8 @@
depends=('ruby2.7' 'libpcap' 'postgresql-libs' 'sqlite' 'libxslt' 'libxml2' 'inetutils' 'git')
options=('!strip' '!emptydirs')
source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('76628d8bd236683b51e2b8d16fcbde44c57dd3d07f28caeb9e258373da9371725061d387523961ab0fa7a932c06761f307b7b1aaa566e57b2dfa8e96a1e17189')
-b2sums=('2011d5fa189d5d72f811222e8300eda2ca36bb80f4c960692a149a38dd27793648b2025c8e66e9608c5a27835dbfeccef94efd1bb8e81082bed320f2359c4bb0')
+sha512sums=('98014297bc1601ebb8bfba2933607b709e5674f7f85f8e3934c82258d30c250ecdf49a6d99656894a6cec85d140bcd69ea47fd559d6ac44af36b44bdebfd6eee')
+b2sums=('57262140499d4b87b9b8d493ed45887bba30130b9c093b910ce1cf45343327cb60ddde82af731be29fd2c904ad556a6f7032f56a9f9f918d92709a8d60d208ab')
prepare() {
cd ${pkgname}-framework-${pkgver}
@@ -42,7 +42,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.7 exec ruby-2.7 /opt/${pkgname}/`basename "${f}"` \"\$@\"" > "${_msffile}"
+ echo -e "#!/bin/sh\nBUNDLE_GEMFILE=/opt/${pkgname}/Gemfile exec bundle-2.7 exec ruby-2.7 /opt/${pkgname}/`basename "${f}"` \"\$@\"" > "${_msffile}"
chmod 755 "${_msffile}"
done
@@ -49,7 +49,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-2.7 exec ruby-2.7 /opt/${pkgname}/."${f}" \"\$@\"" > "${f}"
+ echo -e "#!/bin/sh\nBUNDLE_GEMFILE=/opt/${pkgname}/Gemfile exec bundle-2.7 exec ruby-2.7 /opt/${pkgname}/."${f}" \"\$@\"" > "${f}"
chmod 755 "${f}"
done
)
@@ -61,7 +61,7 @@
rm "${pkgdir}/usr/bin/msfupdate"
rm -r "${pkgdir}"/opt/metasploit/vendor/bundle/ruby/*/cache
sed -e '/^BUNDLE_JOBS/d' -i "${pkgdir}/opt/metasploit/.bundle/config"
- find "${pkgdir}/opt/metasploit/vendor/bundle/ruby/" -name Makefile -ls -delete
+ find "${pkgdir}/opt/metasploit/vendor/bundle/ruby/" -name Makefile -delete
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list