Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 60221

Summary: mod_watch ebuild's post emerge config doesn't find apacheaddmod, post-install instructions wrong too
Product: Gentoo Linux Reporter: seather
Component: [OLD] ServerAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: VERIFIED TEST-REQUEST    
Severity: normal CC: magnet
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description seather 2004-08-13 06:33:49 UTC
After emerging mod_watch, the post-configuration tells you to:
Execute "ebuild /usr/portage/net-www/mod_watch-4.03/mod_watch-4.03.ebuild config"
to have your apache.conf auto-updated for use with the module.

However, the file does not exist. When trying /usr/portage/net-www/mod_watch/mod_watch-4.03.ebuild config
instead, it doesn't find /usr/sbin/apacheaddmod because apacheaddmod does not exist (This is with apache2)

Reproducible: Always
Steps to Reproduce:
1.emerge apache
2.emerge mod_watch
3.ebuild /usr/portage/net-www/mod_watch/mod_watch-4.03.ebuild config (following instructions)

Actual Results:  
/usr/sbin/ebuild.sh: line 52: //usr/sbin/apacheaddmod: No such file or directory

Expected Results:  
Update apache2.conf accordingly.

This is done with apache version 2.
Comment 1 Minati jean michel 2004-09-14 04:18:36 UTC
according to others ebuilds,apache2 modules installation do no update apache2.conf.

the trouble come from the parts pkg_postinst() and pkg_config() which should not be there.
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2004-09-14 05:53:08 UTC
Following magnet's advice, I've removed the pkg_config() and pkg_postinst() sections of the ebuild.  These changes should appear on your local rsync mirror in about an hour.  As the ebuild should already have installed mod_watch correctly, I haven't changed the version number on the ebuild.

Please test, and let me know how you get on.

Best regards,
Stu
Comment 3 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 20:18:20 UTC
No response, closing.