Bug 164303 - the www/mod_rpaf2 port incorrectly edits httpd.conf
Summary: the www/mod_rpaf2 port incorrectly edits httpd.conf
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Olli Hauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-19 07:50 UTC by Victor Sudakov
Modified: 2012-01-23 19:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Sudakov 2012-01-19 07:50:09 UTC
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"

Fix: 

You can manually edit httpd.conf to correct the error or use sed to
replace "LoadModule rpaf2_module" with "LoadModule rpaf_module".
How-To-Repeat: 	portmaster www/mod_rpaf2
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-01-19 07:50:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Olli Hauer freebsd_committer freebsd_triage 2012-01-23 19:35:33 UTC
Responsible Changed
From-To: apache->ohauer

I'll take it
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-01-23 19:40:12 UTC
ohauer      2012-01-23 19:39:53 UTC

  FreeBSD ports repository

  Modified files:
    www/mod_rpaf2        Makefile 
  Log:
  - fix apache LoadModule line
  
  PR:             164303
  Submitted by:   Victor Sudakov <vas@library.tomsk.ru>
  
  Revision  Changes    Path
  1.8       +2 -1      ports/www/mod_rpaf2/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Olli Hauer freebsd_committer freebsd_triage 2012-01-23 19:42:29 UTC
State Changed
From-To: open->closed

Thanks for reporting!