Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 01:56:53 -0400 (EDT)
From:      anarcat <anarcat@anarcat.ath.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/171153: new version available for coovachilli
Message-ID:  <201208290556.q7T5urSq020883@roadkiller.anarcat.ath.cx>
Resent-Message-ID: <201208290600.q7T60LnO003437@freefall.freebsd.org>

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

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



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