From nobody@FreeBSD.org  Sun Oct 27 14:43:03 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E4D3137B401
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Oct 2002 14:43:03 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A2A7F43E3B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Oct 2002 14:43:03 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9RMh27R030829
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Oct 2002 14:43:02 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9RMh2EV030828;
	Sun, 27 Oct 2002 14:43:02 -0800 (PST)
Message-Id: <200210272243.g9RMh2EV030828@www.freebsd.org>
Date: Sun, 27 Oct 2002 14:43:02 -0800 (PST)
From: Toni Viemer <toni.viemero@iki.fi>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mod_throttle doesn't compile
X-Send-Pr-Version: www-1.0

>Number:         44550
>Category:       ports
>Synopsis:       mod_throttle doesn't compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 27 14:50:01 PST 2002
>Closed-Date:    Sun Oct 27 15:57:43 PST 2002
>Last-Modified:  Sun Oct 27 15:57:43 PST 2002
>Originator:     Toni Viemer
>Release:        4.7-STABLE
>Organization:
>Environment:
FreeBSD hadouken.selfdestruct.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Oct 24 11:55:50 EEST 2002 root@hadouken.selfdestruct.net:/usr/src/sys/compile/HADOUKEN  i386
>Description:
mod_throttle compilation fails, apache installed from apache+ipv6-1.3.27 port

[root@hadouken:/usr/ports/www/mod_throttle]$ make install clean
===>  Extracting for mod_throttle-3.1.2
>How-To-Repeat:
[root@hadouken:/usr/ports/www/mod_throttle]$ make install clean
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: anders 
State-Changed-When: Sun Oct 27 15:57:13 PST 2002 
State-Changed-Why:  
mod_throttle is not IPv6-aware. 
I have made the build say so. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44550 
>Unformatted:
 >> Checksum OK for mod_throttle312.tgz.
 ===>   mod_throttle-3.1.2 depends on file: /usr/local/sbin/apxs - found
 ===>  Patching for mod_throttle-3.1.2
 ===>  Configuring for mod_throttle-3.1.2
 ===>  Building for mod_throttle-3.1.2
 cc -DDOCUMENT_LOCATION="/usr/local/www/data"  -DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin" -DHARD_SERVER_LIMIT=512 -funsigned-char -DINET6 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_SOCKADDR_LEN -DUSE_EXPAT -I../lib/expat-lite -O -pipe -march=pent iumpro -fpic -DSHARED_MODULE -I/usr/local/include/apache  -c mod_throttle.c
 mod_throttle.c: In function `access_handler':
 mod_throttle.c:2814: structure has no member named `sin_addr'
 mod_throttle.c: In function `log_handler':
 mod_throttle.c:3188: structure has no member named `sin_addr'
 apxs:Break: Command failed with rc=1
 *** Error code 1
 
 Stop in /usr/ports/www/mod_throttle.
