On Sat, Jul 31, 2010 at 07:51:54PM +0200, Sebastian Reitenbach wrote:
> viq wrote:
> >On Sat, Jul 31, 2010 at 04:37:24PM +0200, Sebastian Reitenbach wrote:
> >>Hi,
> >>
> >>forget the other mail, now the right tarball attached.
> >>
> >>Sebastian
> >>
> >>Sebastian Reitenbach wrote:
> >>>viq wrote:
> >>>>They released version 0.3.1,
> >>>>http://spectrum.im/projects/spectrum/wiki/Changelog
> >>>>But it hardcodes installation of spectrum.cfg to /etc so that would need
> >>>>to be patched, and it removes the sqlite schema, in repository
> >>>>logs it says
> >>>>"Remove unused outdated sqlite.sql schema." So for now trying the posted
> >>>>version, and it builds fine. Didn't get to trying it yet, that will come
> >>>>soon ;)
> >>>With a lot of feedback from viq, updated to 0.3.1.
> >>>I added a user _spectrum and group _spectrum so that the
> >>>spectrumctl can change userid to that user. The homedirectory of
> >>>that user has to exists, otherwise spectrumctl throws errors.
> >>>The directories /var/spectrum and /var/log/spectrum are created
> >>>from the port. I decided to put everything below /var/spectrum
> >>>besides the logs. Hope that's fine. The example configuration file
> >>>was updated accordingly.
> >>>
> >>>Maybe additionally a README.OpenBSD needed?
> >>>
> >>>cheers,
> >>>Sebastian
> >
> >Following patch needs to be applied to PLIST, otherwise you end up with
> >locale files being mode 640 root:_spectrum
> >
> >--- /tmp/net/spectrum/pkg/PLIST Sat Jul 31 13:51:54 2010
> >+++ pkg/PLIST   Sat Jul 31 17:28:08 2010
> >@@ -40,6 +40,8 @@
> > @group ${SPGROUP}
> > @mode 640
> > @sample ${SYSCONFDIR}/spectrum/spectrum.cfg
> >+...@group
> >+...@mode
> > share/locale/cs/LC_MESSAGES/spectrum.mo
> > share/locale/de/LC_MESSAGES/spectrum.mo
> > share/locale/pl/LC_MESSAGES/spectrum.mo
> >
> >Another thing is, in lib/python2.5/site-packages/spectrum/doc/ there is
> >interactive.py which after running spectrum gets bytecompiled creating
> >interactive.pyc which remains after package removal. Solution I saw
> >employed so far is to compile it at package creation time, so it ends up
> >in PLIST. Don't ask me how to do it though ;)
> >
> >The mysql schema should probably be installed, for those who want to use
> >it, maybe the munin monitoring script? Maybe some -extras package?
> There is another *pyc file that was not yet created. I now call
> spectrumctl in post-install stage to create those pyc files. No idea
> whether this is the right way to do, but it works ;)
> I also included the mysql schema, since people might want to use the
> mysql backend instead of the sqlite backend.
> 
> Sebastian
> 

How about this? Command to compile .py files stolen from
devel/py-gobject by ajacoutot@ ;)
Also moving sample config file and mysql schema to share/examples
instead of share/doc as I believe that's where they belong.

-- 
viq

Attachment: spectrum.tar.gz
Description: application/tar-gz

Attachment: pgpGAIOwDRyXs.pgp
Description: PGP signature

Reply via email to