Index: Makefile =================================================================== RCS file: /usr/store/mlaier/fcvs/ports/sysutils/pftop/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- Makefile 14 Sep 2005 23:27:00 -0000 1.7 +++ Makefile 29 Jan 2006 04:30:12 -0000 @@ -6,8 +6,7 @@ # PORTNAME= pftop -PORTVERSION= 0.4 -PORTREVISION= 2 +PORTVERSION= 0.5 CATEGORIES= sysutils net MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/ DISTNAME= ${PORTNAME}-${PORTVERSION} @@ -22,7 +21,7 @@ .include .if ${OSVERSION} < 502106 -IGNORE= Only for 5.3 and above +IGNORE= only for 5.3 and above .endif .if ${OSVERSION} < 502116 Index: distinfo =================================================================== RCS file: /usr/store/mlaier/fcvs/ports/sysutils/pftop/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 24 Jan 2006 01:06:25 -0000 1.3 +++ distinfo 29 Jan 2006 04:19:02 -0000 @@ -1,3 +1,3 @@ -MD5 (pftop-0.4.tar.gz) = d33b3a30152bac7d50d019a78bc58c72 -SHA256 (pftop-0.4.tar.gz) = ec3ae9d8423c27bea20635044fa18ae2ff2dee421f3f77e9c3737b2760e0f95b -SIZE (pftop-0.4.tar.gz) = 23631 +MD5 (pftop-0.5.tar.gz) = d4bdb5dfa7722f76ed3027c1d0be1653 +SHA256 (pftop-0.5.tar.gz) = e5d0fd0d84285a52fd0d1944908d4c3e4f545ec0f0e11e9f9c29ce1536a9d0b7 +SIZE (pftop-0.5.tar.gz) = 24855 Index: files/patch-aa =================================================================== RCS file: /usr/store/mlaier/fcvs/ports/sysutils/pftop/files/patch-aa,v retrieving revision 1.2 diff -u -r1.2 patch-aa --- files/patch-aa 4 May 2005 17:16:23 -0000 1.2 +++ files/patch-aa 29 Jan 2006 04:24:54 -0000 @@ -1,13 +1,11 @@ ---- config.h.orig Tue Aug 5 03:19:58 2003 -+++ config.h Wed May 4 18:36:37 2005 -@@ -24,8 +24,8 @@ +--- config.h.orig Wed Jan 11 03:05:13 2006 ++++ config.h Sun Jan 29 05:22:13 2006 +@@ -24,7 +24,7 @@ #if OS_LEVEL > 32 #define HAVE_ADDR_MASK #define HAVE_ADDR_TYPE -#define HAVE_ALTQ --#define HAVE_RULE_ANCHOR -+/* #define HAVE_ALTQ */ -+/* #define HAVE_RULE_ANCHOR */ ++/* #define HAVE_ALTQ */ #define HAVE_RULE_TOS + #define HAVE_OP_RRG #endif - Index: files/patch-ab =================================================================== RCS file: /usr/store/mlaier/fcvs/ports/sysutils/pftop/files/patch-ab,v retrieving revision 1.2 diff -u -r1.2 patch-ab --- files/patch-ab 4 May 2005 17:16:23 -0000 1.2 +++ files/patch-ab 29 Jan 2006 04:29:14 -0000 @@ -1,39 +1,25 @@ ---- pftop.c.orig Tue Aug 5 03:20:39 2003 -+++ pftop.c Wed May 4 18:41:13 2005 -@@ -1802,7 +1802,11 @@ - PF_AZERO(PT_MASK(src), AF_INET6)) - tbprintf("any "); - else { -+#if OS_LEVEL > 35 -+ if (src->neg) -+#else - if (src->not) -+#endif - tbprintf("! "); - #ifdef HAVE_ADDR_WRAP - tb_print_addrw(&src->addr, PT_MASK(src), af); -@@ -1823,7 +1827,11 @@ - PF_AZERO(PT_MASK(dst), AF_INET6)) - tbprintf("any "); - else { -+#if OS_LEVEL > 35 -+ if (dst->neg) -+#else - if (dst->not) -+#endif - tbprintf("! "); - #ifdef HAVE_ADDR_WRAP - tb_print_addrw(&dst->addr, PT_MASK(dst), af); -@@ -1983,10 +1991,10 @@ +--- pftop.c.orig Sun Jan 29 05:28:40 2006 ++++ pftop.c Sun Jan 29 05:28:20 2006 +@@ -2216,10 +2216,20 @@ #ifdef HAVE_RULE_UGID if (pr->uid.op) tb_print_ugid(pr->uid.op, pr->uid.uid[0], pr->uid.uid[1], - "user", UID_MAX); -+ "user", UINT_MAX); ++ "user", ++#ifdef UID_MAX ++ UID_MAX); ++#else ++ UINT_MAX); ++#endif if (pr->gid.op) tb_print_ugid(pr->gid.op, pr->gid.gid[0], pr->gid.gid[1], - "group", GID_MAX); -+ "group", UINT_MAX); ++ "group", ++#ifdef GID_MAX ++ GID_MAX); ++#else ++ UINT_MAX); ++#endif #endif if (pr->flags || pr->flagset) {