Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18313 - net-analyzer/snortsnarf not webapp-config compatible
Summary: net-analyzer/snortsnarf not webapp-config compatible
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-27 14:55 UTC by Dave Love
Modified: 2004-07-17 08:05 UTC (History)
2 users (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 Dave Love 2003-03-27 14:55:05 UTC
snortsnarf's ebuild assumes apache is installed in its default directory
(/home/httpd) instead of checking the apache user's home directory.  This 
breaks here as I have apache installed in /var/httpd (directories under 
/home are auto-mounted from another system).
Comment 1 James Bowlin 2003-04-08 14:01:34 UTC
Can you symlink /home/httpd to /var/httpd ? 
Comment 2 Dave Love 2003-04-30 17:51:24 UTC
In my case, no.  The directories under /home are auto-mounted via 
NFS from another server, and I can't NFS-mount a symlink.

That said, I hesitated in filing the original report, since I was
never really convinced that this was a bug, so much as a special 
case.  I'm not certain that using apache's home directory is any
more valid than hard-coding /home/httpd.

I modified the ebuild locally to "do what I want", but I'm not 
certain it's correct for everybody.  In other words, if someone
were to decide to simply close this bug report, I wouldn't lose
any sleep over it.
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2003-10-04 08:24:15 UTC
Hi,

Easiest way to fix this is for us to port this ebuild across to our new webapp.eclass,
which we'll be releasing shortly.

I've marked this bug as 'LATER'.  As soon as we can, we will revisit this
bug, and port the ebuild across.

Thanks,
Stu
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2004-04-23 00:47:21 UTC
Dear package maintainer,

This package needs updating to be compatible with the new webapp-config tool.

Please emerge net-www/webapp-config (make sure you get version 1.2 or
later), and update your ebuild to work with this new tool.  You can
use 'man 5 webapp.eclass', 'man 5 webapp-config' and 'man 8 webapp-config'
to learn more about how your ebuild needs to work.

You can find an example ebuild, for phpmyadmin, in

	/usr/share/doc/webapp-config-1.2/
	
If you encounter any difficulties with the new framework (and we
apologise, but there are sure to be a few at first), please let us know
and we'll do our best to help you.

Best regards,
Stu
Comment 5 Eldad Zack (RETIRED) gentoo-dev 2004-07-17 08:05:39 UTC
webapp-config compatible ebuild in portage (snortsnarf-021111.1-r2.ebuild)