From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 18 16:59:25 2012 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256D21065670; Sun, 18 Mar 2012 16:59:25 +0000 (UTC) (envelope-from pi@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) by mx1.freebsd.org (Postfix) with ESMTP id D07BE8FC16; Sun, 18 Mar 2012 16:59:24 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1S9JS0-000Ktb-Cm; Sun, 18 Mar 2012 17:59:24 +0100 Date: Sun, 18 Mar 2012 17:59:24 +0100 From: Kurt Jaeger To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Message-ID: <20120318165924.GE42288@home.opsec.eu> References: <201203181600.q2IG0PFe037099@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201203181600.q2IG0PFe037099@freefall.freebsd.org> Cc: Subject: Re: ports/166224: [patch update] net-mgmt/p0f 2.0.8 -> 3.03b X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2012 16:59:25 -0000 Hi! There are two little issues: One: pkg_delete returns those errors and I do not understand, why. Any ideas, what's wrong with pkg-plist ? ------------ pkg_delete: file '/usr/local/share/doc/p0f/COPYING' doesn't exist pkg_delete: file '/usr/local/share/doc/p0f/ChangeLog' doesn't exist pkg_delete: file '/usr/local/share/doc/p0f/README' doesn't exist pkg_delete: file '/usr/local/share/doc/p0f/TODO' doesn't exist pkg_delete: file '/usr/local/share/doc/p0f/existential-notes.txt' doesn't exist pkg_delete: file '/usr/local/share/doc/p0f/extra-sigs.txt' doesn't exist pkg_delete: file '/usr/local/share/doc/p0f' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/share/doc/p0f' pkg_delete: couldn't entirely delete package `p0f-3.03b_1' (perhaps the packing list is incorrectly specified?) ------------ Two: This is the fixed patch-process.c: ------------ --- process.c.orig 2012-01-17 04:43:57.000000000 +0100 +++ process.c 2012-03-18 17:56:45.300811017 +0100 @@ -22,6 +22,9 @@ #include #include #include +#include +#include +#include #include "types.h" #include "config.h" @@ -106,7 +109,7 @@ case DLT_LINUX_SLL: link_off = 16; return; #endif /* DLT_LINUX_SLL */ - case DLT_PFLOG: link_off = 28; return; + case DLT_PFLOG: link_off = sizeof(struct pfloghdr); return; case DLT_IEEE802_11: link_off = 32; return; } ------------ -- pi@opsec.eu +49 171 3101372 8 years to go !