summaryrefslogtreecommitdiff
path: root/security/0d1n/Makefile
blob: 4932af1cd262e338ec77c9d91923d2fd94ee0bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

PORTNAME=	0d1n
PORTVERSION=	2.3
CATEGORIES=	security

MAINTAINER=	zackj901@yandex.com
COMMENT=	Open source web HTTP fuzzing tool and bruteforcer

LICENSE=	GPLv3

LIB_DEPENDS=	libcurl.so:ftp/curl

USE_GITHUB=	yes
GH_ACCOUNT=	CoolerVoid

PLIST_FILES=	bin/0d1n
PORTDOCS=	README.txt

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e '/^#include <alloca\.h>/d' \
		${WRKSRC}/get_csrf_token.h ${WRKSRC}/spider.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>