ports/171153: new version available for coovachilli
anarcat
anarcat at anarcat.ath.cx
Wed Aug 29 06:00:23 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list