Date: Monday, April 17, 2023 @ 15:02:34
  Author: kpcyrd
Revision: 1446911

archrelease: copy trunk to community-x86_64

Added:
  metasploit/repos/community-x86_64/PKGBUILD
    (from rev 1446910, metasploit/trunk/PKGBUILD)
  metasploit/repos/community-x86_64/keys/
Deleted:
  metasploit/repos/community-x86_64/PKGBUILD
  metasploit/repos/community-x86_64/keys/

----------+
 PKGBUILD |  140 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 70 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-17 15:02:14 UTC (rev 1446910)
+++ PKGBUILD    2023-04-17 15:02:34 UTC (rev 1446911)
@@ -1,70 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Contributor: Sabart Otto - Seberm <seberm[at]seberm[dot]com>
-# Contributor: Tobias Veit - nIcE <m.on.key.tobi[at]gmail[dot]com>
-
-pkgname=metasploit
-pkgver=6.3.11
-_commit=e9260dd4f856af83dd3827254576a4b01a8702ae # git rev-parse ${pkgver}
-pkgrel=1
-pkgdesc='Advanced open-source platform for developing, testing, and using 
exploit code'
-url='https://www.metasploit.com/'
-arch=('x86_64')
-license=('BSD')
-depends=('ruby' 'ruby-bundler' 'libpcap' 'postgresql-libs' 'sqlite' 'libxslt' 
'libxml2' 'inetutils' 'git')
-options=('!strip' '!emptydirs')
-source=(git+https://github.com/rapid7/metasploit-framework.git?signed#tag=${_commit})
-sha512sums=('SKIP')
-validpgpkeys=('09E55FAF4F7862CD6D558997CDFB5FA52007B954') # Metasploit 
<[email protected]>
-
-prepare() {
-  cd ${pkgname}-framework
-
-  # https://github.com/undler/bundler/issues/6882
-  sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock
-
-  bundle config build.nokogiri --use-system-libraries
-  bundle config set --local deployment 'true'
-  sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec
-}
-
-build() {
-  cd ${pkgname}-framework
-  CFLAGS+=" -I/usr/include/libxml2"
-  bundle install -j"$(nproc)" --no-cache
-  find vendor/bundle/ruby -exec chmod o+r '{}' \;
-  find vendor/bundle/ruby \( -name gem_make.out -or -name mkmf.log \) -delete
-}
-
-package() {
-  cd ${pkgname}-framework
-
-  install -d "${pkgdir}/opt/${pkgname}" "${pkgdir}/usr/bin"
-  cp -r . "${pkgdir}/opt/${pkgname}"
-  rm -rf "${pkgdir}/opt/${pkgname}/.git"
-
-  for f in "${pkgdir}"/opt/${pkgname}/msf*; do
-    local _msffile="${pkgdir}/usr/bin/`basename "${f}"`"
-    echo -e "#!/bin/sh\nBUNDLE_GEMFILE=/opt/${pkgname}/Gemfile exec bundle 
exec ruby /opt/${pkgname}/`basename "${f}"` \"\$@\"" > "${_msffile}"
-    chmod 755 "${_msffile}"
-  done
-
-  (cd "${pkgdir}/opt/${pkgname}"
-    for f in tools/*/*.rb; do
-      install -Dm 755 "${f}" ".${f}"
-      echo -e "#!/bin/sh\nBUNDLE_GEMFILE=/opt/${pkgname}/Gemfile exec bundle 
exec ruby /opt/${pkgname}/."${f}" \"\$@\"" > "${f}"
-      chmod 755 "${f}"
-    done
-  )
-
-  install -Dm 644 external/zsh/_* -t "${pkgdir}/usr/share/zsh/site-functions"
-  install -Dm 644 LICENSE COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -d "${pkgdir}/usr/share/doc"
-  mv "${pkgdir}/opt/${pkgname}/documentation" 
"${pkgdir}/usr/share/doc/${pkgname}"
-  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 -delete
-}
-
-# vim: ts=2 sw=2 et:

Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 1446910, 
metasploit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-17 15:02:34 UTC (rev 1446911)
@@ -0,0 +1,70 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: Sabart Otto - Seberm <seberm[at]seberm[dot]com>
+# Contributor: Tobias Veit - nIcE <m.on.key.tobi[at]gmail[dot]com>
+
+pkgname=metasploit
+pkgver=6.3.12
+_commit=a78862340cacb90e2d27b6f7ae670387081a0276 # git rev-parse ${pkgver}
+pkgrel=1
+pkgdesc='Advanced open-source platform for developing, testing, and using 
exploit code'
+url='https://www.metasploit.com/'
+arch=('x86_64')
+license=('BSD')
+depends=('ruby' 'ruby-bundler' 'libpcap' 'postgresql-libs' 'sqlite' 'libxslt' 
'libxml2' 'inetutils' 'git')
+options=('!strip' '!emptydirs')
+source=(git+https://github.com/rapid7/metasploit-framework.git?signed#tag=${_commit})
+sha512sums=('SKIP')
+validpgpkeys=('09E55FAF4F7862CD6D558997CDFB5FA52007B954') # Metasploit 
<[email protected]>
+
+prepare() {
+  cd ${pkgname}-framework
+
+  # https://github.com/undler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock
+
+  bundle config build.nokogiri --use-system-libraries
+  bundle config set --local deployment 'true'
+  sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec
+}
+
+build() {
+  cd ${pkgname}-framework
+  CFLAGS+=" -I/usr/include/libxml2"
+  bundle install -j"$(nproc)" --no-cache
+  find vendor/bundle/ruby -exec chmod o+r '{}' \;
+  find vendor/bundle/ruby \( -name gem_make.out -or -name mkmf.log \) -delete
+}
+
+package() {
+  cd ${pkgname}-framework
+
+  install -d "${pkgdir}/opt/${pkgname}" "${pkgdir}/usr/bin"
+  cp -r . "${pkgdir}/opt/${pkgname}"
+  rm -rf "${pkgdir}/opt/${pkgname}/.git"
+
+  for f in "${pkgdir}"/opt/${pkgname}/msf*; do
+    local _msffile="${pkgdir}/usr/bin/`basename "${f}"`"
+    echo -e "#!/bin/sh\nBUNDLE_GEMFILE=/opt/${pkgname}/Gemfile exec bundle 
exec ruby /opt/${pkgname}/`basename "${f}"` \"\$@\"" > "${_msffile}"
+    chmod 755 "${_msffile}"
+  done
+
+  (cd "${pkgdir}/opt/${pkgname}"
+    for f in tools/*/*.rb; do
+      install -Dm 755 "${f}" ".${f}"
+      echo -e "#!/bin/sh\nBUNDLE_GEMFILE=/opt/${pkgname}/Gemfile exec bundle 
exec ruby /opt/${pkgname}/."${f}" \"\$@\"" > "${f}"
+      chmod 755 "${f}"
+    done
+  )
+
+  install -Dm 644 external/zsh/_* -t "${pkgdir}/usr/share/zsh/site-functions"
+  install -Dm 644 LICENSE COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -d "${pkgdir}/usr/share/doc"
+  mv "${pkgdir}/opt/${pkgname}/documentation" 
"${pkgdir}/usr/share/doc/${pkgname}"
+  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 -delete
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to