Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350312 - media-sound/mpd-0.16: Add tcpd and inotify USE flags
Summary: media-sound/mpd-0.16: Add tcpd and inotify USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-01 19:16 UTC by Hopeless
Modified: 2011-01-05 21:48 UTC (History)
2 users (show)

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


Attachments
add inotify and tcpd USE flags (mpd-0.16.ebuild.patch,1.38 KB, patch)
2011-01-01 19:19 UTC, Hopeless
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hopeless 2011-01-01 19:16:28 UTC
mpd 0.16 has 2 new features of note which (IMO) need to be controlled by USE flags;

tcp-wrappers support, which is configurable via --enable-libwrap, but seems to be enabled by default if libwrap is found on the system

inotify support to automatically update the music db upon a change (files added/moved)
This is a major one and is enabled by default, however it requires scanning through the entire music library when mpd starts (which means upon each boot for me and takes quite a while), and there doesn't seem to be any way to control the functionality via mpd.conf

Reproducible: Always
Comment 1 Hopeless 2011-01-01 19:19:21 UTC
Created attachment 258587 [details, diff]
add inotify and tcpd USE flags

Patch to mpd-0.16.ebuild to add inotify and tcpd USE flags.

I made inotify enabled by default (+inotify) as that's what upstream has, and it adds no dependencies.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-01-05 21:48:35 UTC
Thanks for your patch. However,I drop the "+" from inotify. The current behavior is actually a bug
http://www.musicpd.org/mantis/print_bug_page.php?bug_id=2859

New ebuild in tree

Thank you