Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 986 - htdig ebuild doesn't create directory for database
Summary: htdig ebuild doesn't create directory for database
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-06 13:47 UTC by Steve Flack
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Flack 2002-03-06 13:47:36 UTC
The ebuild for htdig needs to create the directories for the database for htdig
to work correctly (It's doesn't work ATM in kdevelop for example). The following
lines should be added to the ebuild

mkdir /var/htdig
mkdir /var/htdig/db

You may also want to run 'rundig' as well to create the initial database. For
kdevelop to be able to index the documentation it either needs to be setup as
root or the permissions should be altered on the files in /var/htdig/db to make
world-writable.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-03-12 12:46:00 UTC
more mkdir issues....
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-22 06:51:35 UTC
Steve, is this still an issue with htdig?

I have little to no experience with it, so my last ebuild change for it was
based on some guesswork.  I could use some help with it though :)
Comment 3 Steve Flack 2002-05-22 15:38:53 UTC
From a new install of htdig it seems that /var/htdig is now created but  
/var/htdig/db is not. I think these both need to be world writeable as well. 
rundig also needs to be run. 
 
I can't get kdevelop's setup to find htdig.conf in any event - even though it 
definitely exists. Dan Armak did change the dependency to glimpse which worked 
perfectly. Unfortunately glimpse has a educational use only licence so had to 
remove the dependency. Glimpse is still in the portage tree though...   
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-22 17:52:06 UTC
OK, the new ebuild creates the /var/htdig/db directory.  The previous ebuild had
it use /var/htdig instead of /var/htdig/db, but it's sorted out now.  Also, this
should now rundig after emerging.  Please let me know how this works now.