From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 18 17:00:32 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C9781065674 for ; Sun, 18 Mar 2012 17:00:32 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 87B6A8FC17 for ; Sun, 18 Mar 2012 17:00:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2IH0W7J092303 for ; Sun, 18 Mar 2012 17:00:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2IH0W8a092300; Sun, 18 Mar 2012 17:00:32 GMT (envelope-from gnats) Date: Sun, 18 Mar 2012 17:00:32 GMT Message-Id: <201203181700.q2IH0W8a092300@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Kurt Jaeger 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 Reply-To: Kurt Jaeger List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2012 17:00:32 -0000 The following reply was made to PR ports/166224; it has been noted by GNATS. From: Kurt Jaeger To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: Subject: Re: ports/166224: [patch update] net-mgmt/p0f 2.0.8 -> 3.03b Date: Sun, 18 Mar 2012 17:59:24 +0100 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 !