openbsd-ports/security/metasploit/Makefile
stephan a75dab7d26 import of Metasploit 3.5.0, the open source penetration testing framework:
Metasploit provides useful information and tools for penetration
testers, security researchers, and IDS signature developers. This
project was created to provide information on exploit techniques and to
create a functional knowledgebase for exploit developers and security
professionals. The tools and information on this site are provided for
legal security research and testing purposes only.

Subpackages:
        mysql - mysql database backend.
        postgresql - postgresql database backend.

help from nicm@, benoit@ and jeremy@
ok jasper@ and jeremy@ (of some earlier version)
2010-12-23 12:39:14 +00:00

65 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2010/12/23 12:39:14 stephan Exp $
COMMENT-main = penetration testing resources
COMMENT-mysql = penetration testing resources (mysql backend)
COMMENT-pgsql = penetration testing resources (postgres backend)
CATEGORIES = security
V = 3.5.0
PKGNAME-main = metasploit-${V}
PKGNAME-mysql = metasploit-mysql-${V}
PKGNAME-pgsql = metasploit-pgssql-${V}
DISTNAME = framework-${V}
EXTRACT_SUFX = .tar.bz2
HOMEPAGE = http://www.metasploit.com/
MASTER_SITES = ${HOMEPAGE}/releases/
MAINTAINER = Stephan A. Rickauer <stephan@openbsd.org>
# 3-clause BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ruby
PKG_ARCH = *
NO_BUILD = Yes
NO_REGRESS = Yes
MULTI_PACKAGES =-main -mysql -pgsql
RUN_DEPENDS-main = ${MODRUBY_ICONV_DEPENDS} \
devel/ruby-gems \
devel/nasm \
net/nmap \
net/ruby-pcaprub-msf
RUN_DEPENDS-mysql = databases/ruby-mysql \
security/metasploit
RUN_DEPENDS-pgsql = databases/ruby-postgres \
security/metasploit
SCRIPTS = msfcli msfconsole msfd msfelfscan msfencode \
msfmachscan msfopcode msfpayload msfpescan
WRKDIST = ${WRKDIR}/msf3
SHAREDIR = ${PREFIX}/share/metasploit
DOCDIR = ${PREFIX}/share/doc/metasploit
do-install:
${INSTALL_SCRIPT_DIR} ${SHAREDIR}
.for s in ${SCRIPTS}
${MODRUBY_RUBY_ADJ} ${WRKDIST}/$s
${INSTALL_SCRIPT} ${WRKDIST}/$s ${SHAREDIR}
@ln -s ../share/metasploit/$s ${PREFIX}/bin/$s
.endfor
.for i in tools data lib modules plugins
@cp -R ${WRKDIST}/$i ${SHAREDIR}
.endfor
@cp -R ${WRKDIST}/documentation ${DOCDIR}
@find ${SHAREDIR} ${DOCDIR} -type d -name ".svn" | xargs rm -R
.include <bsd.port.mk>