head	1.3;
access;
symbols
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2005.09.14.23.14.39;	author pav;	state dead;
branches;
next	1.2;

1.2
date	2003.09.28.13.27.06;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.16.03.14.27;	author foxfair;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- Remove security/pf and security/authpf ports. They were only useful on
  FreeBSD 5.0 - 5.2.1.

Requested by:	mlaier (maintainer) via linimon
@
text
@--- Makefile.orig	Sat Sep 27 10:17:32 2003
+++ Makefile	Sat Sep 27 10:17:46 2003
@@@@ -6,7 +6,7 @@@@
 SUBDIR= libpcap
 .endif
 
-SUBDIR+= pfctl authpf ftp-proxy man pf pflog pfsync
+SUBDIR+= pfctl ftp-proxy man pf pflog pfsync
 
 .include "include/mk/util.mk"
 
@


1.2
log
@Update port: security/pf - OpenBSD 3.4 pf

	Port update after API change in PFIL_HOOKS in -current and
	OpenBSD 3.4 Release.

PR:		 ports/57305
Submitted by:	Max Laier <max@@love2party.net>
@
text
@@


1.1
log
@Submitted by:	maintainer
Obtained from:	Andrzej Tobola <san@@iem.pw.edu.pl>
Fix build if NOINET6 is defined, and bump PORTREVISION to aware this.
@
text
@d1 10
a10 27
--- freebsd_tcpdump/print-pflog.c.orig	Fri Jun 13 18:14:50 2003
+++ freebsd_tcpdump/print-pflog.c	Fri Jun 13 18:15:39 2003
@@@@ -64,7 +64,9 @@@@
 	u_int length = h->len;
 	u_int caplen = h->caplen;
 	const struct ip *ip;
+#ifdef INET6
 	const struct ip6_hdr *ip6;
+#endif
 	const struct pfloghdr *hdr;
 	u_short res;
 	char reason[128], *why;
@@@@ -129,13 +131,16 @@@@
 		if (xflag)
 			default_print((const u_char *)ip,
 			    caplen - PFLOG_HDRLEN);
-	} else {
+	} 
+#ifdef INET6
+	else {
 		ip6 = (struct ip6_hdr *)(p + PFLOG_HDRLEN);
 		ip6_print((const u_char *)ip6, length);
 		if (xflag)
 			default_print((const u_char *)ip6,
 			    caplen - PFLOG_HDRLEN);
 	}
+#endif
a11 4
 out:
 	putchar('\n');


@

