jasper a938f054a2 import dirb-2.2.2
DIRB is a Web Content Scanner. It looks for hidden Web Objects. It
basically works by launching a dictionary based attack against a web
server and analizing the response. DIRB main purpose is to help in web
application auditing.

ok rpointel@ a while ago
2018-11-14 19:10:38 +00:00

34 lines
701 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2018/11/14 19:10:38 jasper Exp $
COMMENT = web content scanner
DISTNAME = dirb222
PKGNAME = dirb-2.2.2
CATEGORIES = security www
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=dirb/}
WANTLIB += c crypto curl nghttp2 ssl z
LIB_DEPENDS = net/curl
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += LDFLAGS=-L${LOCALBASE}/lib
post-extract:
chmod -R 755 ${WRKSRC}
post-install:
# Fix conflict with icu4c
mv ${PREFIX}/bin/gendict ${PREFIX}/bin/dirb-gendict
${INSTALL_DATA_DIR} ${PREFIX}/share/dirb/
cd ${WRKSRC} && pax -rw wordlists ${PREFIX}/share/dirb/
.include <bsd.port.mk>