Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98452 - Global jabber-dirs for all jabber-related stuff
Summary: Global jabber-dirs for all jabber-related stuff
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 98455 101708
  Show dependency tree
 
Reported: 2005-07-09 05:08 UTC by David Danier
Modified: 2016-01-30 17:18 UTC (History)
5 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 David Danier 2005-07-09 05:08:32 UTC
If you emerge jabberd, some transports and perhaps some other jabber stuff every
of these ebuilds use their own path for configuration-files and stuff.

One example:
jabberd (2.0.8):
* conf: /etc/jabberd
* files: /var/jabberd
pyicq-t:
* conf: /etc
* files: /somewhere/scary

My idea is: Put all that stuff together:
* conf: /etc/jabber/<packagename>
* files: /var/jabber/<packagename>

That would clear some of the problems the peaple have when creating ebuilds,
too. I've seen some ebuilds that put configuration-files for transports into
/etc/jabberd for example. Thats the wrong place, because if you use ejabberd you
don't have /etc/jabberd. Putting it into /etc is handly better....

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Gustavo Felisberto (RETIRED) gentoo-dev 2005-07-09 06:21:14 UTC
I'm in the processe of writting a net-im/jabber-base that will handle creation
of the users/directories. This way no more lost users, no more strange dirs.

i propose:

/etc/jabber/$package_name for configuration files
/var/run/jabber for the flat files databases
and one user "jabber" for the server/transports
Comment 2 David Danier 2005-07-09 06:37:57 UTC
That sounds great, thank you ;-)
Comment 3 Gustavo Felisberto (RETIRED) gentoo-dev 2005-08-25 14:09:15 UTC
After a long away status i'm comming back.
My previous post should be:

/etc/jabber/$package_name for configuration files
/var/run/jabber/ for the pid files
/var/spool/jabber/ for the flat files databases (actually there must be a ewarn
at end of ebuild telling user to do that, as some transports fail to start if
the directory is not there, even if they have permissions to creat it)

for the python based transports with no install script:
they must inherit python, run python_version() and be installed in:
/usr/lib/python${PYVER}/site-packages/$package-name
Comment 4 James Lee 2005-08-26 17:48:34 UTC
Speaking of python transports, are there any PyAIM-t ebuilds in the works?  I've
written a simple one, but I'm not very good with ebuilds.
Comment 5 Maurice van der Pot (RETIRED) gentoo-dev 2007-04-29 00:13:47 UTC
Gustavo, hasn't this one been fixed already?

At the moment only ebuilds for pyicq-t and pymsn-t are in the tree, but they are doing what you said.

James: there's a pyaim-t ebuild in the sunrise overlay: http://overlays.gentoo.org/proj/sunrise/browser/sunrise/net-im/pyaim-t
Comment 6 Pacho Ramos gentoo-dev 2016-01-30 17:18:31 UTC
(In reply to Maurice van der Pot (RETIRED) from comment #5)
> Gustavo, hasn't this one been fixed already?
> 
> At the moment only ebuilds for pyicq-t and pymsn-t are in the tree, but they
> are doing what you said.
> 
> James: there's a pyaim-t ebuild in the sunrise overlay:
> http://overlays.gentoo.org/proj/sunrise/browser/sunrise/net-im/pyaim-t