Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207627 - media-sound/murmur-1.1.2 out (attached ebuild & files)
Summary: media-sound/murmur-1.1.2 out (attached ebuild & files)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Timothy Redaelli (RETIRED)
URL: http://mumble.sourceforge.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-01-26 23:25 UTC by jon R-B
Modified: 2008-10-31 20:29 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-sound/murmur-1.1.2 ebuild (murmur-1.1.2.ebuild,1.75 KB, text/plain)
2008-01-26 23:25 UTC, jon R-B
Details
media-sound/murmur-1.x /etc/conf.d/ file (murmur.confd,254 bytes, text/plain)
2008-01-26 23:26 UTC, jon R-B
Details
media-sound/murmur-1.x /etc/init.d rc file (murmurd.rc,590 bytes, text/plain)
2008-01-26 23:27 UTC, jon R-B
Details
media-sound/murmur-1.1.2 ebuild (murmur-1.1.2.ebuild,1.77 KB, text/plain)
2008-02-17 18:36 UTC, Markus Johansson
Details
improved ebuild for murmur-1.1.3 (murmur-1.1.3.ebuild,2.28 KB, text/plain)
2008-03-13 17:56 UTC, Thomas Sachau
Details
murmur-1.1.3.ebuild +manpages +logrotate (murmur-1.1.3.ebuild,2.77 KB, text/plain)
2008-03-25 00:14 UTC, Matthias Fritsche
Details
changes paths to be apropriate (murmur-1.1.3-ini.system.patch,854 bytes, text/plain)
2008-03-25 00:15 UTC, Matthias Fritsche
Details
changes some paths to reflect the install location (murmur-1.1.3-logrotate.patch,592 bytes, text/plain)
2008-03-25 00:16 UTC, Matthias Fritsche
Details
media-sound/murmur-1.1.3.ebuild +updated dependencies (murmur-1.1.3.ebuild,2.76 KB, text/plain)
2008-04-10 14:18 UTC, Matthias Fritsche
Details
media-sound/murmur-1.1.3.ebuild +fixed typo, removed patches (murmur-1.1.3.ebuild,3.24 KB, text/plain)
2008-04-20 09:06 UTC, Atman Sense
Details
fix "Useful scripts location elog" in 150355 attachment (murmur-1.1.3.ebuild,3.25 KB, text/plain)
2008-04-20 15:37 UTC, Aurelien Minet
Details
murmur-1.1.4.ebuild (murmur-1.1.4.ebuild,3.25 KB, text/plain)
2008-06-02 06:01 UTC, Atman Sense
Details
new init script (works with logrotate) (murmurd.rc,698 bytes, text/plain)
2008-06-30 15:48 UTC, Atman Sense
Details
new confd (murmur.confd,45 bytes, text/plain)
2008-06-30 15:51 UTC, Atman Sense
Details
new logrotate script (murmur.logrotate,125 bytes, text/plain)
2008-06-30 15:52 UTC, Atman Sense
Details
new init, works with logrotate (sorry, i forgot something) (murmurd.rc,698 bytes, text/plain)
2008-06-30 16:20 UTC, Atman Sense
Details
new init script (works with logrotate) (murmurd.rc,785 bytes, text/plain)
2008-06-30 16:34 UTC, Atman Sense
Details
1.1.3 (little adjustments due to new init;should work with 1.1.4 after renaming) (murmur-1.1.3.ebuild,3.07 KB, text/plain)
2008-06-30 16:45 UTC, Atman Sense
Details
fixes new introduced logfile/logrotate problem, updated info (murmur-1.1.3.ebuild,2.96 KB, text/plain)
2008-06-30 21:47 UTC, Atman Sense
Details
new logrotate conf (murmur.logrotate,126 bytes, text/plain)
2008-06-30 22:38 UTC, Atman Sense
Details
Updated ebuild (murmur-1.1.4.ebuild,2.48 KB, text/plain)
2008-08-04 13:25 UTC, Dennis Schridde
Details
Updated confd (murmur.confd,254 bytes, text/plain)
2008-08-04 13:26 UTC, Dennis Schridde
Details
Updated confd (murmur.confd,243 bytes, text/plain)
2008-08-04 13:55 UTC, Dennis Schridde
Details
Updated init script (murmur.rc,743 bytes, text/plain)
2008-08-04 13:55 UTC, Dennis Schridde
Details
murmur-1.1.5.ebuild (murmur-1.1.5.ebuild,2.67 KB, text/plain)
2008-09-08 08:55 UTC, Atman Sense
Details
init script (murmur.rc,729 bytes, text/plain)
2008-09-08 08:59 UTC, Atman Sense
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jon R-B 2008-01-26 23:25:06 UTC
murmur-1.1.2 is out.
Ebuild will compile ONLY murmur (the ebuild is a dual tarball for the client and the server)
init file changed due to server command changed from "murmur" to "murmurd"
sed statement to pre-setup the location of the murmur.sqlite database
einfo to inform users howto initialize SuperUser passwd

Reproducible: Always
Comment 1 jon R-B 2008-01-26 23:25:45 UTC
Created attachment 141852 [details]
media-sound/murmur-1.1.2 ebuild
Comment 2 jon R-B 2008-01-26 23:26:31 UTC
Created attachment 141854 [details]
media-sound/murmur-1.x /etc/conf.d/ file
Comment 3 jon R-B 2008-01-26 23:27:21 UTC
Created attachment 141855 [details]
media-sound/murmur-1.x /etc/init.d  rc file
Comment 4 Markus Johansson 2008-02-17 18:36:38 UTC
Created attachment 143803 [details]
media-sound/murmur-1.1.2 ebuild

SRC_URI shouldn't point do murmur, changed to mumble
Comment 5 Thomas Sachau gentoo-dev 2008-03-13 17:56:31 UTC
Created attachment 146052 [details]
improved ebuild for murmur-1.1.3

Version bump to 1.1.3
Added optional support for mysql
Make depencency for sqlite optional, but default
Added the scripts to the homedir of murmur (perhaps there is some better place for them?)
Minor cosmetics

Whats about updating this in tree too?
Comment 6 Matthias Fritsche 2008-03-25 00:14:12 UTC
Created attachment 147192 [details]
murmur-1.1.3.ebuild  +manpages +logrotate

With this ebuild i added the following features:
- manpages get installed
- replaced murmur.ini through murmur.ini.system, which is the intended ini file for system wide configuration.
- added dbus config file
- prevent scripts only used by mumble from being installed
- added optional logrotate support
- updated messages being displayed after emerging

This ebuild needs the following files:
murmur.confd
murmurd.rc
murmur-1.1.3-ini.system.patch
murmur-1.1.3-logrotate.patch

Maybe murmur.pl and weblist.pl should be added as cgi files in a cgi-bin directory. Therefore the webapp.eclass may be of help. But as murmur can be run without a webserver as well this should somehow be optional.
Comment 7 Matthias Fritsche 2008-03-25 00:15:06 UTC
Created attachment 147193 [details]
changes paths to be apropriate
Comment 8 Matthias Fritsche 2008-03-25 00:16:16 UTC
Created attachment 147194 [details]
changes some paths to reflect the install location
Comment 9 El Goretto 2008-04-03 17:54:43 UTC
 Matthias Fritsche  (In reply to comment #8)
> Created an attachment (id=147194) [edit]
> changes some paths to reflect the install location
> 

Thanks for your ebuild, it works on my hardened box since 2 weeks now.
I just want to mention qt4 use flags should be more carefully inspected:
*sqlite is not needed and don't suffice, sqlite3 is mantadory
*ssl is mandatory too
(so these 4 were sufficient for me: dbus sqlite3 ssl zlib)

Thanks again, I hope this ebuild goes in portage soon.
Comment 10 Matthias Fritsche 2008-04-10 14:18:41 UTC
Created attachment 149300 [details]
media-sound/murmur-1.1.3.ebuild +updated dependencies

I updated the ebuild according to El Goretto's suggestions, which includes the following:
- removed sys-apps/sed dependency because this is a system dependency already.
- changed dependency on qt with sqlite OR sqlite3 to a dependency on qt with sqlite3, because it wont work with sqlite only.
- added dependency on qt with ssl support, which is needed as well.
Comment 11 Atman Sense 2008-04-20 09:06:52 UTC
Created attachment 150355 [details]
media-sound/murmur-1.1.3.ebuild +fixed typo, removed patches

- fixed typo (sytsem.d)
- moved scripts to doc
- removed username/pathname patches, now sed
- added missing mumble-server-->murmur replacement
- added dodir /var/lib/murmur for fowners etc.
Comment 12 Aurelien Minet 2008-04-20 15:37:42 UTC
Created attachment 150407 [details]
fix "Useful scripts location elog" in 150355 attachment

Just fix in pkg_postinst the location of the useful scripts.
Comment 13 Robert Piasek (RETIRED) gentoo-dev 2008-05-12 12:40:51 UTC
1.1.4 released


any chance for an updated ebuild in portage?
Comment 14 Dean 2008-05-14 23:40:17 UTC
why is the sqlite flag turned on by default? 

There is an error statement that will cause the build to fail if either mysql or sqlite flags are not enabled.  So defaulting the sqlite use flag on seems unnecesary.

would there be any issues changing the ebuild to no longer have "+sqlite" in iuse?
Comment 15 Thomas Sachau gentoo-dev 2008-05-18 19:29:27 UTC
The sqlite useflag is default on because an ebuild should by default work. The user should imho not have to change or add useflags to get an ebuild working. Without the sqlite useflag on by default, the ebuild would by default die.
Comment 16 Pinky 2008-06-01 18:11:45 UTC
murmur 1.1.4 is out, for my works just rename murmur-1.1.3.ebuild

build works, but for some reasons I cannot fully test the server.
Comment 17 Atman Sense 2008-06-02 06:01:06 UTC
Created attachment 155199 [details]
murmur-1.1.4.ebuild
Comment 18 Atman Sense 2008-06-02 06:05:18 UTC
Comment on attachment 155199 [details]
murmur-1.1.4.ebuild

- fixed typo (scipts)
- fixed disabling of precompiled headers
Comment 19 GNUtoo 2008-06-13 16:48:49 UTC
the init script doesn't work for murmur-1.1.4...
even when adding -fg at the end(--exec /usr/bin/murmurd -- -ini $MURMUR_CONFDIR/murmur.ini -fg &> $MURMUR_LOGFILE &)
how do i know it doesn't work...simply because:
1)i can start a new murmur server and bind on the murmur port
2)i see nothing in ps aux,ps A etc...
Comment 20 GNUtoo 2008-06-13 16:58:11 UTC
it was the database that had wtong permissions...mabe you shoud check for the permissions in the init script...
Comment 21 Atman Sense 2008-06-30 15:48:06 UTC
Created attachment 158963 [details]
new init script (works with logrotate)

new init script (works with logrotate)
Comment 22 Atman Sense 2008-06-30 15:51:00 UTC
Created attachment 158965 [details]
new confd
Comment 23 Atman Sense 2008-06-30 15:52:30 UTC
Created attachment 158967 [details]
new logrotate script
Comment 24 Atman Sense 2008-06-30 16:20:08 UTC
Created attachment 158971 [details]
new init, works with logrotate (sorry, i forgot something)
Comment 25 Atman Sense 2008-06-30 16:34:04 UTC
Created attachment 158973 [details]
new init script (works with logrotate)

big sorry, now its correct
Comment 26 Atman Sense 2008-06-30 16:45:29 UTC
Created attachment 158979 [details]
1.1.3 (little adjustments due to new init;should work with 1.1.4 after renaming)

little adjustments due to new init scripts, should work with 1.1.3 and 1.1.4
BTW: I have problems with 1.1.4: heavy sound lags from to time
Comment 27 Atman Sense 2008-06-30 21:47:55 UTC
Created attachment 159023 [details]
fixes new introduced logfile/logrotate problem, updated info
Comment 28 Atman Sense 2008-06-30 22:38:31 UTC
Created attachment 159033 [details]
new logrotate conf
Comment 29 El Goretto 2008-07-21 17:58:30 UTC
No offense to mattenklicker, but I still prefer the original work of jon, Markus & Thomas, and the update of Matthias Fritsche on the ebuild and especially the scripts (init and conf). They are cleaner IMHO.
For example, I would consider that a single "conf.d" config file containing "MURMUR_ARGS="-v -ini /etc/murmur/murmur.ini" is really dirty, compared to the original one with separated variables.

Or mattenklicker, can you explain your work and why you think there is something to improve here?
Comment 30 Dennis Schridde 2008-08-04 13:25:56 UTC
Created attachment 162191 [details]
Updated ebuild

A new ebuild, merging parts of bug #206792, mattenklickers's ebuild and Mathias'.
Contains the logrotate and sed cleanup by mattenklicker, as well as his init/logrotate scripts and compile cleanup from the mumble ebuild.
I skipped the mysql/sqlite useflag checks on Qt though, since for the split ebuilds it would have been a bit more complex to fix correctly.
Comment 31 Dennis Schridde 2008-08-04 13:26:59 UTC
Created attachment 162193 [details]
Updated confd
Comment 32 Dennis Schridde 2008-08-04 13:55:22 UTC
Created attachment 162197 [details]
Updated confd

Previously added the wrong file...
Comment 33 Dennis Schridde 2008-08-04 13:55:57 UTC
Created attachment 162199 [details]
Updated init script

Uses mattenklicker's murmur.logrotate
Comment 34 Tobias Kral 2008-09-02 14:06:56 UTC
Thanks for the ebuild, but the qt dependency is very annoying for a system without X. Maybe you can update the ebuild to use the "qt-static" flag as the skype ebuild [1] does. I'm sure there's more than one user interested in.

[1] http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/skype/skype-2.0.0.63.ebuild?view=markup
Comment 35 Atman Sense 2008-09-08 08:55:17 UTC
Created attachment 164884 [details]
murmur-1.1.5.ebuild

used Dennis' ebuild but
- added dev-cpp/Ice dependency
- added pch use flag (for hardened systems)
- moved scripts to doc
Comment 36 Atman Sense 2008-09-08 08:59:18 UTC
Created attachment 164887 [details]
init script

--background is not needed anymore
Comment 37 Julian Golderer 2008-10-06 08:41:40 UTC
murmur-1.1.6 compiles with murmur-1.1.5.ebuild

if USE="-dbus" is set, murmur doesn't pull dbus as dependency and compilation breaks with errors about missing dbus header files.
Comment 38 Timo Gurr (RETIRED) gentoo-dev 2008-10-16 22:50:54 UTC
Big thanks to everyone who contributed to this bug. I've just added murmur-1.1.6 to the tree, please test and report any issues.
Comment 39 Dennis Schridde 2008-10-17 14:58:57 UTC
Is dev-cpp/Ice really a mandatory dependency?
I have a working ebuild with a USE controled dependency on ice and
use ice || conf_add="${conf_add} no-ice"
in src_configure()
Comment 40 Sascha Jüngling 2008-10-18 14:35:32 UTC
(In reply to comment #39)
> Is dev-cpp/Ice really a mandatory dependency?
> I have a working ebuild with a USE controled dependency on ice and
> use ice || conf_add="${conf_add} no-ice"
> in src_configure()
> 

That's correct, ICE is not a required dependency. I just asked one of the devs and he confirmed it.
Comment 41 Dennis Schridde 2008-10-22 09:33:50 UTC
Another mistake:
The new init.d script lists dbus as needed. But Murmur will run perfectly fine without a dbus daemon running, it is only used.
Solution:
need dbus -> use dbus

Together with the too hard dependency on Ice, so this bug should be *reopened*. Can the maintainer or reporter please do that?
Comment 42 Atman Sense 2008-10-27 14:25:31 UTC
1.1.6 compiles without boost, 1.1.5 did not.
So I think boost isn't needed also.
Comment 43 Sascha Jüngling 2008-10-27 21:14:56 UTC
(In reply to comment #42)
> 1.1.6 compiles without boost, 1.1.5 did not.
> So I think boost isn't needed also.
> 

I also checked with the devs about that:
Murmur can be built without ice and ice is the only thing in murmur that requires boost. If ice is included, boost is needed aswell. If ice is excluded, boost isn't needed either.

So, if we introduce an ice useflag, the devs asked us to have it default-on, as that would be the standard behaviour the devs would anticipate.

I agree, the bug should be reopened. The ebuild is good and mostly correct, but there are still some details to fix.
Comment 44 Timo Gurr (RETIRED) gentoo-dev 2008-10-31 20:29:03 UTC
Thanks for your suggestions. I've commited the fixes/improvements, please emerge --sync in a few minutes. 

If you still encounter any issues please open a new bug.