Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 91245

Summary: jabberd 2.0 tools not installed.
Product: Gentoo Linux Reporter: Pupeno <pupeno>
Component: [OLD] ServerAssignee: Krzysztof Pawlik (RETIRED) <nelchael>
Status: RESOLVED WORKSFORME    
Severity: enhancement CC: humpback, net-im
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pupeno 2005-05-02 16:36:04 UTC
There's a directory on the jabberd2 tarball called tools which contains some useful things, for example, SQL commands to initialize the tables for jabberd2 in various RDBMS.
It'd be nice if that directory gets copied to somewhere on the system, like /usr/share/docs/jabberd2.../tools/ or something like that.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Marc Vilanova 2005-06-13 15:53:42 UTC
It's copied in /usr/share/doc/jabberd-2.0.8-r1/tools by default. You can patch
the ebuild with the following patch to have a symlink in /etc/jabbed to
/usr/share/doc/${jabber_version}/tools.

--- jabberd-2.0.8.ebuild     2005-06-14 00:39:15.000000000 +0200
+++ jabberd-2.0.8-r1.ebuild     2005-06-14 00:34:43.000000000 +0200
@@ -104,6 +104,9 @@
        for i in db-setup.{mysql,pgsql} migrate.pl pipe-auth.pl; do
                dodoc tools/${i}
        done
+
+       ## Symbolic link for tools directory in /etc/jabberd
+       dosym /usr/share/doc/${PF}/tools/ /etc/jabberd
 }
 
 pkg_postinst() {
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-10-04 13:41:49 UTC
As stated in comment #1 - it's already there.