[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Tue Apr 24 20:32:53 UTC 2018
Date: Tuesday, April 24, 2018 @ 20:32:53
Author: anthraxx
Revision: 317625
archrelease: copy trunk to community-x86_64
Added:
metasploit/repos/community-x86_64/PKGBUILD
(from rev 317624, metasploit/trunk/PKGBUILD)
Deleted:
metasploit/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-24 20:32:44 UTC (rev 317624)
+++ PKGBUILD 2018-04-24 20:32:53 UTC (rev 317625)
@@ -1,57 +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.50
-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')
-options=('!strip' '!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz)
-sha256sums=('2d94d2f4642bb40fb11acc1f40a52721ef73f8bd1b36547bf1201bc991916f12')
-sha512sums=('74aaaa9a200f8b1ffb4972336d8a3940a41a18ee167ade93072274c9493d0cb6fbb16afb00be184886f34cac69e87a2b72f15c7dd5cd1542505045c33cab11c0')
-
-prepare() {
- cd ${pkgname}-framework-${pkgver}
- bundle config build.nokogiri --use-system-libraries
- sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec
-}
-
-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 317624, metasploit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-24 20:32:53 UTC (rev 317625)
@@ -0,0 +1,57 @@
+# 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.51
+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')
+options=('!strip' '!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz)
+sha256sums=('a6f6d30c5e7ae28c667463cefea46b496c1fb8e8b41426e9afcab28f9de16fb8')
+sha512sums=('cd3ea69df051cab50ebe7d5479a88fedcd39e3d217e278147c9e5b9619561c722b42448514f5fdeb670e1020cc0cf2ce7acfa6ade28c25cb78853dab269cc217')
+
+prepare() {
+ cd ${pkgname}-framework-${pkgver}
+ bundle config build.nokogiri --use-system-libraries
+ sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec
+}
+
+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:
More information about the arch-commits
mailing list