From d87262dd706fec50cd150aab3e93883b6337466d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:56:41 +0100 Subject: gentoo resync : 14.07.2018 --- app-eselect/eselect-metasploit/Manifest | 7 - .../eselect-metasploit-0.16.ebuild | 40 ---- app-eselect/eselect-metasploit/files/91metasploit | 8 - .../files/metasploit.eselect-0.13 | 207 --------------------- .../eselect-metasploit/files/msfloader-0.16 | 41 ---- app-eselect/eselect-metasploit/files/msfrpcd.confd | 16 -- app-eselect/eselect-metasploit/files/msfrpcd.initd | 21 --- app-eselect/eselect-metasploit/metadata.xml | 8 - 8 files changed, 348 deletions(-) delete mode 100644 app-eselect/eselect-metasploit/Manifest delete mode 100644 app-eselect/eselect-metasploit/eselect-metasploit-0.16.ebuild delete mode 100644 app-eselect/eselect-metasploit/files/91metasploit delete mode 100644 app-eselect/eselect-metasploit/files/metasploit.eselect-0.13 delete mode 100644 app-eselect/eselect-metasploit/files/msfloader-0.16 delete mode 100644 app-eselect/eselect-metasploit/files/msfrpcd.confd delete mode 100644 app-eselect/eselect-metasploit/files/msfrpcd.initd delete mode 100644 app-eselect/eselect-metasploit/metadata.xml (limited to 'app-eselect/eselect-metasploit') diff --git a/app-eselect/eselect-metasploit/Manifest b/app-eselect/eselect-metasploit/Manifest deleted file mode 100644 index 72b339f9c2e6..000000000000 --- a/app-eselect/eselect-metasploit/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX 91metasploit 301 BLAKE2B b5dc4ea9b50299ee88135f4aac951f4407da990faa6f1bff796fcd16d7a15a114dfbea1082f63e5b869d1f66eb869b55ce5c33ea1816282852b5da72870037a8 SHA512 60c1633dba13a5614649f51e9c4b79dde9944bac3c81dba26b5e97d3589985ba66d05c73093b68bef2af150932d534fc3d17c223de1c68a13b266ba219c55f9b -AUX metasploit.eselect-0.13 5200 BLAKE2B 1b58496e503e6a877e1314b6ed5092a43886bb015f74cbb6d980dd2b8140ecc7871ac33fbb150f55b62014cc9d1187e6c0fb1464b92817254ac1a123baad4d59 SHA512 73d94d02995f3328a61e566d9d6da58c062393a4b8ae48f57c4fa09fe2e3d06e4b9a5dd069c6504cb77a0dcd924e4a13c83857bb8a640d0d7568c99ae0e6655c -AUX msfloader-0.16 1156 BLAKE2B afc03dcb975b7e9e2928e54da9b81d3fc4970d1ea61d044e0dfd51fe842621935c9a5fc9994c365d4d568801a1a3adaaf94192ecd32dd3671a010e88a4996bda SHA512 8b16f37892fa59df912c6a67413b505f1e192c88d57635ba0f91d768c4a55ab856471ce78f4f21c990d0b250736bdae8129a70b7459e9a82ce291fe631e1361d -AUX msfrpcd.confd 370 BLAKE2B b692c006e181927c4dba7f159f4fcf85e316004ad09a4ffc107189d186837924b3ad64ad614e9e45742dedcf53a046e36096e5fb6bc60b99ad2104a96c1a4371 SHA512 88a52427233bc82dc36d8f627edee84ba6675cddcc4539bb3a28cfe6fd7fba673875d62a150dfa5314756f11a6b1a95453966b31a2ae1f9820c6ef936d463f90 -AUX msfrpcd.initd 470 BLAKE2B 760f4d87365c1cc4c23a305710eaa96447a8c3ac87a4c02133542b4a051f4b669f828f5cdeecbfac7e29f3a6f41febfe35296264804ffd4ce111a1d8bb63d2d5 SHA512 315eff30ff8826f87243d100f9a7fa28e7e4689bb4593bdc4fa0a4f8fa1216556e8921f39c912bb544c7304c84a6421e6289f8aca177ae401989f35e2b8fe441 -EBUILD eselect-metasploit-0.16.ebuild 912 BLAKE2B eb259546e04f19100afc4502980eef636ef5a91cd7c41073dbf5b5fc9c8686d0692941fef5277c75e724f44c10d01ca5bd664680a663da7aa8d5404a46547d26 SHA512 970d64ffbe097e3cf18f08df0fe63826d21b24c0929635ec236fcb5cbed760e965ff7e20573297bb84583e51388a7ac08eaf4fac2d4fa46f098bcbddc71de0c6 -MISC metadata.xml 241 BLAKE2B 31d2e88c810d3facda6587f93bdc429e66b6ed90dc2c019dac1ece6da620b74dc4db8907a25d6559ff7a027f6b267774016686a56c5a5e67da4fbfa3cae7be6e SHA512 d308ccef737c1776c2d77c0761996ef272a5866f5d9ceeda4dd4ceede851a145f76281a29b4c4b154e5b10f1d57c9344010bfcf75ba52fb3f1b34a58e3c2053f diff --git a/app-eselect/eselect-metasploit/eselect-metasploit-0.16.ebuild b/app-eselect/eselect-metasploit/eselect-metasploit-0.16.ebuild deleted file mode 100644 index 4746a34aa7d3..000000000000 --- a/app-eselect/eselect-metasploit/eselect-metasploit-0.16.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit multilib - -DESCRIPTION="eselect module for metasploit" -HOMEPAGE="http://www.pentoo.ch/" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -DEPEND="app-admin/eselect - !" -} - -describe_set_options() { - echo " : Target name or number (from 'list' action)" - echo "--use-old : If an implementation is already set, use that one instead" -} - -do_set() { - local action="error" - local current=$(basename "$(canonicalise "${EROOT}${MSFPATH}")") - local available=( $(find_targets) ) - local new - local opt - - while [[ ${#@} -gt 0 ]] ; do - opt=$1 - shift - case ${opt} in - --use-old) - if [[ -n "${current}" ]] && has "${current}" "${available[@]}"; then - action="old-implementation" - fi - ;; - metasploit*) - if [[ "${action}" != "old-implementation" ]] ; then - action="set-implementation" - fi - - if has ${opt} ${available[@]}; then - new="${opt}" - else - echo "You need to emerge ${opt} before you try to eselect it" - fi - ;; - *) - if [[ "${action}" != "old-implementation" ]] ; then - action="set-implementation" - fi - - if is_number ${opt} ; then - #targets=( $(get_implementations) ) - new=${available[opt - 1]} - if [[ -z ${new} ]] ; then - die -q "Unrecognized option: ${opt}" - fi - else - die -q "Unrecognized option: ${opt}" - fi - ;; - esac - done - - case ${action} in - old-implementation) - set_symlink_safe ${current} - return $? - ;; - set-implementation) - if [[ -n ${new} ]] ; then - set_symlink_safe ${new} - return $? - else - die -q "Please specify an implementation to set" - fi - ;; - *) - die -q "Invalid usage of set action." - ;; - esac -} diff --git a/app-eselect/eselect-metasploit/files/msfloader-0.16 b/app-eselect/eselect-metasploit/files/msfloader-0.16 deleted file mode 100644 index 231275a9b1f6..000000000000 --- a/app-eselect/eselect-metasploit/files/msfloader-0.16 +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -#todo: -#add in optional auto starting/stopping of postgres - -#read the desired version of ruby from the eselected version of msf -header="$(head -n1 /usr/lib/metasploit/msfconsole)" -ruby="${header:2}" - -#normally msf makes this dir, however, this script runs first -if [ ! -d ~/.msf4 ]; then - mkdir ~/.msf4 -fi - -#we cannot control if msf* exits normally so always start with cleanup -if [ -f ~/.msf4/Gemfile ]; then - rm ~/.msf4/Gemfile -fi -if ls -A ~/.msf4/*.gemspec > /dev/zero 2>&1; then - rm ~/.msf4/*.gemspec -fi - -#fetch the latest Gemfile and gemspecsfrom the selected version of msf -cp /usr/lib/metasploit/Gemfile ~/.msf4/ -if ls -A /usr/lib/metasploit/*.gemspec > /dev/zero 2>&1; then - cp /usr/lib/metasploit/*.gemspec ~/.msf4/ -fi - -#ensure Gemfile.lock is up to date -BUNDLE_GEMFILE=~/.msf4/Gemfile ${ruby} -S bundle check > /dev/null 2>&1 -if [ "$?" != "0" ]; then - if [ -f ~/.msf4/Gemfile.lock ]; then - rm ~/.msf4/Gemfile.lock - else - echo "Something went wrong, please open a bug for metasploit on https://bugs.gentoo.org" - fi -fi - -#ready to go -BUNDLE_GEMFILE=~/.msf4/Gemfile ${ruby} -S bundle exec /usr/lib/metasploit/$(basename $0) "$@" -#profit diff --git a/app-eselect/eselect-metasploit/files/msfrpcd.confd b/app-eselect/eselect-metasploit/files/msfrpcd.confd deleted file mode 100644 index d097e6cdfb71..000000000000 --- a/app-eselect/eselect-metasploit/files/msfrpcd.confd +++ /dev/null @@ -1,16 +0,0 @@ -# Config file for /etc/init.d/metasploit - -# Bind to the following IP instead of the loopback address -IPADDR=127.0.0.1 - -# Bind to the following TCP port instead of default 55555 -PORT=55553 - -# Use the following username instead of msf -USER="msf" - -# Use the following password instead of msf -PASS="secure" - -# All options -MSF_OPTS="-U $USER -P $PASS -S -a $IPADDR -p $PORT" diff --git a/app-eselect/eselect-metasploit/files/msfrpcd.initd b/app-eselect/eselect-metasploit/files/msfrpcd.initd deleted file mode 100644 index 8963eef82bf4..000000000000 --- a/app-eselect/eselect-metasploit/files/msfrpcd.initd +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -VERSION= -PIDFILE=/var/run/msfrpcd${VERSION}.pid - -start() { - ebegin "Starting msfrpcd" - start-stop-daemon --start --quiet --background \ - --exec /usr/bin/msfrpcd \ - --pidfile ${PIDFILE} \ - --make-pidfile -- -f ${MSF_OPTS} - eend $? -} - -stop() { - ebegin "Stopping msfrpcd" - start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE} - eend $? -} diff --git a/app-eselect/eselect-metasploit/metadata.xml b/app-eselect/eselect-metasploit/metadata.xml deleted file mode 100644 index 0bd171786a1f..000000000000 --- a/app-eselect/eselect-metasploit/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - -zerochaos@gentoo.org -Rick Farina - - -- cgit v1.2.3