Skip site navigation (1)Skip section navigation (2)
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:   ports/164303: the www/mod_rpaf2 port incorrectly edits httpd.conf
Message-ID:  <201201190725.q0J7PdZI062868@library.tomsk.ru>
Resent-Message-ID: <201201190750.q0J7o97L087962@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201190725.q0J7PdZI062868>