You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/eselect-metasploit/eselect-metasploit-0.11.ebuild

37 lines
928 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-metasploit/eselect-metasploit-0.11.ebuild,v 1.1 2013/12/15 15:23:44 zerochaos Exp $
EAPI=5
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
!<net-analyzer/metasploit-4.6"
RDEPEND="${DEPEND}"
S=${WORKDIR}
src_install() {
#force to use the outdated bundled version of metasm
doenvd "${FILESDIR}"/91metasploit
newinitd "${FILESDIR}"/msfrpcd.initd msfrpcd
newconfd "${FILESDIR}"/msfrpcd.confd msfrpcd
insinto /usr/share/eselect/modules
newins "${FILESDIR}/metasploit.eselect-${PV}" metasploit.eselect
}
pkg_postinst() {
elog "To switch between installed slots, execute as root:"
elog " # eselect metasploit set [slot number]"
}