Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36070 - userpriv fixes for htdig
Summary: userpriv fixes for htdig
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 36069
Blocks:
  Show dependency tree
 
Reported: 2003-12-18 08:56 UTC by Cory Visi (RETIRED)
Modified: 2004-03-25 16:13 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.43 KB, text/plain)
2003-12-18 08:58 UTC, Cory Visi (RETIRED)
Details
htdig-3.1.6-r5.ebuild (htdig-3.1.6-r5.ebuild,1.43 KB, text/plain)
2003-12-18 09:58 UTC, Cory Visi (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cory Visi (RETIRED) gentoo-dev 2003-12-18 08:56:32 UTC
I have made a number of changes to fix the htdig ebuild. The webapp-detect function is trying to set permissions and create directories when userpriv has dropped privs to user portage. I've moved this to the correct location.

Another concern is that htdig comes packages with an obscure version of Berkley DB. It would be nice if it used our version, then we could make use of the USE="berkdb" flag, etc. Also, something is totally messed up with autoconf, because CPPFLAGS gets passed to the Berkley DB configure script, but not CFLAGS. You can see this in the db/dist/Makefile after running src_compile(). I think we should watchout for the next stable release and version bump.

This ebuild depends on my webapp-apache.eclass fixes (Bug 36069)
Comment 1 Cory Visi (RETIRED) gentoo-dev 2003-12-18 08:58:59 UTC
Created attachment 22410 [details]
htdig-3.1.6-r5.ebuild

I recommend the revision increase, because current users will suddenly find the
htdig files installed in the correct location (based on their apache.conf).
Comment 2 Cory Visi (RETIRED) gentoo-dev 2003-12-18 09:58:53 UTC
Created attachment 22411 [details]
htdig-3.1.6-r5.ebuild

forgot to move the CPPFLAGS outside of the body
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2003-12-23 05:30:00 UTC
Is this still valid?  I'm tempted to close this bug.

Stu
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-03-10 12:19:32 UTC
is this still an issue ?
Comment 5 Cory Visi (RETIRED) gentoo-dev 2004-03-10 12:28:52 UTC
If you remove the dependency, you can close the bug. We want to keep 36069 open.

This was apparently being fixed while I was submitting the bug. Stuart pushed the changes to the eclass that corrected the bug out the following day. Some of my modifications are still being considering, however, in bug 36069. These modifications involve changing both the htdig ebuild and the webapp-apache.eclass.

Should I attach this ebuild to bug 36069?

I'd like to also add that these ebuilds need to get the "has_version" out of the global scope.
Comment 6 Cory Visi (RETIRED) gentoo-dev 2004-03-25 16:13:42 UTC
Bug 36069 is closed, so I'm closing this as well.