From 8e694fbb172f09f7f27a6986187f52c2f90da4c3 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 18 Feb 2013 00:56:47 +0000 Subject: - Update to 0.8.0 - Trim header - Convert to OPTIONSng PR: 174956 Submitted by: maintainer --- security/sguil-sensor/files/patch-pcap_agent.tcl | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 security/sguil-sensor/files/patch-pcap_agent.tcl (limited to 'security/sguil-sensor/files/patch-pcap_agent.tcl') diff --git a/security/sguil-sensor/files/patch-pcap_agent.tcl b/security/sguil-sensor/files/patch-pcap_agent.tcl new file mode 100644 index 000000000000..be279eb7a309 --- /dev/null +++ b/security/sguil-sensor/files/patch-pcap_agent.tcl @@ -0,0 +1,35 @@ +--- pcap_agent.tcl.orig 2012-12-17 22:31:44.000000000 +0000 ++++ pcap_agent.tcl 2012-12-17 22:42:50.000000000 +0000 +@@ -1,6 +1,4 @@ + #!/bin/sh +-# Run tcl from users PATH \ +-exec tclsh "$0" "$@" + + # $Id: pcap_agent.tcl,v 1.13 2011/03/10 22:03:33 bamm Exp $ # + +@@ -771,13 +769,13 @@ + } + + # Parse the config file here +-# Default location is /etc/pcap_agent.conf or pwd ++# Default location is /usr/local/etc/sguil-sensor/pcap_agent.conf or pwd + if { ![info exists CONF_FILE] } { + + # No conf file specified check the defaults +- if { [file exists /etc/pcap_agent.conf] } { ++ if { [file exists /usr/local/etc/sguil-sensor/pcap_agent.conf] } { + +- set CONF_FILE /etc/pcap_agent.conf ++ set CONF_FILE /usr/local/etc/sguil-sensor/pcap_agent.conf + + } elseif { [file exists ./pcap_agent.conf] } { + +@@ -786,7 +784,7 @@ + } else { + + puts "Couldn't determine where the pcap_agent.tcl config file is" +- puts "Looked for /etc/pcap_agent.conf and ./pcap_agent.conf." ++ puts "Looked for /usr/local/etc/sguil-sensor/pcap_agent.conf and ./pcap_agent.conf." + DisplayUsage $argv0 + + } -- cgit v1.2.3