ports/164303: the www/mod_rpaf2 port incorrectly edits httpd.conf

Victor Sudakov vas at library.tomsk.ru
Thu Jan 19 07:50:10 UTC 2012


>Number:         164303
>Category:       ports
>Synopsis:       the www/mod_rpaf2 port incorrectly edits httpd.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 19 07:50:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Victor Sudakov <vas at library.tomsk.ru>
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
library.tomsk.ru
>Environment:
System: FreeBSD library.tomsk.ru 7.4-RELEASE-p5 FreeBSD 7.4-RELEASE-p5 #0: Sun Dec 25 07:14:25 NOVT 2011 root at library.tomsk.ru:/usr/obj/usr/home/RELENG_7_4/usr/src/sys/LIBRARY i386
>Description:
The www/mod_rpaf2 port automatically edits /usr/local/etc/apache22/httpd.conf 
inserting the line 
"#LoadModule rpaf2_module       libexec/apache22/mod_rpaf2.so"
In fact, the line is incorrect and should be 
"#LoadModule rpaf_module       libexec/apache22/mod_rpaf2.so"

The erroneous line results in the following error message when trying
to restart apache after uncommenting the line:

httpd: Syntax error on line 106 of /usr/local/etc/apache22/httpd.conf: Can't locate API module structure `rpaf2_module' in file /usr/local/libexec/apache22/mod_rpaf2.so: Undefined symbol "rpaf2_module"
>How-To-Repeat:
	portmaster www/mod_rpaf2
>Fix:

You can manually edit httpd.conf to correct the error or use sed to
replace "LoadModule rpaf2_module" with "LoadModule rpaf_module".


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list