From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 7 15:00:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8BC32EC5 for ; Thu, 7 Feb 2013 15:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 5B0023FC for ; Thu, 7 Feb 2013 15:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r17F023D024735 for ; Thu, 7 Feb 2013 15:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r17F02kn024734; Thu, 7 Feb 2013 15:00:02 GMT (envelope-from gnats) Resent-Date: Thu, 7 Feb 2013 15:00:02 GMT Resent-Message-Id: <201302071500.r17F02kn024734@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Renato Botelho Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C377EBBD for ; Thu, 7 Feb 2013 14:52:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 9EBE4380 for ; Thu, 7 Feb 2013 14:52:00 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r17Epxql045129 for ; Thu, 7 Feb 2013 14:51:59 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r17EpxLn045126; Thu, 7 Feb 2013 14:51:59 GMT (envelope-from nobody) Message-Id: <201302071451.r17EpxLn045126@red.freebsd.org> Date: Thu, 7 Feb 2013 14:51:59 GMT From: Renato Botelho To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175927: pftop segfaults on FreeBSD 8.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 15:00:02 -0000 >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: