ports/134301: [PATCH] www/mod_extract_forwarded2: generates wrong LoadModule line in httpd.conf
Li-Wen Hsu
lwhsu at FreeBSD.org
Wed May 6 20:00:12 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list