From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 6 20:00:11 2009 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 8203910656C1 for ; Wed, 6 May 2009 20:00:11 +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 5E94C8FC1C for ; Wed, 6 May 2009 20:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n46K0Bel073267 for ; Wed, 6 May 2009 20:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n46K0B5S073266; Wed, 6 May 2009 20:00:11 GMT (envelope-from gnats) Resent-Date: Wed, 6 May 2009 20:00:11 GMT Resent-Message-Id: <200905062000.n46K0B5S073266@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, Li-Wen Hsu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0C27106566B for ; Wed, 6 May 2009 19:51:55 +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 8FED78FC1C for ; Wed, 6 May 2009 19:51:55 +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) Message-Id: <20090506194548.6B4013142B8@lwbsd.cs.nctu.edu.tw> Date: Thu, 7 May 2009 03:45:48 +0800 (CST) From: Li-Wen Hsu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: apache@FreeBSD.org Subject: ports/134301: [PATCH] www/mod_extract_forwarded2: generates wrong LoadModule line in httpd.conf X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 20:00:12 -0000 >Number: 134301 >Category: ports >Synopsis: [PATCH] www/mod_extract_forwarded2: generates wrong LoadModule line in httpd.conf >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 May 06 20:00:11 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Li-Wen Hsu >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >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 --- >Release-Note: >Audit-Trail: >Unformatted: