Edit

IABSD.fr/ports/security/dirb/Makefile

Branch :

  • Show log

    Commit

  • Author : naddy
    Date : 2021-02-26 18:20:31
    Hash : afcc689c
    Message : remove carriage returns ('\r') from patch files and set FIX_CRLF_FILES

  • security/dirb/Makefile
  • # $OpenBSD: Makefile,v 1.4 2021/02/26 18:20:36 naddy Exp $
    
    COMMENT =	web content scanner
    
    DISTNAME =	dirb222
    PKGNAME =	dirb-2.2.2
    REVISION =	0
    
    CATEGORIES =	security www
    
    MAINTAINER =	Jasper Lievisse Adriaanse <jasper@openbsd.org>
    
    # GPLv2
    PERMIT_PACKAGE =	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
    
    FIX_CRLF_FILES =	src/variables.h
    
    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>