Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60221 - mod_watch ebuild's post emerge config doesn't find apacheaddmod, post-install instructions wrong too
Summary: mod_watch ebuild's post emerge config doesn't find apacheaddmod, post-install...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
Depends on:
Reported: 2004-08-13 06:33 UTC by seather
Modified: 2005-04-23 20:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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/ 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,
Comment 3 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 20:18:20 UTC
No response, closing.