Edit

IABSD.fr/ports/security/libmodsecurity/Makefile

Branch :

  • Show log

    Commit

  • Author : bluhm
    Date : 2021-01-03 23:40:40
    Hash : 0176efa4
    Message : Patch away some -lstdc++ in examples makefile. Fixes build on arm64. Reported by sthen@. Sort according to Makefile.template.

  • security/libmodsecurity/Makefile
  • # $OpenBSD: Makefile,v 1.2 2021/01/03 23:40:40 bluhm Exp $
    
    COMMENT =	intrusion detection and prevention engine
    
    VERSION =	3.0.4
    REVISION =	0
    DISTNAME =	modsecurity-v${VERSION}
    PKGNAME  =	libmodsecurity-${VERSION}
    
    SHARED_LIBS =	modsecurity	0.0	# 0.0
    
    CATEGORIES =	security
    
    HOMEPAGE =	https://www.modsecurity.org
    
    # Apache 2.0
    PERMIT_PACKAGE =	Yes
    
    WANTLIB =		${COMPILER_LIBCXX} c crypto curl iconv lzma m ssl z \
    			maxminddb nghttp2 pcre xml2 yajl
    
    MASTER_SITES =		https://github.com/SpiderLabs/ModSecurity/releases/download/v${VERSION}/
    
    COMPILER =		base-clang ports-gcc
    
    LIB_DEPENDS =		converters/libiconv \
    			devel/libyajl \
    			devel/pcre \
    			net/curl \
    			net/libmaxminddb \
    			textproc/libxml
    
    USE_GMAKE =		Yes
    CONFIGURE_STYLE =	gnu
    
    CONFIGURE_ARGS =	--without-lmdb \
    			--without-ssdeep \
    			--without-lua
    
    post-install:
    	${INSTALL_DATA_DIR} ${PREFIX}/share/modsecurity/
    	${INSTALL_DATA} ${WRKSRC}/unicode.mapping ${PREFIX}/share/modsecurity/
    
    .include <bsd.port.mk>