Edit

IABSD.fr/ports/security/sqlmap/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2021-11-02 00:02:15
    Hash : 29389da4
    Message : bump REVISION for switch from Python 3.8 -> 3.9

  • security/sqlmap/Makefile
  • # $OpenBSD: Makefile,v 1.39 2021/11/02 00:02:19 sthen Exp $
    
    COMMENT =		penetration testing tool to detect/exploit SQL injection
    
    GH_ACCOUNT =		sqlmapproject
    GH_PROJECT =		sqlmap
    GH_TAGNAME =		1.5.7
    REVISION =		0
    
    CATEGORIES =		security
    
    HOMEPAGE =		http://sqlmap.org/
    
    # GPLv2
    PERMIT_PACKAGE =	Yes
    
    MODULES =		lang/python
    
    MODPY_ADJ_FILES	= 	sqlmap.py
    
    # NO_BUILD but needs ${MODPY_LIBDIR}/compileall.py
    BUILD_DEPENDS +=	${_MODPY_BUILD_DEPENDS}
    
    NO_BUILD =		Yes
    NO_TEST =		Yes
    
    INSTDIR =		${PREFIX}/share/sqlmap
    
    do-install:
    	cp -r ${WRKDIST} ${INSTDIR}
    	rm ${INSTDIR}/{.{gitattributes,gitignore},README.md}
    	rm -rf ${INSTDIR}/doc
    	ln -s ${TRUEPREFIX}/share/sqlmap/sqlmap.py ${PREFIX}/bin/sqlmap
    	${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${INSTDIR}
    
    .include <bsd.port.mk>