Date: Thu, 19 Jan 2012 14:25:39 +0700 (NOVT) From: Victor Sudakov <vas@library.tomsk.ru> To: FreeBSD-gnats-submit@freebsd.org Cc: Victor Sudakov <vas@mpeks.tomsk.su>, apache@freebsd.org Subject: the www/mod_rpaf2 port incorrectly edits httpd.conf Message-ID: <201201190725.q0J7PdZI062868@library.tomsk.ru>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Victor Sudakov <vas@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@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".
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201190725.q0J7PdZI062868>