SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
35
security/exploitdb/Makefile
Normal file
35
security/exploitdb/Makefile
Normal file
|
@ -0,0 +1,35 @@
|
|||
PKG_ARCH = *
|
||||
|
||||
COMMENT = archive of public exploits and shellcode
|
||||
|
||||
VERSION = 2023-02-16
|
||||
DISTNAME = exploitdb-${VERSION}
|
||||
PKGNAME = exploitdb-${VERSION:S,-,,g}
|
||||
|
||||
CATEGORIES = security
|
||||
|
||||
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
|
||||
|
||||
MASTER_SITES = https://gitlab.com/exploit-database/exploitdb/-/archive/${VERSION}/
|
||||
|
||||
# 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,${PATCHORIG}}
|
||||
|
||||
.include <bsd.port.mk>
|
Loading…
Add table
Add a link
Reference in a new issue