FreeBSD Bugzilla – Attachment 177979 Details for
Bug 215313
sysutils/pftop: add ALTQ option, disable by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ALTQ option
pftop.diff (text/plain), 1.85 KB, created by
Franco Fichtner
on 2016-12-15 06:50:52 UTC
(
hide
)
Description:
ALTQ option
Filename:
MIME Type:
Creator:
Franco Fichtner
Created:
2016-12-15 06:50:52 UTC
Size:
1.85 KB
patch
obsolete
>diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile >index b192fb5..2551c10 100644 >--- a/sysutils/pftop/Makefile >+++ b/sysutils/pftop/Makefile >@@ -3,13 +3,17 @@ > > PORTNAME= pftop > PORTVERSION= 0.7 >-PORTREVISION= 7 >+PORTREVISION= 8 > CATEGORIES= sysutils net > MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/ > > MAINTAINER= araujo@FreeBSD.org > COMMENT= Utility for real-time display of statistics for pf > >+OPTIONS_DEFINE= ALTQ >+ >+ALTQ_DESC= ALTQ support for queue statistics >+ > BROKEN_FreeBSD_9= does not build > > .include <bsd.port.pre.mk> >@@ -20,7 +24,10 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bpf_dump.c \ > .endif > > MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=45 >-CFLAGS+= -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 >+CFLAGS+= -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 >+.if ${PORT_OPTIONS:MALTQ} >+CFLAGS+= -DHAVE_ALTQ=1 >+.endif > EXTRA_PATCHES+= ${FILESDIR}/extra-patch-cache.c \ > ${FILESDIR}/extra-patch-cache.h \ > ${FILESDIR}/extra-patch-config.h \ >diff --git a/sysutils/pftop/files/patch-config.h b/sysutils/pftop/files/patch-config.h >index c6dda1c..8916971 100644 >--- a/sysutils/pftop/files/patch-config.h >+++ b/sysutils/pftop/files/patch-config.h >@@ -1,23 +1,11 @@ >-*** 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 >- >+--- config.h.orig 2016-11-02 12:16:30 UTC >++++ config.h >+@@ -42,7 +42,7 @@ >+ #if OS_LEVEL > 32 >+ #define HAVE_ADDR_MASK >+ #define HAVE_ADDR_TYPE >+-#define HAVE_ALTQ >++/* #define HAVE_ALTQ */ >+ #define HAVE_RULE_TOS >+ #define HAVE_OP_RRG >+ #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215313
: 177979