From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 29 06:00:23 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B916D106568A for ; Wed, 29 Aug 2012 06:00:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 094558FC1C for ; Wed, 29 Aug 2012 06:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7T60Lu1003444 for ; Wed, 29 Aug 2012 06:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7T60LnO003437; Wed, 29 Aug 2012 06:00:21 GMT (envelope-from gnats) Resent-Date: Wed, 29 Aug 2012 06:00:21 GMT Resent-Message-Id: <201208290600.q7T60LnO003437@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, anarcat Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 240F8106564A for ; Wed, 29 Aug 2012 05:56:56 +0000 (UTC) (envelope-from anarcat@roadkiller.anarcat.ath.cx) Received: from roadkiller.anarcat.ath.cx (unknown [IPv6:2001:1928:0:ffff::1b]) by mx1.freebsd.org (Postfix) with ESMTP id C43148FC0C for ; Wed, 29 Aug 2012 05:56:55 +0000 (UTC) Received: from roadkiller.anarcat.ath.cx (localhost [127.0.0.1]) by roadkiller.anarcat.ath.cx (8.14.5/8.14.5) with ESMTP id q7T5urYw020884 for ; Wed, 29 Aug 2012 01:56:53 -0400 (EDT) (envelope-from anarcat@roadkiller.anarcat.ath.cx) Received: (from anarcat@localhost) by roadkiller.anarcat.ath.cx (8.14.5/8.14.5/Submit) id q7T5urSq020883; Wed, 29 Aug 2012 01:56:53 -0400 (EDT) (envelope-from anarcat) Message-Id: <201208290556.q7T5urSq020883@roadkiller.anarcat.ath.cx> Date: Wed, 29 Aug 2012 01:56:53 -0400 (EDT) From: anarcat To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/171153: new version available for coovachilli X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: anarcat List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2012 06:00:23 -0000 >Number: 171153 >Category: ports >Synopsis: new version available for coovachilli >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: Wed Aug 29 06:00:21 UTC 2012 >Closed-Date: >Last-Modified: >Originator: anarcat >Release: FreeBSD 8.3-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD roadkiller.anarcat.ath.cx 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #4: Sat Aug 25 13:21:20 EDT 2012 anarcat@roadkiller.anarcat.ath.cx:/usr/obj/usr/src/sys/ROADKILL i386 >Description: The version of Coova in the ports system is severly outdated (about 3 years old). New versions are available and the port is not straightfoward, as no patches in the files/ directory apply anymore. >How-To-Repeat: N/A. >Fix: The good news it that the new release (1.2.9) compiles pretty much out of the box. I only had to add the following patch: --- src/pkt.h.orig 2012-08-29 01:42:34.000000000 -0400 +++ src/pkt.h 2012-08-29 01:44:41.000000000 -0400 @@ -525,8 +525,10 @@ #ifdef ENABLE_IPV6 #define ip6hdr(pkt) ((struct pkt_ip6hdr_t *) (((uint8_t*)(pkt)) + sizeofeth(pkt))) #define udp6hdr(pkt) ((struct pkt_udphdr_t *) (((uint8_t*)(pkt)) + sizeofip6(pkt))) +#ifndef __FreeBSD__ #define tcp6hdr(pkt) ((struct pkt_tcphdr_t *) (((uint8_t*)(pkt)) + sizeofip6(pk))) #endif +#endif #define chilli_ethhdr(pkt)((struct pkt_chillihdr_t *)(((uint8_t*)(pkt)) + sizeofeth(pkt))) ... although there are significant changes to other pieces of code in the original patch set, including fixes for FreeBSD-specific locations for startup scripts and so on. So the above is not a complete fix, and needs work. >Release-Note: >Audit-Trail: >Unformatted: