Hi,
Sebastian Reitenbach wrote:
It did not made it to the release, and those people just released a new version. Major change is with the twitter transport, which I haven't tested due to lack of an account there, and added french translation, and not to forget the version number 0.3.1 -> 1.4.0 ;).viq wrote: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:Following patch needs to be applied to PLIST, otherwise you end up withHi, 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/ChangelogBut it hardcodes installation of spectrum.cfg to /etc so that would needto 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 comesoon ;)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/spectrumbesides the logs. Hope that's fine. The example configuration file was updated accordingly. Maybe additionally a README.OpenBSD needed? cheers, Sebastianlocale 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.moAnother thing is, in lib/python2.5/site-packages/spectrum/doc/ there isinteractive.py which after running spectrum gets bytecompiled creating interactive.pyc which remains after package removal. Solution I sawemployed so far is to compile it at package creation time, so it ends upin PLIST. Don't ask me how to do it though ;)The mysql schema should probably be installed, for those who want to useit, 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. SebastianHow about this? Command to compile .py files stolen from devel/py-gobject by ajacoutot@ ;)That's great, thanks for finding this.Yes, after sending the last update, I also thought about that this is the right place for it.Also moving sample config file and mysql schema to share/examples instead of share/doc as I believe that's where they belong.I only removed a superfluous rm -f in the post-install stage, update attached.
Maybe now OK to check in? Sebastian
spectrum.tar.gz
Description: application/gzip