2023-12-08 22:23:23 +00:00
|
|
|
COMMENT= archive of public exploits and shellcode
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-20 00:07:58 +00:00
|
|
|
VERSION= 2024-05-16
|
2023-12-08 22:23:23 +00:00
|
|
|
DISTNAME= exploitdb-${VERSION}
|
|
|
|
PKGNAME= exploitdb-${VERSION:S,-,,g}
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2023-12-08 22:23:23 +00:00
|
|
|
CATEGORIES= security
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2023-12-08 22:23:23 +00:00
|
|
|
HOMEPAGE= https://gitlab.com/exploit-database/exploitdb
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2023-12-08 22:23:23 +00:00
|
|
|
MAINTAINER= Purple Rain <purplerain@secbsd.org>
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2023-12-08 22:23:23 +00:00
|
|
|
SITES= ${HOMEPAGE}/-/archive/${VERSION}/
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
|
2023-12-08 22:23:23 +00:00
|
|
|
RUN_DEPENDS+= shells/bash
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2023-12-08 22:23:23 +00:00
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_TEST= Yes
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
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,${PATCHORIG}}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|