Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34594 - htdig requires apache even if apache1 and apache2 are omitted from the USE flags
Summary: htdig requires apache even if apache1 and apache2 are omitted from the USE flags
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 35275
  Show dependency tree
 
Reported: 2003-11-27 20:57 UTC by Stuart W. Finlayson
Modified: 2004-09-19 00:29 UTC (History)
2 users (show)

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


Attachments
htdig-3.1.6-r5.ebuild (htdig-3.1.6-r5.ebuild,1.42 KB, text/plain)
2004-05-03 13:15 UTC, Martin Holzer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart W. Finlayson 2003-11-27 20:57:52 UTC
While preparing to run an update (`emerge --update --upgradeonly --deep --pretend world`) recently, I noticed that portage wanted to install apache--even though I purposefully omitted the apache1 and apache2 flags from my USE flags (I have no need for a web server on my machine).  Apparently, there is some problem in the webapp-detect function/class that leads portage to conclude that I have, or want, a web server installed.
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2003-12-19 06:27:59 UTC
The htdig ebuild really shouldn't be using the webapp-apache eclass if we're supporting installs of htdig without apache being present.  It's something that we need to fix.

Stu
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2004-04-23 02:03:47 UTC
Re-assigning to mholzer - it was his change that caused this bug.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-04-24 16:10:22 UTC
peoples - I'm currently attempting to make a webapp compliant htdig without the dependancies for apache. Wish me luck ;-)
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-05-03 13:14:45 UTC
stuart the next bug with webapp.eclass ?

>>> sym  buttonr.png
>>> sym  button10.png
>>> sym  htdig.png
>>> sym  star.png
>>> sym  star_blank.png
 *     Installing from /usr/share/webapps/htdig/3.1.6-r5/hostroot
>>> sym  /var/www/localhost/cgi-bin/htsearch
/usr/sbin/webapp-config: line 237: /var/db/webapps/htdig/3.1.6-r5/installs: No such file or directory
 * Install completed - success
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2004-05-03 13:15:18 UTC
Created attachment 30632 [details]
htdig-3.1.6-r5.ebuild
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2004-05-03 13:21:06 UTC
Okay, I'm looking at it right now ;-)
Comment 7 Stuart Herbert (RETIRED) gentoo-dev 2004-05-03 14:07:43 UTC
Okay, this is caused by bugs in the ebuild.

Inside src_install(), the second line is a call to 'webapp-pkg_install'.  This function doesn't exist.  At the end of src_install(), there's no call to 'webapp_src_install()'.  I'll add something in webapp_pkg_postinst() to detect that.

Also, webapp ebuilds shouldn't set SLOT.  The eclass takes care of that.  I've added a warning to catch that.

I'll have to commit the changes to the eclass when emu comes back :(

Best regards,
Stu
Comment 8 Daniel Black (RETIRED) gentoo-dev 2004-06-07 20:50:34 UTC
Stu - no emu but lark is waiting ;-)
Comment 9 Renat Lumpau (RETIRED) gentoo-dev 2004-08-26 05:53:27 UTC
Converted to use webapp.eclass, in CVS, shouldn't pull in Apache anymore
Comment 10 Renat Lumpau (RETIRED) gentoo-dev 2004-08-26 05:57:46 UTC
closed