[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, December 14, 2020 @ 23:30:36 Author: anthraxx Revision: 775796 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 775795, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 128 ++--- 1 file changed, 64 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-12-14 23:30:32 UTC (rev 775795) +++ PKGBUILD2020-12-14 23:30:36 UTC (rev 775796) @@ -1,64 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=6.0.15 -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' 'libxml2' 'inetutils' 'git') -options=('!strip' '!emptydirs') -source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('62dfa301d2acbeed5b84b41d31ef28e6d1d3ddf239d0f6b1bc88d1d656f8d634e3102598a5e460a0588aab4ae2555e87e8f83e5356e159b4c3dd1fde54e53771') -b2sums=('a49c85801672dfaef0eada2710ea620e092f0f357a27e78b12a2c96973a4584647fc63c3eca6bf8e23904bfb4db21818b386e5373af394ffa2d05450926b0455') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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" - rm -r "${pkgdir}"/opt/metasploit/vendor/bundle/ruby/*/cache -} - -# vim: ts=2 sw=2 et: Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 775795, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-12-14 23:30:36 UTC (rev 775796) @@ -0,0 +1,64 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=6.0.21 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('d93a1fc073b75b364b2b5a7d5420d94d60f26b2d8dce485d8ed37ea174291d170f808e5aafdeb89df5739f822f7d18ca6d762816963933c631eb83dd48bc2b06') +b2sums=('7b50a48480cbadd58d06602ec190fa41954aa3e0b779ea04878eed4a01985013ffe3ab4ec33626e70cae4c5eca1a609320338c0931460554b497372b51360a2a') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${pkgver} + + install -d "${pkgdir}/opt/${pkgname}" "${pkgdir}/usr/bin" + cp -r . "${pkgdir}/opt/${pkgname}" + +
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, November 10, 2020 @ 22:06:20 Author: anthraxx Revision: 749892 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 749891, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 128 ++--- 1 file changed, 64 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-11-10 22:06:16 UTC (rev 749891) +++ PKGBUILD2020-11-10 22:06:20 UTC (rev 749892) @@ -1,64 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.101 -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' 'libxml2' 'inetutils' 'git') -options=('!strip' '!emptydirs') -source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('d7f87df1b0741fec54781254f893fbd5888453070f50a691b99266c6201650941efac8add802d6eb968fb20199e396496bd3dda4cc6c96d2f92bd3aa996a704a') -b2sums=('7981ded3332d263cfc7103d89825772bf0f94b50cfc37af83b00363b92aaba06f55751bf7079aa501efcf6bb6c1e1894609533a1c9d81fd9c541f7bd183631cf') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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" - rm -r "${pkgdir}"/opt/metasploit/vendor/bundle/ruby/*/cache -} - -# vim: ts=2 sw=2 et: Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 749891, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-11-10 22:06:20 UTC (rev 749892) @@ -0,0 +1,64 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=6.0.15 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('62dfa301d2acbeed5b84b41d31ef28e6d1d3ddf239d0f6b1bc88d1d656f8d634e3102598a5e460a0588aab4ae2555e87e8f83e5356e159b4c3dd1fde54e53771') +b2sums=('a49c85801672dfaef0eada2710ea620e092f0f357a27e78b12a2c96973a4584647fc63c3eca6bf8e23904bfb4db21818b386e5373af394ffa2d05450926b0455') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${pkgver} + + install -d "${pkgdir}/opt/${pkgname}" "${pkgdir}/usr/bin" + cp -r . "${pkgdir}/opt/${pkgname}" +
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, August 24, 2020 @ 19:45:32 Author: anthraxx Revision: 687787 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 687786, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 128 ++--- 1 file changed, 64 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-08-24 19:45:28 UTC (rev 687786) +++ PKGBUILD2020-08-24 19:45:32 UTC (rev 687787) @@ -1,64 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.99 -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' 'libxml2' 'inetutils' 'git') -options=('!strip' '!emptydirs') -source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('7f52253a1dac2fae94e06b889de62f4413cb0fade422facf72f2b3bfef36d77139793cbcd74096d94ec0924cb8884fd3be7048294e92929d0f8505bba2c26f45') -b2sums=('d49dcb46ec810a64d2a30b64af7e041bfb1b9f11106b8c0642531f072426d5110f1cb474a1c53d952e3832462c3e449c33c1b48372e3e3682df8460659759bdb') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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" - rm -r "${pkgdir}"/opt/metasploit/vendor/bundle/ruby/*/cache -} - -# vim: ts=2 sw=2 et: Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 687786, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-08-24 19:45:32 UTC (rev 687787) @@ -0,0 +1,64 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.101 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('d7f87df1b0741fec54781254f893fbd5888453070f50a691b99266c6201650941efac8add802d6eb968fb20199e396496bd3dda4cc6c96d2f92bd3aa996a704a') +b2sums=('7981ded3332d263cfc7103d89825772bf0f94b50cfc37af83b00363b92aaba06f55751bf7079aa501efcf6bb6c1e1894609533a1c9d81fd9c541f7bd183631cf') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${pkgver} + + install -d "${pkgdir}/opt/${pkgname}" "${pkgdir}/usr/bin" + cp -r . "${pkgdir}/opt/${pkgname}" + +
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Thursday, July 16, 2020 @ 22:01:52 Author: anthraxx Revision: 664228 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 664226, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 128 ++--- 1 file changed, 64 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-07-16 22:01:51 UTC (rev 664227) +++ PKGBUILD2020-07-16 22:01:52 UTC (rev 664228) @@ -1,64 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.88 -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' 'libxml2' 'inetutils' 'git') -options=('!strip' '!emptydirs') -source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('7f7fb87cc54702f9b1a6792b41101fdd944db0fe037d7ffb5d833d042d5acc639a2abfbfa9e65e22ad44040385496ca975f682a5da22a01fdb7cb2b2fb4eee84') -b2sums=('4056e442986321efd8a150565d33861bc86a364379958c10ba71712a46713b077d0b8752f452098ebde269aa312d36c9a4b1be8d8960bb819fde4393cb8418c7') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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" - rm -r "${pkgdir}"/opt/metasploit/vendor/bundle/ruby/*/cache -} - -# vim: ts=2 sw=2 et: Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 664226, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-07-16 22:01:52 UTC (rev 664228) @@ -0,0 +1,64 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.99 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('7f52253a1dac2fae94e06b889de62f4413cb0fade422facf72f2b3bfef36d77139793cbcd74096d94ec0924cb8884fd3be7048294e92929d0f8505bba2c26f45') +b2sums=('d49dcb46ec810a64d2a30b64af7e041bfb1b9f11106b8c0642531f072426d5110f1cb474a1c53d952e3832462c3e449c33c1b48372e3e3682df8460659759bdb') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${pkgver} + + install -d "${pkgdir}/opt/${pkgname}" "${pkgdir}/usr/bin" + cp -r . "${pkgdir}/opt/${pkgname}" + +
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, May 9, 2020 @ 12:35:40 Author: anthraxx Revision: 625957 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 625956, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 129 ++--- 1 file changed, 64 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-05-09 12:35:34 UTC (rev 625956) +++ PKGBUILD2020-05-09 12:35:40 UTC (rev 625957) @@ -1,65 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.86 -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' 'libxml2' 'inetutils' 'git') -options=('!strip' '!emptydirs') -source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('e282ef527c24d8e72082b95d3075bafc39defd29d0f22484ac273157324537d2') -sha512sums=('4503d844978587eacac754e15358d00efc8ab3e505c61afb3e62c82564cd8d07352e549f202e8f1c6db55cb20a849a0d352c50cf84262155d41e5584792c8b48') -b2sums=('085a5e889a0df1d28730b1a831b4c151b0c3477b80378ffbb0305eb489b3cddf40c81c7d643d9bfca95304b43318ad6fae72fccfbcc1f04fb980755eaf1df2ae') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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" - rm -r "${pkgdir}"/opt/metasploit/vendor/bundle/ruby/*/cache -} - -# vim: ts=2 sw=2 et: Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 625956, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-05-09 12:35:40 UTC (rev 625957) @@ -0,0 +1,64 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.88 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('7f7fb87cc54702f9b1a6792b41101fdd944db0fe037d7ffb5d833d042d5acc639a2abfbfa9e65e22ad44040385496ca975f682a5da22a01fdb7cb2b2fb4eee84') +b2sums=('4056e442986321efd8a150565d33861bc86a364379958c10ba71712a46713b077d0b8752f452098ebde269aa312d36c9a4b1be8d8960bb819fde4393cb8418c7') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${pkgver} + + install -d
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, April 29, 2020 @ 08:24:45 Author: anthraxx Revision: 622208 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 622207, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 130 ++--- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-04-29 08:24:40 UTC (rev 622207) +++ PKGBUILD2020-04-29 08:24:45 UTC (rev 622208) @@ -1,65 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.83 -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' 'libxml2' 'inetutils' 'git') -options=('!strip' '!emptydirs') -source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('d3e55cc656207c0a53363582fe61cb448b595294a10a61988031ac2b52e1') -sha512sums=('8fae6377e5f2a1589e98cada37c6d900afa4dcd2a773de4e6c40c4cc41f076bf6cc2a1494187d792f3fe71ae83edcbb318c5ec2357c5d026810e001a8522288a') -b2sums=('712979c899f395f20d10214d65fc569354245e762aeb991a0c56b23db0a35eff32d8dca48f6d1b46560fde7862c118bfdbc0cb5d5a77583566a470580b2fe45b') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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" - rm -r "${pkgdir}"/opt/metasploit/vendor/bundle/ruby/*/cache -} - -# vim: ts=2 sw=2 et: Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 622207, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-04-29 08:24:45 UTC (rev 622208) @@ -0,0 +1,65 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.86 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('e282ef527c24d8e72082b95d3075bafc39defd29d0f22484ac273157324537d2') +sha512sums=('4503d844978587eacac754e15358d00efc8ab3e505c61afb3e62c82564cd8d07352e549f202e8f1c6db55cb20a849a0d352c50cf84262155d41e5584792c8b48') +b2sums=('085a5e889a0df1d28730b1a831b4c151b0c3477b80378ffbb0305eb489b3cddf40c81c7d643d9bfca95304b43318ad6fae72fccfbcc1f04fb980755eaf1df2ae') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + find vendor/bundle/ruby -exec chmod o+r '{}' \; + find vendor/bundle/ruby \( -name gem_make.out -or -name mkmf.log \)
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, April 4, 2020 @ 23:05:21 Author: anthraxx Revision: 611759 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 611758, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 130 ++--- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-04-04 23:05:16 UTC (rev 611758) +++ PKGBUILD2020-04-04 23:05:21 UTC (rev 611759) @@ -1,65 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.81 -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' 'libxml2' 'inetutils' 'git') -options=('!strip' '!emptydirs') -source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('e0c589eeaf832b6dff2f83e697edd51ffb2ca2fbfc2800a7fcee9e87c6bd6ada') -sha512sums=('ebdc2a699f1e6196918fc648fa5fbc2e98ad9dc3a2df80c758e4494424a67e6eb69b606ee4789f94b8cb3244158d3edf3e00e992cd692e45f66b182c20292a7a') -b2sums=('cd7c9f55a09157a566a207ae556da2133427dae77aa4e54cc5546df2d2658d7a7a0f47953c7bc74e42d457005ba9bb0db5994aff890029c1c82b750b5dc124bf') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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" - rm -r "${pkgdir}"/opt/metasploit/vendor/bundle/ruby/*/cache -} - -# vim: ts=2 sw=2 et: Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 611758, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-04-04 23:05:21 UTC (rev 611759) @@ -0,0 +1,65 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.83 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('d3e55cc656207c0a53363582fe61cb448b595294a10a61988031ac2b52e1') +sha512sums=('8fae6377e5f2a1589e98cada37c6d900afa4dcd2a773de4e6c40c4cc41f076bf6cc2a1494187d792f3fe71ae83edcbb318c5ec2357c5d026810e001a8522288a') +b2sums=('712979c899f395f20d10214d65fc569354245e762aeb991a0c56b23db0a35eff32d8dca48f6d1b46560fde7862c118bfdbc0cb5d5a77583566a470580b2fe45b') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + find vendor/bundle/ruby -exec chmod o+r '{}' \; + find vendor/bundle/ruby \( -name gem_make.out -or -name mkmf.log \) -delete
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, March 21, 2020 @ 15:43:12 Author: anthraxx Revision: 602793 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 602792, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 130 ++--- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-03-21 15:43:07 UTC (rev 602792) +++ PKGBUILD2020-03-21 15:43:12 UTC (rev 602793) @@ -1,65 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.79 -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' 'libxml2' 'inetutils' 'git') -options=('!strip' '!emptydirs') -source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('8f85ce0aed03531740fdda6ad229ee0356d3e08bf6c50faaec3916106ac568d2') -sha512sums=('327ca49ca695f67299b5b9fe87f5da97c1e4d4d07e85560c40651dc1437cedd61a3bfd7fb8e2c3aeba7ac8d0c19b77af538a48b292dc4047f4f65557582c63d5') -b2sums=('4ccb8e04fd6c2022ab364ce026d72ed46855ec8acdd8267ce4d1146f885c104b98bd6cfc613d6c64e51aad6c65950ab0e0e22a81e409624e61020220f872fdbf') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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" - rm -r "${pkgdir}"/opt/metasploit/vendor/bundle/ruby/*/cache -} - -# vim: ts=2 sw=2 et: Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 602792, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-03-21 15:43:12 UTC (rev 602793) @@ -0,0 +1,65 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.81 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('e0c589eeaf832b6dff2f83e697edd51ffb2ca2fbfc2800a7fcee9e87c6bd6ada') +sha512sums=('ebdc2a699f1e6196918fc648fa5fbc2e98ad9dc3a2df80c758e4494424a67e6eb69b606ee4789f94b8cb3244158d3edf3e00e992cd692e45f66b182c20292a7a') +b2sums=('cd7c9f55a09157a566a207ae556da2133427dae77aa4e54cc5546df2d2658d7a7a0f47953c7bc74e42d457005ba9bb0db5994aff890029c1c82b750b5dc124bf') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + find vendor/bundle/ruby -exec chmod o+r '{}' \; + find vendor/bundle/ruby \( -name gem_make.out -or -name mkmf.log \)
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, March 8, 2020 @ 21:24:35 Author: anthraxx Revision: 592542 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 592541, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 130 ++--- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-03-08 21:24:29 UTC (rev 592541) +++ PKGBUILD2020-03-08 21:24:35 UTC (rev 592542) @@ -1,65 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.73 -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' 'libxml2' 'inetutils' 'git') -options=('!strip' '!emptydirs') -source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('4b68acf2ed10a7896ad4feb8b9c87fe66782f0ba5fb28d84a83d42e339d617f1') -sha512sums=('e91831e54d50e3d29cb11ff07558159aff7679954e246da6c1766e51765778f28191a957a4241b6b69350d7816a4eab31d800d6a08436fb00ed478a6dd9d63f7') -b2sums=('2de51a5550ea092aca316aaeebaf28727c646c35888725ee45b8a5b3f49430560059280ca16384dc24545fe26a27a5e583b11bef51f40f216fed7afcea03ae07') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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" - rm -r "${pkgdir}"/opt/metasploit/vendor/bundle/ruby/*/cache -} - -# vim: ts=2 sw=2 et: Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 592541, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-03-08 21:24:35 UTC (rev 592542) @@ -0,0 +1,65 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.79 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('8f85ce0aed03531740fdda6ad229ee0356d3e08bf6c50faaec3916106ac568d2') +sha512sums=('327ca49ca695f67299b5b9fe87f5da97c1e4d4d07e85560c40651dc1437cedd61a3bfd7fb8e2c3aeba7ac8d0c19b77af538a48b292dc4047f4f65557582c63d5') +b2sums=('4ccb8e04fd6c2022ab364ce026d72ed46855ec8acdd8267ce4d1146f885c104b98bd6cfc613d6c64e51aad6c65950ab0e0e22a81e409624e61020220f872fdbf') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + find vendor/bundle/ruby -exec chmod o+r '{}' \; + find vendor/bundle/ruby \( -name gem_make.out -or -name mkmf.log \) -delete
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, February 8, 2020 @ 12:21:04 Author: anthraxx Revision: 564073 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 564072, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 129 ++--- 1 file changed, 65 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-08 12:20:58 UTC (rev 564072) +++ PKGBUILD2020-02-08 12:21:04 UTC (rev 564073) @@ -1,64 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.70 -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' 'libxml2' 'inetutils' 'git') -options=('!strip' '!emptydirs') -source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('f10a51cef6e4c4c610c8ac38862e24f749caf3bc794819b99d262821b051e320') -sha512sums=('0729dc89eda50fb02e24ed8f357cca9cf3e83960c46fbed2bb5758fd6c82f5672bb0248222539dee95a6876802a49c9f6781577cef3ff473737a980d54f1a1d2') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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" - rm -r "${pkgdir}"/opt/metasploit/vendor/bundle/ruby/*/cache -} - -# vim: ts=2 sw=2 et: Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 564072, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-02-08 12:21:04 UTC (rev 564073) @@ -0,0 +1,65 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.73 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('4b68acf2ed10a7896ad4feb8b9c87fe66782f0ba5fb28d84a83d42e339d617f1') +sha512sums=('e91831e54d50e3d29cb11ff07558159aff7679954e246da6c1766e51765778f28191a957a4241b6b69350d7816a4eab31d800d6a08436fb00ed478a6dd9d63f7') +b2sums=('2de51a5550ea092aca316aaeebaf28727c646c35888725ee45b8a5b3f49430560059280ca16384dc24545fe26a27a5e583b11bef51f40f216fed7afcea03ae07') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${pkgver} + + install -d "${pkgdir}/opt/${pkgname}" "${pkgdir}/usr/bin" + cp -r .
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Friday, January 17, 2020 @ 17:15:56 Author: anthraxx Revision: 552877 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 552876, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 127 ++--- 1 file changed, 64 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-01-17 17:15:51 UTC (rev 552876) +++ PKGBUILD2020-01-17 17:15:56 UTC (rev 552877) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.60 -pkgrel=2 -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' 'libxml2' 'inetutils' 'git') -options=('!strip' '!emptydirs') -source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('a1cca91d0365acd8d6b370b0293cb4bd1649ecde37a66731c8390eca26d7ac15') -sha512sums=('9e451019b3e184e2429fbc628504cc5ee56b713f66c489027d10ee622b34967ef2bba45d52ac3435e769749a3170c1193654aa919a19656a279d0594c5600102') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 552876, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-01-17 17:15:56 UTC (rev 552877) @@ -0,0 +1,64 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.70 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('f10a51cef6e4c4c610c8ac38862e24f749caf3bc794819b99d262821b051e320') +sha512sums=('0729dc89eda50fb02e24ed8f357cca9cf3e83960c46fbed2bb5758fd6c82f5672bb0248222539dee95a6876802a49c9f6781577cef3ff473737a980d54f1a1d2') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, November 17, 2019 @ 12:43:46 Author: anthraxx Revision: 529998 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 529997, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-17 12:43:27 UTC (rev 529997) +++ PKGBUILD2019-11-17 12:43:46 UTC (rev 529998) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.59 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('96c3e9815a089cb9564afa14f6dda395b4047c192ad9183e46d0f3428c2f8532') -sha512sums=('0af174240317c5b8ae74a35149f35e0a4d4fe0badc966b1e48cfcc4256433b8f6a778819cd1b14bbcccffc720930f2a26c60b892dd1fd9a621a9c18cdd3a66c6') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 529997, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-17 12:43:46 UTC (rev 529998) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.60 +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' 'libxml2' 'inetutils' 'git') +options=('!strip' '!emptydirs') +source=(https://github.com/rapid7/metasploit-framework/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('a1cca91d0365acd8d6b370b0293cb4bd1649ecde37a66731c8390eca26d7ac15') +sha512sums=('9e451019b3e184e2429fbc628504cc5ee56b713f66c489027d10ee622b34967ef2bba45d52ac3435e769749a3170c1193654aa919a19656a279d0594c5600102') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, November 13, 2019 @ 01:01:22 Author: anthraxx Revision: 527079 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 527078, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-13 01:00:02 UTC (rev 527078) +++ PKGBUILD2019-11-13 01:01:22 UTC (rev 527079) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.59 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('96c3e9815a089cb9564afa14f6dda395b4047c192ad9183e46d0f3428c2f8532') -sha512sums=('0af174240317c5b8ae74a35149f35e0a4d4fe0badc966b1e48cfcc4256433b8f6a778819cd1b14bbcccffc720930f2a26c60b892dd1fd9a621a9c18cdd3a66c6') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 527078, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-13 01:01:22 UTC (rev 527079) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.59 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('96c3e9815a089cb9564afa14f6dda395b4047c192ad9183e46d0f3428c2f8532') +sha512sums=('0af174240317c5b8ae74a35149f35e0a4d4fe0badc966b1e48cfcc4256433b8f6a778819cd1b14bbcccffc720930f2a26c60b892dd1fd9a621a9c18cdd3a66c6') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, November 13, 2019 @ 01:00:02 Author: anthraxx Revision: 527078 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 527077, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-13 00:59:56 UTC (rev 527077) +++ PKGBUILD2019-11-13 01:00:02 UTC (rev 527078) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('20997cdbb2bbba62bbe7b35331fd46d161a48cb83fc23c0ef841134b88f62582') -sha512sums=('5b871c4ac88ef5a730d43bbc9c404083e53ecdcc55171689e653b7a70e54dd4bf8a19bfa62ccea6aebc4cb83e5a9b34710a251a8a73915415ac556761cebc3bd') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 527077, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-13 01:00:02 UTC (rev 527078) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.59 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('96c3e9815a089cb9564afa14f6dda395b4047c192ad9183e46d0f3428c2f8532') +sha512sums=('0af174240317c5b8ae74a35149f35e0a4d4fe0badc966b1e48cfcc4256433b8f6a778819cd1b14bbcccffc720930f2a26c60b892dd1fd9a621a9c18cdd3a66c6') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, September 29, 2019 @ 20:11:19 Author: anthraxx Revision: 512128 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 512127, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-09-29 20:11:15 UTC (rev 512127) +++ PKGBUILD2019-09-29 20:11:19 UTC (rev 512128) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.46 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('8fad3291d668d5db88385268e473288160ec4cbdfba743698abf0cef90ff6f09') -sha512sums=('8705d133e472a35ce97f57f3593da3719ab3c346750159ac48dce77257b0f52877a28397c6476bc3d22aa81ba7f1aefbb222148f4c9aa55ffa887d0c7193ef48') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 512127, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-09-29 20:11:19 UTC (rev 512128) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('20997cdbb2bbba62bbe7b35331fd46d161a48cb83fc23c0ef841134b88f62582') +sha512sums=('5b871c4ac88ef5a730d43bbc9c404083e53ecdcc55171689e653b7a70e54dd4bf8a19bfa62ccea6aebc4cb83e5a9b34710a251a8a73915415ac556761cebc3bd') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, September 10, 2019 @ 20:48:37 Author: anthraxx Revision: 509223 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 509222, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-09-10 20:48:31 UTC (rev 509222) +++ PKGBUILD2019-09-10 20:48:37 UTC (rev 509223) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.45 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('255de837eb0e26c9a3a65f69af864d1bf2df7cf706e6f5356bfc4e89ff0aa8d3') -sha512sums=('95f73085474c5c4af60cbff4123ac8e6eca2854f8297ccea8de6bc8bfeb95114bbaa11a607e9d4db54879335c960be194e811da37eab5bfa495bf82190cc0cae') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 509222, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-09-10 20:48:37 UTC (rev 509223) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.46 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('8fad3291d668d5db88385268e473288160ec4cbdfba743698abf0cef90ff6f09') +sha512sums=('8705d133e472a35ce97f57f3593da3719ab3c346750159ac48dce77257b0f52877a28397c6476bc3d22aa81ba7f1aefbb222148f4c9aa55ffa887d0c7193ef48') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, September 3, 2019 @ 21:17:32 Author: anthraxx Revision: 507958 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 507957, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-09-03 21:17:27 UTC (rev 507957) +++ PKGBUILD2019-09-03 21:17:32 UTC (rev 507958) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.39 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('ad2991cee9e4042a7f9658e0fa6db7e00b481ba727a2772ae6e7cc68bcca3341') -sha512sums=('5e65a65c55343784ff110d301f7b286fcf6ef8fb43b97cc42f1410ce3fbdf49c050d020403e0d2d06800ce4411073c52af637d8b8cc908894402b041c1237287') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 507957, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-09-03 21:17:32 UTC (rev 507958) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.45 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('255de837eb0e26c9a3a65f69af864d1bf2df7cf706e6f5356bfc4e89ff0aa8d3') +sha512sums=('95f73085474c5c4af60cbff4123ac8e6eca2854f8297ccea8de6bc8bfeb95114bbaa11a607e9d4db54879335c960be194e811da37eab5bfa495bf82190cc0cae') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, August 6, 2019 @ 22:28:21 Author: anthraxx Revision: 498106 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 498105, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-08-06 22:28:16 UTC (rev 498105) +++ PKGBUILD2019-08-06 22:28:21 UTC (rev 498106) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.28 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('7274a00a6b06b8eb4e010061735750d6550800385bc33bcf5c3ee5d9f944f50c') -sha512sums=('361308c28287e8926dc05294a57d92310cd8d4c72cba14e254f5738a8e7dfc3b429abf20032559dbee40fd833b7d78a3f1c1a747e337b6b9696c27aeed675dbc') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 498105, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-08-06 22:28:21 UTC (rev 498106) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.39 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('ad2991cee9e4042a7f9658e0fa6db7e00b481ba727a2772ae6e7cc68bcca3341') +sha512sums=('5e65a65c55343784ff110d301f7b286fcf6ef8fb43b97cc42f1410ce3fbdf49c050d020403e0d2d06800ce4411073c52af637d8b8cc908894402b041c1237287') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, June 12, 2019 @ 19:03:29 Author: anthraxx Revision: 481008 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 481007, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-06-12 19:03:23 UTC (rev 481007) +++ PKGBUILD2019-06-12 19:03:29 UTC (rev 481008) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.26 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('a6105a402da41160693579c3e9d826243a9603b60f14b705e7d5ab5e05d3bba4') -sha512sums=('b66c0ce651afeb76eacfd7d5f9353d62742fa6debfafbf25324ab884fda894b8121114ea94e5d5f124f72473b13ef59f2c28f24795c5b68e45869d22b38ec13c') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 481007, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-06-12 19:03:29 UTC (rev 481008) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.28 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('7274a00a6b06b8eb4e010061735750d6550800385bc33bcf5c3ee5d9f944f50c') +sha512sums=('361308c28287e8926dc05294a57d92310cd8d4c72cba14e254f5738a8e7dfc3b429abf20032559dbee40fd833b7d78a3f1c1a747e337b6b9696c27aeed675dbc') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, June 2, 2019 @ 18:15:48 Author: anthraxx Revision: 476641 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 476640, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-06-02 18:15:38 UTC (rev 476640) +++ PKGBUILD2019-06-02 18:15:48 UTC (rev 476641) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.22 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('9f90dba99cd94397653cbf586389e98cd30c1a0c880e2729a1bfd3b2a3ac2c4d') -sha512sums=('6c7c65e21621ee0b9e02e3cea724616dc3e26cb8bb8e47fe3381e441f515d18ea92c0ba23e8691f5d6d5a8f2ec6d4f104eb9fafb7723d3ff9d7f93f01a51de27') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 476640, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-06-02 18:15:48 UTC (rev 476641) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.26 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('a6105a402da41160693579c3e9d826243a9603b60f14b705e7d5ab5e05d3bba4') +sha512sums=('b66c0ce651afeb76eacfd7d5f9353d62742fa6debfafbf25324ab884fda894b8121114ea94e5d5f124f72473b13ef59f2c28f24795c5b68e45869d22b38ec13c') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, May 22, 2019 @ 19:04:57 Author: anthraxx Revision: 468663 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 468662, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-05-22 19:04:52 UTC (rev 468662) +++ PKGBUILD2019-05-22 19:04:57 UTC (rev 468663) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.18 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('ba3f0be1d6b4bc7e75d2d4fb3b900a6b84e16ef8a852541b903a5e60664c5e82') -sha512sums=('0d9caf981b7978bc5520ec698141d8cc4384f52808d51362062314d773f05fd3138cb8f9f9219836312e2c0f858c49fe4641a994cafe37196bbf4890d12bbc38') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 468662, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-05-22 19:04:57 UTC (rev 468663) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.22 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('9f90dba99cd94397653cbf586389e98cd30c1a0c880e2729a1bfd3b2a3ac2c4d') +sha512sums=('6c7c65e21621ee0b9e02e3cea724616dc3e26cb8bb8e47fe3381e441f515d18ea92c0ba23e8691f5d6d5a8f2ec6d4f104eb9fafb7723d3ff9d7f93f01a51de27') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, April 23, 2019 @ 14:42:30 Author: jelle Revision: 453156 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 453155, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-04-23 14:42:17 UTC (rev 453155) +++ PKGBUILD2019-04-23 14:42:30 UTC (rev 453156) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.9 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('069fd8b7f6c217fdd43f33186f0ebb954f9a2b2107010f418b228e697645a1e3') -sha512sums=('f45ff49bf3cd0124bccf1ba5a63fe4c24c0a84ddf7ed036d567bbc7906a26415ad878996da8c7d71188b7804eae4caf81bbb58801b5c85aaed9e94fec952d4fc') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 453155, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-04-23 14:42:30 UTC (rev 453156) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.18 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('ba3f0be1d6b4bc7e75d2d4fb3b900a6b84e16ef8a852541b903a5e60664c5e82') +sha512sums=('0d9caf981b7978bc5520ec698141d8cc4384f52808d51362062314d773f05fd3138cb8f9f9219836312e2c0f858c49fe4641a994cafe37196bbf4890d12bbc38') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, March 6, 2019 @ 22:06:49 Author: anthraxx Revision: 437930 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 437929, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-03-06 22:06:41 UTC (rev 437929) +++ PKGBUILD2019-03-06 22:06:49 UTC (rev 437930) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.2 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('21c0db1b3a400741aa02f6e82601c487cd10f195019829d1faad69c8bdae26aa') -sha512sums=('2b873bdf9dcfe815f642915fc1d3fa4fb918e3315df1759f75fced9e5aca90bf2948e28c9a6d3d598411bc8f1dcd62a8c6736037754dffb6c394e423a1ee18e6') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 437929, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-03-06 22:06:49 UTC (rev 437930) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.9 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('069fd8b7f6c217fdd43f33186f0ebb954f9a2b2107010f418b228e697645a1e3') +sha512sums=('f45ff49bf3cd0124bccf1ba5a63fe4c24c0a84ddf7ed036d567bbc7906a26415ad878996da8c7d71188b7804eae4caf81bbb58801b5c85aaed9e94fec952d4fc') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, January 29, 2019 @ 22:33:57 Author: anthraxx Revision: 428498 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 428497, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-01-29 22:33:51 UTC (rev 428497) +++ PKGBUILD2019-01-29 22:33:57 UTC (rev 428498) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=5.0.0 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('ae4779624b992fc6ada6904eca0a86688f5f8391c239480e2fec073d03c2') -sha512sums=('0c790e30c88c4d7363b886a0226bdbc064ca5627855cfb674a5a8e8fd08a7da4fbfdc3b0cba82c934d8de766b48b7ecc4f66742f1164d2cef0a53249983ae163') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 428497, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-01-29 22:33:57 UTC (rev 428498) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.2 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('21c0db1b3a400741aa02f6e82601c487cd10f195019829d1faad69c8bdae26aa') +sha512sums=('2b873bdf9dcfe815f642915fc1d3fa4fb918e3315df1759f75fced9e5aca90bf2948e28c9a6d3d598411bc8f1dcd62a8c6736037754dffb6c394e423a1ee18e6') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, January 12, 2019 @ 01:18:59 Author: anthraxx Revision: 422711 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 422710, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 126 ++--- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-01-12 01:18:52 UTC (rev 422710) +++ PKGBUILD2019-01-12 01:18:59 UTC (rev 422711) @@ -1,63 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.17.31 -pkgrel=2 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('2b09dbe39944e9dc088a599b0d04456e6427224678c819926814058ef818299e') -sha512sums=('1507aaa8229665e6a83d520eab57d2b7f7b14b44250839ba33f60ac3ee78fccbc31372c217f96dcb9e5ed4b3c3902580948ac4f7c1593e049db26e0254f7ca33') - -prepare() { - cd ${pkgname}-framework-${pkgver} - - # https://github.com/bundler/bundler/issues/6882 - sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock - - bundle config build.nokogiri --use-system-libraries - sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec -} - -build() { - cd ${pkgname}-framework-${pkgver} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 422710, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-01-12 01:18:59 UTC (rev 422711) @@ -0,0 +1,63 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=5.0.0 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('ae4779624b992fc6ada6904eca0a86688f5f8391c239480e2fec073d03c2') +sha512sums=('0c790e30c88c4d7363b886a0226bdbc064ca5627855cfb674a5a8e8fd08a7da4fbfdc3b0cba82c934d8de766b48b7ecc4f66742f1164d2cef0a53249983ae163') + +prepare() { + cd ${pkgname}-framework-${pkgver} + + # https://github.com/bundler/bundler/issues/6882 + sed -e '/BUNDLED WITH/,+1d' -i Gemfile.lock + + bundle config build.nokogiri --use-system-libraries + sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec +} + +build() { + cd ${pkgname}-framework-${pkgver} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, December 18, 2018 @ 20:00:14 Author: anthraxx Revision: 416713 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 416712, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 118 ++--- 1 file changed, 59 insertions(+), 59 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-12-18 20:00:07 UTC (rev 416712) +++ PKGBUILD2018-12-18 20:00:14 UTC (rev 416713) @@ -1,59 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.17.26 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('bce04c0c7f74ae70e42191d72cf433b997fccac7a9b002f5fd15074bed561836') -sha512sums=('32a22c47926b31a63b7f9df3a542bea93b1b061a95f486dbb7ba2869e8fc07c8d35fd427d6c4be055089a2e9b1003a36a7d48521b18de27c765c14002e31ecb9') - -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} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 416712, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-12-18 20:00:14 UTC (rev 416713) @@ -0,0 +1,59 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.17.31 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('2b09dbe39944e9dc088a599b0d04456e6427224678c819926814058ef818299e') +sha512sums=('1507aaa8229665e6a83d520eab57d2b7f7b14b44250839ba33f60ac3ee78fccbc31372c217f96dcb9e5ed4b3c3902580948ac4f7c1593e049db26e0254f7ca33') + +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} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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}" +
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Thursday, November 22, 2018 @ 22:28:17 Author: anthraxx Revision: 409405 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 409404, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 118 ++--- 1 file changed, 59 insertions(+), 59 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-11-22 22:28:11 UTC (rev 409404) +++ PKGBUILD2018-11-22 22:28:17 UTC (rev 409405) @@ -1,59 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.17.23 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('c7d86af2787561a5a188629abae46d8f3e5fb83f4360e6a0cb90d7ee7754c7bf') -sha512sums=('5b96ec36493c8aba0bfebd6c558ea5bd8a47b5642571ed93eee8e9e3c232c02527bb2f4af0a09a3714718d93b21f66a8f874485582a9875dfe4027df6c8b0dc4') - -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} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 409404, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-11-22 22:28:17 UTC (rev 409405) @@ -0,0 +1,59 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.17.26 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('bce04c0c7f74ae70e42191d72cf433b997fccac7a9b002f5fd15074bed561836') +sha512sums=('32a22c47926b31a63b7f9df3a542bea93b1b061a95f486dbb7ba2869e8fc07c8d35fd427d6c4be055089a2e9b1003a36a7d48521b18de27c765c14002e31ecb9') + +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} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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}" +
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, November 6, 2018 @ 20:34:41 Author: anthraxx Revision: 402124 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 402123, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 118 ++--- 1 file changed, 59 insertions(+), 59 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-11-06 20:34:35 UTC (rev 402123) +++ PKGBUILD2018-11-06 20:34:41 UTC (rev 402124) @@ -1,59 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.17.14 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('1915d67a5469ffa01a5904e7dd11045905a75f2bfc0a33d9a1f77ef945538774') -sha512sums=('e2d1e1c2985bce3c2d190789656cc70894c7750663e3f6558859920abafe305408c19f74527610772c08223047157539c1acb6f0c220ecf0645c7951ff90516b') - -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} - CFLAGS+=" -I/usr/include/libxml2" - bundle install -j"$(nproc)" --no-cache --deployment - 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-${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 402123, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-11-06 20:34:41 UTC (rev 402124) @@ -0,0 +1,59 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.17.23 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('c7d86af2787561a5a188629abae46d8f3e5fb83f4360e6a0cb90d7ee7754c7bf') +sha512sums=('5b96ec36493c8aba0bfebd6c558ea5bd8a47b5642571ed93eee8e9e3c232c02527bb2f4af0a09a3714718d93b21f66a8f874485582a9875dfe4027df6c8b0dc4') + +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} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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}" +
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, September 23, 2018 @ 15:45:49 Author: anthraxx Revision: 384219 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 384218, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 117 ++--- 1 file changed, 59 insertions(+), 58 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-09-23 15:45:41 UTC (rev 384218) +++ PKGBUILD2018-09-23 15:45:49 UTC (rev 384219) @@ -1,58 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.17.5 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('5a8edec081082dc33808cfe7c45a8bcb114e048bdc20886b04fa3b66904e3f82') -sha512sums=('7aae9a439358a686172b677eeaf9696252450599b6303ae6ddfc5043c8485beae4f5a726e6be488a039ef99a791ed22742fa9bbd6400678006c2ba2b92dc487c') - -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} - CFLAGS+=" -I/usr/include/libxml2" - 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 384218, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-09-23 15:45:49 UTC (rev 384219) @@ -0,0 +1,59 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.17.14 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('1915d67a5469ffa01a5904e7dd11045905a75f2bfc0a33d9a1f77ef945538774') +sha512sums=('e2d1e1c2985bce3c2d190789656cc70894c7750663e3f6558859920abafe305408c19f74527610772c08223047157539c1acb6f0c220ecf0645c7951ff90516b') + +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} + CFLAGS+=" -I/usr/include/libxml2" + bundle install -j"$(nproc)" --no-cache --deployment + 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-${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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, August 13, 2018 @ 21:58:29 Author: anthraxx Revision: 371333 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 371332, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 116 ++--- 1 file changed, 58 insertions(+), 58 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-08-13 21:58:07 UTC (rev 371332) +++ PKGBUILD2018-08-13 21:58:29 UTC (rev 371333) @@ -1,58 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.17.1 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('99517112818be223790be47f184ae410cf3b4c40e96bd845e0925374d5a4d646') -sha512sums=('84133240901a11a80b15092a994743628816de0edf28089c42125b6a7b40fea598eedd7e10e08ca2b1ec711506be0ffe85f43ae9f092d1a1fda2b4772aba4916') - -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} - CFLAGS+=" -I/usr/include/libxml2" - 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 371332, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-08-13 21:58:29 UTC (rev 371333) @@ -0,0 +1,58 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.17.5 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('5a8edec081082dc33808cfe7c45a8bcb114e048bdc20886b04fa3b66904e3f82') +sha512sums=('7aae9a439358a686172b677eeaf9696252450599b6303ae6ddfc5043c8485beae4f5a726e6be488a039ef99a791ed22742fa9bbd6400678006c2ba2b92dc487c') + +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} + CFLAGS+=" -I/usr/include/libxml2" + 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 + ) + +
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, July 16, 2018 @ 23:19:01 Author: anthraxx Revision: 360306 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 360305, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 116 ++--- 1 file changed, 58 insertions(+), 58 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-16 23:18:54 UTC (rev 360305) +++ PKGBUILD2018-07-16 23:19:01 UTC (rev 360306) @@ -1,58 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.17.0 -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' 'libxml2' 'git') -options=('!strip' '!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) -sha256sums=('845a57ab71993328bd51c57f38093d99fa281e62b82c1d7af9cd073d3b4495df') -sha512sums=('3edc7633a5070bd4b4abb4998890bdd8177d894949c1cf0a0212042a0cc08620df99917dc317949532e2f1a5a295b75dd989c346f6d85bc0bd0e6c5e2533c60d') - -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} - CFLAGS+=" -I/usr/include/libxml2" - 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 360305, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-16 23:19:01 UTC (rev 360306) @@ -0,0 +1,58 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.17.1 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('99517112818be223790be47f184ae410cf3b4c40e96bd845e0925374d5a4d646') +sha512sums=('84133240901a11a80b15092a994743628816de0edf28089c42125b6a7b40fea598eedd7e10e08ca2b1ec711506be0ffe85f43ae9f092d1a1fda2b4772aba4916') + +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} + CFLAGS+=" -I/usr/include/libxml2" + 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 + ) + +
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Friday, July 6, 2018 @ 00:07:25 Author: anthraxx Revision: 353271 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 353270, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 115 ++--- 1 file changed, 58 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-06 00:07:17 UTC (rev 353270) +++ PKGBUILD2018-07-06 00:07:25 UTC (rev 353271) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.16.60 -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=('f55ac839bfb14eb67711c448c73b79ea6efb75f9e3ddf92e4151318f6b6ed2e2') -sha512sums=('abfe0daa25b202261f5db6dd3811bb46c491415217e0c9c956b3deba70b03c6c4de802a274c7c93b9765616bd9e97e360268fbadd1bfaea71bf05e82a6401251') - -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 353270, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-06 00:07:25 UTC (rev 353271) @@ -0,0 +1,58 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.17.0 +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' 'libxml2' 'git') +options=('!strip' '!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rapid7/metasploit-framework/archive/${pkgver}.tar.gz) +sha256sums=('845a57ab71993328bd51c57f38093d99fa281e62b82c1d7af9cd073d3b4495df') +sha512sums=('3edc7633a5070bd4b4abb4998890bdd8177d894949c1cf0a0212042a0cc08620df99917dc317949532e2f1a5a295b75dd989c346f6d85bc0bd0e6c5e2533c60d') + +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} + CFLAGS+=" -I/usr/include/libxml2" + 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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, June 11, 2018 @ 22:10:17 Author: anthraxx Revision: 342393 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 342392, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-06-11 22:10:07 UTC (rev 342392) +++ PKGBUILD2018-06-11 22:10:17 UTC (rev 342393) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.16.59 -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=('691f67d4c8310775f2c47dc2336db09a6dbda2c47f4a07341aec2bc7c19bb264') -sha512sums=('f8bf6db581c39a3fec474acc12337aab87d1480dc3a88cc4e1c100e393c1aac0f8d34cdfe1b77a2b41fba33bdaf1a4995cb5d60f417e269040f86d1ee42d0091') - -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 342392, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-06-11 22:10:17 UTC (rev 342393) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.16.60 +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=('f55ac839bfb14eb67711c448c73b79ea6efb75f9e3ddf92e4151318f6b6ed2e2') +sha512sums=('abfe0daa25b202261f5db6dd3811bb46c491415217e0c9c956b3deba70b03c6c4de802a274c7c93b9765616bd9e97e360268fbadd1bfaea71bf05e82a6401251') + +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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, June 6, 2018 @ 18:05:11 Author: anthraxx Revision: 341543 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 341542, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-06-06 18:05:03 UTC (rev 341542) +++ PKGBUILD2018-06-06 18:05:11 UTC (rev 341543) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.16.58 -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=('69185b49cfa100dcc1ae3726b4575bd1d3128b8c1a1c8a685892e20dbf8e25ec') -sha512sums=('547a4311196d6d13f0d5e8e0c58d77787be77098169e9a53e409a25142b7c30bef3573fc100301af79e91caba722833d42ecb401ccfaf9e101be3a48f03e1f1a') - -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 341542, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-06-06 18:05:11 UTC (rev 341543) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.16.59 +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=('691f67d4c8310775f2c47dc2336db09a6dbda2c47f4a07341aec2bc7c19bb264') +sha512sums=('f8bf6db581c39a3fec474acc12337aab87d1480dc3a88cc4e1c100e393c1aac0f8d34cdfe1b77a2b41fba33bdaf1a4995cb5d60f417e269040f86d1ee42d0091') + +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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Thursday, May 24, 2018 @ 21:53:25 Author: anthraxx Revision: 329205 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 329204, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-05-24 21:53:15 UTC (rev 329204) +++ PKGBUILD2018-05-24 21:53:25 UTC (rev 329205) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.16.57 -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=('e565e1adf9f1cf1f88757c6bea28d51fe1c9652fa985e82137796d2b370bc91d') -sha512sums=('1bac6f61949e7c9e78eabd63de0463ed45cb727140ce0ed9b0bfb387743e1697fa74b80a5413c0193dbfca8e3f7afd85f626f79ac6320c52e1433af5b6ed3d08') - -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 329204, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-05-24 21:53:25 UTC (rev 329205) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.16.58 +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=('69185b49cfa100dcc1ae3726b4575bd1d3128b8c1a1c8a685892e20dbf8e25ec') +sha512sums=('547a4311196d6d13f0d5e8e0c58d77787be77098169e9a53e409a25142b7c30bef3573fc100301af79e91caba722833d42ecb401ccfaf9e101be3a48f03e1f1a') + +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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, May 23, 2018 @ 00:03:12 Author: anthraxx Revision: 327816 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 327815, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-05-23 00:02:25 UTC (rev 327815) +++ PKGBUILD2018-05-23 00:03:12 UTC (rev 327816) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.16.56 -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=('ca9ed7bd57901c0a988b07e81a3ae4d164b324c05d84649f327fb5d727a573b5') -sha512sums=('fd8740d3c28b8e1a9279226c25ea1bffaa6b6070f63c46c27f4fad6aba0922b77b995eae27c92b2543d3a19aa00a6fc061e02f264fb92fa2afddc015e63589ee') - -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 327815, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-05-23 00:03:12 UTC (rev 327816) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.16.57 +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=('e565e1adf9f1cf1f88757c6bea28d51fe1c9652fa985e82137796d2b370bc91d') +sha512sums=('1bac6f61949e7c9e78eabd63de0463ed45cb727140ce0ed9b0bfb387743e1697fa74b80a5413c0193dbfca8e3f7afd85f626f79ac6320c52e1433af5b6ed3d08') + +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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Friday, May 11, 2018 @ 22:49:31 Author: anthraxx Revision: 320910 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 320909, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-05-11 22:49:22 UTC (rev 320909) +++ PKGBUILD2018-05-11 22:49:31 UTC (rev 320910) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.16.55 -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=('f6f64242e9664dbb95a5e8a60ad9a5d40126a4fb0925bc4e737330f59af5895e') -sha512sums=('081291ba4f172eb96d5e65a26e6931bdab25f62d485cdbd16a249a3c0f8620c0d26d0d0da4688cb4ce7b2956cb3afc160f7c6fa76dbaa607ac0d3d85cd558c56') - -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 320909, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-05-11 22:49:31 UTC (rev 320910) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.16.56 +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=('ca9ed7bd57901c0a988b07e81a3ae4d164b324c05d84649f327fb5d727a573b5') +sha512sums=('fd8740d3c28b8e1a9279226c25ea1bffaa6b6070f63c46c27f4fad6aba0922b77b995eae27c92b2543d3a19aa00a6fc061e02f264fb92fa2afddc015e63589ee') + +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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, May 8, 2018 @ 22:18:03 Author: anthraxx Revision: 319712 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 319711, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-05-08 22:17:53 UTC (rev 319711) +++ PKGBUILD2018-05-08 22:18:03 UTC (rev 319712) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.16.54 -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=('f6c11800df6b19525daae4aae39573fed65c860ea5a404a6f6862370f224fd9d') -sha512sums=('52a1242593400cab94b499701fbcf5b02b2c64371196a280df521837f16254fe735fe1571ec8f2ae4f1c36b5b595630ecd89fcf3bc2a50cf358736bb4251151c') - -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 319711, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-05-08 22:18:03 UTC (rev 319712) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.16.55 +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=('f6f64242e9664dbb95a5e8a60ad9a5d40126a4fb0925bc4e737330f59af5895e') +sha512sums=('081291ba4f172eb96d5e65a26e6931bdab25f62d485cdbd16a249a3c0f8620c0d26d0d0da4688cb4ce7b2956cb3afc160f7c6fa76dbaa607ac0d3d85cd558c56') + +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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, April 30, 2018 @ 23:53:32 Author: anthraxx Revision: 318535 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 318534, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-04-30 23:53:24 UTC (rev 318534) +++ PKGBUILD2018-04-30 23:53:32 UTC (rev 318535) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.16.53 -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=('c6cb1b02add978ec7b0f903d381ef43582723dd059368f7a5843db62dff8f55e') -sha512sums=('6c4c91d7ecb61db27657b8c22e0c6640d28009348676b8e4f4f4f54a96d5ecbeb4ad1dcc2c2be92ac33ba8f4e19a3ba1558998e61680bdc6a12ba9ca3454e2f2') - -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 318534, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-04-30 23:53:32 UTC (rev 318535) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.16.54 +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=('f6c11800df6b19525daae4aae39573fed65c860ea5a404a6f6862370f224fd9d') +sha512sums=('52a1242593400cab94b499701fbcf5b02b2c64371196a280df521837f16254fe735fe1571ec8f2ae4f1c36b5b595630ecd89fcf3bc2a50cf358736bb4251151c') + +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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, April 28, 2018 @ 23:23:20 Author: anthraxx Revision: 318420 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 318419, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-04-28 23:23:12 UTC (rev 318419) +++ PKGBUILD2018-04-28 23:23:20 UTC (rev 318420) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -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: Copied: metasploit/repos/community-x86_64/PKGBUILD (from rev 318419, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-04-28 23:23:20 UTC (rev 318420) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +pkgname=metasploit +pkgver=4.16.53 +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=('c6cb1b02add978ec7b0f903d381ef43582723dd059368f7a5843db62dff8f55e') +sha512sums=('6c4c91d7ecb61db27657b8c22e0c6640d28009348676b8e4f4f4f54a96d5ecbeb4ad1dcc2c2be92ac33ba8f4e19a3ba1558998e61680bdc6a12ba9ca3454e2f2') + +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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2018-04-24 20:32:44 UTC (rev 317624) +++ PKGBUILD2018-04-24 20:32:53 UTC (rev 317625) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -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=('749a200f8b1ffb4972336d8a3940a41a18ee167ade93072274c9493d0cb6fbb16afb00be184886f34cac69e87a2b72f15c7dd5cd1542505045c33cab11c0') - -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) +++ PKGBUILD2018-04-24 20:32:53 UTC (rev 317625) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +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
[arch-commits] Commit in metasploit/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, April 18, 2018 @ 21:59:05 Author: anthraxx Revision: 316937 archrelease: copy trunk to community-x86_64 Added: metasploit/repos/community-x86_64/PKGBUILD (from rev 316936, metasploit/trunk/PKGBUILD) Deleted: metasploit/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-04-18 21:58:58 UTC (rev 316936) +++ PKGBUILD2018-04-18 21:59:05 UTC (rev 316937) @@ -1,57 +0,0 @@ -# Maintainer: Levente Polyak-# Contributor: Sabart Otto - Seberm -# Contributor: Tobias Veit - nIcE - -pkgname=metasploit -pkgver=4.16.49 -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=('b48b21714b04555c5f98a5bf407bcfd5d297c5f2e6b924ada56416df2c51616d') -sha512sums=('ab640e8a60178b16981b7881a879320bf48106869f46cd7058b7f386c7f9287dba364072df1d8fbf61f2472598dc4b1309df9c64a033971c2aa21ef98be8fb25') - -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 316936, metasploit/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-04-18 21:59:05 UTC (rev 316937) @@ -0,0 +1,57 @@ +# Maintainer: Levente Polyak +# Contributor: Sabart Otto - Seberm +# Contributor: Tobias Veit - nIcE + +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=('749a200f8b1ffb4972336d8a3940a41a18ee167ade93072274c9493d0cb6fbb16afb00be184886f34cac69e87a2b72f15c7dd5cd1542505045c33cab11c0') + +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