mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
41 lines
927 B
Makefile
41 lines
927 B
Makefile
# $OpenBSD: Makefile,v 1.21 2021/09/13 23:01:58 sebastia Exp $
|
|
|
|
PKG_ARCH = *
|
|
|
|
COMMENT = archive of public exploits and shellcode
|
|
|
|
GH_ACCOUNT = offensive-security
|
|
GH_PROJECT = exploitdb
|
|
GH_TAGNAME = 2021-09-10
|
|
DISTNAME = exploitdb-${GH_TAGNAME}
|
|
PKGNAME = exploitdb-${GH_TAGNAME:S,-,,g}
|
|
|
|
CATEGORIES = security
|
|
|
|
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE= 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>
|