Index: head/security/snort2pfcd/Makefile =================================================================== --- head/security/snort2pfcd/Makefile (revision 541986) +++ head/security/snort2pfcd/Makefile (revision 541987) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= snort2pfcd -PORTVERSION= 2.5 +PORTVERSION= 2.6 CATEGORIES= security MASTER_SITES= http://www.tworoutes.com/oss/ MAINTAINER= onestsam@gmail.com COMMENT= Snort alert to pf blocker LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING 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 ${INSTALL_MAN} ${WRKSRC}/snort2pfcd.8.gz ${STAGEDIR}${MAN8PREFIX}/man/man8 .include Index: head/security/snort2pfcd/distinfo =================================================================== --- head/security/snort2pfcd/distinfo (revision 541986) +++ head/security/snort2pfcd/distinfo (revision 541987) @@ -1,3 +1,3 @@ -TIMESTAMP = 1594189865 -SHA256 (snort2pfcd-2.5.tar.gz) = 465d52167486aef4f326427433fa5cb417ec492ca32ffcd5fd400a85fb2b475b -SIZE (snort2pfcd-2.5.tar.gz) = 15788 +TIMESTAMP = 1594365043 +SHA256 (snort2pfcd-2.6.tar.gz) = 0bafab42d7fa433db6a9df52e8030e068d3fe99dbe60d30b237beca59b5d6ec0 +SIZE (snort2pfcd-2.6.tar.gz) = 15938 Index: head/security/snort2pfcd/files/snort2pfcd.in =================================================================== --- head/security/snort2pfcd/files/snort2pfcd.in (revision 541986) +++ head/security/snort2pfcd/files/snort2pfcd.in (revision 541987) @@ -1,47 +1,46 @@ #!/bin/sh # $FreeBSD$ # # PROVIDE: snort2pfcd # REQUIRE: DAEMON pf snort # KEYWORD: shutdown . /etc/rc.subr name="snort2pfcd" rcvar=${name}_enable pidfile="/var/run/${name}.pid" command="%%PREFIX%%/sbin/${name}" start_cmd="${name}_start" stop_cmd="${name}_stop" required_modules="pf" snort2pfcd_start() { echo "Starting ${name}..." if [ $(sysctl -n kern.securelevel) != "3" ]; then ${command} ${snort2pfcd_flags} else echo "${name} cannot operate on pf at securelevel 3" fi if [ -f ${pidfile} ]; then echo "${name} successfully started" else echo "${name} statup failed" fi } snort2pfcd_stop() { if [ -f ${pidfile} ]; then echo "Stopping ${name}..." kill $(cat ${pidfile}) - rm ${pidfile} else echo "${name} is not running?" fi } load_rc_config ${name} run_rc_command "$1"