FreeBSD Bugzilla – Attachment 174515 Details for
Bug 212481
security/snort2pfcd: Update to 0.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch snort2pfcd v0.5 to v0.7
patch (text/plain), 3.61 KB, created by
Samee Shahzada
on 2016-09-08 05:43:37 UTC
(
hide
)
Description:
patch snort2pfcd v0.5 to v0.7
Filename:
MIME Type:
Creator:
Samee Shahzada
Created:
2016-09-08 05:43:37 UTC
Size:
3.61 KB
patch
obsolete
>diff -ur /usr/ports/security/snort2pfcd/Makefile /usr/ports/security/snort2pfcd-new/Makefile >--- /usr/ports/security/snort2pfcd/Makefile 2016-08-30 16:37:47.000000000 -0700 >+++ /usr/ports/security/snort2pfcd-new/Makefile 2016-09-07 22:40:28.240168000 -0700 >@@ -1,7 +1,7 @@ > # $FreeBSD: head/security/snort2pfcd/Makefile 421135 2016-08-30 23:37:47Z woodsb02 $ > > PORTNAME= snort2pfcd >-PORTVERSION= 0.5 >+PORTVERSION= 0.7 > CATEGORIES= security > MASTER_SITES= http://www.tworoutes.com/oss/ > >@@ -12,8 +12,6 @@ > 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 >diff -ur /usr/ports/security/snort2pfcd/distinfo /usr/ports/security/snort2pfcd-new/distinfo >--- /usr/ports/security/snort2pfcd/distinfo 2016-08-30 16:37:47.000000000 -0700 >+++ /usr/ports/security/snort2pfcd-new/distinfo 2016-09-07 22:40:28.324662000 -0700 >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1472559141 >-SHA256 (snort2pfcd-0.5.tar.gz) = ea2f3df7bfbad5ecce7a266df89c4102cf5e92fa72869615925ca15631064dfe >-SIZE (snort2pfcd-0.5.tar.gz) = 9321 >+TIMESTAMP = 1473313228 >+SHA256 (snort2pfcd-0.7.tar.gz) = b026a52e3da155d542fcc187e07a4e130c126754e902c9413df313d492adb7a1 >+SIZE (snort2pfcd-0.7.tar.gz) = 9492 >Only in /usr/ports/security/snort2pfcd/files: patch-Makefile >diff -ur /usr/ports/security/snort2pfcd/files/snort2pfcd.in /usr/ports/security/snort2pfcd-new/files/snort2pfcd.in >--- /usr/ports/security/snort2pfcd/files/snort2pfcd.in 2016-08-30 16:37:47.000000000 -0700 >+++ /usr/ports/security/snort2pfcd-new/files/snort2pfcd.in 2016-09-07 22:40:28.232504000 -0700 >@@ -1,7 +1,5 @@ > #!/bin/sh > >-# $FreeBSD: head/security/snort2pfcd/files/snort2pfcd.in 421135 2016-08-30 23:37:47Z woodsb02 $ >-# > # PROVIDE: snort2pfcd > # REQUIRE: DAEMON pf snort > # KEYWORD: shutdown >@@ -11,36 +9,36 @@ > name="snort2pfcd" > rcvar=${name}_enable > pidfile="/var/run/${name}.pid" >-command="%%PREFIX%%/sbin/${name}" >+command="/usr/local/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 >+ 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 >+ if [ -f ${pidfile} ]; then >+ echo "Stopping ${name}..." >+ kill $(cat ${pidfile}) >+ rm ${pidfile} >+ else >+ echo "${name} is not running?" >+ fi > } > > load_rc_config ${name} >diff -ur /usr/ports/security/snort2pfcd/pkg-descr /usr/ports/security/snort2pfcd-new/pkg-descr >--- /usr/ports/security/snort2pfcd/pkg-descr 2016-08-30 16:37:47.000000000 -0700 >+++ /usr/ports/security/snort2pfcd-new/pkg-descr 2016-09-07 22:40:28.237629000 -0700 >@@ -1,3 +1,4 @@ > 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 at: >+https://github.com/onestsam/snort2pfcd >Only in /usr/ports/security/snort2pfcd-new: pkg-plist
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212481
:
174513
|
174514
|
174515
|
174568
|
174620
|
174719