First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 87617
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Netmon Herd <netmon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marcelo Goes <vanquirius@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
prewikka-0.9.0_rc5.ebuild net-analyzer/prewikka-0.9.0_rc5.ebuild text/plain Frittella Laurento 2005-05-08 04:11 0000 627 bytes Details
prewikka-0.9.0_rc5-r1.ebuild net-analyzer/prewikka-0.9.0_rc5-r1.ebuild text/plain Frittella Laurento 2005-05-08 04:24 0000 778 bytes Details
prewikka-0.9.0_rc5.ebuild prewikka-0.9.0_rc5.ebuild text/plain Marcelo Goes 2005-05-08 09:54 0000 889 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 87617 depends on: Show dependency tree
Bug 87617 blocks: 87408
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-01 18:40 0000
Hello there,

Prewikka is the new "Prelude Management Console."
"Prewikka IDS Web Interface - A frontend to your Prelude database"

As I understand it, it is a replacement for net-analyzer/piwi, whose last version is a bit outdated.

------- Comment #1 From Jan Dusek 2005-04-15 04:22:13 0000 -------
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.

------- Comment #2 From Marcelo Goes 2005-04-15 07:44:15 0000 -------
Hi,
Not that I know of, but yep, it would be nice.

------- Comment #3 From Frittella Laurento 2005-05-08 04:11:23 0000 -------
Created an attachment (id=58337) [details]
net-analyzer/prewikka-0.9.0_rc5.ebuild

Here is my prewikka ebuild ;)

------- Comment #4 From Frittella Laurento 2005-05-08 04:16:21 0000 -------
More info about distutils_src_install problem here in the forum
http://forums.gentoo.org/viewtopic-p-2386834.html

------- Comment #5 From Frittella Laurento 2005-05-08 04:24:54 0000 -------
Created an attachment (id=58339) [details]
net-analyzer/prewikka-0.9.0_rc5-r1.ebuild

I've simply added useful info in pkg_postinst()

------- Comment #6 From Marcelo Goes 2005-05-08 09:54:20 0000 -------
Created an attachment (id=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*).

------- Comment #7 From Frittella Laurento 2005-05-12 03:21:24 0000 -------
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 ;)

------- Comment #8 From Frittella Laurento 2005-05-12 03:25:54 0000 -------
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

------- Comment #9 From Marcelo Goes 2005-05-19 08:02:34 0000 -------
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.

------- Comment #10 From Jan Dusek 2005-05-24 14:52:30 0000 -------
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.

------- Comment #11 From Marcelo Goes 2005-05-24 15:22:25 0000 -------
> preludedb.PreludeDBError: Cannot load sql plugin
How about enabling the mysql flag?

------- Comment #12 From Jan Dusek 2005-05-24 15:35:48 0000 -------
Is that absolutelly necessary? I want to use postgres. I don't have any mysql
stuff and I don't want any.

------- Comment #13 From Marcelo Goes 2005-05-25 10:19:40 0000 -------
I don't know. Maybe prewikka _requires_ mysql in preludedb?
If it is so, the ebuild will have to require it as well.

------- Comment #14 From Jan Dusek 2005-05-25 13:46:04 0000 -------
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.

------- Comment #15 From Daniel Black 2005-05-26 05:03:52 0000 -------
version commited - please confirm it works for you. 

------- Comment #16 From Jan Dusek 2005-05-29 02:49:50 0000 -------
works here

------- Comment #17 From Daniel Black 2005-05-29 05:16:35 0000 -------
Thanks Jan! 

First Last Prev Next    No search results available      Search page      Enter new bug