diff options
author | linimon <linimon@FreeBSD.org> | 2006-01-29 12:44:00 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2006-01-29 12:44:00 +0800 |
commit | e6fd8b0968c7ff311adad40832963a13c5710d7e (patch) | |
tree | 59e2c29216a146f6a2fc9160208305412956f54f /sysutils/pftop | |
parent | cf080653d398c1e5bae7d9cf5d22c02b19591554 (diff) | |
download | freebsd-ports-gnome-e6fd8b0968c7ff311adad40832963a13c5710d7e.tar.gz freebsd-ports-gnome-e6fd8b0968c7ff311adad40832963a13c5710d7e.tar.zst freebsd-ports-gnome-e6fd8b0968c7ff311adad40832963a13c5710d7e.zip |
Update to 0.5.
PR: ports/92094
Submitted by: Jeffrey H dot Johnson <CPE1704TKS at bellsouth dot net>
Approved by: maintainer
Diffstat (limited to 'sysutils/pftop')
-rw-r--r-- | sysutils/pftop/Makefile | 6 | ||||
-rw-r--r-- | sysutils/pftop/distinfo | 4 | ||||
-rw-r--r-- | sysutils/pftop/files/patch-aa | 36 | ||||
-rw-r--r-- | sysutils/pftop/files/patch-ab | 68 |
4 files changed, 57 insertions, 57 deletions
diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile index a8cfbd87b2b7..8fd69dc9c36f 100644 --- a/sysutils/pftop/Makefile +++ b/sysutils/pftop/Makefile @@ -6,8 +6,8 @@ # PORTNAME= pftop -PORTVERSION= 0.4 -PORTREVISION= 2 +PORTVERSION= 0.5 +#PORTREVISION= 2 CATEGORIES= sysutils net MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/ DISTNAME= ${PORTNAME}-${PORTVERSION} @@ -22,7 +22,7 @@ MANCOMPRESSED= no .include <bsd.port.pre.mk> .if ${OSVERSION} < 502106 -IGNORE= Only for 5.3 and above +IGNORE= only for 5.3 and above .endif .if ${OSVERSION} < 502116 diff --git a/sysutils/pftop/distinfo b/sysutils/pftop/distinfo index d45a3cddcc2b..e5752cf677dd 100644 --- a/sysutils/pftop/distinfo +++ b/sysutils/pftop/distinfo @@ -1,3 +1,3 @@ -MD5 (pftop-0.4.tar.gz) = d33b3a30152bac7d50d019a78bc58c72 -SHA256 (pftop-0.4.tar.gz) = ec3ae9d8423c27bea20635044fa18ae2ff2dee421f3f77e9c3737b2760e0f95b +MD5 (pftop-0.5.tar.gz) = d4bdb5dfa7722f76ed3027c1d0be1653 +SHA256 (pftop-0.5.tar.gz) = e5d0fd0d84285a52fd0d1944908d4c3e4f545ec0f0e11e9f9c29ce1536a9d0b7 SIZE (pftop-0.4.tar.gz) = 23631 diff --git a/sysutils/pftop/files/patch-aa b/sysutils/pftop/files/patch-aa index 3016c1a35c1c..c6dda1ccc16d 100644 --- a/sysutils/pftop/files/patch-aa +++ b/sysutils/pftop/files/patch-aa @@ -1,13 +1,23 @@ ---- config.h.orig Tue Aug 5 03:19:58 2003 -+++ config.h Wed May 4 18:36:37 2005 -@@ -24,8 +24,8 @@ - #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_RULE_TOS - #endif - +*** config.h.orig Sat Jan 21 04:39:55 2006 +--- config.h Sat Jan 21 04:40:15 2006 +*************** +*** 23,31 **** + + #if OS_LEVEL > 32 + #define HAVE_ADDR_MASK + #define HAVE_ADDR_TYPE +! #define HAVE_ALTQ + #define HAVE_RULE_TOS + #define HAVE_OP_RRG + #endif + +--- 23,31 ---- + + #if OS_LEVEL > 32 + #define HAVE_ADDR_MASK + #define HAVE_ADDR_TYPE +! /* #define HAVE_ALTQ */ + #define HAVE_RULE_TOS + #define HAVE_OP_RRG + #endif + diff --git a/sysutils/pftop/files/patch-ab b/sysutils/pftop/files/patch-ab index 7cb45afb7940..1048d1acdb42 100644 --- a/sysutils/pftop/files/patch-ab +++ b/sysutils/pftop/files/patch-ab @@ -1,39 +1,29 @@ ---- 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 @@ - #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); - if (pr->gid.op) - tb_print_ugid(pr->gid.op, pr->gid.gid[0], pr->gid.gid[1], -- "group", GID_MAX); -+ "group", UINT_MAX); - #endif - - if (pr->flags || pr->flagset) { +*** pftop.c.orig Tue Jan 10 21:06:14 2006 +--- pftop.c Sat Jan 21 04:47:06 2006 +*************** +*** 2215,2226 **** + tb_print_fromto(&pr->src, &pr->dst, pr->af, pr->proto); + #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); + if (pr->gid.op) + tb_print_ugid(pr->gid.op, pr->gid.gid[0], pr->gid.gid[1], +! "group", GID_MAX); + #endif + + if (pr->flags || pr->flagset) { + tbprintf(" flags "); +--- 2215,2226 ---- + tb_print_fromto(&pr->src, &pr->dst, pr->af, pr->proto); + #ifdef HAVE_RULE_UGID + if (pr->uid.op) + tb_print_ugid(pr->uid.op, pr->uid.uid[0], pr->uid.uid[1], +! "user", UINT_MAX); + if (pr->gid.op) + tb_print_ugid(pr->gid.op, pr->gid.gid[0], pr->gid.gid[1], +! "group", UINT_MAX); + #endif + + if (pr->flags || pr->flagset) { + tbprintf(" flags "); |