From 9889e9e06bfb769e6b65f50ab47eab489e031313 Mon Sep 17 00:00:00 2001 From: blshkv Date: Sat, 13 Oct 2018 10:54:07 +0800 Subject: [PATCH] metasploit: 4.17.17 bump with deps, cleanup --- dev-ruby/metasploit-payloads/Manifest | 1 + .../metasploit-payloads-1.3.52.ebuild | 44 +++++++++++++ dev-ruby/metasploit_payloads-mettle/Manifest | 4 +- .../metasploit_payloads-mettle-0.3.3.ebuild | 61 ----------------- .../metasploit_payloads-mettle-0.3.7.ebuild | 65 ------------------- ...> metasploit_payloads-mettle-0.4.2.ebuild} | 0 net-analyzer/metasploit/Manifest | 2 +- ....17.1.ebuild => metasploit-4.17.17.ebuild} | 5 +- .../base/package.accept_keywords/dev-ruby | 3 +- 9 files changed, 52 insertions(+), 133 deletions(-) create mode 100644 dev-ruby/metasploit-payloads/metasploit-payloads-1.3.52.ebuild delete mode 100644 dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.3.3.ebuild delete mode 100644 dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.3.7.ebuild rename dev-ruby/metasploit_payloads-mettle/{metasploit_payloads-mettle-0.3.8.ebuild => metasploit_payloads-mettle-0.4.2.ebuild} (100%) rename net-analyzer/metasploit/{metasploit-4.17.1.ebuild => metasploit-4.17.17.ebuild} (99%) diff --git a/dev-ruby/metasploit-payloads/Manifest b/dev-ruby/metasploit-payloads/Manifest index 0a28b400c..f82069afd 100644 --- a/dev-ruby/metasploit-payloads/Manifest +++ b/dev-ruby/metasploit-payloads/Manifest @@ -2,3 +2,4 @@ DIST metasploit-payloads-1.3.34.gem 11936256 BLAKE2B 386494ebca9c1ee6eda6460057a DIST metasploit-payloads-1.3.40.gem 12027392 BLAKE2B e0d81b5dc398043d3c523663353908d40b61c9dec9f560348e861ef418794f266ec5b92ac8823fc9a5dc5103da2e0efa646f473b1c15933eb484484db663ddba SHA512 b37a6ccb3700dbe138a1888b2c35c2b8ffc4722fa89bae841841eaf7addac18519a3f4e77de74653a6d956ddaaaf32d7f96e1c970a5323c2336a9d34abdab6f4 DIST metasploit-payloads-1.3.42.gem 12027392 BLAKE2B 064fa57201a192e6bcb5e8607edaaa0b1b196939b84404b73c32abe4a92be47450cf92d3ff8615b5529e3beb72e3aae515b59fb2c8e611fdf460305c2df27570 SHA512 25b44f248ed90ed4beef3e7fea7f45e6dfa89ddf3160fb2ed1bbab7c2577213fd9c0153860a16b879b046cc3c8a29590cd07bf0af5bac35cdb2a5bba8da8c732 DIST metasploit-payloads-1.3.43.gem 12035072 BLAKE2B 08a4e773d7c94e9f77cb2e783727bccbe26c405bb521634cfc5977c43f5f94c2337fe9bb8ddb625cc4286000fd2a7f15391cca55fed99810a756971389af118c SHA512 d800a3e96e8ace64e00bf046fc2d740349f56f18f02a314c5b13e250f0e271da3230321b07a743c6129e0b92022a4c7a423ef6732f527e247e8fb3b13a9d381f +DIST metasploit-payloads-1.3.52.gem 12161024 BLAKE2B ac760cc352c0c3c25f16b37abfcbf6c7a5514084fd14cf6e67ae310ceb58400143038d173529ddd543e6504ecb36277a3646676961938c8c05cc70b820b17187 SHA512 e3cd893bf96b0c774a9a9f1d79673333cfec856e252510545d30e7820364ed9d9b7ce3e971810c9d81288df8197adfb2ef0d873f2be332e80d3d82bd7bc9b8c7 diff --git a/dev-ruby/metasploit-payloads/metasploit-payloads-1.3.52.ebuild b/dev-ruby/metasploit-payloads/metasploit-payloads-1.3.52.ebuild new file mode 100644 index 000000000..c89ecf792 --- /dev/null +++ b/dev-ruby/metasploit-payloads/metasploit-payloads-1.3.52.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Compiled binaries for Metasploit's Meterpreter" +HOMEPAGE="https://rubygems.org/gems/metasploit-payloads" + +LICENSE="BSD" + +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +#no tests +RESTRICT="test strip" + +QA_PREBUILT=" + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/msflinker_linux_x86.bin + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_sniffer.lso + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_networkpug.lso + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_stdapi.lso + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/armeabi/libndkstager.so + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/mips/libndkstager.so + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/x86/libndkstager.so + " + +src_install() { + ruby-ng_src_install + #tell revdep-rebuild to ignore binaries meant for the target + dodir /etc/revdep-rebuild + cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT} || die + #These dirs contain prebuilt binaries for running on the TARGET not the HOST + SEARCH_DIRS_MASK="/usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs" + EOF +} diff --git a/dev-ruby/metasploit_payloads-mettle/Manifest b/dev-ruby/metasploit_payloads-mettle/Manifest index ca869b3cb..658b368b2 100644 --- a/dev-ruby/metasploit_payloads-mettle/Manifest +++ b/dev-ruby/metasploit_payloads-mettle/Manifest @@ -1,5 +1,3 @@ -DIST metasploit_payloads-mettle-0.3.3.gem 17652224 BLAKE2B e5e7a9f6e845429a61812ec943f8f8e390f2cd64a27f901f2341a7a566d3ca4f4b903bf40f395aa16cd28e7880ca1bc70fbae23175135a37eab9b3ea2a60aaa0 SHA512 6b4173ad0134cf18ea87bba62477c5d0dfc7091be7ce1f4f26531f4779b2c2379f3c9563b547fac720943ab254308b24f70ac1c378621308186431f24f91d120 -DIST metasploit_payloads-mettle-0.3.7.gem 17677312 BLAKE2B 8c807d6c9f5ca0b615ab8e834dcf5e5be8bb5fa20073015fb3cee621cccd453e250fc55846d9388e4c10ceec26575725478fad7300bc07ba33f7206f405a9d35 SHA512 badb6ee5d56c1883044cc9504328ac4b5d7fd9d930aa3a3678fbe7b93e55f76f86cf7c6fad187812151fc58dcfe00c399f3aaf5d28dd97f958be42cb0e2c6e42 -DIST metasploit_payloads-mettle-0.3.8.gem 17235456 BLAKE2B d42dc0b250dd378eea75cc1117f13d719d9d99d6fcb272342ddc4cefaf825193d42750adcaa6dff07688eae92c70bf44194b35bc3e4f2f9e7bdb8899915b865b SHA512 76763636eca7623eadcea92cc2c80f26f55472c0ce93999a7de2a42746be443d33019bbac841c30bb499137d1d14052162cd4fa6c941281e70136cd29f575274 DIST metasploit_payloads-mettle-0.4.0.gem 17248768 BLAKE2B 7149ffeb1b9569b09496c099570e9936d9be31f91c83c3daad83b6deae4232a15cc93316529ead633560fa70453a351e7356292eef65d7396729b8c32890a9dc SHA512 53b52999d86ac3b5bb3ecde855f53cc868ea0003195304ce8aaa5b2b8d72173e0d1fbed6a3033e2755f40db9800be9b60b3ae7ef8168d9e459e56ea3975e559c DIST metasploit_payloads-mettle-0.4.1.gem 18290176 BLAKE2B 0404f03d74b73b1e3d17e9b22d9ccfec04a290f55a49c783fa2a28ea778704d63d9d529ea9747a47354ecc319ff76ab2f368eb4dd18c95eb9131a3fb957cec2f SHA512 fe7b60115658facda859bfecdd1609735a2034f86b191c4216da23e5be4a082eeae96b903e519e4ab4c8c9902099cbe9ee609a1484680c907b6bda51dd9652fb +DIST metasploit_payloads-mettle-0.4.2.gem 18293760 BLAKE2B 98de479bbc72fd2ac916efaa4ac64f1aaf0d7267926ee5b56bfc2ec2b91450039c0a4d9d4322174355b4b089e5f9951145d5cbf87759e2bfe4da78e5b8cceec4 SHA512 8a0f8c1ca75d7664d33392e6c0c5a3de56ddd0a5c0f97f96091041caee89e74a2f3a42277a1f0c3eb57ca68706b344f0235b8ebc92870c6b8a89fa7bc20de5f0 diff --git a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.3.3.ebuild b/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.3.3.ebuild deleted file mode 100644 index 7606a710d..000000000 --- a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.3.3.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby21 ruby22 ruby23 ruby24" - -RUBY_FAKEGEM_TASK_DOC="" - -RUBY_FAKEGEM_EXTRAINSTALL="build" - -inherit ruby-fakegem - -DESCRIPTION="Compiled binaries for Metasploit's next-gen Meterpreter" -HOMEPAGE="https://rubygems.org/gems/metasploit_payloads-mettle" - -LICENSE="BSD" - -SLOT="${PV}" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -#no tests -RESTRICT="test strip" - -QA_PREBUILT=" - usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/aarch64-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/armv5b-linux-musleabi/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/armv5l-linux-musleabi/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/i486-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc-linux-muslsf/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc64le-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/x86_64-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle.bin - - /usr/lib*/ruby/gems/*/gems/${P}/build/aarch64-linux-musl/bin/mettle - /usr/lib*/ruby/gems/*/gems/${P}/build/armv5b-linux-musleabi/bin/mettle - /usr/lib*/ruby/gems/*/gems/${P}/build/armv5l-linux-musleabi/bin/mettle - /usr/lib*/ruby/gems/*/gems/${P}/build/i486-linux-musl/bin/mettle - /usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/mettle - /usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/mettle - /usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/mettle - /usr/lib*/ruby/gems/*/gems/${P}/build/powerpc-linux-muslsf/bin/mettle - /usr/lib*/ruby/gems/*/gems/${P}/build/powerpc64le-linux-musl/bin/mettle - /usr/lib*/ruby/gems/*/gems/${P}/build/x86_64-linux-musl/bin/mettle - - " - -src_install() { - ruby-ng_src_install - #tell revdep-rebuild to ignore binaries meant for the target - dodir /etc/revdep-rebuild - cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT} || die - #These dirs contain prebuilt binaries for running on the TARGET not the HOST - SEARCH_DIRS_MASK="/usr/lib*/ruby/gems/*/gems/${P}/build" - EOF -} diff --git a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.3.7.ebuild b/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.3.7.ebuild deleted file mode 100644 index cde9acedb..000000000 --- a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.3.7.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby21 ruby22 ruby23 ruby24" - -RUBY_FAKEGEM_TASK_DOC="" - -RUBY_FAKEGEM_EXTRAINSTALL="build" - -inherit ruby-fakegem - -DESCRIPTION="Compiled binaries for Metasploit's next-gen Meterpreter" -HOMEPAGE="https://rubygems.org/gems/metasploit_payloads-mettle" - -LICENSE="BSD" - -SLOT="${PV}" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -#no tests -RESTRICT="test strip" - -QA_PREBUILT=" - usr/lib*/ruby/gems/*/gems/${P}/build/aarch64-linux-musl/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/aarch64-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/armv5b-linux-musleabi/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/armv5b-linux-musleabi/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/armv5l-linux-musleabi/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/armv5l-linux-musleabi/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/i486-linux-musl/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/i486-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/sniffer - usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/sniffer.bin - usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/sniffer - usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/sniffer.bin - usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/sniffer - usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/sniffer.bin - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc64le-linux-musl/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc64le-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc-linux-muslsf/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc-linux-muslsf/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/x86_64-linux-musl/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/x86_64-linux-musl/bin/mettle.bin - " - -src_install() { - ruby-ng_src_install - #tell revdep-rebuild to ignore binaries meant for the target - dodir /etc/revdep-rebuild - cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT} || die - #These dirs contain prebuilt binaries for running on the TARGET not the HOST - SEARCH_DIRS_MASK="/usr/lib*/ruby/gems/*/gems/${P}/build" - EOF -} diff --git a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.3.8.ebuild b/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.4.2.ebuild similarity index 100% rename from dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.3.8.ebuild rename to dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.4.2.ebuild diff --git a/net-analyzer/metasploit/Manifest b/net-analyzer/metasploit/Manifest index d8a887d6b..bf5d26366 100644 --- a/net-analyzer/metasploit/Manifest +++ b/net-analyzer/metasploit/Manifest @@ -1,2 +1,2 @@ -DIST metasploit-4.17.1.tar.gz 26681592 BLAKE2B 1f69cbf005bc5c504679181cab5e7791ff72505789bef3a3a2fd45174e6aca97393c27e6e4c8f61e689e3716ea0215b4b31fbd0255e994e6a4a011b5c6ad0744 SHA512 84133240901a11a80b15092a994743628816de0edf28089c42125b6a7b40fea598eedd7e10e08ca2b1ec711506be0ffe85f43ae9f092d1a1fda2b4772aba4916 +DIST metasploit-4.17.17.tar.gz 27836345 BLAKE2B 5c181471eecce60d251b90ebfef5e95e56f67b0f98e3b3d7303037557e4da052d7f7c7ed7eeaef956d1e4df17a966b80c62fab73354e28f213784d58d878a21b SHA512 66e0c73c672d29ecc4a946e89d4d6e50facf2c6120c8911c7cb614710fb20dbed66518f9ab5998b1158c21d663cf6519f6ed6dd244c588e2e2c291da4bd6afaa DIST metasploit-4.17.7.tar.gz 26973043 BLAKE2B f8f90e54a5647e803f361c321c910e84988d67cb67a72d9c183df20708702329ff6fab01bb347dddc4c2667783c0ea1313d81f20b64bf0740c3cfc540eba6dd0 SHA512 3c1ebd9098cad61e6e5ee731347aedffbbaa1085f2a025193e69d0a9116f8687e25ed629a6f9c8d6d699bd1aae6a83e494d3842db05f503da5a00ba700123f0f diff --git a/net-analyzer/metasploit/metasploit-4.17.1.ebuild b/net-analyzer/metasploit/metasploit-4.17.17.ebuild similarity index 99% rename from net-analyzer/metasploit/metasploit-4.17.1.ebuild rename to net-analyzer/metasploit/metasploit-4.17.17.ebuild index a68c3e84a..71f86d4e1 100644 --- a/net-analyzer/metasploit/metasploit-4.17.1.ebuild +++ b/net-analyzer/metasploit/metasploit-4.17.17.ebuild @@ -52,11 +52,12 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl