Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207079 - media-sound/empcd: small ebuild for the event daemon
Summary: media-sound/empcd: small ebuild for the event daemon
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-01-22 20:50 UTC by Tobias Jakobi
Modified: 2011-02-22 15:59 UTC (History)
1 user (show)

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


Attachments
empcd ebuild for the 2007-11-26 version (empcd-20071126.ebuild,762 bytes, text/plain)
2008-01-22 20:52 UTC, Tobias Jakobi
Details
empcd initscript (empcd,606 bytes, text/plain)
2008-01-22 22:16 UTC, Tobias Jakobi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Jakobi 2008-01-22 20:50:55 UTC
Hi there,

I've written a small ebuild for the empcd application. empcd is a "event music player client daemon". It's a client for the MPD server (music player daemon) which listens on a specified event device and processes events coming from there into MPD actions (like starting playback, skipping songs, etc.)

The app also claims that it's possible to associate events with arbitrary scripts. I think this is very powerful, but I didn't test this part of the application. Only the MPD part, which works quite well.

Some links:
http://mpd.wikia.com/wiki/Client:Empcd
http://unfix.org/projects/empcd/
http://prak.org/~henrik/empcd/

The attached ebuild is based on the 2007 version by Henrik which you can download from here:
http://prak.org/~henrik/empcd/empcd_2007.11.26.tar.bz2

I started with the mpd123 ebuild file and modified it. I think the ebuild does what it should, but as a real newbie in this field I can't guarantee a thing. So be careful with the file. At least it works for me! *g*

Attaching now...

Greets,
Tobias
Comment 1 Tobias Jakobi 2008-01-22 20:52:16 UTC
Created attachment 141598 [details]
empcd ebuild for the 2007-11-26 version

I only added ~x86 and ~amd64 keywords, because these are the archs I can test the ebuild on...
Comment 2 Tobias Jakobi 2008-01-22 22:16:29 UTC
Created attachment 141614 [details]
empcd initscript

I created an additional component for the ebuild (I didn't modify it yet).

You can download a working initscript for empcd. It's a bit hacky because it forces empcd into no-daemonize mode so make-pidfile of start-stop-daemon works correctly.
empcd doesn't seem to create a pidfile on it's own so I currently solve this by forcing empcd into non-daemon mode, creating a pidfile with start-stop-daemon and forcing the app into background.

Oh yes, you should modify the EMPCD_USER setting in the initscript to the user you want to drop the rights for. I don't know if I should have used start-stop-daemon for this in the first place, but empcd seems to also able to handle this...
Comment 3 Jan Buecken 2008-04-16 17:51:15 UTC
20080216 is released
see http://unfix.org/projects/empcd/
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-15 18:51:08 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.
Heuristics show that no Gentoo developer has commented on your ebuild.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 5 Tobias Jakobi 2011-02-22 15:59:04 UTC
No longer interested in this.