[arch-commits] Commit in metasploit/repos/community-x86_64 (4 files)

Levente Polyak anthraxx at archlinux.org
Tue Nov 14 18:35:11 UTC 2017


    Date: Tuesday, November 14, 2017 @ 18:35:10
  Author: anthraxx
Revision: 266793

archrelease: copy trunk to community-x86_64

Added:
  metasploit/repos/community-x86_64/PKGBUILD
    (from rev 266792, metasploit/trunk/PKGBUILD)
  metasploit/repos/community-x86_64/metasploit-dont-restrict-aggregator.patch
    (from rev 266792, metasploit/trunk/metasploit-dont-restrict-aggregator.patch)
Deleted:
  metasploit/repos/community-x86_64/PKGBUILD
  metasploit/repos/community-x86_64/metasploit-dont-restrict-aggregator.patch

-------------------------------------------+
 PKGBUILD                                  |  124 ++++++++++++++--------------
 metasploit-dont-restrict-aggregator.patch |   50 +++++------
 2 files changed, 87 insertions(+), 87 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-14 18:34:52 UTC (rev 266792)
+++ PKGBUILD	2017-11-14 18:35:10 UTC (rev 266793)
@@ -1,62 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[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=4.16.15
-pkgrel=1
-pkgdesc='Advanced open-source platform for developing, testing, and using exploit code'
-url='https://www.metasploit.com/'
-arch=('i686' 'x86_64')
-license=('BSD')
-depends=('ruby' 'libpcap' 'postgresql-libs' 'ruby-bundler' 'sqlite' 'libxslt' 'git')
-optdepends=('ruby-pg: database support')
-options=('!strip' '!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz
-        metasploit-dont-restrict-aggregator.patch)
-sha256sums=('441c07274f936fbea8f859157048dec4890ee6e80920c49d6c4306129ee00384'
-            'f1a6d0369f24eb622d23dd0fed428cf6404f74cfb0a8001af5d1e18df026d9f6')
-sha512sums=('e8e612ceb80f8edec2cff745be9bfc57032770e24179b4613ef8331a2b48ebcd8eb8fea6f5beda0af98a8ceff62c89a63d5107b37738b2dc724dfe277f8a443f'
-            '71611dd350a3f74b6ba61d1508b57d357de221bb676d25d96d5bbcd898e5cabb978ffb9c6c3b37559055fb886c11fe4fed64d8b701d1d94dfff057a32ed53b00')
-
-prepare() {
-  cd ${pkgname}-framework-${pkgver}
-  bundle config build.nokogiri --use-system-libraries
-  sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec
-  patch -R -p1 < "${srcdir}/metasploit-dont-restrict-aggregator.patch"
-}
-
-build() {
-  cd ${pkgname}-framework-${pkgver}
-  bundle install -j"$(nproc)" --no-cache --deployment
-  find vendor/bundle/ruby -exec chmod o+r '{}' \;
-}
-
-package() {
-  cd ${pkgname}-framework-${pkgver}
-
-  install -d "${pkgdir}/opt/${pkgname}" "${pkgdir}/usr/bin"
-  cp -r . "${pkgdir}/opt/${pkgname}"
-
-  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 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 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"
-}
-
-# vim: ts=2 sw=2 et:

Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 266792, metasploit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-14 18:35:10 UTC (rev 266793)
@@ -0,0 +1,62 @@
+# Maintainer: Levente Polyak <anthraxx[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=4.16.16
+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' 'libpcap' 'postgresql-libs' 'ruby-bundler' 'sqlite' 'libxslt' 'git')
+optdepends=('ruby-pg: database support')
+options=('!strip' '!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz
+        metasploit-dont-restrict-aggregator.patch)
+sha256sums=('9be045e290c779ad17441b516f308e9d30c07546cec576f94be57e77c528757f'
+            'f1a6d0369f24eb622d23dd0fed428cf6404f74cfb0a8001af5d1e18df026d9f6')
+sha512sums=('aea632bff749122be088b8f49a095d0af81457864533d852a7b2a582dc79a5256639f0ff15cf72a0ea3dc6f93be05ba2dfd26d96ca885a3d2a8d7faf9d231e8f'
+            '71611dd350a3f74b6ba61d1508b57d357de221bb676d25d96d5bbcd898e5cabb978ffb9c6c3b37559055fb886c11fe4fed64d8b701d1d94dfff057a32ed53b00')
+
+prepare() {
+  cd ${pkgname}-framework-${pkgver}
+  bundle config build.nokogiri --use-system-libraries
+  sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec
+  patch -R -p1 < "${srcdir}/metasploit-dont-restrict-aggregator.patch"
+}
+
+build() {
+  cd ${pkgname}-framework-${pkgver}
+  bundle install -j"$(nproc)" --no-cache --deployment
+  find vendor/bundle/ruby -exec chmod o+r '{}' \;
+}
+
+package() {
+  cd ${pkgname}-framework-${pkgver}
+
+  install -d "${pkgdir}/opt/${pkgname}" "${pkgdir}/usr/bin"
+  cp -r . "${pkgdir}/opt/${pkgname}"
+
+  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 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 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"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: metasploit-dont-restrict-aggregator.patch
===================================================================
--- metasploit-dont-restrict-aggregator.patch	2017-11-14 18:34:52 UTC (rev 266792)
+++ metasploit-dont-restrict-aggregator.patch	2017-11-14 18:35:10 UTC (rev 266793)
@@ -1,25 +0,0 @@
-From 5458b58a74a035e141a939dff0a85eff1330bdae Mon Sep 17 00:00:00 2001
-From: Jeffrey Martin <Jeffrey_Martin at rapid7.com>
-Date: Wed, 18 Oct 2017 13:21:02 -0500
-Subject: [PATCH] restrict aggregator on arm for now
-
----
- Gemfile      | 5 ++++-
- 1 files changed, 4 insertions(+), 1 deletions(-)
-
-diff --git a/Gemfile b/Gemfile
-index 12b6341b41c..012578df9fc 100755
---- a/Gemfile
-+++ b/Gemfile
-@@ -19,7 +19,10 @@ group :development do
-   # module documentation
-   gem 'octokit'
-   # Metasploit::Aggregator external session proxy
--  gem 'metasploit-aggregator'
-+  gem 'metasploit-aggregator' if [
-+    'x86-mingw32', 'x64-mingw32',
-+    'x86_64-linux', 'x86-linux',
-+    'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
- end
- 
- group :development, :test do

Copied: metasploit/repos/community-x86_64/metasploit-dont-restrict-aggregator.patch (from rev 266792, metasploit/trunk/metasploit-dont-restrict-aggregator.patch)
===================================================================
--- metasploit-dont-restrict-aggregator.patch	                        (rev 0)
+++ metasploit-dont-restrict-aggregator.patch	2017-11-14 18:35:10 UTC (rev 266793)
@@ -0,0 +1,25 @@
+From 5458b58a74a035e141a939dff0a85eff1330bdae Mon Sep 17 00:00:00 2001
+From: Jeffrey Martin <Jeffrey_Martin at rapid7.com>
+Date: Wed, 18 Oct 2017 13:21:02 -0500
+Subject: [PATCH] restrict aggregator on arm for now
+
+---
+ Gemfile      | 5 ++++-
+ 1 files changed, 4 insertions(+), 1 deletions(-)
+
+diff --git a/Gemfile b/Gemfile
+index 12b6341b41c..012578df9fc 100755
+--- a/Gemfile
++++ b/Gemfile
+@@ -19,7 +19,10 @@ group :development do
+   # module documentation
+   gem 'octokit'
+   # Metasploit::Aggregator external session proxy
+-  gem 'metasploit-aggregator'
++  gem 'metasploit-aggregator' if [
++    'x86-mingw32', 'x64-mingw32',
++    'x86_64-linux', 'x86-linux',
++    'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
+ end
+ 
+ group :development, :test do


More information about the arch-commits mailing list