ports/175927: pftop segfaults on FreeBSD 8.x
Renato Botelho
garga at FreeBSD.org
Thu Feb 7 15:00:02 UTC 2013
>Number: 175927
>Category: ports
>Synopsis: pftop segfaults on FreeBSD 8.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 07 15:00:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Renato Botelho
>Release: 8.3-RELEASE i386
>Organization:
pfSense
>Environment:
FreeBSD builder.localdomain 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:47:23 UTC 2012 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
When you try to change order on a view that doesn't have orders pftop segfaults. The extra-patch-engine.c fix the issue and should be applied to all versions instead of only for FreeBSD 9.x
>How-To-Repeat:
1. Start pftop
2. Change view to "Rules"
3. Press "o" to change order
>Fix:
Index: Makefile
===================================================================
--- Makefile (revision 311834)
+++ Makefile (working copy)
@@ -7,7 +7,7 @@
PORTNAME= pftop
PORTVERSION= 0.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils net
MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/
@@ -32,11 +32,12 @@
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-cache.c \
${FILESDIR}/extra-patch-cache.h \
${FILESDIR}/extra-patch-config.h \
- ${FILESDIR}/extra-patch-engine.c \
${FILESDIR}/extra-patch-pftop.c \
${FILESDIR}/extra-patch-sf-gencode.c
.endif
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-engine.c
+
MAKE_ENV+= __MAKE_CONF=/dev/null
PLIST_FILES= sbin/pftop
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list