Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2013 14:51:59 GMT
From:      Renato Botelho <garga@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175927: pftop segfaults on FreeBSD 8.x
Message-ID:  <201302071451.r17EpxLn045126@red.freebsd.org>
Resent-Message-ID: <201302071500.r17F02kn024734@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302071451.r17EpxLn045126>