From owner-freebsd-apache@FreeBSD.ORG Wed May 6 20:08:24 2009 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0FF31065670 for ; Wed, 6 May 2009 20:08:24 +0000 (UTC) (envelope-from lwhsu@lwbsd.cs.nctu.edu.tw) Received: from lwbsd.cs.nctu.edu.tw (lwbsd.cs.nctu.edu.tw [140.113.17.197]) by mx1.freebsd.org (Postfix) with ESMTP id C35A78FC20 for ; Wed, 6 May 2009 20:08:24 +0000 (UTC) (envelope-from lwhsu@lwbsd.cs.nctu.edu.tw) Received: by lwbsd.cs.nctu.edu.tw (Postfix, from userid 1001) id 6B4013142B8; Thu, 7 May 2009 03:45:48 +0800 (CST) To: FreeBSD-gnats-submit@freebsd.org From: Li-Wen Hsu X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20090506194548.6B4013142B8@lwbsd.cs.nctu.edu.tw> Date: Thu, 7 May 2009 03:45:48 +0800 (CST) Cc: apache@FreeBSD.org Subject: [PATCH] www/mod_extract_forwarded2: generates wrong LoadModule line in httpd.conf X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 20:08:25 -0000 >Submitter-Id: current-users >Originator: Li-Wen Hsu >Organization: >Confidential: no >Synopsis: [PATCH] www/mod_extract_forwarded2: generates wrong LoadModule line in httpd.conf >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 8.0-CURRENT amd64 >Environment: System: FreeBSD lwbsd.cs.nctu.edu.tw 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r191347M: Tue Apr 21 17:40:43 CST >Description: www/mod_extract_forwarded2 generates wrong LoadModule line in httpd.conf Port maintainer (apache@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: 1) install www/mod_extract_forwarded2 2) enable "LoadModule extract_forwarded2_module libexec/apache22/mod_extract_forwarded2.so" line in httpd.conf 3) /usr/local/etc/rc.d/apache22 restart Performing sanity check on apache22 configuration: httpd: Syntax error on line 106 of /usr/local/etc/apache22/httpd.conf: Can't locate API module structure `extract_forwarded2_module' in file /usr/local/libexec/apache22/mod_extract_forwarded2.so: Undefined symbol "extract_forwarded2_module" >Fix: --- mod_extract_forwarded2-0.1_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/mod_extract_forwarded2/Makefile,v retrieving revision 1.4 diff -u -u -r1.4 Makefile --- Makefile 4 Dec 2005 21:24:52 -0000 1.4 +++ Makefile 6 May 2009 19:46:09 -0000 @@ -7,6 +7,7 @@ PORTNAME= mod_extract_forwarded2 PORTVERSION= 0.1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.cotds.org/${PORTNAME}/ DIST_SUBDIR= apache2 @@ -15,6 +16,7 @@ COMMENT= An Apache module that can make proxied requests appear with client IP USE_APACHE= 20+ +SHORTMODNAME= extract_forwarded AP_FAST_BUILD= YES AP_GENPLIST= YES Index: pkg-message =================================================================== RCS file: /home/ncvs/ports/www/mod_extract_forwarded2/pkg-message,v retrieving revision 1.1 diff -u -u -r1.1 pkg-message --- pkg-message 5 Jan 2004 12:34:45 -0000 1.1 +++ pkg-message 6 May 2009 19:46:09 -0000 @@ -4,7 +4,7 @@ Edit your apache.conf or httpd.conf to enable and setup this module. Have a look at the files in -${PREFIX}/share/doc/mod_extract_forward for information on +${PREFIX}/share/doc/mod_extract_forward2 for information on how to configure it. Then do this to make it work effective: --- mod_extract_forwarded2-0.1_1.patch ends here ---