Date: Monday, September 11, 2017 @ 11:44:24 Author: anthraxx Revision: 256898
archrelease: copy trunk to community-i686, community-x86_64 Added: metasploit/repos/community-i686/PKGBUILD (from rev 256897, metasploit/trunk/PKGBUILD) metasploit/repos/community-x86_64/PKGBUILD (from rev 256897, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-i686/PKGBUILD metasploit/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 116 ++++++++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 58 ---------------------- community-x86_64/PKGBUILD | 58 ---------------------- 3 files changed, 116 insertions(+), 116 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2017-09-11 11:44:11 UTC (rev 256897) +++ community-i686/PKGBUILD 2017-09-11 11:44:24 UTC (rev 256898) @@ -1,58 +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.1 -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) -sha256sums=('f8d13136c7f341840f46821444cc1a5c33d289a0be6fc3de3df07fc325bf9831') -sha512sums=('e3c2e546dcbf6ea5959475bf9959ddb583e27e1995a8217c14c62efff1b97936dcd51de240a3f08c171d7c75fd138111538e3513ab523f715bf79ce7bb62ef59') - -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-i686/PKGBUILD (from rev 256897, metasploit/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-09-11 11:44:24 UTC (rev 256898) @@ -0,0 +1,58 @@ +# 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.6 +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) +sha256sums=('ce52552388df286028aa5e7c29ddc323749742890947b5bdc5038c807a85332b') +sha512sums=('84fe5cf6c56d718d58786e630bf432a6237b60f8c11689f68ce870b121f1216d85f7043ece47e668e397641f67a860b9850bbf16087ac241c559422991fc5c2f') + +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: Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2017-09-11 11:44:11 UTC (rev 256897) +++ community-x86_64/PKGBUILD 2017-09-11 11:44:24 UTC (rev 256898) @@ -1,58 +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.1 -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) -sha256sums=('f8d13136c7f341840f46821444cc1a5c33d289a0be6fc3de3df07fc325bf9831') -sha512sums=('e3c2e546dcbf6ea5959475bf9959ddb583e27e1995a8217c14c62efff1b97936dcd51de240a3f08c171d7c75fd138111538e3513ab523f715bf79ce7bb62ef59') - -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 256897, metasploit/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-09-11 11:44:24 UTC (rev 256898) @@ -0,0 +1,58 @@ +# 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.6 +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) +sha256sums=('ce52552388df286028aa5e7c29ddc323749742890947b5bdc5038c807a85332b') +sha512sums=('84fe5cf6c56d718d58786e630bf432a6237b60f8c11689f68ce870b121f1216d85f7043ece47e668e397641f67a860b9850bbf16087ac241c559422991fc5c2f') + +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: