Summary: | net-analyzer/prewikka ebuild request | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcelo Goes (RETIRED) <vanquirius> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.prelude-ids.org/rubrique.php3?id_rubrique=6 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 87408 | ||
Attachments: |
net-analyzer/prewikka-0.9.0_rc5.ebuild
net-analyzer/prewikka-0.9.0_rc5-r1.ebuild prewikka-0.9.0_rc5.ebuild |
Description
Marcelo Goes (RETIRED)
2005-04-01 18:40:13 UTC
Hi, is anybody working on this? I'd really use prewikka in portage. Since we have all the other prelude 0.9 stuff in portage, it'd be nice to have there a tool which manages and visualizes the results as well. Hi, Not that I know of, but yep, it would be nice. Created attachment 58337 [details]
net-analyzer/prewikka-0.9.0_rc5.ebuild
Here is my prewikka ebuild ;)
More info about distutils_src_install problem here in the forum http://forums.gentoo.org/viewtopic-p-2386834.html Created attachment 58339 [details]
net-analyzer/prewikka-0.9.0_rc5-r1.ebuild
I've simply added useful info in pkg_postinst()
Created attachment 58365 [details]
prewikka-0.9.0_rc5.ebuild
Thanks for the ebuild.
I have a bit of a problem with the installation layout, however.
I got it to install to a more sane layout, but when I ran
/usr/bin/prewikka-httpd it complained that
/var/tmp/portage/prewikka-0.9.0_rc5/image/usr/etc/prewikka/prewikka.conf was
not found (*bad*).
See here http://forums.gentoo.org/viewtopic-p-2386834.html for some known issue ;) Actually with some post-install manual adj prewikka works very well, this weekend I'll try to create an init.d script ;) Marcelo, for your config problem try to edit by hand the config file /lib/python2.3/site-packages/prewikka/siteconfig.py and set the correct config file path; on the forum there is some other infos about this issue In src_install() # fix broken paths sed -i 's:${D}::g' \ ${D}/usr/lib/python2.3/site-packages/prewikka/* || die sed -i 's:usr/etc:etc:g' \ ${D}/usr/lib/python2.3/site-packages/prewikka/* || die mv ${D}/usr/etc ${D} The first sed line isn't working for some reason I can't figure out right now, but I think you get the idea. This must be fixed in the ebuild before adding the package to the tree. Hi, I'm constantly getting this error - any ideas? # prewikka-httpd Traceback (most recent call last): File "/usr/bin/prewikka-httpd", line 132, in ? server = PrewikkaServer(("0.0.0.0", 8000), PrewikkaRequestHandler) File "/usr/bin/prewikka-httpd", line 39, in __init__ self.core = Core.Core() File "/usr/lib/python2.3/site-packages/prewikka/Core.py", line 57, in __init__ self._initDatabase() File "/usr/lib/python2.3/site-packages/prewikka/Core.py", line 71, in _initDatabase self._env.db = Database.Database(config) File "/usr/lib/python2.3/site-packages/prewikka/Database.py", line 71, in __init__ self._sql = preludedb_sql_new(db_type, settings) preludedb.PreludeDBError: Cannot load sql plugin I emerged preludedb with -debug -doc -mysql +perl +postgres +python. > preludedb.PreludeDBError: Cannot load sql plugin
How about enabling the mysql flag?
Is that absolutelly necessary? I want to use postgres. I don't have any mysql stuff and I don't want any. I don't know. Maybe prewikka _requires_ mysql in preludedb? If it is so, the ebuild will have to require it as well. According to https://trac.prelude-ids.org/wiki/InstallingPrewikka you can install prewikka either on MySQL or on Postgres. I really don't think MySQL si necessary neither for prewikka nor for libpreludedb. Btw I had to install dev-python/pypgsql manually and I think this should be required as a dependency by the ebuild when using postgres and prewikka, shouldn't it? That didn't solve my current issue though. version commited - please confirm it works for you. works here Thanks Jan! |