sebastia ba16cb0a68 The Exploit Database is an archive of public exploits and corresponding
vulnerable software, developed for use by penetration testers and
vulnerability researchers. Its aim is to serve as the most comprehensive
collection of exploits, shellcode and papers gathered through direct
submissions, mailing lists, and other public sources, and present them
in a freely-available and easy-to-navigate database. The Exploit
Database is a repository for exploits and Proof-of-Concepts rather than
advisories, making it a valuable resource for those who need actionable
data right away.

tested and OK on a bit earlier version rpointel@
feedback and OK jasper@
2019-02-09 22:47:25 +00:00

41 lines
936 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2019/02/09 22:47:25 sebastia Exp $
PKG_ARCH = *
COMMENT = archive of public exploits and shellcode
GH_ACCOUNT = offensive-security
GH_PROJECT = exploitdb
GH_TAGNAME = 2019-02-05
DISTNAME = exploitdb-${GH_TAGNAME}
PKGNAME = exploitdb-${GH_TAGNAME:S,-,,g}
CATEGORIES = security
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
RUN_DEPENDS += shells/bash
NO_BUILD = Yes
NO_TEST = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/searchsploit \
${WRKSRC}/.searchsploit_rc
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share
${INSTALL_PROGRAM_DIR} ${PREFIX}/bin
cp -R ${WRKSRC} ${PREFIX}/share/exploitdb
mv ${PREFIX}/share/exploitdb/searchsploit \
${PREFIX}/bin/searchsploit
rm ${PREFIX}/share/exploitdb/.*beforesubst \
${PREFIX}/share/exploitdb/.*orig
rm ${PREFIX}/share/exploitdb/*beforesubst \
${PREFIX}/share/exploitdb/*orig
.include <bsd.port.mk>