the www/mod_rpaf2 port incorrectly edits httpd.conf

Victor Sudakov vas at library.tomsk.ru
Thu Jan 19 07:48:41 UTC 2012


>Submitter-Id:	current-users
>Originator:	Victor Sudakov <vas at library.tomsk.ru>
>Organization:	library.tomsk.ru
>Confidential:	no 
>Synopsis:	the www/mod_rpaf2 port incorrectly edits httpd.conf
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 7.4-RELEASE-p5 i386
>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".




More information about the freebsd-apache mailing list