Index: security/snort2pfcd/Makefile =================================================================== --- security/snort2pfcd/Makefile +++ security/snort2pfcd/Makefile @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= snort2pfcd -PORTVERSION= 0.5 +PORTVERSION= 0.7 CATEGORIES= security MASTER_SITES= http://www.tworoutes.com/oss/ MAINTAINER= onestsam@gmail.com COMMENT= Snort alert to pf blocker +LICENSE= NONE + LIB_DEPENDS= libcidr.so:devel/libcidr RUN_DEPENDS= snort:security/snort USE_RC_SUBR= snort2pfcd -PLIST_FILES= man/man8/snort2pfcd.8.gz \ - sbin/snort2pfcd do-install: ${INSTALL_PROGRAM} ${WRKSRC}/snort2pfcd ${STAGEDIR}${PREFIX}/sbin Index: security/snort2pfcd/distinfo =================================================================== --- security/snort2pfcd/distinfo +++ security/snort2pfcd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1472559141 -SHA256 (snort2pfcd-0.5.tar.gz) = ea2f3df7bfbad5ecce7a266df89c4102cf5e92fa72869615925ca15631064dfe -SIZE (snort2pfcd-0.5.tar.gz) = 9321 +TIMESTAMP = 1473519574 +SHA256 (snort2pfcd-0.7.tar.gz) = 719105f443a565cf1917735f1471d05150e8448cb2c461824e9910108c904091 +SIZE (snort2pfcd-0.7.tar.gz) = 9493 Index: security/snort2pfcd/files/patch-Makefile =================================================================== --- security/snort2pfcd/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig 2016-08-30 14:07:38 UTC -+++ Makefile -@@ -1,7 +1,7 @@ - PROG= snort2pfcd - SRCS= main.c parser.c kevent.c spfc.c ioctl_helpers.c - MAN= ${PROG}.8 --CFLAGS+=-Wall -Werror -pedantic -+CFLAGS+=-Wall -pedantic -I${LOCALBASE}/include - LDFLAGS+=-lutil -L${LOCALBASE}/lib -lcidr - - .include Index: security/snort2pfcd/pkg-descr =================================================================== --- security/snort2pfcd/pkg-descr +++ security/snort2pfcd/pkg-descr @@ -1,3 +1,5 @@ Analyzes snort alert output and blocks ip addresses using pf for a specified period of time. A whitelist is specified in CIDR format to exclude local and -trusted ip address from being blocked. +trusted ip address from being blocked. Sources below. + +WWW: https://github.com/onestsam/snort2pfcd Index: security/snort2pfcd/pkg-plist =================================================================== --- /dev/null +++ security/snort2pfcd/pkg-plist @@ -0,0 +1,2 @@ +man/man8/snort2pfcd.8.gz +sbin/snort2pfcd