Edit

IABSD.fr/ports/security/snort2pf/Makefile

Branch :

  • Show log

    Commit

  • Author : naddy
    Date : 2023-11-07 14:19:05
    Hash : 4e66d499
    Message : http://*sourceforge.net now redirect to https Update SITES, HOMEPAGE, and comments.

  • security/snort2pf/Makefile
  • COMMENT=		block "nasty" hosts with pf(4) based on Snort's rules
    
    DISTNAME=		snort2pf-4.5
    CATEGORIES=		security net
    REVISION=		7
    
    HOMEPAGE=		https://sourceforge.net/projects/snort2pf/
    
    # BSD
    PERMIT_PACKAGE=	Yes
    
    SITES=			${SITE_SOURCEFORGE:=snort2pf/}
    
    PKG_ARCH=		*
    NO_BUILD=		Yes
    NO_TEST=		Yes
    
    RUN_DEPENDS=		net/p5-Net-Patricia
    
    do-configure:
    	@perl -pi -e 's,/usr/local,${TRUEPREFIX},g' \
    		${WRKSRC}/snort2pf.8
    
    do-install:
    	${INSTALL_SCRIPT} ${WRKSRC}/snort2pf{,mon} ${PREFIX}/sbin/
    	${INSTALL_MAN} ${WRKSRC}/*.8 ${PREFIX}/man/man8/
    
    .include <bsd.port.mk>