From a2f538d3dce281e3b17202637161ead8937bb942 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 19 May 2010 08:43:10 -0400 Subject: Add a package with a patch that fixes packet capture on 1.2.3 nanobsd. --- config/packetcapturefix/packetcapturefix.inc | 18 +++++++ config/packetcapturefix/packetcapturefix.patch | 23 +++++++++ config/packetcapturefix/packetcapturefix.xml | 65 ++++++++++++++++++++++++++ 3 files changed, 106 insertions(+) create mode 100644 config/packetcapturefix/packetcapturefix.inc create mode 100644 config/packetcapturefix/packetcapturefix.patch create mode 100644 config/packetcapturefix/packetcapturefix.xml (limited to 'config/packetcapturefix') diff --git a/config/packetcapturefix/packetcapturefix.inc b/config/packetcapturefix/packetcapturefix.inc new file mode 100644 index 00000000..8636c25c --- /dev/null +++ b/config/packetcapturefix/packetcapturefix.inc @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/config/packetcapturefix/packetcapturefix.patch b/config/packetcapturefix/packetcapturefix.patch new file mode 100644 index 00000000..659fdd10 --- /dev/null +++ b/config/packetcapturefix/packetcapturefix.patch @@ -0,0 +1,23 @@ +diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php +index 69fd677..91d61cd 100644 +--- a/usr/local/www/diag_packet_capture.php ++++ b/usr/local/www/diag_packet_capture.php +@@ -265,6 +265,9 @@ include("head.inc"); ?> + +@@ -277,8 +280,6 @@ include("head.inc"); ?> + + diff --git a/config/packetcapturefix/packetcapturefix.xml b/config/packetcapturefix/packetcapturefix.xml new file mode 100644 index 00000000..96386cf9 --- /dev/null +++ b/config/packetcapturefix/packetcapturefix.xml @@ -0,0 +1,65 @@ + + + + + + . + All rights reserved. + */ +/* ========================================================================== */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + */ +/* ========================================================================== */ + ]]> + + Patch to fix packet capture on 1.2.3 Embedded (NanoBSD) + pfSense 1.2.3 + None + Packet Capture NanoBSD Fix + 0.2 + Packet Capture NanoBSD Fix + /usr/local/pkg/packetcapturefix.inc + + /usr/local/pkg/ + 077 + http://www.pfsense.com/packages/config/packetcapturefix/packetcapturefix.inc + + + /usr/local/pkg/ + 077 + http://www.pfsense.com/packages/config/packetcapturefix/packetcapturefix.patch + + + packetcapturefix_install(); + + -- cgit v1.2.3