Message info
 
To:FreeBSD-gnats-submit@FreeBSD.org From:Kurt Jaeger 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 <arpa/inet.h>
#include <sys/time.h>
#include <sys/stat.h>
+#include <net/if.h>
+#include <net/pfvar.h>
+#include <net/if_pflog.h>

#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 !
_______________________________________________
freebsd-ports-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"